yashsingh1/xdaforums huggingface dataset:
[X 2014 Android Development] testkeys:
Hi Jr, first off thanks for sharing all this.

I don't have the phone yet but considering getting an unlocked XT1093, so is it very likely to work on that model also? If so, could I send you the kernel from it once I receive it?

Thanks again + happy new year to you and everyone.
[X 2014 Android Development] fabiozon:
What are the benefits of using 2.65? Are there any issues with the method provided by the OP or SuperSU version 2.52? I'm on XT1095 bootloader unlocked.

Thanks in advance and happy new year!
[X 2014 Android Development] Dark9781:
The benefits are systemless root. Makes otas easier to take. Instead of flashing the system you only have to flash the stock kernel.
[X 2014 Android Development] fabiozon:
Ok, thanks! I'm gonna be traveling for about a month without a PC. Do you recommend I use the OP's method or try 2.65? Which is more stable?

I'm gonna be using AdAway and Xposed+Gravitybox.
[X 2014 Android Development] Dark9781:
The OP is the more stable method at the moment. Most people are having boot issues with 2.65. Something is not getting patched correctly in the kernel. I must of gotten lucky that it worked for me. However, I did post the modified kernel from phone a few posts back if you want to try it. If you are planning to use Xposed it will modify the system and you would need to flash the system anyway if there were a new ota.
[X 2014 Android Development] m0yP:
Just to confirm, no patching is required as of now. It worked before (systemless) with "SuperSU-v2.62-3". It works now with "BETA-SuperSU-v2.66". XT1097 on RETMX 6.0

Junior; thanks for the solution anyways!
[X 2014 Android Development] jejeh:
Mmmm systemless 2.65 su beta was a no go for me on a xt 1092 retde yesterday.

But i did it like the OP and it works

Thanks junior btw
[X 2014 Android Development] enjoimadcow:
so is 2.66 the fixed version of 2.65 as in it will patch the boot correctly? Meaning all you need to do is flash via twrp v2.66 and that's it?
[X 2014 Android Development] m0yP:
Correct. Just Install the 2.66 zip and that's it.

When TWRP offers to install SuperSU just tap on No and you are done.
[X 2014 Android Development] enjoimadcow:
oh one more thing. I see you are on a 1097. Does it matter I'm on a XT1095?
[X 2014 Android Development] m0yP:
Nope. This file is generic, even outside Motorola devices.
[X 2014 Android Development] enjoimadcow:
Just did it and now im stuck on bootloader unlocked. I'm assuming a factory reset will fix it?
[X 2014 Android Development] m0yP:
Hmm, I didn't wipe anything. It took a while in booting, though.

Perhaps wipe caches, and if not and you have backups then a factory reset will do.
[X 2014 Android Development] enjoimadcow:
I just wiped everything and used the rom off this link http://xdaforums.com/moto-x-2014/development/rom-xt1095-flashable-stock-rom-t3277874. I'm back in marshmallow at least. I wish motorola would put up their factory images so I could just reflash everything.
[X 2014 Android Development] m0yP:
Here's what I did:

- Took the RETMX from here; weird but they are only for XT1097 and XT1092, though.

- Flashed SuperSU 2.66 Beta from here with TWRP.

Just curious, which TWRP are you using? Latest one for Victara is 2.8.7.1 from here

Sorry you had to wipe everything man. :( I tried to search for stock 6.0 for XT1095 without luck. Best thing right now is take the OTA from stock 5.1. Full image is available from Motorola's site and here. :confused:
[X 2014 Android Development] enjoimadcow:
Using 2.8.7.1. It's no biggie. Is it safe to reflash 5.1? I do still have the newest factory image for that. I'm just afraid of downgrading something ya know. If it's safe I'll totally go that route.

And don't be sorry, it's my dumbass fault for not having a backup.
[X 2014 Android Development] m0yP:
AFAIK, if you didn't upgrade your bootloader, it's safe. Cannot tell how to check which version is correct.

Best!
[X 2014 Android Development] tarmacx:
Same here, flashed 2.66 and got stuck at Bootloader unlocked warning screen

I think I'm gonna try to flash the boot.img over it and see how it goes

---------- Post added at 02:46 PM ---------- Previous post was at 02:41 PM ----------

Didnt work....Guess I'll have to wipe...
[X 2014 Android Development] ouikikazz:
ditto here for 2.65 and 2.66 sighhh
[X 2014 Android Development] johnnydnb:
I'm in Nexus Experience 10.1, makes all the setup and got stuck in boot screen.
[X 2014 Android Development] Junior Passos:
This root is for Stock Rom.

Custom Rom already have root.
[X 2014 Android Development] johnnydnb:
But when install the zip from supersu always go wrong.
[X 2014 Android Development] AGISCI:
Don't install the supersu zip! Custom roms already have root!
[X 2014 Android Development] Bipo:
To my dumb brothers reading this : there are 2 files to flash. I tried numerous times with only supersu -_-'

Quick question : how do I flash twrp definitely? I had to boot twrp with adb because it wouldn't launch from the phone

Edit : OK it worked using flashify
[X 2014 Android Development] enjoimadcow:
Any new news with systemless root working yet?
[X 2014 Android Development] kaktusmaier125:
Is anyone try to flash this latest supersu without modifying /system?

---------- Post added at 02:52 PM ---------- Previous post was at 02:52 PM ----------

https://download.chainfire.eu/897/SuperSU/BETA-SuperSU-v2.67-20160121175247.zip
[X 2014 Android Development] prbadboy69:
i just finally fastboot twrp. flashed latest super su 2.67. hung at boot. went back into twrp flashed again su 2.67 but this time with Junior's mod boot and boom, i have boot. no issues so far
[X 2014 Android Development] md07:
so, with lastest 2.67 still need flash modify boot to gain root
[X 2014 Android Development] kaktusmaier125:
yes
[X 2014 Android Development] prbadboy69:
Yes
[X 2014 Android Development] enjoimadcow:
is 2.67 systemless?
[X 2014 Android Development] webvan:
Thanks although I struggled a bit on my XT1032, I had to :

1. Boot into TWRP with fastboot boot twrp-2.8.7.1-victara.img as I kept getting mismatch error with the fastboot flash recovery boot twrp-2.8.7.1-victara.img command

2. You must install SU as prompted after installing the zip (the second zip) of the instructions.
[X 2014 Android Development] awm34x:
newbie needs lots of help

XT1097 from AT&T (subsequently unlocked) running 5.1. Bootloader Unlocker does not seem to be available. I've never rooted a phone and even though I'm competent at PC hardware & software, I'm confused by the entire root process. Is it possible for me to upgrade to 6.0? If so, I'd be happy to make a $40 donation to anyone who could provide a baby-step procedure.
[X 2014 Android Development] AGISCI:
Sorry, but if your bootloader is locked, there is absolutely no way to get 6.0.
[X 2014 Android Development] awm34x:
Thanks. Exactly how do I confirm that my bootloader is locked?
[X 2014 Android Development] AGISCI:
It's locked by default from the factory. And it is impossible to unlock the AT&T bootloader on 5.1.
[X 2014 Android Development] awm34x:
Thanks. I'll ponder whether to buy a 2015 model. Over and out.
[X 2014 Android Development] doorbello:
plz i need help it says TWRP can not be loaded moto xt1092 Marshmallow 6.0
[X 2014 Android Development] webvan:
See my message above.
[X 2014 Android Development] webvan:
So SuperSU says the binary needs to be updated but when I try the "normal" method it fails. The other method requires TWRCP/CWM apparently but I don't have them installed (couldn't install TWRP with fastboot flash) . Do I need to try to install TWRP with the Play Store TWRP app to be able to update the SuperSU binary? Thanks!
[X 2014 Android Development] AGISCI:
Installing supersu from the play store does not root your phone. Installing the twrp app from the play store won't work since your phone is not rooted.

You need to flash twrp first. Then follow the directions in the first post to root your phone.
[X 2014 Android Development] webvan:
It is indeed rooted, if not an update wouldn't be suggested. As I explained above I was able to root (like others) using fastboot boot twrp since twrp couldn't be flashed.
[X 2014 Android Development] krhainos:
I haven't done this procedure yet. I have an XT1095 freshly updated to 6.0 (24.11.18.victara_tmo.tmo.en.US, MPE24.49-18) still with stock recovery.

To undo this, restoring a backup of system and boot would do the job?

I can't tell if the posted UPDATE-SuperSU-v2.65-20151226141550 will perform a systemless root or not. I usually backup everything anyway, but just making sure!

EDIT : Just did the thing -- did fastboot boot into TWRP, flashed the two zips as instructed and it went butter smooth. Cheers!

It appears it's not a systemless root and a restore of system and boot is necessary to unroot when an OTA comes down.
[X 2014 Android Development] Bushflyr:
Well, hell. That didn't work for me. Is there a particular order in which the files need to be flashed? The OP doesn't say. I tried both ways with no success. :( I'm on Moto-x Pure T-mo, rooted 5.1 with TWRP installed. My phone just hangs on the "Your bootloader is unlocked" warning page.
[X 2014 Android Development] AGISCI:
This root method is for marshmallow 6.0, it does not work for 5.1, that is why it hangs.
[X 2014 Android Development] Bushflyr:
Oh, thanks, so I need to do the return to stock > OTA > then do this?
[X 2014 Android Development] AGISCI:
Just flash the full 6.0 firmware. Then do this. No need to flash 5.1 nor take an ota.
[X 2014 Android Development] josuearisty:
I dont know if this was asked before, is this the systemless root?

Sent from xt1096 with Marshmallow!
[X 2014 Android Development] AGISCI:
I have read that there is some sort of symlink between the su binary for system and the su partition. But to my eyes I thought it modified system. I am not 100% sure that it is systemless.
[X 2014 Android Development] webvan:
Yes this has to be one of the most confusing rooting threads ever on XDA ! ;)

Like others I never managed to flash TWRP only to boot into it with fastboot boot and now I'm getting told that the SU Binary needs to be updated but can't do it automatically. ..Since the root works ok I'm tempted to leave it like that unless someone who understands what's going on has a better suggestion? Thanks!
[X 2014 Android Development] Vinnom:
Junior just automated the proccess.

You can extract the zip and do the following:

1 - reboot to bootloader

2 - fastboot flash boot boot.img (the one that was inside the zip)

3 - boot into twrp

4 - flash supersu.

That is how I do.

PS: of course, it is just to MM.

Enviado de meu XT1097 usando Tapatalk
[X 2014 Android Development] noX1609:
i'm little confused sbout this whole topic :)

I'm new to the Android Word. Im going to buy a Mot X Gen 2, beccause its a cheap model and has android 6 (need it for development purposes).

I also wanted to root it.

Does this work at all with a Model i'm buying now from Amazon?

And if yes, is there a noob frie dly guide for just rooting the device to get more access to it?

I'm going to use it as a test device for my apps but this should also work with an root or not?

Sorry for so many questions but as i said i'm new to the Android world.
[X 2014 Android Development] webvan:
Ok thanks but that's not at all what the steps in the first message say (need twrp installed, etc....). Are you getting notifications saying the binary is not up to date?
[X 2014 Android Development] Vinnom:
Oh, I did mention twrp, it is a implicit step (to flash supersu).

Nope, I don't receive this notifications at all.

In any case, if you have twrp installed and do what I said, I think it will solve, because for me it works all the times.

Enviado de meu XT1097 usando Tapatalk

---------- Post added at 11:38 PM ---------- Previous post was at 11:26 PM ----------

To root, you will need to unlock the bootloader first (there some methods around xda, just take a look. There is one method to unlock it with motorola site, too).

When your phone bootloader get unlocked, then you can use the method wrote by op or mine (here). In fact, is basically the same thing, but OP is more automated and mine is to you do what his zip does.

And you will need a custom recovery, like twrp. It is easy to find and flash. I suggest you to read about basics in android world, CyanogenMod has a good noob friendly wiki ^^

Enviado de meu XT1097 usando Tapatalk
[X 2014 Android Development] TopazUser1:
Does anyone know how to unroot?
[X 2014 Android Development] piccit:
Flash stock kernel

If you used a system less version of su, that that'd be it.

If you used a 'classic' version (like the version from the OP), then also flash stock ROM
[X 2014 Android Development] noX1609:
Ok thanks for the answer but this whole thing is very difficult to understand at the moment.

The best for me were a noob friendly Step by Step Guid how i can root the device to get more access to the system and so things that would normaly don't work (Theme changes, Fot changes etc.)

As i saied i come from the ios world there it was easy to jailbreak, only run a tool that does all the magic :)

I figured out how to unlock the bootloader with the motorola Page but what's the next Step after that to get the device rooted?

Searched a bit but can't find a guide for flashing twrp, only a download link.

And can all the steps be done with osx? Because i have windows 10 only in a Virtual Machine running on my Macbook and i don't know if that would work.

I'm affrayed that i destroy the device, because of that i better ask twice and get all guides ready before startimg with anything.

So is there no full Step by Step guide with all commands to execute etc. to get the device rooted? And is it the same process for the Moto G3 (2015)? Because i ordered that one too and after a few days of testing i decide which one i keep. And for the Moto 3: Can all apps be Stored on the microSD?

Sorry for posting so much questions but as i said i'm affread to destroy the devices so they are an expedive brick ;) If the Questions to the Moto G 3 can't be answered here i post them in the section for the g 3 (if there is one?) but i thought it's better to ask everything in a single post.
[X 2014 Android Development] Vinnom:
In fact, there is plenty of guides out there, because android have several different devices and a lot of them requires special steps.

Idk about moto g 3 :( sorry

But basically, in every device you will need:

1 - unlock bootloader

2 - flash twrp

3 - root the device

4 - be happy

Before you do anything, let your phone power on and receive the OTA. That way, you'll have android marshmallow and this thread is for rooting marshmallow.

*1*

You'll have to figure out how to unlock bootloader, because different devices has different methods. For moto x 2, the method at motorola site is enough.

*2*

Download twrp (official links here)

Put your device into bootloader mode

Use fastboot to flash twrp

*3*

You can use junior method described in the op or mine.

If junior method is selected, boot into recovery, apply his zip then flash SuperSU

If mine, use fastboot to flash the boot.img found inside his zip. Then you boot into recovery and flash superSU.

*4*

Boot your device and be happy.

If you need more help, please read introductions guides and pm me, so we don't go too much off-topic here. But, of course, have your device at hand.

Here in xda and googling, you'll find a plethora of intro guides, be sure of it. I know, I read a lot of them.

EDIT: forgot to say. Yeah, it will work on osx, you will just have to install android-sdk. A lot of things you will have to do, uses tools from the sdk (from sdk-platform-tools and sdk-build-tools too) uses terminal commands, which osx imported from linux. However, I suggest you to have anolot.r virtual machine with ubuntu. Windows 10 will work too, but anyway, you'll have to read a lot.

Man, I'm using 2.65, as it is the latest stable one. But I already followed betaSuperSU a lot, chainfire almost never releases a broken supersu.

Enviado de meu XT1097 usando Tapatalk
[X 2014 Android Development] noX1609:
Thanks for your detailed description :)

I will search for the tutorial of each strp so i be prepaired when the devices arrive tomorrow :) I'm really excited to see how Android works compared to an iPhone 6s Plus :)
[X 2014 Android Development] melshafie:
i have verizon XT1096, but i flashed marshmallow rom, this one

http://xdaforums.com/moto-x-2014/development/rom-xt1095-flashable-stock-rom-t3277874

its working fine, now i want to root it, which file should i download

xt1095...!?

Thanks
[X 2014 Android Development] md07:
should use 2.67, i already tried 2.67 beta and 2.65 stable.
[X 2014 Android Development] dokukinoko:
Can confirm, SUPERSU 2.67 Beta works. Here's Chainfire's (SUPERSU Dev) post containing links to the latest stable and beta releases if anyone needs them.

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

Note: You really still need to use Junior's boot zip (first post attachment). If you only install the supersu zip, it will just hang at the white Unlocked Bootloader screen. So go back into TWRP and isntall Junior's zip if you're stuck at that screen and it should boot up normally after restarting.
[X 2014 Android Development] webvan:
Good news but can you clarify the process? Junior's zip includes an older version of SuperSU doesn't it? Wouldn't using his method flash the old one again after the X hangs up when flahsing 2.67 ?
[X 2014 Android Development] Junior Passos:
No.

My zip is only kernel modified to work supersu.

You need flash supersu zip separately.
[X 2014 Android Development] Vinnom:
Nope, because what really hangs the phone is the kernel. That is why inside his zip it is a boot.img, so a custom kernel will be flashed into your device.

After this, you can you any superSU you want. I always use stable version, but Chainfire always release a good enough beta, so if you want beta, it is cool.

After flashing the boot.img inside his zip, you won't need anymore in the future, only if you flash stock boot.img again, for some reason.

Enviado de meu XT1097 usando Tapatalk
[X 2014 Android Development] alete89:
there is a way right now.
[X 2014 Android Development] easyrider77:
I am currently in cm 13.

I have a moto x pure edition xt1095, with unlocked bootloader.

I have twrp 3.0 installed.

I have found a stock Android 6 marshmallow room to flash.

If I am understanding this thread correctly, I should be able to install the ROM, boot up normally, set the rom up, reboot to recovery, flash the two files provided in op, (img file, and supersu) then reboot, and it will give me stock Android 6 marshmallow rom, with root.

Am I understanding that correctly? If not can someone please correct me in what is wrong.

Thanks
[X 2014 Android Development] Vinnom:
Yes, just as that

Enviado de meu XT1097 usando Tapatalk
[X 2014 Android Development] Musa95:
I have a xt1096 using 1095 stock rom.. The 1095 zip will work for me?

Enviado desde mi XT1095 mediante Tapatalk
[X 2014 Android Development] AGISCI:
Yes.
[X 2014 Android Development] Homars:
I have a question:

I have a XT1097 with CM13 6.0.1, will this metod work to root my device??

As i didn't could see if will work on 6.0.1

Thanks!
[X 2014 Android Development] Junior Passos:
No. This is for Stock Marshmallow.

CM13 has its own kernel and their own root in-built.
[X 2014 Android Development] xdamarvin:
I wi'll try this weekend :good:
[X 2014 Android Development] easyrider77:
My thanks and appreciation to the op for makeing these root zips possible. I appreciate your efforts as this gives me more options as to what I want to run.

It was very easy and simple to do, and works fine.

Install stock rom, reboot, setup rom, boot into recovery, flash both root zip files via recovery, reboot to system. Bingo root, with stock rom.
[X 2014 Android Development] timmypbass:
I installed Cyanpop and I still didn't have root access. now I'm stuck on the "cyanpop" loading screen hoping something is going on in the background. Should I flash supersu 2.66?

---------- Post added at 11:15 AM ---------- Previous post was at 11:13 AM ----------

I am on cm13 6.0.1 and flashed the two files. Now it is on the loading screen. What can I do from here?
[X 2014 Android Development] Vinnom:
This files aren't meant for you if you are using custom rom. Flash Cyanpop again and flash supersu, without flashing this thread files

Enviado de meu XT1097 usando Tapatalk
[X 2014 Android Development] sal_ad:
XT1085

Hello everyone,

I'm currently using the moto X 2nd generation bought in china (XT1085) running android 5.0.2.

I would like to get rid of the retcn version of the system because I don't speak chinese for a retEU or retUS and install android 6 MM. Is it possible?

My phone is rooted and TWRP recovery installed

I tried to install this version : Version 6, because one guy wrote on the topic that it worked on TX1085 but it failed for me, and my phone stayed on the Motorola launching screen.

So now I'm back with the factory setup and would like to now how to install android 6.0?

Thanks :)
[X 2014 Android Development] AGISCI:
Did you erase your phone's data and cache after flashing?
[X 2014 Android Development] sal_ad:
Yes :/
[X 2014 Android Development] AGISCI:
Just to be sure, you didn't erase them from TWRP right? TWRP does not erase the data partition completely.

You must do:

fastboot erase userdata

fastboot erase cache

From fastboot mode.
[X 2014 Android Development] sal_ad:
hummm.... no.... oups :eek: yep I erased from twrp...

Currently I installed the stock rom android 6.0 for XT1095 : VICTARA_TMO_6.0_MPE24.49-18_cid9_CFC (and erase the data partition properly) and it almost work. I just have my wifi wich can reach my router but can't connect internet. I'm also try to root, but I don't know if the custom boot for XT1095 will work. We will see :)

EDIT : The root works but still no wifi :/
[X 2014 Android Development] X0FVZ:
i can root my device after install cyanogemod?
[X 2014 Android Development] AGISCI:
Cyanogen as well as almost all custom roms come with root. Do not install this!

This is only for stock roms which don't have root.
[X 2014 Android Development] Homars:
To activate root on cyanogemod go to settings-->develorper options-->root access-->apps and adb (or you can choose one or the other)
[X 2014 Android Development] roddem:
The easiest and the simplest. Thank you so much.
[X 2014 Android Development] Ijspegel:
Knowing

Hello,

My XT1092 is on MM 6.0 Stock, updated OTA from 5.1.

I have Root Access, Flashed Root-Boot and SuperSU 2.65 as on the first page.

Works great, no problems.

My Question: If i install for instance Blissrom latest build, what would happen to the root-boot zip I flashed to gain Root?

Will it be overwritten by the new rom because of the costum kernel that is in the ROM?

And if i would go back from Blissrom to Android Stock 6.0 with the origional ZIP from Motorola, would the Kernel be normal again?

And do you need to Flash Root-Boot and SuperSU again to gain Rootaccess on the stock rom?

What does Root-Boot exactly, i would like to understand it.

Thank you.
[X 2014 Android Development] varinder jaswal:
I unlocked my xt1092 successfully.... flashed Recovery successfully... In recovery tried to install root-boot and SuperSU 2.65 but after that when rebooting stuck in bootloop... Am I doing something wrong..?? or missing somehing.... Please need help... thanx
[X 2014 Android Development] chaonarak:
after installed TWRP and successfully rooted

how can i go back to stock recovery? please kindly advise.
[X 2014 Android Development] deepanshu sharma:
hey everyone!

thanks to OP i have rooted my phone(xt1092 on marshmallorw) successfully using this guide

anyways. i have a question

i want to ask will i lose root or run into any problem if i format my phone now?

also i did a nandroid backup but now i cant copy it to pc, most probably because of permission related issues which too i cant change. ive tried a lot of methods but have failed every time.
[X 2014 Android Development] varinder jaswal:
I successfully rooted my phone as per the OP... Working great with xposed apps for MM... And Moto lift to ear feature n much more on stock... Thanks guys for helping.. Special thanks to OP...