UPDATED GUIDE: How to unlock your MOTO MAXX/MOTO TURBO bootloader/install TWRP/root

5th September 2016 01:48 PM 11 Thanks
ChazzMatt Recognized Contributor
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.

@alexcreto and @respider 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. @TheSt33v 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.custh...-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. Copying and pasting from the Windows command window fixed that problem!

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-bootlo...otorola-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:

Quote:
Originally Posted by alexcreto

YAY...thats an easy one...
So, whenever you plug your phone in your PC with the USB Debugging on, it prompts you to accept the fingerprint of the PC.
You have to accept it...in your phone...

It's like this:

It's still very similar.

1. Download and install Minimal ADB and Fastboot to your PC.
Download from here:
http://forum.xda-developers.com/show....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 @bhb27:
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 @bhb27. 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. @bhb27 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.custh...ail/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://forum.xda-developers.com/show...&postcount=302

http://forum.xda-developers.com/show...&postcount=306

http://forum.xda-developers.com/show...&postcount=309

http://forum.xda-developers.com/show...&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
[embedded image could not be found]
Attachments:
5th September 2016 01:48 PM 4 Thanks
ChazzMatt Recognized Contributor
Motorola insists upon telling you that you unlocked your bootloader every time you reboot your phone. This is the static logo you see before the moving boot animation starts, and Motorola replaces it with an UNLOCKED bootloader warning. Yes, I know -- I unlocked it on purpose!



Replace that annoying warning with something cool looking... I have attached FIVE choices with Motorola logo!

* Black and White


* Dark Google ATAP


Graphic for this above was used from this Moto X Pure thread by @XDleader555 -- but I adapted it for our Quark so it wouldn't be upside down. All the other bundled graphics in the bin file like "recovery", "bootloader" are taken from the Black & Teal logo below. However the "splash screen" is this artistic black & white boot logo.

* Black and Teal


*White and Teal


* Black and Red



(The last three with color are custom graphics made by @fenix3nk0r3 from this thread. I am using the black and teal on my daily phone.)

And here's two ways of installing the new boot logos...

REMOVE ANNOYING BOOTLOADER UNLOCKED WARNING



1. FASTBOOT ADB
Quote:
Originally Posted by Jaocagomez

Prerequisites:

Installation:
Assuming you already have Fastboot on your pc just flash it with the following command:
Code:
Fastboot flash logo "name_logo".bin
(Replace "name_logo" bin with whatever the .bin file is named, without quotes. IF you simply re-name it logo.bin, remember you will be typing the word logo twice in that command. Just remember to actually type it twice!)


2. FLASH LOGO IN TWRP
Courtesy @bhb27, here's a boot logo flasher app for use in TWRP:

Quote:
Originally Posted by bhb27

This can be used to flash the logo via TWRP. No need to fastboot or PC

Logo_Flasher.zip

This zip must be used with a logo.bin file. The file can be find on stock Moto ROM and modified using the logo flasher app.

Place the logo.bin on the root of this zip, the file name must be named logo.bin

Then just flash the zip via TWRP.


Great tool, once I figured out "place the re-named logo.bin on the root of this zip" meant INSIDE the zipped logo flasher folder.

I first placed it in the same folder as the zipped file (my Download folder). Didn't work. Then, I re-read and realized it meant the logo.bin file had to placed INSIDE the zipped folder. My fault. So, I did that and worked smoothly!

Note that whichever .bin image you use, it MUST be re-named simply "logo.bin" to work inside this logo flasher app.

____

EDIT: SEE POST #5 FOR TWRP FLASHABLE ZIP FILES WITH LOGO ALREADY PREPARED! NO PC NEEDED!
Attachments:
logo_Black.zip 557.66 kB / 394 downloads
logoB.bin.zip 273.28 kB / 164 downloads
logoW.bin.zip 270.22 kB / 134 downloads
logoRedM.zip 230.62 kB / 172 downloads
logo_DARK_GOOGLE_ATAP.zip 412.28 kB / 220 downloads
5th September 2016 02:19 PM 6 Thanks
ChazzMatt Recognized Contributor
FLASH NEW BOOT ANIMATION.

1) Google Bootanimation 60fps for all QUARK


There are plenty of boot animations available. I like this one...

Google Bootanimation 60fps for all QUARK

Looks like this:



But a LOT smoother in real life

See attached file. This is a TWRP flashable zipped file. Download and flash it in TWRP.

Do NOT unzip it! Just boot into TWRP recovery and flash it.


Thanks to @LuanGuima14 for the file!

Quote:
Originally Posted by LuanGuima14

I made a zip containing the bootanimation that google uses the nexus at 60fps and also bootlogo the Droid turbo has dark background

____________________

Also we now have this:

2) Motorola stock "Spinnning World"

Thanks to @metpolds from this post.

Yes, it works on our Quarks. I just flashed it in TWRP recovery to test.

Attachments:
Google Bootanimation 60fps.zip 1.8 MB / 620 downloads
Spinning_World.zip 4.13 MB / 268 downloads
7th September 2016 12:26 AM 1 Thanks
fenix3nk0r3 Senior Member
Men I Like your post, thanks for adding my publication
7th September 2016 11:39 PM 13 Thanks
ChazzMatt Recognized Contributor
TWRP-FLASHABLE: REMOVE ANNOYING BOOTLOADER UNLOCKED WARNING

This is the static logo you see before the moving boot animation starts.

Due requests, I have attached TWRP-flashable files with boot logos already inside. No need for a PC!

NOTE: Flash one of these boot logos as a separate TWRP session if you are also flashing the boot animation. For some reason both cannot be flashed in the same session.

___________

Motorola insists upon telling you that you unlocked your bootloader every time you reboot your phone.



Replace that annoying warning with something cool looking... I have attached FIVE choices with Motorola logo!

* Black and White


* Dark Google ATAP


Graphic for this above was used from this Moto X Pure thread by @XDleader555 -- but I adapted it for our Quark so it wouldn't be upside down. All the other bundled graphics in the bin file like "recovery", "bootloader" are taken from the Black & Teal logo below. However the "splash screen" is this artistic black & white boot logo.

* Black and Teal


*White and Teal


* Black and Red



(The last three with color are custom graphics made by @fenix3nk0r3 from this thread. I am using the black and teal on my daily phone.)
Attachments:
Logo_Flasher-Black_White.zip 661.05 kB / 754 downloads
Logo_Flasher-Black_Teal.zip 408.5 kB / 428 downloads
Logo_Flasher-White_Teal.zip 405.79 kB / 170 downloads
Logo_Flasher-Red_Black.zip 385.25 kB / 450 downloads
Dark_Google_ATAP-Logo_Flasher.zip 534.26 kB / 390 downloads
7th September 2016 11:54 PM 0 Thanks
Steve One Senior Member
Boot animation zip worked but not the logo bin zip Sir.
8th September 2016 01:00 AM 2 Thanks
ChazzMatt Recognized Contributor
Quote:
Originally Posted by Steve One

Boot animation zip worked but not the logo bin zip Sir.

EDIT: We figured out these boot logos have to be flashed in a separate TWRP session if you are also flashing the boot animation.
______________


Works for me. How are you downloading? How are you flashing?

I flashed the white and teal before I uploaded the zipped files, as I was already using the black and teal.

Now I just reflashed the black and teal from the exact same file I attached to post #5.

Using Chrome browser, I just re-downloaded the red and black -- even though I already had it stored on my phone. I used the one from this post and flashed it. It works.

So, that's 3 of the 4 I've personally flashed...

Boot into TWRP and "install" (flash) the zipped file you downloaded.
8th September 2016 01:18 AM 1 Thanks
Steve One Senior Member
Just reflashed and it worked great. Maybe it didn't work the first time because I flashed both the logo bin zip and boot animation together.
Thank you very much for your continued support kind Sir.
9th October 2016 05:02 PM 0 Thanks
ramiro128 Junior Member
Hola, thanks for this exceptional guide to root MM in XT1225!

Im having same issues making backups with TWRP.

First its not backing up in my OTG device, i get error 255.

If i make backup in internal memory then i cant see it in root explorer or in windows.

I see TWRP folder but nothing inside, but in TWRP i can restore it.

Hope you understand me.

Sorry for my bad english and thanks for you work again!
9th October 2016 09:54 PM 0 Thanks
ChazzMatt Recognized Contributor
Quote:
Originally Posted by ramiro128

Hola, thanks for this exceptional guide to root MM in XT1225!

Im having some issues making backups with TWRP.

First its not backing up in my OTG device, i get error 255.

If i make backup in internal memory then i cant see it in root explorer or in windows.

I see TWRP folder but nothing inside, but in TWRP i can restore it.

Hope you understand me.

Sorry for my bad english and thanks for you work again!

You are welcome. I am not a TWRP expert. I would suggest you re-flash the latest version of TWRP and see what happens. But you will get a better answer in the TWRP thread run by @bhb27... Good luck!

[RECOVERY][OFFICIAL TWRP 3.0.2-0][For all Quark][Moto Maxx/Turbo and Droid Turbo]
http://forum.xda-developers.com/moto...overy-t3180308
close
Advanced Search
close