yashsingh1/xdaforums huggingface dataset:
[G 2014 General] thomstrack:
What is this?

I have seen several people wanting to root on your Moto G 2014 and not doing because they do not want to install a custom recovery, and stick with the stock recovery to receive OTA updates. After some research and a little study, i made this procedure and it worked perfectly on my Moto G XT1069 4.4.4. Here we go!

Note:

- Apparently does not work on Android Lollipop 5.0

Various reports users confirmed that the procedure works on Android Lollipop, but you need the latest version of TWRP 2.8.5.0

Working: (confirmed by users here in the topic)

- XT1069, XT1068 (thanks bluepower), XT1064 (thanks chukis13), XT1063 (thanks feligoni)

But should work on other versions of Moto G 2014 Stock 4.4.x or previous also.

Please, roport if working in others models and android versions versions .

Requirements:

- Unlocked bootloader

- Usb debugging enable on your phone.

- Adb and Fastboot into your PC: Donwload

- Motorola Drivers: Download

- Custom recovery: Donwload (TWRP 2.8.5.0)

- Latest SuperSu: Download

Instructions:

- Copy SuperSu from your SDcard;

- Open CMD or Terminal into the folder where you placed the Custom recovery and reboot on bootloader:

adb reboot bootloader

- After reboot in bootloader, boot on temp custon recovery:

fastboot boot recovery_file_downloaded.img

- Your phone will restart in temporary Custon Recovery.

- Now just flash the SuperSU (which you copied to your sdcard before)

- Reboot system

- Enjoy!

Credits:

Snoop05 (Adb and Fastboot drivers)

adrianom (TWRP Custom recovery)

Chainfire (SuperSu)

Thanks to all the users for reporting.
[G 2014 General] pranshubatra707:
unlocking bootloader dosent makes us ineligible to receive the OTA update?
[G 2014 General] saumil007:
Unlocked bootloader doesn't matter.. You will still receive ota if it's unlocked !
[G 2014 General] fathergweedo:
Anyone tried this on an XT1064 running 5.0?
[G 2014 General] bluepower:
Hello,

worked on my MOTO G 2014 XT1068.

Thanks a lot
[G 2014 General] Botsok:
So after Reboot system, the phone is back to Stock Recovery not TWRP_2.8.0.1_Titan_v2?
[G 2014 General] thomstrack:
Yep. Only "boot" on TWRP for flash super su, you don't will flash a custon recovery.
[G 2014 General] Mechaniker86:
XT1063

will work for the XT1063?
[G 2014 General] chukis13:
Confirmed XT1064
[G 2014 General] Seriously Ponies?:
Did not work on bootloader unlocked XT1063 running lollipop.

fastboot boot TWRP.img results in bootlooping

fastboot flash recovery TWRP.img works.

subsequent rebooting overwrites TWRP with stock recovery, so mission accomplished anyway.

Also SuperSU root didn't work under lollipop for me, sadly. Also bootlooped. Had to reinstall from nandroid backup.
[G 2014 General] feligoni:
Worked perfectly on xt1063 :) Waiting for OTA with root now
[G 2014 General] Gabboplano:
won't work, OTA checks for system integrity and you edited it by rooting
[G 2014 General] amritmalviya:
So after flashing custom recovery can we get OTA lollipop update or not???? ?
[G 2014 General] thomstrack:
Wrong. Only use "full unroot" option in SuperSU. ;)

With this guide you don't will flash a custom recovery, you only boot temporarily in custom recovery to flash SuperSU. ;)

Enviado do meu XT1069
[G 2014 General] amritmalviya:
Sorry but I don't understand properly because there is custom recovery to download then how can we boot in temporary recovery??

Sorry if I have told something stupid......
[G 2014 General] profeet2:
Will work on lolipop xt1063?

Отправлено с моего IdeaTabA2109A
[G 2014 General] thomstrack:
fastboot boot recovery_file_downloaded.img

If this command line, you go boot on custom recovery, this no "flash" a new recovery. Your recovery will remain the same.

You can check the command line that there is no command "flash". :)
[G 2014 General] rffslow:
Working on my XT1068!

Valeu brother! :D
[G 2014 General] JairoAV25:
Not Working on my XT1063. . .

After bootloader boot TWRP.img get:

FAILED (remote failure)

FINISHED
[G 2014 General] pleomaxell:
I just used it yesterday on my XT1063 and it worked so you are probably doing something wrong.
[G 2014 General] DROIDISMYLIFE:
Dude how do you boot into tem recovery when I type in fastboot boot recovery TWRP_2.8.0.1_Titan_v2.img , it says no error
[G 2014 General] Botsok:
You didn't type it right.

Type it like this fastboot boot TWRP_2.8.0.1_Titan_v2.img
[G 2014 General] Sakura90:
So does this definitely not work for Lollipop? Only KitKat? Is there any other alternative for rooting with a temporary recovery?
[G 2014 General] Wolfcity:
Til now every recovery seems to be temporary under lollipop because the OS resets the stock recovery even when the custom one is flashed when rebooting the phone.You'll have to flash TWRP everytime you need it.
[G 2014 General] Sakura90:
But that shouldn't affect rooting, right? Once you have SuperSU you're done. The question would be, why SuperSU fails rooting? "Seriously, Ponies?" said in one of the first posts. There's no other option than to wait for Chainfire to update it? Maybe we could buy him a beer to help look into the issue? With so many devices I'm guessing it's a pain to have it work in all.
[G 2014 General] Wolfcity:
You're absolutely right ,that doesn',t affect rooting or the reason why rooting fails or does not work proper.

When you read chainfires statements http://www.theandroidsoul.com/chainfire-releases-android-5-0-root-moto-g-moto-x-2013-2014-editions/ , http://xdaforums.com/showthread.php?t=1980683 there are several reasons. I'm not a developer but it seems that 5.0 has a more effective system security so that the "normal" way to root through exploits or just to place the superSU doesn't work as usual.

He deveploped the rooting kit also for KK and it works partly with lollipop too. So the only thing that we can do is to wait that chainfire fixes these problems and donate to him but if we all buy him a beer he maybe will get to drunk to do anything about it.. :)
[G 2014 General] Sakura90:
I see... :P

Tough luck. We have to wait and pray. Just what would the world be without Chainfire...

Btw, can I use this method of temporary boot into TWRP to make a full nandroid backup? (without or before rooting)
[G 2014 General] Wolfcity:
Is it possible to create a backup while temporary booted to the custom recovery and restore the same way?
[G 2014 General] luca020400:
Boot recovery and then do the backup

After re-boot the recovery and restore the backup as always

Edit : the recovery posted here doesn't work properly with lollipop

You can find my twrp on original twrp thread and it work flawlessly with lollipop ;)
[G 2014 General] CrazyGenio:
tutorial worked with lollipop using twrp 2.8.3.0, and su beta 2.44.
[G 2014 General] ohmpsy:
Hello. I have an xt1033 with lollipop 5.0.2 with root and unlocked bootloader. There any way to install an temporary custom recovery?
[G 2014 General] cybertux:
work smooth on X1068. Thanks:good:
[G 2014 General] zulfib:
Hi guys. After unlocking the bootloader do you lose your apps and data using this method?

I am not planning to flash the recovery but just to boot and use the recovery to create a backup image and then to Root.

Thanks.
[G 2014 General] epivitor:
Yes, after unlocking the bootloader you lose your apps and data.

Yesterday I got OTA 5.0.2 and I lost root. Unfortunatelly this thread's root method didnt work on 5.0.2 so I flashed TWRP 2.8.4.0 and I managed to root but now obviously I lost any future OTA.

My question is if there is a way to get stock recovery again so I get OTA in the future?

thxxx
[G 2014 General] gonzodesigns:
also waiting here for root ,mine is xt1064 running stock 5.0.2
[G 2014 General] doppelhelix:
Stock Recovery Image For XT1068_5.0.2

Here is the stock recovery. I extracted it from RETAILDSDSALL_XT1068_5.0.2_LXB22.46-28_cid7_CFC.xml.zip.

recovery.img - 10.04 MB

Please make sure you verify your download:

MD5: c28564c87f9bb311e3203bc2435ae60e
[G 2014 General] mironiko:
I got the notification for OTA 5.0.2 too, a few hours ago, for my xt1068.

So, since I'm going to lose root if I do it, is there a way to root it again without flashing TWRP..?

And, I know it's a bit off-topic, but is Xposed finally prepared to work on Lollipop, or still in testing?

I'm not sure I could live without it, even on 5.0.2 or whatever... :D

Moto G Tapatalking
[G 2014 General] doppelhelix:
If you want to root the device, you need at least temporarily flash TWRP. But why would you want stock recovery? You can't even make a full backup. You can try ROMs without losing your favourite installation. If something goes wrong or you don't like it, just restore your backup.

No xposed for lollipop. I used to have a lot of xposed modules installed. Don't miss them.
[G 2014 General] tag68:
Xposed first alpha version for lollipop was released yesterday ;)

If rooting using this guide works fine I will test in the near future.
[G 2014 General] tag68:
The linked TWRP 2.8.0.1 does not work with Lollipop, but if you use TWRP 2.8.5.0 everything works fine :)
[G 2014 General] fuzz1111:
Yep, I have XT1068 on stock 5.0.2 and I was able to boot that recovery (without flashing it) and root with UPDATE-SuperSU-v2.46.zip.

I like rooting via this method as it pretty much does the fewest changes required to get root - also gives me the chance to backup my device before I've modified anything (which means I've got something to revert back to if I wan't to do an OTA update).
[G 2014 General] Wolfcity:
Unlocked Bootloader, booted into TWRP 2.8.5.0, made a nandroid backup, flashed superSU 2.46 ,wiped dalvik/cache. Flashed logo.bin in fastboot for the bootlader warning. Everything went fine, i got a message from TWRP that system partition couldn´t be mounted but that seems to change nothing by having:

Sucess!

Thx OP for this great tutorial, TWRP for TWRP and chainfire for his absolutely great superSU! :good:

edit:

firmware 21.11.23 titan_retaildsds.retaildsdsall.en.03.reteu

on XT 1068
[G 2014 General] thomstrack:
#1 post Updated

Various reports users confirmed that the procedure works on Android Lollipop, but you need the latest version of TWRP 2.8.5.0.

#1 post updated with infos and new link for TWRP. ;)
[G 2014 General] steford:
Working on XT1072 (2nd Gen 4G) on 5.0.2

Is there a way to make TWRP stick as recovery now I'm rooted?

Thanks.
[G 2014 General] Wolfcity:
Just flash it. After rooting it will stay there.
[G 2014 General] Gustavo47:
This will work in xt1078?
[G 2014 General] Gustavo N.:
Boot looping problem

Did the procedure to unlock the bootloader and flash the supersu without flash the .img only made a boot to it just like the tutorial and after flash the supersu.zip get the bootloop problem, after put into bootloader mode holding vol down + power ran the commands: mfastboot erase cache, mfastboot erase userdata, mfastboot reboot. Solved the bootloop and root works now.

*Model: XT1068, Android Version: 5.0.2;

*Using mfastboot v2 and minimal adb to fix bootloop;

*Normal wipe cache and userdata from recovery not solved the problem.
[G 2014 General] Wolfcity:
Which version of TWRP and superSU did you use?

I own the XT1098 on 5.0.2 too and ran through that process without any problems. Used TWRP 2.8.5.0, superSU 2.46 and Minimal adb & fastboot.
[G 2014 General] Gustavo N.:
Used TWRP 2.8.5.0, superSU 2.46 too.
[G 2014 General] dsrmatze:
Working on xt1072 with SuperSU-v2.46 and twrp-2.8.5.0. Flashing twrp-2.8.5.0 didnt work though.
[G 2014 General] OdinAllfather:
Thank you very much, works for XT1072 :)
[G 2014 General] eltejeiro:
Thanks works on Moto G XT1063 Android 5.0.2 Stock
[G 2014 General] BrandonCormier:
Need the new SuperSu

For those who get into a bootloop using the SuperSu linked in the post, just download the latest SuperSu from their website. I used 2.46 and it worked great. Could not get Exposed to work though.
[G 2014 General] maximuns:
when i try to boot the recovery img it says ''No such file or directory''
[G 2014 General] Anizor:
Worked like a charm on xt1068 !!

Thank you :)
[G 2014 General] ioannis1993:
Worked like a charm! Thanks a lot!
[G 2014 General] puma7dragon:
Please read the instruction carefully. Rename the TRWP to a shorter name.
[G 2014 General] vinirockman:
Someone did this method on XT1078 (with 4G)?

I'm still waiting a method to root this model...
[G 2014 General] luca020400:
Moto g 2014 twrp works on moto g 2014 lte

Anyway luk and I will bring moto g 2014 lte support for official twrp & cm
[G 2014 General] sossio18:
Ciao Luca c'è possibilità di portare anche la Cyanogen su questo modello 4G LTE (XT1072) ? :D

Sorry if I speak in italian, Luca is italian too
[G 2014 General] luca020400:
When Luk and I will receive our moto g LTE we will ask for official support and then cm12/12.1 night lies will start ;)
[G 2014 General] puma7dragon:
Again Awesome! Thanks button pressed
[G 2014 General] jayblahX:
Hi. I'm having trouble getting this to work on my XT1064 running Android 5.0.2. I downloaded all the files specified, including TWRP 2.8.5.0.

I placed the SuperSU file and the TWRP img file (which I renamed to twrprecovery.img) on my device's Internal storage\Download\ folder. I then use the "adb reboot bootloader" command in CMD and my phone successfully reboots to the bootloader. I then type the "fastboot boot twrprecovery.img" command into the CMD prompt and CMD returns an error that no file is found. I'm not sure how to proceed. I can't seem to open a CMD prompt directly in the /Download folder for my device.
[G 2014 General] cancuck:
Your twrprecovery.img file has to be placed in the same folder as adb and fastboot on your computer.
[G 2014 General] jayblahX:
Thank you for the reply. I just did as you said. Both files are now in the same directory as my adb/fastboot, which happens to be C:\adb.

I opened a CMD prompt in C:\adb> and rebooted to the bootloader, which worked fine. The device is on the bootloader screen now (which, if it matters, currently says "Device is LOCKED" Status Code: 0 Transfer Mode: USB Connected").

When I typed fastboot boot openrecover-twrp-2.8.5.0-titan.img the CMD prompt displays the following:

downloading 'boot.img'
OKAY [ 0.328s]
booting...
FAILED <remote failure>
finished. total time 0.341s

Not sure why this is happening. Any ideas? Also, I tried again by renaming the img file to something simple (e.g. recovery.img) and get the same failure.

Note that when I attempt other adb commands, I get an "error: device not found" print in CMD. Not sure if that helps you guys at all.

Thanks again for your time.

EDIT: Everything seems to be okay now. I seem to be rooted. Thanks again.
[G 2014 General] bonnyalengaden:
Will this work on xt1068 lollipop? And please suggest me the current latest ADB installer.
[G 2014 General] ioannis1993:
Yep it works i rooted mine XT1068
[G 2014 General] bonnyalengaden:
Please put link to the latest ABD or fastboot installer. The link given in here shows some error. Thank you in advance.

from XDA app, XT1068 moto g
[G 2014 General] Arvigo:
I tried this method and it works but the only think its that it take like 4 5 min to boot :S

I have lollipop 5.0.2 XT1064
[G 2014 General] bonnyalengaden:
Can u pls send me the link to abd installer wh u used?

from XDA app, XT1068 moto g
[G 2014 General] Wolfcity:
Minimal ADB & Fastboot :

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

[MENTION=3085901]jayblahX[/MENTION] : The recovery file has to be placed in the adb folder, the superSU belongs in your internal/external phones storage. Anyway, it worked for you.
[G 2014 General] xeonwales:
Help.

I have followed the instructions to the letter.

Fastboot works no problem

When i load the custom image, the phone just sits on the 'M' Logo loading screen. I have left it for 15min & no change. I have reboot phone a few times & tried again.
[G 2014 General] Wolfcity:
What version of Moto G do you own? Which firmware? Did you use TWRP 2.8.5.0?

Have you placed the recovery file into the folder of adb and fastboot on your PC? The recovery.img belongs there,the superSU on your phone.

Have you renamed the img-file?

Some more info please.
[G 2014 General] thlappas:
Confirmed works like a charm on Moto G 2014 with lollipop 5.0.2. firmware 22.41.16 titan retailsds..........03.reteu

build lxb22.99.-16 / twrp 2.8.5.0
[G 2014 General] kishorebvs:
I always get bootloops with twrp recovery. So switched to philiz recovery touch. It works perfect on Xt1068 Dual sim
[G 2014 General] elevul:
Is it possible to do unlock bootloader -> flash supersu -> relock bootloader and keep the root?
[G 2014 General] kishorebvs:
Why do you want to relock?

I dont think motorola will give back your warranty if relocked.
[G 2014 General] elevul:
I'm in Europe, warranty is not an issue. I just don't like that huge white warning everytime the device starts up. It's annoying.
[G 2014 General] kishorebvs:
Sorry i am unable to answer your question but check out this : http://xdaforums.com/moto-g-2014/themes-apps/bootlogo-cyanogenmod-12-t3006699

For customs roms you need unlocked bootloader. So i suggested this.
[G 2014 General] elevul:
Yeah, but if I'm rooting without flashing a custom recovery I probably don't want to install custom ROMs and want to keep receiving OTA updates. :D

I'll look into that, thanks. :)
[G 2014 General] Wolfcity:
If it´s just that huge white warning screen,easy thing to remove that: http://xdaforums.com/moto-g-2014/general/fix-remove-unlocked-bootloader-warning-t2875385.

For the near future I also want to stay stock and until it comes to flashing roms and kernels later I also followed this guide with one between step:

1)Unlock bootloader as described.

2) Boot into TWRP (in my case 2.8.5.0)

3)Flash superSU 2.4.6 through TWRP

4)Flash logo.bin from the linked thread above to replace the warning screen with the original bootlogo,that turquoise M on white.

Command:

fastboot flash logo logo.bin

(I use Minimal ADB and Fastboot).

5) Wipe cache and dalvik.

Now everything is looking as before and you would not benefit from a relock, I live in europe too and after unlocking once you´ll never get the state of a never unlocked phone again.So you get the warranty or even not, doesn´t matter.
[G 2014 General] elevul:
Solved, thanks! :D

Will it carry over through OTA updates or will I have to flash it all over again every time I get an update?
[G 2014 General] Wolfcity:
No, you will have to flash superSU again, OTA brakes root .

To install OTA updates you have to revert all system changes you did like unfreezing apps, removing AdAway and so on. As I have heard a full unroot of the superSU is not necessary.

Remember that you always can do a backup when booted to TWRP. So do a nandroidbackup now before you change things and restore it when OTA arrives.
[G 2014 General] elevul:
A little bit too late. :D

We'll see, I'm honestly tempted to just skip to CM12.1 LP5.1.1. :D
[G 2014 General] liewanec:
I rooted my XT1064 with 5.0.2 Followed the instructions and came to a very weird results: When I restart my phone it enters a boot loop, which can be repeated 2-8 times. Seems that always at the end it finishes booting into the home screen, but boot time can vary significantly from like 1:30 to almost ten minutes.

Tried wiping cache and factory reset but it didn't help.

Any idea how to make booting consistent? I find it very annoying. :mad:
[G 2014 General] Wolfcity:
Sure you used latest superSU? It's 2.46, older versions are known to cause the kind of bootloops you describe.

https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip
[G 2014 General] duvjones:
I have been having something similar happen to me... I can't seem to get the temp boot to work, it keep entering a loop at the logo screen when it tries.

My system (the XT1064) has 5.0.2, I have been using TWRP 2.8.6.0 and I am ready with SuperSU 2.46.
[G 2014 General] Wolfcity:
Try TWRP 2.8.5.0, the new version causes trouble sometimes.
[G 2014 General] mauro_sambo:
Didn't work on my XT1072

Hello, i have download all files, instaled drivers and do the described steps. But i have one problem wen I try to boot from temp recovery. I will show the cmd commands.

C:\adb>adb reboot bootloader // THAT'S WORKS FINE

C:\adb>fastboot boot openrecovery-twrp-2.8.5.0-titan.img

OKAY [ 0.459s]

booting...

FAILED (remote failure)

finished. total time: 0.545s

After That the phone didn't restart in the recovery and when i have tried to enter in recovery from the fastboot it didn't work.

I have a XT1072, it is working, after that I reset twice and it works.

Somebody have an Idea? Thx a lot!!!

Mauro
[G 2014 General] Wolfcity:
Have you copied the recovery file into the adb folder? If yes maybe it's because of your phone model, this method is confirmed for the XT1068/9/4/3 (titan) models. In that case you can flash the recovery by using the command "adb fastboot flash recovery openrecovery-twrp-2.8.5.0-titan.img". You can reflash your stock recovery anytime, you find it inside the firmware zip of your model.
[G 2014 General] mauro_sambo:
THX!!!

Finally I can root the phone. I was doing a mistake, my cellpohone wasn't have the bootloader unlocked. After that I can do the procedure with no problems. Now i'm removing the advertising logo.

Thx.

Mauro
[G 2014 General] fruktflugan:
Works great on xt1072, 5.0.2

Need to be in developer mode at times, bootlooped massively after flashing supersu but pulled through eventually and stopped the shenanigans after updating SuperSU.

Thank you!
[G 2014 General] Wolfcity:
Always use the latest superSU 2.46, older versions cause bootloops!
[G 2014 General] manojkumar8552:
WTF !!

Change Your TiTtLe.!!!

Without Recovery And You Mentioned To Flash Recovery??????
[G 2014 General] thomstrack:
No. You don't "flash" recovery, you "boot" on recovery, don't "flash". Your recovery will remain stock after the proccess. ;)
[G 2014 General] manojkumar8552:
ohhhhhhhhhhh got it !!
[G 2014 General] d3t0n4d0r:
works on marshmallow?
[G 2014 General] Wolfcity:
Try it,there's nothing that could go wrong, it works or not. You have to use TWRP 2.8.5.0, newer versions will fail.

Sent with somewhat
[G 2014 General] sabian2008:
Works like a charm. Perhaps you should add a URL to the unlocking bootloader thread.

Thanks a lot!
[G 2014 General] Vegito XT:
Hey, can anyone tell me if this method works with moto g 2014 XT1068 india running stock marshmallow 6.0?????
[G 2014 General] TheOriginalNecro:
I did this today on my xt1064 and now it just sits on WARNING BOOTLOADER UNLOCKED screen and wont do anything else. I can goto the boot loader but I cant boot into the OS
[G 2014 General] sanketdhole:
Sir,

I have unlocked the bootloader and temporary install twrp. And with twrp I have installed os.

But OS is not opening and adb commands are not working.

So, plz help to make a way out with this situation.
[G 2014 General] glykocalyx:
Android 6.0

Confirmed working also on Android 6.0 on a XT 1068(dualsim).

Thanks a lot !
[Galaxy S III I9305 (4G LTE + 2GB RAM) Q&A, Help & ] QA Bot:
Q&A for [MOD] Drivelink (Mirrorlink) Full Mirroring

Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.

Before posting, please use the forum search and read through the discussion thread for [MOD] Drivelink (Mirrorlink) Full Mirroring. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.

Thanks for understanding and for helping to keep XDA neat and tidy! :)
[Galaxy S III I9305 (4G LTE + 2GB RAM) Q&A, Help & ] tomdev:
nexus 5 and drivelink

Tried the app with nexus 5. It got chrashed when tried to link.

Gui works fine without the mirrorlink.
[Galaxy S III I9305 (4G LTE + 2GB RAM) Q&A, Help & ] euler88:
hi i am looking for a working mirrirorlink for the galaxy s 2 gt9100

best greetings euler88