H1mJT / recovery_device_oplus_nicky

Combined RUI1 and RUI2 recovery tree for realme 3 pro, realme 5 pro, realme X and realme XT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

recovery_device_oplus_nicky

Recovery tree for realme sdm710 devices

Features

Works:

  • Everything

Compile

First checkout manifest :

repo init --depth=1 -u https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp.git -b twrp-12.1
repo sync -c

Then clone the current device tree onto device/oplus/nicky

Finally execute these:

. build/envsetup.sh
lunch twrp_nicky-eng
mka recoveryimage

To test it:

fastboot flash /path/to/recovery.img

Note about ozip decrypt

  • This is necessary for downgrades back to stock android-9.0 (ColorOS).
  • Early versions of android-10.0(Realme UI v1) have decryptor built into the updater binary so this patch isnt necessary.
  • Later versions of android-10.0(Realme UI v1) are not ozip encrypted at all and so is android-11.0 (Realme UI v2) potentially following the OPLUS merger.
  • To automate renaming .ozip to .zip, ozip decrypt tool can be used with dummy key for devices launching with android 10 and above.

Credits

  • Thanks to @mauronfrio for the TWRP tree for realme X/XT
  • TWRP team

About

Combined RUI1 and RUI2 recovery tree for realme 3 pro, realme 5 pro, realme X and realme XT


Languages

Language:Makefile 76.5%Language:Shell 23.5%