blob: ba970264c38530dba465ceaab5cd6f4ee09d1373 [file] [log] [blame]
lexingtontezzcc7c38c2023-09-07 01:35:41 -04001---
2layout: device
3title: "Motorola Moto G Stylus 5G (2023)"
4codename: genevn
5downloadfolder: genevn
6devicetree: https://github.com/TeamWin/android_device_motorola_genevn
7supportstatus: Current
8maintainer: lexingtontezz
9oem: Motorola
10---
11
12{% include disclaimer.html %}
13
14{% include supportstatus.html %}
15
16{% include dynamicpartitions.html %}
17
18{% include download.html %}
19
20<div class='page-heading'>Installation:</div>
21
22NOTE: Your bootloader MUST be UNLOCKED before booting or installing TWRP
23
24If you already have TWRP installed:
25
26Download the latest zip and install the zip using TWRP, or flash directly the image directly to recovery in fastboot.
27
28If you do not already have TWRP installed:
29
30Download 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:
31
32Image Method:
33
34 fastboot flash recovery_<slot> path/to/twrp.img
35
36Zip method:
37
38 fastboot boot path/to/twrp.img
39
40This will temporarily boot TWRP on your device. Use ADB or MTP to push the zip onto your device:
41
42 adb push path/to/twrp.zip /sdcard
43
44Go to install and browse to the zip and install the zip. The zip will install TWRP on recovery partition of both slots.