[RECOVERY][TWRP] Unofficial TWRP 3.0.3 For ZTE Nubia Z11 Mini - Miscellaneous Android Development

Unofficial TWRP For ZTE Nubia Z11 Mini​
This is vanilla TWRP and doesn't have custom "root menus" like the Russian and Chinese versions that are available.
This is currently using a prebuilt kernel and device tree blob (dt.img) extracted from my device.
The official kernel source is https://github.com/ztemt/NX529J_L_kernel but it doesn't compile with this config yet.
If you want to compile the exact same version as the attached file then you can use the manifest inside the zip to reproduce the build.
The source and build instructions are here https://github.com/opticyclic/android_device_nubia_nx529j
Instructions
Please test before replacing your stock recovery.
Load it temporarily by using fastboot boot instead of fastboot flash.
Code:
adb reboot bootloader
sudo fastboot boot recovery.img
If you are happy with it you can replace your existing recovery with
Code:
adb reboot bootloader
sudo fastboot flash recovery.img
If fastboot doesn't recognise your device then you can try forcing the vendor id like this
Code:
adb reboot bootloader
sudo fastboot -i 0x19d2 boot recovery.img
Changelog
2017-03-07
Added External SDCard as a mountable/wipeable option
Upgraded from 3.0.2.0 to 3.0.3.0

Glad to see you got TWRP up and running :good:.

hi opticyclic,
thanks for the twrp. i installed the recovery but i have not access to the external sdcard in the backup or restore menu.
please have a view on this issue.
thanks dreas

dreas74 said:
hi opticyclic,
thanks for the twrp. i installed the recovery but i have not access to the external sdcard in the backup or restore menu.
please have a view on this issue.
thanks dreas
Click to expand...
Click to collapse
Are you using TWRP to backup your external sdcard?
Or do you just need access to save the system backup to the external sdcard?

opticyclic said:
Are you using TWRP to backup your external sdcard?
Or do you just need access to save the system backup to the external sdcard?
Click to expand...
Click to collapse
hi,
the second. i will backup to the external sd and restore from the external sd.
regards
dreas

dreas74 said:
hi,
the second. i will backup to the external sd and restore from the external sd.
regards
dreas
Click to expand...
Click to collapse
Original post is updated with a newer version.

opticyclic said:
Original post is updated with a newer version.
Click to expand...
Click to collapse
hi opticyclic,
i will try it. thanks in advance.
dreas

Small problem with understanding
opticyclic said:
Unofficial TWRP For ZTE Nubia Z11 Mini​
This is vanilla TWRP and doesn't have custom "root menus" like the Russian and Chinese versions that are available.......
[/LIST]
Click to expand...
Click to collapse
Hi,
I'm new here and my problem is, that I don't know how or where could write the code like in instructions. I just rooted and flashed many roms on many phones, but Nubia is kind of high level for me and this is only one useful topic about. So I'm windows 10 user but I have Bash too, like in Linux.
Sorry guys, already SOLVED

Device not recognised
I was trying to install TWRP on my NX529J.
"Adb reboot bootloader command" is working but when i try to install TWRP with command "Fastboot flash recovery recovery.img", it dosent work.
It shows "waiting for devices"
Tried " fastboot devices" NO device there
I tried updating all drivers installed fastboot drivers and zte drivers but still no device found.
In developer settings OEM unlock, USB debugging is on.
and adb mode is also on with *#7678#.
Plz Help.

teji007 said:
I was trying to install TWRP on my NX529J.
"Adb reboot bootloader command" is working but when i try to install TWRP with command "Fastboot flash recovery recovery.img", it dosent work.
It shows "waiting for devices"
Tried " fastboot devices" NO device there
I tried updating all drivers installed fastboot drivers and zte drivers but still no device found.
In developer settings OEM unlock, USB debugging is on.
and adb mode is also on with *#7678#.
Plz Help.
Click to expand...
Click to collapse
Read the first post and follow the instructions properly.
Hint : use [sudo fastboot -i 0x19d2 boot recovery.img]

Noob here... I get 'adb' is not recognized as an internal file or external command, operable program or batch file... What am I doing wrong? I typed the command as said.

opticyclic said:
Unofficial TWRP For ZTE Nubia Z11 Mini​
This is vanilla TWRP and doesn't have custom "root menus" like the Russian and Chinese versions that are available.
This is currently using a prebuilt kernel and device tree blob (dt.img) extracted from my device.
The official kernel source is https://github.com/ztemt/NX529J_L_kernel but it doesn't compile with this config yet.
If you want to compile the exact same version as the attached file then you can use the manifest inside the zip to reproduce the build.
The source and build instructions are here https://github.com/opticyclic/android_device_nubia_nx529j
Instructions
Please test before replacing your stock recovery.
Load it temporarily by using fastboot boot instead of fastboot flash.
Code:
adb reboot bootloader
sudo fastboot boot recovery.img
If you are happy with it you can replace your existing recovery with
Code:
adb reboot bootloader
sudo fastboot flash recovery.img
If fastboot doesn't recognise your device then you can try forcing the vendor id like this
Code:
adb reboot bootloader
sudo fastboot -i 0x19d2 boot recovery.img
Changelog
2017-03-07
Added External SDCard as a mountable/wipeable option
Upgraded from 3.0.2.0 to 3.0.3.0
Click to expand...
Click to collapse
My Nubia z11 mini is not enter into fastboot mode , it recognize only QHSUSB_Bulk mode in PC device manager and with a blank screen , please help me how to flash this device,
and i have tried through QFIL tool but always i am getting sahara error ,
View attachment 4753032

Related

How to root Miui 8

Guys I'm on global Miui 8 Global 6.7.5 beta. I tried to root and install twrp using mi4i rooting toolkit version 4. But it doesn't work. Previously on miui6 and miui7, I can root and install twrp using the mi4i toolkitV4. But now it doesn't work anymore when I upgraded to miui8.
Does anyone knows how to root miui8 global 6.7.5 beta?
Rooting
First you have to enable developer options. Then in developer options under debugging section turn on USB debugging and Fastboot Mode.
Then download TWRP. Rename it to twrp.img for ease.
https://dl.twrp.me/ferrari/twrp-3.0.2-0-ferrari.img.html
Install fastboot and adb drivers.
http://forum.xda-developers.com/showthread.php?p=48915118#post48915118
Download root zip file, and place it on internal storage.
https://download.chainfire.eu/696/supersu/
Open the folder on PC where twrp image is downloaded. Hold shift and right click on the window(not the file or folder). Then select open command window here. CMD will open.
Long press power button and volume down to boot into fastboot mode, connect it by USB.
Type in CMD: fastboot devices
If it shows a device is connected you are good to go! If not verify if the drivers are properly installed.
To just root and preserve Mi Recovery for OTA:
Type in CMD: fastboot boot twrp.img
this will boot into twrp to flash supersu.zip file and reboot.
To flash TWRP permanently:
type: fastboot flash recovery twrp.img
then reboot by long pressing power button then open TWRP by power button + vol up. Then flash supersu.zip
Thanks
Sent from my Mi 4i using XDA-Developers mobile app
Worked?
Did it work?
Sitaa said:
Did it work?
Click to expand...
Click to collapse
Yape!
Thanks for the article - will update and root tonight
The process:
update via OTA (hate this as my 16GB is insufficient - love all things M1 but hate the lack of external SD capability)
Reboots - it enters my old TWRP, and auto install update
Once it installs, and auto powerup, I turn on "fastboot mode" (developer option was already on) - a pain in the a55 due to the security prompt...
Power-off the device. Reboot to fastboot mode as per instruction above
I chose to retain M1 recovery, and so fastboot into TWRP to install SU.
Reboot
Tested with titanium backup - root works!
Thanks!!!
Love the new notification drawer, and memory management...
can i root my mi4i without instal twrp and still habe ota update if my phone rooted ?
thanks
Yes.
The OP posted 2 methods for using twrp near the end of his post.
For v7++, I could always ota despite having twrp onboard, instead of mi recovery. Not sure about this recent v8. Hence I used the first method above, preserving my recovery. Also, from my history of use. I never use twrp or recovery anymore, after rooting. No point having recovery backup as mi issues updates ofyen. I use titanium for backup of third party software only. Even then this is redundant since ota preserves software.
sharan.nyn said:
First you have to enable developer options. Then in developer options under debugging section turn on USB debugging and Fastboot Mode.
Then download TWRP. Rename it to twrp.img for ease.
https://dl.twrp.me/ferrari/twrp-3.0.2-0-ferrari.img.html
Install fastboot and adb drivers.
http://forum.xda-developers.com/showthread.php?p=48915118#post48915118
Download root zip file, and place it on internal storage.
https://download.chainfire.eu/696/supersu/
Open the folder on PC where twrp image is downloaded. Hold shift and right click on the window(not the file or folder). Then select open command window here. CMD will open.
Long press power button and volume down to boot into fastboot mode, connect it by USB.
Type in CMD: fastboot devices
If it shows a device is connected you are good to go! If not verify if the drivers are properly installed.
To just root and preserve Mi Recovery for OTA:
Type in CMD: fastboot boot twrp.img
this will boot into twrp to flash supersu.zip file and reboot.
To flash TWRP permanently:
type: fastboot flash recovery twrp.img
then reboot by long pressing power button then open TWRP by power button + vol up. Then flash supersu.zip
Click to expand...
Click to collapse
i followed the procedure, but it shows fastboot boot twrp.img can not be found
vijayk12 said:
i followed the procedure, but it shows fastboot boot twrp.img can not be found
Click to expand...
Click to collapse
Are you sure you installed ADB Fastboot drivers? and make sure you 'cd' to the directory where twrp.img is located or else it will say the file is not found.
You need to put the both fastboot and image files together in the same directory. Then open a MS prompt in this directory, and type the syntax to flash.
twrp not found??
sharan.nyn said:
Are you sure you installed ADB Fastboot drivers? and make sure you 'cd' to the directory where twrp.img is located or else it will say the file is not found.
Click to expand...
Click to collapse
twrp.img not found. now i have installed the adb drivers and verified as well by the "fastboot devices" command. now when i go to the this "fastboot devices twrp.img" command it says twrp not found. what to do?
Found the solution
monishalria said:
twrp.img not found. now i have installed the adb drivers and verified as well by the "fastboot devices" command. now when i go to the this "fastboot devices twrp.img" command it says twrp not found. what to do?
Click to expand...
Click to collapse
Rename the TWRP downloaded file to 'twrp' not 'twrp.img' as mention. and in command write ' fastboot boot twrp.img' as the downloaded file is already img i did it and worked for me.
Hi,
I manage to flash TWRP (i.e. sending recover =OKAY & writing recovery= OKAY).
Yet I could not manage to reboot by long pressing power button then open TWRP by power button + vol up.
Someone can help me?
Thank you in advance
sharan.nyn said:
First you have to enable developer options. Then in developer options under debugging section turn on USB debugging and Fastboot Mode.
Then download TWRP. Rename it to twrp.img for ease.
https://dl.twrp.me/ferrari/twrp-3.0.2-0-ferrari.img.html
Install fastboot and adb drivers.
http://forum.xda-developers.com/showthread.php?p=48915118#post48915118
Download root zip file, and place it on internal storage.
https://download.chainfire.eu/696/supersu/
Open the folder on PC where twrp image is downloaded. Hold shift and right click on the window(not the file or folder). Then select open command window here. CMD will open.
Long press power button and volume down to boot into fastboot mode, connect it by USB.
Type in CMD: fastboot devices
If it shows a device is connected you are good to go! If not verify if the drivers are properly installed.
To just root and preserve Mi Recovery for OTA:
Type in CMD: fastboot boot twrp.img
this will boot into twrp to flash supersu.zip file and reboot.
To flash TWRP permanently:
type: fastboot flash recovery twrp.img
then reboot by long pressing power button then open TWRP by power button + vol up. Then flash supersu.zip
Click to expand...
Click to collapse
Ia these steps can root my mi4i miui 8.0.1.0 global stable too?
farid0019 said:
Ia these steps can root my mi4i miui 8.0.1.0 global stable too?
Click to expand...
Click to collapse
Yeah of course it will work
same problem twrp.img
sharan.nyn said:
Are you sure you installed ADB Fastboot drivers? and make sure you 'cd' to the directory where twrp.img is located or else it will say the file is not found.
Click to expand...
Click to collapse
hey im facing the same problem that no such file or directory. U said cd to the directory. how do you do it. Please can u be specific. i dont know how to do it
zaid siddique said:
hey im facing the same problem that no such file or directory. U said cd to the directory. how do you do it. Please can u be specific. i dont know how to do it
Click to expand...
Click to collapse
https://www.google.co.in/amp/m.wikihow.com/Change-Directories-in-Command-Prompt?amp=1
Use this guide.
Tks for this great Rooting guid and twrp install on my mi4 \w/

Acer Predator 8 TWRP 3.0.2

TWRP 3.0.2 for Acer Predator 8 ported by Ruben. - If you like my work please donate here, it will also give me a boost to make more things for this device : https://www.paypal.me/RubenCraveiro
----------- -----------
IMPORTANT NOTE ABOUT ROOTING AND UNLOCKING BOOTLOADER:
After flashing TWRP 3.0.2, use the SuperSU 2.46 flashable zip, do NOT use latest version or will result in a bootloop. Good Luck and have fun with rooting. Unlocking bootloader will delete all your data, so please make a backup first. Thank you.
----------- -----------
CREDITS
And also, before anything i would like to say thanks to @arjaylzo for telling me the name of a device with TWRP which helped making this update possible.
REQUIREMENTS
1- Fastboot/ADB Drivers and ADB folder
For drivers: http://adbdriver.com - Download ADB Driver Installer (universal) from the website, extract it, connect device it should detect device(if not, enable USB Debugging and reconnect), and press install, it should install drivers.
For ADB Folder: download this and extract to your main drive(C:/): https://goo.gl/ZTrfBb
2- Unlocked Bootloader (you need requirement 1 to do this)
Instructions for Unlocking bootloader: Go on settings, about device, press build version several times till it says your a developer, go back to settings, press Developer Options, and enable OEM Unlocking. Power off, then press at same time Power and Vol+ button, then connect to pc and open a cmd and write cd c:\\adb and write fastboot oem unlock, then accept the prompt it will give on tablet, and follow the rest of the steps.
----------- -----------
New TWRP bugfix update! Now you can flash stock rom on TWRP without bricking! Download Page updated!
----------- -----------
BUGS:
1- adb shell command needs to be sent before system partition is mounted or it will give an error, after doing adb shell you can mount system and do all the modifications you need.
2- You cant flash any img on twrp it gives an error, im trying to fix.
3- Backups do work, but everytime twrp restarts, the device name seems to change (which means that on /TWRP/BACKUPS/devicename/backupsinside/ changes every reboot so you have to go get the backup inside the old devicename folder and put on the new devicename folder).
----------- ADITIONAL NOTES -----------
Im leaving an unsecured boot image because system seems not want to boot android if anything seems changed. So please if system does not boot after flashing twrp/rooting, flash the unsecured boot img on fastboot
----------- -----------
Steps TO INSTALL TWRP AND ROOT
1. Download and extract the files: https://drive.google.com/file/d/0BxzG5iupOOSKNTdlRC1Wd0VmTlk/view?usp=drivesdk
2. Power off the tablet.
3. Enter fastboot mode by pressing the power button while holding down Vol -
4. Open up command prompt and navigate to the directory where fastboot.exe is located.
5. Pass the following commands:
fastboot flash boot unsecuredboot.img
fastboot flash recovery TWRP.img
6. Reboot into recovery (TWRP) and install SuperSU v2.46.zip
----------- -----------
Acer Predator 8 Support website(sourcecode, manuals, drivers, stockrom):

http://www.acer.com/ac/en/US/content/support-product/6400?b=1
----------- -----------
SCREENSHOTS:
http://imgur.com/s7CgJPR
I stuck at step 4.
is this the directory where fastboot.exe is located -> C:\adb... I have 4 files there and 1 of them is named fastboot.
Also the files i downloaded and extracted from step 1 , do i need to put them in my device or they need to stay on my pc.
goleoldark said:
I stuck at step 4.
is this the directory where fastboot.exe is located -> C:\adb... I have 4 files there and 1 of them is named fastboot.
Also the files i downloaded and extracted from step 1 , do i need to put them in my device or they need to stay on my pc.
Click to expand...
Click to collapse
C:\adb is where my adb and fastboot commands are.. on the downloaded files from Step 1 only the SuperSU zip is needed on the tablet so that you can flash it later on with twrp, the rest you leave on pc and use fastboot to flash TWRP, unsecured boot image, etc...
Ruben Craveiro said:
C:\adb is where my adb and fastboot commands are.. on the downloaded files from Step 1 only the SuperSU zip is needed on the tablet so that you can flash it later on with twrp, the rest you leave on pc and use fastboot to flash TWRP, unsecured boot image, etc...
Click to expand...
Click to collapse
Ok so in "C:\adb" i put all files i downloaded from step 1 then I opened cmd in that folder , then i typed "fastboot flash boot unsecboot.img" and it said that i cant load or open unsecboot.img
Any idea why or where is my mistake ????
goleoldark said:
Ok so in "C:\adb" i put all files i downloaded from step 1 then I opened cmd in that folder , then i typed "fastboot flash boot unsecboot.img" and it said that i cant load or open unsecboot.img
Any idea why or where is my mistake ????
Click to expand...
Click to collapse
make sure you didnt put a folder inside the adb folder instead of the actual file and make sure your writing the right name of the file..
goleoldark said:
Ok so in "C:\adb" i put all files i downloaded from step 1 then I opened cmd in that folder , then i typed "fastboot flash boot unsecboot.img" and it said that i cant load or open unsecboot.img
Any idea why or where is my mistake ????
Click to expand...
Click to collapse
also its not unsecboot, the name i added on this thread was just so it would be faster, the name is unsecuredboot.img and not unsecboot.img i guess ill have to edit that in order for people following the tutorial by line dont make these mistakes..
how do i flash the stock rom came from Acer Predator 8 Product Support Page.
can i just flash this Android 5.1 Lollipop Image via TWRP???
TIA
xdadevelopers13 said:
how do i flash the stock rom came from Acer Predator 8 Product Support Page.
can i just flash this Android 5.1 Lollipop Image via TWRP???
TIA
Click to expand...
Click to collapse
yes
thanks. will i have to flash the stockboot.img and P8AcerRecovery.img via fastboot?
tried flashing the stock rom via TWRP but to no avail.
still cant pass the boot logo
xdadevelopers13 said:
thanks. will i have to flash the stockboot.img and P8AcerRecovery.img via fastboot?
tried flashing the stock rom via TWRP but to no avail.
still cant pass the boot logo
Click to expand...
Click to collapse
If you flash stock rom, i think you have to reinstall stock recovery, the rom itself already brings stock boot.. after flashing stock recovery it should boot since no modifications have happend
Wow good job! Now i have a recovery where i can flash my custom rom for the Predator 8.
p8tgames said:
Wow good job! Now i have a recovery where i can flash my custom rom for the Predator 8.
Click to expand...
Click to collapse
no custom roms yet
How to enter the command ?
Hi i am not so sure how to execute those info in my head and act on it so can anyone teach me ? how to root my Predator 8 GT-810 Android 5.1
i saw the instruction i dk how do i Unlock Bootloader (Fastboot) i search all over google and i dont really got the solution to the question so anyone can teach me ? and "4. Open up command prompt and navigate to the directory where fastboot.exe is located." do i extract the whole file i downloaded into my Acer predator 8 or ?... im stupid sorry ...
ZaineJJ said:
Hi i am not so sure how to execute those info in my head and act on it so can anyone teach me ? how to root my Predator 8 GT-810 Android 5.1
i saw the instruction i dk how do i Unlock Bootloader (Fastboot) i search all over google and i dont really got the solution to the question so anyone can teach me ? and "4. Open up command prompt and navigate to the directory where fastboot.exe is located." do i extract the whole file i downloaded into my Acer predator 8 or ?... im stupid sorry ...
Click to expand...
Click to collapse
On step 4 You need the fastboot files, (adb & fastboot) just search how to install adb and fastboot drivers, choose the directory where to install them and place the needed files inside that folder and open a command prompt on that folder so you can flash the files.
Ruben Craveiro said:
On step 4 You need the fastboot files, (adb & fastboot) just search how to install adb and fastboot drivers, choose the directory where to install them and place the needed files inside that folder and open a command prompt on that folder so you can flash the files.
Click to expand...
Click to collapse
ir I tried finding how to install fastboot driver on Google all showed me downloads links must do survey or download or purchase item to unlock the download files ... So I don't trust it so I kept searching "how to unlock fastboot Acer predator 8"
So for ADB I can search on Google and install it on my tablet ?
ZaineJJ said:
ir I tried finding how to install fastboot driver on Google all showed me downloads links must do survey or download or purchase item to unlock the download files ... So I don't trust it so I kept searching "how to unlock fastboot Acer predator 8"
So for ADB I can search on Google and install it on my tablet ?
Click to expand...
Click to collapse
no, Search how to unlock bootloader, it should show the method that works for most devices and give necessary drivers..
Ruben Craveiro said:
no, Search how to unlock bootloader, it should show the method that works for most devices and give necessary drivers..
Click to expand...
Click to collapse
http://gsmusbdriver.com/acer-predator-8
Does this work ?
Or
https://www.howtogeek.com/239798/how-to-unlock-your-android-phones-bootloader-the-official-way/
ZaineJJ said:
http://gsmusbdriver.com/acer-predator-8
Does this work ?
Or
https://www.howtogeek.com/239798/how-to-unlock-your-android-phones-bootloader-the-official-way/
Click to expand...
Click to collapse
Yes, and after you unlock the bootloader, you put the necessary files in adb folder and flash them according to the stepts
Ruben Craveiro said:
C:\adb is where my adb and fastboot commands are.. on the downloaded files from Step 1 only the SuperSU zip is needed on the tablet so that you can flash it later on with twrp, the rest you leave on pc and use fastboot to flash TWRP, unsecured boot image, etc...
Click to expand...
Click to collapse
Hi Ruben Craveiro is this the correct way ? i plugin usb cable into Predator 8 but it says its waiting for device is it the correct way ? after typing those Commands i go over to recovery mode to install SU from there then restart and its rooted ?
ZaineJJ said:
Hi Ruben Craveiro is this the correct way ? i plugin usb cable into Predator 8 but it says its waiting for device is it the correct way ? after typing those Commands i go over to recovery mode to install SU from there then restart and its rooted ?
Click to expand...
Click to collapse
That means adb drivers arent corrently installed, but i can see you have the folder with adb, all you have to now is download this(drivers): http://dl.adbdriver.com/upload/adbdriver.zip
Extract and open the software eith the tablet plugged in, it should tell of drivers is installer properly or not, and if not you can install, after installing it should work on the cmd the commands..

[TWRP][FAIL TO FLASH] TWRP.img file don't work

Hello!
I'm stuck trying to flash TWRP into my devices and hoping now to maybe get some help figuring this out.
My devices is
LG Nexus 5, D821, Android 6.0.1
OnePlus 3T, A3003, OxygenOS 5.0, Android 8.0.0
I wanting to flah them both with TWRP Recovery, I've followed the tutorials for each phone from the links below
LG Nexus 5
https://forum.xda-developers.com/go...ide-nexus-5-how-to-unlock-bootloader-t2507905
OnePlus 3T
http://www.teamandroid.com/2017/02/24/install-oneplus-3t-twrp-3-0-3-recovery-complete-guide/2/
I have installed the android studio for my PC and downloaded the neccesary tools to make this work as "Android SDK Platform-Tools", "Android SDK Tools", "Google USB Driver". I have unlocked the bootloader on both phones and downloaded the latest TWRP.img file for each phone from
LG Nexus 5
https://eu.dl.twrp.me/hammerhead/
OnePlus 3T
https://eu.dl.twrp.me/oneplus3t/
I've located each file in the same directory as adb and fastboot. The problem for me now is when I'm in command prompt and typing the following command
"cd Desktop/android-sdk-windows/platform-tools/fastboot flash recovery recovery.img"
I get the following text
"error: cannot load 'recovery.img': No such file or directory"
I have tried to download older twrp files and also from other pages but the issue remians. And when I'm in windows and trying to open the .img file I get a window that says
"It is not possible to mount the file"
"The Disc Image file is corrupted"
How can I solve this issue? Please Help
I've located each file in the same directory as adb and fastboot.
Click to expand...
Click to collapse
You mean your recovery.img is placed in your platforms-tools folder?
If so, try providing the full path to the recovery image in your command, for example:
Code:
cd Desktop/android-sdk-windows/platform-tools/fastboot flash recovery Desktop/android-sdk-windows/platform-tools//recovery.img
Also, I believe you need to reboot into bootloader before flashing the recovery, if you aren't aware already.
unignostik said:
You mean your recovery.img is placed in your platforms-tools folder?
If so, try providing the full path to the recovery image in your command, for example:
Code:
cd Desktop/android-sdk-windows/platform-tools/fastboot flash recovery Desktop/android-sdk-windows/platform-tools//recovery.img
Also, I believe you need to reboot into bootloader before flashing the recovery, if you aren't aware already.
Click to expand...
Click to collapse
Thank you! It worked now
EmmanouilEk said:
Thank you! It worked now
Click to expand...
Click to collapse
good stuff :good:

Need help to root into moto g3

Hi Team,
I was able to unlock the bootloader on motg3 and do a twrp img. However when I ran the command
adb reboot recovery it doesn't boot into the recovery img and it just says no command on the phone screen. Please help.
Thanks,
Arun
'No Command' means you've still got the stock recovery. Flash TWRP again by:
Code:
fastboot flash recovery twrp.img
(Where twrp.img is the filename of the custom recovery).
Do *not* reboot the phone into system, instead scroll down to select 'recovery' and press power button to load TWRP.
TWRP should load now, swipe to confirm modification (important). Now go to reboot>recovery. Allow the phone to reboot back to TWRP. Now you can select reboot>system and TWRP shall stick permanently.
Broadcasted from Zeta Reticuli
Volume buttons aren't working on the mobile. So I tried adb reboot recovery. But still it didn't boot into recovery. Here is what I had tried.
https://pasteboard.co/HhTTVr1n.png
TWRP will be overwritten by stock recovery if the system is booted up before booting TWRP once.
If the volume buttons are broken, then I'd suggest you first copy twrp.img into phone memory, boot the recovery by :
Code:
fastboot boot recovery.img
Allow modifications, then go to Install>Select Image (img), browse twrp.img on phone>select 'recovery' and swipe to flash.
Now reboot>recovery and then reboot>system. Now it should stick.
I'd recommend being extra careful if your volume button, especially volume down button is broken. If you somehow end up with a non-booting phone, you'd have no way (that I know of) to get to the bootloader mode.
Broadcasted from Zeta Reticuli
I tried fastboot boot recovery.img but it says waiting for device and nothing happens.
https://pasteboard.co/HhVmOD9.png
Make sure your phone is in the bootloader mode and is being recognized by the pc. Run:
Code:
fastboot devices
and make sure it returns with 1 entry of the device along with the text 'fastboot'. Then the command should work.
Broadcasted from Zeta Reticuli
arunkumar413 said:
Hi Team,
I was able to unlock the bootloader on motg3 and do a twrp img. However when I ran the command
adb reboot recovery it doesn't boot into the recovery img and it just says no command on the phone screen. Please help.
Thanks,
Arun
Click to expand...
Click to collapse
Make sure you have installed proper Motorola drivers & Fastboot on you're PC / laptop,
You can get those files from this thread https://forum.xda-developers.com/2015-moto-g/general/guide-fastboot-flashing-factory-t3187750
After installing proper drivers goto this thread https://forum.xda-developers.com/2015-moto-g/orig-development/twrp-twrp-moto-g-2015-t3170537 download & flash latest twrp by given instructions by OP..
I just checked the usb drivers page but there aren't any usb drivers for Linux.
https://mobilesupport.lenovo.com/us/en/solution/MS88481
I tried the command sudo fastboot boot recovery.img and it returned there is no such file or directory. Should recovery file be on phone or on the laptop. Also should all these commands be run from a specific folder either on phone or system?
[email protected] ~ $ sudo fastboot boot recovery.img
cannot load 'recovery.img': No such file or directory
[email protected] ~ $
arunkumar413 said:
I just checked the usb drivers page but there aren't any usb drivers for Linux.
https://mobilesupport.lenovo.com/us/en/solution/MS88481
I tried the command sudo fastboot boot recovery.img and it returned there is no such file or directory. Should recovery file be on phone or on the laptop. Also should all these commands be run from a specific folder either on phone or system?
[email protected] ~ $ sudo fastboot boot recovery.img
cannot load 'recovery.img': No such file or directory
[email protected] ~ $
Click to expand...
Click to collapse
Yes, the terminal should be open to the directory containing the recovery.img file. For simplicity, place twrp into your home folder. The default location for most terminals is home, so no worries about directory now.
Just to be sure, type in :
Code:
ls
(LS lowercase)
Your file should be in the list. You are ready to flash now.
Try the fastboot boot command again.
As you're using GNU/Linux (guessed it early from your screenshots), drivers should not be a problem, at least for this device; unless you are running a minimal or highly customised distro like Gentoo or Arch.
Note: And yes, you'll need another copy of TWRP inside phone storage to actually flash into the device, the PC one is just used to boot temporarily into TWRP.
Broadcasted from Zeta Reticuli
To add more clarity. There are two files here:
1) recovery.img
2)twrp.img
I was able to get the twrp.img file but where do I get the recovery.img file?
Hi All,
Thanks for all the help. I'm now able to root into the device.
arunkumar413 said:
To add more clarity. There are two files here:
1) recovery.img
2)twrp.img
I was able to get the twrp.img file but where do I get the recovery.img file?
Click to expand...
Click to collapse
I apologize for confusing you. They are the one and same. Just rename the downloaded TWRP img file to twrp.img and copy it over to both home folder in pc and into phone.
Use fastboot boot command on pc to temporarily boot up twrp in phone, allow modifications by swiping, go to Install>Install Image (img) option on the bottom>select the twrp.img inside the phone and flash it to 'recovery' partition.
Now reboot>recovery. This time the twrp should be permanently flashed and working properly. You are done.
Edit: Didn't see your last post, glad that you worked it out
Broadcasted from Zeta Reticuli
arunkumar413 said:
To add more clarity. There are two files here:
1) recovery.img
2)twrp.img
I was able to get the twrp.img file but where do I get the recovery.img file?
Click to expand...
Click to collapse
There can be only one either recovery.img file or twrp.img.....as you are trying to replace your stock recovery by TWRP... And you need .img file for this.... Just check the name there should be just one if you have TWRP.img then there is no need for recovery.img file
Hi All,
After I was able to flash twrp and root into the phone I switched off the phone and turned on after couple of days. But now the display isn't turning on. However adb is able to detect the device and also I was able to access the file system through usb. Could you please help me troubleshoot the display issue?
arunkumar413 said:
Hi All,
After I was able to flash twrp and root into the phone I switched off the phone and turned on after couple of days. But now the display isn't turning on. However adb is able to detect the device and also I was able to access the file system through usb. Could you please help me troubleshoot the display issue?
Click to expand...
Click to collapse
Try rebooting into the recovery mode by:
Code:
adb reboot recovery
And doing a Cache/ART cleanup.
If the phone boots up (it should vibrate) but the screen doesn't light up (not even a blank dark grey screen), then I'm afraid the display is at fault.
How to root moto g3
I try to root my motor but network has gone
Then how I root

Accidentaly formatted all partions

I accidentally formatted all partition and now only have a TWRP. The TWRP only shows the start screen when i go to recovery.
Adb devices show me the device detected. I did a adb push and moved the stock rom 5.1.11 and my twrp recovery to the sdcard using the command adb push. I am struck here because i cannot get to the twrp screen which gives you option to install/wipe etc.
Can somebody please guide me if there is a way to recover or install the .zip files I have copied to sdcard. Thanks in advance
You need to fastboot flash the default stock rom, and then re root/install TWRP etc etc
Thank you for your response. Will that be adb fastboot flash stock.zip ? I am not sure if this would mess it up hence please confirm. Also, will it work if i use the fastboot to install twrp again and then flash the stock rom using its menu.
SachinGopal said:
Thank you for your response. Will that be adb fastboot flash stock.zip ? I am not sure if this would mess it up hence please confirm. Also, will it work if i use the fastboot to install twrp again and then flash the stock rom using its menu.
Click to expand...
Click to collapse
You need to go to this thread... https://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665
Download the version of OOS you want (5.1.11) and unzip the contents in to a folder and run the flash-all.bat file and let it install to all partitions. Just follow this instructions in the thread and you will be fine.
Thank you so much for your response, but when I run this command I am getting " Waiting for device" option. I am only able to boot into twrp. I see the teamwin loading screen and its struck there. I am able to run adb commands and adb device shows the device details. I was also able to push the stock rom.zip through adb push command to /sdcard.
D:\OnePlus6Oxygen_22_OTA_015_all_1808102118_770880-FASTBOOT>flash-all-partitions-fastboot.bat
Do you want to wipe all the data ( Reccomended )[Y/N]?y
< waiting for any device >
Thank you so much it worked when I tried. Grateful . Will donate the Dev for that bat script.
SachinGopal said:
Thank you so much for your response, but when I run this command I am getting " Waiting for device" option. I am only able to boot into twrp. I see the teamwin loading screen and its struck there. I am able to run adb commands and adb device shows the device details. I was also able to push the stock rom.zip through adb push command to /sdcard.
D:\OnePlus6Oxygen_22_OTA_015_all_1808102118_770880-FASTBOOT>flash-all-partitions-fastboot.bat
Do you want to wipe all the data ( Reccomended )[Y/N]?y
< waiting for any device >
Click to expand...
Click to collapse
You need to be in fastboot mode.
Either adb reboot bootloader from inside android or from a powered off phone, hold Volume Up and power on.

Categories

Resources