This sets config_is_powerbutton_fps, since the device has
fps embedded in the power button. It makes frameworks report that
fingerprint sensor is located on the side of the device, which
can be observed when enrolling a fingerprint for the first time.
Change-Id: Ifa079488db642c8a470e40cb585c08e9c85d7cf4
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