[Moto G 2015 General] lexiyuri:
:fingers-crossed:

How to get root Moto G 2015 With Stock Android Marshmallow 6.0 (XT1541)​

Hi guys. Now I have a Moto G 2015 XT1541 with previously unlocked bootloader (following Motorola Guide described here, be careful unlocking bootloader wipes everything!) with recently installed Europe Retail Stock ROM MM 6.0, but i was having some issues trying to install TWRP 3.0 and SuperSU 2.65....until now.

With latest SuperSU you will get bootloop, and probably you need to reinstall the stock rom completely.........but... ....This method works fine!

Try it yourself on XT1540, XT1542, XT1543, XT1544 and XT14548 variants

So, I have used TWRP twrp-osprey-2.8.7-r7.img for the recovery and Super SU Beta 2.62 (BETA-SuperSU-v2.62-3-20151211162651.zip) to get root on my device.

Get TWRP recovery and ROOT

Step 0: enter to developer options (tap 7 times the build number) and select Allowing USB debubbing and Allow OEM unlock options

Step 1: install TWRP 2.8.7-r7 entering to bootloader mode

Turn off the device, press power and volume down and wait for two seconds. device will show bootloader mode in black screen, connect it to the pc through usb cable

Step 2: Paste twrp2.8.7-r7.img file into folder \Android\sdk\platform-tools and rename it to recovery.img (this requires previously installed Android SDK Tools, but you can do the same with MinimalADB

open cmd in windows, navigate to the platform-tools folder location and write this line:

fastboot boot recovery.img

Wait until ok message appears in cmd

TWRP will appear, and press reboot System. Enter bootloader mode again and type in CMD the following:

fastboot flash recovery recovery.img

Wait until ok message appears in cmd. After that, press in bootloader mode the recovery option, you will enter to twrp and now new recovery becomes permanent, press Reboot system.

Step 3: copy BETA-SuperSU-v2.62-3-20151211162651.zip file into the device and after that, disconnect it from usb

Step 4: turn off the device, enter bootloader mode as stated in step 1, and select the recovery option with the volume up and down , press power button to enter to recovery and twrp will appear instead of original recovery.

Step 5: in twrp press install, select location of the Beta SuperSu File, select beta Super SU zip file and allow installation swipping to the right side and wait until it finish.

Step 5.1: after flash Super SU, wipe dalvik and cache through twrp, pressing the wipe dalvik/cache button located in left side.

Step 6: in twrp press button reboot now.

Wait a little while android rebuild the cache.

The device will enter to the home screen. check that super su app is installed

Note: if twrp offers to you install SuperSu dont let it. That causes a bug.

Step 7: Install Root checker and check if you are root.

Thats all folks!!

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

Plus 1 - If something goes wrong you can reinstall Stock as described in this repair guides. Check here the firmware and here the reinstall instructions

Plus 2 - How to delete the Motorola annoying unlock bootloader message:

Step 0: connect the device to the pc, copy unlocked_logo.zip file into the device and after that, disconnect from usb

Step 1:

Turn off the device, press power and volume down and wait for two seconds. device will show bootloader mode in black screen

Step 2: In bootloader mode select with the volume up and down the recovery option, press power button to enter and twrp will appear

Step 3: in twrp press install, select location of the unlocked_logo.zip File, select that file and allow installation swipping to the right

Step 4: in twrp press reboot now. The device will boot without nagging window.