* If we want to override anything in particular, e.g.
PID/VIDs we will create a seperate script named
'init.xiaomi.usb.rc'.
Change-Id: I83882d8992eb367211871130c163f4ca5689fcd4
* Reducing max_brightness limits the LED current draw from 8mA to approximately 1mA.
* This mitigates light leaking.
Change-Id: I3f9b08f3073e256fba102495c6134375fe02b6ae
No longer needed now init listens for property changes on a
separate thread.
Bug: 186580823
Test: Cuttlefish boots successfully
Change-Id: Ief3a546d2154231d18957c2f703bd128966d7288
Making these partitions erofs saves ~550MB, which lets us reserve
significantly more space on /product.
Change-Id: I88984f6137c0bc9f01da742a7a485445c2162157
* fstab_AB.qcom and partition size values are from
nabu_global-user 12 RKQ1.200826.002 V13.1.4.0.SKXMIXM release-keys
Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: I3f6d26bbfd6c8f72c0f5621f83cddb2b4f69b1a3
For easy transition from SchedTune to UtilClamp, direct access to these
cgroups should be abstracted by using task profiles. Replace writepid
commands with new task_profiles command.
Bug: 155419956
Test: change .rc file and confirm task profile is applied
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Ide373c283359cf4b73af4cb0813d8c0306942595
We do not have AdrenoTest.apk or SWE_Browser.apk so it does not make
sense to try to install them.
Change-Id: I0615e2e50526f960d5a6c221798ab5ebd1162d7b
This addresses an underlying problem since /dev/hw_random is used. The
issue is that EntropyMixer, which runs in system_server, needs to read
from /dev/hw_random, but thanks to our qualcomm ueventd, EntropyMixer
can never accress this node, resulting in warnings like this:
W EntropyMixer: Failed to add HW RNG output to entropy pool
W EntropyMixer: java.io.FileNotFoundException: /dev/hw_random
(Permission denied)
AOSP ueventd handles this well, so just remove this line to get things
back to stage. This issue was never exposed because Google derps the
logging here, which is already fixed on Pie.
c78a463e87
Change-Id: I42c9aaa8f57306536e51c0a17febad57a5a77581
* E GPQeSE-HAL: gpqese_open: send GPQESE_CMD_OPEN to TA
* E GPQeSE-HAL: GPQESE_CMD_OPEN failed : 0xFFFF000E
Change-Id: I3b12e6d543a3af6cbb90817ce957c383fa381d78
* Merge system, vendor and cust, giving us a whopping 6.4GB of space, pretty nice
* Take for granted that we always have dynamic partitions, remove guards where needed
* Introduce a new variable TARGET_IS_LEGACY to guard legacy vs new stuff, including retrofitting stuff
* Unfortunately we can't use the same fstab for all because of AVB
* Mark standard block devices as super block devices (from https://source.android.com/devices/tech/ota/dynamic_partitions/implement?hl=en#selinux-legacy)
Change-Id: I2553aad99f5c458cf6ac6b4265dc5840127c13e9
* Stop handling vendor mounting from kernel, first stage init is gonna do that, together with system (which is now /system)
* Use correct mount flags coming from kernel dts
* Move system and vendor mount points to /dev/block/by-name/, we don't have bootdevice symlink to that point in init
* Copy fstab to ramdisk for first stage init
Change-Id: I0d7c3ab52fe49e75ce81a4630c1556df1c060824
* andromeda, cepheus and raphael uses eSE instead of UICC
* Setup a new SKU for them
* Decommonize NFC configs
* Include secure element services and disable them by default
* Copy permissions with eSE ones
Change-Id: Ic38b675a461ea0b346103f0bbc6bfc2811ed46bf