[Q] Rooting Issues with Moto G - Moto G Q&A, Help & Troubleshooting

Hi,
I'm trying to root my Moto G. Was able to unlock it but can't flash recovery or boot superboot with fastboot.
On trying to push twrp with: fastboot flash recovery twrp.img
I get the error:
target reported max download size of 536870912 bytes
sending 'recovery' (8090 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 5.021s
On trying to boot superboot with: fastboot boot boot.superboot.img
Iget the error:
downloading 'boot.img' ...
FAILED (command write failed (Unknown error))
finished. total time: 5.014s
I can't seem to find a solution online, does someone know how to fix these errors?

Uncannytable said:
Hi,
I'm trying to root my Moto G. Was able to unlock it but can't flash recovery or boot superboot with fastboot.
On trying to push twrp with: fastboot flash recovery twrp.img
I get the error:
target reported max download size of 536870912 bytes
sending 'recovery' (8090 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 5.021s
On trying to boot superboot with: fastboot boot boot.superboot.img
Iget the error:
downloading 'boot.img' ...
FAILED (command write failed (Unknown error))
finished. total time: 5.014s
I can't seem to find a solution online, does someone know how to fix these errors?
Click to expand...
Click to collapse
just install flashify from the playstore and flash a recovery from there its very easy and i think a large number of people had the same problem anyhow thats how i fixed it after further reading in xda cheers,martin

I am actually a fan of rooting without changing the recovery
just use
fastboot boot YourRecovery.img
Click to expand...
Click to collapse
and then flash e.g. latest supersu zip http://download.chainfire.eu/supersu you can even do this by adb sideload in CWM (for the recovery i used CWMrecovery)
i like this method because it will leave your recovery untouched and just root :highfive:

Why dont you flash just Philz Touch recovery? Then go to recovery option on Fastboot mode, once Philz has booted, touch REBOOT SYSTEM, then the recovery will tell you "Your device is not rooted or SU is missing, do you want to apply SU?" Then scroll to YES option and phone will reboot.. DONE, rooted! Now go to Play Store and grab SuperSU app.. Then you can flash to stock recovery....

All I had to do was change the usb port. Now everything is working fine.

martindar said:
just install flashify from the playstore and flash a recovery from there its very easy and i think a large number of people had the same problem anyhow thats how i fixed it after further reading in xda cheers,martin
Click to expand...
Click to collapse
The OP is trying to root his device. AFAIK Flashify requires the device to be rooted to work. What am I missing?

Related

[Q] Fastboot flash recovery image size exceeded partition limits error

Hello,
I'm trying to install 4.4.2 Rom http://forum.xda-developers.com/showthread.php?t=2607249 by arrrghhh.
when I try to install twrp I get the following error:
Code:
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot flash recover
y openrecovery-twrp-2.6.3.4-hammerhead.img
(bootloader) Variable not supported!
target reported max download size of 31457280 bytes
sending 'recovery' (13272 KB)...
OKAY [ 0.997s]
writing 'recovery'...
(bootloader) Image size exeeded partition limits
FAILED (remote failure)
finished. total time: 1.238s
Also the green android with the open belly appears and I stopped it by holding powerbutton, and now it says Fastboot reason: Flash failure in the screen.
I tried installing goomanager and install twrp from there, but it didn't seem to work.
Please advice how to get the twrp to install correctly so I can flash the rom.
Thanks,
Stani
soulmethod said:
Hello,
I'm trying to install 4.4.2 Rom http://forum.xda-developers.com/showthread.php?t=2607249 by arrrghhh.
when I try to install twrp I get the following error:
Code:
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot flash recover
y openrecovery-twrp-2.6.3.4-hammerhead.img
(bootloader) Variable not supported!
target reported max download size of 31457280 bytes
sending 'recovery' (13272 KB)...
OKAY [ 0.997s]
writing 'recovery'...
(bootloader) Image size exeeded partition limits
FAILED (remote failure)
finished. total time: 1.238s
Also the green android with the open belly appears and I stopped it by holding powerbutton, and now it says Fastboot reason: Flash failure in the screen.
I tried installing goomanager and install twrp from there, but it didn't seem to work.
Please advice how to get the twrp to install correctly so I can flash the rom.
Thanks,
Stani
Click to expand...
Click to collapse
Why are you trying to install TWRP for the hammerhead (Nexus5)[email protected]??
That could cause SERIOUS damage. Please install a recovery for your device.
If you want to use GooManager, you need to be rooted. Regardless, you need to have your bootloader unlocked to install any custom recovery.
didn't find one
Wow,
I must have miss downloaded it, browsing threads...
Can you give a link to one that is for photon Q ?
The bootloader is unlocked, but I couldn't install superSU yet.
To be honest I'm kinda lost reading all those different threads.
At the same time I want to try your 4.4.2 )
Thanks,
Stani
http://forum.xda-developers.com/showthread.php?t=1887070
Helps to stick to the Photon Q section
Twrp for Photon Q
Ok, found one that is for photon Q,
here is link : http://goo.im/devs/OpenRecovery/asanti
Thread: http://forum.xda-developers.com/showthread.php?t=1887070
Trying again and will post results
it worked!
Superb,
managed to install and GUMMY 4.4.2 is loading )) and it booted, loool ))
Thanks arrrghhh for your fast response!!!
I will play around with it and will donate once I get my salary )
Keep up the good work and lots of laughs and harmony,
Thanks,
Stani
i have also try ..... .
soulmethod said:
Ok, found one that is for photon Q,
here is link : http://goo.im/devs/OpenRecovery/asanti
Thread: http://forum.xda-developers.com/showthread.php?t=1887070
Trying again and will post results
Click to expand...
Click to collapse
i have also try but not bootable in recovery.....
please suggest mee.....
avisingh736 said:
i have also try but not bootable in recovery.....
please suggest mee.....
Click to expand...
Click to collapse
What's your issue?
The thread you are jacking, the OP originally tried flashing a recovery for the hammerhead (n5).
Is that your problem to? If so, just use a recovery posted in the Photon Q section. It'll work much better.

Can't enter TWRP

I wanted to flash the latest update of RR7 but when i tried to get into the recovery the phone would reboot and show the twrp starting screen and then it would reboot again and start normally. I figured something must have gone wrong and reflashed twrp from my pc, however the issue persists. Flashify doesn't work either. So aside from a clean install, is there a workaround?
BoredDude said:
I wanted to flash the latest update of RR7 but when i tried to get into the recovery the phone would reboot and show the twrp starting screen and then it would reboot again and start normally. I figured something must have gone wrong and reflashed twrp from my pc, however the issue persists. Flashify doesn't work either. So aside from a clean install, is there a workaround?
Click to expand...
Click to collapse
You can try to boot directly into twrp with "fastboot boot TWRP.img"
zys52712 said:
You can try to boot directly into twrp with "fastboot boot TWRP.img"
Click to expand...
Click to collapse
Just tried it, same thing happens i can see the twrp starting screen but i can get to the main menu.
EDIT.
Changed the twrp version to an older one. No results, tried both flashing and booting from fastboot.
i get the following message:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery twrp2.img
(bootloader) has-slot:recovery: not found
target reported max download size of 536870912 bytes
sending 'recovery' (14796 KB)...
OKAY [ 0.479s]
writing 'recovery'...
OKAY [ 1.566s]
finished. total time: 2.049s
zys52712 said:
You can try to boot directly into twrp with "fastboot boot TWRP.img"
Click to expand...
Click to collapse
BoredDude said:
Just tried it, same thing happens i can see the twrp starting screen but i can get to the main menu.
EDIT.
Changed the twrp version to an older one. No results, tried both flashing and booting from fastboot.
i get the following message:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery twrp2.img
(bootloader) has-slot:recovery: not found
target reported max download size of 536870912 bytes
sending 'recovery' (14796 KB)...
OKAY [ 0.479s]
writing 'recovery'...
OKAY [ 1.566s]
finished. total time: 2.049s
Click to expand...
Click to collapse
Then something is really wrong with your internal memory. Because that boot command in the post above does not use TWRP installed on your phone, it's a "temporary" TWRP booted from your PC folder.
Even if you've never installed TWRP on your phone (still have stock recovery) you can still boot to TWRP for a one-time/one-off session by using those commands. Do whatever you want, like install SuperSu, and when you reboot, you'll still have stock recovery!
ChazzMatt said:
Then something is really wrong with your internal memory. Because that boot command in the post above does not use TWRP installed on your phone, it's a "temporary" TWRP booted from your PC folder.
Even if you've never installed TWRP on your phone (still have stock recovery) you can still boot to TWRP for a one-time/one-off session by using those commands. Do whatever you want, like install SuperSu, and when you reboot, you'll still have stock recovery!
Click to expand...
Click to collapse
I fixed it erasing the TWRP folder in my internal storage

Root: Stuck at "Your device is booting now"

Hello! I tried to root my Honor 6x (BLN-L21, EMUI 5.0) following the instructions there:
cyberkey.in/how-to-root-honor-6x-100-working/
The bootloader was successfully unlocked.
But when I tried to flash TWRP the process failed and now my phone is stuck on boot :
"Your device has been unlocked and can't be trusted [...] Your device is booting now."
I can get access to recovery and fastboot. I wiped the cache and tried a factory reset but nothing changed, my system won't start and I don't know what to do.
Please help!
if you have the boot backup then restore it.
venugopalu007 said:
if you have the boot backup then restore it.
Click to expand...
Click to collapse
I don't have any backup. Is there a way to just reset everything? Also I don't know how to connect to the phone anymore since adb won't find the device.
if you cannot find the boot.img
just do a rollback bro
here is the link
first dload this
http://download-c.huawei.com/download/downloadCenter?downloadId=94070&version=376169&siteCode=de-h
and this now
if your device is BLN-L21C432B151 http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1277/g104/v84712/f1/full/update.zip
or BLN-L21C185B131 http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1277/g104/v75593/f1/full/update.zip
I think that I flashed the wrong files in "boot" and "recovery". Please tell me which files I should flash there.
I used the commands:
.\fastboot flash boot twrp.img
.\fastboot flash recovery twrp.img
Stinks said:
I think that I flashed the wrong files in "boot" and "recovery". Please tell me which files I should flash there.
I used the commands:
.\fastboot flash boot twrp.img
.\fastboot flash recovery twrp.img
Click to expand...
Click to collapse
The guide from "cyberkey.in/how-to-root-honor-6x-100-working/" is simply wrong when it comes to flashing the twrp recovery. If you really followed this guide completely then you flashed the recovery to the boot partition.
Use "fastboot flash recovery twrp.img" to flash the recovery.
You will still have to flash the boot image to your boot partition then (fastboot flash boot boot.img).
Stinks said:
I don't have any backup. Is there a way to just reset everything? Also I don't know how to connect to the phone anymore since adb won't find the device.
Click to expand...
Click to collapse
Use fastboot flash recovery twrpname.img to flash the recovery
Ok so basically I need to flash the boot image. However I don't know where to find the stock boot image. I downloaded the so-called "full version" of the stock firmware that I found here: boycracked.com/2017/07/20/official-huawei-honor-6x-bln-l21-berlin-l21-stock-rom-firmware/
However there was no boot.img file inside.
If you could direct me to the proper stock boot.img or send me one, that would greatly help. I had EMUI 5.0 with Nougat 7.0 I believe, phone version BLN-L21.
V
Stinks said:
Ok so basically I need to flash the boot image. However I don't know where to find the stock boot image. I downloaded the so-called "full version" of the stock firmware that I found here: boycracked.com/2017/07/20/official-huawei-honor-6x-bln-l21-berlin-l21-stock-rom-firmware/
However there was no boot.img file inside.
If you could direct me to the proper stock boot.img or send me one, that would greatly help. I had EMUI 5.0 with Nougat 7.0 I believe, phone version BLN-L21.
Click to expand...
Click to collapse
Bro there is update.app open it with huawei update extractor then you will see the the boot image.but remember the emui 4.1 boot wont help you in emui 5 .the boot.img must be emui 5 once.
venugopalu007 said:
V
Bro there is update.app open it with huawei update extractor then you will see the the boot image.but remember the emui 4.1 boot wont help you in emui 5 .the boot.img must be emui 5 once.
Click to expand...
Click to collapse
Thanks. I successfully updated boot.img and and recovery.img, but system won't load, so I might have imported from the wrong STOCK version.
I tried to reinstall a stock ROM using:
fastboot flash system system.img
But I got this error message:
target reported max download size of 471859200 bytes
sending sparse 'system' (444686 KB)...
OKAY [ 12.901s]
writing 'system'...
FAILED (remote: sparse flash write failure)
finished. total time: 12.929s
Then I tried to erase the system file with "erase system" and got this error:
erasing 'system'...
FAILED (remote: Command not allowed)
finished. total time: 0.013s
I guess that the only option now is to install the files on an external SD card?
Stinks said:
Thanks. I successfully updated boot.img and and recovery.img, but system won't load, so I might have imported from the wrong STOCK version.
I tried to reinstall a stock ROM using:
fastboot flash system system.img
But I got this error message:
target reported max download size of 471859200 bytes
sending sparse 'system' (444686 KB)...
OKAY [ 12.901s]
writing 'system'...
FAILED (remote: sparse flash write failure)
finished. total time: 12.929s
Then I tried to erase the system file with "erase system" and got this error:
erasing 'system'...
FAILED (remote: Command not allowed)
finished. total time: 0.013s
I guess that the only option now is to install the files on an external SD card?
Click to expand...
Click to collapse
Bro y this ,just do a rollback .
Stinks said:
Thanks. I successfully updated boot.img and and recovery.img, but system won't load, so I might have imported from the wrong STOCK version.
I tried to reinstall a stock ROM using:
fastboot flash system system.img
But I got this error message:
target reported max download size of 471859200 bytes
sending sparse 'system' (444686 KB)...
OKAY [ 12.901s]
writing 'system'...
FAILED (remote: sparse flash write failure)
finished. total time: 12.929s
Then I tried to erase the system file with "erase system" and got this error:
erasing 'system'...
FAILED (remote: Command not allowed)
finished. total time: 0.013s
I guess that the only option now is to install the files on an external SD card?
Click to expand...
Click to collapse
I recommend you to download firmware files only from the official honor website or by using the huawei firmware finder(https://forum.xda-developers.com/tools/general/huawei-firmware-finder-team-mt-t3469146)
In this case try to use huawei firmware finder to get the right stock version for your phone. Download these two files: e.g. update.zip & update_full_BLN-L21_hw_eu.zip.
Export the following image files: recovery, system, boot and cust.
The try to flash them:
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash cust cust.img
fastboot flash recovery recovery.img
If flashing a partition via fastboot fails then it is usually because it's the wrong image or just not made for your phone.
Thank you guys, you saved my phone! I eventually managed to flash the files from Nougat update for European Honor 6X BLN-L21C432B360 that I found there: stechguide.com/honor-6x-b360-nougat-update/
Now the phone is working fine.
Stinks said:
Thank you guys, you saved my phone! I eventually managed to flash the files from Nougat update for European Honor 6X BLN-L21C432B360 that I found there: stechguide.com/honor-6x-b360-nougat-update/
Now the phone is working fine.
Click to expand...
Click to collapse
Glad you revived your phone
question
​
Stinks said:
Hello! I tried to root my Honor 6x (BLN-L21, EMUI 5.0) following the instructions there:
cyberkey.in/how-to-root-honor-6x-100-working/
The bootloader was successfully unlocked.
But when I tried to flash TWRP the process failed and now my phone is stuck on boot :
"Your device has been unlocked and can't be trusted [...] Your device is booting now."
I can get access to recovery and fastboot. I wiped the cache and tried a factory reset but nothing changed, my system won't start and I don't know what to do.
Please help!
Click to expand...
Click to collapse
my phone is stuck at your device is booting now i cant get to any of other functions such as fastboot or recovry i can only acces it after full charge is gone and after charging.how did you get to acces fastboot or recover.
[email protected] said:
question
my phone is stuck at your device is booting now i cant get to any of other functions such as fastboot or recovry i can only acces it after full charge is gone and after charging.how did you get to acces fastboot or recover.
Click to expand...
Click to collapse
did you solve your issue.....I have same problem now
nokiasatyam said:
did you solve your issue.....I have same problem now
Click to expand...
Click to collapse
Hello, could you be more specific about your problem? I'll be able to help you.
Brief Explanation:
From the screen on which you're stuck, press and hold power button for about 10 seconds to forcibly restart your device. when you see the same screen again, immediately press and hold volume up button(for about 3 seconds) to boot to eRecovery.
> Choose shut down option on eRecovery. press and hold vol down button and insert the charging cable to boot to fastboot.
> Press and hold power and volume up button to boot to recovery. (You could do this even from fastboot screen and the screen you're stuck at).

Please help....No OS in Oneplus one, Phone in fastboot mode

Hello all, I never thought I will be posting here.
I need help with my Oneplus one 64Gb version.
I am struck with No OS & Twrp 2.8.6.0.
Twrp is not able to mount otg-usb,
I have tried flashing rom through Fastboot via Bacon root toolkit, It gives error (
target reported max download size of 1073741824 bytes
sending 'boot' (7806 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 6.209s
&
Sometimes the error is too many links & sometimes its giving write command error.
error: cannot load 'C:\Program Files (x86)\WugFresh Development\Bacon Root Toolkit\data\Factory_Images\potato_bacon-9-20180818.Baked-v2.0.MASHED\emmc_appsboot.mbn'
I am even unable to flash new recovery, so that I can mount otg-usb drive.
I have also tried manually flashing the phone via fastboot but it just stuck there for hours on command window without any progress.
I will be really thankful to any one who can help me flash ROM to the phone.
Thanks

Pixel Bootloop (Bootloader unlocked)

So I have been trying to flash the Pixel Factory Image, I have used the most recent SDK Platform Tools and I still can't get past the boot loop. I also have tried to flash the TWRP recovery but I am getting this:
Code:
C:\Users\MyName\Documents\Pixel\minimal_adb_fastboot_1.4.3_portable>fastboot flash recovery twrp-3.3.0-0-sailfish.img
target reported max download size of 536870912 bytes
sending 'recovery' (31000 KB)...
OKAY [ 0.828s]
writing 'recovery'...
(bootloader) Flashing active slot "_b"
FAILED (remote: partition [recovery] doesn't exist)
finished. total time: 0.938s
I have even tried but the bootloop is still there:
Code:
PS C:\Users\MyName\Documents\Pixel\minimal_adb_fastboot_1.4.3_portable> ./fastboot boot twrp-3.3.0-0-sailfish.img
downloading 'boot.img'...
OKAY [ 0.727s]
booting...
OKAY [ 1.010s]
finished. total time: 1.740s
There are a couple things wrong here:
Pixels don't have a recovery partition, everything happens in the boot one (root, twrp, custom kernel)
The first command in the first code block you wrote is wrong because the recovery partition is not there. In case you wanna flash a stock boot image, maybe for recover your device faulty kernel/twrp etc, without have to reflash the whole rom, the command should be "fastboot flash boot boot.img"
The command you sent in the second code block (./fastboot boot twrp-3.3.0-0-sailfish.img) in fact is correct because you just boot the twrp image (= no errors).
But when you wanna flash the recovery, you have to boot the twrp img and when it booted you have to flash the twrp.zip that you can download from the official site from the twrp screen, not the .img
Hope this helps
I'll add that you should also use the official platform-tools downloaded from Google. The minimal (and other alternatives) can give you problems when trying to flash.
The latest platform-tools is here. Note that Google hasn't updated the changelog, and the latest version is actually 28.0.3, not 28.0.2.
For TWRP, you need both the latest .img and .zip files from here, and transfer the .zip file to the Pixel. Use the boot command to boot from the .img, then from within the temporarily-booted TWRP install the .zip file.

Categories

Resources