How to install Magisk ? - Xiaomi Mi A2 Lite Questions & Answers

Hi
I can't install Magisk
I tried to install using this thread https://forum.xda-developers.com/t/install-magisk-on-android-11-r-100-functional.4162761/
Tried to install Magisk on OctaviOS 1.3
If i do this
Code:
1-Reboot in twrp and flash MagiskR.zip
2-Reboot system and install MagiskR.APK
3-Open magisk and update MagiskR.APK
And go to Magisk I have only 3 options Magism home page, Magisk Logs, Magisk settings and nothing else. No plugins and ways to give root to applications.
Also it types.
Magisk
Latest: N/A
Installed: N/A
Status:N/A
A/B: Yes
SAR: Yes
Ramdisk: Yes
When I try to do all 5 steps
Code:
Twrp installation:
1-Reboot in twrp and flash MagiskR.zip
2-Reboot system and install MagiskR.APK
3-Open magisk and update MagiskR.APK
4-Reboot in twrp and Flash Magisk-e66b0bf3(20425).zip
5-Reboot system and ready
I get always in fastboot
Then I tried to install Magisk on Syberia Project and after flashing zip I don't have Magisk Manager installed on my phone. I installed apk from this thread and tried lastest apk from Github. Both didn't work
I also tried to update Magisk apk to Beta version and nothing changed.

Is your bootloader unlocked?

Related

Error When Flashing Magisk Manager 10.2 on OP3

Hi there, I'm having difficulties flashing Magisk 10.2 on my OP3 from TWRP. This is the error that displays:
MTP Enabled
Installing zip file '/sdcard/Download/root things/Magisk-v10.2.zip
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
******************************************
Magisk v10.2 Boot Image Patcher
******************************************
- Mounting /system(ro), /cache, /data
- Device platform: arm64
- Constructing environment
- /data/magisk.img detected!
- Mounting /data/magisk.img to /magisk
- Found boot image: /dev/block/sde18
- Unpacking boot image
- SuperSU patched boot detected!
- Adding auto patch script for SuperSU
! SU image mount failed. . .
! Please immediately flash SuperSU now
! Installation will complete after flashing SuperSU
Updater process ended with ERROR: 1
Error installing zip file '/sdcard/Download/root thing/Magisk-v10.2.zip'
Updating partition details. . .
. . . done
Click to expand...
Click to collapse
Any help would be much appreciated!
For the record, I just fully unrooted SuperSU and am trying to now flash Magisk 10.2.
SilverCorrosion said:
Hi there, I'm having difficulties flashing Magisk 10.2 on my OP3 from TWRP. This is the error that displays:
Any help would be much appreciated!
For the record, I just fully unrooted SuperSU and am trying to now flash Magisk 10.2.
Click to expand...
Click to collapse
Don't what ROM you are using, but try this script https://forum.xda-developers.com/showpost.php?p=63615067
then dirty-flash your ROM(possibly gapps if it is a custom ROM) (if it is a ROM with in-built root reflash the script) let it boot, reboot to recovery and try to flash newest Magisk 11.1
SilverCorrosion said:
Hi there, I'm having difficulties flashing Magisk 10.2 on my OP3 from TWRP. This is the error that displays:
Any help would be much appreciated!
For the record, I just fully unrooted SuperSU and am trying to now flash Magisk 10.2.
Click to expand...
Click to collapse
This is because you have to restore boot.img file after uninstall SuperSu. So...
1. Extract boot.img from the rom zip you are using and copy this file into internal memory
2. Uninstall SuperSu from settings and say NO when SuperSu ask you about restore Boot (if you say YES, you will have bootloop for sure).
3. Reboot recovery and install the file boot.img you extracted in boot partition (select boot partition)
3. Install Magisk (last version is V11.1 ) Now it will work properly. It will install Superuser Magisk too.
4. Reboot system and install Magisk Manager from Play Store
5. From Magisk settings, select "Magisk Hide"
6. Reboot system and check if you can pass SafetyNet from Magisk. It should work now.

Magisk is not installed 19.3 version

I already installed Magisk not sure is version 19.2 or 19.1.
My OS build number is 10.0.9.0 May update.
I install the OTA update following this post.
Now, Magisk Manager shows Magisk 19.3 not installed but actually is installed (Image 1).
Last time when Magisk requires to update, it will show Update Available or something like that.
But now it just shows Magisk not installed.
And Iast time, I can install directly and reboot, but now do not have the options (Image 2).
Please advice how should I update Magisk without bootloop.
Shuold I:
Get 10.0.9.0 boot.img from here
Patch with Magisk 19.3
Fastboot with patched_boot.img
Finally install Magisk?
hi, i had the same problem. i assume you just updated magisk from within the app. i did the same thing and ended up at this point.
to fix that i downloaded the zip file as well as the uninstall zip file from the xda thread. uninstalled magisk using recovery menu. and reinstalled it using recovery menu. (between uninstall and reinstall you will have boot loops... sry) after that it should work again. the only problem i have is that pokemon go doesn't seam to work any more with magisk 19.3 or maybe i am doing something wrong. after a few sec of using it always shows my OS is not supported.
Strange. I did the Magisk update this morning with no problems.
You should be able to fastboot boot a patched boot image, then install Magisk again (direct).
You can use a backup (if you have one), or download a patched image, or patch a vanilla image (if you have one).
If you're worried about the current boot image, you can flash a vanilla image before you boot the patched image.
If you're doing this stuff, you may find some of these instructions useful.
https://forum.xda-developers.com/mi-a2-lite/how-to/10-0-4-0-to-10-0-7-0-ota-keeping-magisk-t3916863
Updated. After I fastboot boot patched_boot.img, the Magisk Manager still the same, showing Magisk 19.3 not installed.
So I reinstall Magisk Manager and finally show Magisk is up to date. And then reboot again, Magisk direct install.
I think last time when updating Magisk Manager it didn't uninstall old Magisk Manager.
End up my phone got 2 Magisk Manager installed.
Luckily no bootloop.
Error when I try to update through app.
This is the log I receive when trying to update from 19.1 using the 19.3 omg file downloaded from the app.
- Device platform: arm64-v8a
- Existing zip found
- Copying image to cache
1022+1 records in
1022+1 records out
1047368 bytes transferred in 0.005 secs (209473600 bytes/sec)
- Unpacking boot image
Parsing boot image: [/data/user_de/0/com.topjohnwu.magisk/install/boot.img]
! Unsupported/Unknown image format
! Installation failed
Plasmastars said:
This is the log I receive when trying to update from 19.1 using the 19.3 omg file downloaded from the app.
- Device platform: arm64-v8a
- Existing zip found
- Copying image to cache
1022+1 records in
1022+1 records out
1047368 bytes transferred in 0.005 secs (209473600 bytes/sec)
- Unpacking boot image
Parsing boot image: [/data/user_de/0/com.topjohnwu.magisk/install/boot.img]
! Unsupported/Unknown image format
! Installation failed
Click to expand...
Click to collapse
Maybe Magisk Manager does not have your vanilla boot.img.
I think u can try the method I wrote above.
coolwei1 said:
Maybe Magisk Manager does not have your vanilla boot.img.
I think u can try the method I wrote above.
Click to expand...
Click to collapse
I was able to install the original .img file downloaded from the app using TWRP.
Thanks!
delete this post, thanks
Solution
coolwei1 said:
I already installed Magisk not sure is version 19.2 or 19.1.
My OS build number is 10.0.9.0 May update.
I install the OTA update following this post.
Now, Magisk Manager shows Magisk 19.3 not installed but actually is installed (Image 1).
Last time when Magisk requires to update, it will show Update Available or something like that.
But now it just shows Magisk not installed.
And Iast time, I can install directly and reboot, but now do not have the options (Image 2).
Please advice how should I update Magisk without bootloop.
Shuold I:
Get 10.0.9.0 boot.img from here
Patch with Magisk 19.3
Fastboot with patched_boot.img
Finally install Magisk?
Click to expand...
Click to collapse
Try to install Disable_Dm-Verity_ForceEncrypt_12.27.2019.zip via TWRP

How To Root & install magisk after pie update ? Any Guide

Does Anyone know any method to root and install magisk in android pie ?
Lilesh Jadav said:
Does Anyone know any method to root and install magisk in android pie ?
Click to expand...
Click to collapse
Remove screenlocks 1st to make things easy.
Download twrp 3.3.1.0 img and zip
Download magisk 19.3
Copy twrp zip and magisk zip to sdcard
Open a cmd prompt and enter the following
PHP:
adb reboot bootloader
fastboot boot (drag n drop twrp img here)
Once twrp is booted install magisk and reboot to system you should be rooted. *If you want twrp installed as your recovery, install the twrp zip 1st then install magisk
https://forum.xda-developers.com/z2-force/how-to/oreo-nougat-how-to-root-z2-t3756669 works for pie as well. Be sure to use the latest TWRP.

Poco F1 root

Hi
I have installed Lineage Os 16 custom rom for Poco F1.
But the problem is i can't root the device.
I have downloaded the magisk 20.1 zip and the Disable-Force-Encryption-Treble.zip from:
https://magisk.me/root-xiaomi-poco-f1-using-magisk/
I enter the TWRP , i flashed first the disable force encryption zip, i rebooted to twrp , i flashed the magisk and i rebooted the device,
Magisk manager installed properly but when i tap Safety Net Check Success i get the ctsProfile:false.
Rootchecker also gives me the message that root is not properly installed.
Any ideas but if possible without having to format data .
I also tried (after another members suggestion) to flash magisk 19.4, canary magisk but with no results.
thank you in advance
First of all: keep it simple. Set screen lock to swipe. That avoids encryption too. Go twrp and wipe system and re-flash ROM (and GApps if needed) that restores boot image.
Second: try rooting with lineageOS native addonsu from download/extras. Enable it in developer options.

Question I have lost my root and i cant get it back again - MAGISK

Hi,
When my phone automatically updated to MIUI 14, a error message appeared and then, my root was lost...
Il tryed several times to get it back patching boot.img from Magisk.. (canary version included), but when I install patched.img my phone does not start and i have to get back to boot.img
Any ideas?
Rename magisk from apk to zip, and then flash the magisk zip from recovery
Saezrfff said:
Hi,
When my phone automatically updated to MIUI 14, a error message appeared and then, my root was lost...
Il tryed several times to get it back patching boot.img from Magisk.. (canary version included), but when I install patched.img my phone does not start and i have to get back to boot.img
Any ideas?
Click to expand...
Click to collapse
Hi,
Boot your F3 into fastboot mode and connect to a PC,
Download "Temporary Recovery" and unzip, run the "RUN ME Temporary TWRP A13-Orange Fox Recovery.bat" file and choose TWRP.
Once rebooted select: Advanced from within TWRP and tap "Flash current TWRP", copy over the included Magisk files into the internal memory (I use a OTG adaptor and USB Stick), install Magisk V26.1.apk, when in recovery you can install Magisk as a .apk format.
Included are the files i use when switching between roms, included are the latest, Magisk V26.1 and Magisk Delta, it also includes the latest versions of TRWP/OrangeFox recovery and other goodies,
I hope it helps
It's possible that the MIUI 14 update may have caused compatibility issues with your previous root method. You could try using a different root method or a different version of Magisk. Additionally, make sure you are following the correct steps for patching the boot.img file and installing it. If the issue persists, you may need to wait for an updated version of Magisk or seek assistance from the Magisk community.
you can try patching Boot.img instead of flashing Magisk.zip
you can do a OrangeFox/TWRP Backup of Boot-partition and patch the resulting "boot.emmc.win" file in Magisk App, because it's actually just a normal partition-image.
then flash the magisk-patched image file.
no pc required. just a custom recovery.
you can try the new Magisk v26.1, or Magisk Alpha (not affiliated with official Magisk).
i use Magisk v26.1 Official but I'm on AOSP

Categories

Resources