root with Magisk on Oreo. - Google Pixel XL Questions & Answers

I was trying to get help on Reddit but I wasn't able to get any help.
I was able to find the Twrp image to Boot into but Magisk isn't installing when I go to try to install it.
I'm using 13.4 for my pixel XL and I tried 13.3
Any ideas why they aren't working? No errors in Twrp when installing.

DudeThatsErin said:
I was trying to get help on Reddit but I wasn't able to get any help.
I was able to find the Twrp image to Boot into but Magisk isn't installing when I go to try to install it.
I'm using 13.4 for my pixel XL and I tried 13.3
Any ideas why they aren't working? No errors in Twrp when installing.
Click to expand...
Click to collapse
Hello,
Not sure if Magisk is even working on O but you would want to flash a kernel like ElementalX first or the modified stock. Flash the kernel, then Magisk but again I am not sure if it is actually working yet. If you do get it installed and working be sure to report back to all. Also if you had SU + SUhide prior then you will want to flash the Magisk remover first, then kernel then Magisk.
Cheers

jschill31 said:
Hello,
Not sure if Magisk is even working on O but you would want to flash a kernel like ElementalX first or the modified stock. Flash the kernel, then Magisk but again I am not sure if it is actually working yet. If you do get it installed and working be sure to report back to all. Also if you had SU + SUhide prior then you will want to flash the Magisk remover first, then kernel then Magisk.
Cheers
Click to expand...
Click to collapse
Yup. Just verified it doesn't work. I booted into twrp, installed ElementalX, then Magisk 13.4 and rebooted, still doesn't work.
Then I booted into twrp, installed ElementalX and Magisk 13.3 and rebooted. Nothing.
I also installed TWRP RC2 and it works fine. If you want I can upload the bootable image for twrp and RC2 that I used. At least now I have a way of testing it out (well, to keep testing it out, when I'm at work).

DudeThatsErin said:
Yup. Just verified it doesn't work. I booted into twrp, installed ElementalX, then Magisk 13.4 and rebooted, still doesn't work.
Then I booted into twrp, installed ElementalX and Magisk 13.3 and rebooted. Nothing.
I also installed TWRP RC2 and it works fine. If you want I can upload the bootable image for twrp and RC2 that I used. At least now I have a way of testing it out (well, to keep testing it out, when I'm at work).
Click to expand...
Click to collapse
So you have twrp installed with no issues?

humdrum2009 said:
So you have twrp installed with no issues?
Click to expand...
Click to collapse
Correct

I'm using a 6p with a pixel on the way. I had it working on the 6p with Oreo. I'm pretty sure I had to download an apk as well as flash the zip. Have you done this?

the pixel has a special magisk version because of boot a/b system stuff from my understanding. So it doesn't matter if it works on any other google phone.
It sucks too because i heavily rely on magisk due to how good it is on hiding...goodwin_c is my only hope. hanging on a thread here...
If you mention other root hiding methods just know that no...they all suck lol

j_mullet said:
I'm using a 6p with a pixel on the way. I had it working on the 6p with Oreo. I'm pretty sure I had to download an apk as well as flash the zip. Have you done this?
Click to expand...
Click to collapse
Zizzy2020 said:
the pixel has a special magisk version because of boot a/b system stuff from my understanding. So it doesn't matter if it works on any other google phone.
It sucks too because i heavily rely on magisk due to how good it is on hiding...goodwin_c is my only hope. hanging on a thread here...
If you mention other root hiding methods just know that no...they all suck lol
Click to expand...
Click to collapse
What Zizzy2020 said. It is annoying. I can't wait for the next magisk to be released.

Check out this post, it works like a charm.

Related

[G4/G4 Plus] How to Install Magisk and pass safetynet?

Disclaimer
Your warranty is now void. I am not responsible if this in anyway bricks your device or anything else that might go wrong and you cant restore it back. It is assumed that you are familiar with TWRP environment and fastboot in case you need to restore stock.
Click to expand...
Click to collapse
This was last updated on 07/02/2017
This guide will tell you how to install magisk (or magiskify as the app calls it) in order to make systemless mods possible for everything. The thing about magisk is as everything is systemless you can just uninstall magisk in the end and take an ota update without having to worry about what in your system had changed. For custom roms, though not as important, systemless mods are useful for stuff like passing safetynet.
For G4/G4 plus there is no support for Android Pay(at least where I live as there is no h/w for NFC) but various banking apps and apps like Pokemon Go.
First of all, if you want to pass safetynet you will need to use the MagiskSU method to root. This root is based on phh Superuser.
This means if you have anything like SuperSU or phh Superuser then you need to unroot first. Magisk will still work if its systemless but safetynet will not.
Also if you have Xposed installed and enabled, then it will not pass safetynet.
Requirements
1. Unlocked bootloader
2. TWRP installed
This is untested in stock NPJ25-93.11/12/14. If someone can test and report I can update this.
Please flash a custom kernel like elementalX if you are on stock rom
If you are stuck in a bootloop the you need to restore your current boot.img and everything will return back to as it was.
Steps
Take a TWRP backup of current rom. Just the boot image should be enough but everything will make it safer.
1. If you are using a custom rom, I recommend you start from a fresh flash. A dirty flash works as well.
A clean boot.img is recommended as debugging is more difficult without it.
A unrooted rom (Like official Lineage-OS) is best but if you are using a pre-rooted rom then you would need to use the UnSU script by osm0sis (tested on unofficial Lineage by Silesh.Nair)
Get UnSU script from here:
https://forum.xda-developers.com/showthread.php?t=2239421
https://forum.xda-developers.com/showpost.php?p=63615067
2. Download the latest magisk zip and uninstaller from the Magisk release thread.
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
3. After flashing your ROM (or your clean stock rom if you will), flash the magisk zip using TWRP. If your rom is unrooted, Magisk will provide a root solution. If you are rooted with systemless SuperSU, magisk integrates itself there but you will not pass safetynet.
4. Reboot and install magisk manager from play store. Enable Magisk Hide. You can pass safetynet now.
Magisk also supports systemless host files(for Adaway) and busybox support from the app itself. You can just enable and reboot.
If you are on MM, then you can install xposed through magisk itself(but no safetynet support in this case)
Also magisk already has ports of Viper4Android as well. Creating your own mod is simple as well. For further guide search in the Magisk forum. Excellent guides are published there.
Credits:
topjohnwu for Magisk and MagiskSU development
osm0sis for unSU script
shreps for porting TWRP
mrinmaydhar for kernel info
None of this is my work. All I did was compile it so that it becomes easier for others.
If I missed anything please remind me. This is my first thread so everything might not be smoothest.
Shouldn't we flash a custom kernel like elementalx if we are on stock rom. I think current root methods have problems with the stock boot image.
mrinmaydhar said:
Shouldn't we flash a custom kernel like elementalx if we are on stock rom. I think current root methods have problems with the stock boot image.
Click to expand...
Click to collapse
So it's working fine after flashing ElementalX first? Because I remember it boot looped before but I am not sure which version it was. If you have tested please report back so that I can add that to the post.
guessingagain said:
So it's working fine after flashing ElementalX first? Because I remember it boot looped before but I am not sure which version it was. If you have tested please report back so that I can add that to the post.
Click to expand...
Click to collapse
So without custom kernel, it bootloops. Any custom kernel would do
mrinmaydhar said:
So without custom kernel, it bootloops. Any custom kernel would do
Click to expand...
Click to collapse
OP updated. thanks for this info.
I keep getting this error, any ideas what could be causing it?
I'm on stock rom (marshmallow) and I already removed supersu
aSuperSaiyanG0D said:
I keep getting this error, any ideas what could be causing it?
I'm on stock rom (marshmallow) and I already removed supersu
Click to expand...
Click to collapse
Nope. SuperSU exists. Search the threads for stock boot image of your ROM. Flash it and then continue installation of Magisk.
mrinmaydhar said:
Nope. SuperSU exists. Search the threads for stock boot image of your ROM. Flash it and then continue installation of Magisk.
Click to expand...
Click to collapse
I have a nandroid backup of my entire system before I installed supersu and Elemental Ex, would restoring just the boot suffice?
aSuperSaiyanG0D said:
I have a nandroid backup of my entire system before I installed supersu and Elemental Ex, would restoring just the boot suffice?
Click to expand...
Click to collapse
Yeah. But flash ElementalX though. Just skip SuperSU. If anything goes wrong just restore the boot partition.
If you want to just remove SuperSU, disable root access from within the app then perform full unroot. But it's usually better to flash stock boot.img as everything is cleaner in that case.
Edit: did you try flashing the unsu script first? Did that fail?
guessingagain said:
Yeah. But flash ElementalX though. Just skip SuperSU. If anything goes wrong just restore the boot partition.
If you want to just remove SuperSU, disable root access from within the app then perform full unroot. But it's usually better to flash stock boot.img as everything is cleaner in that case.
Edit: did you try flashing the unsu script first? Did that fail?
Click to expand...
Click to collapse
Yes I tried the unsu zip and it went thru without any errors but magisk still gave me that error
If I do a ROM update do I need to unSU and flash Magisk again?
Covalex said:
If I do a ROM update do I need to unSU and flash Magisk again?
Click to expand...
Click to collapse
As every ROM update flashes a clean boot.img it's necessary to flash magisk again. If your ROM comes prerooted you need to unsu otherwise not needed.
But you have to flash magisk Everytime after a ROM update. As long as you don't uninstall before updating, all your settings should be fine though.
aSuperSaiyanG0D said:
Yes I tried the unsu zip and it went thru without any errors but magisk still gave me that error
Click to expand...
Click to collapse
Did ElementalX help? Any problems after that?
guessingagain said:
Did ElementalX help? Any problems after that?
Click to expand...
Click to collapse
No problems other than the same error about supersu being installed.
However last night I tried flashing a custom rom "resurrection remix" and magisk installed fine, downside was titanium backup didn't really like magisks root and it wouldn't restore my apps, it just froze.
Has titanium backup worked for you?
aSuperSaiyanG0D said:
No problems other than the same error about supersu being installed.
However last night I tried flashing a custom rom "resurrection remix" and magisk installed fine, downside was titanium backup didn't really like magisks root and it wouldn't restore my apps, it just froze.
Has titanium backup worked for you?
Click to expand...
Click to collapse
Just tried. Works for me. Normally I install the apps through play store and just restore data. Tried restoring firefox it works. Maybe it's a specific problem. Are you sure that restoring with SuperSU works without errors
Magisk is known to have problems with tibackup. A fix may be incoming(maybe an update to tibackup).
guessingagain said:
Just tried. Works for me. Normally I install the apps through play store and just restore data. Tried restoring firefox it works. Maybe it's a specific problem. Are you sure that restoring with SuperSU works without errors
Magisk is known to have problems with tibackup. A fix may be incoming(maybe an update to tibackup).
Click to expand...
Click to collapse
Yes titanium backup works fine with my SuperSU on stock, and on my tablet (Nexus 7 2013) I installed magisk and titanium works as intended.
So maybe something was just iffy with titanium backup last night, actually come to think of it I don't think Resurrection Remix comes with BusyBox.
I'll try again but install BusyBox first when I get more time.
Would using the wrong unSU version affect safetynet detection?
Covalex said:
Would using the wrong unSU version affect safetynet detection?
Click to expand...
Click to collapse
As long as the there are no SU links and executables left, using any unSU script should be fine.
If you are on a custom rom check /system/bin/su and /system/xbin/su are there or not.
BTW which script did you use to unSU?
guessingagain said:
As long as the there are no SU links and executables left, using any unSU script should be fine.
If you are on a custom rom check /system/bin/su and /system/xbin/su are there or not.
BTW which script did you use to unSU?
Click to expand...
Click to collapse
I used unSU like you linked, but it was an older version. Reflashing the rom, updated unSU and magisk fixed safetynet.
Covalex said:
I used unSU like you linked, but it was an older version. Reflashing the rom, updated unSU and magisk fixed safetynet.
Click to expand...
Click to collapse
You used this right?
https://forum.xda-developers.com/showpost.php?p=63615067
Or is there another unSU script that is updated? If so can you link that?

Magisk on Pixel / Pixel XL - does it work yet?

So I've been trying to get magisk working for a while on Pixel XL and magisk version 11 still gives the unable to mount /system error.
Anyone find a workaround yet? Not being able to use Android Pay is annoying...
wireaudio said:
So I've been trying to get magisk working for a while on Pixel XL and magisk version 11 still gives the unable to mount /system error.
Anyone find a workaround yet? Not being able to use Android Pay is annoying...
Click to expand...
Click to collapse
Hey... Check the last paragraph of this post: https://forum.xda-developers.com/showpost.php?p=71502787&postcount=17 named "What's Next"
Cheers...
I've also been curious about this but everything I've read says it's just a matter of the dev of Magisk being able to implement into how the Pixel works. Looking forward to that *hopefully* happening sometime in the future!
bravesfan171 said:
I've also been curious about this but everything I've read says it's just a matter of the dev of Magisk being able to implement into how the Pixel works. Looking forward to that *hopefully* happening sometime in the future!
Click to expand...
Click to collapse
This is the exacts developer's words. It's been posted 23 hours ago:
topjohmwu said:
For the long awaited Pixel support, I think I'll start working on it, but the complexity of that device might take a very long time for me to understand, since I do not own the device. I can only borrow my friend's device for not that long of a period of time, so progress shall be really slow. I'll not get the Pixel device now, because I don't think it is worth the price and the hassle for me to import it into Taiwan, but I'll definitely get the Pixel 2 to replace my current daily driver lol.
Click to expand...
Click to collapse
Thanks guys! Much appreciated!
wireaudio said:
Thanks guys! Much appreciated!
Click to expand...
Click to collapse
Hello... Maybe take a look at this: https://forum.xda-developers.com/showpost.php?p=71573863&postcount=1029
Cheers...
Works perfectly. March Pure Nexus w/ PN kernel. Installed the V4A module too. Mario works. Pay works. Safety net passes 100%. Use TWRP RC2 and make sure to flash TWRP again after flashing Magisk.
funkybrunk said:
Works perfectly. March Pure Nexus w/ PN kernel. Installed the V4A module too. Mario works. Pay works. Safety net passes 100%. Use TWRP RC2 and make sure to flash TWRP again after flashing Magisk.
Click to expand...
Click to collapse
I'm getting an error when installing Magisk 11.6 on the Pixel, says:
"Updater process ended with Error: 1
Error installing zip file Magisk-v11.6-Pixel.zip"
Anyone else run into this with a fix?
----------------------------------------------------
Just wiped everything, still no go.
Getting the exact same error. This seems like an error with TWRP or the zip file I'm using.
The error pops up during the "Unpacking boot image" stage.
You need to used TWRP RC2. Your errors are because you are on RC1
funkybrunk said:
You need to used TWRP RC2. Your errors are because you are on RC1
Click to expand...
Click to collapse
So I'm using PN with EX kernel. Does magisk work with EX? Just flash the rc 2 zip while on RC 1?
318sugarhill said:
So I'm using PN with EX kernel. Does magisk work with EX? Just flash the rc 2 zip while on RC 1?
Click to expand...
Click to collapse
Yes it works on PN, and yes it will work with EX but EX doesn't give you the same options in aroma (as SuperSU) because it isn't recognizing magisk root.
pcriz said:
Yes it works on PN, and yes it will work with EX but EX doesn't give you the same options in aroma (as SuperSU) because it isn't recognizing magisk root.
Click to expand...
Click to collapse
Ok thanks. Will flashing the PN Rom switch the kernel back. or will I have to flash that manually
318sugarhill said:
Ok thanks. Will flashing the PN Rom switch the kernel back. or will I have to flash that manually
Click to expand...
Click to collapse
PN has its own kernel so I am assuming yes it will.
pcriz said:
PN has its own kernel so I am assuming yes it will.
Click to expand...
Click to collapse
Ok. Hopefully dirty flashing will just reset the kernel
318sugarhill said:
Ok. Hopefully dirty flashing will just reset the kernel
Click to expand...
Click to collapse
I should've been more definitive in my answer. Yes it will replace the kernel when you flash the rom, my bad.
I was using pure Nexus with Ex kernel....I flashed PN Rom (dirty flash) just to reset kernel....Flashed TWRP RC1 zip zip....Reboot system, then reboot recovery and flashed TWRP RC2 zip, reboot system, reboot to recovery flashed Magisk then reboot system again. Reboot to recovery flashed vendor img for PN and all is good. Enabled magisk hide in magisk app settings.....Then under magisk hide I hid it from DirecTV Now app. All safety net tests pass. Needed a build prop edit for directTV now to work correctly but all other apps blocked because of root are now working.
Thanks for the assistance
Does magisk work on 7.1.2?
Sent from my Pixel XL using Tapatalk
bb12489 said:
Does magisk work on 7.1.2?
Sent from my Pixel XL using Tapatalk
Click to expand...
Click to collapse
Working fine for me with Latest ElementalX Kernel
liam_davenport said:
Working fine for me with Latest ElementalX Kernel
Click to expand...
Click to collapse
Good deal. What do you think would be the best way to update to 7.1.2? I have TWRP recovery and elementalX at the moment. Should I flash stock boot.img, then update? I Imagine I would have to flash magisk again though.
Sent from my Pixel XL using Tapatalk
has anyone gotten any of the modules to work ?

Lost Root

I was using SR3-SuperSU-v2.79 and flashed SuperSU v2.82 but
phone wouldnt boot up , so I reflashed SR3-SuperSU-v2.79 and
phone now boots ok but I dont have root,
I'm using TWRP blu-spark 3.1.0 v26
Petesky said:
I was using SR3-SuperSU-v2.79 and flashed SuperSU v2.82 but
phone wouldnt boot up , so I reflashed SR3-SuperSU-v2.79 and
phone now boots ok but I dont have root,
I'm using TWRP blu-spark 3.1.0 v26
Click to expand...
Click to collapse
Flash your rom then supersu, Magisk is also a nice option.
Puddi_Puddin said:
Flash your rom then supersu, Magisk is also a nice option.
Click to expand...
Click to collapse
I thought I might have to do that , is there a link to the latest SuperSU that works
on oneplus 3
Petesky said:
I thought I might have to do that , is there a link to the latest SuperSU that works
on oneplus 3
Click to expand...
Click to collapse
Well you already have the version number.. Not too hard to search is it?
http://lmgtfy.com/?iie=1&q=latest+stable+supersu
Well that was clever
I already did that and tried 2 that didnt work ,
SuperSU282 and SuperSU-v2.82-SYSTEMMODE , I asked for one that worked on the oneplus 3,
But done a fresh install of 4.1.3 , flashed SR3-SuperSU-v2.79 again and its working good, updated binaries and no DM_verity error
Petesky said:
Well that was clever
I already did that and tried 2 that didnt work ,
SuperSU282 and SuperSU-v2.82-SYSTEMMODE , I asked for one that worked on the oneplus 3,
But done a fresh install of 4.1.3 , flashed SR3-SuperSU-v2.79 again and its working good, updated binaries and no DM_verity error
Click to expand...
Click to collapse
Well there is no Supersu that specially works for the Oneplus 3. That is why I always recommend to try things yourself. Take a backup of system and boot and you basically can keep trying things without risking that your phone doesn't boot or you loose data.
Good point
just update the 2.79 via playstore to 2.82

Oreo and Magisk

Managed to install it on OP3T but it won't work on OP3
Here is what i am doing, please correct me if i am doing anything wrong
Cleaning Super User from Updated UnSU.zip which works fine. Flashing Stock Boot.img (OK)
Flashing Magisk 14.3 (OK)
reboot and Stuck on oneplus logo
Doing it all again and flashing Magisk 14.5 and again Bootloop.
any help is highly appreciated Thanks
Good to know?
Sent from my OnePlus 3 using Tapatalk
Use the uninstaller and completely remove Magisk: https://forum.xda-developers.com/attachment.php?attachmentid=4339479&d=1511372903
Then install the v14.5(1456) beta: https://forum.xda-developers.com/attachment.php?attachmentid=4340290&d=1511453617
Working fine here with OOS 5.0
arcslt18 said:
Hello, i am having trouble installing Magisk 14.3 and 14.5
Click to expand...
Click to collapse
great description of your problem mate.
noone can help you if you dont tell whats your exact problem and what you did.
MarcTremonti said:
great description of your problem mate.
noone can help you if you dont tell whats your exact problem and what you did.
Click to expand...
Click to collapse
i posted that from xda app. text was missing. please check now. Thanks
Cyda said:
Use the uninstaller and completely remove Magisk: https://forum.xda-developers.com/attachment.php?attachmentid=4339479&d=1511372903
Then install the v14.5(1456) beta: https://forum.xda-developers.com/attachment.php?attachmentid=4340290&d=1511453617
Working fine here with OOS 5.0
Click to expand...
Click to collapse
Which device are you using? Twrp version? and magisk? please read my post now, as some text was missing when i posted it. i was using Xda App
Explorer23 said:
Good to know?
Sent from my OnePlus 3 using Tapatalk
Click to expand...
Click to collapse
Sorry some text was missing. please read post now. Thanks
arcslt18 said:
Which device are you using? Twrp version? and magisk? please read my post now, as some text was missing when i posted it. i was using Xda App
Click to expand...
Click to collapse
OP3, using the latest blue_spark TWRP and the version of Magisk I linked above.
Cyda said:
OP3, using the latest blue_spark TWRP and the version of Magisk I linked above.
Click to expand...
Click to collapse
Thanks for helping me, i tried Blu spark and magisk from your link, i'm getting bootloop again, No luck
for me - coming from a custom lineage 7.1.2 rom - it worked the following way (but it completely formatted the phone due to an encryption issue)
- flash blu spark TWRP for Oreo
- wipe system, data, cache, dalvik
- flash OB27 ROM
- flash blu spark again
- reboot to recovery
- flash magisk 14.3
Are you having a boot loop (phone reboots again and again) or is it booting up forever with the boot logo on the screen? you are describing both in your post.
I'm using 14.5 and ask works great here on OP27 Oreo was using 14.3 and that all worked great too and did nothing special part from install
Ok, i have the same problem, I am on OB28 and working SU root. i want to change to magisk, so I completely unrootet the phone and tried to flash magisk via newest twrp. But it stuck at bootlogo. do I really have to flash for magisk the twrp.enkgst? will it work then?
OK, solved, flashed spark twrp flashed magisk uninstaller, flashed magisk 14.5 I'm fine

Magisk needs to be installed after every reboot?

I've installed latest Magisk via TWRP. All works well until I reboot, then it's no longer installed. I need to go back into TWRP to install it again.
I'm on Pixel OS rom.
Any ideas?
boland said:
I've installed latest Magisk via TWRP. All works well until I reboot, then it's no longer installed. I need to go back into TWRP to install it again.
I'm on Pixel OS rom.
Any ideas?
Click to expand...
Click to collapse
Flash magisk v18.1 and it will work fine. Don't update Magisk. Some roms have this bug.
boland said:
I've installed latest Magisk via TWRP. All works well until I reboot, then it's no longer installed. I need to go back into TWRP to install it again.
I'm on Pixel OS rom.
Any ideas?
Click to expand...
Click to collapse
If you reboot it should reappear (it does for me).
I don't know what's the root cause, I'll just wait patiently for a fix. Unfortunately I don't have time to troubleshoot or provide logs to whoever to help the investigation.
PS: in your description be more accurate "latest version of xyz" means nothing. Specify exactly which version. Especially there is stable and beta!

Categories

Resources