How to root Xt1078 Marshmallow? - Moto G 2014 LTE Q&A, Help & Troubleshooting

Hello,
I have a unrooted full stock Xt1078 updated to Marshmallow (6.0), can someone please point me to:
- How-to root? (XT1078 Marshmallow)
- Compatible SuperSu
- Compatible Xposed
Searching around I found some tutorials for Lollipop, and some for Marshmallow but for Xt1069, and I don't know if those are compatible with my model/OS version.
Thanks in advance!

Nevermind, I got it.
If someone else need it (DO IT AT YOUR OWN RISK!):
- Unlock bootloader:
https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a
- Remove unlocked bootloader warning:
http://forum.xda-developers.com/moto-g-2014/general/fix-remove-unlocked-bootloader-warning-t2875385
-Downloads:
Twrp:
https://twrp.me/devices/motorolamotog2014lte.html
SuperSu:
http://forum.xda-developers.com/moto-g-lte/general/root-marshmallow-stock-rom-t3317859
Xposed (Arm7 framework & installer):
http://android.wonderhowto.com/how-...work-android-6-0-marshmallow-devices-0166278/
- Root:
Put Super SU in Internal Storage, enter fastboot
Commands:
mfastboot devices
mfastboot flash recovery <twrp file name>
Do not reboot!
In recovery Flash Super Su
Reboot
- Xposed:
Flash the framework (zip) in Twrp and install the installer (apk); detailed steps:
http://android.wonderhowto.com/how-...work-android-6-0-marshmallow-devices-0166278/

Related

[GUIDE] [HOW-TO] [TUTORIAL] How to root Nexus 5 without flash custom recovery

How to root Nexus 5 without install custom recovery
What is this?
I see several people saying they don't root for not to flash a custom recovery. So, you can do root without flash a custom recovery.
Note:
Tested on Nexus 5 sotck 5.1.1;
Requirements:
- Unlocked bootloader;
- Adb and Fastboot and Nexus 5 Drivers installed on PC;
- Usb debugging enable on your phone;
Downloads:
- Download latest TWRP for hammerhead
- Download latest SuperSu
Instructions:
- Copy SuperSu from your SDcard;
- Open CMD or Terminal into the folder where you placed the Custom recovery and reboot on bootloader:
Code:
adb reboot bootloader
- After reboot in bootloader, boot on temp custom recovery:
Code:
fastboot boot recovery_file_downloaded.img
- Your phone will restart in temporary Custom Recovery.
- Now just flash the SuperSU (which you copied to your sdcard before)
- Reboot system
- Enjoy!
Tanks verry good
Last update for twrp is 2.8.6.1
This version is not includ on your link
Brilliant! Thanks a million for this
Deleted
Sent from my Nexus 5 using Tapatalk

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

Hello, everyone!
TL;DR: You're about to perform a systemless root installation on your phone so make sure you have uninstalled Xposed Framework, uninstalled root, the device's bootloader is unlocked and your phone's boot image is in its untouched stock state. Then boot into TWRP and install SuperSU-v.279-SR3 or newer.
UPDATE 2017-01-19:
- Provided missing bootloader information regarding root. Thanks, @Charlita for the heads-up!
- Moved TL;DR section to the top.
UPDATE 2017-01-15:
- SuperSU-v.279-SR3 learned how to use systemless mode as default flashing method for Motos. This is great news as the installation process now is just a matter of flashing the SuperSU installer. The segmentation fault had been fixed on SR2 and this version also includes that fix.
- Included a TL;DR section.
UPDATE 2016-12-25:
- SuperSU-v.279-SR1 contains a regression bug regarding the "segmentation fault". Skip this version for now. I've already contacted Chainfire.
- suhide: as the Chainfire himself stated, the tool is a losing game so I'm not putting any further effort here.
UPDATE 2016-11-03:
- As of SuperSU-v2.78-SR3 boot image patching works out-of-the-box. Just install it and you're done!
- TWRP version 3.x works as expected.
- Unfortunately, SafetyNet checking fails as Google constantly updates the server-side code.
- WIP: Check if Chainfire's suhide are able to help here.
UPDATE 2016-08-08:
- Added a backup reminder.
- Added flashable zip systemless_root_enabler_by_glauberlima.zip.
After a few days playing with it, I finally managed to perform a systemless root install for our beloved Moto X 2014
Benefits:
- Install OTA updates when they arrive;
- SafetyNet checking will pass so Android Pay can be used (not available in Brazil yet).
Requirements (links below) :
- Android 6 Marshmallow
- Bootloader must be unlocked otherwise you won't be able to root your phone;
- Boot partition must be in its original untouched stock state otherwise, SuperSU installer won't be able to patch it;
- System partition 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. Version 3.0.2-2 works just fine. If you prefer 2x series, I highly recommend version 2.8.7.1;
- SuperSU-v2.79-SR3 zip installer (or a newer version). DO NOT TRY AN OLDER VERSION. WILL NOT WORK;
Install guide:
- Make a Nandroid backup first using TWRP;
- 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 (you can skip this step if you already been on stock boot):
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);
- Flash the attached zip file systemless_root_enabler_by_glauberlima.zip. This will set both variables SYSTEMLESS=true and BINDSYSTEMXBIN=false. Without these variables set, SuperSU will fail to systemless root the device. Feel free if you want to manually enter the commands in the Command Prompt:
Code:
adb shell "echo SYSTEMLESS=true>/data/.supersu"
adb shell "echo BINDSYSTEMXBIN=false>>/data/.supersu"
- Install SuperSU and 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 is installed by recognizing the green icon on your app drawer;
- Open up any root app you have. The world-famous Superuser permission request dialog should pop-up;
- Install SafetyNet Helper, in order to attest your Android, is passing Google's SafetyNet checking: https://play.google.com/store/apps/details?id=com.scottyab.safetynet.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:
SuperSU-v2.79-SR3:
https://download.chainfire.eu/1021/SuperSU/SR3-SuperSU-v2.79-SR3-20170114223742.zip
Latest stable SuperSU:
http://download.chainfire.eu/supersu-stable
Systemless Xposed Framework:
http://forum.xda-developers.com/xposed/unofficial-systemless-xposed-t3388268
Systemless AdAway:
http://forum.xda-developers.com/showthread.php?t=2190753
Material Design Xposed Installer:
http://forum.xda-developers.com/xposed/material-design-xposed-installer-t3137758
Minimal ADB and Fastboot:
http://forum.xda-developers.com/showthread.php?t=2317790
TWRP for Moto X 2014:
http://forum.xda-developers.com/mot...recovery-twrp-2-8-0-0-touch-recovery-t2911523
Thanks:
@Chainfire
Even if I am on stock I have to flash boot*.img?
Sent from my XT1097 using Tapatalk
rtrotsky said:
Even if I am on stock I have to flash boot*.img?
Sent from my XT1097 using Tapatalk
Click to expand...
Click to collapse
Since your device already has the untouched stock boot you don't need to flash anything.
I seem to be having trouble installing the "Systemless Xposed". It errors out with - ! Failed: Unable to extract zip file!
I have verified "systemless root - ver 2.76" and tried re-downloading the zip. Any thoughts?
jbaumert said:
I seem to be having trouble installing the "Systemless Xposed". It errors out with - ! Failed: Unable to extract zip file!
I have verified "systemless root - ver 2.76" and tried re-downloading the zip. Any thoughts?
Click to expand...
Click to collapse
Could you provide your recovery.log from TWRP so we can see the detailed logging information?
You can pull it from your device by running the following command in command prompt:
Code:
adb shell cat /tmp/recovery.log | clip
This will copy recovery.log contents to the clipboard. Paste it into notepad then save and attach here.
glauberlima said:
Could you provide your recovery.log from TWRP?
You can pull it from your device by running the following command in command prompt:
Code:
adb shell cat /tmp/recovery.log | clip[code]
This will copy contents to the clipboard. Paste it in notepad then save and attach here.[/QUOTE]
This is pretty neat. Given what I read as the requirements am I correct this only works with stock ROM? (and test will only pass on stock).
Click to expand...
Click to collapse
vpxf said:
This is pretty neat. Given what I read as the requirements am I correct this only works with stock ROM? (and test will only pass on stock).
Click to expand...
Click to collapse
Hi @vpxf
The unmodified boot.img is a requirement for SuperSU as it tries to patch the boot image on-the-fly during the install process (by the time you flash it using TWRP). If the image is not in its original state, SuperSU will fail to install in systemless mode.
Regarding your question about custom ROMs compatibility I don't know if the SafetyNet checking will pass/fail. That's a good test to perform.
glauberlima said:
Could you provide your recovery.log from TWRP so we can see the detailed logging information?
You can pull it from your device by running the following command in command prompt:
Code:
adb shell cat /tmp/recovery.log | clip
This will copy recovery.log contents to the clipboard. Paste it into notepad then save and attach here.
Click to expand...
Click to collapse
I've attached the log. I did notice "unzip: zip flags 1 and 8 are not supported".
NOTE: I was able to flash the 85.7 version found in the second post of the "Systemless Xposed" thread. The newest 86.2 is the one giving me troubles.
As glauberlima found out in the other thread, you need to re-zip the xposed installer with 7-zip (that's what i used at least) and the install will work.
bertolehm said:
As glauberlima found out in the other thread, you need to re-zip the xposed installer with 7-zip (that's what i used at least) and the install will work.
Click to expand...
Click to collapse
jbaumert said:
I've attached the log. I did notice "unzip: zip flags 1 and 8 are not supported".
NOTE: I was able to flash the 85.7 version found in the second post of the "Systemless Xposed" thread. The newest 86.2 is the one giving me troubles.
Click to expand...
Click to collapse
As stated by @bertolehm I've discussed in the other posts the exactly same issue with the zip installer you have reported @jbaumert. Take a look at them:
http://forum.xda-developers.com/showpost.php?p=67792193&postcount=1193
http://forum.xda-developers.com/showpost.php?p=67805517&postcount=1233
Regarding your device being systemless rooted check with SafetyNet Helper Sample app. If everything turns green you are good
** Duplicated **
Thanks for the tutorial.
The first boot fails, ok ; but how long is the second boot ?
I wait a long time (around 15 minutes) blocked at the first screent (static moto logo) and I stop it, reboot and reinstall my backup. I panic a little
oyoyl said:
Thanks for the tutorial.
The first boot fails, ok ; but how long is the second boot ?
I wait a long time (around 15 minutes) blocked at the first screent (static moto logo) and I stop it, reboot and reinstall my backup. I panic a little
Click to expand...
Click to collapse
Which variant is your X?
glauberlima said:
Which variant is your X?
Click to expand...
Click to collapse
XT1092
oyoyl said:
XT1092
Click to expand...
Click to collapse
15 minutes... That's definitely too much.
I'm about to update this guide with my new findings so If you don't mind I'd like to suggest you this:
Repeat the steps but this time skip the update to latest version. After the reboot access SuperSU. It should display a message regarding your su needs update. Accept it.
Make sure your nandroid backup is up to date.
Same thing, but it's possible that my boot image is not up to date and I have no other boot backup to test.
I have only a complete backup (boot + system without root), perahps I'll try later with complete restore ...
Thanks
Something went wrong, the root works fine, but when I run the SafetyNet test, I got "CTS profile match: false", I just want to keep the OTA upgrades working, if I did something wrong, is there any way to unroot and do the systemless root again?? Thankss
Hi! Hey, I followed the steps and my MotoX got stuck when rebooting after flashing. I'm trying to enter fastboot with power+Volume down but no luck so far, any idea? I hope you can help me!
oyoyl said:
Same thing, but it's possible that my boot image is not up to date and I have no other boot backup to test.
I have only a complete backup (boot + system without root), perahps I'll try later with complete restore ...
Thanks
Click to expand...
Click to collapse
OK. Just leave a reply by the time you have the result of your test.
guilhermoaraujo said:
Something went wrong, the root works fine, but when I run the SafetyNet test, I got "CTS profile match: false", I just want to keep the OTA upgrades working, if I did something wrong, is there any way to unroot and do the systemless root again?? Thankss
Click to expand...
Click to collapse
One of your installed apps modified system partition. Did you test on a completly stock image?

Autoroot or one click root possible ?

Hello
is there any possibility to root the 2014 G2 LTE with Android 6.0 and keep the user data ?
Regards
Try oneclickroot.com or King Root.
No, for root your device is imposible without erasing your data because is necesary to unlock your bootloader, you can try to do a backup to sabe your data
Those are the steps and also xposed and twrp
- Unlock bootloader:
https://motorola-global-portal.custh...-your-device-a
- Remove unlocked bootloader warning:
http://forum.xda-developers.com/moto...rning-t2875385
-Downloads:
Twrp:
https://twrp.me/devices/motorolamotog2014lte.html
SuperSu:
http://forum.xda-developers.com/moto...k-rom-t3317859
Xposed (Arm7 framework & installer):
http://android.wonderhowto.com/how-t...vices-0166278/
- Root:
Put Super SU in Internal Storage, enter fastboot
Commands:
mfastboot devices
mfastboot flash recovery <twrp file name>
Do not reboot!
In recovery Flash Super Su
Reboot
- Xposed:
Flash the framework (zip) in Twrp and install the installer (apk); detailed steps:
http://android.wonderhowto.com/how-t...vices-0166278/
Ismael034202 said:
No, for root your device is imposible without erasing your data because is necesary to unlock your bootloader, you can try to do a backup to sabe your data
Those are the steps and also xposed and twrp
- Unlock bootloader:
https://motorola-global-portal.custh...-your-device-a
- Remove unlocked bootloader warning:
http://forum.xda-developers.com/moto...rning-t2875385
-Downloads:
Twrp:
https://twrp.me/devices/motorolamotog2014lte.html
SuperSu:
http://forum.xda-developers.com/moto...k-rom-t3317859
Xposed (Arm7 framework & installer):
http://android.wonderhowto.com/how-t...vices-0166278/
- Root:
Put Super SU in Internal Storage, enter fastboot
Commands:
mfastboot devices
mfastboot flash recovery <twrp file name>
Do not reboot!
In recovery Flash Super Su
Reboot
- Xposed:
Flash the framework (zip) in Twrp and install the installer (apk); detailed steps:
http://android.wonderhowto.com/how-t...vices-0166278/
Click to expand...
Click to collapse
Copy and paste? Nice to help!
http://forum.xda-developers.com/moto-g-lte/help/how-to-root-xt1078-marshmallow-t3427218

Rooting and Unroot Huawei P8 [6.0] [FOR All EMUI4.0.1] all [GRA-Types]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Rooting and Unroot Huawei P8 GRA-xxx Marshmallow (Android 6) [All Stock-Firmwares with EMUI4.0.1]​
For newer Firmwares use following Guide: https://forum.xda-developers.com/showpost.php?p=75460388&postcount=323
Note: DONT FLASH SUPERSU OVER EXISTING ROOT - SINCE SUPERSU 2.82 IT IS REQUIRED TO UNROOT YOUR PHONE BEFORE USING NEWER VERSION!
SuperSU-v2.82-SR5-permissive.zip by Tecalote: https://www.androidfilehost.com/?fid=962187416754458671 MD5: b168a88bc815d3fac521ace97402a949
It enables init.d and SELinux Permissive (required for installing several mods like Viper4Android etc...)
NEW TWRP released by @AD2076 : https://eu.dl.twrp.me/grace/twrp-3.1.1-0-grace.img.html
This new method should work on all types of GRA (GRA-L09-TL00-CL00-UL00-UL10-TL10-CL10) for newer Firmwares from 2017 on!
For Unroot you can do it directly from SuperSU App - with restoring the boot.img (SuperSU App ask you, answer with YES) - or alternative you can flash UnSU Script with TWRP:
http://forum.xda-developers.com/showpost.php?p=63615067
If you flash unsu script - you must restore your original unmodified boot.img from TWRP Backup! This make sure you can boot straight to system after Unroot.
If you flash instead boot.img extracted from update.app you cannot boot to system before installing EMUI Recovery and doing Factoryreset.
But it is possible to Root your Phone directly after flashing boot.img to BOOT
Restoring boot.img is required after Unroot in every case! A) If you like to stay unrooted and B) if you want to Root with new Version of SuperSU. If you want Root with new SuperSU, you must restore original boot.img. After you have restored it from TWRP Backup or flashed it with adb in Fastboot Mode, you can Root directly after restoring without boot to system before.
If you cannot restore boot.img, because you have no TWRP Backup from Boot, you can download the Firmware for your build Number (Settings/About Phone) from here:
http://pro-teammt.ru/firmware-database/?firmware_model=GRA&firmware_page=0
With following Tool you can extract boot.img from UPDATE.APP - Huawei Update Extractor: https://forum.xda-developers.com/showthread.php?t=2433454
Unlocked Bootloader required
Unlocked Bootloader:
If your Bootloader is locked install the App Huawei-ID on your Phone. On newer Firmwares, the Huawei-ID App is already preinstalled.
But anyway update it to this version: https://www.androidfilehost.com/?fid=385035244224383206
After you must visit website for login and requesting the unlock-code. Visit: http://emui.huawei.com/en/plugin/hwdownload/download and click: Unlock Bootloader.
Make an Account or Login with your Huawei-ID, click again: Unlock Bootloader. Fill out form - you can find all information in Settings "About the Phone" and "Status" - for the Product-ID use dialer ( *#*#1357946#*#* ). Submit information and you receive the Unlock Code.
- On your phone activate the developer options (Settings "About the phone" press several times consecutively the "Build-Number")
- In developer options activate "USB-Debugging"
- In Settings "Security" activate "Unknown Sources" and HiSuite HDB accept
- install the latest HiSuite (from Huawei) on your PC - Download: http://consumer.huawei.com/minisite/HiSuite_en/index.html
- start HiSuite and connect your Phone with the USB-Cable with your PC. You will receive a fingerprint question on your Phone, acitvate "Always" and "Yes"
- accept also the installing of HiSuite on your Phone. As soon the drivers are installed and your phone is succesful connected, close HiSuite (even in the background).
- unzipp "Minimal ADB + Fastboot", install it on your PC - Download: https://www.androidfilehost.com/?fid=385035244224386526
- (the path will be C:\Program Files (x86)\Minimal ADB and Fastboot) - after open the Program as Administrator
- tap: adb devices (your device must listed with ID)
- tap: adb reboot bootloader (Phone restart in Fastboot-Mode) You will see, your bootloader is locked
- wait until PC installs additional drivers, after:
- tap: fastboot devices (your device must listed with ID)
- tap: fastboot oem unlock YOUR16DIGITCODE (which you have received from Huawei) - after unlock tap: fastboot reboot
If you have problems to execute fastboot-commands and you see just: "Waiting for any devices" - or if you have trouble with hardware-buttons read following information: http://forum.xda-developers.com/showpost.php?p=69440645&postcount=129
Old methods (2016) - not reccomended for newer Firmwares (2017..)
It is no more possible to Root Huawei Firmware up to EMUI 4.01 with newer Versions of SuperSU (current stable 2.78) neither with the Force Systemless Command! Dont try it, because SuperSU will destroy the original boot.img of the Firmware - See Screenshot 1. You can flash the zip but your phone would not boot and staying on the Rescue-Screen of the Bootloader.... That´s why I maked this Thread!
All methods updated 13.10.2016 - everything works now! .
For systemless rooting (like my method A) you can also use the SRKToolHuawei 2.0 by @somboons
- Download: https://www.androidfilehost.com/?fid=529152257862664925 - Thread: http://forum.xda-developers.com/mate-8/development/tool-srk-tool-huawei-t3369797
Before you going to root your phone make a full Nandroid Backup (all shown Partitions) with TWRP - if something goes wrong you can restore your backup.
Thread for German Speakers GRA-L09: http://www.android-hilfe.de/thema/huawei-p8-b380-root-anleitung.797464/
Requirements:
1) Unlocked Bootloader:
If your Bootloader is locked install the App Huawei-ID on your Phone. On newer Firmwares, the Huawei-ID App is already preinstalled.
But anyway update it to this version: https://www.androidfilehost.com/?fid=385035244224383206
After you must visit website for login and requesting the unlock-code. Visit: http://emui.huawei.com/en/plugin/hwdownload/download and click: Unlock Bootloader.
Make an Account or Login with your Huawei-ID, click again: Unlock Bootloader. Fill out form - you can find all information in Settings "About the Phone" and "Status" - for the Product-ID use dialer ( *#*#1357946#*#* ). Submit information and you receive the Unlock Code.
- On your phone activate the developer options (Settings "About the phone" press several times consecutively the "Build-Number")
- In developer options activate "USB-Debugging"
- In Settings "Security" activate "Unknown Sources" and HiSuite HDB accept
- install the latest HiSuite (from Huawei) on your PC - Download: http://consumer.huawei.com/minisite/HiSuite_en/index.html
- start HiSuite and connect your Phone with the USB-Cable with your PC. You will receive a fingerprint question on your Phone, acitvate "Always" and "Yes"
- accept also the installing of HiSuite on your Phone. As soon the drivers are installed and your phone is succesful connected, close HiSuite (even in the background).
- unzipp "Minimal ADB + Fastboot", install it on your PC - Download: https://www.androidfilehost.com/?fid=385035244224386526
- (the path will be C:\Program Files (x86)\Minimal ADB and Fastboot) - after open the Program as Administrator
- tap: adb devices (your device must listed with ID)
- tap: adb reboot bootloader (Phone restart in Fastboot-Mode) You will see, your bootloader is locked
- wait until PC installs additional drivers, after:
- tap: fastboot devices (your device must listed with ID)
- tap: fastboot oem unlock YOUR16DIGITCODE (which you have received from Huawei) - after unlock tap: fastboot reboot
If you have problems to execute fastboot-commands and you see just: "Waiting for any devices" - or if you have trouble with hardware-buttons read following information: http://forum.xda-developers.com/showpost.php?p=69440645&postcount=129
2) There is a new TWRP released by KangV from the Huawei Rom Team (HRT) v. 3.0.2 - multilingual. ​ Download: https://www.androidfilehost.com/?fid=529152257862681510
- rename the .img to "TWRP" (TWRP.img) and flash it with ADB.
- first store the TWRlP.img in C:\Program Files (x86)\Minimal ADB and Fastboot, after open the Program (Phone must be connected with USB to PC)
- tap: adb devices (your device must listed with ID)
- tap: adb reboot bootloader (Phone restart in Fastboot-Mode - you will see, your bootloader is unlocked now)
- tap: fastboot flash recovery TWRP.img
If the flashing of the Recovery is succesfully done - disconnect your Phone from USB!
- press the Vol+ button first (staying on Vol+) and simultaneously press the Power Button
- wait until the phone reboot - in the moment you see the Huawei Logo skip pressing the Power Button but stay on Vol+ until you are succesfully bootet to TWRP
- TWRP ask you by the first start for root access "Allow to modify system partion" - swype to confirm "yes"
- go to button "Backup", select your external Storage and make a complete Nandroid Backup of all shown partititions
- after you can Root your Phone now - see description
Note: If you make something wrong booting first time to TWRP and the Phone reboot to system instead of TWRP, Stock-Recovery will be reflashed and you must flash TWRP again with ADB
A) Rooting in systemless Mode (by maintaining the original Stock-Kernel)
Note: This kind of rooting your phone is for for normal use (Root-Explorer, Root-Apps) but not for Hardliner-Mods
Your TWRP should always have write permissions, if it ask you swype to confirm this! If it don`t have, you can enable this in the Mount button (disable system partition read only)
1.) Download SuperSU with your Browser (not with Downloadmanager) 2.67: https://download.chainfire.eu/897/SuperSU/BETA-SuperSU-v2.67-20160121175247.zip?retrieve_file=1
- or download the file from the attached file below in OP and place SuperSU 2.67 on the external SD
2.) Boot to TWRP and make a complete Nandroid Backup first (if you dont have it already)
3.) In TWRP go to the Advanced button and use the Terminal.
On the first screen tap on the ok button and after write following Force Systemless Command:
echo SYSTEMLESS=true>>/data/.supersu
and quit this with the ok tab
4.) Navigate back to the main menu and use the Install button
5.) Navigate to the location of the placed SuperSU 2.67
6.) Swype to confirm flash - after use: Reboot
7.) If TWRP ask you for Root - "Your device does not appear to be rooted - Install SuperSU now?" - NO - use: DO NOT INSTALL Button!
Older Versions of TWRP ask you this - the newest TWRP 3.0.2 dont.
8.) P8 reboots now 2 times and rebooted finaly to system.
9.) Open the SuperSU App (it will be on an empty site of your home) - you have now systemless Root
10.) Open Playstore an Update the SuperSU and after say yes to Update the Binary.
11.) The Phone must be restarted and you are up-do-date with the Root.
Uninstall this kind of Root:
If you want to unroot your Phone and you have used method A, do following:
1) If you have Xposed Framework installed - uninstall it with the uninstaller.zip (matching your phone) in TWRP - directly after you must Wipe Cache and Dalvik - next step: reboot your phone.
2) If you have BusyBox installed - uninstall it with BusyBox-Cleaner.zip in TWRP - Download: https://www.androidfilehost.com/?fid=24591000424941581
3) Reboot Phone open SuperSU and tap "complete Unroot"
4) If SuperSU ask you to restore your original Boot Image - say yes!
5) If the phone reboot automatically Unroot is ready - check it with Root Checker
6) If the phone dont reboot automatically, boot into TWRP and:
7) flash unsu.zip - Download: http://forum.xda-developers.com/attachment.php?attachmentid=3931994&d=1478779893 - reboot your Phone and Unroot is ready.
8) If the Download-Link of unsu.zip has changed, because it gets updates - you find it on this site: http://forum.xda-developers.com/showpost.php?p=63615067
B) Rooting in SYSTEM-Mode (by using modified Stock-Kernel made for Rooting with SuperSU)
1.) Download SuperSU - current version 2.79 Stable (with Browser, not with Downloadmanager): https://download.chainfire.eu/1016/SuperSU/UPDATE-SuperSU-v2.79-20161211114519.zip?retrieve_file=1- it is the original one from Chainfire, not CCMT
2.) Download the Kernel, which allow you to Root: https://www.androidfilehost.com/?fid=385035244224383592
3.) Place both zips on the external SD
4.) Reboot to TWRP Recovery
5.) Make a comlete Nandroid Backup
6.) Navigate back to the main menu
7.) Use: Install - and navigate to the place of the Kernel-for-Root-Stock-MM.zip
8.) Swype to confirm flashing the Kernel-for-Root-Stock-MM.zip
9.) Directly after this flash navigate back to the main menu
10.) Use: Install - navigate to SuperSU.zip
11.) Swype to confirm flashing SuperSU - after use: Reboot
12.) If TWRP ask you for Root - "Your device does not appear to be rooted - Install SuperSU now?" - NO - use: DO NOT INSTALL Button!
Older Versions of TWRP ask you this - the newest TWRP 3.0.2 dont.
13.) P8 reboots one times directly to the system
14 Open the SuperSU App (it will be on an empty site of your home) - you have now Root in the System with the latest stable SuperSU
Unroot this Installation of Root in System-Mode:
1) If you have Xposed Framework installed - uninstall it with the uninstaller.zip (matching your phone) in TWRP - directly after you must Wipe Cache and Dalvik - next step: reboot your phone.
2) If you have BusyBox installed - uninstall it with BusyBox-Cleaner.zip in TWRP - Download: https://www.androidfilehost.com/?fid=24591000424941581
3) Reboot Phone open SuperSU and tap "complete Unroot" - Needs some seconds, after:
4) flash unsu.zip - Download: http://forum.xda-developers.com/attachment.php?attachmentid=3931994&d=1478779893 - reboot your Phone and Unroot is ready.
5) If the Download-Link of unsu.zip has changed, because it gets updates - you find it on this site: http://forum.xda-developers.com/showpost.php?p=63615067
6) Reboot your Phone, and if
7) If TWRP ask you for Root - "Your device does not appear to be rooted - Install SuperSU now?" - NO - use: DO NOT INSTALL Button!
Older Versions of TWRP ask you this - the newest TWRP 3.0.2 dont.
8) After Reboot check it with a Root Checker - Your devices is not Rooted!
C) Systemless Rooting (by using modified Stock-Kernel made for Rooting with SuperSU)
Note: This is the only kind of Root to install the Systemless Xposed Framework!
This Thread does not officially Support the issue "how do hide Root" . Please use other Threads made for this. But you're invited to post ideas and solutions for this issue - if you have any! Because many people searching for a good solution
1.) Download SuperSU - current version 2.79 Stable (with Browser, not with Downloadmanager): https://download.chainfire.eu/1016/SuperSU/UPDATE-SuperSU-v2.79-20161211114519.zip?retrieve_file=1 - it is the original one from Chainfire, not CCMT
2.) Download the Kernel - which allows you to Root: https://www.androidfilehost.com/?fid=385035244224383592
3.) Place both zips on the external SD
4.) Reboot to TWRP Recovery
5.) Make a comlete Nandroid Backup
6.) Navigate back to the main menu
7.) Use: Install - and navigate to the place of the Kernel-for-Root-Stock-MM.zip
8.) Swype to confirm flashing the Kernel-for-Root-Stock-MM.zip
9.) Directly after this flash navigate back to the main menu
10.) After go to the Advanced button and use the Terminal.
On the first screen tap on the ok button and after write following Force Systemless Command:
echo SYSTEMLESS=true>>/data/.supersu
and quit this with the ok tab
11.) Use the install button and navigate to SuperSU.zip
12.) Swype to confirm flashing SuperSU
13) Reboot your Phone
14.) If TWRP ask you for Root - "Your device does not appear to be rooted - Install SuperSU now?" - NO - use: DO NOT INSTALL Button!
Older Versions of TWRP ask you this - the newest TWRP 3.0.2 dont.
15.) P8 reboots now 2 times and rebooted finaly to system.
16 Open the SuperSU App (it will be on an empty site of your home) - you have now systemless Root with the latest stable SuperSU
Uninstall this kind of systemless Root:
If you like to Unroot your Phone from this systemless Root, do following steps:
1) If you have Xposed Framework installed - uninstall it with the uninstaller.zip (matching your phone) in TWRP - directly after you must Wipe Cache and Dalvik - next step: reboot your phone.
2) If you have BusyBox installed - uninstall it with BusyBox-Cleaner.zip in TWRP - Download: https://www.androidfilehost.com/?fid=24591000424941581
3) Reboot Phone open SuperSU and tap "complete Unroot"
4) If SuperSU ask you two times to restore the original Stock-Boot Image say: YES
5) Phone reboots automatically
6) Check it with Root Checker: succesfully unrooted
7) If the phone dont reboot automatically - reboot by yourself to TWRP
8) flash unsu.zip - Download: http://forum.xda-developers.com/attachment.php?attachmentid=3931994&d=1478779893 - reboot your Phone and Unroot is ready.
9) If the Download-Link of unsu.zip has changed, because it gets updates - you find it on this site: http://forum.xda-developers.com/showpost.php?p=63615067
10) Reboot your Phone - Root is uninstalled
After you have rooted your phone - it is recommended to flash Busybox in TWRP:
I always prefere BusyBox YDS by YashdSaraf for Huawei P8. This busybox recognizes which kind of Root and architecture you have and it will install to in the right directory. It uses also arm64 Binarys - just flash it after Rooting and first boot to system with TWRP.
You can find the Thread here: http://forum.xda-developers.com/android/software-hacking/tool-busybox-flashable-archs-t3348543
Use in Download Section the Universal zip or the ARM zip (it conains arm64).
Credits:
Many thanks to @Chainfire for his grandiose SuperSU
Many thanks to @AD2076 for the new TWRP-Recovery twrp-3.1.1-0-grace.img for Huawei p8 marshmallow.
And thanks a lot to @YashdSaraf for very good BusyBox
Last Update: 06.02.2018
Will this work on GRA-UL10?
Thanks a lot.
lordcookies said:
Will this work on GRA-UL10?
Thanks a lot.
Click to expand...
Click to collapse
Sorry for my late answer. I saw your message just right now. GRA-UL10 is Chinese Unicom Dual 4G model, with Kirin 935 chipset and 64GB ROM. Which firmware version do you have? The Root Method A should work without problem. Be sure you make before rooting a complete Nandroid Backup. If something goes wrong you can reboot to TWRP with hardware keys and restore system, data and boot. So nothing bad could happened.
The Methods B and C needs to flash the Custom Kernel, I don't know if it works with GRA-UL10. But with a Full TWRP Nandroid Backup you can try... Please let me know if it works for you
Info:The TWRP should work with GRA-UL10 without problems - or do you have another one working for marshmallow? If yes, please post. Thanks
Result without success
Hi, thanks for your post. I tried with the first option with SYSTEMLESS and STOCK Kernel. Everything worked as you described but after I tried to reboot the phone was dead. I had to reinstall the B370 update I had in /dload folder. I followed very carefully your instructions step by step.
First successful rooted boot, I updated SuperSu with the binary option and rebooted without problems. But one hour after I tried to reboot the phone manually and then the problem appeared.
My phone is working now but I don't know how to make this permanent. Do you have any idea?
Ps: attached screenshot of my current build
Thanks again!
juanzete said:
Hi, thanks for your post. I tried with the first option with SYSTEMLESS and STOCK Kernel. Everything worked as you described but after I tried to reboot the phone was dead. I had to reinstall the B370 update I had in /dload folder. I followed very carefully your instructions step by step.
First successful rooted boot, I updated SuperSu with the binary option and rebooted without problems. But one hour after I tried to reboot the phone manually and then the problem appeared.
My phone is working now but I don't know how to make this permanent. Do you have any idea?
Ps: attached screenshot of my current build
Thanks again!
Click to expand...
Click to collapse
Did you have a custom Rom before? I am wondering - normally the Model number shows Huawei GRA-L09 or GRA-UL00 and not GRACE. Grace is both http://consumer.huawei.com/tz/support/products/technicalspecs/grace-tz.htm?utm_source=Viber&utm_medium=Chat&utm_campaign=Private
So, which Model do you have? Please tell me.
You said you did it step by step with my instruction. I wrote several times to make a Backup of system, data and boot with TWRP. You had TWRP, otherwise you could not flash SuperSU. If the phone got a problem you could boot it to TWRP by holding vol+ and power key and restore the backup. No need to flash again the firmware. Didn't you make a TWRP Nandroid Backup?
The other thing I cannot understand is - normally it is absolutely necessary to flash back the Original Stock Recovery before doing any stock firmware update with dload. And it is also important to unroot. I am wondering if this was successful...
Which Rom (version) did you have before? Was your phone rooted before b370? Did you unroot before upgrade to this version? Did you make a full Wipe before upgrading or a factory reset? If you use b370 your model must be GRA-L09. Because the other models have not this version yet. (if my information is right)
I don't think the problem is the Root Method A.
If your Model is really a GRA-L09 I would recommend Root Method B or C with the custom Kernel. But if you use at the moment a Custom Rom instead of the stock firmware there would no need to root because having already root.
Something in the story is not conform but I need more information to get an idea what is the specific problem. Because I tested all three Versions without any problem...
No, I did not have a custom ROM. The GRACE model appeared as soon as I updated with an official B370 Europe. In fact I have my bootloader unlocked and I had to use this Model Name to get the unlock code from Huawei. Before doing the update I had GRA-L09.
Yes, I have a TWRP backup, I made it before rooting but I didn't use it because the only way to power on the device was either bootloader or recovery (Vol- & Power / Vol+ & Power)
When I tried recovery, Huawei's recovery appeared taking my update.app on /dload (didn't have any other option at that moment, the process started automatically). I didn't lose any data, the phone after the update started normally with all my settings exactly as it was before rooting, but this time SuperSU says the phone needs to be rooted.
For some reason TWRP is not installed anymore. If I try now, the Huawei Recovery starts. I currently have B370 same as before rooting. No full wipe before upgrading neither a factory reset.
I read that Huawei Stock recovery can rewrite your custom recovery, is that possible?
J.
Of course. After flashing the Recovery you must disconnect the USB cable from Phone and PC and boot manually with vol+ and power until you see the Huawei Logo. In that moment you must leave the power button but holding vol+ until the TWRP starts. This need a while. If you don't do this, Stock Recovery will be reflashed. Only the first boot to Twrp is important. After that TWRP will not be overwritten anymore. I am wondering about Model "Grace" I had b321a before and make the update with full firmware - after it shows me also GRA-L09 and not GRACE... Anyway. Sometimes things are strange. Okay. You must flash TWRP again and immediately after successful flashing manually boot to Twrp - but disconnect from PC!
Before all doing this be sure you have the Custom Kernel and SuperSU 2.76 on your SD. Flash first the Kernel and after SuperSU 2.76 - if you want systemless then with Force systemless Command before, if you want Root in System then without this command. And you will be happy and no more having problems with Root
The problem was, that you did not manually reboot to Twrp after flashing
@juanzete - Did you solve your problems now and Root is succesful? @lordcookies Did you try one of the root method for your GRA-UL00?
Tanks
Tanks a lot.It worked for me.(GRA-UL10):good:
---------- Post added at 09:33 AM ---------- Previous post was at 09:08 AM ----------
lordcookies said:
Will this work on GRA-UL10?
Thanks a lot.
Click to expand...
Click to collapse
Yes It Works.
SMhd3000 said:
Tanks a lot.It worked for me.(GRA-UL10):good:
---------- Post added at 09:33 AM ---------- Previous post was at 09:08 AM ----------
Yes It Works.
Click to expand...
Click to collapse
Which one of the three Root method did you use? I would like to know, thanks
GRA-L09, method 3 works but root isn't systemless. I am trying to install systemless xposed but it fails because of system mode root... Any ideas?
Before you ask:
I flashed the custom kernel properly
/data/.supersu is present and contains SYSTEMLESS=true
I said NO to TWRP root offer
AD2076 said:
GRA-L09, method 3 works but root isn't systemless. I am trying to install systemless xposed but it fails because of system mode root... Any ideas?
Before you ask:
I flashed the custom kernel properly
/data/.supersu is present and contains SYSTEMLESS=true
I said NO to TWRP root offer
Click to expand...
Click to collapse
Hi, I made a new Kernel specifically for SuperSU 2.78 - you can download it: https://www.androidfilehost.com/?w=files&flid=109256
Before you try method 3 with the new Kernel and the Original SuperSU 2.78: https://download.chainfire.eu/1001/SuperSU/UPDATE-SuperSU-v2.78-20160905010000.zip - you must Unroot your Phone and after install again. It should work.
I tested method 3 several times without any problems.
Tecalote said:
Hi, I made a new Kernel specifically for SuperSU 2.78 - you can download it: https://www.androidfilehost.com/?w=files&flid=109256
Before you try method 3 with the new Kernel and the Original SuperSU 2.78: https://download.chainfire.eu/1001/SuperSU/UPDATE-SuperSU-v2.78-20160905010000.zip - you must Unroot your Phone and after install again. It should work.
I tested method 3 several times without any problems.
Click to expand...
Click to collapse
I am gonna try it. Of course I unrooted before trying.
The big problem is I have to completely unroot at every reboot if I wanna play that throw a ball to the monster game
On another device I have systemless root + systemless xposed + suhide and I can play with no problems.
Does this kernel have adb enabled?
AD2076 said:
I am gonna try it. Of course I unrooted before trying.
The big problem is I have to completely unroot at every reboot if I wanna play that throw a ball to the monster game
On another device I have systemless root + systemless xposed + suhide and I can play with no problems.
Does this kernel have adb enabled?
Click to expand...
Click to collapse
If you have then succesful rooted and Xposed Framework installed you can try Module RootCloak
Tecalote said:
If you have then succesful rooted and Xposed Framework installed you can try Module RootCloak
Click to expand...
Click to collapse
RootCloack doesn't bypass SafetyNet check, suhide does.
I can root successfully but there are problems because the root isn't really systemless and SafetyNet detects it even with suhide.
Furthermore systemless xposed fails to install and complains about the supersu version < 2.76.
Of course I used 2.78
Btw your kernel works but required some reboots to work properly. At first boot SIM was not detected and the system was very very laggy.
I am available for more testing
Which Firmware to you use? I have tested it on b370, but with SuperSU 2.76- I will try it again in the evening with 2.78
I cannot understand yet, why it dont root systemless with method 3.
And RootCloack is available also with Support MM (new version) - do you mean, this dont hide root for your game? I write again, as soon I have time solving your issue.
Tecalote said:
Which Firmware to you use? I have tested it on b370, but with SuperSU 2.76- I will try it again in the evening with 2.78
I cannot understand yet, why it dont root systemless with method 3.
And RootCloack is available also with Support MM (new version) - do you mean, this dont hide root for your game? I write again, as soon I have time solving your issue.
Click to expand...
Click to collapse
I use B370 FF Edition from Blackball.
I just noticed I have an old twrp version: 2.8.7.0 by Jemmini. I am gonna upgrade and see if suhide works, it requires twrp > 3
B370 FF Edition is prerooted in Systemmode. I think, thats why the SuperSU Installer ignore perhaps the systemless command.
Dont know if there is a way to do it. May you ask Fromfuture in his Thread.
Or you install the Original Stock Version b370.
I used the completely unroot option in supersu before rooting systemless

[Root][Stock][P2a42_S244][Fastboot]

You can flash this boot.img with fastboot on the latest stock ROM (S244) with an unlocked bootloader (no custom recovery needed).
The included Magisk is v13.6 (beta) and the Manager is v5.2.0.
From what I gather the modules won't install (or using something like Flashify won't work) because there are still f2fs bugs present (not only on this device, most android kernels have them). But I didn't fully test this so YMMV.
I did it this way because I only need root for some apps (like: Amaze, Termux, Wirebug, WiFiKeyShare, KISS launcher, ...) and didn't want to change too much after unlocking.
Don't ask about passing the SafetyNet check. I don't use Google Play Services so really can't answer this.
You can also do this yourself by following the instructions in the main Magisk thread. But I uploaded it as it's maybe of any use to somebody else that only needs a fast/simple (systemless) root solution.
DL-link:
https://www.androidfilehost.com/?fid=817550096634797229
Instructions:
Rename the downloaded image to boot.img and run the following commands from the same folder.
$ adb reboot bootloader
$ fastboot flash boot boot.img
$ fastboot reboot

Categories

Resources