Nougat Root? - X Style (Pure) Q&A, Help & Troubleshooting

Hello I'm currently on stock 7.0 Nougat unlocked bootloader. I wonder if there's a way to gain root access if there's what is the procedure and what files I need. Thanks in advance
Also is there a way to go back to stock after root?

killa408shark said:
Hello I'm currently on stock 7.0 Nougat unlocked bootloader. I wonder if there's a way to gain root access if there's what is the procedure and what files I need. Thanks in advance
Also is there a way to go back to stock after root?
Click to expand...
Click to collapse
Download magisk 14.3 zip. And the magisk uninstaller. Flash magisk in twrp if you have it installed, if not, research how to boot or install a custom recovery (twrp)

Download & copy to adb & fastboot folder twrp 3+.
https://twrp.me/motorola/motorolamotox2015pure.html
Boot only twrp:
fastboot boot twrpXXX.img
Into twrp:
Make full backup,
Restore boot,
Flash Magisk14.zip(my signature),
Reboot.
Use flashfire app(play store):
Create backup of stock recovery(for fastboot).
Keep your backup in safety places(min. two).
Now you can flash twrp for future use.
fastboot flash twrpXXX.img
Unroot:
Unroot and restore boot with magisk manager. Optionally fastboot - flash stock recovery.
Back to stock:
Restore boot+system, format data with twrp & flash stock rec. with fastboot.
---------- Post added at 10:20 PM ---------- Previous post was at 10:19 PM ----------
@killa408shark

Related

[TWRP] Back up of LXB22.99-16.3 [5.0.2 with STAGE FRIGHT PATCH]

Usage is for people NOT on LXB22.99-16 who want to try stage fright patch but cant get it OTA i.e LXB22.46-28
[TWRP] Back up of LXB22.99-16.3 [5.0.2 with STAGE FRIGHT PATCH] This installs via restore function in TWRP 2.8.5.0
this is a fresh installed (before setup) of LXB22.99-16.3 (Build number) system version 22.56.3.TITAN Build date WED 26th AUGUST 2015 00:26:33 CDT
BACKUP CONTAINS /system and boot only -no PDS, Cache or Data folders
made with TWRP 2.8.5.0 as version .6 and .7 just hang my phone.
TWRP Backup of CLEAN LXB22.99-16.3
make a FULL BACKUP via TWRP of your phone before you try to use this.
Stock Recovery LXB22.99-16.3
This is stock recovery to Flash back via fastboot method to remove custom recoveries in AP FASTBOOT MODE
Code:
fastboot flash recovery recovery.img
reefuge said:
This is stock recovery to Flash back via fastboot method to remove custom recoveries in AP FASTBOOT MODE
Code:
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
Thank you for making this guide...even i wanted to make a guide for kitkat restore but didnt..lazy..lol..just one ques i am curious..how did u made backup of stock recovery because the only way to root is to flash twrp n den install super user??
Naman rana said:
Thank you for making this guide...even i wanted to make a guide for kitkat restore but didnt..lazy..lol..just one ques i am curious..how did u made backup of stock recovery because the only way to root is to flash twrp n den install super user??
Click to expand...
Click to collapse
temporary boot to TWRP not install, then root with supersu v2.46 - install flashify (paid) and backup recovery to googledrive - hang on that not how i did it lol (might work)
I used browser explorer to make it from restore from boot.img.bak you have to change .bak to .p and alter permissions - theres a guide on xda

OTA full 1.4gb 4.0 update.

I realize there are other threads but they are full of questions. Chugging this back. And they aren't for the full OTA. Only the partial 919 MB update patch.
First I was on stock os with root and TWRP.
I download the full on through the OTA because my patched version failed. Anyhow it won't be any different.
If you can't flash. Download this 1.4gb full version.
http://otafsc.h2os.com/patch/amazon...s3TOxygen_28_OTA_035_all_1612310259_2dc0c.zip
(md5 sum: 5D8CB6BA9E6C4281E208CB952E0B43A6)
Then flash it via TWRP. It will wipe root and return TWRP to stock recovery. Does not wipe apps or data.
It will flash fine. Then flash SuperSU 2.79. It will flash fine.
Clear cache.
Then you will have to flash TWRP. You can do this via the toolkit later. Unless you have a zip download somewhere.
Anyhow no DMverity issues. No update issues. Full OTA problems solved.
I'd imagine it will change beta into OTA as well.
Doo all this at your own risk.
To recap. Download and then flash in TWRP and flash 2.79 SuperSU after. Then flash TWRP however you did it the first time.
All problems solved.
Be aware I use encryption so this seems to encrypt your phone if decrypted. Apparently a backup is needed to make sure Incase it encrypts and messes up files. As stated above I take no responsibility. But will help anyway I can.
thank you!
Skwerl23 said:
I realize there are other threads but they are full of questions. Chugging this back. And they aren't for the full OTA. Only the partial 919 MB update patch.
First I was on stock os with root and TWRP.
I download the full on through the OTA because my patched version failed. Anyhow it won't be any different.
If you can't flash. Download this 1.4gb full version.
http://otafsc.h2os.com/patch/amazon...s3TOxygen_28_OTA_035_all_1612310259_2dc0c.zip
Then flash it via TWRP. It will wipe root and return TWRP to stock recovery. Does not wipe apps or data.
It will flash fine. Then flash SuperSU 2.79. It will flash fine.
Clear cache.
Then you will have to flash TWRP. You can do this via the toolkit later. Unless you have a zip download somewhere.
Anyhow no DMverity issues. No update issues. Full OTA problems solved.
I'd imagine it will change beta into OTA as well.
Doo all this at your own risk.
To recap. Download and then flash in TWRP and flash 2.79 SuperSU after. Then flash TWRP however you did it the first time.
All problems solved.
Click to expand...
Click to collapse
I see you stated that you get no dm-verity issues. I've installed through twrp and before bootup I get the Dm-verity has not started with some red words. Do you get this?
As stated above I got no dm-verity issue. To fix use recovery and usb to push SuperSU. Then flash via recovery.
You can try using the toolkit to push it. Go into fastboot and push that way.
SuperSU fixes the issue when flashed. 2.79 specifically. I'll try to find you a guide and post it above.
delete
Seems that this upgrade encrypt data, so make an backup
Skwerl23 said:
As stated above I got no dm-verity issue. To fix use recovery and usb to push SuperSU. Then flash via recovery.
You can try using the toolkit to push it. Go into fastboot and push that way.
SuperSU fixes the issue when flashed. 2.79 specifically. I'll try to find you a guide and post it above.
Click to expand...
Click to collapse
I flashed supersu 2.79 in twrp and still have that on bootup.It boots with root access. Any ideas?
tdamocles said:
I flashed supersu 2.79 in twrp and still have that on bootup. Any ideas?
Click to expand...
Click to collapse
Internet said to flash stock recovery and it fixed it. Not sure I'd do that. You can try the no dm-verity patch included with the toolkit.
tdamocles said:
I flashed supersu 2.79 in twrp and still have that on bootup.It boots with root access. Any ideas?
Click to expand...
Click to collapse
I want to work this with you so anyone who needs help I can post the fix above.
Skwerl23 said:
I want to work this with you so anyone who needs help I can post the fix above.
Click to expand...
Click to collapse
Toolkit pushed dm verity disabler to device and I flashed through twrp but it still shows on bootup.
I can just clean flash using twrp right?
tdamocles said:
Toolkit pushed dm verity disabler to device and I flashed through twrp but it still shows on bootup.
Click to expand...
Click to collapse
Try flashing stock recovery.
Or
Flash the entire ROM again. Then SuperSU again.
Don't swipe right to modify data unless you install SuperSU before rebooting. Swiping to allow system mods with out flashing SuperSU or dm-verity disabler will give the dm-verity error.
youngstar07 said:
I can just clean flash using twrp right?
Click to expand...
Click to collapse
Dirty flash will upgrade. Clean flash will wipe all user data. As you should know.
Both will bring your phone online.
They flash stock recovery and not rooted.
Skwerl23 said:
Try flashing stock recovery.
Or
Flash the entire ROM again. Then SuperSU again.
Click to expand...
Click to collapse
I tried flashing the entire rom and it does not flash over twrp. I'll flash rom with twrp then flash stock recovery in fastboot and let it boot into OS and then go back and flash twrp in fastboot and then flash supersu in twrp, in a few minutes.
Skwerl23 said:
Dirty flash will upgrade. Clean flash will wipe all user data. As you should know.
Both will bring your phone online.
They flash stock recovery and not rooted.
Click to expand...
Click to collapse
Thanks for the reply.
I was wondering how does flashing this will revert recovery to stock.
And the other thread in xda has kinda different method. So I thought maybe its better to just clean flash. Also since this is an incremental upgrade I thoughy maybe clean flash will be better.
It's up to you. But it is the 100% ROM. Not a patch so a clean flash will work.
tdamocles said:
I tried flashing the entire rom and it does not flash over twrp. I'll flash rom with twrp then flash stock recovery in fastboot and let it boot into OS and then go back and flash twrp in fastboot and then flash supersu in twrp, in a few minutes.
Click to expand...
Click to collapse
What do you mean it doesn't flash? Didn't it flash before? Or does it require system modification to work.
Did you have encryption enabled before the patch?
Skwerl23 said:
What do you mean it doesn't flash? Didn't it flash before? Or does it require system modification to work.
Did you have encryption enabled before the patch?
Click to expand...
Click to collapse
Stock recovery is not flashed when flashing the rom for me. TWRP has remained on flashes. I'm always encrypted.
---------- Post added at 02:06 PM ---------- Previous post was at 01:53 PM ----------
Skwerl23 said:
Try flashing stock recovery.
Or
Flash the entire ROM again. Then SuperSU again.
Don't swipe right to modify data unless you install SuperSU before rebooting. Swiping to allow system mods with out flashing SuperSU or dm-verity disabler will give the dm-verity error.
Click to expand...
Click to collapse
It doesn't ask me again about modifying system....Since TWRP is on it already it doesn't ask about modifying system. It goes directly into TWRP main menu.
tdamocles said:
Stock recovery is not flashed when flashing the rom for me. TWRP has remained on flashes. I'm always encrypted.
---------- Post added at 02:06 PM ---------- Previous post was at 01:53 PM ----------
It doesn't ask me again about modifying system....Since TWRP is on it already it doesn't ask about modifying system. It goes directly into TWRP main menu.
Click to expand...
Click to collapse
You flashed the all zip? Not the patch zip?
In other words the 1.4gb one above? Maybe your download is corrupted. Download via PC and push over OTG or whatever from pc
One other thing to me is since it's not installing right, can you go in TWRP to mount. And then check what it says about system "read only" or what?
Is that checked or not? What error does it say when you full flash?

a9 pro nougat root with magisk and without magisk too

I have successfully rooted my a9 pro nougat . A910fxxu1bqhb. Here the guide.
Twrp provided by ashxys 3.0.2 works
Install magisk14.zip via tarp
That's all.
Also found new method without magisk
Pls hit thanx button
Link?
link
Find on ashyx forum
Search xda for magisk 14
Thanks for your help. But the link has the recovery, what is the root file?
Step 1. Flash twrp via odin.
2. Install magisk14. Zip via twrp recovery.
3. Reboot.
4. Go to magisk manager app.
5. Find and grant supersu permission.
6. That's all .
7. You got root on your nougat stock rom.
8. Hit thanks button.
9. Enjoy
Don't need any root file .
Magisk has everything you need.
If you can't mount data and unable to install magisk. Then go to format type yes Angeles then try to install magisk
If you can't mount data and unable to install magisk. Then go to format type yes And then try to install magisk
This what i do
1. Disable auto reboot & flash TWRP
2.Boot to TWRP & format data.
3.Reboot back to TWRP & Install magisk.
*During 1st boot twrp, it wont detect your internal storage. Thats why need to format data. Put necessary magisk file on sdcard.
Xposed
Can we install Xposed Systemless on this as we used Magisk?
killerfrost said:
Can we install Xposed Systemless on this as we used Magisk?
Click to expand...
Click to collapse
You must be in 6.0.1 MM root before nougat 7. Did u download rom as fresh and install via odin over existing 6.0.1 MM installed? or did you try something else to upgrade to nougat 7?
---------- Post added at 12:38 AM ---------- Previous post was at 12:37 AM ----------
inamie said:
This what i do
1. Disable auto reboot & flash TWRP
2.Boot to TWRP & format data.
3.Reboot back to TWRP & Install magisk.
*During 1st boot twrp, it wont detect your internal storage. Thats why need to format data. Put necessary magisk file on sdcard.
Click to expand...
Click to collapse
You must be in 6.0.1 MM root before nougat 7. Did u download rom as fresh and install via odin over existing 6.0.1 MM installed? or did you try something else to upgrade to nougat 7?
skchattha said:
You must be in 6.0.1 MM root before nougat 7. Did u download rom as fresh and install via odin over existing 6.0.1 MM installed? or did you try something else to upgrade to nougat 7?
---------- Post added at 12:38 AM ---------- Previous post was at 12:37 AM ----------
You must be in 6.0.1 MM root before nougat 7. Did u download rom as fresh and install via odin over existing 6.0.1 MM installed? or did you try something else to upgrade to nougat 7?
Click to expand...
Click to collapse
Just do this step:
>Back up all data from internal storage.
>put necessary root file on sdcard.
>Under 6.0.1 you can boot to twrp and wipe all partition (system, data, cache, internal storage)
>then from twrp reboot to download.
>make sure your pc ready to flash new rom and start flashing.
>after flash completed, ignore the setup page, just shutdown phone and enter download mode again.
>flash twrp (disable auto reboot)
>reboot twrp.. format data
>reboot twrp...install magisk
>reboot system
>once complete setup, just grant permission to apps that required root access.
Sent from my SM-A910F using XDA-Developers Legacy app
skchattha said:
You must be in 6.0.1 MM root before nougat 7. Did u download rom as fresh and install via odin over existing 6.0.1 MM installed? or did you try something else to upgrade to nougat 7?
---------- Post added at 12:38 AM ---------- Previous post was at 12:37 AM ----------
You must be in 6.0.1 MM root before nougat 7. Did u download rom as fresh and install via odin over existing 6.0.1 MM installed? or did you try something else to upgrade to nougat 7?
Click to expand...
Click to collapse
I did download a clean rom using Smart switch and have a copy of it in case something goes wrong.
But now a new problem arises. Magisk module installation errors. I made a clean install and yet i get errors.
Steps I followed....
1. Install TWRP using Odin
2. Make a format data using TWRP ( so clean totally, after having a back up though )
3. Cleared all partitions using TWRP and then using Odin I flashed the new rom file
4. After flashing, without even powering it on, I flashed Magisk also
5. Then when I turned it on, Setup screen turned up and everything was working cool with no errors. But in the mean time I forgot which version I flashed (firmware).
6. Magisk modules cant be installed on my device now. And there is no official support from Xposed as of now for A9 Pro
Anyone else having same problem??
And can I get a serial number and model number as emergency firmware update is not accepting mine.
Other errors on this flash :
1. Call volume full from earphone error. ( Is it me or for everyone? ) [ When earphones are connected, there is no volume from the speaker when a call comes ]
I want to know if this issue is with the samsung phone as I have been reporting this since 6 months to the samsung team.
I try but not success.
Hi Sir, could you please send me a file magisk14.zip. I cannot found a right file, error every time. Could you help me please???
[email protected] said:
I have successfully rooted my a9 pro nougat . A910fxxu1bqhb. Here the guide.
Twrp provided by ashxys 3.0.2 works
Install magisk14.zip via tarp
That's all.
Click to expand...
Click to collapse
Magisk 14.0
CamboVDO said:
Hi Sir, could you please send me a file magisk14.zip. I cannot found a right file, error every time. Could you help me please???
Click to expand...
Click to collapse
For the file
https://forum.xda-developers.com/attachment.php?attachmentid=4264562&d=1504715861
Post link
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
another root method
Hey guys I found another method for root our beloved a9 pro.
1. install stock nougat rom via Odin.
2. Boot to download mod and flash twrp via Odin.
3. Now go to twrp format data type yes
4. Install supersu 2.82 sr5 via twrp recovery
5. Install no encryption fix provide by ashyx. Thank for him
6. Install v4a policy if u want to use viper.
7. Reboot.
8. Enjoy your nougat with root, v4a and Xposed.
Uploading necessary file.
can't upload files
Can't upload files. Please search xda. All files available on ashyx forum .
[email protected] said:
I have successfully rooted my a9 pro nougat . A910fxxu1bqhb. Here the guide.
Twrp provided by ashxys 3.0.2 works
Install magisk14.zip via tarp
That's all.
Click to expand...
Click to collapse
Also found new method available without magisk

how to root android p

Simple quick guide to rooting Android p
Download both files from my drive
Go to twrp and flash zip and reboot. (Here's the pain in the butt part)
When u get to boot animation it will freeze
After like 2 minutes hold volume down and power to reboot to bootloader
Reboot. I personally turn off then manually turn device back on by holding power button.
When device starts back up install apk as it won't show after flashing zip.
For now su hide don't work App is 5.6.2 the latest version
Ss
joeeboogz said:
Ss
Click to expand...
Click to collapse
Too late , topjohnwu released magisk v16.1 here https://forum.xda-developers.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589 Magisk manager isn't flashing for some reason so you have to go into the actual file path inside the zip. /common/magisk.apk and install it manually. The module devs need to update their code, but mine should still work.
Just noticed well If u need apk still it's in my drive along with zip
How do access your drive? I tried to go the Magisk route and it hung on the Google boot screen with the loading bar and eventually rebooted itself
can someone just provide the few steps in installing latest magisk?
I booted, then flashed latest twrp-3.2.1-2-marlin.img (making sure no security on phone)
then flashed latest magisk 1610
and didn't boot
now I'm stuck....
Alekos said:
can someone just provide the few steps in installing latest magisk?
I booted, then flashed latest twrp-3.2.1-2-marlin.img (making sure no security on phone)
then flashed latest magisk 1610
and didn't boot
now I'm stuck....
Click to expand...
Click to collapse
I did the same thing. I couldn't get it to boot back to my phone but I could boot back into TWRP. So I just wiped then restored a backup I had. Try that. Or worse case scenario just boot to bootloader and flash the factory.img again. That should over write anything you have on there now and allow you to boot successfully.
Alekos said:
can someone just provide the few steps in installing latest magisk?
I booted, then flashed latest twrp-3.2.1-2-marlin.img (making sure no security on phone)
then flashed latest magisk 1610
and didn't boot
now I'm stuck....
Click to expand...
Click to collapse
This may be a little late, but go back into twrp and flash the magisk uninstaller located in the official forum. Then reboot. Then reinstall magisk again
This so simple even newbie like me did it.
Flash 16.1 magisk threw twrp and reboot.Use official Magisk.That easy!I was rooted!
---------- Post added at 01:27 PM ---------- Previous post was at 01:23 PM ----------
I was able to install xposed Oreo and read as following
Android P 8.1 SDK 27 so rebooted but stuck on G logo updating,Any ideas get around it.By theory should work correct?
petiolarissean said:
This so simple even newbie like me did it.
Flash 16.1 magisk threw twrp and reboot.Use official Magisk.That easy!I was rooted!
---------- Post added at 01:27 PM ---------- Previous post was at 01:23 PM ----------
I was able to install xposed Oreo and read as following
Android P 8.1 SDK 27 so rebooted but stuck on G logo updating,Any ideas get around it.By theory should work correct?
Click to expand...
Click to collapse
You need to use Xposed for P, which isn't even the roadmap I'm sure lol
If I flash to Android P would j be able to root my pixel 2 xl even if it's a Verizon varient?
x31234 said:
If I flash to Android P would j be able to root my pixel 2 xl even if it's a Verizon varient?
Click to expand...
Click to collapse
No.
are we fastboot flashing twrp after the beta OTA, or should that custom recovery still be intact?
loading magisk using the manager, or SU, or what have you?
finally, list of the files i should have on hand if things go wrong? have the may image if i need to re load that. ill try to find the P-DP2 image available as well, but I'm not sure of all the root files I'll need.
*yes i could wait for a comprehensive guide, but im here in the meantime*
AlPoo said:
are we fastboot flashing twrp after the beta OTA, or should that custom recovery still be intact?
loading magisk using the manager, or SU, or what have you?
finally, list of the files i should have on hand if things go wrong? have the may image if i need to re load that. ill try to find the P-DP2 image available as well, but I'm not sure of all the root files I'll need.
*yes i could wait for a comprehensive guide, but im here in the meantime*
Click to expand...
Click to collapse
Also waiting for this. Just searched for it but it seems the full image files are not online yet. And I don't know if twrp or the ability to root will still be there if I just uninstall magisk via the uninstaller zip in twrp, and then install the OTA from today?
EDIT:
fastboot the full dp2 image
do set-up process (don't set a PIN)
fastboot twrp 3.2.1.2 img
install twrp 3.2.1.2 zip
reboot recovery
install magisk 16.4 (16.0 won't work)
done
Tested with adaway and it works fine. I expected it to be harder to be honest but I'll take it.
joeeboogz said:
Simple quick guide to rooting Android p
Download both files from my drive
Go to twrp and flash zip and reboot. (Here's the pain in the butt part)
When u get to boot animation it will freeze
After like 2 minutes hold volume down and power to reboot to bootloader
Reboot. I personally turn off then manually turn device back on by holding power button.
When device starts back up install apk as it won't show after flashing zip.
For now su hide don't work App is 5.6.2 the latest version
Click to expand...
Click to collapse
i simply booted to twrp 3.2.0.0, installed twrp 3.2.1-2 from a usb otg as 3.2.0.0 wont decrypt, rebooted to twrp, flashed magisk 16.4 and booted android and was rooted.
Jerreth said:
i simply booted to twrp 3.2.0.0, installed twrp 3.2.1-2 from a usb otg as 3.2.0.0 wont decrypt, rebooted to twrp, flashed magisk 16.4 and booted android and was rooted.
Click to expand...
Click to collapse
I did the same but booted to 3.2.1-2 and it worked as well
I must be doing something wrong, DP2 just refuses to boot after flashing Magisk 16.4, keep having to flash stock boot.img to get it to boot
madsurgeon said:
I must be doing something wrong, DP2 just refuses to boot after flashing Magisk 16.4, keep having to flash stock boot.img to get it to boot
Click to expand...
Click to collapse
sometimes it takes a second or more reboots to get into the OS.
madsurgeon said:
I must be doing something wrong, DP2 just refuses to boot after flashing Magisk 16.4, keep having to flash stock boot.img to get it to boot
Click to expand...
Click to collapse
Same here
Try flashing boot.img to both slots and redo the process
Sent from my Pixel XL using Tapatalk

Root after Oreo update...

Can someone do the tutorial for rooting ze553kl after the Oreo update? Can I use the same recovery?
Thank you..
Root with magisk on Android O
You can root Zenfone 3 zoom with magisk on Android O
I tried rooting it by flashing latest super su but it stuck while booting
1. Unlock the bootloader with the asus's official unlock tool(you can get if on there website)
2. Download magisk app from their website
3. Open the app and download the latest magisk zip file
4. Download TWRP recovery for Asus Zenfone 3
Zoom(search on xda for recovery)
5. Flash TWRP recovery via fastboot method .Then
directly reboot to recovery
6. Now install magisk zip file via TWRP
7. Reboot and enjoy root and magisk modules
Thanks man, but my recovery keeps turning to stock.
TaeBR said:
Thanks man, but my recovery keeps turning to stock.
Click to expand...
Click to collapse
Once you have flashed TWRP, reboot straight into recovery rather than back into the system, otherwise the system overwrites with stock recovery. Once you've done it once it should stick. Hope that works for you.
pjcarrmole said:
Once you have flashed TWRP, reboot straight into recovery rather than back into the system, otherwise the system overwrites with stock recovery. Once you've done it once it should stick. Hope that works for you.
Click to expand...
Click to collapse
Thanks man, but now when i flash the supersu i got the error:
-Patching sepolicy
---Failure, aborting
its getting worst
How can i fix the fingerprint with magisk on Oreo?

Categories

Resources