Skip to content
README.md 1.06 KiB
Newer Older
Adam Lawson's avatar
Adam Lawson committed
# recovery_device_oplus_RMX1971
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
Adam Lawson's avatar
Adam Lawson committed
Then clone the current device tree onto device/oplus/RMX1971


Finally execute these:

```
. build/envsetup.sh
Adam Lawson's avatar
Adam Lawson committed
lunch twrp_RMX1971-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