Created
February 7, 2020 23:29
-
-
Save Danct12/58a5cded75d91877f7ffc42bde2cd3a6 to your computer and use it in GitHub Desktop.
UBports Recovery on Halium 7.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (C) 2020 Dreemurrs Embedded Labs <github.com/dreemurrs-embedded> | |
HOW TO SETUP RECOVERY FOR HALIUM 7 PORTS | |
-------------------------- | |
Add this to your manifest | |
<!-- Remotes --> | |
<remote name="beidl" fetch="https://github.com/fredldotme" /> | |
<!-- Recovery --> | |
<remove-project path="bootable/recovery" name="android_bootable_recovery" /> | |
<remove-project path="external/toybox" name="android_external_toybox" /> | |
<remove-project path="system/core" name="Halium/android_system_core" /> | |
<project path="bootable/recovery" name="android_bootable_recovery" remote="beidl" revision="ubp-7.1" /> | |
<project path="external/gpg" name="android_external_gpg" revision="halium-7.1" remote="beidl" /> | |
<project path="external/toybox" name="android_external_toybox" revision="halium-7.1" remote="beidl" /> | |
<project path="system/core" name="Halium/android_system_core" groups="pdk" remote="hal" revision="halium-7.1-adbroot" /> | |
Next, manually clone it or run ./halium/devices/setup $DEVICE. (you'll lose non-pushed changes) | |
After done, build recovery image by `mka recoveryimage`. | |
Your finished product will be in out/target/$DEVICE/recovery.img, you can fastboot boot this image to test. | |
If done correctly, you should get "UBports Recovery" as the branding, along with Ubuntu and Android actions menu. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment