Updating Magisk to 20.1 fails - Google Pixel 4 XL Questions & Answers

i get the message unable to detect target image. I am already rooted with 20.0 installed

I had the same error message. Just download the v20.1 zip file via Magisk and flash it via EXKM or FKM. It worked for me ??

For what it's worth, I clicked on the update link for both the Magisk Manager and Magisk and both updated without an issues. I don't know if this is relevant, but when I originally installed the Patched Magsik Image to get root the first time, I flashed directly to the A and B Partition. (In other words, I flashed it twice) I don't know if this matters but I thought I would mention it.....

What you mean " EXKM or FKM " Please full name :angel:

DinarQ8 said:
What you mean " EXKM or FKM " Please full name :angel:
Click to expand...
Click to collapse
Ex kernel manager, and Franco kernel manager. Both in the play store :good:

I'm encountering the same issue. I'd rather not pay for external tools to upgrade. I have a Pixel4 and installed via "Select and patch a file". What's the process for an upgrade in this scenario? Is "Direct Install" supposed to work?

Marshall McMullen said:
I'm encountering the same issue. I'd rather not pay for external tools to upgrade. I have a Pixel4 and installed via "Select and patch a file". What's the process for an upgrade in this scenario? Is "Direct Install" supposed to work?
Click to expand...
Click to collapse
Direct install usually does work. However, if it doesn't, and you don't want to use a kernel manager, then just patch your boot.img and fastboot it to both slots :good:

Related

Magic v11 installation question

Hi, do i need install systemless SuperSU always in twrp before install magisk v11 if I want use new MagiskSU instead??
If I try install Magisk v11 with superSU uninstalled and phone unrooted TWRP give me error and installation fails and if I install superSU and after Magisk v11, Magisk manager say system is using SuperSU instead MagiskSU. How do I install Magisk with MagiskSU??
I have Samsung Galaxy S4 with optimized LineageOS 14.1
Read the pinned Magisk thread...
Unroot again using unSu by osm0sis (Google) before flashing magisk
Installation Instructions
If you're already rooted with MagiskSU, Magisk phh's superuser (not original), or Official Systemless SuperSU
Install/upgrade Magisk Manager from Play Store
Install/upgrade Magisk as prompted in the application
Reboot and you're done!!
If you're not rooted, or something went wrong and you need a clean start
(Recommended) Restore your boot image back to stock
Download the latest Magisk zip file
If you choose to use SuperSU (only support Android 6.0+), first flash SuperSU in systemless mode
Flash Magisk zip
Reboot, and update the stub Magisk Manager to the latest from Play Store
Click to expand...
Click to collapse
I read 200 times but when I install Magisk without SuperSU (because I want MagiskSU) TWRP give me an error and install fail... read my initial post first please....
Error:
Code:
! SU image mount failed...
! Please immediately flash SuperSU now
! Installation will complete after flashing SuperSU
[B]Updater process ended with ERROR: 1
Error installing zip file 'sdcard/Download/Magisk v11.1/Magisk-v11.1.zip[/B]
dhaern said:
I read 200 times but when I install Magisk without SuperSU (because I want MagiskSU) TWRP give me an error and install fail... read my initial post first please....
Error:
Click to expand...
Click to collapse
You need to FULLY unflash superSU using the zip that the other person told you to google.
PartyPlease said:
You need to FULLY unflash superSU using the zip that the other person told you to google.
Click to expand...
Click to collapse
Ok I will try unflash with the zip, I was using unroot inside superSU menu but installation instructions dont say nothing about the unflash with an extrenal script
dhaern said:
Ok I will try unflash with the zip, I was using unroot inside superSU menu.
Click to expand...
Click to collapse
Yeah that button doesn't work for systemless superSU. It doesn't roll back your boot.IMG like it should.
Worst case scenario, flash the stock boot.img and then flash magisk.
Thanks guys, I installed Magisk v11.1 with MagiskSU working, Magisk Hide enabled but I have CTS mismatch error now in Safetynet test. I guess I cant do nothing about this error. Optimized LineageOS 14.1 and Samsung Galaxy S4
EDIT: Finally I passed the Safetynet test (no CTS mismatch error) disabling ADB interface in developer options. Thanks for Magisk, amazing.
PartyPlease said:
Yeah that button doesn't work for systemless superSU. It doesn't roll back your boot.IMG like it should.
Worst case scenario, flash the stock boot.img and then flash magisk.
Click to expand...
Click to collapse
ahh, this would explain why my boot.img was not the same after "unrooting"! thanks for clearing this up for me...
dhaern said:
Thanks guys, I installed Magisk v11.1 with MagiskSU working, Magisk Hide enabled but I have CTS mismatch error now in Safetynet test. I guess I cant do nothing about this error. Optimized LineageOS 14.1 and Samsung Galaxy S4
EDIT: Finally I passed the Safetynet test (no CTS mismatch error) disabling ADB interface in developer options. Thanks for Magisk, amazing.
Click to expand...
Click to collapse
By disabling ADB interface, do you mean the USB debugging part? for some reason I am still getting Safetynet error.
vicky_ag said:
By disabling ADB interface, do you mean the USB debugging part? for some reason I am still getting Safetynet error.
Click to expand...
Click to collapse
Yeah I said USB debugging option, when I disabled this I passed Safetynet test.
dhaern said:
Yeah I said USB debugging option, when I disabled this I passed Safetynet test.
Click to expand...
Click to collapse
Thanks but doesn't seem to work for me.
dhaern said:
Yeah I said USB debugging option, when I disabled this I passed Safetynet test.
Click to expand...
Click to collapse
Thanks for this hint; got my build "passed" now appreciate it
What settings are you guys using in Magisk? I have disabled BusyBox, enabled Magisk Hide and systemless hosts. Superuser options are Access to "Apps and ADB" and Automatic Response set to prompt
I'm still having an issue installing Magisk on my phone with RAMROM V10. It gives me an ERROR 1.
It has been suggested that I should re-flash my boot.img with TWRP following the instruction:
Place your BOOT.img on your sdcard
Reboot into TWRP recovery
Tap "Install"
In the bottom right corner tap "Install Image"
Select your BOOT.img
Select the Boot Partition, then swipe to confirm Flash
However, when I follow the step, my TWRP cannot seem to find BOOT.IMG in my SD Card (I know it is there). What did I do wrong? Can anyone help?
i think the .img thingy is only for twrp.img files. You have to use another method to place your boot image like. -> make a backup of only your boot image via twrp backup function. Then duplicate that backup folder of twrp containing only the newly just regernated files, in the twrp folder. Then replace the su-modified boot file there with your original boot file, you obviously have to rename your boot image to fit the right name. (eg. with the logo image -> logo.bin changes to logo.emmc.win -> etc;.) Then use the twrp restore function to restore your "original" boot logo.
Hierarchy folder view would be like:
TWRP->folder 1 (original folder, in case something goes wrong)-> boot file and others
->folder 2 (our modified folder)-> files
sm00th4f3 said:
i think the .img thingy is only for twrp.img files. You have to use another method to place your boot image like. -> make a backup of only your boot image via twrp backup function. Then duplicate that backup folder of twrp containing only the newly just regernated files, in the twrp folder. Then replace the su-modified boot file there with your original boot file, you obviously have to rename your boot image to fit the right name. (eg. with the logo image -> logo.bin changes to logo.emmc.win -> etc;.) Then use the twrp restore function to restore your "original" boot logo.
Hierarchy folder view would be like:
TWRP->folder 1 (original folder, in case something goes wrong)-> boot file and others
->folder 2 (our modified folder)-> files
Click to expand...
Click to collapse
FIY: Flashing regular boot.img files works just fine with "Install Image" in TWRP (of course, YMMV, depending on your device).

Magisk installed, "error to extract zip" while installing module/How to Xpost?

Magisk installed, "error to extract zip" while installing module/How to Xpost?
I rootet my device by the instruction from @ChinHon with magisk (thanks for that thread btw) and running latest Stock Rom.
I updated magisk to v14 and magisk manager to 5.3.
Now i have the problem that everytime i try to install a module there's a error.
I wanted to install the Xposed module and Viper4Android module.
Both after downloading and installing (looks like i would flash a file via TWRP) while installation process the command line says "unable to extract archive".
How to fix that? and is therr maybe an other way to install Xposed on this phone?
AmySakuraChan said:
I rootet my device by the instruction from @ChinHon with magisk (thanks for that thread btw) and running latest Stock Rom.
I updated magisk to v14 and magisk manager to 5.3.
Now i have the problem that everytime i try to install a module there's a error.
I wanted to install the Xposed module and Viper4Android module.
Both after downloading and installing (looks like i would flash a file via TWRP) while installation process the command line says "unable to extract archive".
How to fix that? and is therr maybe an other way to install Xposed on this phone?
Click to expand...
Click to collapse
Do you install xposed systemless?For me work
Adi5 said:
Do you install xposed systemless?For me work
Click to expand...
Click to collapse
i tried nut it failed. but i got the problem: i had to use the magisk manager verdion from how to root thread insteaf of updated magisk manager.
AmySakuraChan said:
i tried nut it failed. but i got the problem: i had to use the magisk manager verdion from how to root thread insteaf of updated magisk manager.
Click to expand...
Click to collapse
Install zip magisk 14.0 in twrp,works on b610
Later flash xposed systemless 87.3
Reboot
(Phone boots 10 minuts for me)
This error happens when there is no magisk directory on your phone;
i dont remeber the correct name of the directory, so let magisk creates that for u.
Open magisk and click dowwnload (only download zip) from the app (it will create the directory and thendownload magisk.zip).
So u have the directory now, everithing should work
Problem Exists
haget83 said:
This error happens when there is no magisk directory on your phone;
i dont remeber the correct name of the directory, so let magisk creates that for u.
Open magisk and click dowwnload (only download zip) from the app (it will create the directory and thendownload magisk.zip).
So u have the directory now, everithing should work
Click to expand...
Click to collapse
I tried that, created the directory/folder but the problem exists.
"
Unzipping files...
! Unable to extract zip file !
Failed!
! Installation failed
"
Delete
tanmoyd007 said:
I tried that, created the directory/folder but the problem exists.
"
Unzipping files...
! Unable to extract zip file !
Failed!
! Installation failed
"
Click to expand...
Click to collapse
I have the same problem, some solution?

I can't install Magisk v14

after reformatting my device and flashing stock rom through twrp, i went and download the zip file with magisk manager latest version and then i fully unroot my device with full unroot of supersu. after i rebooted to twrp, i installed magisk v14 zip and this is what it tells me after i flashed it.
Installing '/sdcard/Magisk-v14.0.zip...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
************************
* Magisk v14.0 Installer
************************
- Mounting /system, /vendor, /cache, /data
- Device platform: arm
- Constructing environment
! Unable to detect boot image
- Unmounting partitions
E: Error executing updater binary in zip ' /sdcard/Magisk-v14.0.zip'
Error flashing zip ' /sdcard/Magisk-v14.0.zip'
Updating partition details...
...done
i have few questions.
1. unable to detect boot image. what do you mean by that? where can i get this boot image?
2. what's that updater binary in the zip file?
what can i do to be able to use magisk? thank you in advance
my device is oppo neo 7 android 5.1
The boot image is a part of your device's software. It's what Magisk modifies to do it's thing. If the installer can't recognise it, there's not much you can do... Except providing logs, that is.
The update binary is a part of the installer. It's the script that modifies the boot image to install Magisk on your device.
When you have these kind of errors, save the recovery log after flashing the zip (Advanced -> Copy Log) and post that (attach it or use Pastebin or similar, don't copy it directly to the post). It's so much easier to troubleshoot with proper logs.
First thing you can try is to use the latest beta and see if that works.
Didgeridoohan said:
The boot image is a part of your device's software. It's what Magisk modifies to do it's thing. If the installer can't recognise it, there's not much you can do... Except providing logs, that is.
The update binary is a part of the installer. It's the script that modifies the boot image to install Magisk on your device.
When you have these kind of errors, save the recovery log after flashing the zip (Advanced -> Copy Log) and post that (attach it or use Pastebin or similar, don't copy it directly to the post). It's so much easier to troubleshoot with proper logs.
First thing you can try is to use the latest beta and see if that works.
Click to expand...
Click to collapse
i got the log, how do i upload it here? im only using android browser.
so itried to install magisk v14 and it didnt detect bootimg but v14.5 did detect but still failed to install.
rajoholic said:
i got the log, how do i upload it here? im only using android browser.
so itried to install magisk v14 and it didnt detect bootimg but v14.5 did detect but still failed to install.
Click to expand...
Click to collapse
I guess you can't attach a file, being so new... You can upload it somewhere and provide the link or use Pastebin and provide the link/id for it.
Didgeridoohan said:
I guess you can't attach a file, being so new... You can upload it somewhere and provide the link or use Pastebin and provide the link/id for it.
Click to expand...
Click to collapse
https://dropmb.com/download/aca1616df3f0d913cb70d1f88176d9d4.html
here it is. thanks for the help
I m also facing same problem
rajoholic said:
after reformatting my device and flashing stock rom through twrp, i went and download the zip file with magisk manager latest version and then i fully unroot my device with full unroot of supersu. after i rebooted to twrp, i installed magisk v14 zip and this is what it tells me after i flashed it.
Installing '/sdcard/Magisk-v14.0.zip...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
************************
* Magisk v14.0 Installer
************************
- Mounting /system, /vendor, /cache, /data
- Device platform: arm
- Constructing environment
! Unable to detect boot image
- Unmounting partitions
E: Error executing updater binary in zip ' /sdcard/Magisk-v14.0.zip'
Error flashing zip ' /sdcard/Magisk-v14.0.zip'
Updating partition details...
...done
i have few questions.
1. unable to detect boot image. what do you mean by that? where can i get this boot image?
2. what's that updater binary in the zip file?
what can i do to be able to use magisk? thank you in advance
my device is Micromax canvas nitro a310 current android version is cyanogen mode 13
Click to expand...
Click to collapse
rajoholic said:
https://dropmb.com/download/aca1616df3f0d913cb70d1f88176d9d4.html
here it is. thanks for the help
Click to expand...
Click to collapse
That was a bit of a shady file sharing site. Anyway...
Your installed TWRP is pretty old. That might have something to do about it. Update TWRP, or you could try letting the Magisk Manager patch the boot image and then flash the patched image with TWRP. Installation instructions in the release thread.
Didgeridoohan said:
That was a bit of a shady file sharing site. Anyway...
Your installed TWRP is pretty old. That might have something to do about it. Update TWRP, or you could try letting the Magisk Manager patch the boot image and then flash the patched image with TWRP. Installation instructions in the release thread.
Click to expand...
Click to collapse
sorry bout that. i just search the google free and temporary storage online. haha! thank you for the help. I'll try what u just said
Didgeridoohan said:
That was a bit of a shady file sharing site. Anyway...
Your installed TWRP is pretty old. That might have something to do about it. Update TWRP, or you could try letting the Magisk Manager patch the boot image and then flash the patched image with TWRP. Installation instructions in the release thread.
Click to expand...
Click to collapse
how do i flash the patched boot.img with twrp? i cant find it in my sd card. it's not showing up. i already got the patched boot img
rajoholic said:
how do i flash the patched boot.img with twrp? i cant find it in my sd card. it's not showing up. i already got the patched boot img
Click to expand...
Click to collapse
Hm.... It might be that your TWRP is to old, but it should be the same procedure as when flashing a zip file except you switch to image flashing by pressing the "Image" button after going to the "Install" screen.
If that doesn't work, use fastboot (or whatever is available for your device).
Code:
fastboot flash boot patched_boot.img
Didgeridoohan said:
Hm.... It might be that your TWRP is to old, but it should be the same procedure as when flashing a zip file except you switch to image flashing by pressing the "Image" button after going to the "Install" screen.
If that doesn't work, use fastboot (or whatever is available for your device).
Code:
fastboot flash boot patched_boot.img
Click to expand...
Click to collapse
So I did what u told me and flashed the boot.img succesfully. Now after flashing that, I flashed v14 and still error in executing update binary. Same with 14.5. But this time after I saw that, I rebooted my device and found magisk manager on my phone. It says v14 installed. Is it installed already?
rajoholic said:
So I did what u told me and flashed the boot.img succesfully. Now after flashing that, I flashed v14 and still error in executing update binary. Same with 14.5. But this time after I saw that, I rebooted my device and found magisk manager on my phone. It says v14 installed. Is it installed already?
Click to expand...
Click to collapse
Yes, if you flash the patched boot image you don't have to do anything else. The Magisk Manager has already taken care of everything.
If you want v14.5 beta, you should now be able to change the update channel (in Manager settings) to beta and update. Just as a FYI, you could have done this already when patching the boot image.
Sounds like it's working now, or? Can you install modules?
Didgeridoohan said:
Yes, if you flash the patched boot image you don't have to do anything else. The Magisk Manager has already taken care of everything.
If you want v14.5 beta, you should now be able to change the update channel (in Manager settings) to beta and update. Just as a FYI, you could have done this already when patching the boot image.
Sounds like it's working now, or? Can you install modules?
Click to expand...
Click to collapse
I installed an app and gave it root permission. It looks like it's working. However the module part, I'm still unsure. When I try to add modules, the screen took me in storage. Looks like it requires me to import something? Where can I download modules?
rajoholic said:
I installed an app and gave it root permission. It looks like it's working. However the module part, I'm still unsure. When I try to add modules, the screen took me in storage. Looks like it requires me to import something? Where can I download modules?
Click to expand...
Click to collapse
First of all, don't even mention that piece of piracy software on xda. It's used to steal from developers and is not allowed here.
In the "Modules" part you can manually install modules that you've previously downloaded. If you want to install directly from the Magisk repo, you (unsurprisingly ) go to the "Downloads" section of the Manager. If you can't see "Downloads", make sure the Manager has internet access.
Didgeridoohan said:
First of all, don't even mention that piece of piracy software on xda. It's used to steal from developers and is not allowed here.
In the "Modules" part you can manually install modules that you've previously downloaded. If you want to install directly from the Magisk repo, you (unsurprisingly ) go to the "Downloads" section of the Manager. If you can't see "Downloads", make sure the Manager has internet access.
Click to expand...
Click to collapse
Sorry I didn't know. What I had in mind is that I'll give u all the details without leaving none so u know what I do and be able to help fast. Anyway, again I'm sorry. I didn't mean it.
I tried to dl greenify4magisk and I successfully download and install it. Rebooting the device now
rajoholic said:
Sorry I didn't know. What I had in mind is that I'll give u all the details without leaving none so u know what I do and be able to help fast. Anyway, again I'm sorry. I didn't mean it.
I tried to dl greenify4magisk and I successfully download and install it. Rebooting the device now
Click to expand...
Click to collapse
Sir, did you manage to install? when i tried to install log is failed.

Questions about installing Magisk on Tablet

Hello, I need help installing and configuring Magisk on my tablet. Here is why and what I'm trying to do:
On my Samsung SM-T350, I originally installed TWRP and then installed a custom ROM which has root access (as far as I know, stock recovery is no longer on device). I recently installed a particular app and it indicates the program will not run all of the features because it has detected 'root' access. The suggestion online to work around this problem has been to install Magisk.
From this, I first went to the Magisk Manager website and download the 5.4.3apk and installed it. Then when I open the Magisk Manager app, it asks me if I want to 'Install Magisk-v14.0.zip now'. If I click 'install', a list of choices pop up (Download Zip Only, Patch Boot Image File, Direct Install). Which should I choose? I don't remember which of these I tried, but I recall it didn't work or didn't do anything.
So in the mean time, I downloaded the Magisk-v14.0.zip file locally to my tablet (Downloads folder). I 'think' the proper way to install is to boot into TWRP, then select 'Install', then navigate to the Magisk-v14.0.zip and then install image? Is that correct, or will this attempt to install over my custom ROM? What is the proper way to finish the installation?
Thanks in advance!
Does anyone have any suggestions?? Thanks
First - the "Magisk Manager website" is not a place you want to visit. It is not an official source for anything Magisk and should not be trusted. Only download from xda or @topjohnwu's GitHub.
Second - if you're already rooted you need to first unroot. Read more on installing Magisk in the release thread and the Installation and troubleshooting thread. Most, if not all your queries should be answered there.

How do I upgrade from Magisk 20.4 to 22.0?

Device: Samsung Galaxy On7
Android: 6.0.1
I have Magisk Manager 8.0.7 and Magisk 20.4 installed on my device. I went to the GitHub repo and found that the app and the zip have been combined in Magisk 22.0. Fine. But how do I upgrade to v22.0? When I open the app, it asks me to upgrade the app first. Okay, I do that. When I open the upgraded app, it can no longer find Magisk. I click on "Install" beside Magisk, choose Direct Install, and then it gives me an error: Device signature invalid.
Any help is appreciated.
Wrichik Basu said:
Device: Samsung Galaxy On7
Android: 6.0.1
I have Magisk Manager 8.0.7 and Magisk 20.4 installed on my device. I went to the GitHub repo and found that the app and the zip have been combined in Magisk 22.0. Fine. But how do I upgrade to v22.0? When I open the app, it asks me to upgrade the app first. Okay, I do that. When I open the upgraded app, it can no longer find Magisk. I click on "Install" beside Magisk, choose Direct Install, and then it gives me an error: Device signature invalid.
Any help is appreciated.
Click to expand...
Click to collapse
if you have a custom recovery, change the magisk.apk file to.zip so it would be magisk.xx.zip then just flash it via twrp or whatever you have
xHvlios said:
if you have a custom recovery, change the magisk.apk file to.zip so it would be magisk.xx.zip then just flash it via twrp or whatever you have
Click to expand...
Click to collapse
Okay. Do I leave the old Manager as it is, or should I uninstall it before I flash the zip from TWRP?
Wrichik Basu said:
Okay. Do I leave the old Manager as it is, or should I uninstall it before I flash the zip from TWRP?
Click to expand...
Click to collapse
I think it will update it, so just flash the new one

Categories

Resources