[Completed] ERROR flashing recovery twrp MOTOROLA MOTO 3rd 2015 - XDA Assist

I've unlocked the bootloader and now i'm trying to start a twrp recovery to access and install SuperSU which is copied (zip file) inside my internal storage of my phone. I'm using adb fastboot and an osprey twrp downloaded from this site, i write in the command prompt (opend from the adb fastboot folder, where there's the twrp file) :
>fastboot flash recovery twrp-osprey-3.0.2-r1.img
target reported max download size of 268435456 bytes
error: cannot load 'twrp-osprey-3.0.2-r1.img': No error
WHAT SHOULD I DO???

XDA Visitor said:
I've unlocked the bootloader and now i'm trying to start a twrp recovery to access and install SuperSU which is copied (zip file) inside my internal storage of my phone. I'm using adb fastboot and an osprey twrp downloaded from this site, i write in the command prompt (opend from the adb fastboot folder, where there's the twrp file) :
>fastboot flash recovery twrp-osprey-3.0.2-r1.img
target reported max download size of 268435456 bytes
error: cannot load 'twrp-osprey-3.0.2-r1.img': No error
WHAT SHOULD I DO???
Click to expand...
Click to collapse
Hello,
Please register for XDA account to post and reply in the forums.
Also, you may try posting your query here Moto G 2015 Q&A with all relevant details, the experts there maybe able to assist you.
Regards
Vatsal,
Forum Moderator.

Related

[ROOT] [SOLVED] flashing recovery twrp MOTOROLA MOTO 3rd 2015

I've unlocked the bootloader and now i'm trying to start a twrp recovery to access and install SuperSU which is copied (zip file) inside my internal storage of my phone. I'm using adb fastboot and an osprey twrp downloaded from this site, i write in the command prompt (opend from the adb fastboot folder, where there's the twrp file) :
>fastboot flash recovery twrp-osprey-3.0.2-r1.img
target reported max download size of 268435456 bytes
error: cannot load 'twrp-osprey-3.0.2-r1.img': No error
what should i do to load this recovery (or another one, it doesn't matter) and to open SuperSU to let me to root my phone???
leodom01 said:
I've unlocked the bootloader and now i'm trying to start a twrp recovery to access and install SuperSU which is copied (zip file) inside my internal storage of my phone. I'm using adb fastboot and an osprey twrp downloaded from this site, i write in the command prompt (opend from the adb fastboot folder, where there's the twrp file) :
>fastboot flash recovery twrp-osprey-3.0.2-r1.img
target reported max download size of 268435456 bytes
error: cannot load 'twrp-osprey-3.0.2-r1.img': No error
what should i do to load this recovery (or another one, it doesn't matter) and to open SuperSU to let me to root my phone???
Click to expand...
Click to collapse
First verify that you have debugging enabled from the developer options, second check that the recovery file is located in the folder plataform tools (Tools with which the flashing process is done).
Third, verify that you have the device drivers installed correctly.
If it does not work try to do root with kingroot (Look for the official page, download the same apk), the process is not difficult ... Clarify the device will restart repeatedly, at each restart reopen the application to continue with the process, it may work as it may not. (Do it at your own risk). If this method works follow the steps in this video to install TWRP recovery: https://www.youtube.com/watch?v=xwFC41d-7Yg
I think that for process of rooteo you can go ahead alone.
leodom01 said:
I've unlocked the bootloader and now i'm trying to start a twrp recovery to access and install SuperSU which is copied (zip file) inside my internal storage of my phone. I'm using adb fastboot and an osprey twrp downloaded from this site, i write in the command prompt (opend from the adb fastboot folder, where there's the twrp file) :
>fastboot flash recovery twrp-osprey-3.0.2-r1.img
target reported max download size of 268435456 bytes
error: cannot load 'twrp-osprey-3.0.2-r1.img': No error
what should i do to load this recovery (or another one, it doesn't matter) and to open SuperSU to let me to root my phone???
Click to expand...
Click to collapse
Your answer is here "error: cannot load 'twrp-osprey-3.0.2-r1.img': No error"... Everything is working perfectly, except there is no file by that name that fastboot can find, therefore it didn't do anything, thus no error. The problem is your TWRP img is in the wrong place or named incorrectly. Your problem is basic commands or file structure, not a problem with the phone or fastboot.
leodom01 said:
I've unlocked the bootloader and now i'm trying to start a twrp recovery to access and install SuperSU which is copied (zip file) inside my internal storage of my phone. I'm using adb fastboot and an osprey twrp downloaded from this site, i write in the command prompt (opend from the adb fastboot folder, where there's the twrp file) :
>fastboot flash recovery twrp-osprey-3.0.2-r1.img
target reported max download size of 268435456 bytes
error: cannot load 'twrp-osprey-3.0.2-r1.img': No error
what should i do to load this recovery (or another one, it doesn't matter) and to open SuperSU to let me to root my phone???
Click to expand...
Click to collapse
i guess the name of recovery is wrongly typed so rename the recovery in that folder to something simple like twrp.img take note of the extension as in windows the extension is hidden by default. hope it helps you.
---------- Post added at 09:04 AM ---------- Previous post was at 09:03 AM ----------
Arcade said:
i guess the name of recovery is wrongly typed so rename the recovery in that folder to something simple like twrp.img take note of the extension as in windows the extension is hidden by default. hope it helps you.
Click to expand...
Click to collapse
Or also you then have to use the command
fastboot flash recovery twrp.img
Click to expand...
Click to collapse
Thank you! I did it in past too, but I wasn't working I tried again today and I worked, don't ask me why! Thank you anyway guys!

[Completed] fastboot flash works only for boot, recovery image.

I've been trying to replace the images in my Doogee X5pro with custom rom.
My host PC environment is:
Ubuntu 14.04.5 Trusty, 64bit
fastboot (using the one installed along with Android Studio SDK)
I have unlocked the bootloader ('fastboot oem unlock' and have checked the variable 'unlock=yes' with 'fastboot getvar all')
At this point, I tried to replace the images in the custom rom zip file.
However, I found that while boot.img, recovery.img is flashed without any problems,
when I try to flash system.img, cache.img, and other images, it simply returns an error(FAILED. unknown command)
BTW, i have the scatter file and have been adding the 'base address' option to every fastboot flash command.
(ex: 'fastboot flash boot boot.img -b 0x2de000000' , where I simply retrieved the base address of each partition from the scatter file).
Also, I have specified the '-S' option which will sparse the image file when the image file to be flashed exceeds the size specified with the '-S' option
(ex: 'fastboot flash system system.img -b 0x2f000000 -S 100M).
Could someone point me in the right direction to solve this issue?
Hi and welcome to assist,
Please see this thread about rooting your device here:
Root Doogee X5 Pro
I'm sure you will find an answer there.
Additional info: [Guide] How To Setup And Use Fastboot
Good luck

[RECOVERY][TWRP] Unofficial TWRP 3.0.3 For ZTE Nubia Z11 Mini

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

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

Temporary install of TWRP on Q

Hello,
So I've just read this in another thread:
"Open a command window and run the following command from the proper location:
fastboot boot path/to/twrp.img
This will temporarily boot TWRP on your device. Use ADB or MTP to transfer the zip onto your device."
So far, my understanding that I can't install twrp when using android Q, but can I follow the above instructions to temporarily boot into twrp in order to make a backup?
I know Google have changed some partitioning stuff with the pixels so I don't want to screw anything up is all
Many thanks
mofaker33 said:
C:\Users\X\Desktop\platform-tools_r29.0.6-windows\platform-tools>fastboot boot C:\Users\X\Desktop\platform-tools_r29.0.6windows\platform-tools\twrp.img
fastboot: error: cannot load 'C:\Users\x\Desktop\platform-tools_r29.0.6-windows\platform-tools\twrp.img': too short
C:\Users\x\Desktop\platform-tools_r29.0.6-windows\platform-tools>fastboot boot twrp.img
fastboot: error: cannot load 'twrp.img': too short
Click to expand...
Click to collapse
Check your download...
Here's what I get, not much more useful...
Code:
> fastboot boot TWRP/twrp-3.4.0-0-sargo.img
Sending 'boot.img' (65536 KB) OKAY [ 2.187s]
Booting FAILED (remote: 'Error verifying the received boot.img: Invalid Parameter')
fastboot: error: Command failed
captain sideways said:
Hello,
So I've just read this in another thread:
"Open a command window and run the following command from the proper location:
fastboot boot path/to/twrp.img
This will temporarily boot TWRP on your device. Use ADB or MTP to transfer the zip onto your device."
So far, my understanding that I can't install twrp when using android Q, but can I follow the above instructions to temporarily boot into twrp in order to make a backup?
I know Google have changed some partitioning stuff with the pixels so I don't want to screw anything up is all
Many thanks
Click to expand...
Click to collapse
TWRP Is not *working* on Android 10 ... beside only booting you can also install it on your device but you will not be able to do a backup.
Ah OK, thanks for that, appreciate it. ? I'll stay tuned. I'm coming over from S7 stock oreo so I'm just relearning what's going on currently.
C:\Users\X\Desktop\platform-tools_r29.0.6-windows\platform-tools>fastboot boot C:\Users\X\Desktop\platform-tools_r29.0.6windows\platform-tools\twrp.img
fastboot: error: cannot load 'C:\Users\x\Desktop\platform-tools_r29.0.6-windows\platform-tools\twrp.img': too short
C:\Users\x\Desktop\platform-tools_r29.0.6-windows\platform-tools>fastboot boot twrp.img
fastboot: error: cannot load 'twrp.img': too short

Categories

Resources