Moto G root solution - Moto G Android Development

Hi all!
I have created a Moto G root solution - well, 2 actually. The first is a 'superboot' and I also have an alternate modified recovery method in case that doesn't work.
The downloads are stickied here - http://www.modaco.com/forum/751-motorola-moto-g/
The approach i've used for the alternate method should also let us do a custom (CWM / TWRP) recovery.
Cheers,
P

i have already linked both on the FAQ, directly to your original MoDaCo threads, so that most people could access them
[SIZE=+1]Q8: How to Root my device ?[/SIZE]Until now,you first need to unkock your bootloader,
Option 1 : then follow this guide [original thread - on MoDaCo]
Option 2 : via a customized recovery [original thread, on MoDaCo]
paulobrien said:
The first method is recommended as it doesn't mess with the recovery. But the second is there as a backup.
Click to expand...
Click to collapse
After you get root, please read Q19​
one question though, is the second method to be used only if the first one failed or both are "equivalent" in terms of efficiency and risk taken ? If the second method works for everybody, then it should be the one preferred
edit : this thread should be stickied here too

Many thanks for this. Will there ever be an unlock for the boot loader that doesn't void our warranty?
Sent from my XT1032 using XDA Premium 4 mobile app

matmutant said:
i have already linked both on the FAQ, directly to your original MoDaCo threads, so that most people could access them
[SIZE=+1]Q8: How to Root my device ?[/SIZE]Until now,you first need to unkock your bootloader,
Option 1 : then follow this guide [XDA thread] or this one : MoDaCo source [original thread - more up-to-date]
Option 2 : via a customized recovery [original thread, on MoDaCo]​
one question though, is the second method to be used only if the first one failed or both are "equivalent" in terms of efficiency and risk taken ? If the second method works for everybody, then it should be the one preferred
edit : this thread should be stickied here too
Click to expand...
Click to collapse
The first method is recommended as it doesn't mess with the recovery. But the second is there as a backup.
P
Sent from my HTC One max using Tapatalk

Tried method A with Linux and Windows, didn't work. The second method worked like a charm as soon as I understood how to navigate the bootloader (note to me: read instructions on screen).
Good work.

recovery method works perfectly with my telcel Moto G, since the superboot method doesn't work.

I did it yesterday. The superboot.img worked good after the second time. The recovery didn't... My moto comes from German amazon.
Sent from my XT1032 using xda app-developers app

I rooted my device with the first method - worked.
Now i was finally able to install Xposed to get rid of the carrier label and block Ads with Adaway
Thanks!

Successfully unlocked and rooted my Tesco 16GB using Paul's method 2 recovery type.

German retail version, Linux
Method 1: no go (3 attempts)
Method 2: success

GB retail, worked fine on first attempt using superboot Win7 32bits

Root
Recovery sideload method worked for me when superboot did not.
Had my Moto-G a couple of weeks now and its rooted with dpi set to 240 global and Xposed framework installed with app setting module so i can set other individual apps to other more usable dpi scale.
all in all this is a great device and priced in such a way that its an easy device to try any mod or attempt any hack without worrying too much
Cheers for the tools again Paul.
all we need now is a fully working recovery where we dont have to select the line above to perform the action we want, twrp would be super cool !
==PEACE==

Root with superboot r2, moto g dual sim Brazilian. Works fine.
Thanks

Both are failing for me. Says everything copies right but on boot up nothing. Also cant sideload the SU app.
--Edit--
I was able to get root by using TWRP http://forum.xda-developers.com/showthread.php?t=2561757 and then flashing the SU app from the first method.
Rebooted opened the SU app and it asked to updated using TWPR
Phone flashed the updated files in TWRP
Rebooted phone with root access!

Tried solution 1 (no custom recovery) with Windows 7
no problems at all
Thanks
****** UPDATE ******
rooted a second Moto G - solution 1 (no custom recovery) - also working like a charm!
thanks for the Guide!
Moto G - German Version

So is there any method to unlock the bootloader without going through Motorola? Then you could unlock the bootloader but relock it if you need to send in your device for warranty service. Otherwise, they'll have your ID on file requesting an unlock code, and I assume would refuse any warranty service (wonder how strict they are about this?).

m7ia said:
So is there any method to unlock the bootloader without going through Motorola? Then you could unlock the bootloader but relock it if you need to send in your device for warranty service. Otherwise, they'll have your ID on file requesting an unlock code, and I assume would refuse any warranty service (wonder how strict they are about this?).
Click to expand...
Click to collapse
Unless someone cracks the protection that the ID provides (which may not even be possible if it is in hardware), no. By law in most countries in Europe the voiding your warranty part is a bit tricky, for obvious hardware failures, they would still have to support you in any case. In the US, you are, as usual, screwed..
If you only want to root, MAYBE someone can come up with a privilege escalation exploit that would do that job. Would be easier than trying to crack the bootloader protection, I'd imagine.

Hello there.
Hi, I fixed the problem was that I used the google back up of my previous phone with the motorola migration, I had to delete everything with the recovery mod and then it worked.
I got this problem what should I do. Thank you
Then I tried the other method and comes up device no found

Try running it as administrator
Sent from my Nexus 7 using Tapatalk

After unlock bootloader will be possible to re-lock in future? Or it will remain lock for always? Thanks

Related

[ROOT] HTC One X AT&T 2.20 Firmware - X-Factor root exploit

I have successfully rooted the AT&T HTC One X running build 2.20.
In the previous build (1.85), S-ON was only partially enforced, so it was possible to modify the /system partition without having unlocked the bootloader, in order to install su and Superuser.apk. This was changed in build 2.20: full S-ON is now in effect. As a result, it is no longer possible to write to /system even after remounting it as writable, since the S-ON feature has NAND-locked the storage.
In other words, it's impossible have a "permanent root" on 2.20 in the traditional sense without unlocking the bootloader.
I have prepared an exploit that gains temporary root access by leveraging two vulnerabilities and uses these newly gained root privileges to overwrite the CID ("superCID"), so that it's possible to unlock the bootloader via HTC's website. I'm sorry if you'd prefer to not unlock your bootloader this way, but there are no other options for root access available.
===========
DISCLAIMER
===========
This exploit modifies the CID of your device. Doing so likely voids your warranty, and may be in violation of your contract with AT&T (I am not a lawyer). Additionally, while this exploit has been tested and has not been observed to cause any negative side effects in practice, I am in no way responsible if it turns your device into an expensive paperweight.
=============
INSTRUCTIONS
=============
1. Download the exploit from:
http://vulnfactory.org/public/X_Factor_Windows.zip
Edit: Linux/Mac version available here. Thanks to Jesse Osiecki (@jesseosiecki) for suggesting I support this and providing me with a working version (that I ended up re-writing):
http://vulnfactory.org/public/X_Factor_Linux_OSX.zip
2. Extract the entire zip file.
3. Connect your device via USB, ensure you have the latest HTC USB drivers installed (only on Windows), and ensure USB debugging mode is enabled.
4. Double-click "run.bat", or if running Linux or OSX, open a terminal, change directories to the extracted exploit, and run "./run.sh".
5. Follow the instructions printed by the exploit. You will need to authorize two backup restorations during the exploit's execution.
6. If the exploit is successful, it will print "[+] Set CID!". If it does not print this, the exploit has failed, so please do not continue.
7. The exploit will automatically reboot into bootloader mode. Press enter after bootloader mode is finished booting, and the exploit will print your CID. If the exploit was successful, it should return "11111111" as your CID.
8. If your CID was successfully set, press enter to generate an unlock token.
9. Visit htcdev.com, navigate to the "Bootloader unlock" section, choose "All other supported models" from the drop-down menu, and provide the unlock token when asked.
10. After unlocking the bootloader, you can flash a custom recovery partition via fastboot, boot into recovery mode, and use a recovery ADB shell or install from an update.zip to install Superuser and su (I do not provide support for custom recoveries, but this is a straightforward process that other people can help with).
======
NOTES
======
I am not affiliated with any Android forum or group, including XDA - this is just where I've chosen to publish this exploit.
Portions of this exploit are similar in concept to the ADB backup/restore exploit published by Bin4ry, but the vulnerability used in this exploit is entirely distinct from Bin4ry's.
========
CREDITS
========
Thanks to Michael Coppola for pointing me at the vulnerable driver I leverage for the second phase of the exploit, and props for independently discovering the same vulnerability I used. Thanks to jcase and P3Droid for their continuing support - I owe you guys beers.
======
Paypal
======
http://goo.gl/zBGb0
Awesome job!
Thanks for this djrbliss .. root.. yeah!!
Great work man! Congrats.
And welcome to all the new ROM flashers
Well, seems like here's the proof.
I take back my doubts, very nice job!
the one xl is my first android device so i got some questions
by temp root you mean when you shut off the phone we need to do it again?
and i guess there will be a perm root soon because of this exploit am i right?
also ty very much djrbliss
for achieving this :].
It utilizes a temp root to change the CID and therefore unlock
The unlock is permanent, the root is temporary
Though after you unlock, just flash a SuperUser zip and you will get permanent root
Temp root is being used to spoof the CID and unlock the bootloader in order to flash a custom recovery, and thus custom ROMs that are then rooted. This is a permanent root solution.
speednir123 said:
the one xl is my first android device so i got some questions
by temp root you mean when you shut off the phone we need to do it again?
and i guess there will be a perm root soon because of this exploit am i right?
also ty very much djrbliss
for achieving this :].
Click to expand...
Click to collapse
This will fully root your phone. Just follow instructions to root, Super CID, unlock BL then flash recovery.
The root itself is a different manner than 1.85 but the whole process after should be the same. This is a method to get you to unlock the BL.
Stupid question. Will this method work on Mac?
Sent from my HTC One X using xda app-developers app
It's not working for me, dammit
/system/bin/sh: /data/local/tmp/pwn: cannot execute - Permission denied
Sent from my HTC One X using Tapatalk 2
Yes! Finally!
Sent from my HTC One X using xda app-developers app
h1m said:
Stupid question. Will this method work on Mac?
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Well the bat file won't run obviously, but if you open up the bat and step through the commands it will work just fine.
ty guys for answering
i got another question does some one got
a step by step about the flash recovery stuff cause it's really confusing
Finally, you are the man!!! I've been following the think tank religiously every day for 2 months.
Sent from my HTC One X using Xparent Blue Tapatalk 2
Thanks for the work you put in on this, and congrats to all you 2.20 guys. Will send my donation I pledged this evening.
So this will work with the new HBOOT as well then? Say if someone uses the 2.20 RUU or got an ATT HOXL with the updated bootloader that came with 2.20 ?
Example - I can flash the 2.20 RUU to get a "fresh start" for my phone ( I have the older hboot , unlocked with S-On, never took the 2.20 update), run this, re-unlock, and then put CM10 back on and everything will function as it does now ?
Sent from my One X using Tapatalk 2
billydroid said:
It's not working for me, dammit
/system/bin/sh: /data/local/tmp/pwn: cannot execute - Permission denied
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
Sorry, made a small mistake. I've uploaded a new version to the same URL, please re-download and try again.
Thanks a lot man, massive help!! Will get to downloading right after I charge up!!
Sent from my HTC One X using xda premium
jakew02 said:
So this will work with the new HBOOT as well then? Say if someone uses the 2.20 RUU or got an ATT HOXL with the updated bootloader that came with 2.20 ?
Example - I can flash the 2.20 RUU to get a "fresh start" for my phone ( I have the older hboot , unlocked with S-On, never took the 2.20 update), run this, re-unlock, and then put CM10 back on and everything will function as it does now ?
Sent from my One X using Tapatalk 2
Click to expand...
Click to collapse
Why would you want to. Then you would have to flash boot.img separately which isn't that big of a deal but still annoying.

Should I root my MOTO G 2015? To get more storage?

Hello everyone! I didn't want to root my new MOTO G 2015 but I need more storage if I want to install more app's, I saw with root permissions we can transfer full sized app's to the sd, is it true? and how? I've seen already a guide how to root moto g 2015, but know I want to know how to transfer full sized app's to the SD and then i'll decide if I want to root or not.
Do you think I should root? It will be better If i want more storage?
Is it safe? The Lollipop will be automatically installed after the root? I have no need on install other Android OS.
Thank you!
Hey! I can see that you are new here, but rooting your phone isnt gonna delete anything of your data if you search on this forum for Link2sd than you will find a tuturial for how to do that. But if you dont understand any of the words "Brick" or "fastboot" you should do some research first.
success!
HelpMeruth said:
Hey! I can see that you are new here, but rooting your phone isnt gonna delete anything of your data if you search on this forum for Link2sd than you will find a tuturial for how to do that. But if you dont understand any of the words "Brick" or "fastboot" you should do some research first.
success!
Click to expand...
Click to collapse
Hello HelpMeruth! And thank you for replying my question!
Here's what I already searched this is , i've got alot of information already but the information I got says my phone will be formatted I think. Brick I remember that word a long time ago when the PSP Scene I know it's not android but I remember it, it's like having a non funcional phone, bricked.
Here's the guide I saw: (I can't post links, if you can search on the youtube : "Moto G 3rd Gen(2015) - How to Root - Unlock Bootloader & Custom Recovery") and tell me if that guide will not brick or format my moto g 3
Any chance of getting bricked? It will remove my SIM Service? I have the phone just for a week and the warranty it's 2 here's, If I root the warranty goes out, is it worth rooting?
Thanks for the reply sir and yes i'm really new in the android scene, just came from the iOS one, got mad at iOS
I can confirm that your phone will not be formatted
The word brick means that your phone wont start up.
Its a gamble for everyone to root, so when you are gonna do it try just booting Twrp. That is the safest way to test it.
But strart with unlocking your bootloader thats already a big step for rooting (unlocking bootloader will format your data!)
If you got any questions send me message!
Its your choise to root or not
HelpMeruth said:
I can confirm that your phone will not be formatted
The word brick means that your phone wont start up.
Its a gamble for everyone to root, so when you are gonna do it try just booting Twrp. That is the safest way to test it.
But strart with unlocking your bootloader thats already a big step for rooting (unlocking bootloader will format your data!)
If you got any questions send me message!
Its your choise to root or not
Click to expand...
Click to collapse
You do NOT need to unlock bootloader in order to root.
You DO need to unlock your bootloader for TWRP, unless booted temporarily.
Sent from my MotoG3
christopherrrg said:
You do NOT need to unlock bootloader in order to root.
You DO need to unlock your bootloader for TWRP, unless booted temporarily.
Sent from my MotoG3
Click to expand...
Click to collapse
What? you have to unlock the bootloader in order to boot/flash twrp.
and with twrp you can root, how do you root with locked bootloader?
HelpMeruth said:
What? you have to unlock the bootloader in order to boot/flash twrp.
and with twrp you can root, how do you root with locked bootloader?
Click to expand...
Click to collapse
Root toolkit
http://forum.xda-developers.com/showthread.php?p=62922929
Sent from my MotoG3
christopherrrg said:
Root toolkit
http://forum.xda-developers.com/showthread.php?p=62922929
Sent from my MotoG3
Click to expand...
Click to collapse
You shouldnt be able to root with a locked bootloader, i quote: 'A locked bootloader locks write access to several partitions like the system partition. This is the reason why rooting is not able without unlocked bootloader.' found on this site https://www.quora.com/What-are-the-main-differences-between-Rooting-and-Unlocking-Bootloader
that tool just has a build in fastboot/adb and automate things for you.
(sorry for my bad english)
HelpMeruth said:
You shouldnt be able to root with a locked bootloader, i quote: 'A locked bootloader locks write access to several partitions like the system partition. This is the reason why rooting is not able without unlocked bootloader.' found on this site https://www.quora.com/What-are-the-main-differences-between-Rooting-and-Unlocking-Bootloader
that tool just has a build in fastboot/adb and automate things for you.
(sorry for my bad english)
Click to expand...
Click to collapse
Yeah after doing some research motorola devices seem to have that in place. I was speaking generally from a vanilla aosp aspect. Good find.
Sent from my MotoG3
Btw, If I install CyanogenMod it will reset my moto g firmware? Or install another firmware version? Thanks
M05K said:
Btw, If I install CyanogenMod it will reset my moto g firmware? Or install another firmware version? Thanks
Click to expand...
Click to collapse
Installing cyanogenmod will still keep you on 5.1.1 your device will just be modified (custom tweaks etc..) so if you have to unlock your bootloader it will void any warranties you have. If you don't have one or don't care just make sure to read carefully as you sound relatively new to CM and you don't want to brick your device.
Sent from my MotoG3
christopherrrg said:
Installing cyanogenmod will still keep you on 5.1.1 your device will just be modified (custom tweaks etc..) so if you have to unlock your bootloader it will void any warranties you have. If you don't have one or don't care just make sure to read carefully as you sound relatively new to CM and you don't want to brick your device.
Sent from my MotoG3
Click to expand...
Click to collapse
Yes it will be modified to cyanogenmod firmware right? So the firmware updates from MOTO G 3 I had installed will go resetted to the cyanogenmod firmware right?
M05K said:
Yes it will be modified to cyanogenmod firmware right? So the firmware updates from MOTO G 3 I had installed will go resetted to the cyanogenmod firmware right?
Click to expand...
Click to collapse
Correct.
Cm12.1 is just 5.1.1 that's why I said it would.
You may see custom aosp 6.0 ROMs before any real factory builds.
Sent from my MotoG3

Can I root the Moto G3 with an app like KingRoot?

Hi peps,
I just switched from my crappy HTC One X to my new Moto G3 and I'm in love!
I don't really want a custom ROM, but I'd like to undervolt this babe. But since a root requires unlocking the bootloader = voiding the manufacturers warranty, I don't really wanna do that..
I've bought it over Amazon and I live in the EU, so I technically still have the retailer's warranty and Amazon would replace it without a hassle, but yeah.. it's new and all.
But I know there are apps like towelroot, KingRoot and what not, do they work with the Moto G3? I'm on 5.1.1.
Jut install SuperSU ZIP using TWRP recovery
Osid said:
Jut install SuperSU ZIP using TWRP recovery
Click to expand...
Click to collapse
Could you read my post first?
squid2 said:
Your bootloader must be unlocked to use this recovery.
Click to expand...
Click to collapse
unlocking bootloader = voiding warranty.
shawly said:
Could you read my post first?
unlocking bootloader = voiding warranty.
Click to expand...
Click to collapse
If you're worried about voiding the warranty, you're on the wrong site.
Ragarianok said:
If you're worried about voiding the warranty, you're on the wrong site.
Click to expand...
Click to collapse
Thanks for this unnecessary input. :good:
On previous versions of Android there were exploits that allowed rooting the phone without unlocking the bootloader, which means you could keep your warranty and I just asked if it works on the current Moto G3 with Lollipop 5.1, why do you have to be such a smartass? It's a normal question, why can't I have a normal answer?
I used to root in one click in just one method on my previous phone xperia sp but i dont know this phone have any toll which will work or not?
shawly said:
Thanks for this unnecessary input. :good:
On previous versions of Android there were exploits that allowed rooting the phone without unlocking the bootloader, which means you could keep your warranty and I just asked if it works on the current Moto G3 with Lollipop 5.1, why do you have to be such a smartass? It's a normal question, why can't I have a normal answer?
Click to expand...
Click to collapse
Being a smartass is kind of my thing.
You're afraid to unlock your device's bootloader because you'll lose the warranty, but you're perfectly fine with risking the security of your device by rooting it, right? Seems odd to me, but whatever.
Generally speaking, both KingRoot and TowelRoot are used on devices where using those two methods are the only way to root those devices.
Unlocking the bootloader will have no ill effect on your device other than voiding the warranty, and, if you're worried about voiding your warranty, you shouldn't be trying to modify your device.
In the words of the always optimistic Ms. Frizzle: "Take chances, make mistakes, and get messy!"
---------- Post added at 10:39 AM ---------- Previous post was at 10:33 AM ----------
zephiK said:
Just unlock the bootloader and root. You're making it too difficult for yourself, the whole point of the bootloader being locked is to prevent changes being made to the system.
Its like saying, you're going to break your windows to get into your house when you can just unlock the door.
Just unlock the bootloader and flash supersu for root.
Click to expand...
Click to collapse
Also this.
Ragarianok said:
Being a smartass is kind of my thing.
You're afraid to unlock your device's bootloader because you'll lose the warranty, but you're perfectly fine with risking the security of your device by rooting it, right? Seems odd to me, but whatever.
Generally speaking, both KingRoot and TowelRoot are used on devices where using those two methods are the only way to root those devices.
Unlocking the bootloader will have no ill effect on your device other than voiding the warranty, and, if you're worried about voiding your warranty, you shouldn't be trying to modify your device.
In the words of the always optimistic Ms. Frizzle: "Take chances, make mistakes, and get messy!"
Click to expand...
Click to collapse
Who said I'm afraid of unlocking the bootloader? Who said I never unlocked the bootloader of other phones before?
I just don't wanna lose my warranty in the first two or three months, in case my phone breaks unexpectedly, I also don't plan on using custom roms, I just want the root features so I can undervolt like I said and IF I could root it permanently without unlocking the bootloader, why not?
I'm not worried, it would just be convenient to have root without losing the warranty, that's it.
As far as I know you may be able to do it search kingroot in Google then download the apk and install it then open in and follow the instructions
shawly said:
Who said I'm afraid of unlocking the bootloader? Who said I never unlocked the bootloader of other phones before?
I just don't wanna lose my warranty in the first two or three months, in case my phone breaks unexpectedly, ...
Click to expand...
Click to collapse
Then leave the device stock ...
If you want the best of both worlds (root & warranty), then go buy a Nexus. Motorola drew a line in the sand as to what they will support, while still empowering owners with the option to unlock the bootloader.
Sent from my MotoG3 using Tapatalk
Ragarianok said:
If you're worried about voiding the warranty, you're on the wrong site.
Click to expand...
Click to collapse
Not really. While I've unlocked my previous phones, my new g3 I'm leaving locked for the first year, while the warranty lasts. But this site still has a few helpful stuff.
Ragarianok said:
...You're afraid to unlock your device's bootloader because you'll lose the warranty, but you're perfectly fine with risking the security of your device by rooting it, right? Seems odd to me, but whatever...if you're worried about voiding your warranty, you shouldn't be trying to modify your device...
Click to expand...
Click to collapse
He just wants the warranty, but he doesn't care about rooting it because there's not really anything wrong with rooting if you know what you're doing and how to fix it.
Sent from my MotoG3 using XDA Free mobile app
---------- Post added at 01:03 PM ---------- Previous post was at 01:03 PM ----------
And to answer the question; you need to unlock the bootloader to root
Sent from my MotoG3 using XDA Free mobile app
Question, I attempted to use towelroot on my stock g3 and got a message saying my phone is not supported. Any help is greatly appreciated. Also, fairly newbish, so be gentle!!
Jdwright0819 said:
Question, I attempted to use towelroot on my stock g3 and got a message saying my phone is not supported. Any help is greatly appreciated. Also, fairly newbish, so be gentle!!
Click to expand...
Click to collapse
Towelroot is exploiting a bug in the Linux Kernel in order to root a device. This bug was already fixed in June 2014.
On all Kernels with a later build date Towelroot will most likely not work.
For sure it will not work on the Moto G3 with a kernel build date more than one year after this bug was fixed.
Thanks!
shawly said:
Hi peps,
I just switched from my crappy HTC One X to my new Moto G3 and I'm in love!
I don't really want a custom ROM, but I'd like to undervolt this babe. But since a root requires unlocking the bootloader = voiding the manufacturers warranty, I don't really wanna do that..
I've bought it over Amazon and I live in the EU, so I technically still have the retailer's warranty and Amazon would replace it without a hassle, but yeah.. it's new and all.
But I know there are apps like towelroot, KingRoot and what not, do they work with the Moto G3? I'm on 5.1.1.
Click to expand...
Click to collapse
It's probably been answered already but those exploits are security flaws with the SE Linux system and so with each release of android these have been patched, by 5.1 these security holes have been fixed and now by locking the bootloader
It's like just locking down and modifications to the system partition so unfortunately you can't root without unlocking, unless you have android versions lower down
shawly said:
Thanks for this unnecessary input. :good:
On previous versions of Android there were exploits that allowed rooting the phone without unlocking the bootloader, which means you could keep your warranty and I just asked if it works on the current Moto G3 with Lollipop 5.1, why do you have to be such a smartass? It's a normal question, why can't I have a normal answer?
Click to expand...
Click to collapse
I have unlocked bootloader and i m on stock recovery amd on stock rom without rooted. Can i install twrp without pc
Are you root yet
I have moto g 3, its bootloader is unlpcked but when I tried to root it using SuperSU and twrp recovery then I ended up corrupting it software. Can anybody tell me how to safely root it...?
Ankur1 said:
I have moto g 3, its bootloader is unlpcked but when I tried to root it using SuperSU and twrp recovery then I ended up corrupting it software. Can anybody tell me how to safely root it...?
Click to expand...
Click to collapse
What version of TWRP did you use coz I know there were some bugs on the moto range with TWRP 2.X.
I would completely wipe device using stock recovery, including dalvic/cache/data everything just to be on the safe side, then download the TWRP zip to your computer and flash it on using ADB.
Boot up normally and move the superSU zip from the link to your phones internal storage. Then reboot to TWRP, select install and pick the zip file.
superSU.zip:
http://dl-1.va.us.xda-developers.com/3/6/5/5/4/0/1/BETA-SuperSU-v2.62-3-20151211162651.zip?key=u0OeGV4-4s02KJXqrXJ-gg&ts=1466705675
If you get stuck this might help:
https://motog3.com/unlock-bootloader-install-twrp-root-moto-g3/
No longer works
Osid said:
Jut install SuperSU ZIP using TWRP recovery
Click to expand...
Click to collapse
Perhaps you can offer wisdom on this? I rooted my Moto G 3rd Gen once, wrecked something and had to go back to factory, then try to reroot again. Problem. No matter what I do in setting the device back to factory, the bootloader stays unlocked and reads the system software as "modified" which then seems to bork installing SuperSU. I install SuperSU via twrp and it goes fine, no errors, but when I reboot the system is lost in a loop of the "bootloader unlocked" screen.
So I cannot RE-lock the bootloader (ala setting the phone back to true factory) and after I flash SuperSU the phone refuses to successfully bootup.
Any aid? Ideas?
I had failed to backup my phone the first time with twrp and so to set to factory I downloaded the stock retail xml.zip for my phone and reflashed the entire thing via fastboot. Reinstall twrp, and try to root and the endless boot loop begins.
So I came to this thread to look into the possibility rooting my phone via another means that MIGHT work.

Z5 Bootloader unlocked but no root... Why?

Hi,
I unlocked the bootloader of my Z5 using Sony's official method (=receiving SONY unlock code after sending in the IMEI).
As you can tell from the enclosed screenshots, my phone is supposedly rooted - which is accomplished by unlocking the bootloader, isn't it? Unfortunately, any app I use to verify root is telling me I'm not (see attached png).
I've tried to find help (threads) in XDA on the web, but did not find anything that would explain this "phenomenon"... I'm at a total loss! Rooting past devices (plenty of other Android tablets and phones) has never been an issue - as it seems to be with the officially sanctioned SONY unlock process....
Anyone who can tell me what's going wrong?
Thanks much in advance!
AA
Unlocking bootloader doesn't give root access.
As of now you have to flash a custom kernel and then flash the SU binaries in recovery.
Thanks, Gamer649.... that explains.
Apparently, it also explains how lucky I have been in the past with rooting my devices by only following guides/instructions put together by fellow tinkerers on this fine board! :thumbup:
I did already push TWRP, and I had SuperSU (app) installed as well. Obviously that didn't cut it...
Now that I know what's missing, I'll check for those pieces and get them in place.
Thank you!
AA
Sent from my E6653 using XDA Free mobile app

Moto One 5G Ace root guide

Prerequisites:
Your G 5G/One 5G has bootloader unlocked
LMSA installed
ADB is up to date
Your phone battery should be at least 60%
Your phone is wiped during bootloader unlock process
It's recommended to run LMSA rescue in order to have build version up to date, and you will get required boot.img for patching. Observe the ROM download process, and when it's close to finishing, go to the folder link on the bottom right, and go to ROM files. It's recommended to copy entire .zip file to download folder, and make sure you get boot.img and copy to the phone (set USB mode to file transfer) Download folder, and set USB mode to charging after it's done
Install Magisk Manager and update to the latest, and patch boot.img.
Change USB to file transfer and get patched_boot.img back to host computer
Open command, and go to ADB folder
Reboot the phone to bootloader
Code:
adb reboot bootloader
Code:
fastboot flash boot
Press spacebar once, and drag and drop patched boot to command window and press enter
Before doing restoration, make sure you do the following
1. Setup Magisk Manager and enable Magisk Hide and Systemless Hosts. You will be prompted to run "environmental setup" and the phone reboots during process. Check CTS and it should pass
2. Wipe Google Play Store
3. Reboot and install AdAway
4. Reboot again
5. Restore your phone
You should be able to install Netflix but you will lose L1
Update: you need these additional steps in Magisk to pass
1. Install latest riru in Magisk
2. Download and install Safetynet fix https://github.com/kdrag0n/safetynet-fix
Your phone will reboot twice
Apparently the us version is not able to be rooted as the bootloader cannot be unlocked . Device not supported for bootloader unlock according to the portal.
Can anyone confirm that this bootloader is locked and cannot be unlocked? Anyone else have the US unlocked version and went to the motorola portal and tried to unlock theirs with the same results?
swes013 said:
Apparently the us version is not able to be rooted as the bootloader cannot be unlocked . Device not supported for bootloader unlock according to the portal.
Click to expand...
Click to collapse
You can not trust the official supported unlock list, it's never been complete.
You can check if the device's CID is eligible for unlocking, and if the OEM unlocking is greyed out you cannot.
If the CID is good and OEM can be toggled, you need to request the unlock code to be sure.
sd_shadow said:
You can not trust the official supported unlock list, it's never been complete.
You can check if the device's CID is eligible for unlocking, and if the OEM unlocking is greyed out you cannot.
If the CID is good and OEM can be toggled, you need to request the unlock code to be sure.
Click to expand...
Click to collapse
Well I have enabled developer settings. In that I have enabled usb debugging as well as oem unlocking. I tried to unlock the bootloader. No joy. I talked to a moto rep who said in a chat it was not available for unlock at this time according to the list. The usual B.S.
swes013 said:
Well I have enabled developer settings. In that I have enabled usb debugging as well as oem unlocking. I tried to unlock the bootloader. No joy. I talked to a moto rep who said in a chat it was not available for unlock at this time according to the list. The usual B.S.
Click to expand...
Click to collapse
Correction Folks I got it. Apparently I had bad format. Sorry.
swes013 said:
Apparently the us version is not able to be rooted as the bootloader cannot be unlocked . Device not supported for bootloader unlock according to the portal.
Click to expand...
Click to collapse
Mine is US unlocked version and rooted
Okay so I have been down the road and back again folks. I now have my Moto one 5g ace fully bootloader unlocked as well as Magisk root installed and my root explorer and titanium backup are being granted Super user permissions. Yes Finally. Now If anyone and I mean anyone needs help or has a issue please message me. i have created a list of fastboot commands in order specific to the Moto one ace 5g that WILL RESTORE THE FACTORY IMAGES IN PROPER ORDER FOR THE ROM. FORGIVE ME i AM STILL NEEDING TO MAKE A FLASH ALL.BAT FOR THIS. HOWEVER, IT WORKS FLAWLESSLY IF DONE INDIVIDUALLY TO RESTORE YOUR ONE ACE 5G BACK TO STOCK. So I am a very happy One ace 5g owner with unlocked bootloader and, Root privilege's. Now awaiting some further development for the Recovery image and some custom Roms from some Developers smarter than Me. Ha Ha Ha. So for now I wait. I will update if i get the Flash all.bat file accomplished.
Thanks to XDA for their years of instruction and direction.
swes013 said:
Okay so I have been down the road and back again folks. I now have my Moto one 5g ace fully bootloader unlocked as well as Magisk root installed and my root explorer and titanium backup are being granted Super user permissions. Yes Finally. Now If anyone and I mean anyone needs help or has a issue please message me. i have created a list of fastboot commands in order specific to the Moto one ace 5g that WILL RESTORE THE FACTORY IMAGES IN PROPER ORDER FOR THE ROM. FORGIVE ME i AM STILL NEEDING TO MAKE A FLASH ALL.BAT FOR THIS. HOWEVER, IT WORKS FLAWLESSLY IF DONE INDIVIDUALLY TO RESTORE YOUR ONE ACE 5G BACK TO STOCK. So I am a very happy One ace 5g owner with unlocked bootloader and, Root privilege's. Now awaiting some further development for the Recovery image and some custom Roms from some Developers smarter than Me. Ha Ha Ha. So for now I wait. I will update if i get the Flash all.bat file accomplished.
Thanks to XDA for their years of instruction and direction.
Click to expand...
Click to collapse
That's why you have original ROM or boot in order to revert.
Should everything get messed up, you can fully restore with LMSA rescue (data will be wiped during process)
mingkee said:
That's why you have original ROM or boot in order to revert.
Should everything get messed up, you can fully restore with LMSA rescue (data will be wiped during process)
Click to expand...
Click to collapse
FYI I DID NOT USE LMSA TO RESTORE I USED FASTBOOT. HENCÈ THE POST THAT SAID IF ANYONE WANTED HELP OR HIT A ROADBLOCK OR SNAGS PER SAY TO MESSAGE ME. THANKS. I COULD NOT USE LMSA AFTER ATTEMPTING THE PROCESS YOU STATED. WHEN I DID YOURS EXACTLY I GOT A BOOT UP WITH A DISABLED TOUCHSCREEN. HERE TO HELP. THANKS AGAIN
swes013 said:
Okay so I have been down the road and back again folks. I now have my Moto one 5g ace fully bootloader unlocked as well as Magisk root installed and my root explorer and titanium backup are being granted Super user permissions. Yes Finally. Now If anyone and I mean anyone needs help or has a issue please message me. i have created a list of fastboot commands in order specific to the Moto one ace 5g that WILL RESTORE THE FACTORY IMAGES IN PROPER ORDER FOR THE ROM. FORGIVE ME i AM STILL NEEDING TO MAKE A FLASH ALL.BAT FOR THIS. HOWEVER, IT WORKS FLAWLESSLY IF DONE INDIVIDUALLY TO RESTORE YOUR ONE ACE 5G BACK TO STOCK. So I am a very happy One ace 5g owner with unlocked bootloader and, Root privilege's. Now awaiting some further development for the Recovery image and some custom Roms from some Developers smarter than Me. Ha Ha Ha. So for now I wait. I will update if i get the Flash all.bat file accomplished.
Thanks to XDA for their years of instruction and direction.
Click to expand...
Click to collapse
Could you please post the CA combo data for your variant?
Went to try out this phone, had no idea would be able to root it, was just looking for a basic phone with a decent display and battery. Thanks for the guide @mingkee! My first device borked on the LMSA update, it broke the wifi on it. Returned for a new phone, unlocked the BL and this one working just fine. Nice and rooted and no more ads.
What's the CA combo data exactly.?
swes013 said:
What's the CA combo data exactly.?
Click to expand...
Click to collapse
Its the carrier aggregation configuration for the different bands supported by the hardware and ths software of the phone. It usually differs by region for the same phone model.
The following site is a good reference point for this information.
https://cacombos.com/
swes013 said:
What's the CA combo data exactly.?
Click to expand...
Click to collapse
Its the carrier aggregation configuration for the different bands supported by the hardware and ths software of the phone. It usually differs by region for the same phone model.
The following site is a good reference point for this information.
https://cacombos.com/
Reporting that bootloader unlock works PERFECTLY on the MetroPCS variant. But don't format the string yourself, use the Moto Data Scrub Tool they have on the unlock page. If you do it yourself it will come up error.
swes013 said:
Okay so I have been down the road and back again folks. I now have my Moto one 5g ace fully bootloader unlocked as well as Magisk root installed and my root explorer and titanium backup are being granted Super user permissions. Yes Finally. Now If anyone and I mean anyone needs help or has a issue please message me. i have created a list of fastboot commands in order specific to the Moto one ace 5g that WILL RESTORE THE FACTORY IMAGES IN PROPER ORDER FOR THE ROM. FORGIVE ME i AM STILL NEEDING TO MAKE A FLASH ALL.BAT FOR THIS. HOWEVER, IT WORKS FLAWLESSLY IF DONE INDIVIDUALLY TO RESTORE YOUR ONE ACE 5G BACK TO STOCK. So I am a very happy One ace 5g owner with unlocked bootloader and, Root privilege's. Now awaiting some further development for the Recovery image and some custom Roms from some Developers smarter than Me. Ha Ha Ha. So for now I wait. I will update if i get the Flash all.bat file accomplished.
Thanks to XDA for their years of instruction and direction.
Click to expand...
Click to collapse
Please Post the Commands for the Restore from Factory image as they are slightly different than the G series prior to 2019. Thanks.
swes013 said:
FYI I DID NOT USE LMSA TO RESTORE I USED FASTBOOT. HENCÈ THE POST THAT SAID IF ANYONE WANTED HELP OR HIT A ROADBLOCK OR SNAGS PER SAY TO MESSAGE ME. THANKS. I COULD NOT USE LMSA AFTER ATTEMPTING THE PROCESS YOU STATED. WHEN I DID YOURS EXACTLY I GOT A BOOT UP WITH A DISABLED TOUCHSCREEN. HERE TO HELP. THANKS AGAIN
Click to expand...
Click to collapse
My touchscreen is indeed fronzen after boot.img flash. Please again, post the commands. It is much appreciated.
Articul8Madness said:
Please Post the Commands for the Restore from Factory image as they are slightly different than the G series prior to 2019. Thanks.
Click to expand...
Click to collapse
The flash commands are included in the flashfile.xml, which should always be referred to because the commands do change from time to time.
I suggest using the online flash file convertor.
Then copy the commands to a text file, save, rename the file extension to .bat
done you have your own flashall.bat
only exception is if your device uses the new fastbootd mode.
sd_shadow said:
The flash commands are included in the flashfile.xml, which should always be referred to because the commands do change from time to time.
I suggest using the online flash file convertor.
Then copy the commands to a text file, save, rename the file extension to .bat
done you have your own flashall.bat
only exception is if your device uses the new fastbootd mode.
Click to expand...
Click to collapse
Well I definitely have an issue since I can't use the touchscreen I can't boot into fastboot right now or reboot the phone manually.
Update for the challenged: Hold the power button with the up volume rocker for forced reboot.

Categories

Resources