Help With Root - Google Pixel XL Questions & Answers

I'm a little lost on Root for the Pixel XL. I am currently running unlocked with Screw'd ROM - 3.1.2-****ery-20170712-1454. This is a BETA, but has been running really smooth for the last 2 days.
Security Patch Level - July 5, 2017
Vendor - NJH47D
Last time I tried to apply root while running PureNexus the phone continued to boot loop and I had to eventually flashall.bat and start over.
1. What version of SuperSU should I be flashing? The latest and newest or is there other versions that work better?
2. What are the correct steps? Is wipe cache/dalvik necessary before? Do I need to install anything on the phone beforehand?
Boot to TWRP, Flash SuperSU, Reboot? Easy as that?
I see this version being talked about a lot - SR3-SuperSU-v2.79-SR320170114223742.zip, but it isn't the latest available that I can see. The SuperSU thread states to install the latest version and using google brings me to many versions of SuperSU.
Lastly, after rooting will apps like SnapChat work? If not how to you bypass this?

So I just found some information after searching more. Some of it is dated. I currently have twrp-pixel-installer-marlin-3.1.0-0RC2.zip version for TWRP installed.
Is RC1 needed for root, and with what SuperSU version. Or which combination of RC2 and SuperSU work together?

jws86 said:
So I just found some information after searching more. Some of it is dated. I currently have twrp-pixel-installer-marlin-3.1.0-0RC2.zip version for TWRP installed.
Is RC1 needed for root, and with what SuperSU version. Or which combination of RC2 and SuperSU work together?
Click to expand...
Click to collapse
When I was rooted I initially was using RC1, I think my supersu was V2.8? And no Snapchat, Pokemon go, and Android pay, etc, will not work. So a little work around for Snapchat, you need to log in first then flash supersu, or just go with magisk and enable magisk hide to make life easier.

sakumaxp said:
When I was rooted I initially was using RC1, I think my supersu was V2.8? And no Snapchat, Pokemon go, and Android pay, etc, will not work. So a little work around for Snapchat, you need to log in first then flash supersu, or just go with magisk and enable magisk hide to make life easier.
Click to expand...
Click to collapse
Is there a guide to Root with Magisk somewhere floating around?

jws86 said:
Is there a guide to Root with Magisk somewhere floating around?
Click to expand...
Click to collapse
I believe it's the same as when you flash supersu, don't quote me on that

sakumaxp said:
I believe it's the same as when you flash supersu, don't quote me on that
Click to expand...
Click to collapse
Yeah I found the guide. It seems I need to flash stock image first before. So Magisk gives you the ability to root first, then download apps such as snapchat and still login if you use magisk hide?

jws86 said:
Yeah I found the guide. It seems I need to flash stock image first before. So Magisk gives you the ability to root first, then download apps such as snapchat and still login if you use magisk hide?
Click to expand...
Click to collapse
Correct, downloading isn't a problem, but it'll just prevent you from logging in since supersu, trips safetynet

sakumaxp said:
Correct, downloading isn't a problem, but it'll just prevent you from logging in since supersu, trips safetynet
Click to expand...
Click to collapse
I read through this thread: https://forum.xda-developers.com/pixel-xl/how-to/guide-stock-7-1-2-root-safetynet-ok-t3617347
Seems pretty straightforward, however currently I have a ROM installed I'm really liking. To do this I would have to flash back to stock image, then go through the root process. My question would be after rooting, if I went to flash Screw'd again, doesn't it wipe everything and I would lose root again, then just have to flash it after the ROM?

jws86 said:
I read through this thread: https://forum.xda-developers.com/pixel-xl/how-to/guide-stock-7-1-2-root-safetynet-ok-t3617347
Seems pretty straightforward, however currently I have a ROM installed I'm really liking. To do this I would have to flash back to stock image, then go through the root process. My question would be after rooting, if I went to flash Screw'd again, doesn't it wipe everything and I would lose root again, then just have to flash it after the ROM?
Click to expand...
Click to collapse
Myself I've never been on screwd before, I would assume so, but in my experience the pixel XL is more complicated than my previous phones

If you just want root you shouldn't need to flash the stock image again. You would need to do that if you wanted to flash a custom kernel but not for root. You need to download the modified version of Magisk for the Pixel XL. The official version doesn't work on the Pixels. I'm not currently rooted as I went back to stock but I was using Magisk. At that time the latest version wasn't stable but it might be fixed now. You need to boot into fastboot TWRP, flash the Magisk zip, flash the TWRP zip and then boot up. After you are booted up you install the Magisk Manager app. The tricky thing is installing the right version of Magisk Manager that works properly with the unofficial build of Magisk that you are using. You can get more information in the Resurrection Remix rom thread which for some reason is the official place where the modified version of Magisk is hosted if you can't find good info about which combination of unofficial Magisk and Magisk Manager you should be using. Also when I used Magisk you needed to enable core only mode for it to pass Safety Net but that may no longer be the case. You should be able to find the most up to date info either in the thread you cited or the RR rom thread. Just remember that official builds of Magisk do not work on the Pixel. You need to stick with one of the unofficial builds.

jhs39 said:
If you just want root you shouldn't need to flash the stock image again. You would need to do that if you wanted to flash a custom kernel but not for root. You need to download the modified version of Magisk for the Pixel XL. The official version doesn't work on the Pixels. I'm not currently rooted as I went back to stock but I was using Magisk. At that time the latest version wasn't stable but it might be fixed now. You need to boot into fastboot TWRP, flash the Magisk zip, flash the TWRP zip and then boot up. After you are booted up you install the Magisk Manager app. The tricky thing is installing the right version of Magisk Manager that works properly with the unofficial build of Magisk that you are using. You can get more information in the Resurrection Remix rom thread which for some reason is the official place where the modified version of Magisk is hosted if you can't find good info about which combination of unofficial Magisk and Magisk Manager you should be using. Also when I used Magisk you needed to enable core only mode for it to pass Safety Net but that may no longer be the case. You should be able to find the most up to date info either in the thread you cited or the RR rom thread. Just remember that official builds of Magisk do not work on the Pixel. You need to stick with one of the unofficial builds.
Click to expand...
Click to collapse
I think I got which versions of magisk and magisk manager I need to use from the other thread I had posted earlier. This helps to clear some things up for me though. I have both the .apk and the zip on my phone now. Getting a bit of a charge and I guess I'll go ahead and try it.

It worked, I'm officially rooted .Thanks for the help!

jws86 said:
It worked, I'm officially rooted .Thanks for the help!
Click to expand...
Click to collapse
Cool.

Related

Order of operations (unlock, kernel, twrp, root, suhide)?

VZW Pixel on the way. I have ADB & fastboot ready through Android Studio SDK. dePixel8 downloaded. Just want to check the best order of operations here (spans multiple things):
1. Run dePixel8 to unlock bootloader
2. OTA update to 7.1.1
3. Boot to TWRP, install recovery
4. Boot-to-root
5. Flash ElementalX kernel, install kernel manager (root ver.)
5.5. Full unroot SuperSU?
6. Delete fstab.marlin in TWRP
7. Flash SuperSU 2.79 stable, systemless
8. Patch libandroid files, flash suhide, add apps to blacklist
Upon this, I should have my Pixel XL running Android 7.1.1, TWRP recovery, ElementalX kernel, Root, with SafetyNet fooled and Android Pay working... right? Should I do anything in a different order/way?
If I stop after step 5.5 I won't have root, but will have AP working I assume? Is 5.5 necessary if I do the remaining steps?
JU57US said:
VZW Pixel on the way. I have ADB & fastboot ready through Android Studio SDK. dePixel8 downloaded. Just want to check the best order of operations here (spans multiple things):
1. Run dePixel8 to unlock bootloader
2. OTA update to 7.1.1
3. Boot to TWRP, install recovery
4. Boot-to-root
5. Flash ElementalX kernel, install kernel manager (root ver.)
5.5. Full unroot SuperSU?
6. Delete fstab.marlin in TWRP
7. Flash SuperSU 2.79 stable, systemless
8. Patch libandroid files, flash suhide, add apps to blacklist
Upon this, I should have my Pixel XL running Android 7.1.1, TWRP recovery, ElementalX kernel, Root, with SafetyNet fooled and Android Pay working... right? Should I do anything in a different order/way?
Click to expand...
Click to collapse
3 Make sure it is TWRP RC1
4 No, boot to root is dead after 7.1. Use 2.79 SR3 for all of this. And skip 4 anyway, in unneeded.
5.5 Here is where you flash 2.79 SR3. To be clear, you install it via TWRP.
6 Unneeded with the 2.79 SR3
And I doubt suhide will hide root, my understanding is that it currently does not. But I don follow it very closely.1
My understanding was that suhide works with the libandroid patches, but only with 2.79 stable, and not RC1+
Also, question... if flashing ElementalX isn't it recommended to have root before flashing, or does it not really matter?
JU57US said:
VZW Pixel on the way. I have ADB & fastboot ready through Android Studio SDK. dePixel8 downloaded. Just want to check the best order of operations here (spans multiple things):
1. Run dePixel8 to unlock bootloader
2. OTA update to 7.1.1
3. Boot to TWRP, install recovery
4. Boot-to-root
5. Flash ElementalX kernel, install kernel manager (root ver.)
5.5. Full unroot SuperSU?
6. Delete fstab.marlin in TWRP
7. Flash SuperSU 2.79 stable, systemless
8. Patch libandroid files, flash suhide, add apps to blacklist
Upon this, I should have my Pixel XL running Android 7.1.1, TWRP recovery, ElementalX kernel, Root, with SafetyNet fooled and Android Pay working... right? Should I do anything in a different order/way?
Click to expand...
Click to collapse
Make sure before you power on you take the SIM card out. Then during the setup SKIP connecting to Wi-Fi. Then once you're through the setup unlock with dePixel8.
Take OTA update
Fastboot boot twrp RC 1 IMG
Install Twrp RC 1 zip from within twrp
Boot phone up then reboot to recovery
Flash SU 2.79 SR 3
Flash kernel if you want
Reboot
Don't use any other versions of twrp or SU. Also make sure your platform tools are completely up to date. Google also just released a separate download of them so grab those and you know for sure you're up to date
JU57US said:
My understanding was that suhide works with the libandroid patches, but only with 2.79 stable, and not RC1+
Also, question... if flashing ElementalX isn't it recommended to have root before flashing, or does it not really matter?
Click to expand...
Click to collapse
I don't believe SUHide works even with the 2 libandroid replacements. That's what I have. I think I'll have better luck with RootSwitch. I'm working to come up with something similar to RootSwitch.
quangtran1 said:
I don't believe SUHide works even with the 2 libandroid replacements. That's what I have. I think I'll have better luck with RootSwitch. I'm working to come up with something similar to RootSwitch.
Click to expand...
Click to collapse
There's a report in @Fenny's thread, here, about the files working on NMF26V stock for suhide.
JU57US said:
There's a report in @Fenny's thread, here, about the files working on NMF26V stock for suhide.
Click to expand...
Click to collapse
I know, I've been following that and one off of that. I use fenny's instructions. However, those conversations gave me some ideas to attack this.

Root HTC10 Nougat 2.41.401.03

Hi guys,
I'm looking for a way to root my HTC10 Nougat 2.41.401.03. Could you give me some ideas what i'm gonna lose after root, notices and the link, please?
Thank you very much
unlock the bootloader using HTC Dev, flash the latest version of TWRP and then flash either SuperSU or Magisk (Magisk is a personal preference).
Just be wary that flashing a custom recovery and flashing either one of those will likely break the phones ability to update OTA.
silegeek said:
unlock the bootloader using HTC Dev, flash the latest version of TWRP and then flash either SuperSU or Magisk (Magisk is a personal preference).
Just be wary that flashing a custom recovery and flashing either one of those will likely break the phones ability to update OTA.
Click to expand...
Click to collapse
Thank you , but would you mind send me the link of latest TWRP and Supersu, please ?
dvhuy95 said:
Thank you , but would you mind send me the link of latest TWRP and Supersu, please ?
Click to expand...
Click to collapse
Flashable SuperSu
https://s3-us-west-2.amazonaws.com/supersu/download/zip/SuperSU-v2.79-201612051815.zip
TWRP
https://eu.dl.twrp.me/pme/twrp-3.1.0-1-pme.img.html
Magisk
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
I think Magisk Root is better to have system less root, Android pay and snapchat works perfect, after flashing in magisk settings you have to turn on "magisk hide" and choose applications (android pay or snapchat and much more).
Hi, how can I install TWRP and then Magisk ?

Help installing Magisk su

Rooted (super su) and ElementalX kernel, nougat 7.1.2. I want to use viper4android and having problems (driver installs but it doesn't work). I read that installing magisk su might work better but I get an error every time I try. Super su is systemless and guides are saying it should work just to flash the zip of magisk but it isn't working. Is there anything I need to do? I also have poweramp installed which may be messing with viper4android but I'm a bit lost. Any help would be great.
Are you trying to install Magisk on top of SuperSu or in place of it? Also, you are using the version of Magisk that was modified for the Pixel, not the official version, correct?
jhs39 said:
Are you trying to install Magisk on top of SuperSu or in place of it? Also, you are using the version of Magisk that was modified for the Pixel, not the official version, correct?
Click to expand...
Click to collapse
I'm going in place of SuperSU, I think you've nailed my issue though....I didn't know there was a modified version
Kevinj17 said:
I'm going in place of SuperSU, I think you've nailed my issue though....I didn't know there was a modified version
Click to expand...
Click to collapse
https://drive.google.com/file/d/0B1xZ4VKT4JKZUFhVUlk0enhBVFk/view

How to install magisk in Oneplus 5T?

I have a OnePlus 5T locked and unrooted phone having OxygenOS 5.1.7 installed. I am new to rooting and related kinds of stuff. Can someone help me to give some instructions to install Magisk in my device? I know the below steps, but at the same time, I am having some questions in my mind.
1. Unlock bootloader - I saw some commands here to unlock bootloader - https://forum.xda-developers.com/showpost.php?p=74504347&postcount=4 - looks like these are outdated, last updated on Dec 2017. Are those work today also?
2. Install TWRP recovery - I heard that, OxygenOS 5.1.7 is having Project Treble supported. Can I use the same TWRP recovery mentioned in the above link?
3. Root using Magisk or SuperSU. What is the difference? What is systemless root? Anyway, I need to install Magisk Manager finally - Please suggest a way.
4. And the last one, How do I unroot my device if something goes wrong? Or is that possible?
5. I don't want to install any custom ROMs, I am fine with OOS.
https://www.youtube.com/watch?v=bTpxvmwBruQ&t=193s
Most of your questions have been answered on xda, youtube, and reddit before. Please try searching before posting.
sarathsnair said:
I have a OnePlus 5T locked and unrooted phone having OxygenOS 5.1.7 installed. I am new to rooting and related kinds of stuff. Can someone help me to give some instructions to install Magisk in my device? I know the below steps, but at the same time, I am having some questions in my mind.
1. Unlock bootloader - I saw some commands here to unlock bootloader - https://forum.xda-developers.com/showpost.php?p=74504347&postcount=4 - looks like these are outdated, last updated on Dec 2017. Are those work today also?
2. Install TWRP recovery - I heard that, OxygenOS 5.1.7 is having Project Treble supported. Can I use the same TWRP recovery mentioned in the above link?
3. Root using Magisk or SuperSU. What is the difference? What is systemless root? Anyway, I need to install Magisk Manager finally - Please suggest a way.
4. And the last one, How do I unroot my device if something goes wrong? Or is that possible?
5. I don't want to install any custom ROMs, I am fine with OOS.
Click to expand...
Click to collapse
1. Yes the unlock commands remain the same till date.
2. Use the latest bluspark twrp which has the treble support, link mentioned is fine and if you need the direct link, its here
3. Use the latest Magisk as SU is a dead project now.
4. Whenever you want to unroot just dirty remove/uninstall all the mods, dirty flash the latest stock rom > Factory reset in recovery and lock the bootloader. I did a post here for the 6T and it should work the same way on 5T.
5. You can stay rooted on OOS no need of custom roms any more :good:
Let me know if you want to know anything else, Thanks.
PS: Thread moved to Q&A Section
Funk Wizard said:
4. Whenever you want to unroot just dirty remove/uninstall all the mods, dirty flash the latest stock rom > Factory reset in recovery and lock the bootloader. I did a post here for the 6T and it should work the same way on 5T.
Click to expand...
Click to collapse
What happens to the installed twrp recovery if I unroot?
sarathsnair said:
What happens to the installed twrp recovery if I unroot?
Click to expand...
Click to collapse
Its replaced by stock recovery :good:
I got some more question too.
1.will I get official update from oneplus after my magisk root??
2.can I root my 5t with beta room ?
3.can I switch from beta to official and from official to beta once I rooted my device.
4.can I use confidential app like banking app.???
alisrovi said:
I got some more question too.
1.will I get official update from oneplus after my magisk root??
2.can I root my 5t with beta room ?
3.can I switch from beta to official and from official to beta once I rooted my device.
4.can I use confidential app like banking app.???
Click to expand...
Click to collapse
1. Yes, but your phone will download the whole firmware at each update instead of the ota.
2. Yes
3. Yep you can.
4. Yes of course, but some apps will detect root. So you will have to use Magisk Hide (inside the Magisk Manager) to hide root from these apps.
Note : I didn't use OOS anymore but it seems to me that OOS overwrites root everytime you update, so keep in mind that you will have to reflash it everytime
alisrovi said:
I got some more question too.
1.will I get official update from oneplus after my magisk root??
2.can I root my 5t with beta room ?
3.can I switch from beta to official and from official to beta once I rooted my device.
4.can I use confidential app like banking app.???
Click to expand...
Click to collapse
1- Yes, but you will recieve full sized zip (1.5+)GB automatically in rooted OOS. Incremental small sized ota won't work in case of root, and don't bother with it.
The downside of updating full whole zip is that you will loose root & twrp recovery after the update. So keep in mind, you will re-install both of them later.
2- I haven't tried beta, but i am sure yes
3- any switch between those requires clean flash in TWRP (wiping dalvik cache, cache, data, vendor and system). So, make sure to have backup in safe place.
4- yes, as long as you passed the safety net in Magisk. Magisk has a feature to hide root on certain apps of your choice, so you can use banking apps later
All my magisk installed whether in oos stable or custom roms, passed the safety net out of the box. So I haven't faced issues there.

Question Are the newer US ver still allowing,rooth with TWRP?

Seeing a lot of issues with Android 11 and 12 unlocking the bootloader and applying root. Is now not a good time to upgrade or should I wait for a boot image?
Not quite sure what you're referring to, but there are zero issues with unlocking the bootloader or rooting your device...
I can't speak for TWRP. I have had issues with it the last few versions so I had to make due without it. If I am mistaken about having twrp on the OP9 Pro on the newest LE2125 c61 update, I'd be interested.
Anyway, my response is mostly to address your question regarding root. Here are the steps that worked for me.
[OnePlus 9 Pro][ROM][OTA][Oxygen OS] Repo of Oxygen OS Builds
As OnePlus doesn't always provide download links for all of their OxygenOS ROMs & OTA update zips, we've created an index to put the links in one post so that they're easy to find. Note: This is not a support thread for issues you may have with...
forum.xda-developers.com
I have been rooted since day one on both A11 & A12. I'm running stock and haven't had a single issue.
Avoid TWRP, it's known to not work properly on A12
If you like to flash a custom ROM. Follow the instructions and you will be fine.
I am coming off the oneplus 7pro was enjoying TWRP and Magisk, with Exposed now I am hearing TWRP isn't working on anything above 10.0 ver. Guess I have to do so more research or pay Monfrio a ransom to work on TWRP.
intense21 said:
I am coming off the oneplus 7pro was enjoying TWRP and Magisk, with Exposed now I am hearing TWRP isn't working on anything above 10.0 ver. Guess I have to do so more research or pay Monfrio a ransom to work on TWRP.
Click to expand...
Click to collapse
there is no need for TWRP...
Smedslund said:
I have been rooted since day one on both A11 & A12. I'm running stock and haven't had a single issue.
Avoid TWRP, it's known to not work properly on A12
If you like to flash a custom ROM. Follow the instructions and you will be fine.
Click to expand...
Click to collapse
How do you root without twrp? or you mean to just boot twrp and not install it?
CtrlValCanc said:
How do you root without twrp? or you mean to just boot twrp and not install it?
Click to expand...
Click to collapse
Use Magisk, patch bootimg , install and reboot.
Read this usefull guide.
Smedslund said:
Use Magisk, patch bootimg , install and reboot.
Read this usefull guide.
Click to expand...
Click to collapse
thank you, i couldn't find what boot.img to download (and how), but this guide has already all!
CtrlValCanc said:
thank you, i couldn't find what boot.img to download (and how), but this guide has already all!
Click to expand...
Click to collapse
I always just sideload. (downdload magisk apk & rename to zip before)
this way you do not need the extra boot.img I think.
vincemue said:
I always just sideload. (downdload magisk apk & rename to zip before)
this way you do not need the extra boot.img I think.
Click to expand...
Click to collapse
could you explain better? I never used sideload before. What commands do you use?
CtrlValCanc said:
could you explain better? I never used sideload before. What commands do you use?
Click to expand...
Click to collapse
If you want to install any add-ons, Reboot to Recovery, then when your device reboots, click Apply Update, then Apply from ADB, then adb sideload filename.zip those packages in sequence. (GAPPS or Magisk for example)
for example for magisk:
download the newest magisk apk version
after download, rename it and instead of .apk do it .zip
go into revovery and click Apply Update, then Apply from ADB
command is : "adb sideload Magisk-v2X.X.zip"
you must exchange X for your version.
Boot images gets patched
please note that I am not an expert, that is just what I found somewhere and use since then.
if you need more information you could also check the install instructions for lineageOS to get to know some basics: https://wiki.lineageos.org/devices/lemonadep/install

Categories

Resources