Sunday, 17 July 2016

[ROOT][XT1097] Systemless root for Moto X 2014



Hello everyone!

After a few days playing with it I finnaly managed to perform a systemless root install for our beloved Moto X 2014 :)

Benefits:
- Install OTA updates when they arrive;
- Use Android Pay (not avaiable in Brazil yet);
- SafetyNet checking will pass. This is the most important thing when it comes to systemless.

Requirements (links below) :
- Boot partition must be in its original untouched stock state otherwise SuperSU installer won't be able to patch it;
- System partion must be untouched as well but a simple uninstall of applications that have changed it should be enough. This step is not mandatory but if your system partition remains changed SafetyNet checking will fail;
- Your device must be unrooted. SuperSU has the option "Completly remove root". Use it;
- If you have Xposed Framework installed, uninstall it;
- You'll need ADB and Fastboot in order to flash stock boot.img if applicable;
- TWRP. I highly recommend version 2.8.7.1 since the versions 3.x are unstable;
- SuperSU 2.67 zip installer;
- Latest SuperSU zip installer;

Install guide:
- Uninstall Xposed Framework if applicable;
- Uninstall SuperSU;
- Connect your device to your computer via USB;
- Reboot into bootloader:

Code:


adb reboot-bootloader

- Restore stock boot partition:

Code:


fastboot flash boot xt1097_boot_stock_with_may_2016_update.img

VERY IMPORTANT: The binary file boot xt1097_boot_stock_with_may_2016_update.img is device dependent. I have extracted stock boot.img from victara May 2016 update full ROM package and put it here. If you are trying on the other variants, make sure you will use the right image.

- Reboot into Recovery (TWRP);
- Type the following two commands in the Command Prompt:

Code:


adb shell "echo SYSTEMLESS=true>/data/.supersu"
adb shell "echo BINDSYSTEMXBIN=false>>/data/.supersu"


- Install SuperSU 2.67 zip (for some reason 2.76 fails to backup ramdisk and fails to install). We will update to greatest and latest 2.76 in a minute :)
- After SuperSU 2.67 install finishes, DO NOT REBOOT, go back to TWRP main menu and install SuperSU 2.76 zip. Just ignore a message regarding ramdisk backup failure;
- Now reboot system. If the first boot fails, just wait - the second will work I promise you!
- As soon as Android UI shows up you should be systemless rooted;
- Confirm SuperSU 2.76 is installed;
- Open up any root app you have. The world-famous Superuser permission request dialog should pops-up;
- Install SafetyNet Helper in order to attest your Android is passing Google's SafetyNet checking: https://play.google.com/store/apps/d...fetynet.sample

Now you should be good. Congrats!

Go ahead and get some systemless apps:
- Systemless Xposed Framework
- Systemless Adaway

This procedure should work for the other variants too - all you need is the original boot.img

If you need any help feel free to ask.

Attached you can find the screenshots taken from my XT1097 after the procedure :)

Related links:

BETA-SuperSU 2.67:
https://download.chainfire.eu/897/Su...etrieve_file=1

Latest stable SuperSU:
http://download.chainfire.eu/supersu-stable

Systemless Xposed Framework:
http://forum.xda-developers.com/xpos...posed-t3388268

Systemless AdAway:
http://forum.xda-developers.com/show....php?t=2190753

Material Design Xposed Installer:
http://forum.xda-developers.com/xpos...aller-t3137758

Minimal ADB and Fastboot:
http://forum.xda-developers.com/show....php?t=2317790

TWRP for Moto X 2014:
http://forum.xda-developers.com/moto...overy-t2911523

Thanks:
@Chainfire








Attached Thumbnails


Click image for larger version<br/><br/>Name:	xt1097_systemless_root_1.png<br/>Views:	N/A<br/>Size:	141.7 KB<br/>ID:	3816009
 

Click image for larger version<br/><br/>Name:	xt1097_systemless_root_2.png<br/>Views:	N/A<br/>Size:	156.4 KB<br/>ID:	3816010
 

Click image for larger version<br/><br/>Name:	xt1097_systemless_root_3.png<br/>Views:	N/A<br/>Size:	168.8 KB<br/>ID:	3816011
 

Click image for larger version<br/><br/>Name:	xt1097_systemless_root_4.png<br/>Views:	N/A<br/>Size:	151.9 KB<br/>ID:	3816012
 

Click image for larger version<br/><br/>Name:	xt1097_systemless_root_5.png<br/>Views:	N/A<br/>Size:	142.8 KB<br/>ID:	3816013
 











Attached Files






File Type: zip xt1097_boot_stock_with_may_2016_update.zip -
[Click for QR Code]
(7.58 MB)







No comments:

Post a Comment