* Based on stock, stripped some unrelevant cruft and logging.
Co-authored-by: Nolen Johnson <johnsonnolen@gmail.com>
Co-authored-by: Aayush Gupta <aayushgupta219@gmail.com>
Co-authored-by: Raghu Varma <raghuvarma331@gmail.com>
Change-Id: Ie78e456a5a81fb2736d0548edcfc84dc4bfb0aa8
* Pulled from Nokia/Plate2_00WW/PL2_sprout:10/QKQ1.190828.002/00WW_4_150:user/release-keys
and edited down as necessary.
Signed-off-by: Nolen Johnson <johnsonnolen@gmail.com>
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: Ia0597d4b7c4213adc59bbd790d3ad0f3220fc7c8
* abl, dtbo, vbmeta, etc. were not part of the list updated by bootctl HAL.
* This will fix the issue but bootctl HAL should be rewritten to not
detect A/B partition candidate at runtime.
Signed-off-by: Nolen Johnson <johnsonnolen@gmail.com>
Signed-off-by: Thierry Strudel <tstrudel@google.com>
Bug: 37501587
Change-Id: I64140d9fce8d142e16a12c9778f1b10394f9dc76
The msadp partition contents can now be loaded via request_firmware.
Without this change the msadp image was not picked up during modem
loading
Change-Id: I4d99b56e0e151169b44839c299156878474857cd
* Don't use makefile parsing to generate symlinks, this is bad practice
because it slows down the makefile parsing process.
Change-Id: Iced972a02073e0c327e02a359870aeec299af0bd
On builds where A/B support is enabled the system image acts as the
rootfs. In this case we can no longer create the non-hlos image mount
points at run time as we used to. We now create them as part of the
build itself.
Change-Id: I30d98f7c50fca3ce7117b9b8d87150655bb5b440
This block is completely redundant because..
- WITH_DEXPREOPT := true is the default
- WITH_DEXPREOPT_PIC is never read
- DEX_PREOPT_DEFAULT := nostripping has no effect when the
BOARD_USES_SYSTEM_OTHER_ODEX flag is set to true
Test: make
Change-Id: I618a1e395ca1a14555cd50eef1a4f1aa079b553d
* This is only available on Nexus/Pixel devices. Already implemented
in LiveDisplay for devices that have the proper profile in the
QDCM calibration file or provide the commands via sysfs node.
Change-Id: I1dbeafdef930bcfeb2b950b3adce293307abff85
Follow blueline which has not demonstrated any regressions
after switching to a generic arch variant.
Bug: 120773446
Test: make
Change-Id: I9e23963fcfa5ccaa912f2930a632458c4d2a692d
This thing is not mandatory at all and only demands extra work by having
to keep it up-to-date whenever new interfaces are added to the device manifest
or simply uprev'ed.
Change-Id: I7c5485f201efde86ff1b277951e7faebf8b80437
This is required to build the recovery variant of the
same to be used by fastbootd.
Bug: 78793464
Test: make
Change-Id: I16eddcb853bda1a9969810f258884ebdbbfc1f5c
* When using generated_kernel_headers including
asm/byteorder.h will cause a warning due to
unused static functions.
Change-Id: I2a74ec92487c13c4645048c96da8cb92b3cbd9f0
system/sepolicy commit 4c8eaba75ac980805e0ab844afff5c062359d7ad ("start
enforcing ioctl restrictions on blk_file",
https://android-review.googlesource.com/c/platform/system/sepolicy/+/793958)
required that all SELinux domains be explicit about the ioctls they are
using on block devices. Update the tee.te policy to be explicit about
its use of the MMC_IOC_CMD ioctl.
Fixes a bug with fingerprint functionality.
Addresses the following denial:
qseecomd: type=1400 audit(0.0:183): avc: denied { ioctl } for path="/dev/block/mmcblk0rpmb" dev="tmpfs" ino=22157 ioctlcmd=0xb300 scontext=u:r:tee:s0 tcontext=u:object_r:rpmb_device:s0 tclass=blk_file permissive=0
STEPS TO REPRODUCE:
1.flash to the os version Bonito/Sargo_QP1A.190123.001
2.completed the SUW
3. use command adb root > adb shell setenforce 0
4.go to setting->security
5.set pixel imprint(fingerprint)+pin, functions can work without setting AP crash
6. Devices can unlock screen with pin code and fingerprint
Change-Id: I6620a5bd9e07f40655fb92f5079d481373deb04f
Fixes: 122999825
Test: Compiles. I am unable to test further without a testing device.
Allowing keymaster to access what it needs
Bug: 112178333
Test: push relevant modules to device and reboot under enforcing mode
Change-Id: Ia861743f035437becd21aa5af7cfe6751849a8ee