Rooting by fastboot boot recovery.img - Moto G 2015 Q&A, Help & Troubleshooting

I have a Moto G 3rd Gen. XT1550 on 6.0.1 and I want to root my phone. After reading a lot about rooting on the internet, I was thinking if it was possible to root by temporary loading the recovery by the fastboot command "fastboot boot recovery.img" so that I wouldn't lose the stock recovery. Someone please tell if this can be done. If not how can I revert back to the stock recovery after flashing TWRP?
Thank You!

Tron_Legacy1680 said:
I have a Moto G 3rd Gen. XT1550 on 6.0.1 and I want to root my phone. After reading a lot about rooting on the internet, I was thinking if it was possible to root by temporary loading the recovery by the fastboot command "fastboot boot recovery.img" so that I wouldn't lose the stock recovery. Someone please tell if this can be done. If not how can I revert back to the stock recovery after flashing TWRP?
Thank You!
Click to expand...
Click to collapse
That is how I rooted my phone. I still have stock recovery installed. I recommend you make a TWRP back up before flashing SuperSU.

purplepizza said:
That is how I rooted my phone. I still have stock recovery installed. I recommend you make a TWRP back up before flashing SuperSU.
Click to expand...
Click to collapse
Thank you for replying but I think I'm going to flash TWRP as I have found stock recovery image. It was good to know that it was possible.
Thanks!

Tron_Legacy1680 said:
Thank you for replying but I think I'm going to flash TWRP as I have found stock recovery image. It was good to know that it was possible.
Thanks!
Click to expand...
Click to collapse
Probably a good choice. I kept stock recovery thinking there would be OTA updates even though I was not sure if updates could be applied after unrooting. Looking back and considering no updates have come yet (its been 8 months), I should have flashed TWRP.

Related

[Q] Related to stock recovery/ROM.

Hey guys. So I am running 4.4.4 right now on my XT1033. Waiting for 5.0 now. However, I wanna root my phone now but I have some questions related to the update that I wanna clear first.
1, I already have unlocked my boot loader, will that affect my phone in receiving the OTA update?
2, Can I root my phone without removing the stock recovery, since I won't be flashing ROMs now and I wouldn't need it.
3, If I can't root without removing the stock recovery, how can I go back to stock recovery?
4, In order to update, do I have to unroot and lock the boot loader again or is that not necessary?
That's all. Keep in mind that my main concern is that I want root along with, when the time comes, the OTA update installation without any problems.
I am new at this so please bear with me. Hoping for an early reply, thank you.
Anyone?
drag00n619 said:
Hey guys. So I am running 4.4.4 right now on my XT1033. Waiting for 5.0 now. However, I wanna root my phone now but I have some questions related to the update that I wanna clear first.
1, I already have unlocked my boot loader, will that affect my phone in receiving the OTA update?
2, Can I root my phone without removing the stock recovery, since I won't be flashing ROMs now and I wouldn't need it.
3, If I can't root without removing the stock recovery, how can I go back to stock recovery?
4, In order to update, do I have to unroot and lock the boot loader again or is that not necessary?
That's all. Keep in mind that my main concern is that I want root along with, when the time comes, the OTA update installation without any problems.
I am new at this so please bear with me. Hoping for an early reply, thank you.
Click to expand...
Click to collapse
1. There's no problem with unlocked bootloader in order to receive the OTA.
2. There's a method to root without modifying recovery. Search for "root moto g modaco" on google, and choose "option 1, superboot". (Since I am a junior member I cannot submit links) :crying:
3. You can also change recovery using fastboot or Mototools, flash supersu.zip and then flash stock recovery again using mototools, which is prepared to flash cwm, twrp or stock recovery,
4. You don't need to re-lock bootloader in order to update
Anyway, I read that you can receive the OTA being root, but only if you have not modifyied system (i.e removing system apk's) nor modifying kernel.
Hope this was useful!
arya5 said:
1. There's no problem with unlocked bootloader in order to receive the OTA.
2. There's a method to root without modifying recovery. Search for "root moto g modaco" on google, and choose "option 1, superboot". (Since I am a junior member I cannot submit links) :crying:
3. You can also change recovery using fastboot or Mototools, flash supersu.zip and then flash stock recovery again using mototools, which is prepared to flash cwm, twrp or stock recovery,
4. You don't need to re-lock bootloader in order to update
Anyway, I read that you can receive the OTA being root, but only if you have not modifyied system (i.e removing system apk's) nor modifying kernel.
Hope this was useful!
Click to expand...
Click to collapse
Thank you, that really helped. And yea, I won't be messing around with the system apps, just gonna install Xposed.
2 more questions though
1, Is it possible to flash the stock recovery from CWM?
2, I read somewhere that the stock recovery can be extracted from the ROM of your phone. Is that true? That means that I can make a backup of my current ROM and also have the stock recovery with me, right?
Once again, thanks!
drag00n619 said:
Thank you, that really helped. And yea, I won't be messing around with the system apps, just gonna install Xposed.
2 more questions though
1, Is it possible to flash the stock recovery from CWM?
2, I read somewhere that the stock recovery can be extracted from the ROM of your phone. Is that true? That means that I can make a backup of my current ROM and also have the stock recovery with me, right?
Once again, thanks!
Click to expand...
Click to collapse
A recovery can be flashed from recovery, but only if you have it on a flashable zip, if you have it on img format, you need to use mototools or fastboot from pc. This second option is more recommendable
Concerning second question, I think I don't understand you. Original recovery can be found at the original firmware, this means that if you flash the original stock firmware it comes with the stock recovery, but I am not sure that you will recover stock recovery restoring a previous backup. Sorry

help to Root moto g(xt1033) with no OS

my phone was rooted and i had installed cm12. since it had many bugs, i was trying to return to stock lollipop using mfastboot. but mfastboot stopped working in the middle of the process and now i have no OS in my phone. also when i tried to switch off the phone from recovery (TWRP), my phone said-" your device does not appear to be rooted. install SuperSU now? This will root your device." there is an option to install supersu and an option to cancel. so i tried to install it, but nothing seems to be happening. can someone please help me out. because, if i am not mistaken, to install stock ROM by adb sideload...i need to be rooted. what should i do? :crying:
Ananth Kamath said:
my phone was rooted and i had installed cm12. since it had many bugs, i was trying to return to stock lollipop using mfastboot. but mfastboot stopped working in the middle of the process and now i have no OS in my phone. also when i tried to switch off the phone from recovery (TWRP), my phone said-" your device does not appear to be rooted. install SuperSU now? This will root your device." there is an option to install supersu and an option to cancel. so i tried to install it, but nothing seems to be happening. can someone please help me out. because, if i am not mistaken, to install stock ROM by adb sideload...i need to be rooted. what should i do? :crying:
Click to expand...
Click to collapse
No need to worry. Just download the stock lollipop firmware again and reflash it.
Have a look at this guide: http://forum.xda-developers.com/moto-g/general/lollipop-stock-rom-t3018568
pfufle said:
No need to worry. Just download the stock lollipop firmware again and reflash it.
Have a look at this guide: http://forum.xda-developers.com/moto-g/general/lollipop-stock-rom-t3018568
Click to expand...
Click to collapse
i tried it again...but mfastboot keeps stopping in the middle. can i just flash the zip from USB? and will that work since its saying that i dont have root?
Ananth Kamath said:
i tried it again...but mfastboot keeps stopping in the middle. can i just flash the zip from USB? and will that work since its saying that i dont have root?
Click to expand...
Click to collapse
Yes you can. There are flashable zips for stock ROM also

Is there a way to root on 5.1.1 23.4.A.1.200 ?

Hello there,
have been trying to root my new xperia z3 for 3 weekends now with no luck.
My bootloader has been unlocked through sony website, then relocked and unlocked many times using flashtool.
Looks like all the recoveries (doomlord, twrp) I could find work only on 4.4.4. Then I use flashtool to flash lollipop 5.1.1 23.4.A.1.200 and either wipe and loose the root or don't wipe all and enter a bootloop.
Flashing those recovery kernels straight on lollipop make the phone enter bootloop.
Are you guys able to root those Z3 under 5.1.1 ?
thank you
Sure shot easy way is flash kitkat firmware and use giefroot or flash 5.0 firmware and use kingroot.
Mate, you have to flash a prerooted version of 5.1.1 you can't just flash a stock rom and expect to stay rooted.
Downgrade to Kitkat then root and install a custom recovery. Then you download 5.1.1, Super Su and a custom recovery, create a pre rooted flashable zip with PRFcreator . Then flash it in your custom recovery and you're done. Rooted 5.1.1 with a custom recovery ready to rock.
Kingroot isn't recommendable, your IMEI is sent to China. Downgrade to 4.4, root with giefieroot, upgrade with pre-rooted ROM.
Btw: did you make a backup of your TA partition before unlocking bootloader?
Thanks a lot for your answer guys.
Am unusually struggling with this device.
lol1rfs said:
Mate, you have to flash a prerooted version of 5.1.1 you can't just flash a stock rom and expect to stay rooted.
Downgrade to Kitkat then root and install a custom recovery. Then you download 5.1.1, Super Su and a custom recovery, create a pre rooted flashable zip with PRFcreator . Then flash it in your custom recovery and you're done. Rooted 5.1.1 with a custom recovery ready to rock.
Click to expand...
Click to collapse
Have already downgraded to kitkat, installed custom recovery and rooted. But the 5.1.1 stock flash indeed wipe everything.
Haven't found yet a custom recovery for 5.1.1 that doesn't make the phone enter a bootloop. Would you happen to have a link ?
I'll give a look to that PRFcreator, didn't know about it.
Jkay7 said:
Kingroot isn't recommendable, your IMEI is sent to China. Downgrade to 4.4, root with giefieroot, upgrade with pre-rooted ROM.
Btw: did you make a backup of your TA partition before unlocking bootloader?
Click to expand...
Click to collapse
This is what I read about kingroot and haven't found any other way to root a 5.1.1 stock.
Where could I find a pre-rooter ROM then ? My wish was to be stock and rooted to be able to use apps like titanium backup and adblockers. Used to try custom roms every other day on my old SGS but today I'd be happy with something that just works.
Did not make any backup before unlocking but looked like flashtool was able to relock the device. Am I right guessing I didn't loose my DRM keys then ?
Thanks again for your answers.
Edit: looks like am missing sthg, what's the point in rooting a kitkat to upgrade with a pre-rooted lollipop right after ?
After KitKat root you get a Lollipop pre-rooted image and flash it: http://forum.xda-developers.com/z3/general/d6603-5-0-2-flashable-stock-23-1-0-690-t3056361
Here are the steps: http://forum.xda-developers.com/z3/general/guide-rootrecovery-how-to-root-install-t3017056
I hope you made a TA backup before unlocking your bootloader, otherwise you have lost your DRM keys forever.
Anyway, if your bootloader is now locked, follow the guide that Licaon_Kter linked in the above post.
The exploit that lets us root our Z3 only works on Kitkat, so downgrade first, run the exploit to obtain root, and install recovery.
You will then have stock, rooted, KitKat.
To get to 5.1.1, you will then need to either create your own pre rooted firmware, or download one that someone has kindly posted on here.
If you want to learn how to do it, read this --> Create your own pre rooted firmware with PRF Creator
PRF Creator will create a zip file that can be flashed from recovery, so once you have recovery installed, it's dead easy.
That will get you where you want to be.
However . . . and there's always a however lol . . .
. . . if you still have an unlocked bootloader, it is much simpler from wherever you are.
Find any custom rom that has recovery built in, and almost all do, then fastboot the kernel only, the boot.img.
Reboot your device and enter recovery.
Install your pre rooted firmware that you have either created with PRF Creator, or downloaded from here.
Job done.
My personal advice is read, read, and then read some more.
It can be very complicated, but you'll get the hang of it.
Licaon_Kter said:
After KitKat root you get a Lollipop pre-rooted image and flash it: http://forum.xda-developers.com/z3/general/d6603-5-0-2-flashable-stock-23-1-0-690-t3056361
Here are the steps: http://forum.xda-developers.com/z3/general/guide-rootrecovery-how-to-root-install-t3017056
Click to expand...
Click to collapse
I still have an unlocked bootloader since flashtool can lock and unlock it in a matter of a second.
Went back again in KK rooted with twrp recovery.
Wiped data, cache, dalvik.
Flashed D6603_23.4.A.1.232_Customized_US_SuperSU_XZDR2.8.2 1 from the link above and ... CWM recovery report install from sdcard completed after 1s and nothing more. Am still booting in KK after that.
This didn't work for me. Am losing it now with this phone.
Am I missing sthg ? Any advice ?
Can't use PRFCreator, am under mac os...
Thanks to all for your help
Try with TWRP too
Licaon_Kter said:
After KitKat root you get a Lollipop pre-rooted image and flash it: http://forum.xda-developers.com/z3/general/d6603-5-0-2-flashable-stock-23-1-0-690-t3056361
Here are the steps: http://forum.xda-developers.com/z3/general/guide-rootrecovery-how-to-root-install-t3017056
Click to expand...
Click to collapse
Licaon_Kter said:
Try with TWRP too
Click to expand...
Click to collapse
tried twrp found there http://forum.xda-developers.com/z3/development/recovery-z3-twrp-2-8-4-0-t3028846
phone is not booting anymore.
twrp post says it doesn't work on stock room.
---------- Post added at 02:16 PM ---------- Previous post was at 02:05 PM ----------
Is there really anyone out there with a rooted stock lollipop ?
or you are all using customs ?
am seriously questionning the thing now
Why would you NOT follow the steps?
GO AGAIN from the start: http://forum.xda-developers.com/z3/general/guide-rootrecovery-how-to-root-install-t3017056
Licaon_Kter said:
Why would you NOT follow the steps?
GO AGAIN from the start: http://forum.xda-developers.com/z3/general/guide-rootrecovery-how-to-root-install-t3017056
Click to expand...
Click to collapse
I just can't, I don't have access to a window machine
Both giefroot and FlashTool are for Win/Mac/Linux.
Licaon_Kter said:
Both giefroot and FlashTool are for Win/Mac/Linux.
Click to expand...
Click to collapse
I appreciate your still trying to help me.
I do use flashtool and am able to root a Kitkat 23.0.A.2.93, so I don't see the point in using giefroot unless it could root a lollipop.
I have read thoroughly and downloaded pre-rooted lollipop stock roms from the link you provided.
Once under KK, rooted, with all settings set properly (debug, security, etc...), and all caches/dalvik/data wiped, the CMW recovery just don't flash those lollipop roms. After just one sec, it says install completed but then the device still boot under KK.
TWRP doesn't even intall, so am wondering if this is even possible to get a TWRP on stock rom.
Have tried all of those with bootloader unlocked and locked, or a mix like unlocked first to be able to root a KK, then relock to flash a stock prerooted 5.1.1 (as stated in the post) but then I get a device that doesn't even boot.
Tried dualrecovery too, flash the zip, and nothing.
I suspect all of you guys have used some sort of .bat windows utility to get through this.
Once again, thanks for your help and patience.
ikho said:
I do use flashtool and am able to root a Kitkat 23.0.A.2.93, so I don't see the point in using giefroot unless it could root a lollipop.
Click to expand...
Click to collapse
The point is to go from the BEGINing _again_: Flash stock KK, giefroot, XZ, pre-rooted LP
I have done it in Linux w/ locked bootloader and stock ROM, hence my pointers.
XZDualrecovery has TWRP 2.8.7.0. But, do take note that you use Volume Down to enter PhilzTouch Recovery and Volume Up to enter TWRP.
Licaon_Kter said:
Both giefroot and FlashTool are for Win/Mac/Linux.
Click to expand...
Click to collapse
am sorry, can't find how to use giefroot on a mac.
read quite a few post of people saying that was not working for them.
Run the INSTALL.SH file in a console (just like they instruct you for the .BAT file for Windows), it detects OS and runs either adb for Linux or for Mac.
Well, like I said, it worked fine in Linux, I guess it should work on Mac, providing the device is detected ok beforehand and such. ( what does "adb devices" outputs with the phone connected ? )
Licaon_Kter said:
Run the INSTALL.SH file in a console (just like they instruct you for the .BAT file for Windows), it detects OS and runs either adb for Linux or for Mac.
Well, like I said, it worked fine in Linux, I guess it should work on Mac, providing the device is detected ok beforehand and such. ( what does "adb devices" outputs with the phone connected ? )
Click to expand...
Click to collapse
yaaay, houray it finally worked
big thanks man, you saved me $500 on that one !

(help) how to install official 6.0 using twrp on moto g3

Im still on 5.1.1 official version and my device is bootloader unlocked and twrp installed help me how to install official 6.0 version
First just flash 6.0 image through fastboot process in this twrp will be replace with stock recovery, Second flash someone's 6.0 Nandroid backup through TWRP...
Sent from my Toilet using Moto G3....
I have also same query, having xt1550 with 5.1.1 and unlocked bootloader with root access.
Also receiving OTA notification but can't install the same.
Tried to install OTA manually but could not go into recovery mode stuck on "No Command" screen.
Please guide....
beworld16 said:
I have also same query, having xt1550 with 5.1.1 and unlocked bootloader with root access.
Also receiving OTA notification but can't install the same.
Tried to install OTA manually but could not go into recovery mode stuck on "No Command" screen.
Please guide....
Click to expand...
Click to collapse
You can't flash OTA with root. You can look at the other thread on factory firmware and flash a Marshmallow factory image if one is available for your model. That is safer than flashing an OTA anyway.
Tel864 said:
You can't flash OTA with root. You can look at the other thread on factory firmware and flash a Marshmallow factory image if one is available for your model. That is safer than flashing an OTA anyway.
Click to expand...
Click to collapse
That's very much true.. Don't flash ota with TWRP with having root access..
Sent from my Moto G(Osprey)
Thanks for the reply
I have downloaded Official Firmware of 6.0 for XT1550 from here.
So Now, can i process with this using fastboot command.
If yes, will it look the bootloader ?
Tel864 said:
You can't flash OTA with root. You can look at the other thread on factory firmware and flash a Marshmallow factory image if one is available for your model. That is safer than flashing an OTA anyway.
Click to expand...
Click to collapse
I thought OTA's worked fine with root installed, although you often lose root in the process, it was custom recovery they burped at?

TWRP before root

HI,
I have the MOTO G TURBO EDITION, XT1557 in India.
If i unlock the bootloader, can i use fastboot to boot a TWRP recovery and take a backup
of the entire rom ??? This should be before i flash SUPERSU.
That way will i get an UNROOTED STOCK ROM ??
Is this possible or do you have to flash supersu and then only take a backup ??
Any thoughts please??
thanks
Greg
Flash twrp take backup and flash SuperSU you will get stock rom backup
gregferns said:
HI,
I have the MOTO G TURBO EDITION, XT1557 in India.
If i unlock the bootloader, can i use fastboot to boot a TWRP recovery and take a backup
of the entire rom ??? This should be before i flash SUPERSU.
That way will i get an UNROOTED STOCK ROM ??
Is this possible or do you have to flash supersu and then only take a backup ??
Any thoughts please??
thanks
Greg
Click to expand...
Click to collapse
That is what I did, unlocked bootloader, booted TWRP, made a TWRP backup, then flashed SuperSU. I never flashed TWRP, but that can always be done later.
HelpMeruth said:
Flash twrp take backup and flash SuperSU you will get stock rom backup
Click to expand...
Click to collapse
MrTooPhone said:
That is what I did, unlocked bootloader, booted TWRP, made a TWRP backup, then flashed SuperSU. I never flashed TWRP, but that can always be done later.
Click to expand...
Click to collapse
So in effect the STOCK ROM BACKUP that i will have will be NON ROOTED right ??
gregferns said:
So in effect the STOCK ROM BACKUP that i will have will be NON ROOTED right ??
Click to expand...
Click to collapse
Correct. And it is advisable. My first root attempt I tried 2.67. I ended up stuck on Unlocked bootloader message. I simply reflashed my backup, then tried 2.62-3. Been rooted ever since.
One other recommendation, save your backup to the SD card vice internal storage, otherwise you will have the permission challenges.

Categories

Resources