blob: 1bcdc2c3f2dbc59b599b8135efea307e90d4cb7b [file] [log] [blame]
SyberHexen55b9d072019-08-24 14:58:49 -07001---
2layout: device
3title: "Motorola Moto G7"
4codename: river
5downloadfolder: river
6devicetree: https://github.com/TeamWin/android_device_motorola_river
7supportstatus: Current
8maintainer: SyberHexen
9oem: Motorola
10---
11
12{% include disclaimer.html %}
13
14{% include supportstatus.html %}
15NOTE: Monthly security updates may (or may not) break decryption of /data in TWRP.
16Decryption of /data works only when installing TWRP permanently!
17
18{% include download.html %}
19
20<div class='page-heading'>Installation:</div>
21NOTE: Your bootloader MUST be UNLOCKED before booting or installing TWRP
22If you already have TWRP installed:
23Download the latest zip and install the zip using TWRP, or if you have Magisk installed, flash directly in Magisk Manager as a module.
24
25If you do not already have TWRP installed:
26Download 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:
27
28fastboot boot path/to/twrp.img
29
30This will temporarily boot TWRP on your device. Use ADB or MTP to push the zip onto your device:
31
32adb push path/to/twrp.zip /sdcard
33
34Go to install and browse to the zip and install the zip. The zip will install TWRP on boot partition of both slots.
35
36If 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.