Parts couldn't detect whether we're in a dark/bright env, and defaults to highest brightness for AOD.
Together with AOD wallpaper, this will drain our battery like hell. Disabled for your own good...
Signed-off-by: nhansp <nhan.094.vn@gmail.com>
- aosp -> lineage
- Nuke Android.mk: Migrate mount point creation and nuke flash_super_dummy
- Adapt vendor to 25Q2: Replace libaudioroute with vndk v34 for audio stack, use vendor_qcom_common from yaap
- Nuke livedisplay
- Remove fastcharge lefovers from fcm
- Remove duplicate sepolicies
- Add MiuiCamera
- Deduplicate erofs declares with foreach
- Remove deprecated ANT+ stuff
- Migrate to soong_config_set
- Delete vendor/lineage fcm as it's already included
- Add cust to retrofit device so we can use full gapps
No longer needed now init listens for property changes on a
separate thread.
Bug: 186580823
Test: Cuttlefish boots successfully
Change-Id: Ief3a546d2154231d18957c2f703bd128966d7288
With SurfaceFlinger and HWC on the foreground cpuset,
important rendering tasks are moved off of the background
cpusets, so let's reserve one little core for foreground
and top-app.
Change-Id: I4f0982f3ff4dce756095667df0d08f18817b896a
Disabling UFS clkgate and ah8 during boot time helps in reducing
IO delays, which helps in reducing the total boot time. This change
will disable UFS clkgate and ah8 during early-init and then enable
it back after boot completion.
Change-Id: I6a10cd57a30fe3bdc4fba72a0d84cdfa3b1fd513
Signed-off-by: Ahmed Harhash <email@lacentix.me>
This patch removed the old writeout policy tune which was never touched since
2009. In the meantime, most of Android devices are equipped with over 4GB DRAM
and very fast flash storages like UFS, which becomes more like desktop or
servers in 2009. So, it'd be worth to go back to use the default kernel configs.
Bug: 136483670
Bug: 137190999
Change-Id: I1ebbf9f1f27a921103db51e96a50aadd6ec0dde8
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
In previsions commits we imported all needed changes from post.boost.sh in rest of scripts so this is no longer needed
Change-Id: I4a8b4e3922433d9276617bed6177ce3ae7271ada
Allows us to check the idle state of the display in order to use perf
hints to improve system performance.
Bug: 124470767
Test: Booted and cated the affected files
Change-Id: Ib22b5209c57725c50f3545c578af7b72e7f08322
Previously we found that the effect of using sched_boost is very
similar to skipping EAS. Since sched_boost is not used because of
CONFIG_SCHED_WALT not enabled, we can boost performance this way.
Bug: 119932121
Test: launch time and app launch time are better than EAS
Change-Id: Idf8026c258b6c36417c9be9b5c87f7b4bfa3f50d
Makes sure rendering has enough capacity.
Change-Id: I7ad051248353485a8090bec578b2c4325ea06024
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Matches SF, makes sure rendering always
has enough capacity.
Also switches to task_profiles.
Change-Id: I2a2de504be7d3f4f66f31445f44fbbf9376bd927
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
This conflicts with init.qcom.power.rc from previous libperfmgr setup
Signed-off-by: clhex <clhexftw@protonmail.com>
Signed-off-by: balgxmr <jose@pixelos.net>
sched_lib_name does the job by traversing executable VMA that map a file
and checking the accessor path with `strnstr()`, so task comm like
UnityMain will not going to appear anyway.
Unity app incorrectly sets cpu affinity to max capacity cores.
Setup the library name and mask to always report the same max
cpu freq to the tasks.
Bug: 165524141
Bug: 161324271
Test: build and test the 'HearthStone' game.
Change-Id: I3382ea8361f1825a81553f032557ad1f40664dcf
Kernels >4.7 will create a comp stream for each online CPU
and ignore /sys/block/max_compression_streams. This has been
backported to many 4.4 kernels as well.
Any device running a kernel with the upstream commit can safely remove
the parameter.
Upstream commit: 43209ea2d1
Change-Id: Ibb29b54a31f0fb5bd941d7709d15d571dd77ebf5
* The APK is prepared to not run as system user
* Adjust /persist/alarm/data permissions accordingly
Change-Id: Ie24ccb3749d1dda2deb670cdb531e35d153034ed
Add power off alarm service for power off alarm feature to
reboot device when power off alarm is up in some special
mode like power off charging mode.
CRs-Fixed: 2095984
Change-Id: Ib8d82e63e92a85a7f60d5559064a1f19e0de5a22
* Enabling the services allows them to start at their proper stage (class main)
* Enable them on boot to ensure they are enabled before class main starts
Change-Id: I71c3fcb72b38d247d304fda2fa6b2cc76baa0db2