[tedomi2705]: Adapt with twolip blobs
* All our fingerprint blobs are quite nasty, patchelf v0.9 could
easily break loading of these fingerprint blobs
Change-Id: I8c3976f99c26314c97b2f1384a9091c7d7c29566
To workaround the removal of gBn/sConstructorMap from libhidl just for
the blobs that call _ZN7android8hardware7details17gBnConstructorMapE
and/or _ZN7android8hardware7details17gBsConstructorMapE.
Change-Id: I2376734cefb9d63775bd4e82feca9c588cd191ac
* Due to a conflict with an older device with the same codename (zte_tulip), this is needed
* Assert for both tulip and twolip to make things easier
Change-Id: Ia4e81265b53ce58641eb57c4d943434e2d12d23b
Signed-off-by: Le Hong Duc <hongducthbk123@gmail.com>
* Evo X uses SystemUIGoogle, so lets pin that. Seen in the logs:
02-19 21:28:39.783 1579 1720 E PinnerService: Could not pin file /system_ext/priv-app/SystemUI/oat/arm64/SystemUI.odex
02-19 21:28:39.783 1579 1720 E PinnerService: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
02-19 21:28:39.783 1579 1720 E PinnerService: at libcore.io.Linux.open(Native Method)
02-19 21:28:39.783 1579 1720 E PinnerService: at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
02-19 21:28:39.783 1579 1720 E PinnerService: at libcore.io.BlockGuardOs.open(BlockGuardOs.java:274)
02-19 21:28:39.783 1579 1720 E PinnerService: at android.system.Os.open(Os.java:494)
02-19 21:28:39.783 1579 1720 E PinnerService: at com.android.server.PinnerService.pinFileRanges(PinnerService.java:975)
02-19 21:28:39.783 1579 1720 E PinnerService: at com.android.server.PinnerService.pinFile(PinnerService.java:850)
02-19 21:28:39.783 1579 1720 E PinnerService: at com.android.server.PinnerService.handlePinOnStart(PinnerService.java:305)
02-19 21:28:39.783 1579 1720 E PinnerService: at com.android.server.PinnerService.-$$Nest$mhandlePinOnStart(Unknown Source:0)
02-19 21:28:39.783 1579 1720 E PinnerService: at com.android.server.PinnerService$PinnerHandler.handleMessage(PinnerService.java:1219)
02-19 21:28:39.783 1579 1720 E PinnerService: at android.os.Handler.dispatchMessage(Handler.java:106)
02-19 21:28:39.783 1579 1720 E PinnerService: at android.os.Looper.loopOnce(Looper.java:201)
02-19 21:28:39.783 1579 1720 E PinnerService: at android.os.Looper.loop(Looper.java:288)
02-19 21:28:39.783 1579 1720 E PinnerService: at android.os.HandlerThread.run(HandlerThread.java:67)
02-19 21:28:39.783 1579 1720 E PinnerService: Failed to pin file = /system_ext/priv-app/SystemUI/oat/arm64/SystemUI.odex
02-19 21:28:39.783 1579 1720 D PinnerService: pinRangeStream: null
* Also pin SettingsGoogle
Signed-off-by: Le Hong Duc <hongducthbk123@gmail.com>
- I'm not going through the fuss to make Codec2 work on AOSP;
- Hence, let's build OMX service instead.
Change-Id: Ic1609cb632a4c0fe00addc48b1570ce30456e674
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Pixel 7 onwards also do the same, meaning that the user inconvenience is
none if not minimal.
This saves non-negligible amount of RAM.
Change-Id: Ide8671817d15e79ab61a1665cf3f60e599ff3981
This got enabled by default on U, and it causes apps like
Chrome and Youtube to set the refresh rate to 30FPS when
playing some videos.
Change-Id: I649bf03d550c2b9726c7957d15ed09e455d874ec
This HAL makes use of the sysfs attribute /sys/class/qcom-battery/restricted_charging
to control whether fast charging is allowed or not.
When fast charging is disabled (i.e. 1 is written to the sysfs
attribute), current is restricted to 1 A (the value at
/sys/class/qcom-battery/restricted_current, in uA).
This has been tested on the Nokia 6.1 (PL2); however, it should work
on other Nokia SDM660 devices as well since they share the same
kernel source.
Adapted from the work at android_hardware_samsung:
https://github.com/LineageOS/android_hardware_samsung/tree/lineage-20/hidl/fastcharge
FastCharge interface definition:
https://github.com/LineageOS/android_hardware_lineage_interfaces/tree/lineage-20.0/fastcharge/1.0
Change-Id: I78ce842ef6263c19088f29a40abfa1ef6534cc99
Signed-off-by: Le Hong Duc <hongducthbk123@gmail.com>
* E DisplayPowerController[0]: failed to set up display white-balance: java.lang.IllegalStateException: cannot find sensor com.google.sensor.color
Signed-off-by: GhostMaster69-dev <rathore6375@gmail.com>