156 Commits

Author SHA1 Message Date
3b6898bfc1 cepheus: Change touch panel nodes for new kernel
Signed-off-by: nhansp <nhan.094.vn@gmail.com>
2025-12-08 06:13:38 +07:00
3fc41a6e7f cepheus: Nuke lbm doze config 2025-09-30 18:27:14 +07:00
48f82ad004 cepheus: Use mini gapps to reduce size and fixup 2025-08-25 04:01:02 +07:00
7baf16fb92 cepheus: Nuke ximiparts and always use low brightness for AOD
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>
2025-08-25 04:00:57 +07:00
b5730ac501 cepheus: ximidolby
Signed-off-by: nhansp <nhan.094.vn@gmail.com>
2025-08-25 04:00:44 +07:00
723f713933 cepheus: Initialize for Evolution 11.X
- 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
2025-08-25 03:59:28 +07:00
Cyber Knight
07a1b0c022 cepheus: rootdir: Label brightness node correctly
- We only utilize switch_2/brightness as a toggle switch so explicitly label it.
2025-02-07 19:21:07 -05:00
Dhina17
bad061d7a8 cepheus: Impl torch light control
Change-Id: Icd32d1f6aedb55462c9df4d7cc63a2a4c4e4263e

[RealJohnGalt:] modify for oneplus usage, add toggle switch
2025-02-07 19:20:28 -05:00
kondors1995
e7e3c1dd72 cepheus: Update vendor.audio-hal service configuration 2024-08-02 17:51:42 -05:00
kondors1995
50e2e73b25 cepheus: Create symlink for vendor mount points 2024-08-02 17:51:24 -05:00
Paul Crowley
e558efa6c7 cepheus: 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
2024-07-15 15:56:02 -05:00
Jake Weinstein
030800da0d cepheus: rootdir: Make less cores available for background tasks
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
2023-12-18 21:11:39 -05:00
me-cafebabe
260054a411 cepheus: Add system_ext product odm partitions 2023-08-02 16:08:05 -05:00
adi8900
42e08c5931 cepheus: Update ueventd from LA.UM.9.1.r1-11500.02-SMxxx0.QSSI12.0
* reapply current changes over pure caf one
* keep c61d81d19d

[balgxmr: Keep 5522f89a8b and 134dd0bbf4 too]
2023-07-24 23:15:43 -05:00
Ziqi Chen
dd0232d56f cepheus: rootdir: Tuning UFS clkgate and ah8 during boot time
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>
2023-07-24 22:27:16 -05:00
Andrzej Perczak
19cf7d3a66 cepheus: rootdir: Import userdata tuning from oriole
Signed-off-by: Andrzej Perczak <linux@andrzejperczak.com>
2023-07-24 22:27:16 -05:00
Jaegeuk Kim
1a29113704 cepheus: rootdir: Get back to default from long-standing VM tweaks
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>
2023-07-24 22:27:16 -05:00
Arian
d998b7b30d cepheus: rootdir: Start power setup after boot completed
Change-Id: I0a00388bfe11fe7f89d20254dfc9ad8f0d0d6faf
2023-07-24 22:27:15 -05:00
Arian
b536b236ef cepheus: rootdir: Move remaining writes from qcom post boot script to init.target.rc
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
2023-07-24 22:27:15 -05:00
Midas Chien
62aab7ee73 cepheus: rootdir: Enable display idle_state mechanism
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
2023-07-24 22:27:15 -05:00
Arian
e34cb03b2e cepheus: rootdir: Enable PowerHAL hint processing
Change-Id: I4de6ec81eaf002c094df53ff26ed24db02972dfe
2023-07-24 22:27:14 -05:00
Rick Yiu
b91f3ac9b4 cepheus: rootdir: Boost performance by skipping EAS
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
2023-07-24 22:27:14 -05:00
Arian
0c19dfc067 cepheus: rootdir: Move bus-dcvs, mem_latency and powersaving configuration to init.power.rc
* skip init.qcom.post_boot.sh edit since it will be removed in later changes

Change-Id: I41ed6397e73f77627ad9da36e9c6c4c144d545d2
2023-07-24 22:26:54 -05:00
Jake Weinstein
59cb2daaae cepheus: Use foreground cpuset/uclamp for gralloc
Makes sure rendering has enough capacity.

Change-Id: I7ad051248353485a8090bec578b2c4325ea06024
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2023-07-22 16:47:28 -05:00
Jake Weinstein
8c8a811d45 cepheus: Use foreground uclamp for hwcomposer
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>
2023-07-22 16:47:28 -05:00
balgxmr
516e46e63f cepheus: qcom.post_boot: Enable PowerHal hint processing 2023-07-14 15:34:17 -05:00
Nauval Rizky
79da60417a cepheus: qcom.post_boot: Remove cpuset config
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>
2023-07-14 15:34:17 -05:00
Nauval Rizky
7ad864afbb cepheus: qcom.post_boot: Remove schedutil ratelimit setup
This conflicts with init.qcom.power.rc from previous libperfmgr setup

Signed-off-by: balgxmr <jose@pixelos.net>
2023-07-14 15:34:08 -05:00
Volodymyr Zhdanov
af07e76487 cepheus: rootdir: Override hwcomposer service
* CAF ¯\_(ツ)_/¯
* See https://source.codeaurora.org/quic/la/platform/hardware/interfaces/commit/?id=73a427f95e231a46c2274d51abfec21bd2d316f1

Change-Id: Iae755d16e5d5f70d372112bcbbac8e71d8df1124
2023-07-11 14:20:24 -05:00
Nauval Rizky
bc0b9b8b08 cepheus: rootdir: Remove UnityMain from sched_lib_name
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.
2023-06-12 17:55:24 -05:00
Nauval Rizky
a817954c8f cepheus: rootdir: Register framebuffer lib to cached freq reporting
Based on latest libqti-perfd at qssi-user-11-RKQ1.200826.002-V12.5.6.0.RJUIDXM
2023-06-12 17:55:23 -05:00
alanndz
27a90593ad cepheus: rootdir: Report max frequency to miHoYo games
* Reference: 016179b5c5

Signed-off-by: alanndz <alanndz@qmail.id>
2023-06-12 17:55:23 -05:00
Jimmy Shiu
004c389b94 cepheus: rootdir: Always report max cpu freq to unity tasks
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
2023-06-12 17:55:23 -05:00
Georg Veichtlbauer
c9fd60682d cepheus: Remove max ZRAM compression streams setting
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
2023-05-07 00:21:12 -05:00
balgxmr
890ce3d951 Revert "cepheus: rootdir: zram -> vbswap"
This reverts commit 121d5599b8.
2023-05-07 00:21:12 -05:00
balgxmr
121d5599b8 cepheus: rootdir: zram -> vbswap 2023-04-23 15:00:56 -05:00
chematelegram
a6abecbfaa Revert "cepheus: Improve boot time and pull in bootanim display time"
This reverts commit 0939cab.
2023-04-23 15:00:53 -05:00
balgxmr
bfba36ff0c cepheus: rootdir: Move Utilization Clamp Assist tunings to kernel 2023-04-12 18:36:18 -05:00
balgxmr
9ff8f58dc5 Revert "cepheus: rootdir: Switch to s2idle"
This reverts commit cea62dc868
2023-04-12 18:36:17 -05:00
balgxmr
98f43d4570 cepheus: rootdir: Drop allocstall threshold and swappiness values from post boot script 2023-04-12 18:36:11 -05:00
balgxmr
cea62dc868 cepheus: rootdir: Switch to s2idle 2023-02-22 20:44:01 -05:00
balgxmr
237a49921e Revert "cepheus: LiveDisplay/AntiFlicker: Switch to new interface"
This reverts commit 010fda55c0.
2023-02-22 20:43:59 -05:00
Cyber Knight
09dc6dc60c cepheus: Fix permissions for poweroffalarm
- This fixes a certain bug regarding poweroffalarm with AOSP clock.

Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2023-02-11 23:33:48 -05:00
Georg Veichtlbauer
80033e13af cepheus: Fix PowerOffAlarm
* The APK is prepared to not run as system user
* Adjust /persist/alarm/data permissions accordingly

Change-Id: Ie24ccb3749d1dda2deb670cdb531e35d153034ed
2023-02-11 23:33:47 -05:00
Qimeng Pan
395353b55b cepheus: rootdir: add power_off_alarm into init.rc
Add power_off_alarm into init.rc on charge mode

Change-Id: I18158cde8b3ae0890a92bd1ced56782fa053230a
CRs-Fixed: 2373093
2023-02-11 23:33:47 -05:00
Mao Jinlong
149382ac86 cepheus: rootdir: Add vendor prefix to power_off_alarm service
power_off_alarm is a vendor service. Add vendor prefix to it.

Change-Id: Ib4a988467a54bbe4544960180afeeeb5dd0e85f3
2023-02-11 23:33:47 -05:00
Mao Jinlong
fdb8d1cd49 cepheus: rootdir: Add power off alarm service
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
2023-02-11 23:33:47 -05:00
balgxmr
a8a02175a4 Revert "cepheus: rootdir: Import task cpu affinity script from RenderBroken"
This reverts commit 2f7efb9f43.
2023-02-11 23:21:49 -05:00
Arian
2d5e8c979d cepheus: rootdir: Enable qcrild and data services instead of starting them
* 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
2023-02-11 23:21:49 -05:00
John Galt
010fda55c0 cepheus: LiveDisplay/AntiFlicker: Switch to new interface
Use new CSC implementation of DC Dimming.
2023-01-20 22:35:43 -05:00