I'm new to the Android world when it comes to these matters, so I ask for your patience if I say something wrong.
I have a Motorola Moto E5 Plus cell phone and I used my Linux Ubuntu to help with the commands. With all the tutorials I've seen, basically what I did was:
- I downloaded the TWRPAPP APK, transferred it to my cell phone and installed it;
- I ran the application and downloaded the latest version of TWRP (
3.7.0_9-0-hannah
):- NOTE: After downloading the image, I also transferred it to my computer.
- I activated USB debugging and OEM unlocked;
- I restarted the phone into the bootloader with:
adb reboot bootloader
- I unlocked the bootloader:
- I got information from the OEM:
fastboot oem get_unlock_data
- I registered on the Motorola website and got the unlock key and executed:
fastboot oem unlock <key>
- Everything went well and the bootloader was unlocked...
- I got information from the OEM:
- Back at the bootloader screen, I started TWRP with the command
fastboot boot twrp.img
(as it was the only way I could get it to start); - And now the problem begins...
- When TWRP finishes loading, the first screen asks for a password to decrypt:
- I didn't really know what that password was. When I researched, I understood that this password was the same password to unlock the cell phone when it is on, however, the cell phone did not have a password.
- So I clicked "Cancel" on the start screen and it continues to enter TWRP but on the logs screen it shows mounting errors and that was bad because I couldn't see anything inside the phone's folders and consequently I couldn't see the zipped image to flash.
- From the tutorials I verified that I needed to:
Wipe > Advanced Wipe > Check "Data" > Swipe to Wipe
- Then return to the main menu:
Wipe > Format Data > Type "yes" > Press Enter Button in Keyboard
After that I restart in TWRP and in fact I no longer have any password to enter and it even goes directly to the main menu, however, I also no longer have the GSI image that I downloaded.
PS: After all these things I tried to use OTG but I also couldn't get it to be recognized in TWRP.
adb sideload
when TWRP is in sideload mode.