Commit Graph

31 Commits

Author SHA1 Message Date
bengris32
9708fd333b rosemary: Support AOSP charger animation
Change-Id: I93628ae9bb730c233ed93c796d640d9854c447f3
Signed-off-by: bengris32 <bengris32@protonmail.ch>
2024-02-19 12:01:04 +01:00
Matsvei Niaverau
e9cf96da92 rosemary: Update blobs from V14.0.7.0.TKLMIXM
This reverts commit c478a2e and cb797b3.

Change-Id: I8a2372df789877f45a94dfaf76fecae717e860ab
2024-02-19 12:01:04 +01:00
bengris32
967d552a2f rosemary: Switch to AOSP audio service
Change-Id: I933b66e3821562022eb837af91ad4039e22fb578
Signed-off-by: bengris32 <bengris32@protonmail.ch>
2024-02-19 11:42:22 +01:00
Matsvei Niaverau
843dbbd7e0 rosemary: rootdir: Update from V13.0.6.0
Change-Id: Id244a2ae3e7f1cad4ac668af6590959035f16426
2024-02-19 11:39:42 +01:00
Ash Blake
5ee2fea9de rosemary: rootdir: Fix /dev/fm ownership
* On AOSP, the FMRadio app process runs as system

Change-Id: I1316d78e02f5087f0d561840f68a6aaa0746c658
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
880f476d30 rosemary: rootdir: Set correct permissions for FM Radio node
Change-Id: I6b2c7991fb4067b73cb4ffbf4d80c2ee75dfe635
2023-04-25 17:59:38 +02:00
Jesse Chan
f41efd8883 rosemary: initialize powerHAL when boot is completed 2023-04-25 17:59:38 +02:00
Matsvei Niaverau
d9772fa399 rosemary: rootdir: Bring up fingerprint chowns
Change-Id: Ifa7259b2cb6411ff486226ac492ff1b98376df9e
2023-04-25 17:59:38 +02:00
Vaisakh Murali
e41b2e465d rosemary: Enable EAS instead of hybrid sched
The node accepts 3 values
0: HMP
1: EAS
2: MTK Hybrid Sched (EAS+HMP)

[bengris32] Despite hybrid scheduler having better "raw" performance,
EAS yields significant UX performance improvements over the hybrid scheduler.

Change-Id: Ia170b5454920cff747e1886c5f2f2dedcefbf537
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
39e50d4214 rosemary: rootdir: Drop charge_logger remnants
Change-Id: Id96b5849deb51a876d0467407af9c9d858b2b855
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
712985a299 rosemary: Drop displayfeature HAL
Change-Id: I509f2a537ee2c0f35f32a82d03ca696e1d62b99b
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
da28f94423 rosemary: rootdir: Bump vendor.boot-hal version
Change-Id: I0e5a992e1108846cb27cf40d53a630b7f9d1a689
2023-04-25 17:59:37 +02:00
DarkJoker360
e06eaa6ff5 rosemary: Set dt2w node permissions on boot
Signed-off-by: DarkJoker360 <simoespo159@gmail.com>
Change-Id: Ic47bdd4f68c1f4a8cc29f6b8d1bf46c04fbc4871
2023-04-15 14:36:56 +02:00
TheMalachite
ff5ba11132 rosemary: rootdir: Drop useless services
Signed-off-by: TheMalachite <eliasgheeraert@gmail.com>
Change-Id: I7ad43ec34a70322cf30cfbfe684dec5a1577eae2
2023-04-15 14:36:56 +02:00
TheMalachite
f07c0837fb rosemary: rootdir: Remove sdcard symlink and iso mount
Signed-off-by: TheMalachite <eliasgheeraert@gmail.com>
Change-Id: Icff4c31d55be813d2284f0617072ce343e71db07
2023-04-15 14:36:56 +02:00
TheMalachite
a07c6392ed rosemary: rootdir: Drop on property:vold.decrypt
- We don't use FDE encryption

Signed-off-by: TheMalachite <eliasgheeraert@gmail.com>
Change-Id: Icd9c16a5f5b92992e8e41539971302a09cdde9be
2023-04-15 14:36:56 +02:00
Vaisakh Murali
0bed5f53a4 rosemary: rootdir: Elevate read permissions for mtk_cmdq and mdp_sync
Apparently on AOSP builds, these nodes when read by the hals
with O_RDONLY attribute, need an elevated read permission, which
is apparently unneeded on mtk builds/stock rom.

This fixes video playback/OMX

Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
Change-Id: I7f358d0037de569a4eb038e5ac2a17b7651d307d
2023-04-15 14:36:56 +02:00
Matsvei Niaverau
a41a41530c rosemary: rootdir: Set fstab as a swapfile
Change-Id: I59e08b005fb396dd5473e1cd113f6b10eac40c3c
2023-04-15 14:36:56 +02:00
Kshitij Gupta
25e13e931a rosemary: rootdir: Correct mode for video0 and video1
- init services fail to setup encoders on boot and camera and
  screenrecord fails to open video1 when trying to encode a video.
- While we may wanna consider looking through services that make use of
  these devs and correct their groups for AOSP, this gets the job done
  for now.

Change-Id: I0278efe201a9cbaa20c650fdc32bed6f9ecfd017
2023-04-15 14:36:56 +02:00
SamarV-121
c3a22a6b0a rosemary: Build and rename audio service HAL
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-12-07 00:10:21 +01:00
P.Adarsh Reddy
843bb81c3f rosemary: Enforce android-S new launch debugfs restrictions
This removes the default mounting of debugfs, as
it is no longer allowed from android-S new-launch.

Change-Id: I78878e1c4177c07d66b13e5659d4360252c5f87b
2022-11-12 10:48:38 +03:00
Vaisakh Murali
e62dbd3d48 rosemary: Enable stune boost for top-app
Reduce the top-app latencies by enabling top-app boosting.
2022-11-12 10:48:38 +03:00
Vaisakh Murali
93ec25bdf8 rosemary: Reduce number of CPUs for system-background apps
system-background isn't too heavy load to handle where cpuset
gives it 6 CPUs to rely on.
Reduce it to 4 CPUs, effectively reducing CPU power load.
2022-11-12 10:48:38 +03:00
TheMalachite
72fb69f423 rosemary: Fixup /data/vendor/audiohal directories creation 2022-11-12 10:48:38 +03:00
Vaisakh Murali
02e9dee8a6 rosemary: Create audio dump directory on post-fs-data
Silence the obscure logspam about not able to create a directory:
AudioParamParser-vnd: utilMkdir(), mkdir fail (/data/vendor/audiohal/audio_param/)
2022-11-12 10:48:38 +03:00
Ash Blake
3904145001 rosemary: fix ownership for /dev/video{0,1}
Mediacodec did not have access and video recording didn't work.
2022-11-12 10:48:38 +03:00
bengris32
ef6b9efaa4 rosemary: Set correct permissions for double_tap node
Signed-off-by: bengris32 <bengris32@protonmail.ch>
2022-11-12 10:48:38 +03:00
Akash
0c1f0ef04a rosemary: remove seclabel from mi_thermald
Fixes: init: cannot setexeccon('u:r:mi_thermald:s0') for mi_thermald: Invalid argument

Change-Id: I62f55edc8d7c6d52f0c9f2cb64fce4aa51704f00
2022-11-12 10:48:11 +03:00
AgentFabulous
c80503eca7 rosemary: Remove remaining AEE imports from init scripts
Change-Id: I353b478baead81a593651f7c504d94f1a5dce4c1
2022-11-12 10:45:57 +03:00
Debayan
d509acb36c rosemary: Replace ro.vendor.rc with full path
Change-Id: I4209692af02f17ccebac82755faad13834ca88ad
2022-11-07 10:30:32 +03:00
bengris32
16cda86839 rosemary: Initial minimised rootdir
* All AEE, Meta mode, Factory mode related scripts
  have been removed.

Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I20ab2c44768ca3f83f8515c2c4455924aaa394d9
2022-11-07 10:30:32 +03:00