yashsingh1/xdaforums huggingface dataset:
[Moto G General] Entropy512:
I uploaded a TWRP build that is fully functional on 4.4 bootloaders to the TWRP thread.

No need to downgrade your bootloaders any more.

ALSO:

No need for mfastboot, normal fastboot has worked fine for me for all purposes so far, at least on my Linux boxes.

You don't need to flash recovery, you can just boot it using "fastboot boot <image file>"
[Moto G General] denzel09:
Thanks

Question: is there a good way for Moto G to boot in recovery without unlock bl to root?

I mean a way to root without need unblock bl.
[Moto G General] Cooptx:
No there isn't. The bootloader is designed to prevent root...
[Moto G General] RadRacer:
So, is it possible to root without unlocking the boot loader? Perhaps by just booting the recovery image as stated above, instead of flashing it
[Moto G General] Cooptx:
Thanks. I will update the tool zip when I get home. As for the mfastboot, one extra letter won't bother anyone :P
[Moto G General] danger2u:
can u update with Clockworkmode recovery for 4.4.2 without flash the 4.3 bootloader?
[Moto G General] Cooptx:
If [MENTION=591147]Entropy512[/MENTION] has one ready for us :)
[Moto G General] krucymucy:
I have a question.

I've installed twrp recovery then phone automatically booted into recovery and then I installed superSU.

Now the question is, how can I access TWRP recovery if I would like to install some updates, make some backup...?

On defy I had to press volume down button to access TWRP, but on moto G I don't know how to get in there.

Tnx!
[Moto G General] wouter-visser:
Press Volume Down and Power to enter the Fastboot mode.

Then you press Volume Down to select 'Recovery' and you enter the selected option

by pressing the Volume Up button

.

So you have to enter Fastboot before you can enter recovery.
[Moto G General] krucymucy:
I've tried that, but then it just shows an icon of the android robot lying on the floor with his guts opened and it says below "no command"
[Moto G General] pisherthefisher:
Team Fah-Q? Haha I remember you guys from the galaxy s 4g :D nice to see you on moto g now
[Moto G General] alonsoch:
Root maybe?

How about:

"Fastboot boot recovery.img" CWM, then you can flash the superuser zip without unlocking the bootloader or flashing a different recovery.

some one says that maybe this will root the device without unlock BL, someone can try? we need adb and fastboot, i don't have my moto g yet, so i can't try , this procedure suggest boot in the special recovery(twrp or cwm) and then flash SU, is a little hope, this is a copy paste :D
[Moto G General] denzel09:
Yus, it was my thought. Someone in another thread wrote thath he rotted his phone in this way w/o unlock bl, but is it true for this phone? On other phone i have seen that it's true, but someone can try on this?

We need a way to root w/o unlocked bl like on other phones..
[Moto G General] Cooptx:
That means that you only booted the recovery when you rooted. So whenever you want recovery you need to go to fastboot, then do the fastboot boot "recovery IMG name" this is so your twrp doesn't have touch issues. We have two different twrp right now. One has a buggy touchscreen and needs 4.3 bootloaders. The other cannot be flashed, only booted and needs 4.4 bootloaders.
[Moto G General] Cooptx:
Yeah, I decided to use the tag again. Me and [MENTION=4571512]daothanhduy1996[/MENTION] are going to try and bring them back. I am releasing ports in the Vibrant as TFQ even though they don't really have teams :P
[Moto G General] alonsoch:
if you have a moto g, can you flash the stock images and relock the bootloader and then try this method?? if i have my device i will do it, but i don't have it
[Moto G General] krucymucy:
Thanks for clearing that up for me.
[Moto G General] Dan_Jacques:
Works fine on my XT1033 dual sim. The logo fix is perfect too.
[Moto G General] dancingtortoise:
Root toolkits have spoiled me. I haven't used adb since my moto cliq.
[Moto G General] g-wh122:
My Moto G is and always has been locked. I just tried

fastboot boot recovery.img

It created the following output

downloading 'boot.img'...

OKAY [ 0.347s]

booting...

FAILED (remote failure)

finished. total time: 0.352s

The phone now boots (normal boot, volume-down not pressed) to the bootloader screen with the error message

Fastboot Reason: UTAG "flashfail" configured as fastboot

If I use the bootloader menu to try to boot to recovery or do a normal boot then it ends up back at the bootloader screen.

So I seem to have soft-bricked the phone without unlocking the bootloader... I didn't think that was meant to be possible.

It can be unbricked by re-flashing motoboot.img, so all well with the phone. But still no root boo.

Hmm... anybody got any ideas? Looks odd to me that it references 'boot.img' in the fastboot output - there isn't a boot.img file anywhere to be seen.
[Moto G General] sniper.12:
Possible to flash the Infusion Rom with the TWRP booted recovery?
[Moto G General] alonsoch:
no ideas, :(
[Moto G General] krucymucy:
I was wondering the same thing earlier. Haven't tried yet though.
[Moto G General] Cooptx:
Yes it is, I just did that a couple of nights ago!
[Moto G General] Cooptx:
It says boot.img because the default name for "fastboot boot" is for boot.img's or a whole ROM image. The recovery.img is just the recovery part. I am sorry about your experience with the bootloader :( Once again, the bootloader checks the base of your ROM making sure that it is ALL standard to the official ROM before booting. One of the bootloader's purposes is to prevent root.
[Moto G General] g-wh122:
I just thought I'd try booting a non-stock recovery without unlocking the bootloader as others in this thread suggested it might be possible. It isn't.

The phone is fine now that I've reflashed stock root.
[Moto G General] =dgim=:
Thanks for procedure and description. It works of course. 4.4.2 US (Global GSM) with TWRP recovery.

After swiped installation SU, I had error, restart and second booting was normal. I've installed SU from Google Play even with binaries.

Everything is OK. Thanks again.
[Moto G General] b1g1an:
Many thanks, used this to root the wife's phone yesterday which had just updated to KK. Worked perfectly on my Mac.
[Moto G General] vandermark:
It all went succesful, but...

I cannot boot into recovery using quickboot. When I use the option to reboot into recovery I get the android puppet laying on his back with the red marker and a message of wrong command or something. What's wrong and how can I solve this?
[Moto G General] Cooptx:
The command "fastboot boot twrp_falcon_44.img" only boots your phone into the recovery. The twrp recovery size is too big to flash onto your phone's recovery partition. You should head on over to the CWM thread in the development section and flash the 4.4 CWM recovery. I plan on adding this recovery into the root kit soon.
[Moto G General] vandermark:
TX for your quick reply, at least I know it all went well :good:
[Moto G General] free2hear:
hi everyone

in order to root i unlocked the bootloader from motorola page. successfully unlocked and rooted but...

problem nr 1 - from that day i was unable to access recovery by any means. every time i accessed it the withe screen with the motorola warning after unlocking came and nothing happened. i discovered this thread and was able to change the boot logo from that screen to a regular one, but the problem persisted. tried to solve the problem and came to this thread forum.developers.com/showthread.php?t=2037808. "There's a file in /system/etc/ called install_recovery.sh that may need to be deleted for the custom recovery to stick. You need root to remove it."

converted the install_recovery.sh to bak and rebooted.

problem nr 2 - after that continued to have no access to recovery. in the meanwhile lost root privileges. lost access to bootloader, after power off, the phone imediatly starts rebooting. the phone does a full reboot every time (goes on reading every android app).

tried to upload an new "install_recovery.sh" (the same but renamed) but have no privileges through airdroid. the phone seems to work normal except for the reboot behaviour and lack of bootloader acess

any suggestions highly appreciated. can i push the file through adb or anything else? even if i do that i don't know if i can put things back to normal. is there a way to reflash stock rom through adb or fastboot? without access to the bootloader?

---------- Post added at 04:36 PM ---------- Previous post was at 03:37 PM ----------

after opening /system/etc/install-recovery.sh with notepad it reads like this. i guess it was changing the name from .sh to .bak that broke rooting

#!/system/bin/sh

# If you're implementing this in a custom kernel/firmware,

# I suggest you use a different script name, and add a service

# to launch it from init.rc

# Launches SuperSU in daemon mode only on Android 4.3+.

# Nothing will happen on 4.2.x or older, unless SELinux+Enforcing.

# If you want to force loading the daemon, use "--daemon" instead

/system/xbin/daemonsu --auto-daemon &

# Some apps like to run stuff from this script as well, that will

# obviously break root - in your code, just search this file

# for "install-recovery-2.sh", and if present, write there instead.

/system/etc/install-recovery-2.sh
[Moto G General] Cooptx:
Boom! Problem solved. Friendly reminder, please read the thread before posting. Your answer was literally the second to last post.

As for the second problem, I am not entirely sure why that happened. What android version and model phone do you have?
[Moto G General] free2hear:
tnks for helping! :good:

KK & Moto G retail UK.

What problem was solved? I cannot even access recovery through the "fastboot boot twrp_falcon_44.img" command. I repeat, the phone does not have access to bootloader nor recovery through any means. If i give any command through adb/fastboot the phone does a cold reboot and checks every android app which is a F pain as you might guess.

Any suggestions?
[Moto G General] Cooptx:
The solved problem is why you can't reboot to recovery. Sadly I have never experienced your phones behavior and do not know how to fix it.
[Moto G General] free2hear:
Man, what a drag. At least it behaves normally... Do you think a factory reset (through the system) could work?
[Moto G General] Cooptx:
It can never hurt
[Moto G General] Cooptx:
UPDATED

Now includes 4.4 CWM and a way to keep TWRP after reboot
[Moto G General] vandermark:
Great, works like a charm
[Moto G General] dbenson457:
where do you put my root tools? kind of a noob at this probably gonna ask more questions sorry
[Moto G General] Cooptx:
Unzip them anywhere.
[Moto G General] TotalD3str4ct:
1. I flashed the logo fix, however the warning is still there.

2. Also I forgot to upload supersu.motog.zip to the internal storage before beginning. I wrote down the instructions for myself into a txt on my computer, but since copying the zip was before the steps, I somehow forgot to include that...

So I thought that I'll just reboot my phone to copy the supersu zip, then return to recovery to flash it. I flashed CWM, and upon selecting reboot it said "Root access is missing. Root device? No / Yes" I selected "yes". I guess that this won't interfere with flashing supersu.motog.zip, right? (Right now my phone has booted into android, and I am waiting for the play store to restore my apps after the bootloader unlock factory reset)

3. Also what if I don't want SuperSU, but Superuser (com.koushikdutta.superuser) as my superuser app? Can I just simply include it in the zip, and change the updater-script accordingly?
[Moto G General] Cooptx:
1) when I updated the tools, I accidentally included the stock logo. I will fix that tomorrow.

2) that actually will root your device without the flashing of the zip

3) you can install superuser from the playstore and in the options there should be something for switching su apps.

If you need more explanation, just ask. I am a little pressed for time right now.
[Moto G General] TotalD3str4ct:
Ok, thanks, then I'll wait for that. (Or in the meantime I'll see whether I can find the logo file elsewhere.)

Also I am thinking whether I'll be fine with supersu, or to install superuser. In the end I flashed the supersu zip, but now it really seems unnecessary, as I have to copy back the updated supersu to /system/app anyways.
[Moto G General] frojnd:
I presume "fastboot-moto-windows" in CooptxRootMethod directory after downloading hi's tool is in fact fastboot for installing TWRP on kitkat?
[Moto G General] Cooptx:
There are some things there from the 4.4 moto us gsm stock image. I will be uploading a cleaner version tomorrow. Everything need to install TWRP is there though.
[Moto G General] frojnd:
I still dont know what should I use instead of "fastboot boot img" presuming I have downloaded your root tools.
[Moto G General] Cooptx:
I don't understand... "fastboot boot twrp_falcon_44.IMG" is the command you should type into the command prompt
[Moto G General] frojnd:
There is no "fastboot" in CooptxRootMethod directory only "fastboot-moto-windows" and "fastboot"

--------------

OMG sorry for wasting your time :S If I type in fastboot it knows for "fastboot" command because I've already added fastboot into my PATH on windows. By using "fastboot" you mean use sdk's fastboot right?
[Moto G General] Cooptx:
Just type the command :/ hundreds of people have downloaded and hopefully used my tools. None of them have had issues with the fastboot command.

Just open the file location where you unzipped the root tools

Hold shift (keyboard) and right click

There should be an option to open command prompt in this location or something like that. Then type the commands from the guide
[Moto G General] frojnd:
I was able to install TWRP it went straight to it. But when I tried to flash Twrp_MotoG_signed_010814_163615.zip It didn't find it in /sdcard even though I've copied it to /sdcard Do I have to unzip it?
[Moto G General] Cooptx:
No, that one is a flashable zip... Another option is to try to flash CWM from fastboot. (Also in my tools) else, you can try to download a1pha's twrp that was recently updated. That one you should install from fastboot as well.
[Moto G General] H-KaN:
Works fine. Thanks for the guide.
[Moto G General] monchee:
Unlocking the bootloader would reformat my phone right?
[Moto G General] alonsoch:
yes
[Moto G General] monchee:
Okay, thanks for the quick reply. Still contemplating in whether or not I'd root my Moto G. What benefits would I get with root?
[Moto G General] occtec:
Hi guys will this root method work on XT1033 Australian version?
[Moto G General] occtec:
Here are the details of my phone
[Moto G General] alonsoch:
http://www.youtube.com/watch?v=czTkHe7-lXw

there is..
[Moto G General] Cooptx:
UPDATE UP!

Looking for new file hosting site that is friendly for downloaders and me as an uploader. I would prefer it to have a download count.
[Moto G General] defiantj3:
Cooptx do you think there will be any hope with the Verizon version of this phone for root with the locked bootloader that is not unlockable at this time?
[Moto G General] Cooptx:
I have voiced my opinion over this issue many times. One of the bootloader's purpose is to check root system files and make sure that they are untampered with. Unlocking your bootloader stops this preboot check. With a locked bootloader, a rooted phone will not pass this test and the bootloader will not allow the phone to boot properly.
[Moto G General] defiantj3:
Thank you Cooptx. I do remember back in the day with my Droid X that always had a locked bootloader and I was able to get it rooted. Hopefully their can be some kind of bypass.
[Moto G General] Cooptx:
I hope so too:) good luck in your efforts :thumbup:
[Moto G General] KWIKTECH:
Good question... I have the same fone
[Moto G General] occtec:
+Cooptx does this root method work with the XT1033 Australian dual sim variant?

Thanks in advance.
[Moto G General] Cooptx:
It should.
[Moto G General] occtec:
That doesn't sound very convincing, you state yourself that we shouldn't guess in first post yet you are not really clarifying whether it will or won't work. 'It should' is more of a maybe or maybe not type of answer! Are you not sure yourself or are you just 'guessing'???
[Moto G General] Cooptx:
I don't have the device to check :) if you send me one, I would be happy to test. Sadly, I don't think that will happen. I am sorry that I can't help much in this case. Give it a go though, and report back to us. Good luck ?
[Moto G General] occtec:
If I brick my device in the process will you replace it ;) ??
[Moto G General] Cooptx:
Haha! Thanks for reminding me. That would have been bad. No. OP update in five :)
[Moto G General] Cooptx:
OP fixed
[Moto G General] BarnOwl:
Tonight I tried two other methods with no succes.

But your method worked as a charm on my European 16 Gb Moto G XT1032. :good::)
[Moto G General] ponl:
I am not sure but I maybe I did something stupid.

I am a total root newbie but I wanted an adblocker for my Moto G 4.4.2 so I followed your guide and went to the Motorola website to get the bootloader.

I signed in with my Google account but then decided not to root it because it is too complicated for me :o

Is my waranty gone now because I already signed in and they think I rooted my phone?
[Moto G General] Cooptx:
If you received a code to unlock your bootloader, and you don't live in Europe, your warranty is gone.
[Moto G General] ponl:
Oh thanks you very much for that information. I did not receive a code and I actually do live in Europe (Germany).

So if i live in Europe my waranty will not be gone if i root it or get the bootloader from Motorola?
[Moto G General] Cooptx:
I am actually uncertain about how that works. It might just be Italy, or I might be completely off base. If you didn't get a code back from Motorola, than you should be fine. I will check the step number and report back
[Moto G General] Cooptx:
If you completed step 6, but did NOT click the "REQUEST UNLOCK KEY" button, then you should be fine.
[Moto G General] ponl:
Thanks.

Umm i am not so sure about the code anymore. :laugh:

How exactly do they give you the code? Because i saw some numbers you had to type in your console or something? Was that the code?
[Moto G General] Cooptx:
I am not sure what you are talking about anymore :P the only sure fire way is to contact Motorola (Quick before the Chinese come!) And make sure that your warranty is still valid.
[Moto G General] monchee:
I finally rooted my Moto G after 2 weeks. Thanks for this! Fast, simple, and easy.
[Moto G General] vientodearena:
Works fine for me, thanks.
[Moto G General] robagp:
How I can root moto g 4.4.2 under OS X 10.9.1?

My moto G 4.3 is rooted, just I wanna update, and root.

I don't have windows!
[Moto G General] thenetvines:
Noob question!

Hello, these finals instructions appear to be for TWRP, but I installed CWM for Kitkat, and it didn't specify that I have to move "supersu.motog.zip" to the internal storage of the phone BEFORE I do the steps before this. Maybe I'm wrong, but I couldn't find "supersu.motog.zip" once I rebooted to CWM, so I had to copy "supersu.motog.zip" into the internal storage and do it all over again.

I hope I did it right, because now I seem to have SuperSU on my device.
[Moto G General] alonsoch:
If someone is having problems, try this tool ,is very simple and noob friendly

http://xdaforums.com/showthread.php?t=2631030

Enviado desde mi XT1032 mediante Tapatalk
[Moto G General] Cooptx:
You are correct. I didn't add that part to the actually instructions. As for the last bit, yes it is aimed at TWRP more because the guide originally started off as TWRP only. Later, I will add an adb push command in the instructions for users to use to move the "supersu.motog.zip" to their internal storage.
[Moto G General] Cooptx:
Way to shamelessly advertise your work on a thread maintained by another person. I mean seriously. You don't walk into an Apple store(not like you do that anyways xD) wearing an Android T-Shirt. You don't promote your work in someone else's thread. It just is rude and not cool.
[Moto G General] alonsoch:
I sorry buddy... I just want help... Really sorry... I posted here because a lot of people are having problems,some people don't like cmd or is difficulty ... Really i sorry.. If you want i can delete the post..

I don't wanna be a idiot... :(

Enviado desde mi XT1032 mediante Tapatalk
[Moto G General] Cooptx:
No, just be mindful of what you are doing and understand how the other side feels about it. I am glad that you made the toolkit. It helps some how just want root and leave. A cmd method allows other users to learn how and why something is working. I am just here to help people achieve their goals and learn along the way. You are here to make thongs fast and easy. Two different goals. Bottom line, don't come to my thread and tell people to use a toolkit if they are having issues some people want to learn. You can come and help give people tips and help with using a command window if you like.
[Moto G General] alonsoch:
You are right... We are here for help.. Sorry for the post...

Enviado desde mi XT1032 mediante Tapatalk
[Moto G General] Cooptx:
No problem. Good job on the toolkit though. You wanna tackle root with locked bootloader? The Moto X has a method called SlapMyMoto or something like that. Maybe it could work for us?
[Moto G General] alonsoch:
Maybe we can work and find a solution!! Let me update the toolkit... And i will send you PM if you want.. :D

Enviado desde mi XT1032 mediante Tapatalk

---------- Post added at 12:53 AM ---------- Previous post was at 12:39 AM ----------

@Cooptx

do you have the stock recovery for JellyBean??

i will add support for jelly on my toolkit, but i can't find just the recovery, and i don't want download all the Factory image
[Moto G General] Cooptx:
No I don't. Sorry.
[Moto G General] centavar:
Most of the people just want to root, not to learn. I'm glad he posted this here, because that's how I found his far easier method of rooting. This is a public discussion board, and helping each other is more important than your ego i think. Don't be a child about it ;)
[Moto G General] Cooptx:
Well I am a child, so I can't really help it. I am rather fond of my huge ego. If you rather us his toolkit, than do. I won't stop you. I just think that knowing what you are doing is important so that you can troubleshoot your own device rather then flocking to forums for a toolkit, but this is all my opinion. You are entitled to your own opinion.
[Moto G General] centavar:
This is where I agree with you.
[Moto G General] denzel09:
Come on ! Are you serious? He maked a tool to help you and others and you talk him in this way ?
[Moto G General] Cooptx:
Yes I did. It happened. And it has been settled.
[Moto G General] alfick3:
I like how you guys worked it out.
[Moto G General] Cooptx:
We tried
[Moto G General] robagp:
Nobody want to tell me?

How can I root 4.4 on os x or linux?
[Moto G General] Cooptx:
Same way as on windows? Commands are all the same.
[Moto G General] robagp:
I tried, but not works.

This command had a problem: "Type fastboot boot 44trecovery.img into Command Prompt and hit enter"

I checked a different site and there was a zip file, and a different command and that was good.

That command was this: "mfastboot boot twrp_falcon_44.img"

And now is working :)

Thank you! :)
[Moto G General] oldsoldier2003:
@ Cooptx , thanks for posting the logo.bin, that warning screen about the unlocked bootloader was rather annoying :)

I didn't use your toolkit, I simply flashed the latest cwm touch and installed chainfire's supersu from recovery. Getting the logo fixed was worth downloading your kit since I didn't have the foresight to grab a copy of the original logo before unlocking either of my Moto G's
[Moto G General] LittleConfucy:
When I type: "fastboot oem get_unlock_data", It gets stuck on <waiting for device> (I have already tried changing usb ports and my drivers were up to date)
[Moto G General] oldsoldier2003:
If you are on a Linux system execute the command as root (or use sudo). If you are on windows I can't be of much help.
[Moto G General] kleytonhunter:
iam on brazilian moto g xt1033 dual sim,this metod is aplicable to me?:good: