254 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
fe2c29b19d cepheus: hidl: downgrade IUceService to 2.1
Signed-off-by: nhansp <nhan.094.vn@gmail.com>
2025-09-30 18:34:36 +07:00
53c401d687 cepheus: powerhint: Allow GPU to be overclocked
go kaboom
2025-08-25 04:01:18 +07:00
ba25bc6f8a cepheus: powerhint: Enable DT2W 2025-08-25 04:01:13 +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
Tyler Wear
fd71765cc0 cepheus: tetheroffload: Version 1.1
Update tetheroffload to version 1.1.
2025-03-20 22:25:14 -05:00
wenchangliu
289d2844e5 cepheus: Add "can-swap-width-height" for video codecs
[VSR-4.2-004.002] MUST support identical size ranges horizontally
as vertically (for example, support portrait videos of the same size
if they support a landscape video size.)

Bug: 322453106
Test: atest android.mediav2.cts.CodecInfoTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:aa514b3779b94a7dc40dab302c84ab8ae97becfa)
Merged-In: I6918bc926964c8dd398d686ee3e7713d4f023ff2
Change-Id: I6918bc926964c8dd398d686ee3e7713d4f023ff2
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-02-06 13:05:20 -05:00
dianlujitao
bba3efffe1 cepheus: Remove OMX
* OMX HW video codecs are no longer used after enabling Codec2
 * OMX HW audio codecs won't work without QCOM A/V enhancements, which
   we don't have on Lineage.

Change-Id: I65852151c8fb6387add5fc4402ba3f13c97b5f64
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-02-06 13:03:35 -05:00
chematelegram
1baa582634 cepheus: Move c2_manifest to manifest 2025-02-06 13:00:20 -05:00
balgxmr
859e3e47e0 cepheus: powerhint: Update little cluster min freq
Signed-off-by: balgxmr <jose@pixelos.net>
2025-01-07 01:21:22 -05:00
balgxmr
b88bd306dc cepheus: powerhint: Update GPU frequencies
Signed-off-by: balgxmr <jose@pixelos.net>
2025-01-07 01:21:22 -05:00
balgxmr
46a7975eea cepheus: powerhint: Update GPU idle timeout from 80ms to 58ms
* As per kernel change in: b92e350fe8

Signed-off-by: balgxmr <jose@pixelos.net>
2025-01-07 01:21:15 -05:00
Sebastiano Barezzi
a889cc2ed9 cepheus: powerhint: Drop display early_wakeup node
Change-Id: I32707afebc486c17f41efceb0f8b95a0eae9f2e4
2025-01-06 15:44:19 -05:00
Bruno Martins
693917a032 cepheus: powerhint: Remove Google-specific camera hints
Change-Id: I06a83be233490f0b23cebd83bb71172b7044727b
2025-01-06 15:43:53 -05:00
Sebastiano Barezzi
58e069f13d cepheus: powerhint: Drop EnergyAware node
Change-Id: I42adc40264df0b9c0b03c6862bb0c5703710254d
2025-01-06 15:43:53 -05:00
Sebastiano Barezzi
ab128af935 cepheus: powerhint: Remove schedtune related stuff
Change-Id: I65c84723943e54eaabdc52571c86a66a71a78fb8
2025-01-06 15:43:53 -05:00
Sebastiano Barezzi
fd81eb9735 cepheus: powerhint: Don't mess with UFS clkgate
* They cause UFS panics on vayu

Change-Id: Ifad2383bfb92260f97f6140cadae34b6ed60a4d4
2025-01-06 15:43:53 -05:00
Luca Stefani
e6788c804d cepheus: powerhint: Adjust powerhint for QOS interface
Currently all writes to the dev interface are done
by WriteStringToFd that uses char internally.

The current values seem to expect to be written as s32,
this sadly won't happen and triggers a special case in
the write handling of pm_qos_power_write:
it expects char buffers to be encoded as base16 and
decodes them.
This means the current 44 is actually 0x44 -> 68 seen by
the kernel.

Luckily it seems like both accepted values for this node
don't hit the threshold to enter C2, so it was never
noticed in real usage and didn't effect the device
C-States handling during hints.

Signed-off-by: Luca Stefani <luca.stefani.ge1@gmail.com>
Change-Id: Ic544d4dcaa1edc3de913aed737baf1af88a45360
2025-01-06 15:43:47 -05:00
Sebastiano Barezzi
4300befdd8 cepheus: Import powerhint.json
* From: https://android.googlesource.com/device/google/coral/+/android-11.0.0_r40/powerhint.json

Change-Id: Ie6946252fc832c37034d733756a7680459d191e2
2025-01-06 15:43:29 -05:00
balgxmr
347383493e cepheus: configs: powerhint: Remove F2fsRecessModeEnable 2025-01-04 20:47:41 -05:00
Aaron Kling
11c4107749 cepheus: Remove software omx codec references
These are no longer available as of Android 14 QPR3. The C2 codecs
available by default in the swcodec apex will be used instead
2024-11-19 19:49:54 -05:00
Bruno Martins
956fea4394 cepheus: Remove software OMX blobs
Default to C2 codecs from swcodec apex.
2024-11-19 19:48:10 -05:00
Yumi Yukimura
b2c8d01735 cepheus: Switch to QTI Memtrack AIDL HAL
Change-Id: Ibcbaff02fd56fbccc3a88c01a5f46a89cb212ef5
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2024-08-18 18:57:08 -05:00
balgxmr
8e81b5bb58 cepheus: configs: media: Revert to LA.UM.9.1.r1-07500-SMxxx0.0
Revert "cepheus: configs: media: Update from LA.UM.9.1.r1-13000-SMxxx0.QSSI13.0"

This reverts commit 449d748e08.

Revert "cepheus: media: Checkout media from LA.UM.9.1.r1-11500.02-SMxxx0.QSSI12.0"

This reverts commit 59eb1d90db.
2024-08-09 15:29:30 -05:00
Josh Wu
614422ea5f cepheus: Switch BtAudio to AIDL
Test: m
Bug: 203490261
Change-Id: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
Merged-In: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
2024-08-02 17:51:42 -05:00
¨raystef66¨
8b0c4f58d6 cepheus: Declare missing AIDL HALs entries
* The following HALs in device manifest are not declared in FCM <= level 5
2024-07-16 15:54:24 -05:00
Bruno Martins
8ae220a15a cepheus: Use the common device compatibility matrix from QCOM
Change-Id: I6b58cd68542f5b8b4d66433c0264919100eebde4
2024-07-16 15:33:49 -05:00
¨raystef66¨
22ab4f8562 cepheus: add FCM 2024-07-16 15:32:57 -05:00
balgxmr
b8fd8b6944 cepheus: powerhint: Drop LAUNCH UclampTAMin 2024-01-29 16:34:00 -05:00
balgxmr
90437518e2 Revert "cepheus: audio: Use AOSP USB v2 audio HAL"
* Fixes reboot when receiving a call with USB-C Type Headphones connected. Also
  causes instability with some dacs connected. Reported by @ SanctumSaturn and others on TG.

This reverts commit 96c93cd924.
2024-01-29 16:34:00 -05:00
balgxmr
1d985ebe92 Revert "cepheus: keylayout: Import joystick keylayouts from 1Controller v1.5.2"
This reverts commit f3424a6c14.
2023-12-17 21:49:47 -05:00
balgxmr
d035ec4454 Revert "cepheus: Add keylayout mapping for Xbox360 compatible controllers"
This reverts commit 885bd12834.
2023-12-17 21:49:47 -05:00
kaderbava
287d8c4480 cepheus: Downrev audio hal to v7.0
* Crashing in A14 and stuck at boot logo.

* Fixes:

F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

08-04 11:57:56.158  1969  1969 F DEBUG   : Build fingerprint: 'realme/derp_RMX1921/RMX1921:14/UP1A.231005.007/1696944583:eng/test-keys'

08-04 11:57:56.158  1969  1969 F DEBUG   : Revision: '0'

08-04 11:57:56.158  1969  1969 F DEBUG   : ABI: 'arm'

08-04 11:57:56.158  1969  1969 F DEBUG   : Timestamp: 1971-08-04 11:57:56.091611748+0000

08-04 11:57:56.158  1969  1969 F DEBUG   : Process uptime: 0s

08-04 11:57:56.158  1969  1969 F DEBUG   : Cmdline: /vendor/bin/hw/android.hardware.audio.service

08-04 11:57:56.158  1969  1969 F DEBUG   : pid: 1941, tid: 1947, name: HwBinder:1941_2  >>> /vendor/bin/hw/android.hardware.audio.service <<<

08-04 11:57:56.158  1969  1969 F DEBUG   : uid: 1041

08-04 11:57:56.158  1969  1969 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x00000004

08-04 11:57:56.158  1969  1969 F DEBUG   : Cause: null pointer dereference

08-04 11:57:56.158  1969  1969 F DEBUG   :     r0  ebf00010  r1  ed96979d  r2  ee041810  r3  00000004

08-04 11:57:56.158  1969  1969 F DEBUG   :     r4  ed6baa98  r5  ed6baa98  r6  ed6baabc  r7  ee041810

08-04 11:57:56.158  1969  1969 F DEBUG   :     r8  ed6baab8  r9  ed6bafe8  r10 ed6bab20  r11 ed6bafe8

08-04 11:57:56.158  1969  1969 F DEBUG   :     ip  ec06d3f0  sp  ed6baa50  lr  ed96991b  pc  00000004

08-04 11:57:56.158  1969  1969 F DEBUG   : 12 total frames

08-04 11:57:56.158  1969  1969 F DEBUG   : backtrace:

08-04 11:57:56.158  1969  1969 F DEBUG   :       #00 pc 00000004  <unknown>

08-04 11:57:56.158  1969  1969 F DEBUG   :       #01 pc 00025919  /vendor/lib/hw/android.hardware.audio@7.1-impl.so (android::hardware::audio::V7_1::implementation::StreamOut::setLatencyModeCallback(android::sp<android::hardware::audio::V7_1::IStreamOutLatencyModeCallback> const&)+36) (BuildId: ee2d2567d750e350ee151312594fc459)

08-04 11:57:56.158  1969  1969 F DEBUG   :       #02 pc 0004323f  /vendor/lib/android.hardware.audio@7.1.so (android::hardware::audio::V7_1::BnHwStreamOut::_hidl_setLatencyModeCallback(android::hidl::base::V1_0::BnHwBase*, android::hardware::Parcel const&, android::hardware::Parcel*, std::__1::function<void (android::hardware::Parcel&)>)+198) (BuildId: ab7471a04c158cabb93e266f5d0b2b97)

08-04 11:57:56.158  1969  1969 F DEBUG   :       #03 pc 000443b5  /vendor/lib/android.hardware.audio@7.1.so (android::hardware::audio::V7_1::BnHwStreamOut::onTransact(unsigned int, android::hardware::Parcel const&, android::hardware::Parcel*, unsigned int, std::__1::function<void (android::hardware::Parcel&)>)+3588) (BuildId: ab7471a04c158cabb93e266f5d0b2b97)

08-04 11:57:56.158  1969  1969 F DEBUG   :       #04 pc 000632d3  /apex/com.android.vndk.v34/lib/libhidlbase.so (android::hardware::BHwBinder::transact(unsigned int, android::hardware::Parcel const&, android::hardware::Parcel*, unsigned int, std::__1::function<void (android::hardware::Parcel&)>)+98) (BuildId: b5429b8e2e2f0046767c663e80e007a8)

08-04 11:57:56.158  1969  1969 F DEBUG   :       #05 pc 00066957  /apex/com.android.vndk.v34/lib/libhidlbase.so (android::hardware::IPCThreadState::executeCommand(int)+2254) (BuildId: b5429b8e2e2f0046767c663e80e007a8)

08-04 11:57:56.159  1969  1969 F DEBUG   :       #06 pc 00065f55  /apex/com.android.vndk.v34/lib/libhidlbase.so (android::hardware::IPCThreadState::getAndExecuteCommand()+124) (BuildId: b5429b8e2e2f0046767c663e80e007a8)

08-04 11:57:56.159  1969  1969 F DEBUG   :       #07 pc 00066d41  /apex/com.android.vndk.v34/lib/libhidlbase.so (android::hardware::IPCThreadState::joinThreadPool(bool)+156) (BuildId: b5429b8e2e2f0046767c663e80e007a8)

08-04 11:57:56.159  1969  1969 F DEBUG   :       #08 pc 0006e401  /apex/com.android.vndk.v34/lib/libhidlbase.so (android::hardware::PoolThread::threadLoop()+12) (BuildId: b5429b8e2e2f0046767c663e80e007a8)

08-04 11:57:56.159  1969  1969 F DEBUG   :       #09 pc 0000d9df  /apex/com.android.vndk.v34/lib/libutils.so (android::Thread::_threadLoop(void*)+410) (BuildId: 5d3886ad27216c67511162ebdb2fe012)

08-04 11:57:56.159  1969  1969 F DEBUG   :       #10 pc 0008a743  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40) (BuildId: 766da2cbfcecab02eabeae58aa5b20b7)

08-04 11:57:56.159  1969  1969 F DEBUG   :       #11 pc 0003c6e7  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: 766da2cbfcecab02eabeae58aa5b20b7)

Signed-off-by: kaderbava <ksbava7325@gmail.com>
2023-10-23 14:16:58 -05:00
tingting.jiang
885bd12834 cepheus: Add keylayout mapping for Xbox360 compatible controllers
Fix issue of Connecting XBOX 360 Controller by USB and play Destiny 2 on Stadia,while some button doesn't work

Bug: 215096348
Test: playing Destiny 2 on Stadia, all button works

Signed-off-by: 7Soldier <reg.fm4@gmail.com>
Signed-off-by: MrErenK <akbaseren4751@gmail.com>
2023-10-06 10:05:56 -05:00
Electric
f3424a6c14 cepheus: keylayout: Import joystick keylayouts from 1Controller v1.5.2
Reference: https://github.com/Electric1447/1Controller

It adds .kl files to fix keybindings on many game controllers.

Compatibility:
 - DualShock 2
 - DualShock 3
 - DualShock 4
 - DualSense
 - Xbox 360
 - Xbox One
 - Xbox One S
 - Xbox Series X|S
 - Switch Pro Controller
 - Nacon REVOLUTION PRO CONTROLLER
 - Zeemote SteelSeries FREE

Credits:
 - JaqFb for providing DS4 keylayouts.
 - KeiranGinge for helping with DS4 mappings.
 - djsmax for many many fixes and changes.
 - Black-Seraph for Pro Controller Keylayout from CleanRom (GPD XD+).
 - MattMasc for DualShock 2 Keylayout.
 - RuiGuilherme for Xbox Series X|S.

Co-authored-by: TogoFire <italomellopereira@gmail.com>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
Signed-off-by: MrErenK <akbaseren4751@gmail.com>
2023-10-06 10:00:35 -05:00
Sugakesshaa
a3fa23382a cepheus: Update task_profiles.json from AOSPA
Change-Id: Ieb9196fa1a6669207c1862df12d088f3d634c29a
2023-07-28 13:40:14 -05:00
balgxmr
150387d181 cepheus: Update WCNSS_qcom_cfg.ini from vayu V14.0.3.0.TJUMIXM
Signed-off-by: balgxmr <jose@pixelos.net>
2023-07-28 13:36:57 -05:00
Sugakesshaa
4b76bf362d cepheus: configs: powerhint: Setup uclamp boosting
- Implement uclamp boosting for top-app and foreground
  based on newer pixels

Change-Id: I70c4262230841b3c7bf84b4165916a22312f829f

[balgxmr: Update paths to cepheus]
2023-07-22 15:30:19 -05:00
Srinivas Ramana
d1db579402 cepheus: msm_irqbalance: Correct the arch_mem_timer interrupt
correct the arch_mem_timer interrupt to 38.

Change-Id: Ie5fe976eef084231beb5e32abf88a35a5c4bc70d
2023-07-14 15:34:18 -05:00
Carter Hsu
0e9a7611c8 cepheus: Update Audio HIDL to 7.1
Bug: 205235270
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ie1d8b20b001936e6c72ffe3644475c4fb8dad604
2023-07-08 11:29:42 -05:00
Sebastiano Barezzi
ec35aaaeb9 cepheus: configs: powerhint: Don't mess with UFS clkgate
Change-Id: Ifad2383bfb92260f97f6140cadae34b6ed60a4d4
2023-07-06 17:04:41 -05:00
Subhajeet Muhuri
f577012c43 cepheus: configs: powerhint: Drop PM QoS boosting
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@aosip.dev>
Change-Id: Idfec50a2877ed5db2191002e287d1a41cd8f38af
2023-07-06 17:04:36 -05:00
balgxmr
e256984388 Revert "cepheus: powerhint: Set to powersave governor when device is idle"
This reverts commit 2398964cd1.
2023-05-23 14:10:43 -05:00
Bart Van Assche
d1f9ec1c31 cepheus: task_profiles: Convert tabs into spaces
Commit 9c0fcbb0f710 ("libprocessgroup: Add I/O scheduler attributes to
task_profiles.json") accidentally introduced tabs in task_profiles.json.
Convert these tabs into spaces.

Bug: 213617178
Change-Id: I7ac59dbd40aa3da295646792e35b8275fbb97991
Signed-off-by: Bart Van Assche <bvanassche@google.com>
Signed-off-by: DennySPb <dennyspb@gmail.com>
2023-05-09 17:06:08 -05:00
balgxmr
e95f64f4a9 cepheus: Import task_profiles.json from YAAP and use cgroups.json 2023-05-09 17:06:08 -05:00
balgxmr
4bdcf75ae7 cepheus: powerhint: Tune flipendo powerhints
Signed-off-by: balgxmr <jose@pixelos.net>
2023-05-07 10:59:04 -05:00
Subhajeet Muhuri
23384f480f cepheus: powerhint: Remove audio hints
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@aosip.dev>
Change-Id: Ife1cb1e356e62283f3c4d353931458adaf84e975
2023-05-07 10:58:49 -05:00
Nauval Rizky
ddde68a999 cepheus: powerhint: Remove hints for Adaptive Battery CPU Throttling
Change-Id: I3dd740f80535d2c6b782f00e473833caf6f39bc5
2023-05-07 10:58:48 -05:00
balgxmr
fb7aa972bc cepheus: powerhint: Bring back some hints
- And remove DefaultIndex from little, big, big+ clusters' min freq

Signed-off-by: balgxmr <jose@pixelos.net>
2023-05-07 10:58:43 -05:00