Cannot flash Magisk properly - General Questions and Answers

Hi, I am trying to flash magisk. I patched my boot.img and flashed it via fastboot. But it didn't work, Magisk app was still showing as not installed. Then, I tried the Recovery method (flashing the magisk zip), it tells that magisk patched to the boot.img file but this method didn't work too. But it said magisk patched to the boot.img. What can cause it?
My rom: Xiaomi.eu 21.12.8, Android 12
My device: Xiaomi Mi 10T (apollo)

CaganAgabey said:
Hi, I am trying to flash magisk. I patched my boot.img and flashed it via fastboot. But it didn't work, Magisk app was still showing as not installed. Then, I tried the Recovery method (flashing the magisk zip), it tells that magisk patched to the boot.img file but this method didn't work too. But it said magisk patched to the boot.img. What can cause it?
My rom: Xiaomi.eu 21.12.8, Android 12
My device: Xiaomi Mi 10T (apollo)
Click to expand...
Click to collapse
Flashing the Magisk patched boot.img only installs the necessary binaries to gain root access, you have to manually install the Magisk Manager app to take advantage of the binaries that it installs. Flashing the patched boot.img does not automatically install the Magisk app on your device as part of the flashing process.

Related

Great News!

Magisk Root now Works on Nokia 3 Device! You can flash it on Twrp recovery, and no errors comes up! (Like software update stopped working and cust manager) it requires stock boot image.
Link https://www.mediafire.com/folder/n2dmcnfjl7mz88h,4771ez9ddvccuim
In link, there is Magisk and Boot.img
RootingPro-18 said:
Magisk Root now Works on Nokia 3 Device! You can flash it on Twrp recovery, and no errors comes up! (Like software update stopped working and cust manager) it requires stock boot image.
Link https://www.mediafire.com/folder/n2dmcnfjl7mz88h,4771ez9ddvccuim
In link, there is Magisk and Boot.img
Click to expand...
Click to collapse
this is modified boot.img to work with magisk without errors, right? How to do this for SuperSU
SkaboXD said:
this is modified boot.img to work with magisk without errors, right? How to do this for SuperSU
Click to expand...
Click to collapse
No, this is clean boot img. Magisk you have to flash by yourself

Unable to Install/Flash Magisk Modules

Hey all,
I am rooted with Magisk 17.3 on global hardware and global ROM stock MIUI 10.2.2.0, but I cannot install any Magisk modules or flash Magisk ZIPs in TWRP. I know root works because I've edited system files and allowed a few apps root permissions. But when I try to install something with Magisk Manager (6.1.0 since 7.0.0 doesn't work < v18) I get this error: /data/adb/magisk_merge.img mount failed... abort or it tells me Magisk 17.x+ isn't installed. (I've tried the Magisk Mod Uninstaller, Youtube Vanced, and LKT). When I try to flash a Magisk ZIP in TWRP it gives me Error: 1
I did some searching and some people were getting this due to their filesystem being formatted as f2fs in the past, but I verified that the Mi Mix 3 uses EXT4 using DiskInfo.
Did I miss something during the rooting process? I unlocked the bootloader, flashed TWRP in fastboot, flashed Magisk 17.3 in TWRP, and verified root was achieved with Rootchecker. The Magisk Manager app also says it's installed and passes SafetyNet. Anyone have any ideas?
Do you use a custom kernel?
Try the latest Magisk canary build and see if that works
JetzNicht said:
Do you use a custom kernel?
Try the latest Magisk canary build and see if that works
Click to expand...
Click to collapse
No it is the stock kernel that came with the MIUI 10.2.2.0 global build. Should I be using one?
Quick update: I am able to install some modules now by downloading them in Magisk, then booting to TWRP and flashing the ZIP there. I was able to get Magisk Mod Uninstaller (mm) and LKT to run for example using this method. YouTube Vanced still gives me the Error: 1 when I do this however.
The try a custom kernel, had the same problems with any modifications to the system with stock kernel.
As far as I know there are only two kernels atm, friendly fire and androplus.

Suggestion on installing OOS v9.5.4 on GM1917-GM21AA

Seems I am not finding a definitive guide to flash OTA or full OOS v9.5.4 on GM1917-GM21AA
Current setup:
OOS v9.5.3, rooted with Magisk patched boot, Magisk app and TWRP "non-decrypt"
Plan for upgrade to v9.5.4:
Place all files on USB OTG, TWRP zip, Magish v19.2, Magisk un-installer v2.0, OTA v9.5.4 182mb/Full 1.99gb "in case"
Boot to TWRP, access OTG, flash Magisk un-installer
Flash OTA v9.5.4
Flash TWPR zip, reboot TWRP
Flash Magisk v19.2
Am I on the right track? Am I missing some steps?
I want to minimize any bootloop scenario.
Tx guys.

Lost root after installing TWRP. Can anyone share patched boot image for 11.0.5.1.GM21AA?

As above, I would appreciate it if someone could share a copy of a Magisk patched 11.0.5.1.GM21AA boot image. Thanks!
P.S. - Do not update to Magisk 24 or 24.1 unless you want to have to mess around with your phone!
Here you go.
Patched with 24.1 Magisk. Rom Zip downloaded from here
[OnePlus 7 Pro (5G)][ROM][OTA][Oxygen OS] Repo of Oxygen OS Builds
As OnePlus doesn't always provide download links for all of their OxygenOS ROMs & OTA update zips, we've created an index to put the links in one post so that they're easy to find. Note: this is not a support thread for issues you may have with...
forum.xda-developers.com
File on MEGA
mega.nz
I also had problems with updating Magisk trough the app. No root after reboot.
Could not get root access with flashing magisk in twrp. I tried several version of magisk but nothing worked. Ended up using the patched boot.img
Dont know what the problem is.
Dan3ll1 said:
Here you go.
Patched with 24.1 Magisk. Rom Zip downloaded from here
[OnePlus 7 Pro (5G)][ROM][OTA][Oxygen OS] Repo of Oxygen OS Builds
As OnePlus doesn't always provide download links for all of their OxygenOS ROMs & OTA update zips, we've created an index to put the links in one post so that they're easy to find. Note: this is not a support thread for issues you may have with...
forum.xda-developers.com
File on MEGA
mega.nz
I also had problems with updating Magisk trough the app. No root after reboot.
Could not get root access with flashing magisk in twrp. I tried several version of magisk but nothing worked. Ended up using the patched boot.img
Dont know what the problem is.
Click to expand...
Click to collapse
Thanks a lot!
I managed to get Magisk 23 installed, would the patched boot image be different from yours?
benengyj said:
Thanks a lot!
I managed to get Magisk 23 installed, would the patched boot image be different from yours?
Click to expand...
Click to collapse
How did you do??
I tried to downgrade Magisk to 23.0 due to the lack of Magisk Hide but now my OnePlus 7 Pro is no longer rooted. So I tried to re-root it in several ways (flashing boot.img previously patched with Magisk Manager or by directly installing Magisk.zip with TWRP) but nothing to do, still without root...
I would like to try to use another boot.img but I would need one taken from a rom 11.0.5.1.GM21BA and patched with Magisk 23. I can't find it on the net.
Frodolo said:
How did you do??
I tried to downgrade Magisk to 23.0 due to the lack of Magisk Hide but now my OnePlus 7 Pro is no longer rooted. So I tried to re-root it in several ways (flashing boot.img previously patched with Magisk Manager or by directly installing Magisk.zip with TWRP) but nothing to do, still without root...
I would like to try to use another boot.img but I would need one taken from a rom 11.0.5.1.GM21BA and patched with Magisk 23. I can't find it on the net.
Click to expand...
Click to collapse
Once you've upgraded to 24 or 24.1 it seems that the only way to go back to an older version is to use the built-in uninstall button in the Magisk app. Just trying to flash a new boot image over it doesn't seem to stick.
In my case, I had to:
Uninstall any version of the Magisk app
Install 24.1
Extract the boot image using Payload Dumper
Creating a 24.1 patched boot image to re-root my device
Uninstalling 24.1 using the uninstall button in the Magisk app
Install Canary Magisk (23 should work too)
Create a new 23 patched boot image and root using it
Still have not gotten around to fixing my MagiskHide and SafetyNet failing though, I think that requires some cache clearing and other steps to resolve. Also somehow managed to get rid of my TWRP accidentally along the way too, so I'll have to reinstall that again.
Thanks a lot!
benengyj said:
Uninstalling 24.1 using the uninstall button in the Magisk app
Click to expand...
Click to collapse
I only see an "Install" button in the Magisk 24.1 app. I don't see an "Uninstall" button.
Were you already rooted when you saw the Uninstall button?
¿GotJazz? said:
I only see an "Install" button in the Magisk 24.1 app. I don't see an "Uninstall" button.
Were you already rooted when you saw the Uninstall button?
Click to expand...
Click to collapse
See steps 1-4. You have to temporarily root it by flashing a patched boot image (that was patched with 24.1) so that you can use the root privileges to uninstall Magisk. It's kinda ass-backwards I know...lol
benengyj said:
See steps 1-4. You have to temporarily root it by flashing a patched boot image (that was patched with 24.1) so that you can use the root privileges to uninstall Magisk. It's kinda ass-backwards I know...lol
Click to expand...
Click to collapse
Yep, that's weird. I was having (a ton of) trouble getting my phone rooted at the time, so that's why I didn't see it.

General Magisk 25.1 stable is out

Just updated from 24.3 to 25.1, everything seems fine.
First update of the manager, no problem. In manager tried to update magisk from 24.3 to 25.1. No errors in the log, but my phone (Mi9T Pro) didn't get past the Miui logo. Flashed 24.3 in Recovery again.
Any thoughts on how to update?
Edit: Solved. Dowloaded zip and flashed in recovery. All's well.
I have problem - I followed guide (https://www.xda-developers.com/how-to-install-magisk/)
On my Xiaomi A2 (jasmine_sprout) I've extracted boot.img, patched with app and flashed boot from PC and after reboot I have Magisk app version 1.0. After running it it want's to upgrade but after downloading and confirming upgrade it upgrades, icon is changed to magisk app and then it is fall backed to basic version 1.0. Tried to adb install v25.1 from pc and it says:
adb: failed to install Magisk-25.1(25100).apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.topjohnwu.magisk signatures do not match previously installed version; ignoring!]
After manual unistalling remaining v1.0 new can be installed but when executed it is auto degraded to version 1.0
Could somebody give me a clue what happened?
d3im said:
extracted boot.img, patched with app
Click to expand...
Click to collapse
Did you use magisk 25.1 to patch boot.img? And are you on Android 12?
I'm on android 11 And I've used magisk version 25.1 to patch boot.img
If you have twrp, try flash magisk in twrp.
donkeyman1234 said:
Just updated from 24.3 to 25.1, everything seems fine.
Click to expand...
Click to collapse
Same here
OK, just flashed new custom ROM (Android 12.1), then Magisk 25.1 zip via twrp and finally Magisk apk app and it just works fine
Glad it works.

Categories

Resources