Commit Graph

641 Commits

Author SHA1 Message Date
Arijit78
04976e30ab stone: Remove duplicate entries from genfs_contexts
- Also update kernel link from crdroid in vendorsetup.sh

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 17:55:43 +00:00
Arijit78
2421d6ce33 stone: Official EvolutionX BringUp 2024-07-16 11:30:10 +00:00
Adithya R
e4e86ef966 stone: properties: Set SF idle timeout to 1100ms
When a clock with seconds tick is on the display, it switches back and
forth between high and low refresh rate if the timer is <=1000ms (1s).
Set it to 1.1s which is just slightly higher to avoid this issue.
This also matches stock value.

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 10:55:27 +00:00
Vishalcj17
8a0e5d3e0f stone: Steal SurfaceFlinger offsets from taro
* Before:
   Jitter: 0.6ms
   Total duration: 7.1ms

 * After:
   Jitter: 0.3ms
   Total duration: 6.4ms

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 10:55:17 +00:00
Alex Sarraf
c5563ee4a2 stone: properties: Set debug.sf.auto_latch_unsignaled to 0
Need to explicitly set auto_latch_unsignaled property to
disabled state to keep latch-unsignaled as the default
behavior.

* Also set debug.sf.latch_unsignaled to 1

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 10:54:55 +00:00
helliscloser
75cfaf5a58 stone: properties: Explicitly disable "Enable GL comp backpressure"
When blur is enabled,
There is severe lag in; Launcher3 while scrolling apps in App drawer, Scrolling through recents and occasionally on QS pull down.

Enabling or completely removing the prop here sm6150-davinci/device_xiaomi_sm6150-common@d6233e0 doesn't seem to make an effect.
Explicitly disabling the "Enable GL comp backpressure" prop seems to slove the issue.

Lag & janks are gone now, even with blur.

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 10:54:42 +00:00
kamikaonashi
a4445c3822 stone: overlay: Disable pickup gesture
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 10:53:01 +00:00
zeelog
393763ed7d stone: parts: Shrink resources
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 10:52:36 +00:00
kamikaonashi
973111e140 stone: libinit: set memory tweaks only for 4GB Users
6 and 8 GB Users are fine. atleast for now

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 10:52:18 +00:00
Jyotiraditya
2c6d485c69 stone: libinit: Enable config_avoidGfxAccel for 4GB variants
- This flag turns off GPU/CPU intensive UI effects and
  reduces the RAM footprint.

- Using this is a better compromise than the 'low_ram' flag
  as this does not disable features in the rom but still
  reduces RAM usage and gives better smoothness in the UI.

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 17:18:49 +00:00
kamikaonashi
dcf6a5bd9c revert: stone: overlay: Set config_avoidGfxAccel to true
this reverts commit 821496e
2024-07-06 17:18:19 +00:00
althafvly
e4981371da stone: Add front-facing camera protection
* Extra padding for front facing camera cutout when camera is in use
* Remove flares on high brightness while using front camera

Change-Id: I68acb0deecbecd916be90de0a9043ea4703553df
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:54:12 +00:00
Alexander Koskovich
93b805cf1e stone: rro_overlays: Drop explicit 'sdk_version' declaration
* We don't need to manually set this anymore.

Change-Id: I1239ba541636e53f8ea4373d3815024f2cd60824
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:53:58 +00:00
basamaryan
ff84d47efa stone: Drop unnecessary BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE flag
Change-Id: Ibb96c529ac64239d7bb919e46f5a625a6deebf98
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:52:19 +00:00
SGCMarkus
f053895640 stone: unset BOARD_USERDATAIMAGE_PARTITION_SIZE
This not only saves a lot of build time when building with
TARGET_USERIMAGES_SPARSE_EXT_DISABLED and/or
TARGET_USERIMAGES_SPARSE_F2FS_DISABLED which is required
on A14, but also removes the need for the build system to
temporarily create a 40+GB userdata image.
Which means that less free space is required to start the
build.

Change-Id: Ibf48e7cdf566a4653e85352a79170b354d917234
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:51:58 +00:00
Michael Bestas
77befcb086 stone: Build missing libraries for 14 QPR3
Change-Id: I6a84526ca1e9f4e5140c8068646433cab3fe85b2
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:51:07 +00:00
AnaadiAnanta
530c5ec6ef stone: Drop duplicate libjson
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:50:50 +00:00
basamaryan
890f65768a stone: Convert packages allowed to use aux cameras to prop
Change-Id: Ie8c5cc86d3dc4937059432cd42be6dcaa6ac089c
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:50:36 +00:00
althafvly
666717ef79 stone: Add libpiex_shim for com.mi.node.mialgocontrol.so
Change-Id: I9e8b125ab5dfaa325db63b02a7fcf51577ee7b0d
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:50:11 +00:00
Paul Crowley
4fb6fd0086 stone: Remove wait_for_keymaster and all references
No longer needed now init listens for property changes on a
separate thread.

Bug: 186580823
Test: Cuttlefish boots successfully
Change-Id: Ief3a546d2154231d18957c2f703bd128966d7288
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:49:33 +00:00
Bruno Martins
3a6d93676f stone: Convert packages disallowed to use aux cameras to prop
Change-Id: I02a4711bfb5f4cebf87d6f2d8a02f47f00c2d62f
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:48:59 +00:00
Chirayu Desai
c27b05070d stone: Disable UFFD GC
Unable to determine UFFD GC flag for kernel version "5.4.268-qgki".
You can fix this by explicitly setting PRODUCT_ENABLE_UFFD_GC to "true" or
"false" based on the kernel version.
1. Set PRODUCT_ENABLE_UFFD_GC to "true" if the kernel supports userfaultfd(2)
   and MREMAP_DONTUNMAP.
2. Set PRODUCT_ENABLE_UFFD_GC to "false" otherwise.

Change-Id: Ie77d9a86a7fe94e4cade1868ffea27194f724e03
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:48:33 +00:00
Alan Chen
8977809b0c stone: wifi: Enable Optimized Power Management
gEnablePowerSaveOffload was renamed to gOptimizedPowerManagement

[1]: 10989ba376
[2]: 9ef1447db3

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:47:15 +00:00
ghostrider-reborn
bce733625e stone: overlay: Disable alpha compositing in WM
Completely eliminates occasional jank in few animations

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:46:53 +00:00
kamikaonashi
7591349103 stone: sepolicy: add rules for haptics change
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:38:32 +00:00
kamikaonashi
00540766d6 stone: rootdir: give permissions to adjust vibration
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:38:18 +00:00
Nauval Rizky
e97bc751bf stone: parts: introduce haptic feedback level adjustement
and adjust path to /sys/class/leds/vibrator/brightness
since its the path for prebuilt stone kernel

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:38:03 +00:00
Alexander Winkowski
375c4e312d stone: configs: Pull brightness configs from lynx
Change-Id: Ic58fb5a638c290e68633d9716be9bf907841f0af
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-06-15 18:51:16 +00:00
AnaadiAnanta
396e945c9c stone: configs: Import display config
from moonstone V816.0.5.0.UMPMIXM

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-06-15 18:50:54 +00:00
stic-server-open
177d231af1 stone: rootdir: Remove duplicate "start logd"
* It is started in the on init phase in /system/etc/init/hw/init.rc

Change-Id: Ie10e1d4c520329a76627a965ca139f9ad0f71875
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-06-15 18:50:30 +00:00
Bart Van Assche
127b4bc623 stone: rootdir: Restore I/O performance
As one can see in cfq_arm_slice_timer(), the CFQ I/O scheduler supports
two parameters that can make it delay I/O: group_idle and slice_idle.
Restore I/O performance by setting both the group_idle and slice_idle
parameters to zero.

Bug: 213617178
Bug: 313578691
Change-Id: I02429876790a6456ca957ff7c38f0c8bf88127f9
Signed-off-by: Bart Van Assche <bvanassche@google.com>
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-06-15 18:50:08 +00:00
kamikaonashi
10bd2ae8df stone: overlay: kang statusbarpadding from alioth
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-06-15 18:49:48 +00:00
Arijit Saha
87f24c86ff stone: Remove typo 2024-05-26 20:08:31 +06:00
Arijit78
2b27db6359 stone: Build FrameworksResTargetOverlayStone 2024-05-26 14:00:12 +00:00
Arijit78
da6334aa46 stone: Drop remove package 2024-05-26 13:58:16 +00:00
kamikaonashi
53ebaeb028 stone: configs: tune powerhint.xml
adjust sustained performance mode for Snapdragon 4 Gen 1 to 2.0Ghz CPU and 825Mhz GPU and Snapdragon 695 2.2GHz CPU and 825Mhz GPU max frequencies
2024-05-26 12:42:21 +00:00
Michael Bestas
8e6b089741 stone: gps: Reduce LOWI debug level
Kill logcat spam
2024-05-26 12:42:21 +00:00
ghostride-reborn
0414cbb1cd stone: properties: Relax refresh rate timers 2024-05-26 12:42:21 +00:00
ralph950412
b795cbe07e stone: remove libtinyxml
It's deprecated and not being built.
2024-05-26 12:42:21 +00:00
minaripenguin
46b1c2d34d stone: properties: Set frame rate multiple threshold to 60
If the device only have 60 and 120 Hz in the config group, 60 Hz won't be
used when watching a 24 fps video and instead 120 Hz will be used because
it is perfectly divisible by 24.

This is a publicly documented AOSP behavior [1], but it simply does not
make any practical sense and trades off significant amount of power for a
very-hard-to-notice jitter-free experience.

Set debug.sf.frame_rate_multiple_threshold to 60 by default to limit this
behavior to 60 or lower fps.
2024-05-26 12:42:21 +00:00
kamikaonashi
77dfeff42a stone: properties: silence battery logspam
-we cant fix for now, so silence them has no impact in user experience, just cleaner logs.
2024-05-26 12:41:39 +00:00
kamikaonashi
6ce7538692 stone: overlays: soften autobrightness adjustement 2024-05-26 12:38:31 +00:00
Edwin Moquete
5fc3e29f1a stone: properties: Disable display refresh rate override
This got enabled by default on U, and it causes apps like
Chrome and Youtube to set the refresh rate to 30FPS when
playing some videos.
2024-05-26 12:38:31 +00:00
zmafnan
f381484181 stone: properties: Better RAM Management
useful for 4GB users
2024-05-26 12:38:09 +00:00
kamikaonashi
adef196db8 stone: overlays: add back refresh rate overlays 2024-05-26 12:37:17 +00:00
Bruno Martins
fe35e24ed5 stone: Remove deprecated trust HAL
Change-Id: Ic5ac79b4ca60b87a97622877b97f806c07cab907
2024-05-26 12:34:35 +00:00
ROMSG
753c3ae1a0 stone: rootdir: switch to LMKD 2024-05-26 12:34:35 +00:00
kamikaonashi
d6907e8e60 stone: rootdir: increase swappiness 2024-05-26 12:34:35 +00:00
Cassie
70d24deced stone: overlay-lineage: Use the new auto network selection UI
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-26 08:21:28 +00:00
Alan Chen
83754d38e2 stone: wifi: Enable Optimized Power Management
gEnablePowerSaveOffload was renamed to gOptimizedPowerManagement

[1]: 10989ba376
[2]: 9ef1447db3

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-26 08:11:12 +00:00