Hello, so I decided to reflash my ROM because I kept running into issues, and I didn't uninstall Magisk before doing so.
Then when I tried flashing Magisk it showed me error 1. Flashing the uninstaller gives the same error. Magisk Manager shows that it is not installed, Root Checker states that the device is unrooted, and so far the only app that mentioned my phone being rooted is LastPass.
What can I possibly do to reinstall Magisk so it's back on my device in its full grace?
I checked other posts and either they are not related to my problem or didn't help
Phone: Xiaomi Redmi Note 4 Snapdragon, Recovery: official TWRP non-treble, ROM: latest build of official AOSP Extended
Maybe try dirty flashing and flashing Magisk again?
Not Sally when Magisk is already installed, I can flash it again with no problem. Weird that you're having these issues. ?
LennyTheCat said:
Hello, so I decided to reflash my ROM because I kept running into issues, and I didn't uninstall Magisk before doing so.
Then when I tried flashing Magisk it showed me error 1. Flashing the uninstaller gives the same error. Magisk Manager shows that it is not installed, Root Checker states that the device is unrooted, and so far the only app that mentioned my phone being rooted is LastPass.
What can I possibly do to reinstall Magisk so it's back on my device in its full grace?
I checked other posts and either they are not related to my problem or didn't help
Phone: Xiaomi Redmi Note 4 Snapdragon, Recovery: official TWRP non-treble, ROM: latest build of official AOSP Extended
Click to expand...
Click to collapse
Did you wipe everything? Wipe system and data before re flashing your rom.
@LennyTheCat To be absolutely sure what's going on you're going to have to provide the recovery log, saved after you've attempted you flash Magisk.
madbat99 said:
Did you wipe everything? Wipe system and data before re flashing your rom.
Click to expand...
Click to collapse
Yes I did
Didgeridoohan said:
@LennyTheCat To be absolutely sure what's going on you're going to have to provide the recovery log, saved after you've attempted you flash Magisk.
Click to expand...
Click to collapse
Will provide later now I have stuff to do
@Didgeridoohan here's the log file
LennyTheCat said:
@Didgeridoohan here's the log file
Click to expand...
Click to collapse
Try updating your TWRP. That has solved "cannot mount vendor" for other Mido users.
https://forum.xda-developers.com/search/forum/5903?query=mido cannot mount vendor
Didgeridoohan said:
Try updating your TWRP. That has solved "cannot mount vendor" for other Mido users.
https://forum.xda-developers.com/search/forum/5903?query=mido cannot mount vendor
Click to expand...
Click to collapse
well, it has installed no problem, but then my phone got stuck in a bootloop after rebooting. I have to reflash everything now, will tell if it worked later
@Didgeridoohan when I install Magisk, the phone keeps running into bootloops. Clean install of the ROM and Gapps seems to work fine. Tried 16.0 and 16.4 packages
LennyTheCat said:
@Didgeridoohan when I install Magisk, the phone keeps running into bootloops. Clean install of the ROM and Gapps seems to work fine. Tried 16.0 and 16.4 packages
Click to expand...
Click to collapse
Well... You're using a Treble ROM, right? So I'm assuming you're using a Treble modified Magisk version (since there's no official Treble support in Magisk yet)... If not, I'm sure you can find the relevant information in your ROM's thread.
Always go to the source...
Didgeridoohan said:
Well... You're using a Treble ROM, right? So I'm assuming you're using a Treble modified Magisk version (since there's no official Treble support in Magisk yet)... If not, I'm sure you can find the relevant information in your ROM's thread.
Always go to the source...
Click to expand...
Click to collapse
I decided to flash Lineage OS and then I flashed the Magisk package included in the post. Now it's working all squeaky and shiny. Thanks for help anyway
Related
Hi, I'm using Magisk on my LG G2 with RessurectionRemix 5.7 and am looking to update to the Nougat version 5.8. I want to start clean, so will wipe system before the update, but will I have to flash Magisk again after that? What are the steps here, flash the ROM + gapps, unroot, flash Magisk?
de.er said:
Hi, I'm using Magisk on my LG G2 with RessurectionRemix 5.7 and am looking to update to the Nougat version 5.8. I want to start clean, so will wipe system before the update, but will I have to flash Magisk again after that? What are the steps here, flash the ROM + gapps, unroot, flash Magisk?
Click to expand...
Click to collapse
Yep that should be about it. To be sure try safetynet after unrooting and after magisk
guessingagain said:
Yep that should be about it. To be sure try safetynet after unrooting and after magisk
Click to expand...
Click to collapse
Flashed the ROM and magisk last night, so far so good, safetynet passes I went for a clean install this time, but if I was to dirty flash an update now would magisk survive that?
de.er said:
Flashed the ROM and magisk last night, so far so good, safetynet passes I went for a clean install this time, but if I was to dirty flash an update now would magisk survive that?
Click to expand...
Click to collapse
No because Magisk modifies the boot image, which gets overwritten with a new one when you flash a ROM, clean or dirty. So you'll need to flash Magisk again.
The Flash said:
No because Magisk modifies the boot image, which gets overwritten with a new one when you flash a ROM, clean or dirty. So you'll need to flash Magisk again.
Click to expand...
Click to collapse
Was suspecting this might be the case, thanks for clarifying this. At least I know all the steps now, should be only getting more familiar with every flash
de.er said:
Flashed the ROM and magisk last night, so far so good, safetynet passes I went for a clean install this time, but if I was to dirty flash an update now would magisk survive that?
Click to expand...
Click to collapse
afaik Resurrection Remix has addon.d (check if /system/addon.d exists)
you can test this https://github.com/osm0sis/GN-Synap...mdisk/res/synapse/scripts/999-customkernel.sh or modify it to flash magisk instead of the backup (in case you got an updated kernel)
crusader727 said:
afaik Resurrection Remix has addon.d (check if /system/addon.d exists)
you can test this https://github.com/osm0sis/GN-Synap...mdisk/res/synapse/scripts/999-customkernel.sh or modify it to flash magisk instead of the backup (in case you got an updated kernel)
Click to expand...
Click to collapse
wow, that'd be great if it worked. I can confirm addon.d exists, I might try this next time. Do I just put the script into addon.d and flash ROM?
de.er said:
Do I just put the script into addon.d and flash ROM?
Click to expand...
Click to collapse
yes :good:
//btw:
yesterday I posted a feature request to add this to Magisk Manager: https://github.com/topjohnwu/MagiskManager/issues/72
crusader727 said:
yes :good:
//btw:
yesterday I posted a feature request to add this to Magisk Manager: https://github.com/topjohnwu/MagiskManager/issues/72
Click to expand...
Click to collapse
Flashed an RR update to 5.8.1 over the weekend and it went smoother than I expected, to be honest. Didn't use the script you mentioned in the end, just flashed the new ROM, gapps, unsu.zip, magisk and phh's su in TWRP and rebooted. Simple.
de.er said:
Flashed an RR update to 5.8.1 over the weekend and it went smoother than I expected, to be honest. Didn't use the script you mentioned in the end, just flashed the new ROM, gapps, unsu.zip, magisk and phh's su in TWRP and rebooted. Simple.
Click to expand...
Click to collapse
Yes, of course the manual method works :good:
phh-SU was removed in Magisk v11 btw - root is now integrated (MagiskSU).
I still need to have phh's Superuser management app installed. And now on boot I get a notification that my SU binary is out of date. The transition here has been a bit rough.
sweenish said:
I still need to have phh's Superuser management app installed. And now on boot I get a notification that my SU binary is out of date. The transition here has been a bit rough.
Click to expand...
Click to collapse
Are you on about updating your ROM or magisk? Phh su app is required for magisk v10.2, you need to remove it if you're using magisk v11 or later
The Flash said:
No because Magisk modifies the boot image, which gets overwritten with a new one when you flash a ROM, clean or dirty. So you'll need to flash Magisk again.
Click to expand...
Click to collapse
In reference to this, does reflashing Magisk alter anything within Magisk? Namely and really the only thing that would come to mind is it downgrading the Manager app to whatever is in the installer and possibly resetting it settings.
Hello
Okay i flashed my mobile with new OTA
after i try to install magisk but getting error that "Magisk manager stopped" after zip downloaded
i dont know why that happening
after zip downloaded getting black window then pop up shown about error
i think it cant patch boot img properly
in my old rom it works properly, but after flashing it did not work
thank you....
Try installing it in recovery
I sometimes get that majisk stopped toast on just about any ROM and just about any majisk release. I just ignore it. I have no idea of the what or why. Haven't noticed it affecting anything.
Yes. It's happening to me too. Does it work if I flash this update with twrp?
rabin69x said:
Yes. It's happening to me too. Does it work if I flash this update with twrp?
Click to expand...
Click to collapse
Did you read the responses above? It was already suggested to try that.
After installing magisk 15.2, magisk manager 5.5.3 stuck at the splash screen for me. What's wrong ?
rabin69x said:
Yes. It's happening to me too. Does it work if I flash this update with twrp?
Click to expand...
Click to collapse
I always flash builds from TWRP.
Eng.Raman said:
After installing magisk 15.2, magisk manager 5.5.3 stuck at the splash screen for me. What's wrong ?
Click to expand...
Click to collapse
Having the exact same issue on a pixel xl. Tried on 7.1 and 8.1, both with the same result.
I never use manager. Always TWRP, and can people start searching and using the support thread for questions, logs, and bugs instead of keep making a hundred useless threads of the same thing, can't install, can't install modules, etc. That's what support thread for. Thanks.
I am using MIUI 7.12.28 (latest) on Redmid 3S and I can flash magisk 15.2 using TWRP normally but when the phone restart, i go to magisk manager and it shows that magisk is not installed
I tried flash many time but the same problem happen
When i tried to flash magisk 14.0, it works. what is the problem here o_o
hungragezone said:
I am using MIUI 7.12.28 (latest) on Redmid 3S and I can flash magisk 15.2 using TWRP normally but when the phone restart, i go to magisk manager and it shows that magisk is not installed
I tried flash many time but the same problem happen
When i tried to flash magisk 14.0, it works. what is the problem here o_o
Click to expand...
Click to collapse
If updating, why not use direct method?
madbat99 said:
If updating, why not use directethod?
Click to expand...
Click to collapse
No, i am flashing from start
I just flash new miui (full wipe, factory reset)
and i also try to update from Magisk manager but when the flash screen appear, magisk manager force close (I already tried to clear data of Magisk manager and tried to update again but no success)
Now i can have root with Magisk 14.0 but when i tried to update to 15.2 using TWRP, it just disappear lol
(Flashing normally, no error, restart phone, go to magisk manager -> magisk is not installed )
Hi, I want to install Magisk but i got this error.
- Mounting /system, /vendor
! Cannot mount /vendor
- Unmounting partitions
Updater process ended with ERROR: 1
Error installing zip file '/sdcard/Magisk-v16.0.zip'
Click to expand...
Click to collapse
It's clean install with wiped system, cache, data before.
Phone: Redmi Note 4 (mido)
Recovery: Red Wolf Recovery Project V3.2.1-027
Harry0309 said:
Hi, I want to install Magisk but i got this error.
It's clean install with wiped system, cache, data before.
Phone: Redmi Note 4 (mido)
Recovery: Red Wolf Recovery Project V3.2.1-027
Click to expand...
Click to collapse
try with treble supported normal twrp recovery and clean install your rom
I can't give link because I haven't got 10 posts
https://forum.xda-developers.com/re...other-development/rom-lineageos-15-0-t3690465
Check out the downloads section of the xda link I gave you. I hope there will be a solution there
Hope you solve this problem.
HuseyinS said:
try with treble supported normal twrp recovery and clean install your rom
I can't give link because I haven't got 10 posts
https://forum.xda-developers.com/re...other-development/rom-lineageos-15-0-t3690465
Check out the downloads section of the xda link I gave you. I hope there will be a solution there
Hope you solve this problem.
Click to expand...
Click to collapse
Thanks! Helped change recovery.
This is weird because I was using this recovery earlier with magisk and everything was 100% fine.
Hi, I want to
Can someone will tell how to do it step by step procedures I am also facing sam
will tell how to do it step by step procedures I am also facing same issue device mido
@Sajag I flashed recovery with twrp with treble support.
Harry0309 said:
@Sajag I flashed recovery with twrp with treble support.
Click to expand...
Click to collapse
can you send me the link of twrp for treble builds??
Anil Jeenapati said:
can you send me the link of twrp for treble builds??
Click to expand...
Click to collapse
https://forum.xda-developers.com/on...overy-twrp-3-2-1-0-oreo-oxygenos-5-0-t3725723
EDIT: Sorry, didn't realize you were on mido, and not cheeseburger. Ignore the above.
Anil Jeenapati said:
can you send me the link of twrp for treble builds??
Click to expand...
Click to collapse
For mido: https://drive.google.com/open?id=1zdgzjXssY3CFhdxmLeSR0AlqZQQyZ-7F
I flasheded to the latest version of RR-O-v6.0.0-20180502-mido-Official using clean flash. After flashing I realised that I was not able to flash any zip. "Cannot mount/vendor" error was being shown.now I am not able to root (magisk). Could you please help me in this??????????????
Anil Jeenapati said:
I flasheded to the latest version of RR-O-v6.0.0-20180502-mido-Official using clean flash. After flashing I realised that I was not able to flash any zip. "Cannot mount/vendor" error was being shown.now I am not able to root (magisk). Could you please help me in this??????????????
Click to expand...
Click to collapse
Try a different rom/ or different twrp
Try other ROMs
Anil Jeenapati said:
I flasheded to the latest version of RR-O-v6.0.0-20180502-mido-Official using clean flash. After flashing I realised that I was not able to flash any zip. "Cannot mount/vendor" error was being shown.now I am not able to root (magisk). Could you please help me in this??????????????
Click to expand...
Click to collapse
Hey. I was also facing the same issue . My opinion switch to another ROM i switched to Pixel experience.
Sajag said:
Hey. I was also facing the same issue . My opinion switch to another ROM i switched to Pixel experience.
Click to expand...
Click to collapse
are you getting OTA Updates now..??
I flashed Candy Os but same problem while updating
Anil Jeenapati said:
are you getting OTA Updates now..??
I flashed Candy Os but same problem while updating
Click to expand...
Click to collapse
I am not sure . I flashed the latest version till now there are no new update . I think candy Os is a treble ROM try non treble rom
Using the treble supported TWRP fixed the vendor mount problem but I get into a bootloop when I try to install Magisk (latest version). I'm using the Havoc ROM (Android 8.1.0 - Treble Supported).
Edit: Got Magisk running by using a modified version for Treble.
Direct Link to the custom build of Magisk: Here
Source of the Link: LineageOS 15.1 by abhishek987
Flash this recovery, its for treble:
https://forum.xda-developers.com/re...covery-twrp-exclusive-3-2-1-5-treble-t3775081.
And flash Magisk 16.4 beta or higher
Same problem...
madbat99 said:
Try a different rom/ or different twrp
Click to expand...
Click to collapse
I also suffering that issue
Solution?
Anil Jeenapati said:
I flasheded to the latest version of RR-O-v6.0.0-20180502-mido-Official using clean flash. After flashing I realised that I was not able to flash any zip. "Cannot mount/vendor" error was being shown.now I am not able to root (magisk). Could you please help me in this??????????????
Click to expand...
Click to collapse
Hello I also installed the same ROM plus the Recovery of Red Wolf, remember that since its a treble you cannot mount vendor, but actually its easier than anything, why? cause the RR its based on Lineage OS and this last one is based on Cyanogen Mod, at the end what im trying to say its that the root services are already included in the ROM you only need to "unlock it" so i have the link for that, you only need to install this addon in .zip format (all the links and products are not mine, so please give thanks to the amazing developers). This is the official link and it also comes with an instructive step by step, I did the install trough sideload and now is working!
Example of command with adb sideload: C:\Users\kaks\Downloads\adb\adb sideload "C:\Users\kaks\Downloads\adb\addonsu-15.1-arm64-signed.zip"
www . cyanogenmods.org / root-lineageos-15-1-android-oreo-rom /
Hope this work for you as it did for me
Kakashi171 said:
..the root services are already included in the ROM you only need to "unlock it" so i have the link for that, you only need to install this addon in .zip format (all the links and products are not mine, so please give thanks to the amazing developers). This is the official link and it also comes with an instructive step by step, I did the install trough sideload and now is working!
Click to expand...
Click to collapse
OK, but can I then hide the "rooting" afterwards with Magisk?
HuseyinS said:
try with treble supported normal twrp recovery and clean install your rom
I can't give link because I haven't got 10 posts
https://forum.xda-developers.com/re...other-development/rom-lineageos-15-0-t3690465
Check out the downloads section of the xda link I gave you. I hope there will be a solution there
Hope you solve this problem.
Click to expand...
Click to collapse
THANK YOU SO MUCH THAT HELPED!!
I JUST CHANGED RECOVERY NOTHING ELSE!
I try and install directly from magisk but when I go and flash the zip through app it says installation failed. Am I doing something wrong?
Me too
I try unistall magisk in recovery but non success
I'm blocked
Edit: i'm return at v16.6 and work
I don't update for Now Walt for more info
Ty for now I'll wait
same here
Edit:- can't go back to v16.0 either,i'm getting "updater process ended with ERROR: 1
Any suggestions?
1. Boot to TWRP
2. Flash latest uninstaller
3. Without rebooting flash Magisk v.17.0
4. Reboot
If needed install manager manually.
Karls0 said:
1. Boot to TWRP
2. Flash latest uninstaller
3. Without rebooting flash Magisk v.17.0
4. Reboot
If needed install manager manually.
Click to expand...
Click to collapse
If I don't have TWRP I just install it? Sorry for noob question but i'm new here
Karls0 said:
1. Boot to TWRP
2. Flash latest uninstaller
3. Without rebooting flash Magisk v.17.0
4. Reboot
If needed install manager manually.
Click to expand...
Click to collapse
Thanks mate,worked for me.
Hi,
I'm running a HTC 10 with Lineage OS 15.1 (8.1.0). I came from Magisk 16 and an update message appeard. I downloaded Magisk 17 and tried to install it via TWRP as usual. The installation stopped with an Error 2. After that I had a boot loop and had to reinstall the Lineage OS. After that it booted again. But I still get this error message when trying to install Magisk 17.
Very odd. Besides of that, GREAT WORK!
Cheers
lmrcarneiro said:
If I don't have TWRP I just install it? Sorry for noob question but i'm new here
Click to expand...
Click to collapse
Magisk uninstaller will not works without custom recovery so i think my instruction is not applicable in this situation.
chaos_since_78 said:
Hi,
I'm running a HTC 10 with Lineage OS 15.1 (8.1.0). I came from Magisk 16 and an update message appeard. I downloaded Magisk 17 and tried to install it via TWRP as usual. The installation stopped with an Error 2. After that I had a boot loop and had to reinstall the Lineage OS. After that it booted again. But I still get this error message when trying to install Magisk 17.
Very odd. Besides of that, GREAT WORK!
Cheers
Click to expand...
Click to collapse
Double check if the package is not corrupted, MD5 should be: 6237bfaf7dcf516b60922b5b26f2dca8.
Karls0 said:
1. Boot to TWRP
2. Flash latest uninstaller
3. Without rebooting flash Magisk v.17.0
4. Reboot
If needed install manager manually.
Click to expand...
Click to collapse
Thanks for this
but now i can't install universal fix for safetynet check
I'm not sure if Magisk v.17.0 is fully backward compatible. Maybe this is preventing the module from installing?
Karls0 said:
1. Boot to TWRP
2. Flash latest uninstaller
3. Without rebooting flash Magisk v.17.0
4. Reboot
If needed install manager manually.
Click to expand...
Click to collapse
thank you very much i installed twrp and followed your steps worked great
Karls0 said:
I'm not sure if Magisk v.17.0 is fully backward compatible. Maybe this is preventing the module from installing?
Click to expand...
Click to collapse
ok so wait for new fix thanks
On my pixel 1 it claims to install, but causes a bootloop. AND updating to the most recent manager breaks using v16. So I'm stuck with an old manager and v16
Yes, the new manager seems to not fit to Magisk v16. In my case it also broke something so I updated to v17.
Karls0 said:
Magisk uninstaller will not works without custom recovery so i think my instruction is not applicable in this situation.
Double check if the package is not corrupted, MD5 should be: 6237bfaf7dcf516b60922b5b26f2dca8.
Click to expand...
Click to collapse
I got it solved by uninstallion the former Magisk package with the uninstaller. After reboot I could reinstall version 17 and until now it works fine. Thanks.
uninstaller for me does not flash for me. error 255 v16 same error and 17.1 wont flash either error 2
Thanks.
I'm able to do the steps without error. But then it is in bootloop. Using redmi note 4g (dior) Dot os
adz63 said:
uninstaller for me does not flash for me. error 255 v16 same error and 17.1 wont flash either error 2
Click to expand...
Click to collapse
Have you tried rebooting TWRP when the errors appear, and where are the logs?
barathrr96 said:
Thanks.
I'm able to do the steps without error. But then it is in bootloop. Using redmi note 4g (dior) Dot os
Click to expand...
Click to collapse
Is this on a clean install of Magisk v17.1? Also, logs...
Didgeridoohan said:
Have you tried rebooting TWRP when the errors appear, and where are the logs?
Is this on a clean install of Magisk v17.1? Also, logs...
Click to expand...
Click to collapse
Thanks.. the device does not belong to me..
for the time being I have installed magisk v16.7 and did installed viper and removed it ..
so when I get the device next time in my hand I will try to flash and take logs..
I have installed the latest pie stable on my op 3t. However it would never boot when installing with Magisk.
So for now I have installed it without Magisk and got it to work ok. However now I'm having same problem installing Magisk.
I can install and uninstall it from twrp latest, however when it's installed, it is just stuck on the initial screen with oneplus logo. And never makes it to the circle/dots screen.
I tried using 19. 2, 19.0 Magisk and 18.1.
Is there any logs I can pull or did anyone else have this issue?
Are there any other safe root solutions to try instead?
Any help would be appreciated
anykiel91 said:
I have installed the latest pie stable on my op 3t. However it would never boot when installing with Magisk.
So for now I have installed it without Magisk and got it to work ok. However now I'm having same problem installing Magisk.
I can install and uninstall it from twrp latest, however when it's installed, it is just stuck on the initial screen with oneplus logo. And never makes it to the circle/dots screen.
I tried using 19. 2, 19.0 Magisk and 18.1.
Is there any logs I can pull or did anyone else have this issue?
Are there any other safe root solutions to try instead?
Any help would be appreciated
Click to expand...
Click to collapse
I always flash Magisk BEFORE the first boot. Also no custom kernels, especially not AFTER Magisk flash.
Is this what you did as well?
I couldn't get it to boot up before firstboot. So I went with normal nonroot flash so I could use the phone.
I figured it would not matter if I installed Magisk later.
I might try to reflash everything over again
ast00 said:
I always flash Magisk BEFORE the first boot. Also no custom kernels, especially not AFTER Magisk flash.
Is this what you did as well?
Click to expand...
Click to collapse
topjohnwu says that you flash custom kernel after flashing Magisk
Immortalis said:
topjohnwu says that you flash custom kernel after flashing Magisk
Click to expand...
Click to collapse
Never had this problem until today. So I did some testing.
Magisk 19.1 causes it to get stuck at the OP logo.
I flashed uninstaller, reflashed the ROM, flashed Magisk 19.2 and it worked.
Are you using the 19.2 zip?
ast00 said:
Never had this problem until today. So I did some testing.
Magisk 19.1 causes it to get stuck at the OP logo.
I flashed uninstaller, reflashed the ROM, flashed Magisk 19.2 and it worked.
Are you using the 19.2 zip?
Click to expand...
Click to collapse
Yes, I had problems with 19.1 too, that the phone sometimes (if not always) would boot itself into fastboot mode instead of system, so at that time I moved temporarily to canary builds
I used this zip instead and it worked. Not sure what's different but I'm good now
https://forum.xda-developers.com/oneplus-3t/development/rom-theone3tos-v1-0-t3730932