[Moto Maxx General] ChazzMatt:
Updated root & TWRP installation guide for Moto XT1225 and XT1250

Plus other goodies! Also see posts #2 and #3.

[UPDATED GUIDE] How to unlock your MOTO MAXX/MOTO TURBO bootloader, install TWRP and gain root access

INTRODUCTION/EXPLANATION

I own three Moto XT1225 and the original root/recovery thread from 2014

is here

. I rooted two of my XT1225 phones using that guide. However, it's a very OLD guide from 2014, made before we even had TWRP recovery and the phone was on KitKat 4.4.4. We now have factory Motorola Marshmallow firmware. You should be very cautious using it! The ADB steps are OK, but would be best to use TWRP recovery in place of the primitive recovery listed in that thread.

[MENTION=5665238]alexcreto[/MENTION] and [MENTION=1220096]respider[/MENTION] did an awesome job at the time, but a lot of dev work has happened since 2014! We have official TWRP. We are now two Android versions away from Kitkat 4.4.4.

Thus, the need for THIS updated guide. I wrote these steps as a post in that thread, but am now making it a standalone thread. [MENTION=5901115]TheSt33v[/MENTION] did a very good job writing up a similar guide for the Droid Turbo XT1254, and while the bootloader unlock portion is different for that Quark model, the TWRP installation and root are the same. With his permission, I have copied those portions of his guide, editing slightly to clarify (in my opinion) or adding some more instructions or combining a few steps for convenience.

The bootloader unlock portion for every Motorola Quark -- except the Droid Turbo XT1254 -- is very easy and free. If you have a Droid Turbo XT1254,

go here

. IF you have any other Quark -- Moto Maxx XT1225, Moto Turbo XT1225, U.S. Moto Maxx XT1250, keep reading...

________________________________

Section 1: UNLOCK YOUR BOOTLOADER

Before anything, go to the Motorola website and unlock your bootloader.

Unlocking the Quarks -- "international" Moto Maxx XT1225, Moto Turbo XT1225, U.S. Moto Maxx XT1250 -- is FREE, via the Motorola website.

UNLOCK YOUR BOOTLOADER

https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a

You release Motorola from any liability, get a code and unlock your bootloader.

If you get an error message at this step that your phone is not eligible, then you have typed in something wrong (or you have a Verizon Droid phone). Helps if you Google how to copy and paste from Windows command window. There's a LOT of alphanumeric characters you have to type. First time I tried to unlock my bootloader I mis-typed something. :crying: Copying and pasting from the Windows command window fixed that problem! :good:

You'll get an email with the bootloader unlock code. The email will also have a link back to the instructions. But the code is what's important.

You will receive this fairly instantly. If you don't get it, make sure you checkmarked you agree to all the conditions. Also check your spam folder.

Of the Quark series, only Verizon's Droid Turbo XT1254 is exempt from this free Motorola bootloader unlock and this guide is NOT for the Droid Turbo XT1254.

This Motorola bootloader unlock guide will help you:

HOW TO UNLOCK MOTOROLA BOOTLOADERS

https://androidmtk.com/unlock-bootloader-on-any-motorola-device

_____________

Once you have unlocked your bootloader, follow THESE steps:

Section 2: INSTALLING TWRP

Team Win Recovery Project is arguably the most important tool to have on a bootloader-unlocked phone. This is how you install it:

0. If you haven't already, go click the Android Build number in About Phone several times to become a "Developer". Then go into Developer Options and allow USB Android Debugging. If it asks you to allow your PC one time or always, check mark always. In Kitkat it looked like this:

It's still very similar.

1. Download and install Minimal ADB and Fastboot to your PC.

Download from here:

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

2. Go ahead and download SuperSU from the attached file at bottom of this post. It's an older version of SuperSu but works well on the Quark Motorola Marshmallow ROM. You can always update to newer version later. We'll install this after we install TWRP. Transfer that file to a convenient location on your phone. If you downloaded the file with your phone, it's in your "Downloads folder". You can keep it there.

BETA-SuperSU-v2.62-3-20151211162651

Attached to this post or download from here:

https://download.chainfire.eu/751/SuperSU/

3. Download the latest Quark TWRP .img file from this page (courtesy our Quark maintainer [MENTION=5747496]bhb27[/MENTION]:

https://www.androidfilehost.com/?w=files&flid=39562

(USE THE FILE ON THAT PAGE WITH THE MOST RECENT DATE)

The file visible in that folder is the always the very newest modded TWRP by our official maintainer [MENTION=5747496]bhb27[/MENTION]. Make sure you use the one with the most recent date. I strongly suggest you use his modded TWRP file over the TWRP from the official TWRP website. He's an XDA recognized dev who knows what's best for our Quark phones, and he's added stuff to make TWRP very compatible with the latest ROMs, whereas the "official" unmodded TWRP does not have that. [MENTION=5747496]bhb27[/MENTION] helped us get official status with TWRP, but for some reason they won't post his modded versions. Ignore them. His modded TWRP is much better (more compatible with newest ROMs) than the TWRP available on the official TWRP site.

4. Download and install the Motorola Device Manager from here:

https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481.

5. Rename the TWRP recovery file that you downloaded in step 3 to TWRP.img.

(Make sure you enable viewing file extensions in Windows! The file already has an ".img" extension! You are merely re-naming it TWRP. The .img extension is already there. If you don't see, then enable viewing all file extensions until you do see it.)

6. Copy TWRP.img to the directory that you installed Minimal ADB and Fastboot to. The default location on an installation of 64-bit Windows is C:\Program Files (x86)\Minimal ADB and Fastboot.

7. Turn off your phone.

8. Hold the volume down button and press the power button to boot into bootloader mode. You should see a green android lying on his back with his chest open, and some information about your phone. Poor little guy...

9. Plug your phone into your PC.

10. Double click on the Minimal ADB and Fastboot shortcut that's on your desktop. It will open a command prompt.

11. Type "fastboot devices" without quotes and press enter. If it gives you your phone's serial number, you're good to go. If it gives you nothing, your device is not detected. This can happen for several reasons, and I won't discuss them here. However, if you followed these directions and all of your hardware is functioning properly, you should be good to go.

12. Type "fastboot flash recovery TWRP.img" without quotes and press enter. It should tell you that the flash was successful. (If fastboot can't find the file, go back to point #5 and make sure you re-named it correctly. Make sure you have Windows extensions visible. You may have accidentally named it TWRP.img.img.)

13 Highlight "Recovery mode" on your phone using the volume up and down buttons.

(Because you will still be on the bootloader screen after flashing TWRP. AFTER you flash it, you will then use your volume button to arrow up or down -- doesn't matter -- through the choice until you see "recovery". THEN, in the next step you will press the power button to choose that selection -- recovery.)

14. Press the power button to choose "boot into TWRP. < THIS IS IMPORTANT! Do not reboot normally after flashing TWRP. Reboot directly to recovery by selecting recovery from the bootloader menu on the phone. After the first TWRP boot, it will be there permanently.

15. TWRP will boot, and it will ask you if you want to allow write access to the system partition. IT IS VERY IMPORTANT THAT YOU ALLOW THIS. Check the box that says to never ask this question again.

____________

Section 3: GAINING ROOT ACCESS

16. Select Install from the TWRP main menu.

17. Navigate to the location where you saved the SuperSu file that you downloaded in step 2, and select it.

18. Swipe the bar at the bottom of the screen to flash this zip file.

19. When it finishes, select Reboot System to boot your phone normally.

_______________

BETA-SuperSU-v2.62-3-20151211162651

Attached to this bottom of this post or download from here:

https://download.chainfire.eu/751/SuperSU/

Flash this version initially. You can update to newer version later. (People had problems flashing the very newest SuperSu for initial root, but this version works good. Again, you can update to newer version later, after you gain root.)

Also, here's some common mistakes people make when flashing TWRP and SuperSU:

(Read these first if you have any problems.)

http://xdaforums.com/showpost.php?p=68211093&postcount=302

http://xdaforums.com/showpost.php?p=68212100&postcount=306

http://xdaforums.com/showpost.php?p=68222204&postcount=309

http://xdaforums.com/showpost.php?p=68224106&postcount=311

_______

BONUS TIP - SuperSu Setting

After you reboot, go into SuperSu settings and UNcheck this box. Mount namespace separation.

Uncheck that. Disable that. Then, reboot.

If it's enabled it will conflict with Titanium Backup which you will use at some point, or should. And you will have no idea why Titanium Backup is saying you are out of space, when you are not -- but it's due to this setting in SuperSu! ;)

STRONG SUGGESTION: After successfully unlocking bootloader, installing TWRP and rooting, when you finally boot back to stock firmware, install THIS app (needs root permission) to easily facilitate rebooting to TWRP recovery in the future.

Recovery Reboot