MTK labels the vendor.powerhal prop as with their own context, but
using the same contexts leads to more error. Instead switch to a
different prop naming which will not conflict with MTK context.
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
Change-Id: I1dd8f85a4170917bcd8dacbef4f5086931bc7352
* It seems even after adding a dummy libmtkperf_client library,
camera still refuses to work, it seems MediaTek have used a
mix of that client library, and direct HIDL calls to the power
implementation. Build a stub mtkpower service to get around
this limitation.
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I72753bc979f8a8fb2877abee89753c6f2f4ab267
* Required for some vendor blobs that refuse to
work without mtkpower
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: If519965f662988f15ea70f4390f8bed645af22e5
* We still have to keep some vendor interfaces and libs
since some HALs have dependencies on them.
* Also switch to stub AIDL power service until we can get
libperfmgr properly implemented.
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I25022ceb2dd5d0541203663b005bfc15d2385435
- rosemary's LK appears to be checking for certs added to dtbo during
signing. We unfortunately do not have the private keys needed to
generate an image that the bootloader would accept.
- dd out the 2 der certs and append them appropriately with some padding
to make the bootloader happy. (Extracted from MIUI 12 dtbo.img)
Change-Id: I26402236bcea3516fb98f5d48857106ae30b54c1
Signed-off-by: Kshitij Gupta <kshitijgm@gmail.com>
This will fix the long standing issue of the screenshot button
combination not working properly in AOSP. The patch will change the
first instruction of the report_input_event function with a ret so
that the touch events which conflict with AOSP do not get reported
to userspace.
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: Ib36d784b28e0fd18d4bda11cdafaf9865f55e5c9
This will fix the long standing issue of the screenshot button
combination not working properly in AOSP for Goodix sensors.
The patch will replace the first instruction of the
'gf_hal_send_key_event' function with a ret so that the touch
events which conflict with AOSP do not get reported to userspace.
Change-Id: I9e15a46b519fd7f75e39af4690c271aa63af4790
* hwname is required for detecting actual device, maltose having same region (Global) with rosemary
Change-Id: I6aa1f9d856db6e7e0195c511bbb35e987d51c1fc
* This reverts commit e33bb97d67493405b7fbbe31fd7cd60c158ed036 as it causes boot animation lags on Android 13.
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I95d5051709803398d4d39fc767f5e8327efc2920
* The values set in commit 294f177 seem to still present quite
a lot of jank in the UI. Increasing them further to these values
have seemed to mitigate most of the jank.
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I344448a7f4d8cdd9b0d410e40b110c5402007274
* Fixes:
07-25 15:31:45.325 0 0 I init : starting service 'batterysecret'...
07-25 15:31:45.336 0 0 F init : cannot setexeccon('u:r:batterysecret:s0') for batterysecret: Invalid argument
07-25 15:31:45.345 0 0 I init : Service 'batterysecret' (pid 6483) exited with status 6
07-25 15:31:45.345 0 0 I init : Sending signal 9 to service 'batterysecret' (pid 6483) process group...
Signed-off-by: Kuba Wojciechowski <nullbytepl@gmail.com>
Change-Id: I4c547a0162275a1fb99b1038f8bdd5b1f8632095