This change yields considerable SQLite performance gains. It
should be generally safe as this device has irremovable battery.
Some OEMs have been doing this for years.
Change-Id: I541709fc771d4b501b56b8555e5e8a04486d0293
Specifying avb=<vbmeta-partition> is only necessary for first entry of
partition groups that use same vbmeta partition. The following entry can have
<vbmeta-parititon> part omitted.
Test: None
Link: https://source.android.com/devices/architecture/kernel/mounting-partitions-early#fstab-entries
Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: I5a42fd3de72c400acfae56d6a1e1b85c22a79537
* AVB's `--flags 3` argument builds a disabled VBMeta with
disabled hashtree, so no need to set both flags individually.
Change-Id: Ibe9ee322a5af58f13e76d53e18dee49451fe8838
Required to retrieve MAC addresses and save them somewhere in /data/vendor
so stock QTI Bluetooth HAL can read and set correct one, otherwise the HAL
will set a randomized one that always starts with ff:dd.
cnss-daemon isn't affected since nv_mac will write directly to
/mnt/vendor/persist/wlan_mac.bin to be read by WLAN driver.
Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: I2d95de397c3bab9e3c55171bf0ff833346bef32e
With pnscr executable itself not imported, these files are useless
Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: Iacdb690be905dcb5d4eb9a25a606237de5b0110d
Don't advertise (aka copy here) permissions which physical sensors nor
features are either present or available, especially for barometer sensor
which doesn't exist on alioth and apollo. Copy missing permissions for
Wi-Fi, too.
Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: Iffc6c8bb696985099738c20140c68a0fe2188899
/dev/hw_random should be readable by system_server for EntropyMixer to
be able to use it.
Bug: http://b/179086242
Test: adb shell logcat | grep Entropy
Test: android.permission.cts.FileSystemPermissionTest#testDevHwRandomLockedDown
Change-Id: I7dd7faf300f5ce3cab8d02c69be7915238cf61da
PRODUCT_USE_VNDK will be true in Android-P or later launching devices
and consequently BOARD_VNDK_VERSION will be set to 'current'.
Change-Id: Iaed3eb4875c00742903627d63b4f2968e356781b
While Google found that fingerprint HAL is insensitive to
increased CPU throughput, we have not found that to be the
case. Allowing more CPUs makes fingerprint unlock up to
2x faster in some tests.
SM8250 device with fingerprint on display:
- Before: 3128ms
- After: 944ms
SDM845 device with fingerprint on the power button:
- Before: 1146ms
- After: 688ms
* As per commit 11a113a67e ("Add disable_configstore").
[SebaUbuntu] Remove manifest entry as well
Change-Id: I5482989a8a96227a3e2a5317eacf613c641bfa8e
* proprietary perfd blobs can finally be nuked without breaking goodix
* we could even map the functions to use libperfmgr powerhints in the future
Change-Id: I124652f3041761966a3e3bd97c757fecc39cc5fb
* Heavily inspired by CAF liblights
* Also properly implemented white LED support
* Added chowns where needed (AOSP init.rc already sets some)
Change-Id: Ib9ff8accb163563e19d754f581805bde586d30a9