Commit graph

27 commits

Author SHA1 Message Date
raiyanbinmohsin
c44a964d5a sdm660-common: Add back fingerprint overrides into init
* None of the current A12 ROMs have PixelPropsUtils, so let's do it this way in the meanwhile

Signed-off-by: pix106 <sbordenave@gmail.com>
2021-11-13 11:40:19 +01:00
Arian
0e03424233 sdm660-common: init: Set hardware revision property
* 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>
2021-11-13 11:32:12 +01:00
Sebastiano Barezzi
3605a9c720 sdm660-common: Move to SPDX license identifier
Change-Id: If335a7b83289edf4759d0195a8b065c8dac6631b
2021-11-13 11:31:51 +01:00
OdSazib
3ee5aa4512
sdm660-common: Decommonize build.fingerprint 2021-03-11 19:00:03 +06:00
OdSazib
dd81d2e4c1
sdm660-common: init: Override build.fingerprint with multifp 2021-03-09 14:51:56 +06:00
Lucchetto
05e437c22a
sdm660-common: init: Adapt libinit to Android 11
* Remove build.description from common tree as well
2021-03-09 04:49:01 +06:00
Utsav Balar
993f200e32
sdm660-common: init: Remove deprecated property 2021-03-02 23:42:37 +06:00
Martin
a03bdea1fe
sdm660-common: init: Handle fingerprint overrides through init 2021-03-02 23:42:37 +06:00
Jiyong Park
87a5439069
sdm660-common: Build init with shared libraries
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
2020-12-13 18:37:01 +06:00
Subhajeet Muhuri
eedfe19a39
sdm660-common: init: Replace property_set() with android::base::SetProperty()
https: //android.googlesource.com/platform/system/core/+/c88d8f93cfaa8cbf368a0fa94e8bc84bc55c3ece
Change-Id: Ifa21fcb93b9070f063c64521c525ab7d75db6a6d
2020-12-13 18:37:01 +06:00
TheScarastic
1d115a0fe5
sdm660-common: libinit: include full static libbase
Change-Id: Icb67cd6b6759d8cc4fd2e7a98cea74ac68e8ad07
2020-12-13 18:37:01 +06:00
Keertesh
3c89fae5d3
sdm660-common: whyred: init: Add custom init to set proper variants (#55)
* Revert "sdm660: whyred: libinit: Set product model dynamically"

This reverts commit 92bf64ca5b27324f40d02a64ff770d29426e6eb4.

* sdm660-common: whyred: init: Add custom init to set proper variants

Change-Id: I30c57fb24cea89af879d102e4749f95ec1aa9985
2020-10-19 11:36:06 +06:00
Max Weffers
1c467db448
sdm660: audio: Add Prop override from clover for acdb cals
Change-Id: I7c32be9a7ce1f6b83f53ec480c4437135ace5e30
2020-08-12 02:11:32 +06:00
guaiyihu
cfc35d0d26
sdm660: whyred: libinit: Set product model dynamically
Change-Id: I4f67e7025ea2a3b566fd7871e9f86dfa93c79c2a
2020-08-12 02:11:32 +06:00
Scott Warner
36ddffb679
sdm660-common: init: Use vendor_load_persist_properties
* needed because hw_id is not initialized when normal load of props is used

Change-Id: I718ee452e525a1450f02bbe529ba8d130ce8dbe3
2019-12-14 23:26:38 +01:00
Max Weffers
827979ec04
sdm660: libinit: Use ro.product.vendor.device for device check
*ro.product.name is no longer used in 10
2019-12-14 23:18:30 +01:00
jhenrique09
7e09affa32
sdm660-common: init: Cleanup init.sdm660
Too lazy to move that shit to soong

Change-Id: I7a14a43b9cc19e6b3c650a6989f9ce2c8dfd6956
2019-09-27 17:13:45 +02:00
Aryan Gupta
64d07e8da3
sdm660-common: convert libinit Android.mk to blueprint 2019-09-27 17:13:44 +02:00
Max Weffers
f749ead6c7
sdm660-common: libinit: remove heap and dalvik configs from libinit 2019-08-15 17:21:45 +02:00
Max Weffers
1e1cbb13c4
sdm660-common: libinit: Set device specific changes via libinit
Change-Id: I9a2dea3291b76d185d9ecda524a4234b6ed25412
2019-08-15 15:31:07 +02:00
Max Weffers
cb1b743b8d
sdm660-common: Transform into common sdm660 tree 2019-08-14 10:04:10 +02:00
dianlujitao
ac19818dc8 wayne-common: Remove power-off alarm stuff from init extension
* 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
2019-07-01 16:42:17 +02:00
Michael Bestas
cc472568e1 wayne-common: Adapt libinit for wayne
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-12-02 11:02:30 +08:00
Isaac Chen
f89bf07b99 wayne-common: biometric: Detect fingerprint from cmdline
* Cleanup fingerprint logic
2018-12-02 11:02:30 +08:00
Isaac Chen
48f31a3614 wayne-common: init: Remove non-common model detection
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-12-02 11:02:30 +08:00
Isaac Chen
f05bd896e3 wayne: Set model via checking hardware revision
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-13 00:03:44 +00:00
Isaac Chen
e9c2d355a4 wayne: Build libinit
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-13 00:03:18 +00:00