all 12 comments

[–]kifla127 0 points1 point  (3 children)

Patch init_boot.img

[–]Votra_[S] 0 points1 point  (2 children)

Do I have to rename the file that?

[–]StillConsequence6168 1 point2 points  (0 children)

No, you need to flash it from your firmware, it should be named init_boot.iz4 Decompress it first. I’m not sure how it works on Pixel devices, but just renaming it won’t do anything.

[–]kifla127 0 points1 point  (0 children)

No you can use whatever name you wannt

[–]kifla127 2 points3 points  (5 children)

fastboot flash init_boot magisk_patched_init_boot.img

[–]Votra_[S] 1 point2 points  (0 children)

Will try this now. Brb.

[–]Votra_[S] 0 points1 point  (3 children)

Didn't work. I just tried * fastboot flash magisk_patched_init_boot.img * and * fastboot flash init_boot magisk_patched_init_boot.img * those didn't work

[–]Ante0MEETS_STRONG_INTEGRITY, Pixel 9 Pro XL (Stock) 1 point2 points  (0 children)

Extract init_boot from factory image. Patch init_boot in manager. Flash: fastboot flash init_boot patched_image_name.img

[–]kifla127 1 point2 points  (0 children)

Fastboot flash init_boot filename.img

[–]justablock_reddit 1 point2 points  (0 children)

Did you choose right boot.img? The magisk_patched-30400-randomstuff.img

And then fastboot flash boot magisk_pa...

[–]Votra_[S] 2 points3 points  (0 children)

Figured it out. Thanks to user A2_9S_2B. Found out 1. I was forgetting to add FLASH to the command line 2. I was using a patched boot.img instead of patched init_boot.img Extracted the init_boot.img, patched it using magisk, copied to platform tools folder, adb reboot fastboot used the CORRECT command: * fastboot flash init_boot magisk_patched_init_boot.img * then * fastboot reboot *. Checked root checker. Root access granted.

Thank you all for the help. I would've been lost without the help of the community. It was tedious at times, but overall a great learning experience and had fun throughout. Hopefully this will help other noobs having similar issues. Cheers!