Why Magisk Modify boot.img - Google Pixel 2 XL Guides, News, & Discussion

When rooting pixel 2xl via magisk manager (not with twrp recovery) but by installing magisk manger then patching the boot.img (factory boot.img) and at last flashing boot.img
What changes does magisk do in stock boot.img, that after patching or modifying the stock boot.img our device is rooted.

Related

How to get Magisk's rooting working?

Not having much luck with this guide. I came from a PureNexus rom/ElementalX rom before flashing the factory Nougat. Tried following the guide step by step, but the Magisk toggle doesn't do anything for me.
Did you used supersu or phh superuser?
Try again, flashing stock system and boot images in fastboot then follow the guide.
What I did was factory reset, then fastboot flash everything except userdata (there's a guide in here) from M to latest N NRD90U,
Then fastboot flash twrp
Then rebooted to twrp
Flash magisk
Flash phh superuser magisk version
Booted phone
Downloaded phh superuser app from playstore
Installed magisk manager APK
Granted root, then I was able to unroot/root with the toggle
*later I flashed custom kernel but I first flashed stock boot.img then EX kernel, then magisk. As per instructions in magisk thread
Sent from my Nexus 6P

Boot.img messed up (i think)

I flashed magMa ux 8.5 rom for my n900t and i saw the Magisk systemless root and i got intrested! So i installed Magisk v12 with SuperSU but i found there was conflict with it so i wanted Magisk v12 with MagiskSU!
I tried dirty flashing the Magisk v12 + MagiskSU over the Magisk V12 + SuperSU! Which caused (im guessing here) caused my boot.img to get corrupted or damaged because it installs into ramdisk!
I tried a nandroid back to my old rom which, worked, wiped in twrp to reflash the rom, which also worked, but installing the magisk to the ramdisk and what it does ends up failing!
I can still boot into my system with root but it causes some conflicts with apps, such as snapchat as it thinks i have magisk still but i only have supersu! And i cannot full unroot from SuperSU app because, i think the boot.img is corrupted!
Would flashing a stock boot.img fix my problems, then reflashing rom again? Or would i have to reflash the whole stock samsung rom and things?
Im on Note 3 N900T! If reflashing the boot.img would work could someone provide a link to download the N900T!!! boot.img?
Thanks
What you call boot.img is the kernel.
Stock kernel won't work with a MM port like magma.
I advise you to do a full wipe from twrp then flash magma.
Before that, refer to the rom's thread for extensive informations about Magisk and systemless root.

Install Magisk without TWRP or root

Hello,
It's possible to install Magisk without TWRP or root? I see this thread:
https://www.xda-developers.com/how-to-unlock-bootloader-and-root-the-google-pixel-2-and-pixel-2-xl/
It's possible to root the Google Pixel 2 without TWRP and root by patching boot image. It's possible with the Mi A1? Thank you.
We7dy said:
Hello,
It's possible to install Magisk without TWRP or root? I see this thread:
https://www.xda-developers.com/how-to-unlock-bootloader-and-root-the-google-pixel-2-and-pixel-2-xl/
It's possible to root the Google Pixel 2 without TWRP and root by patching boot image. It's possible with the Mi A1? Thank you.
Click to expand...
Click to collapse
Starting from 14.4, yes it is possible to install magisk without twrp. BUT you'll still need a computer and a stock boot.img at hand. Magisk manager app will patch the boot.img and put the patched img inside the magisk manager folder. You'll then need to copy the patched img and flash it to your boot partition (boot_a or boot_b depending on your active slot).
Note that 14 oct boot image from the factory image is incompatible with 30oct updated system, you'll lose wifi.
After flashing, you'll have root and magisk set up.
Instructions are basically the same as the pixel 2,but change your fastboot command to flash boot_a or boot_b.

DP2 Q Beta (T-Mobile) with magisk looking for patched twrp

Hi I got DP2 to run on T-Mobile with magisk by patching the boot.img with magisk manager and after flashing images and formatting. I was wondering if anyone had a patched boot with twrp. I guess the recovery is inside the boot img for dp2 and maybe even dp3 I was hoping someone could share it I'll patch it again with magisk manager and make a shared backup so others could try and maybe get dp3 to work ,I've tried, thought I got it , and failed.
But yeah thanks for the time
On stable version I used 9.0.11
Unpack the dp2 zip and flash the system.img, vendor.img, and boot.img using twrp
format the system, vendor, boot
Reboot bootloader and flash the vbmeta
fastboot flash vbmeta vbmeta.img
Once boot download magisk and upload same boot.img to phone and patch using magisk manager

Help with installing TWRP on Open Beta 3 for 6T

I lost TWRP a while ago. But I have been able to root by extracting the boot.img from payload.bin and patch it and flash it and all is good. How do I get TWRP back? I have tried the latest TWRP and no dice. Any help?
shatty said:
I lost TWRP a while ago. But I have been able to root by extracting the boot.img from payload.bin and patch it and flash it and all is good. How do I get TWRP back? I have tried the latest TWRP and no dice. Any help?
Click to expand...
Click to collapse
I did it by flashing the TWRP installer (zip) from Magisk Manager as a module, then booting into TWRP and reinstalling Magisk from there.

Categories

Resources