[Kernel][Stock MM XT1572][EU]Full SYSTEM ROOT - X Style (Pure) Android Development

hi guys
i recently bought a moto x (3 days now before i had nexus then iphone then switch back to android again) and check out all thread here and there to root android 6 mm and all i got is a systemless root and it's not what i wanted so i modified stock android 6 kernel (EU version XT1572) to get full system root . (with this tutorial from Chainfire (first post))
simple way to get root :
1. systemless root : you can flash latest BETA-SuperSU form here and you don't need any kernel or anything like that just a twrp recovery ( you can find out how to flash it if you don't know )
2. full system root (traditional root) : just flash my kernel in fastboot and install stable SuperSU v2.65
Warning !!!!
if you don't know about fastboot adb flash recovery root ... don't use it it's not for newbie .
if you okay with systemless root so ignore this thread .
I am not responsible for any damage on your phone so be careful
nandroid backup is always welcome so if something wrong you can restore only system and boot and your back where you are before .
enjoy
sry for my en.
special thanks to :
Chainfire
osm0sis

Nice work!

Thankssss <3 was looking for this for ages. Once i get my moto back i will test this imediatly ?

bartjeh1991 said:
Thankssss <3 was looking for this for ages. Once i get my moto back i will test this imediatly ?
Click to expand...
Click to collapse
show,thank you

In case we want to unroot the device for a specific app to work what is the procedure????

Does this still work in the latest 6.0.1 update?

TRRDroid said:
Does this still work in the latest 6.0.1 update?
Click to expand...
Click to collapse
Works for me.
- edit- sorry thought I was in franken thread.
This probably won't work on 6.0.1.
guraki said:
In case we want to unroot the device for a specific app to work what is the procedure????
Click to expand...
Click to collapse
Go into su app and unroot.

It actually works on 6.0.1
UPDATE: WiFi doesn't work after flashing

Exactly

lafester said:
Exactly
Click to expand...
Click to collapse
TRRDroid said:
It actually works on 6.0.1
UPDATE: WiFi doesn't work after flashing
Click to expand...
Click to collapse
lafester said:
Works for me.
- edit- sorry thought I was in franken thread.
This probably won't work on 6.0.1.
Go into su app and unroot.
Click to expand...
Click to collapse
Guys I don't have this phone anymore but if you want I can modified the 6.0.1 kernel but you must to test it so just give me the kernel

Here's the boot image of the 6.0.1 firmware:
http://www.trrdroid.net/devices/moto_x_style_xt1572/firmwares/retail_eu_6.0.1/boot.img

Related

CM13 root problem

Hi, I flashed the CM13 rom today without problems but it says now that my phone isn't rooted anymore
tried flashing supersu but i get stuck in bootlogo
tried Developer options/root/Apps and ADB, still it says not rooted
can someone please help?
You need to flash SuperSU 2.67. @gladiac has a patched boot..img.. I'm sure he'd share his work with you
RJDTWO said:
You need to flash SuperSU 2.67. @gladiac has a patched boot..img.. I'm sure he'd share his work with you
Click to expand...
Click to collapse
Thanks, works now
Can you give me the link please ?
aadnanrulz said:
Can you give me the link please ?
Click to expand...
Click to collapse
https://download.chainfire.eu/897/SuperSU/BETA-SuperSU-v2.67-20160121175247.zip
Thanks!
Got the same problem seems like the root mode in the dev options is not working. I flashed SuperSu and it's recognised by Root checker. If TWRP asks you to root the device before booting, do NOT swipe to install
RJDTWO said:
You need to flash SuperSU 2.67. @gladiac has a patched boot..img.. I'm sure he'd share his work with you
Click to expand...
Click to collapse
Of course I would! But I'm still on 20150220 as I was planning to skip the current version so I did not patch the newest boot.img yet. If there is demand I can still do it though.
cheers glad

Pls help me to root my G 925 F

Help me to root my s6edge , been a year waiting but cant find a good way , btw im new here , noob too , need a big help ....
S6EDGE G925F
Build number MMB29K.G925FXXU5DQBC
OS 6.0.1
Should i upgrade to nougat first or just with this ?
I would really appreciate any helps , thanx alot in advance !
How to root using twrp ? Any guide for it bro ?
Ericnorman said:
Help me to root my s6edge , been a year waiting but cant find a good way , btw im new here , noob too , need a big help ....
S6EDGE G925F
Build number MMB29K.G925FXXU5DQBC
OS 6.0.1
Should i upgrade to nougat first or just with this ?
I would really appreciate any helps , thanx alot in advance !
Click to expand...
Click to collapse
Ypu have been waiting a year? There has been root available for s6 edge for about 2 years.
Cf autoroot or flash twrp then flash magisk or flash supersu 2.78 sr5 through twrp.
Thanx for replying again , but i dont understand any of those means n whats twrp ? Could you show me a thread of it ? Something like ultimate guide for s6edge root ?
If anyone can help me to root without bricking or tripping knox on my phone , im willing to donate $10 via paypal , thanx people , really appreciate it guys !
johngr77 said:
no way to root without tripping knox
Click to expand...
Click to collapse
This is why im still waiting , btw is it okay even we tripped the knox ? I love to play games in this phone tho , will it effect me ?
johngr77 said:
You will have problems on nougat, s health, samsung pay, android pay and other apps related to security won't work anymore if you have tripped knox, warranty will be voided too
Click to expand...
Click to collapse
Only that ? As long as im not gonna upgrade to nougat , imma be fine ?
I dont use shealth , samsung pay , android pay (is this google pay?? Coz if yes i use google wallet)
Also I hear nougat not cool , bad on charging and other thing as well , i have my nougat downloaded ota , but not yet install it (coz i dunno how to get rid of it, was accidentally pressed download)
Ericnorman said:
Only that ? As long as im not gonna upgrade to nougat , imma be fine ?
I dont use shealth , samsung pay , android pay (is this google pay?? Coz if yes i use google wallet)
Also I hear nougat not cool , bad on charging and other thing as well , i have my nougat downloaded ota , but not yet install it (coz i dunno how to get rid of it, was accidentally pressed download)
Click to expand...
Click to collapse
If i was you i would use google and search here on xda and read up about root, twrp, bootloops etc...
You can not root without tripping knox and you never will be able to.
Dont try it unless your confident with it and how to recover if it goes wrong.
callumbr1 said:
If i was you i would use google and search here on xda and read up about root, twrp, bootloops etc...
You can not root without tripping knox and you never will be able to.
Dont try it unless your confident with it and how to recover if it goes wrong.
Click to expand...
Click to collapse
May i ask how long usually rooting takes time ?
Ericnorman said:
Help me to root my s6edge , been a year waiting but cant find a good way , btw im new here , noob too , need a big help ....
S6EDGE G925F
Build number MMB29K.G925FXXU5DQBC
OS 6.0.1
Should i upgrade to nougat first or just with this ?
I would really appreciate any helps , thanx alot in advance !
Click to expand...
Click to collapse
I have the same model with build number G925FXXU5EQD6 for Android 7.0 and I downloaded cfautoroot zip and booted to Download mode and flashed the zip with Odin 3.12 by puttin it in AP and let it reboot and then just click the SuperSU icon in the app drawer and set it to Always allow root. Then install the update for SuperSU that Google Play asks you to do. Then update the su binary when prompted and say yes to disable KNOX and wait for it to say Succeeded. Now install Root Checker from Google Play and Open it and click to check if it tells you its rooted or not. You may be prompted to Allow the calling of su so just click Allow or Yes.
That's how I did anyhow.
After that, just install flashify from Google Play and flash the img for zerolte.
Ericnorman said:
May i ask how long usually rooting takes time ?
Click to expand...
Click to collapse
About 2 minutes with cf autoroot. Look at the post above mine thats the quickest way. But thats for 7.0. If you root y.0.1 its same but make sure you get the correct autoroot file
Ericnorman said:
This is why im still waiting , btw is it okay even we tripped the knox ? I love to play games in this phone tho , will it effect me ?
Click to expand...
Click to collapse
Tripping KNOX is just a way for Samsung technicians to see if you're phone has been tampered with.
A friend of mine has a law suit waiting for him from Samsung just because I somehow managed to burn the motherboard flashing the wrong zip file based on an older guide that seemed to be made to help people brick their phones.
Umeaboy said:
I have the same model with build number G925FXXU5EQD6 for Android 7.0 and I downloaded cfautoroot zip and booted to Download mode and flashed the zip with Odin 3.12 by puttin it in AP and let it reboot and then just click the SuperSU icon in the app drawer and set it to Always allow root. Then install the update for SuperSU that Google Play asks you to do. Then update the su binary when prompted and say yes to disable KNOX and wait for it to say Succeeded. Now install Root Checker from Google Play and Open it and click to check if it tells you its rooted or not. You may be prompted to Allow the calling of su so just click Allow or Yes.
That's how I did anyhow.
After that, just install flashify from Google Play and flash the img for zerolte.
Click to expand...
Click to collapse
callumbr1 said:
About 2 minutes with cf autoroot. Look at the post above mine thats the quickest way. But thats for 7.0. If you root y.0.1 its same but make sure you get the correct autoroot file
Click to expand...
Click to collapse
Omg thanx to u two , i just did my diy root and succeed lol , using cf autoroot , then i installed super su and root check , i checked its rooted , but what do i have to do with super su ? And then what else i need to do with newly root phone ? Hehe
Ericnorman said:
Thanx for replying again , but i dont understand any of those means n whats twrp ? Could you show me a thread of it ? Something like ultimate guide for s6edge root ?
Click to expand...
Click to collapse
TWRP is a custom recovery with various features that you don't get with the stock recovery.
One of these are have a Terminal to run commands in.
You can also theme the Recovery with other background pictures and what not....
---------- Post added at 03:53 PM ---------- Previous post was at 03:50 PM ----------
Ericnorman said:
Omg thanx to u two , i just did my diy root and succeed lol , using cf autoroot , then i installed super su and root check , i checked its rooted , but what do i have to do with super su ? And then what else i need to do with newly root phone ? Hehe
Click to expand...
Click to collapse
You'll be prompted on the screen to update the su binary. Do that.
Other than that you don't need anything else besides TWRP.
I'm trying to finish the port of Lineage OS to this device and I have my own device tree on github, but it needs more developers.
I also have a defconfig to build the kernel, but I haven't found it easy to upload it to Lineage's gerrit yet.
Umeaboy said:
TWRP is a custom recovery with various features that you don't get with the stock recovery.
One of these are have a Terminal to run commands in.
You can also theme the Recovery with other background pictures and what not....
---------- Post added at 03:53 PM ---------- Previous post was at 03:50 PM ----------
You'll be prompted on the screen to update the su binary. Do that.
Other than that you don't need anything else besides TWRP.
I'm trying to finish the port of Lineage OS to this device and I have my own device tree on github, but it needs more developers.
I also have a defconfig to build the kernel, but I haven't found it easy to upload it to Lineage's gerrit yet.
Click to expand...
Click to collapse
Done with super su binary update , So i need to download twrp to my phone too now ?
What about flashify ? I need to install it too ?
Ericnorman said:
Done with super su binary update , So i need to download twrp to my phone too now ?
What about flashify ? I need to install it too ?
Click to expand...
Click to collapse
Install flashify from playstore. Grant root permission in supersu app. From flashify you can install twrp from the app.
callumbr1 said:
Install flashify from playstore. Grant root permission in supersu app. From flashify you can install twrp from the app.
Click to expand...
Click to collapse
done , then i need to do backup recovery or backup kernel ?
btw do u have any recommendation how to optimalize battery ?
Ericnorman said:
done , then i need to do backup recovery or backup kernel ?
btw do u have any recommendation how to optimalize battery ?
Click to expand...
Click to collapse
What i would do now is boot to twrp (recovery) and make a full nandroid backup. Basically it backs up absolutely everything so if anything should go wrong you can always restore. Deffinately boot to twrp and backup efs. This is your imei files. Save them externally to pc or something. If they ever corrupted its pretty impossible to repair.
As for battery optimisation ypu can try better battery stats (app) or Lspeed (app) to see whats eating your battery and you can tweak from there.
Or try a custom kernel, some are made to optimise battery and performance.
Also if you are in to your music and audio, look at viper4android. Best music fx you can get.
callumbr1 said:
What i would do now is boot to twrp (recovery) and make a full nandroid backup. Basically it backs up absolutely everything so if anything should go wrong you can always restore. Deffinately boot to twrp and backup efs. This is your imei files. Save them externally to pc or something. If they ever corrupted its pretty impossible to repair.
As for battery optimisation ypu can try better battery stats (app) or Lspeed (app) to see whats eating your battery and you can tweak from there.
Or try a custom kernel, some are made to optimise battery and performance.
Also if you are in to your music and audio, look at viper4android. Best music fx you can get.
Click to expand...
Click to collapse
Ok , for the flashify parts im confuse , could u help to assist me which button should i press ? Boot image ? Or recovery image ? If its boot image , then which folder after that ?
If its recovery , which version rwrp should i press ?
Ericnorman said:
Ok , for the flashify parts im confuse , could u help to assist me which button should i press ? Boot image ? Or recovery image ? If its boot image , then which folder after that ?
If its recovery , which version rwrp should i press ?
Click to expand...
Click to collapse
Its recovery image. Post a screenshot of flashify...

[GUIDE]P10/P10+ root with magisk & SN verified/installing firmware

Hello,
Here is a guide for anyone that wants to keep root with SafetyNet verified on Huawei P10 and P10+, also here you will find how to install/update P10 and P10+ firmware.
REQUIREMENTS
- Unlocked Bootloader(BEFORE&AFTER YOU INSTALL FIRMWARE)
- TWRP recovery for P10(AFTER INSTALLING FIRMWARE) : https://.xda-.com/p10/development/testers-twrp-t3585256
- Make a back up of system,products,vendor,boot,etc. in twrp(optional,but recommended)
Now,the steps :
1. Install your stock firmware(or update) : http://www.stechguide.com/?s=huawei+p10 (read the steps in there carefully and see if your build number matches the one on the site!)
STEP 1 IS NOT NEEDED IF YOU NEVER TRIED TO ROOT YOUR P10!
2. After you installed your desired firmware go ahead and unlock bootloader again(this will factory reset your device)and install TWRP recovery.
3. Download Magisk v12,Magisk Manager and uninstaller and flash Magisk v12 with TWRP and then install Magisk Manager.
Magisk v12: https://forum.xda-developers.com/attachment.php?attachmentid=4095052&d=1490916845
Magisk manager for v12: http://www.apkmirror.com/apk/topjoh...se/magisk-manager-4-3-3-android-apk-download/
UPDATED :
I found a way to install v13 on p10,p10 plus,not sure if p10 lite also :
Go in magisk manager(magisk v12) and check the "Keep force encryption" and "Keep dm-verity" boxes,and then press install/update (if this doesnt work),download a terminal emulator(https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en) and type this :
Code:
su
echo KEEPVERITY=true>>/data/.magisk
echo KEEPFORCEENCRYPT=true>>/data/.magisk
Thank you ! Finally I learned to debrand hoping viper4android will work with magisk.
juntulis said:
Thank you ! Finally I learned to debrand hoping viper4android will work with magisk.
Click to expand...
Click to collapse
Yeah, forgot to mention that you can debrand too with this. Np
Viper4android won't work because you need to enable core mode on Magisk(that means no mods will be loaded)
then how to make v4a to work?
wait for the stable v13 magisk
Hello,
Actually I have a P10 with build number : VTR-L09C530B122, could I follow the guide with the Huawei P10 B153 Nougat Update [Europe] ?
Thanks for the reply
christrodr said:
Hello,
Actually I have a P10 with build number : VTR-L09C530B122, could I follow the guide with the Huawei P10 B153 Nougat Update [Europe] ?
Thanks for the reply
Click to expand...
Click to collapse
That means to rebrand to C432, if you wish to do that you can.
MusicHeat said:
That means to rebrand to C432, if you wish to do that you can.
Click to expand...
Click to collapse
Thank you,
By rebranding, I suppose you mean to change the operator on the phone or I'm wrong ?
christrodr said:
Thank you,
By rebranding, I suppose you mean to change the operator on the phone or I'm wrong ?
Click to expand...
Click to collapse
Yes
MusicHeat said:
Yes
Click to expand...
Click to collapse
Is the C432 an unbranded one ?
MusicHeat said:
Yes
Click to expand...
Click to collapse
Let me know if you are going to rebrand
christrodr said:
Is the C432 an unbranded one ?
Click to expand...
Click to collapse
Either orange, either unbranded don't know for sure
MusicHeat said:
Either orange, either unbranded don't know for sure
Click to expand...
Click to collapse
So to be sure I have to do nothing...
Thank you.
christrodr said:
So to be sure I have to do nothing...
Thank you.
Click to expand...
Click to collapse
You can use another method to stay on the same brand.
MusicHeat said:
NEVER REBOOT YOUR PHONE WITH MAGISK HIDE ENABLED,IT WOULD BE IMPOSSIBLE TO UNLOCK YOUR DEVICE WITHOUT FORMATTING DATA THROUGH TWRP!!!
Click to expand...
Click to collapse
Can you explain why this does not work? (is only a P10 problem right?)
I gave up on TWRP/Magisk on my P10 Plus because of this
I never figured out why, but guessed it had to do with the encryption of the data partition
I was going to look at it again once TWRP could do a full backup (including /Data)
I'm currently on stock and it sucks... Did burn my fingers with FRP lock on a phone that couldn't boot to Android... And recovery2 (eRecovery) overwritten by flashing TWRP over it... Not feeling adventurous until TWRP is fully working ?
evalu8t0r said:
Can you explain why this does not work? (is only a P10 problem right?)
Click to expand...
Click to collapse
I don't have much to say but twrp(for VTR and VKY) are both in beta i believe and also, i have problems with data encryption too on twrp.
Can i download it ? where ?
evalu8t0r said:
Can you explain why this does not work? (is only a P10 problem right?)
I gave up on TWRP/Magisk on my P10 Plus because of this
I never figured out why, but guessed it had to do with the encryption of the data partition
I was going to look at it again once TWRP could do a full backup (including /Data)
I'm currently on stock and it sucks... Did burn my fingers with FRP lock on a phone that couldn't boot to Android... And recovery2 (eRecovery) overwritten by flashing TWRP over it... Not feeling adventurous until TWRP is fully working ?
Click to expand...
Click to collapse
im burnin right now with a p10 vtr-lo9 with bootloop and frp lock. only accesible with vol.down and usb while boot mthod. but stuck cause all flash or update commands stuck in command not allowed..
how you fix it?
Does this guide also work for the P10 Lite?
1987yeah said:
Does this guide also work for the P10 Lite?
Click to expand...
Click to collapse
Don't think so.

Downgrading to 6.0

I was curious for the Nougat update but didn't find root till now I enjoy android 6.0 rooted with xposed in it with TWRP hope 7.0 gets root til then I'm fine with 6.0 rooted
OR
Is there any suggestions
Rooted by unlocking the bootloader?? ?
jackxperiap said:
Rooted by unlocking the bootloader?? ?
Click to expand...
Click to collapse
unlocked bootloader on 6.0 and rooted with TWRP and xposed installed
I may bite the bullet to flash .111 (F3213), but I don't want to brick the new phone.
mingkee said:
I may bite the bullet to flash .111 (F3213), but I don't want to brick the new phone.
Click to expand...
Click to collapse
Can you please provide me boot file for f3216 so that i can try flashing twrp and su binaries
rukesh24 said:
Can you please provide me boot file for f3216 so that i can try flashing twrp and su binaries
Click to expand...
Click to collapse
I don't really get what you're saying.
Mine is F3213
mingkee said:
I don't really get what you're saying.
Mine is F3213
Click to expand...
Click to collapse
I have f3216 and if i got a custom boot then i can flash TWRP and su binaries, so if you can provide me a custom boot for f3216 then it will be nice i said
rukesh24 said:
I have f3216 and if i got a custom boot then i can flash TWRP and su binaries, so if you can provide me a custom boot for f3216 then it will be nice i said
Click to expand...
Click to collapse
I wish I had capability to build one.
rukesh24 said:
I was curious for the Nougat update but didn't find root till now I enjoy android 6.0 rooted with xposed in it with TWRP hope 7.0 gets root til then I'm fine with 6.0 rooted
OR
Is there any suggestions
Click to expand...
Click to collapse
Hi, i want to ask you How did you root this with android 6? i could not root it, when i tried to install TWRP my phone didn´t pass the bootanimation and i had to restore with flashtool.
Araxielfenix said:
Hi, i want to ask you How did you root this with android 6? i could not root it, when i tried to install TWRP my phone didn´t pass the bootanimation and i had to restore with flashtool.
Click to expand...
Click to collapse
You have to use the correct boot.img file
The boot file and the firmware should be of the same version
I downloaded here in xda a rootkit that there says is for my version but it didn´t work for my phone. just like previous user i have the F3213.
Araxielfenix said:
I downloaded here in xda a rootkit that there says is for my version but it didn´t work for my phone. just like previous user i have the F3213.
Click to expand...
Click to collapse
But that worked for me and mines is f3216
rukesh24 said:
But that worked for me and mines is f3216
Click to expand...
Click to collapse
Ok, i think im gonna keep trying

OTA Updates with Magisk installed

I recently rooted my device using this tutorial:
https://forum.xda-developers.com/redmi-note-4/how-to/guide-root-using-magisk-stock-recovery-t3718203
The guy who posted it says that since we keep the stock recovery we can safely install OTA updates without any problems but he doesn't mention how. Is there a way to install OTA without getting bootlooped or bricked and of course without wiping everything? Also, Flashfire doesn't work on my phone (it kicks me out after loading). Besides I've heard that it can really mess up your device. Just please help out here because I really want to keep my phone updated without losing my data.
Thx in advance
FrozenCreeper said:
I recently rooted my device using this tutorial:
https://forum.xda-developers.com/redmi-note-4/how-to/guide-root-using-magisk-stock-recovery-t3718203
The guy who posted it says that since we keep the stock recovery we can safely install OTA updates without any problems but he doesn't mention how. Is there a way to install OTA without getting bootlooped or bricked and of course without wiping everything? Also, Flashfire doesn't work on my phone (it kicks me out after loading). Besides I've heard that it can really mess up your device. Just please help out here because I really want to keep my phone updated without losing my data.
Thx in advance
Click to expand...
Click to collapse
flashfire isnt supported anymore sadly, flash the latest miui official rom ,then root it but you will loose data
BK☑️ said:
flashfire isnt supported anymore sadly, flash the latest miui official rom ,then root it but you will loose data
Click to expand...
Click to collapse
Oh man... I was so hyped for that. Anyway thx for answering.
Flashfire
Also you couldnt use flashfire since you need to root using Super SU instead of magisk , but you would also loose system ota feature since supersu break ota...
BK☑️ said:
Also you couldnt use flashfire since you need to root using Super SU instead of magisk , but you would also loose system ota feature since supersu break ota...
Click to expand...
Click to collapse
And of course I don't want that. I am probably going to install the Redwolf Custom Recovery.
FrozenCreeper said:
And of course I don't want that. I am probably going to install the Redwolf Custom Recovery.
Click to expand...
Click to collapse
use orangefox twrp its better
https://sourceforge.net/projects/orangefox/files/mido/
BK☑️ said:
use orangefox twrp its better
https://sourceforge.net/projects/orangefox/files/mido/
Click to expand...
Click to collapse
Does it support OTA updates?
Ota
If you ever install a custom recovery you loose OTA , you will get the update but cant install it
BK☑️ said:
If you ever install a custom recovery you loose OTA , you will get the update but cant install it
Click to expand...
Click to collapse
Can you send me a link for that recovery you are using? Thank you.
FrozenCreeper said:
Can you send me a link for that recovery you are using? Thank you.
Click to expand...
Click to collapse
Here it is https://androidfilehost.com/?fid=3700668719832241215 -treble version !
here is the no treble version https://eu.dl.twrp.me/mido/twrp-3.2.3-0-mido.img.html
:good:
BK☑️ said:
Here it is https://androidfilehost.com/?fid=3700668719832241215 -treble version !
here is the no treble version https://eu.dl.twrp.me/mido/twrp-3.2.3-0-mido.img.html
:good:
Click to expand...
Click to collapse
Thx

Categories

Resources