* The bootloader sets androidboot.hwversion, use this and set
the ro.boot.hardware.revision property in order to show it
in settings.
Change-Id: I3c6c678bf055091ea9fcb2a1524d321e2c1be043
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
recovery partition now supports shared librarys. Therefore, init can now
be built as a dynamic executable both for normal and recovery modes.
To save save in the recovery mode, not all libs are dynamically linked.
Libs that are only used by init in the recovery mode are still
statically linked.
Note: init is still a static executable for legacy devices where
system-as-root is not on, because the dynamic linker and shared libs
which are in /system are not available when init starts.
Bug: 63673171
Test: `adb reboot recovery; adb devices` shows the device ID
Test: device boots to the UI in normal mode.
Test: do that for both walleye (system-as-root) and bullhead (legacy
ramdisk).
Change-Id: I30c84ae6a8e507e507ad0bb71acad281316d9e90
* CAF's init.qcom.early_boot.sh checks /persist/alarm/powerOffAlarmSet
before setting ro.alarm_boot, but on Oreo nothing writes to that
file, thus code is never executed and the prop is never set.
* Without ro.alarm_boot=true, the system will boot normally instead of
boot to min framework even on rtc, and alarm will ring after boot
completed.
Change-Id: Ie4d30358314337c229a66a16195f675198ef7d52