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
Vedraj Gawas
a775cc6bc5
stone: libinit: spoof build keys to release-keys
...
ROMs like LOS use test-keys by default if compiled unofficially. It needs edit in source to always use release-keys. We use libinit to spoof these keys at init stage.
Co-authored-by: Richard Raya <rdxzv.dev@gmail.com >
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com >
2024-05-17 12:06:42 +00:00
kamikaonashi
b88999e6c4
stone: sepolicy: fix fastcharge path denial
...
05-13 23:40:11.415 1395 1395 W binder:1395_1C: type=1400 audit(0.0:295): avc: denied { open } for path="/sys/devices/platform/soc/4c84000.i2c/i2c-1/1-006a/power_supply/usb/quick_charge_type" dev="sysfs" ino=61529 scontext=u:r:system_server:s0 tcontext=u:object_r:vendor_sysfs_usb_supply:s0 tclass=file permissive=0
05-13 23:40:11.417 1395 8245 E BatteryService: Failed to read oem fast charger status path: /sys/class/power_supply/usb/quick_charge_type
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com >
2024-05-17 12:06:09 +00:00
kamikaonashi
480e88c7b3
stone: properties: drop soc model
...
not needed after detection
d661cca81a8e2898a08f1add97f65cdd52218c2e
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com >
2024-05-13 15:54:06 +00:00
Arijit78
1ca0b58eb9
stone: device.mk: Remove if-exists
...
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com >
2024-05-12 17:52:19 +00:00
Arijit78
6c3c66ea60
stone: Official ProjectMatrixx BringUp
2024-05-12 17:50:40 +00:00
kamikaonashi
93014690de
stone: overlay: increase vibration intensity
...
20 is a little too low for my liking, increase to 25
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com >
2024-05-12 17:46:05 +00:00
kamikaonashi
9677e9803a
stone: dont let manifest be overwritten
...
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com >
2024-05-12 17:45:51 +00:00
Vedraj Gawas
5ffb05bb15
stone: rro: update status bar padding
...
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com >
2024-05-12 17:45:40 +00:00
Vedraj Gawas
11d81098a3
stone: libinit: properly detect SoC
...
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com >
2024-05-12 17:45:27 +00:00
kamikaonashi
422c71f91d
stone: properties: enable fastcharging logs
...
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com >
2024-05-12 17:44:48 +00:00
kamikaonashi
f81a8cbdd1
stone: rro_overlays: rename to *Stone
...
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com >
2024-05-12 17:44:06 +00:00
Pranav Vashi
2a95bfb8a8
stone: overlay: fix mA and W reading
...
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com >
2024-05-12 17:43:50 +00:00
kamikaonashi
df8ffa36ab
stone: sepolicy: fix fastcharge denial warning
...
W fastcharge@1.0-: type=1400 audit(0.0:74): avc: denied { execute_no_trans } for path="/vendor/bin/sh" dev="dm-3" ino=269 scontext=u:r:hal_lineage_fastcharge_default:s0 tcontext=u:object_r:vendor_shell_exec:s0 tclass=file permissive=0
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com >
2024-05-12 17:37:16 +00:00
kamikaonashi
9895916d6b
stone: overlay: adjust Fingerprint indicator
...
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com >
2024-05-12 17:37:03 +00:00
Pranav Vashi
815072f2e2
stone: overlay: use appropriate charging thresholds
...
* Our device directly measures in mA and not uA.
* This fixes "Charging Rapidly" info on lockscreen.
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com >
2024-05-12 17:35:35 +00:00
kamikaonashi
5cea314444
stone: overlay: fix lockscreen statusbar padding
...
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com >
2024-05-12 17:35:20 +00:00