commit | 0e9659568a3956a18efdd06069b70124e429a5ce | [log] [tgz] |
---|---|---|
author | Amit Pundir <pundiramit@gmail.com> | Thu Aug 01 19:27:43 2019 +0530 |
committer | Amit Pundir <amit.pundir@linaro.org> | Thu Aug 01 19:28:22 2019 +0530 |
tree | 40a2b31deef97c7f83857c67d8634ebfc24183d8 | |
parent | c738b815bac6d966d2ebf60aa0003c91e7f1b3b3 [diff] |
aosp_beryllium: Replace gatekeeper with software HIDL service. Use the default software implementation of gatekeeper. Signed-off-by: Amit Pundir <pundiramit@gmail.com>
IMPORTANT NOTICE --> UNLOCKING AND ROOTING MAY VOID YOUR PHONE WARRANTY AND MAY BRICK YOUR DEVICE AS WELL. I'M NOT RESPONSIBLE FOR EITHER OF THAT.
Here is a reasonable guide to get you started on unlocking and rooting Poco F1 --> https://forum.xda-developers.com/poco-f1/how-to/xiaomi-poco-f1-unlock-bootloader-custom-t3839405
Just for the records I downloaded and installed following external packages to unlock and root my device-->
Also Dont forget to take a backup of your images from TWRP and copy them to your Host machine. It will come very handy. Believe me :)
repo init -u https://android.googlesource.com/platform/manifest -b master git clone git@github.com:pundiramit/android-local-manifests.git .repo/local_manifests repo sync -j$nproc source build/envsetup.sh lunch aosp_beryllium-userdebug make -j$nproc
Avoid a known smmu crash by turning OFF the display -->
fastboot oem select-display-panel none fastboot reboot bootloader
Flash AOSP images and reboot -->
fastboot flash system system.img fastboot flash vendor vendor.img fastboot flash userdata userdata.img fastboot flash boot boot.img fastboot reboot
adb shell
adb reboot bootloader fastboot oem select-display-panel fastboot reboot bootloader
Use standard abootimg commands to update kernel (Image.gz-dtb) in boot.img and fastboot flash the updated boot.img.
My mainline tracking kernel is hosted at -->
https://github.com/pundiramit/linux/tree/master (beryllium_defconfig).
Prepare bootable kernel image (Image.gz-dtb) by running -->
$ cat arch/arm64/boot/Image.gz arch/arm64/boot/dts/qcom/sdm845-beryllium.dtb > arch/arm64/boot/Image.gz-dtb