Root Android Pie November update with Magisk? - Google Pixel 2 XL Questions & Answers

Hi guys
I've just bought a used Pixel 2XL and now figuring out how to root. Just wonder if it's good to use Magisk stable ver 18.0 to root the pixel 2xl on November update?
Thanks

cnkhanh said:
Hi guys
I've just bought a used Pixel 2XL and now figuring out how to root. Just wonder if it's good to use Magisk stable ver 18.0 to root the pixel 2xl on November update?
Thanks
Click to expand...
Click to collapse
Yep, you should be fine :good::good:

How about the December update?
I got lazy...still on October.
TIA!
Badger50 said:
Yep, you should be fine :good::good:
Click to expand...
Click to collapse

docluv01 said:
How about the December update?
I got lazy...still on October.
TIA!
Click to expand...
Click to collapse
No worries there either. Running it myself!

just jumped from november to march update using OTA via adb push and after i flash magisk it causes the phone to bootloop.
looks like there is a problem with patching the boot.img from magisk, reflashing the stock boot file the pixel works but no root obviously....any idea?

beren said:
just jumped from november to march update using OTA via adb push and after i flash magisk it causes the phone to bootloop.
looks like there is a problem with patching the boot.img from magisk, reflashing the stock boot file the pixel works but no root obviously....any idea?
Click to expand...
Click to collapse
There are several scenarios you could try.
1. Fastboot into twrp, flash twrp installer zip, flash magisk and see if it boots.
2. Fastboot into twrp, flash twrp installer zip, flash magisk, flash magisk uninstaller, then flash magisk again and see if it boots.
3. Fastboot into twrp, flash twrp installer zip, flash magisk, reboot to twrp, flash magisk uninstaller zip, then flash magisk again and see if it boots.
4. Fastboot into twrp, flash magisk, then flash magisk uninstaller zip, then flash magisk again and see if it boots. Twrp will be gone as well.
5. Try some of the above, but add a custom kernel into the mix.
Sometimes it can take 4-5 tries before you'll get it to boot up with root. Just be patiently persistent my friend and you'll get it :good:

Badger50 said:
There are several scenarios you could try.
1. Fastboot into twrp, flash twrp installer zip, flash magisk and see if it boots.
2. Fastboot into twrp, flash twrp installer zip, flash magisk, flash magisk uninstaller, then flash magisk again and see if it boots.
3. Fastboot into twrp, flash twrp installer zip, flash magisk, reboot to twrp, flash magisk uninstaller zip, then flash magisk again and see if it boots.
4. Fastboot into twrp, flash magisk, then flash magisk uninstaller zip, then flash magisk again and see if it boots. Twrp will be gone as well.
5. Try some of the above, but add a custom kernel into the mix.
Sometimes it can take 4-5 tries before you'll get it to boot up with root. Just be patiently persistent my friend and you'll get it :good:
Click to expand...
Click to collapse
thank you for spending your time to help me, very appreciated :good:
the trick was to remove magisk flashing the uninstaller, that i didn't before, after this it worked from first time...

Related

Bootloop after flashing patched_boot.img

It gets stuck on the white screen with the letter G and moving progress bar under it after rebooting. I ended up just flashing the stock boot.img and it works again but just rootless for now.
I successfully rooted with Magisk a few days ago but after getting a bootloop from trying to install Xposed I restored to 8.0 stock. I probably should've made a backup of the patched_boot.img from back then When I try making patched_boot.img again with Magisk it is only ~26 mb but the factory boot.img is ~41 mb. I don't remember exactly how big my first patched one was, but I feel like it shouldn't be this small.
potatoesryum said:
It gets stuck on the white screen with the letter G and moving progress bar under it after rebooting. I ended up just flashing the stock boot.img and it works again but just rootless for now.
I successfully rooted with Magisk a few days ago but after getting a bootloop from trying to install Xposed I restored to 8.0 stock. I probably should've made a backup of the patched_boot.img from back then When I try making patched_boot.img again with Magisk it is only ~26 mb but the factory boot.img is ~41 mb. I don't remember exactly how big my first patched one was, but I feel like it shouldn't be this small.
Click to expand...
Click to collapse
Have you tried flashing the Magisk.zip instead? I had some troubles myself recently but flashing the Magisk zip worked like a charm. You don't need to flash TWRP recovery, you can just one-time boot to TWRP and flash the Magisk zip that way.
EDIT:
To do so, I'm taking snippets from THIS post, but basically:
Download TWRP.img, place in platform-tools folder.
Download Latest Magisk v14.x Zip file, place on device "SDCard"
Reboot phone to bootloader/fastboot
Command: fastboot boot <twrp filename.img>
Once TWRP loads, flash the Magisk Zip file you downloaded and reboot your phone, you should be all set.
Tried flashing Magisk 14.4 and the most recent 15.3 with twrp but still stuck at same boot up screen. If it matters I'm running 8.0 with November update (opd1.170816.025). I'll probably do a clean install of 8.1 later and try again, just waiting for a few apps get updates for 8.1
potatoesryum said:
Tried flashing Magisk 14.4 and the most recent 15.3 with twrp but still stuck at same boot up screen. If it matters I'm running 8.0 with November update (opd1.170816.025). I'll probably do a clean install of 8.1 later and try again, just waiting for a few apps get updates for 8.1
Click to expand...
Click to collapse
Just to be clear, you are telling Magisk to patch the November BOOT.IMG, correct?
You could also try dirty flashing the January full ROM (remove the -w from the flashall script), then flashing Magisk via TWRP...

How to Update Rooted Oneplus 5T to 5.1.2?

I do have an idea on how to do it i just want some clarification.
I will lose the TWRP and Root on the process right? If so can someone tell me a step by step guide on updating? And dirty flashing at the same time? The do's and dont's. Thanks!
You are currently in which build? Beta to stable is not recommended.
Btw, I am using bluspark recovery and it survived dirty flashes for me. Else no worries after system boots, boot to bootloader later and flash twrp image again.
Im on stable build should i trust the OTA that has been downloaded on the phone update itself or just use the zip file and flash it via twrp instead? Thanks
Download zip file
Flash it in TWRP and DON'T REBOOT YET
flash Magisk in TWRP
Reboot
Done
At least that's what I did and the root is still here
Kartoflaszman said:
Download zip file
Flash it in TWRP and DON'T REBOOT YET
flash Magisk in TWRP
Reboot
Done
At least that's what I did and the root is still here
Click to expand...
Click to collapse
After flash magisk I flash twrp

Pixel 2 XL Root [Going Mad About]

Hi everyone,
I'm going mad about Pixel 2 XL Root. I'm Trying to use Magisk v18 on latest Android versione but I'm not able to root the device.
Everytime I try to flash Magisk the screen stays loading Google Icon in loop forever and ever. I've tried every guide on the web whitout success.
Anyone can help me?
[Edit]
Theese are the steps i take
-flash recovery twrp (ok)
-reboot to recovery (ok)
-flash magisk v18 (loop)
megamarini said:
Hi everyone,
I'm going mad about Pixel 2 XL Root. I'm Trying to use Magisk v18 on latest Android versione but I'm not able to root the device.
Everytime I try to flash Magisk the screen stays loading Google Icon in loop forever and ever. I've tried every guide on the web whitout success.
Anyone can help me?
Click to expand...
Click to collapse
All the usual preemptive steps are complete, correct? You OEM unlocked it and all that?
djcrystals said:
All the usual preemptive steps are complete, correct? You OEM unlocked it and all that?
Click to expand...
Click to collapse
Sure mate, I have rooted every smartphone owned since Xperia X8 and this is a very strange behaviour for me.
megamarini said:
Sure mate, I have rooted every smartphone owned since Xperia X8 and this is a very strange behaviour for me.
Click to expand...
Click to collapse
Don't feel too bad my friend, the P2XL is a quirky little bugger to say the least. I had a heck of a time rooting 9.0 after I updated from 8.1, then outa the blue, it worked. Here's a few steps to try.
1. Fastboot twrp, then flash magisk, try to boot.
2. Fastboot twrp, flash twrp.zip, boot up, then go back to twrp and flash magisk. If no go, do the same steps, except after you flash magisk, flash the magisk uninstaller zip, then flash magisk again.
3. Fastboot into twrp, flash twrp.zip, custom kernel.zip, then magisk.zip. if no go, then try the magisk uninstaller.zip method again.
4. Stick with it, be patient, sooner or latter you'll find the right combo. Also, it seems easier to root using a custom kernel, if your willing to try it :good:
Badger50 said:
Don't feel too bad my friend, the P2XL is a quirky little bugger to say the least. I had a heck of a time rooting 9.0 after I updated from 8.1, then outa the blue, it worked. Here's a few steps to try.
1. Fastboot twrp, then flash magisk, try to boot.
2. Fastboot twrp, flash twrp.zip, boot up, then go back to twrp and flash magisk. If no go, do the same steps, except after you flash magisk, flash the magisk uninstaller zip, then flash magisk again.
3. Fastboot into twrp, flash twrp.zip, custom kernel.zip, then magisk.zip. if no go, then try the magisk uninstaller.zip method again.
4. Stick with it, be patient, sooner or latter you'll find the right combo. Also, it seems easier to root using a custom kernel, if your willing to try it :good:
Click to expand...
Click to collapse
Thank You mate, when I'll get home I'll try to follow yor steps and I'll let you know. Any suggestion about kernel on stock firmware? ElementalX it's ok?
Had the SAME problem yesterday:
Fastbooted TWRP
Flashed TWRP
Flashed Magisk
---> STUCK
Flashed TWRP
Flashed Magisk
---> BOOTED UP
Sui77 said:
Had the SAME problem yesterday:
Fastbooted TWRP
Flashed TWRP
Flashed Magisk
---> STUCK
Flashed TWRP
Flashed Magisk
---> BOOTED UP
Click to expand...
Click to collapse
Tryed everything but nothing works..
megamarini said:
Tryed everything but nothing works..
Click to expand...
Click to collapse
Maybe give the guide linked in my sig a shot.
If that doesn't help, try the following:
-once you've permanently installed TWRP, try rebooting to recovery after each additional step BEFORE rebooting to system:
install cust kernel, reboot to recovery, reboot to system
install magisk, reboot to recovery, reboot to system
if that doesn't work, try doing a mass install after TWRP is permanently installed:
in the same flash, install cust kernel and magisk, reboot to system
These have helped other users who have had odd issues with their set ups, but in the end, Pixel 2 XL is a fickle beast
Best of luck!
Az Biker said:
Maybe give the guide linked in my sig a shot.
If that doesn't help, try the following:
-once you've permanently installed TWRP, try rebooting to recovery after each additional step BEFORE rebooting to system:
install cust kernel, reboot to recovery, reboot to system
install magisk, reboot to recovery, reboot to system
if that doesn't work, try doing a mass install after TWRP is permanently installed:
in the same flash, install cust kernel and magisk, reboot to system
These have helped other users who have had odd issues with their set ups, but in the end, Pixel 2 XL is a fickle beast
Best of luck!
Click to expand...
Click to collapse
SOLVED
The only way (for me) to root my Pixel 2 XL is follow theese steps:
Rooting with Magisk
NOTE #4: This section assumes you are not going to install TWRP. If you are, skip to the next section and just flash the latest Magisk zip after installing TWRP.
Download the Magisk zip from the official thread and install the manager from the zip.
Grab a boot image to patch (either the one from the latest factory image or a custom kernel one) and push it to your device:
Code:
adb push <path_to_file> /sdcard/Download
Open Magisk Manager and click the Install button.
Click "Install" at the first prompt then choose "Patch Boot Image File". A file manager will pop up.
Select the boot image you want to patch and let Magisk Manager patch it.
Pull it off your device:
Code:
adb pull /sdcard/MagiskManager/patched_boot.img
Reboot into the bootloader:
Code:
adb reboot bootloader
Flash the boot image and reboot.
Code:
fastboot flash boot patched_boot.img
fastboot reboot
Open Magisk Manager and you should be rooted!
Source: XDA Post
Thank you so much to everyone who tried to help me!

Rooting issues

I have a Pixel 3 XL and I was following this Guide to root it.
https://www.xda-developers.com/google-pixel-3-unlock-bootloader-root-magisk/
When I get to part 2-10 (The part to install Magisk) my phone wont boot into the OS. Instead I end up back at TWRP. If I reinstall TWRP from my download folder or restore a back up I can get back into the OS. I still have TWRP installed but no root. I know I'm doing something wrong but I'm not sure. Like I've said TWRP is install but not Magisk.
What Android version; Pie or Q, stock or custom? What Magisk version? Are you booting to TWRP (fastboot boot twrp.img) or did you flash twrp to the device?
ktmom said:
What Android version; Pie or Q, stock or custom? What Magisk version? Are you booting to TWRP (fastboot boot twrp.img) or did you flash twrp to the device?
Click to expand...
Click to collapse
I did this from a blank slate. Pie, stock, the newest version if Magisk 19.3. I flashed twrp to my device.
Potatochip400 said:
I did this from a blank slate. Pie, stock, the newest version if Magisk 19.3. I flashed twrp to my device.
Click to expand...
Click to collapse
Try clean fastboot flashing the stock boot.img back onto the phone. You can get it from the fastboot factory img. Then just boot TWRP to flash the Magisk zip. The Magisk zip will need to be on the device for the booted TWRP to find it just like if you were running TWRP installed on the device.
An alternative is to use Magisk manager to patch the stock boot.img and then fastboot flash that patched img to the device.
ktmom said:
Try clean fastboot flashing the stock boot.img back onto the phone. You can get it from the fastboot factory img. Then just boot TWRP to flash the Magisk zip. The Magisk zip will need to be on the device for the booted TWRP to find it just like if you were running TWRP installed on the device.
An alternative is to use Magisk manager to patch the stock boot.img and then fastboot flash that patched img to the device.
Click to expand...
Click to collapse
I tried the easiest method first, which was installing the Magik app and flashing the zip, I got the following error,
Device platform: arm64-v8a
copying image to cache
Unpacking boot image
! Unsupported/Unkown image format
! Installation failed
I'll try flashing the stock image, but should I flash twrp again after the image? I've done this before in the past because some phones require it as part of the rooting instructions. Does this order sound right, flash stock image, reboot, flash twrp reboot, then Magisk?
Potatochip400 said:
I did this from a blank slate. Pie, stock, the newest version if Magisk 19.3. I flashed twrp to my device.
Click to expand...
Click to collapse
You must use the latest magisk 19.4.
Sent from my Pixel 3 XL
Eudeferrer said:
You must use the latest magisk 19.4.
Sent from my Pixel 3 XL
Click to expand...
Click to collapse
Just tried the beta version (19.4) and I'm stuck in a standard bootloop. I'll try and get it into recovery.
No worries, I forgot to mention that I restored a back up
Eudeferrer said:
You must use the latest magisk 19.4.
Sent from my Pixel 3 XL
Click to expand...
Click to collapse
Surely not on Pie. I'm using 19.3 on the last Pie.
ktmom said:
Surely not on Pie. I'm using 19.3 on the last Pie.
Click to expand...
Click to collapse
I'm on pie, but your first suggestion was the fix. I had to flash the factory img before doing everything else. I just had to put a little more time a side and not be lazy.

Question Magisk is not installing

The magisk apk, when flashed in TWRP flashes as normal but the app does not show up in the ROM, and the phone doesn't get rooted.
I had this problem on both ArrowOS and Syberia OS now, and I clean flashed both times directly from MIUI.
Can anyone help me out with this?
Install the magisk app
Rename magisk.apk to magisk.zip (only change the last 3 letters) and install it from TWRP-recovery.
zhyylz0201 said:
Install the magisk app
Click to expand...
Click to collapse
I already tried, this happened -
Iceman66 said:
Rename magisk.apk to magisk.zip (only change the last 3 letters) and install it from TWRP-recovery.
Click to expand...
Click to collapse
It didn't work either, when I open magisk app it shows this -
Download Canary version of Magisk (23001) from Github: https://raw.githubusercontent.com/topjohnwu/magisk-files/canary/app-debug.apk
Rename app-debug.apk to app-debug.zip and flash it with TWRP
Iceman66 said:
Download Canary version of Magisk (23001) from Github: https://raw.githubusercontent.com/topjohnwu/magisk-files/canary/app-debug.apk
Rename app-debug.apk to app-debug.zip and flash it with TWRP
Click to expand...
Click to collapse
No change
Other method is patching boot.img with magisk manager. You can find some tutorials with google. Extract the boot.img from ROM.zip, put in on internal memory of your phone and patch it with magisk manager app on your phone.
Than flash the patched boot.img with adb or TWRP. You need an extractor tool to get the boot.img from the rom.zip.
Iceman66 said:
Other method is patching boot.img with magisk manager. You can find some tutorials with google. Extract the boot.img from ROM.zip, put in on internal memory of your phone and patch it with magisk manager app on your phone.
Than flash the patched boot.img with adb or TWRP. You need an extractor tool to get the boot.img from the rom.zip.
Click to expand...
Click to collapse
I am using a custom kernel, will that change the process?
You need to reflash the custom kernel again after flashing the patched boot.img, but first check if your phone is rooted. (check in magisk app or install a root check app.)
The boot backup that I took before I flashed my custom kernel is the one that needs to be patched right?
If this isn't the case, can you guide me on how to get the boot.img? I only see payload.bin in my ROM.zip .
Okay, thank you for your help everyone
I ran into a different problem - when I install the patched boot.img, I get magisk but then I boot into TWRP and flash TWRP and my custom kernel, and I lose my root.
Dhruv.m said:
Okay, thank you for your help everyone
I ran into a different problem - when I install the patched boot.img, I get magisk but then I boot into TWRP and flash TWRP and my custom kernel, and I lose my root.
Click to expand...
Click to collapse
You have to patch the boot IMG with the TWRP already flashed, our phone doesn't have a recovery partition, so it's saved in the boot partition and installing Magisk from TWRP deletes the recovery, here is a good tutorial:
TWRP + Root
Hi all. Hope you are good and safe from Covid-19. If you like TWRP as your recovery and want to keep root access as well, I am going to show you how to do that. Because if you take the stock boot.img and patch it via magisk, you will lose TWRP...
forum.xda-developers.com

Categories

Resources