How to install CWM recovery using computer [GUIDE] [L3] - Optimus L3, L5, L7 General

If you are having trouble with the google play store "Rom manager" app installing CWM recovery on your L3 then hopefully following this guide will help you.
Around 2019 the servers for the rom manager app were still working for the l3, I know this because I actually installed CWM on my l3 that year without issues concerning the server connections. After 2019 though I think that the servers got shut down at least for the l3. I remember vaguely that in 2020 I tried the app and couldn't get it to work to install CWM. The method that I will describe below includes a CWM img that was backed up when I needed to restore my phone back in 2019. Idk though, I might be wrong about the whole thing and you can still use the app.
This should also work if you aren't rooted and this guide assumes that you are on stock.
Prerequisites:
Make sure that your phone is charged and you have a usb cable.
--------
Installing CWM recovery for LG l3
1. Download and install the LG drivers for this phone here (drive link). If you already have drivers for this phone then skip this step.
2. Download Android AIO Flasher here (XDA post)
3. Download the CWM img file here (drive link)
4. Connect up phone to the PC using the USB cable.
4. Enable USB debugging on your phone. This can be done by opening:
Settings --> Applications --> Development --> USB debugging
5. Extract and open up the Android AIO flasher tool and click on the dropdown menu in the center that says "Reboot Menu".
6. Select "Fastboot mode' under the dropdown menu and click on "Reboot".
7. The phone should now boot into Fastboot mode. The fastboot screen should have a bunch of white text on black background.
8. In the Android AIO Flasher tool, select "Recovery" under the "Fastboot flasher" section at the top left of the screen.
9. Click on "Select file" under the "Fastboot flasher section and find the CWM recovery file that you downloaded earlier. Select the file and click "Open".
10. Finally, click on the big "Flash" button in the Fastboot flasher section. Everything is good once the box at the bottom of the tool says "OKAY xxx sec".
11. Unplug your phone and take out the battery (don't worry this won't harm anything in my personal experience).
You are now done installing!
Booting into CWM recovery
1. Turn off device
2. Hold buttons:
Home - Volume up - Power
3. Once the phone vibrates, release all buttons. Your L3 should now boot into CWM recovery​
--------------
Note: If you know the commands for the adb fastboot command line then you can use that rather than using the AIO tool
Please tell me if there is anything that I could improve with the guide
Credits:
fonehacker (for tool) profile link

its just stuck ran it for 15m
C:\Users\admin\Downloads\Android_AIO_Flasher\tools>fastboot flash recovery "C:\Users\admin\Downloads\recovery (LG L3) (CWM 5.8.4.5).img"

Related

[SOLVED] Rooting the OTA updated UVMA1 build

See several posts below for the steps that worked for me
I'm posting this here because my post in the Q&A forums has received zero replies.
I feel like I've tried everything. I installed the UVMA1 over-the-air update and have lost and am unable to regain root. I seriously need a solution to this.
Has anyone been able to root the most updated SGH-T879 with the UVMA1 build?
Re: [Q] Rooting the OTA updated UVMA1 build
You have to do following steps
1.download CWM recovery. tar
2.download odin flashable CWM touch recovery.tar
3.go to download mode
4.flash the UVAM1.tar file through odin
5.flash the CWM recovery.tar through odin
6.flash the CWM touch recovery.tar through odin
7.go to recovery mode flash the super user
8.reboot
You should be okay...
I hope that it helping you to Root the phone.
Let me know if you did.
Good luck..
Sent from my SGH-T879 using xda premium
Flash the CWM recovery tar through Odin.
https://www.onlinefilefolder.com/3sYujqhSWDjt5I
After CWM has been installed, flash superusers through recovery.
https://www.onlinefilefolder.com/3sRc8Cz8TcpOLC
To change recovery to TWRP (which most people seem to prefer now days) flash TWRP zip through CWM recovery. I like this method better than trying to install TWRP through Goomanager, I always have trouble with that for some reason.
Paste below address into your browser
goo.im/devs/OpenRecovery/sgh-t879/openrecovery-twrp-2.3.1.1-sgh-879.zip
Now your phone is rooted and you have TWRP.
Re: [Q] Rooting the OTA updated UVMA1 build
I did as same as it.
But. I couldn't go to recovery
That is why important that make it sure flashing CWM touch recovery.tar through odin.
Maybe just my phone?.
Thank you.
Sent from my SGH-T879 using xda premium
I got my phone to root, but have been unable to change the recovery so I can switch to 4.2.2.
I will clean this up as time permits.
Success!
Through trial and error, on Ubuntu and Windows, I have managed to successfully root the UVMA1 build. I did not screenshot the process so I'll be going from memory. On the other hand I will post a stock backup of the ROM for everyone to use as needed.
This did not work on Ubuntu, had to use Windows.
You will need:
Android Tools SDK
CWM
most recent ODIN
Superuser zip
Steps:
download Android Tools SDK.
Extract to your C: on your windows machine
Open command prompt and navigate to the Platform-Tools directory
enable debugging mode on your Note (Settings > Developer Options > USB Debugging
Leaving your phone on, connect via USB to your computer
wait while the Samsung drivers load
On command prompt type "adb reboot-bootloader" or "adb reboot bootloader" and wait (might need to try both)
Your phone should reboot into downloader mode
Open the newest version of ODIN
In Odin, nothing significant will change, I only saw a blue box in the first square top left
Click on 'Bootloader' button and select the tar.md5 file from Tomin's Goodies thread (link to come later)
In Odin, click on Start
Odin will scroll some text in the little window (bottom left) and then stop. I waited about five minutes. Nothing changed.
Disconnect your phone, pull the battery, press the power button (to dissipate magic electrons), put the battery back in and turn the phone on
Your phone should show a screen saying there is an issue with the Firmware and to use Samsung Kies to fix it. IGNORE THIS, don't do anything
Reconnect phone to PC via USB
wait about 30 seconds for the computer
In Odin, press Start again.
Odin should do something differently than the first time, you should see the top left window go green and 'Reset Ok' in the bottom left window.
Your phone will reboot. If it loads to Android then go to the command prompt window on your PC and type 'adb reboot recovery'
wait about a minute. CWM should load on your phone.
Now is the time to install Superuser zip through CWM.
Additionally, clear dalvik and other caches, reset permissions and backup your rom to external SD card now.
If anyone tries this, please document the process with screenshots so we can create a more comprehensive tutorial.

[TUTORIAL] Install MMB29X and Rooting

As the title says i am ready to show you guys how to install MMB29X and then how to root the device.
First of all , the requirements ofcourse..
1. A Nexus 5 with an unlocked bootloader obviously .. if not i'm gonna show you how to unlock the bootloader safe and fast.
2. Usb Cable ,preferably micro-usb , the size does not matter at all ..
3. ADB and FASTBOOT Drivers , you can download them from here
4. Original Firmware package from here
5. SuperSU Beta 2.66 from here
6. CWM Recovery , i used it in process you can use it too , worked for me ,it should work for you too.. here
7. Some Time
First Of all , download everything and install the drivers systemwide (reccomended)
1.0 Unlock your bootloader.. WARNING (THIS WILL WIPE YOUR DEVICE!)
1.1 - To do that put your phone into fastboot bode and connect it to the computer and search for adb in the programs , press windows key and search for adb , you will see a program called adb.exe don't panic and click the file! right click and open file location.
1.2 - After you will probably see fastboot and adb programs exe's good , that means you installed everything corectly congratulations!
1.3 - Shift+ Right click on a blank space and select open command window here.
1.4 - With the Device connected to pc via fastboot type in that command window ,without commas "fastboot oem unlock" that will unlock your bootloader , then type "reboot bootloader" to reboot to bootloader again. then you have to restart the phone normally and proceed to the next step.
2.0 Flashing MMB29X Image
2.1 - Put your phone into bootloader mode , power off the device and put it into bootloader mode vol.down + power then connect it to the computer ( hope you backed up your data! )
2.2 - On the computer ,copy the downloaded image file to the adb root folder that i talked in the first step then right click on the .tgz image file and extract it in there.
2.3 - Shift + Right click again on a blank space and select open command window here.
2.4 - Navigate onto the folder called "hammerhead-mmb29x" and run "flash-all.bat" file , that batch file will flash everything just take a break and relax until is finished then power up the device and configure it , wifi , google account etc..
2.5 - Copy SuperSU .zip file into sdcard directory
3.0 Custom Recovery and Root!! Finally ..
3.1 - After you completed step 2.5 power off your device and put it into bootloader mode and connect it to the computer.
3.2 - Copy "recovery-clockwork-touch-6.0.4.5-hammerhead.img" into that adb folder that we used before and rename it into "cwm.img"
3.3 - Shift + Right Click and select open command window here and type "fastboot flash recovery cwm.img"
3.4 - After the process is finished , go straight without rebooting into recovery mode by pressing the vol. down button 2 times and press power button to select the option to enter into the recovery mode.
3.5 - Select install zip > choose zip from sdcard > 0/ > and select supersu zip file , then install it! then go back and reboot the phone , IT WILL PROBABLY ASK YOU TO ROOT THE DEVICE , JUST PRESS NO AND LEAVE THE PHONE TO REBOOT !!
3.6 - Wait the phone to reboot and enjoy your rooted device!
3.7 - Press Thanks if i helped :good:
You've come a long way in a short time...
But your tutorial needs a proper proof-read. Did you walk through these steps yourself to make sure that the instructions are correct?
"SuperSU Beta 2.66" - why not the newest version?
"Usb Cable ,preferably micro-usb" - what other type will fit?
Step 1.0 You haven't mentioned in big red capital underlined letters "This will wipe your phone".
Step 1.4 "then you have to restart the phone normally" - why, since the next step is "Put your phone into bootloader mode"?
Step 2.1 "Put your phone into bootloader mode , power off the device and put it into bootloader mode" doesn't really make sense.
Step 2.4 You haven't mentioned in big red capital underlined letters "This will wipe your phone".
Step 3.2 says "rename it into "cwm.img"" and the following flash command refers to "zip".
Step 3.3 "type "flash recovery cwm.zip"" - wrong. "Fastboot flash recovery cwm.img".
But kudos for writing the tutorial and posting it as a help to others. Can you correct at least the errors so that new users don't get in a mess? And this time I suggest that you then walk through it step by step to be sure that you've got it all right.
Here is the complete guide for update to the latest firmware for those who have rooted phone:
[GUIDE] Update stock rooted/modified rom to last 6.0 Marshmallow w/o losing your data
I think it is sufficient and complete ...
dahawthorne said:
You've come a long way in a short time...
But your tutorial needs a proper proof-read. Did you walk through these steps yourself to make sure that the instructions are correct?
"SuperSU Beta 2.66" - why not the newest version?
"Usb Cable ,preferably micro-usb" - what other type will fit?
Step 1.0 You haven't mentioned in big red capital underlined letters "This will wipe your phone".
Step 1.4 "then you have to restart the phone normally" - why, since the next step is "Put your phone into bootloader mode"?
Step 2.1 "Put your phone into bootloader mode , power off the device and put it into bootloader mode" doesn't really make sense.
Step 2.4 You haven't mentioned in big red capital underlined letters "This will wipe your phone".
Step 3.2 says "rename it into "cwm.img"" and the following flash command refers to "zip".
Step 3.3 "type "flash recovery cwm.zip"" - wrong. "Fastboot flash recovery cwm.img".
But kudos for writing the tutorial and posting it as a help to others. Can you correct at least the errors so that new users don't get in a mess? And this time I suggest that you then walk through it step by step to be sure that you've got it all right.
Click to expand...
Click to collapse
Fixed!
Sent from my Nexus 5 using XDA-Developers mobile app
Really? I still see v2.66, "preferably micro-USB"... I stopped reading after that.
And you haven't confirmed that you've walked through the instructions to test that they now work.
Have you heard the saying "A little knowledge is a dangerous thing"?
And finally a general message - maybe I should add it to my signature:
(P.S. A plea to everyone in these forums. Don't reply to a simple 1-page thread post copying the entire post to which you're replying. I've already read the original - I don't need to read it again. Copy the original post only where necessary - e.g. if it's on a previous page. And even then copy only the point to which you're replying, not the entire post. The result will be clearer and shorter threads which will be more enjoyable to read.)
While we do appreciate your effort , the guide is incomplete and incoherent.
It might brick phones of new users.
Thread closed.
XDA Staff

I am having trouble finishing the rooting of my HTC Desire 626s

I have posted the instructions bellow that I have been following.
1. I got the bootloader unlocked.
2. The fastboot flash recovery went through ok
3. Is were the problem is. The instructions say after flashing the img in place
it is time to open Cynogen Mod menu and flash in the SuperSU file. The
instructions say to reboot to bootloader > boot to recovery mode then hit the
power button. At this point the Cyanogen Mod recovery mode menu is
supposed to come up. And then navigate to were the SuperSU.zip file is.
The problem is that the Cynogen Mod menu never comes up. All I get is
the following picture bellow. Then the phone reboots to normal operating mode.
The phone works 100% but it still isn't rooted. I don't know how to fix this.
The boot loader screens aren't the same as I have seen in video turtorials that I
have seen. I can post those screen captures as well if needed.
----------------------
Complete, detailed, step-by-step root procedure for HTC Desire 626s
Credits
- I did not come up with the procedure to root this phone - that work was done by member @hackvcs - I just put this guide together using the method that he developed (and using the custom recovery that he put together). Please give all credit to @hackvcs!!! Also, the links to the files below are not my links - they are links that other members provided (member who provided them is listed below).
Pre-requistes/Downloads:
- HTC Desire 626s phone
- Official TWRP Recovery Images: https://twrp.me/devices/htcdesire626s.html - Thanks @Captain_Throwback!
- Recovery images (custom CyanogenMod recovery and stock recovery image) - provided by @hackvcs (https://mega.nz/#!sp0wCThZ!MQVTq6y_8...hnaLRq8UiqLruQ)
-SuperSU binary .zip file - link provided by @mussio (https://download.chainfire.eu/696/SuperSU)
1. Unlock bootloader
- Enable "Unknown Sources" on your phone:
- Settings->Security: Check "Unknown Sources" checkbox
- Enable "Developer Mode" and enable "USB Debugging" and "OEM Unlocking" settings
- Settings->About->Software Information->More: Tap on "Build Number" 7 or more times until it tells you that Developer Mode is enabled.
- Settings->Developer Options: Enable "OEM Unlocking" and "USB Debugging" options.
- Actually unlock the bootloader by going to the HTCdev "Unlock Bootloader" website (www.htcdev.com/bootloader) and following the directions to unlock your bootloader. You will need to create an account on this website before being able to unlock the bootloader. I'm not going to provide step-by-step instructions for the bootloader unlock procedure since the HTCdev website already provides a step-by-step procedure. However, here are a few key notes regarding this procedure:
- The bootloader unlock procedure will reset your phone back to factory defaults. Make sure to backup anything that you need on the phone before unlocking the bootloader. You can optionally install the "HTC Sync Manager" (link provided on HTCdev website) to backup your phone before starting the process.
- In the "Select your device" box on the first screen of the bootloader unlock procedure, select "HTC Desire *" as the device type.
-If you are running the latest firmware on your phone, you do not need to worry about the phone update page when you first start the unlock process - just scroll to the bottom of the screen and click the "Proceed to Step 1" button to start the procedure.
- You will need to install Java if you don't already have it installed - there is a link to download Java right on the same page as the bootloader unlock procedure.
- You will need to download and install the fastboot binaries provided in step 4 of the bootloader unlock procedure. Unzip the fastboot.exe file included in the zip to a directory that you will use to root your HTC Desire 626s (I recommend creating a new directory for this - something like "C:\HTC626s") - later, you will also put the other files you need (recovery image file and SuperSU binary .zip file) into this same directory so that everything is in one place
2. Install custom recovery
Once you have successfully unlocked your bootloader, you will need to flash a custom recovery (TWRP recommended). This recovery image will replace the stock recovery on your phone and allow to flash the SuperSU binaries in the next step.
- Connect your phone to the PC via USB cable and let the PC install the necessary drivers for the phone.
- Power off phone
- Reboot the phone into "Download" mode:
- While holding the Volume Down button, press the device Power button. Continue to hold the Volume Down button until the phone boots into "Download" mode. To confirm that the bootloader is unlocked and that you are in "Download" mode, you should see the following two lines at the top of the screen:
- "hTC download mode"
- "*** Unlocked ***"
- Once you have confirmed that you are in download mode and the bootloader is unlocked, it's time to flash the custom recovery:
- Open a Command Prompt (aka DOS prompt) window and change to the directory where you put the fastboot.exe file. If using the recommended directory, you would type this command in the Command Prompt window to change to that directory:
- Type "cd \HTC626s" and press [ENTER]
- Make sure that the recovery file is in the same directory (type "DIR" and press [ENTER] to see the files in the current directory). If it is not in the current directory, put it there before continuing (via Windows Explorer). Also, I'd recommend renaming the recovery image to "recovery.img" - it makes typing the commands a little easier and reduces the likleyhood of a typo. So before continuing, you should have both "fastboot.exe" and "recovery.img" in the current directory.
-In the command prompt window, type "fastboot flash recovery recovery.img" and press [ENTER] - this will flash the custom recovery to your device.
3. Install SuperSU superuser binaries
Now that we have the bootloader unlocked and the CyanogenMod recovery installed, we are set to flash the SuperSU binaries to actually root the device. Before continuing, make sure that you have copied the SuperSU binary .zip file to the internal storage on your phone! Once we boot into CyanogenMod, you will have to navigate to this .zip file in order to install it. It MUST be on the *internal* phone storage (not on the MicroSD card).
- Reboot your phone into recovery:
- Power off the phone
- Power on the phone while holding the "Volume Down" button. Keep holding "Volume Down" until the phone boots into Download mode.
- Scroll down to "Reboot to bootloader" and press the power button.
- Once in bootloader mode, scroll down to "Boot to recovery mode" and press the power button. At this point, you should be in the CyanogenMod recovery menu.
- Scroll down to "Apply Update" and press the power button
- Scroll down to "Choose from internal storage" and press the power button
- Navigate to where you stored the SuperSU .zip file and select it - the SuperSU binaries will be installed on the phone.
-That should do it! You should now have a rooted HTC Desire 626s. Reboot the phone into Android and confirm that you have a SuperSU icon in your app drawer and then confirm that the device is actually rooted.

Root Lenovo Tab 10 TB-X103F

Root Lenovo Tab 10 TB-X103F (Tested)
1. activate developer options on the Tablet
2. enable Bootloader-Unlock on the Tablet
3. download and install ADB und fastboot
4. latest usb driver on your PC
5. download TWRP TWRP-3.0.2_TB-X103F-beta.img
https://forum.xda-developers.com/showpost.php?p=70228684&postcount=65
6. download SuperSu zip file
Steps:
1.) boot to fastboot -> shutdown your device -> press on/off + "+" Volumekey → device restarts to fastboot mode
2.) connect to your pc via usb cable
3.) start command shell (cmd) in the fastboot instalation folder on your PC and check for the device connection with the command:
"fastboot devices"
4.) do the unlocking
"fastboot oem unlock-go"
5.) boot TWRP image file in the command line, showing the pathway to the .img file (if not in the same folder):
fastboot boot TWRP-3.0.2_TB-X103F-beta.img
6.) Put SuperSu zip file in the device memory and flash SuperSu zip with TWRP, then restart the device. Done!!!!
Stock recovery remains
RooterLeopold said:
Root Lenovo Tab 10 TB-X103F (Tested)
1. activate developer options on the Tablet
2. enable Bootloader-Unlock on the Tablet
3. download and install ADB und fastboot
4. latest usb driver on your PC
5. download TWRP TWRP-3.0.2_TB-X103F-beta.img
https://forum.xda-developers.com/showpost.php?p=70228684&postcount=65
6. download SuperSu zip file
Steps:
1.) boot to fastboot -> shutdown your device -> press on/off + "+" Volumekey → device restarts to fastboot mode
2.) connect to your pc via usb cable
3.) start command shell (cmd) in the fastboot instalation folder on your PC and check for the device connection with the command:
"fastboot devices"
4.) do the unlocking
"fastboot oem unlock-go"
5.) boot TWRP image file in the command line, showing the pathway to the file:
TWRP-3.0.2_TB-X103F-beta.img
6.) Put SuperSu zip file in the device memory and flash SuperSu zip with TWRP, then restart the device. Done!!!!
Click to expand...
Click to collapse
I have done all the steps but For some reason twrp is not installed and i still have the stock recovery. Please help
That's because the above only boots TWRP to root but does not install it. To install TWRP, when in booted with TWRP, you need to transfer the TWRP img to the tablet storage and then install it while in TWRP.
it is important to show the pathway to the file TWRP-3.0.2_TB-X103F-beta.img in the command line, like:
C:\Users\Public\Documents\My Videos\TWRP-3.0.2_TB-X103F-beta.img
Sorry for this newbie question.
Which part of the above rooting steps is rooting my tablet, what is TWRP doing and why do I need to install the SuperSU app?
During my first try I didn't boot the TWRP image rather I flashed it. But that didn't help at all.
After booting the TWRP image I was able to flash the SuperSU app.
The stock recovery is still in use.
Thanks in advance.
Read the steps carefully and follow the steps, it is a tested successfull strategy. To get deep knowlege about the background processes, please read the threads elsewhere in Web.
Yow how do you enter Fastboot on the tablet and i haved tied avery button on the tablet and i dont see the fastboot option
Entering Fastboot on Lenovo TB-X103F tablet
ShottaDopey said:
Yow how do you enter Fastboot on the tablet and i haved tied avery button on the tablet and i dont see the fastboot option
Click to expand...
Click to collapse
Hi everyone. I just want to clarify something about this procedure There's a lot of people being confused on how to get into FASTBOOT on some things, and that's stopping them getting anywhere from the beginning.
The Lenovo TB-X103F tablet doesn't have a way of booting directly into FASTBOOT. Turning the tablet On while holding either volume key and the On button doesn't do it directly. . . . . Firstly, there's 3 buttons on the tablet, I call them VOL- VOL+ PWR (again, that's just to clarify things 100%)
here's what must be done (well it's this way on the 3 I have on my desk, so I assume all TB-X103F tablets are the same) . . . . .
1) Turn the tablet off completely.
2) Press & hold the VOL+ button (the middle of the 3 buttons).
3) Press & hold the PWR button, release the PWR button as soon as anything appears on screen - Keep holding VOL+ button.
4) After about 8 seconds the familiar green android lay down will appear. Then, your recovery menu will appear.
5) Release the VOL+ button anytime now.
6) Press either VOL button to select BOOTLOADER on the menu (Bootloader is the same as FASTBOOT on this menu, that's where the confusion lies for many users).
7) Got Bootloader selected? now press PWR and let the tablet reboot itself.
8) it will show the LENOVO logo, and appear to be stuck - it isn't It's in Fastboot mode.
9) Plug in your USB to PC cable, and it'll install appropriate drivers on the PC (hopefully eh?).
10) Once the drivers are installed, test it by getting a Command Prompt in your ADB/FASTBOOT folder on your PC . . . .
11) type the command FASTBOOT DEVICES It should show you that your device is connected, if it shows no devices then either it didn't install the drivers, or something
else is wrong (there's about 30 things that can have gone wrong here, too many to go through in this quick guide).
12) The tablet will stay in FASTBOOT/BOOTLOADER mode until you turn it off (or the battery goes flat lol). So stay calm, there's no rush
I've mentioned about there being no rush, because if you choose ADB connecting from the recovery menu, it disconnects automatically after about 5 minutes -
This is Important to know because it can disconnect while you're pushing/pulling files from the tablet, and cause really nasty problems. Bad design eh?
But we're in Fastboot mode, so nothing to worry about like that
Deleted
Successful root
It was hard, but I had finally had done it. I had figured it out it is easier just to go to the command prompt (I ran it under admin) and "cd C:/adb" (where you installed the adb fastboot software) while having the TWRP image file being placed there. I only wished that I had done it sooner. And for those who are new to the custom recovery it can be overwealming, but with patience and going through the files in the file explorer to find your main storage would lead you to the SuperSU file and successfully root your device.
I flashed TWRP...now what? I can't find any instructions on how to reboot into TWRP. I got into some sort of Chinese menu (PWR + VOL-) but I'm pretty sure this is the device test menu.
So I did the "fastboot oem unlock-go" command and adb said ok but my tablet just went to a black screen and won't turn on now and I'm not sure why. I also heard the Windows USB disconnect sound when i did it.
Would this work with the TB-X104F running 8.1?
Since a few months my tablet is stuck with the 'password changed, wait....' message. I had hoped that I could overcome this with the steps mentioned here. But unfortunately not
I can't start it anymore, so I'm not sure if it is in developers mode or not. Also, plugging the device in my mac didn't let it download the drivers.
Too bad, because when it was working it was a great tablet, now it's just a expensive drawer filler
SynGamer said:
I flashed TWRP...now what? I can't find any instructions on how to reboot into TWRP. I got into some sort of Chinese menu (PWR + VOL-) but I'm pretty sure this is the device test menu.
Click to expand...
Click to collapse
its the vol+ not - you need to press with the power button
Steridroid said:
I have done all the steps but For some reason twrp is not installed and i still have the stock recovery. Please help
Click to expand...
Click to collapse
so what exactly do i have to type at the command prompt to run twrp?,ive put the twrp img file in the same folder as the adb stuff.
3.) start command shell (cmd) in the fastboot instalation folder on your PC and check for the device connection with the command:
"fastboot devices"
fastboot shows notting
lenovo seems to have killed these tablets from the old lady next doors experience.. no wifi, no adb, no fastboot, no qualcomm, just unknown device, which loads NOTHING, no drivers work!!!

[GUIDE][Z2 FORCE XT1789-05] Bootloader/TWRP/Custom ROMs/Root/Dirty flashing/Unbrick

First, thanks to @Uzephi and @41rw4lk for helping me to use/recover my phone. Please, read and do not underestimate the guides: our phone is tricky! We have two system partitions (slot a and b) to allow stock updates on-the-fly. This complicates the normal flashing process and if you do not follow the steps, you may bootloop. Use these guides at your own risk!
Reading this page is a good beginning to understanding the A/B partitioning scheme and how Motorola Z2 Force works:
1) Our phone has A/B partitioning, so flashing Magisk/XPosed is different
2) It does not support Project Treble (faster stock updates)
3) It does not a recovery partition, so flashing TWRP is different
Note also that the RSD Lite from Motorola has issues with Windows 10 and you’ll need to manual flash firmware if you bootloop (see Process E below). Other way is directly flashing from Qualcomm EDL mode (Emergency Download Mode) from which users can perform various tasks like unbricking, unlock bootloader, and installation of any custom ROMs.
Right now, this guide has 5 parts (maybe we can dual boot our phone in the future). If you just want to use a rooted stock ROM, please, search for other guides here on xda. These guides were written (and tested) using a Motorola Z2 Force XT1789-05 phone (Brazil), although most of it should work for other variants if you download and use proper firmware files for these other phones. For other models, better if you follow Uzephi’s guide.
A. Opening bootloader
B. Preparing the phone to move into custom ROMs (AOSP) + TWRP recovery
C. Flashing a custom AOSP ROM + rooting
D. Dirty flashing AOSP ROM updates
E. Recovering from bricks or returning to stock
F. Oreo ROM features comparison table
If you want to move your Motorola Z2 Force to Project Treble ROMs, please, check this guide.
Here is a list of the ROMs that are waiting for you.
A. Opening bootloader
With enough battery in your phone (80%), you can follow the Motorola official guide which steps are:
1. Backup everything you need. Your phone will be reseted including the internal sdcard.
2. Into the phone, enable the Developer Options clicking 7 times over the version (About section in the Settings). Go to Developer Options, click the OEM unlock option to enable it. Also enable USB debugging.
3. Install the Motorola drivers in your computer, but (in my personal experience) not the Android SDK suggested in the official guide. Instead, extract these adb/fastboot files in a blank folder of your computer.
3.1) Do not use other adb/fastboot binaries: I cannot guarantee they will work.
3.2) You need to use a USB 2.0 port of your computer. Some users report that USB 3.0 will also work.
4. Open a command line window in the adb/fastboot folder (step 3), reboot the phone into the bootloader (see adb command below or press power + volume down buttons). Plug the phone on computer (see 3.2 above). Test the connection and run the command to get the code for unlocking:
Code:
adb reboot bootloader
fastboot devices
fastboot oem get_unlock_data
You’ll get:
Code:
(bootloader) Unlock data:
(bootloader) <code 1>
(bootloader) <code 2>
(bootloader) <code 3>
(bootloader) <code 4>
(bootloader) <code 5>
5. You’ll need to join 5 codes and, after logging into your own Motorola account, check by clicking the button “Can my device be unlocked” (step 6) by Motorola here. Read the text: your warranty will be void if you go ahead. Consider if you have enough knowledge, time and money to deal with a troublesome (or bricked) device. Although, it’s not that easy to hard brick this phone (see process E below).
Code:
<code 1><code 2><code 3><code 4><code 5>
6. You’ll receive back an email with the code to unlock your bootloader (if it is available for your model). Then you’ll run the following command:
Code:
fastboot oem unlock <code 1><code 2><code 3><code 4><code 5>
7. You’ll receive a warning that all your data would be erased (see step 1 above) and need to re-run the same command to confirm. At this point, your bootloader should be unlocked. As an Android restriction, each time you boot the phone you’ll see a warning. Do nothing, wait for 5 seconds and the phone boots normally. Some users bother with this warning and try to get rid of it.
B. Preparing the phone to move into custom ROMs (AOSP) + TWRP recovery
Requirements: unlocked bootloader (see guide A) and no security lock: disable PIN, gestures and fingerprinting (because TWRP cannot read the locked/cryptographed data of the phone). Enough battery in your phone (80%).
If you do not prepare your phone to custom ROMs and if you do not have both bootloaders of the phone in the same Android version of the ROM you’ll flash, you’ll hard brick the phone and lose also the access to the bootloader! You’ve been warned: follow the guide!
Note: if you hard brick, I suggest you be prepared to follow the Unbrick Qualcomm mobiles with Step-by-step guide or the Unbrick All Qualcomm Snapdragon’s from Qualcomm HS-USB QDLoader 9008 guide, but I never tested them myself. You can also use Qualcomm Flash Image Loader (QFIL) tool.
1. Backup everything you need. Your phone will be reset including the internal sdcard.
2. Into the phone, enable the Developer Options clicking 7 times over the version (About section in the Settings). Go to Developer Options and enable USB debugging.
3. Install the Motorola drivers and the adb/fastboot files.
3.1) do not use other adb/fastboot binaries: we cannot guarantee they will work.
3.2) you need to use a USB 2.0 port of your computer. Some users report that USB 3.0 will also work.
4. Download the firmware of the same Android major version of the future ROM you’ll install (Oreo for Oreo ROMs, for instance). When (and if) we move to Android P, most probably we will need to follow this guide again.
- Retail (XT1789-05) (Europe/Brazil).
- Other models (branded): ATT, Sprint, T-Mobile (TMO), USC, Verizon.
- Note: NPXS26 versions stand for Nougat and OPXS27 for Oreo. You do not need Nougat versions for anything.
5. Extract the zip contents to a blank folder in your computer.
6. Download the FlashAll_XT1789-05.zip file, extract the content and move all files to the same firmware folder (step 5 above). Be sure to overwrite any file (if needed).
7. Run the Preparation.bat file there to generate the flashfile.bat file that will send the commands to the phone. Credits: the original preparation files were from RootJunky (can be downloaded here) and include more options that we do not need for our purpose here. Also, it includes adb/fastboot binaries that could not work with our phone.
8. Reboot the phone into the bootloader (see adb command below or power + volume down buttons). Open a command line window in the firmware folder (step 5 above), test the connection and execute the flashfile.bat file generated on step 7.
Code:
adb devices
adb reboot bootloader
fastboot devices
flashfile.bat
Never ever unplug the device from the USB 2.0 port while flashing the firmware. This could cause a hard brick and your device will be dead.
9. There is a pause at the end. You should review if everything went fine (or even click on the menu of the command line window, select all and copy&paste the contents in a .txt file for further help/revision).
10. Reboot your phone into the system (ROM) and do a quick configuration (remember that everything will be deleted when you install TWRP further…).
11. Into the phone, enable the Developer Options clicking 7 times over the version (About section in the settings). Go to Developer Options and enable USB debugging.
12. Download both the .img and .zip file of the TWRP recovery from the official site. It's the same file for all models/variants of Z2 Force phone. Put the files into our firmware folder (step 5 above). Copy the .zip file to the phone internal card. Note: versions older than 3.2.2-2 does not support PIN/Password/Fingerprint, so disable them before proceed. Most probably, ROMs before July 20th, 2018 cannot be flashed in older TWRP.
13. Now boot (not flash) the TWRP .img file using a command line window in the same firmware folder (step 5 above):
Code:
adb devices
adb reboot bootloader
fastboot devices
fastboot boot <TWRP file name>.img
14. Only now that you’re inside TWRP temporarily flash the TWRP .zip file you’ve saved into the phone (step 12 above).
15. Reboot into TWRP (use the main reboot menu in TWRP).
16. Now, you should reboot again into bootloader: inside TWRP, go to Reboot menu and choose Bootloader.
17. Now you will wipe all user data via bootloader. This is necessary to use an AOSP ROM when you come from stock. Using a command line window in the same firmware folder of your computer (step 5 above), run the following commands:
Code:
fastboot devices
fastboot -w
18. Now you can reboot the phone into System using the buttons volume up/down to navigate and confirming with the Power button. You’ll be with stock ROM and TWRP. If you want to move to a custom AOSP ROM, do a quick configuration: into the phone, enable the Developer Options clicking 7 times over the version (About section in the settings). Go to Developer Options and enable USB debugging and go to the proper guide (Process C).
C. Flashing a custom AOSP ROM + rooting
1. Requirements:
1.1 Motorola drivers.
1.2 Our custom adb/fastboot files (others may not work!).
1.3 USB debugging enabled into the Developer Options.
1.4 If you're using TWRP older than 3.2.2-2, disable disable PIN/gestures/fingerprinting. Also, most probably, ROMs after July 20th, 2018 cannot be flashed in older TWRP.
1.5 An USB 2.0 port of your computer (some users report that USB 3.0 will also work).
1.6 Two Oreo bootloaders (process B above).
1.7 Permanent TWRP
1.8 Enough battery in your phone (80%).
2. Download the AOSP ROM you want and move the .zip files to the phone. Right now, we have:
2.1 Dirty Unicorns: no need for Gapps. Official and Weeklies can be dirty flashed interchangeably. RC has a different signature. Support on Google+ page. More about DU kernel.
2.2 Lineage OS 15.1. MindTheGapps needed. OpenGapps not compatible yet. XDA thread.
2.3 Mokee: Gapps needed. Take care: online guides assume that you already have an AOSP ROM, TWRP and rooted device.
Deprecated (?)
2.4 AOSiP: no need for Gapps. XDA thread.
2.5 Invictrix. Gapps are built in. XDA thread
3. Choose the root method and download the .zip files: Magisk (suggested) or LineageOS SU Addon. Move the .zip files to phone. Note: if you bootloop on Magisk, most probably you’re flashing a wrong/different version of Magisk or you did not reboot between flashing ROM/Gapps and Magisk. Note: SuperSu is deprecated.
4. Reboot into TWRP:
Code:
adb reboot recovery
Then flash the ROM. It will be flashed in two steps only in the “other” slot. We have two slots, A and B. Our phone can be upgraded on-the-fly because the update is always applied to the slot not booted, the “other” slot. Then, immediately, flash the .zip TWRP or you will lose it.
5. Go to Reboot menu of TWRP and reboot into bootloader. Then, in the folder with adb/fastboot binaries (see 1.2 above), you need to wipe data (including sdcard) with the following commands:
Code:
fastboot devices
fastboot -w
6. Now you need to reboot the phone into System using the buttons volume up/down and confirming with the Power button (or typing fastboot reboot into the command line windows). You’ll be with an AOSP ROM and TWRP.
7. Once into the phone, enable the Developer Options clicking 7 times over the version (About section in the settings). Go to Developer Options and enable USB debugging if you intend to dirty flash ROM updates.
8. Reboot into TWRP again, flash Magisk (your settings and modules will be preserved). Note: if you bootloop on Magisk, remember it is mandatory to reboot between ROM flash (step 4 above) and GApps/Addon flash due to verity/slot-swap logic.
9. A good place to read what is not working is in the section known problems of LineageOS.
D. Dirty flashing AOSP ROM updates
1. If you follow all the processes above, you can dirty flash updates because you have:
1.1 Motorola drivers installed.
1.2 Specific adb/fastboot files for our phone and an USB 2.0 port in a Windows computer (some users report that USB 3.0 will also work).
1.3 Unlocked bootloaders (Process A above).
1.4 Permanent TWRP running and TWRP .zip file placed inside your phone and ready to be flashed again.
1.5 An AOSP ROM already running.
1.6 Developer Options and USB debugging enabled.
1.7 If you're using TWRP older than 3.2.2-2, disable disable PIN/gestures/fingerprinting. Also, most probably, ROMs after July 20th, 2018 cannot be flashed in older TWRP.
1.8 Enough battery in your phone (80%)
2. Download your ROM .zip update, copy it into the phone sdcard and reboot your phone into TWRP. See download links here.
3. Within TWRP you should flash (install) things in the following order:
3.1 ROM update .zip file. Remember that, at this time, the update will be flashed int the other slot and inside phone you’ll have both the system before update (in the booted slot) and updated ROM in the other slot.
3.2 TWRP .zip file (step 1.4 above) once again (do not skip this step or you’ll bootloop!).
4. Reboot to System: if you skip this step, you’ll bootloop.
5. Reboot into TWRP again, flash Magisk (your settings and modules will be preserved) or LineageOS SU Addon .zip file. Note: if you bootloop on Magisk, most probably you’re flashing a wrong/different version of Magisk. I suggest v16.0 and, after you got rooted with 16.0, you can update. It is mandatory to reboot between ROM flash (step 4 above) and GApps/Addon flash due to verity/slot-swap logic.
Note: SuperSu is deprecated.
6. Wipe Dalvik/ART cache: go to Wipe menu of TWRP > Advanced Wipe > Dalvik/ART Cache only.
7. Reboot your phone into System (ROM) will use the “other” slot, the one with the updated ROM.
8. You can use XPosed installer app (and reboot).
9. Now you can add your PIN, fingerprint, gestures back until next flashing.
E. Recovering from soft bricks or returning to Stock
If you’re reading this is because you already unlock your bootloader (see guide A) and anything went wrong, but you still can boot your phone into bootloader. Plug your phone and get enough battery (even if you do not see any charging signal).
1. Install the Motorola drivers and the specific adb/fastboot files for our phone. Remember, follow the rules because our device is tricky!
1.1) Do not use other adb/fastboot binaries: we cannot guarantee they will work.
1.2) You need to use a USB 2.0 port of your computer (some users report that USB 3.0 will also work).
2. Download the latest firmware for your model:
- Retail (XT1789-05) (Europe/Brazil).
- Other models (branded): ATT, Sprint, T-Mobile (TMO), USC, Verizon.
- Note: NPXS26 versions stand for Nougat and OPXS27 for Oreo. You do not need Nougat versions for anything.
3. Extract the zip contents to a blank folder in your computer.
4. Download the FlashAll_XT1789-05.zip file (it should work for other Motorola Z2 Force models as well), extract the content and move all files to the same firmware folder (step 2 above). Be sure to overwrite any file (if needed).
5. Run the Preparation.bat file there to generate the flashfile.bat file that will send the commands to the phone. Credits: the original preparation files were from RootJunky (can be downloaded here) and include more options that we do not need for our purpose here. Also, it includes adb/fastboot binaries that could not work with our phone.
6. Reboot the phone into the bootloader (see adb command below or power + volume down). Open a command line window in the firmware folder (step 5 above), test the connection and execute the flashfile.bat file generated on step 5.
Code:
adb reboot bootloader
fastboot devices
flashfile.bat
Never ever unplug the device from the USB 2.0 port while flashing the firmware. This could cause a hard brick and your device will be dead.
7. There is a pause at the end. You should review if everything went fine (or even click on the menu of the command line window, select all and copy&paste the contents in a .txt file for further help/revision).
8. Reboot your phone into system (ROM) and do not forget, later, to enable the Developer Options and USB debugging again.
Note: if you hard brick, I suggest you be prepared to follow the Unbrick Qualcomm mobiles with Step-by-step guide or the Unbrick All Qualcomm Snapdragon’s from Qualcomm HS-USB QDLoader 9008 guide, but I never tested them myself. You can also use Qualcomm Flash Image Loader (QFIL) tool. Maybe these Latest 2017 Qualcomm Diag QD-Loader Windows 10 Drivers signed will help you.
F. Oreo ROM features comparison
This is a table for Oreo ROM features comparison for Motorola Z2 Force - nash.
I would like to receive feedback and updates from the users, as I can't keep changing from one ROM to another and they get new features, updates, improvements, etc.
I consider Lineage OS 15.1 our stock ROM regarding to customization. So, it's not listed there.
Legend:
Code:
X = Feature present
XX = ROM excels in this particular feature (in my opinion).
If you want to move your Motorola Z2 Force to Project Treble ROMs, please, check this guide.
Here is a list of the ROMs that are waiting for you.
I came back to stock ROM. the problem is that it gets stuck in the initial configurations of the android trying to find a wifi network, to continue the configuration, without success, because I see in fastboot that the baseband is unknown, and I also can not install any rom, or recovery image because I have the following message in fastboot: FLASHING_LOCKED. and since I can not get past the initial android settings, I also can not unlock the developer options to enable OEM unlocking. now I'm standing in a rom that does not leave the initial configuration, it does not connect to any network and a fastboot that does not let me install anything. and I also tried the recovery mode and even tried to install an update via sideload, without success. I do not know what else to do if you can give me a light.
renanjones said:
I came back to stock ROM. the problem is that it gets stuck in the initial configurations of the android trying to find a wifi network, to continue the configuration, without success, because I see in fastboot that the baseband is unknown, and I also can not install any rom, or recovery image because I have the following message in fastboot: FLASHING_LOCKED. and since I can not get past the initial android settings, I also can not unlock the developer options to enable OEM unlocking. now I'm standing in a rom that does not leave the initial configuration, it does not connect to any network and a fastboot that does not let me install anything. and I also tried the recovery mode and even tried to install an update via sideload, without success. I do not know what else to do if you can give me a light.
Click to expand...
Click to collapse
I see two possible scenarios:
1. Your bootloader is locked (yet) (see guide A).
2. Your in a "false locked" situation that, maybe, could be solved by resetting data via recovery or in bootloader (with the command: fastboot -w).
Great tutorial, but I did not get 4g in any of the roms, only 3g
Gutto said:
Great tutorial, but I did not get 4g in any of the roms, only 3g
Click to expand...
Click to collapse
I got 4G in any ROM... AOSIP, DU or Invictrix...
Are you using a branded (carrier) phone? If not, maybe you should return to stock (to recover any changes on partitions).
Technical said:
I got 4G in any ROM... AOSIP, DU or Invictrix...
Are you using a branded (carrier) phone? If not, maybe you should return to stock (to recover any changes on partitions).
Click to expand...
Click to collapse
My cell phone and Sprint, I did every process that you indicated, but not 4G
So I followed the instructions as noted, as soon as I got to the root installation part, it started throwing a "cannot mount /system" error. I thought a reboot would solve the issue, but now I think I'm bricked. Can't boot into anything, all I can do is plug my phone in and listen to it keep disconnecting every 10 seconds or so. The phone had booted up fine prior to starting the installation process, and I don't see how just a bad ROM install is preventing me from getting into either bootloader or recovery. Any advice?
For clarity, i'm unable to use QBOOT to do anything since after it hits the "powered on" state I'm assuming it's in, it just resets and does the same thing over and over again
shalpp said:
So I followed the instructions as noted, as soon as I got to the root installation part, it started throwing a "cannot mount /system" error. I thought a reboot would solve the issue, but now I think I'm bricked. Can't boot into anything, all I can do is plug my phone in and listen to it keep disconnecting every 10 seconds or so. The phone had booted up fine prior to starting the installation process, and I don't see how just a bad ROM install is preventing me from getting into either bootloader or recovery. Any advice?
For clarity, i'm unable to use QBOOT to do anything since after it hits the "powered on" state I'm assuming it's in, it just resets and does the same thing over and over again
Click to expand...
Click to collapse
Have you tried holding vol dwn + pwr btn to force it into bootloader mode? If you can get there, then you can use the keys to get to recovery and try a factory reset. If that don't work, go back to bootloader mode and try flashing back to stock. Might double check that the battery has plenty of charge.
41rw4lk said:
Have you tried holding vol dwn + pwr btn to force it into bootloader mode? If you can get there, then you can use the keys to get to recovery and try a factory reset. If that don't work, go back to bootloader mode and try flashing back to stock. Might double check that the battery has plenty of charge.
Click to expand...
Click to collapse
I'm unable to get the phone out of qboot (or whatever it's called). I've tried using a blank-flash but all that happens is device restarts as made evident by the "device disconnect" sound playing every few seconds. The phone had around 80% when I started the process. Should I just let it die and try loading into BL after a few hours of this thing power cycling itself?
shalpp said:
I'm unable to get the phone out of qboot (or whatever it's called). I've tried using a blank-flash but all that happens is device restarts as made evident by the "device disconnect" sound playing every few seconds. The phone had around 80% when I started the process. Should I just let it die and try loading into BL after a few hours of this thing power cycling itself?
Click to expand...
Click to collapse
It's weird that it is power cycling like that. Have you tired unplugging the phone and booting? Whether it's recovery, bootloader, qboot; you need to get to one place or the other if possible because power cycling won't allow you to do anything. If you can get a stable boot in any mode I would suggest moving your cable to another port so any corruptions aren't a factor anymore. I don't think a drain will resolve anything, but I've never heard anyone mention power cycling like that.
41rw4lk said:
It's weird that it is power cycling like that. Have you tired unplugging the phone and booting? Whether it's recovery, bootloader, qboot; you need to get to one place or the other if possible because power cycling won't allow you to do anything. If you can get a stable boot in any mode I would suggest moving your cable to another port so any corruptions aren't a factor anymore. I don't think a drain will resolve anything, but I've never heard anyone mention power cycling like that.
Click to expand...
Click to collapse
Power cycling is just an assumption since regardless of whatever port its in it keeps an endless loop of connect, disconnect". Basically after rebooting the device after attempting to install the ROM is when it went black and started not doing anything other than connect, disconnect
shalpp said:
Power cycling is just an assumption since regardless of whatever port its in it keeps an endless loop of connect, disconnect". Basically after rebooting the device after attempting to install the ROM is when it went black and started not doing anything other than connect, disconnect
Click to expand...
Click to collapse
When it's trying to connect do you have a pop up on your pc showing what it sees the phone as? Does it say nash fastboot, or 9008, Z2? That might give some idea of where it's failing.
41rw4lk said:
When it's trying to connect do you have a pop up on your pc showing what it sees the phone as? Does it say nash fastboot, or 9008, Z2? That might give some idea of where it's failing.
Click to expand...
Click to collapse
It appears as Qualcomm 9008
It only starts the loop after starting a blankflash. That's about the only response I get out of the device, otherwise it does absolutely nothing, no combination of buttons do anything
Edit: Confirmed connect/disconnect on another machine with the same driver configuration

Categories

Resources