Commit Graph

681 Commits

Author SHA1 Message Date
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
me-cafebabe
72ac12a592 stone: rro_overlays: Enable all available vibration intensity
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-26 08:00:30 +00:00
justinweng
6d09aa327f stone: Extend audio offload buffer size to 256kb
Extend buffer size for offload playback to reduce the frequency of CPU
wake up.
It makes ADSP to process more data one time and reduce the number of
times to wake up CPU.

Bug: 137973303
Test: MP3 playback

Change-Id: Ib0b2a8827647ed780bb20bd9dfa2a383153eb282
Signed-off-by: justinweng <justinweng@google.com>
Signed-off-by: xNombre <kartapolska@gmail.com>
Signed-off-by: Pascoato <viniciuspascoato@gmail.com>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-26 07:55:42 +00:00
theangelofdead01
df1e376e6f stone: rootdir: Remove some data cache
fix some string issues on dirty flash update ROM zips

Signed-off-by: saikiran2001 <bjsaikiran@gmail.com>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-26 07:51:54 +00:00
Dan Pasanen
c831a2fcb4 stone: overlay-lineage: Enable config_vibrateOnIconAnimation
* Need those sexy vibes.

Change-Id: If5671135879f6f4069d0ed881b41b0a243890349
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-26 07:42:54 +00:00
0mar99
d4a680d418 stone: audio: Enable 24-bit support for wired headphones
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-26 07:37:16 +00:00
HDzungx
b7d4f3cd13 stone: rro_overlays: Init FrameworksResTargetOverlayStone
- also enable config_supportSmartPixels

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-26 07:23:06 +00:00
Vedraj Gawas
2a41f3bed3 stone: rro: update status bar padding
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-20 15:36:27 +00:00
Arijit78
fc561bd513 Revert "stone: rro: update status bar padding"
This reverts commit 10eb0afcdc.
2024-05-20 15:32:42 +00:00
Vedraj Gawas
10eb0afcdc stone: rro: update status bar padding
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-17 12:09:32 +00:00
Vedraj Gawas
a5dcd1729a stone: drop unnecessary values related to soc
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-05-17 12:06:57 +00:00