• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[DEV] [Magisk] Official Pixel (XL) Support is Here!

Search This thread

ThePublisher

Senior Member
Apr 4, 2013
245
37
North Carolina
Trying to take the latest XL OTA security update 54.6mb. Updated magisk to 15.3, fine. Uninstall --> Restore Images, complete OK. Take OTA, makes it about 10% into step one and says install failed. Does anyone know anything?
 
Last edited:

gverma1

Senior Member
Feb 7, 2012
871
270
New Delhi
I had a query about installing Xposed via Magisk Manager vis-a-vis installing it directly from rovo89's thread. What are the advantages? I believe even if you install Xposed via Magisk Manager, safetynet will break.
 

ThePublisher

Senior Member
Apr 4, 2013
245
37
North Carolina
Trying to take the latest XL OTA security update 54.6mb. Updated magisk to 15.3, fine. Uninstall --> Restore Images, complete OK. Take OTA, makes it about 10% into step one and says install failed. Does anyone know anything?

So does anyone have any thoughts? I know the 'support' in the title of this thread means for our device supporting Magisk and all, but there has to be someone who knows how to take an OTA, on the stock rom that is rooted with Magisk and not lose root/Magisk. Anyone?
 
Last edited:

admiralspeedy

Senior Member
Dec 22, 2011
308
132
Google Nexus 4
Nexus 7
Are any of the 15.x versions working?

So I just did a clean install of my own Lineage 14.1 build and Magisk 15.3 (and the latest beta) do not work. I flash it, it's successful, I reboot and there is no Magisk Manager, and if I install it myself, when I open it, it just hangs on the Magisk icon forever. I uninstalled Magisk 15 and installed a copy of 14.2 I had and it works fine, so I tried updating through the app, which actually worked briefly and showed 15.3 being installed, but all of the options for MagiskSU and stuff were gone, and after another reboot Magisk Manager just hangs again.

So no, I can't get 15 working at all.
 

carnagecjb

Senior Member
Jul 19, 2007
206
37
Lexington, KY
I've not been able to get the OTA update to work at all, ever. I've been following the procedure here:
https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#ota-installation-tips
But every single time something goes wrong. The update seems to proceed normally, and succeed. But when rebooting, it boot cycles a few times, then boots into what I'm guessing is the original un-upgraded slot, and I get a message that the system update couldn't be installed.

I've tried doing a complete wipe and install multiple times, with no luck...
 

DR3W5K1

Senior Member
Aug 25, 2012
654
322
I've not been able to get the OTA update to work at all, ever. I've been following the procedure here:
https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#ota-installation-tips
But every single time something goes wrong. The update seems to proceed normally, and succeed. But when rebooting, it boot cycles a few times, then boots into what I'm guessing is the original un-upgraded slot, and I get a message that the system update couldn't be installed.

I've tried doing a complete wipe and install multiple times, with no luck...

Might want to make sure you have the original host file and build prop
 

khaytsus

Senior Member
Apr 8, 2008
7,263
1,176
Central Kentucky
It broke twrp 3.2.1-0 encryption, you have to remove pin/finger print to use twrp.

That's been that way since at least January, you can just boot twrp and sideload Magisk to get around that. But again, that was true for the Jan build.

---------- Post added at 07:47 PM ---------- Previous post was at 07:47 PM ----------

Nope.
Boot TWRP to install Magisk, but don't install TWRP or make the system writable or anything like that...

Sup Lexbro ;)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 59
    Greetings!
    The latest beta (v14.1) of Magisk just dropped (Magisk Beta Thread), which is the first release to officially support Pixel (XL).
    Before I spend more time investigating TWRP and Magisk combination, please refrain from flashing Magisk through TWRP installed in your boot image (because Magisk cannot get a 100% stock boot backup)

    The recommended way to install Magisk on Pixel (XL) are
    • Fastboot boot this TWRP Image, and flash the Magisk zip
    • Get a stock boot image (download the full factory image here), and patch via Magisk Manager, then flash the patched boot by fastboot
    Once you got over the ""initial pain" and get Magisk installed with proper stock boot image backup, it is very easy to migrate Magisk across OTA updates on Pixel devices.

    This thread is not a support thread, all bug reports should be in the Magisk Beta Thread, discussions should be in Magisk General Discussions

    ------------------------------------------------------------------------------------------------
    The followings are for Pixel (XL) developers:

    I've written some descriptions on how Magisk works on Pixel devices in my Release Notes for v14.1.
    You can directly check MagiskInit's code here. The code is fairly simple so you should get the idea.
    However, I'm still fairly new to Pixel development, and I'm not sure how current custom roms and custom kernels workaround the skip_initramfs thing. Instead of trying all custom roms and custom kernels out, I think it would be easier for me to just open a thread and ask :p
    I would like to have some insight from developers whether my Magisk solution can work well with current Pixel development projects. Since all my work is open source, if you have some suggestions to improve my work, please tell me and I'll be really grateful.
    8
    How did you flashed them what is your Order ?

    Stock Boot img , TWRP , MagisK , reboot .

    Back to recovery

    ElementalX , TWRP , MagisK , reboot.

    Done.
    4
    Works fine here " Android 8.0 "


    ElementalX + Magisk 14.1 + Twrp 3.1.1-0 ( Twrp Sticks ) Root also works.
    4
    Definitely doesn't apply to official Twrp 3.1.1

    Yeah I think you're correct. When I first went to install everything I had to flash TWRP 1... Then reboot, then 2, then flash the Rom. It was a mess.

    I just installed Magisk 14.2 and all I did was reboot into recovery, flash 3.1-1 and then flash Magisk14-2.zip and rebooted. Worked flawless.
    2
    thanks for the link but i tried that too and apk doesnt seem to install.

    The apk for Magisk Manager is in the flashable zip file, but the apk doesn't install when flashing Magisk, by design. You need to extract the apk from the zip file and install it; I installed it using the ES File Explorer app without any issues. When you open the zip file, the apk is in the "common" folder with a name of "magisk.apk".

    ---------- Post added at 02:29 PM ---------- Previous post was at 01:45 PM ----------

    @topjohnwu : Thank you for all of your hard work. I installed Magisk 14.2 successfully. SafetyNet check passes. I'm open up Android Pay. After adding it to Magisk Hide, I was able to open and use my banking app.

    Here are my steps (all steps where a computer was needed, a Windows 7 PC was used):
    1. Downloaded and flashed Android 8.0.0 (OPR3.170623.007, Sep 2017).
    2. Went through first time setup.
    3. Installed ES File Explorer.
    4. On a PC, downloaded Magisk 14.2 flashable zip and osm0sis' latest Busybox Installer.
    5. On a PC, extracted Magisk Manager APK from Magisk 14.2 flashable zip (located in the "common" folder, with a name of "magisk.apk")
    6. On a PC, copied Magisk 14.2 flashable zip, magisk.apk, and osm0sis' Busybox installer to the Pixel XL.
    7. Rebooted Pixel XL to Download/fastboot mode
    8. Booted the appropriate TWRP image
    9. Flashed osm0sis' Busybox Installer.
    10. Flashed Magisk 14.2.
    11. Rebooted to System.
    12. Opened ES File Explorer.
    13. Enabled Root Explorer in ES File Explorer and granted it root permissions, when prompted.
    14. Browsed to where magisk.apk was stored.
    15. Opened magisk.apk and chose Install, where a prompt about installing from unknown sources popped up.
    16. Went to Settings and gave ES File Explorer permission to install from unknown sources.
    17. Back in ES File Explorer, installed magisk.apk.

    After that, I opened up Magisk Manager. I did a SafetyNet check, and it passed. Lastly, I went to Magisk Hide and checked the boxes of the apps that need root hidden.