blob: c6c80c93b34ae63156e62d511f42d22c7c720e66 [file] [log] [blame]
kostyajrzaws3831ac42019-09-18 05:45:17 +00001---
2layout: device
3title: "Xiaomi Redmi 7"
4codename: onclite
5downloadfolder: onclite
6devicetree: https://github.com/TeamWin/android_device_xiaomi_onclite
7supportstatus: Current
8maintainer: KostyaJRZ
9oem: Xiaomi
10---
11
12{% include disclaimer.html %}
13
14{% include supportstatus.html %}
kostyajrzaws6c2e22f2020-04-02 11:50:51 +000015NOTE-1: Decryption works only on ROMs with FBE Support
kostyajrzaws3831ac42019-09-18 05:45:17 +000016
17{% include download.html %}
18
19<div class='page-heading'>Installation:</div>
20NOTE: Your bootloader MUST be UNLOCKED before booting or installing TWRP
21If you already have TWRP installed:
22Download the latest zip and install the zip using TWRP, or if you have Magisk installed, flash directly in Magisk Manager as a module.
23
24If you do not already have TWRP installed:
25Download both the img and the zip. Copy the zip to your device. You will need to have the latest fastboot binaries and the correct drivers installed. Power off your device completely. Hold volume down and turn on the device. Your device should now be in the bootloader menu. Connect the device to your PC. Open a command window and run the following command from the proper location:
26
27fastboot boot path/to/twrp.img
28
29This will temporarily boot TWRP on your device. Use ADB or MTP to push the zip onto your device:
30
31adb push path/to/twrp.zip /sdcard
32
33Go to install and browse to the zip and install the zip. The zip will install TWRP on boot partition of both slots.
34
35If you accidently flash TWRP to your device using fastboot instead of temporarily booting the image, you will need to download the latest firmware for your device and reflash the boot image.
kostyajrzaws6c2e22f2020-04-02 11:50:51 +000036