Help installing magisk on OP3 / OxygenOS - Oreo - Magisk

Hi, i now that everyone seems to be able to use magisk under oreo, but i can't get it to work since the first oxygenos oreo beta release. Never had a problem with previous versions.
the funny thing is, it seems to install correctly, but after the reboot there is no magisk manager, and no root functionality.
What i tried:
* Dirty and Clean flashed every beta and stable build.
* Tried the last 4 magisk releases, last version 15.3
* Supersu, which works every time
* TWRP 3.2.1 blu spark 8.61
I deleted everything except /data/media/0/*
Also, a log file from a magisk install after a clean flash:
Code:
Installing zip file '/sdcard/Backup/Magisk-v15.3(1531).zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
I:Update binary zip
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment not used in updater.
Archive: /sdcard/Backup/Magisk-v15.3(1531).zip
inflating: META-INF/com/google/android/update-binary
inflating: META-INF/com/google/android/updater-script
inflating: addon.d/99-magisk.sh
inflating: arm/magiskboot
inflating: arm/magiskinit
inflating: arm64/magiskboot
inflating: arm64/magiskinit
inflating: chromeos/futility
inflating: chromeos/kernel.keyblock
inflating: chromeos/kernel_data_key.vbprivk
inflating: common/boot_patch.sh
inflating: common/magisk.apk
inflating: common/util_functions.sh
inflating: x64/magiskboot
inflating: x64/magiskinit
inflating: x86/magiskboot
inflating: x86/magiskinit
inflating: META-INF/MANIFEST.MF
inflating: META-INF/CERT.SF
inflating: META-INF/CERT.RSA
************************
* Magisk v15.3 Installer
************************
- Mounting /system, /vendor
- Device platform: arm64
- Constructing environment
- Found boot image: /dev/block/sde18
Unable to locate class 'com/topjohnwu/magisk/utils/BootSigner'
java.lang.ClassNotFoundException: Didn't find class "com.topjohnwu.magisk.utils.BootSigner" on path: DexPathList[[zip file "/dev/tmp/install/common/magisk.apk"],nativeLibraryDirectories=[/system/lib64, /system/vendor/lib64, /system/lib64, /system/vendor/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:93)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
Exception in thread "main" java.lang.ClassNotFoundException: Didn't find class "com.topjohnwu.magisk.utils.BootSigner" on path: DexPathList[[zip file "/dev/tmp/install/common/magisk.apk"],nativeLibraryDirectories=[/system/lib64, /system/vendor/lib64, /system/lib64, /system/vendor/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:93)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
- Encrypted data detected
- Unpacking boot image
MagiskBoot v15.3(1531) (by topjohnwu) - Boot Image Modification Tool
Parsing boot image: [/dev/block/sde18]
KERNEL [13288446] @ 0x80008000
RAMDISK [2684900] @ 0x81000000
SECOND [0] @ 0x80f00000
EXTRA [0] @ 0x80000100
PAGESIZE [4096]
OS_VERSION [8.0.0]
PATCH_LEVEL [2017-12]
NAME []
CMDLINE [androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 [email protected] buildvariant=user]
DTB [4393782]
KERNEL_FMT [gzip]
RAMDISK_FMT [gzip]
- Checking ramdisk status
MagiskBoot v15.3(1531) (by topjohnwu) - Boot Image Modification Tool
Loading cpio: [ramdisk.cpio]
- Stock boot image detected
- Backing up stock boot image
MagiskBoot v15.3(1531) (by topjohnwu) - Boot Image Modification Tool
Compressing to [stock_boot_ca556288a60220a86b3190b8f7e7a7626501472e.img.gz]
- Patching ramdisk
MagiskBoot v15.3(1531) (by topjohnwu) - Boot Image Modification Tool
Loading cpio: [ramdisk.cpio]
Add entry [init] (0750)
Patch with flag KEEPVERITY=[false] KEEPFORCEENCRYPT=[true]
Remove [verity_key]
Save SHA1: [ca556288a60220a86b3190b8f7e7a7626501472e] -> [.backup/.sha1]
Loading cpio: [ramdisk.cpio.orig]
Backup mismatch entry: [init] -> [.backup/init]
Backup missing entry: [verity_key] -> [.backup/verity_key]
Dump cpio: [ramdisk.cpio]
MagiskBoot v15.3(1531) (by topjohnwu) - Boot Image Modification Tool
Loading dtbs from [dtb]
Found fstab in dtb.0000
Found block [system] in fstab
Remove pattern [,verify]
Found fstab in dtb.0001
Found block [system] in fstab
Remove pattern [,verify]
Found fstab in dtb.0002
Found block [system] in fstab
Remove pattern [,verify]
Found fstab in dtb.0003
Found block [system] in fstab
Remove pattern [,verify]
Found fstab in dtb.0004
Found block [system] in fstab
Remove pattern [,verify]
Found fstab in dtb.0005
Found block [system] in fstab
Remove pattern [,verify]
Found fstab in dtb.0006
Found block [system] in fstab
Remove pattern [,verify]
Found fstab in dtb.0007
Found block [system] in fstab
Remove pattern [,verify]
Found fstab in dtb.0008
Found block [system] in fstab
Remove pattern [,verify]
Found fstab in dtb.0009
Found block [system] in fstab
Remove pattern [,verify]
Found fstab in dtb.0010
Found block [system] in fstab
Remove pattern [,verify]
Found fstab in dtb.0011
Found block [system] in fstab
Remove pattern [,verify]
MagiskBoot v15.3(1531) (by topjohnwu) - Boot Image Modification Tool
MagiskBoot v15.3(1531) (by topjohnwu) - Boot Image Modification Tool
Patch @ 01308BE6 [736B69705F696E697472616D6673]->[77616E745F696E697472616D6673]
- Repacking boot image
MagiskBoot v15.3(1531) (by topjohnwu) - Boot Image Modification Tool
Parsing boot image: [/dev/block/sde18]
KERNEL [13288446] @ 0x80008000
RAMDISK [2684900] @ 0x81000000
SECOND [0] @ 0x80f00000
EXTRA [0] @ 0x80000100
PAGESIZE [4096]
OS_VERSION [8.0.0]
PATCH_LEVEL [2017-12]
NAME []
CMDLINE [androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 [email protected] buildvariant=user]
DTB [4393782]
KERNEL_FMT [gzip]
RAMDISK_FMT [gzip]
Repack to boot image: [new-boot.img]
KERNEL [13295950] @ 0x80008000
RAMDISK [3063248] @ 0x81000000
SECOND [0] @ 0x80f00000
EXTRA [0] @ 0x80000100
PAGESIZE [4096]
OS_VERSION [8.0.0]
PATCH_LEVEL [2017-12]
NAME []
CMDLINE [androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 [email protected] buildvariant=user]
MagiskBoot v15.3(1531) (by topjohnwu) - Boot Image Modification Tool
Cleaning up...
- Flashing new boot image
- Unmounting partitions
- Done
I:Updater process ended with RC=0
I:Install took 24 second(s).
Updating partition details...
I:Data backup size is 1681MB, free: 10341MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Set page: 'flash_done'
I:operation_end - status=0
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'copylog'
I:Set page: 'action_page'
I:operation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log
Copied recovery log to /data/media/0/recovery.log.

Interesting... I've installed Magisk on OOS stable Oreo on both the 3T and 5T and have had no issues at all.
You have an error in there that looks a bit weird though. I think I've seen that in another couple of reports... Hm...
I'll pass it on.
Meanwhile you could try patching the boot image with the Manager and then flash the patched image in TWRP.

When I first rooted OOS Oreo I had to use Magisk 14.5 for it to work. I could then update to 15.3.
Sent from my OnePlus3T using XDA Labs

Related

Magisk not working after installing OTA update of custom rom

I installed Magisk a while back and it was were great, few days back a OTA update was available for my custom rom so I installed it and after that magisk was automatically removed and now I am unable to install it again here are the logs of installation and my specs .
Phone - Redmi Note 4
LOGS :
Code:
I:operation_start: 'Flashing'
Installing zip file '/sdcard/Download/Magisk-uninstaller-20180328.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
I:Update binary zip
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment not used in updater.
Archive: /sdcard/Download/Magisk-uninstaller-20180328.zip
inflating: META-INF/com/google/android/update-binary
inflating: META-INF/com/google/android/updater-script
inflating: arm/magiskboot
inflating: arm64/magiskboot
inflating: chromeos/futility
inflating: chromeos/kernel.keyblock
inflating: chromeos/kernel_data_key.vbprivk
inflating: magisk_uninstaller.sh
inflating: util_functions.sh
inflating: x64/magiskboot
inflating: x86/magiskboot
inflating: META-INF/MANIFEST.MF
inflating: META-INF/CERT.SF
inflating: META-INF/CERT.RSA
************************
Magisk Uninstaller
************************
- Mounting /system, /vendor
mount: can't find /vendor in /etc/fstab
! Cannot mount /vendor
- Unmounting partitions
Updater process ended with ERROR: 1
I:Install took 3 second(s).
Error installing zip file '/sdcard/Download/Magisk-uninstaller-20180328.zip'
Updating partition details...
I:Data backup size is 8326MB, free: 10027MB.
I:Unable to mount '/sdcard1'
I:Actual block device: '', current file system: 'auto'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
...done
I:Set page: 'flash_done'
I:operation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
I:operation_start: 'Flashing'
Installing zip file '/sdcard/Download/Magisk-v16.0.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
I:Update binary zip
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment not used in updater.
Archive: /sdcard/Download/Magisk-v16.0.zip
inflating: META-INF/com/google/android/update-binary
inflating: META-INF/com/google/android/updater-script
inflating: addon.d/99-magisk.sh
inflating: arm/magiskboot
inflating: arm/magiskinit
inflating: arm64/magiskboot
inflating: arm64/magiskinit
inflating: chromeos/futility
inflating: chromeos/kernel.keyblock
inflating: chromeos/kernel_data_key.vbprivk
inflating: common/boot_patch.sh
inflating: common/magisk.apk
inflating: common/util_functions.sh
inflating: x64/magiskboot
inflating: x64/magiskinit
inflating: x86/magiskboot
inflating: x86/magiskinit
inflating: META-INF/MANIFEST.MF
inflating: META-INF/CERT.SF
inflating: META-INF/CERT.RSA
************************
* Magisk v16.0 Installer
************************
- Mounting /system, /vendor
mount: can't find /vendor in /etc/fstab
! Cannot mount /vendor
- Unmounting partitions
Updater process ended with ERROR: 1
I:Install took 2 second(s).
Error installing zip file '/sdcard/Download/Magisk-v16.0.zip'
Updating partition details...
I:Data backup size is 8326MB, free: 10027MB.
I:Unable to mount '/sdcard1'
I:Actual block device: '', current file system: 'auto'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
...done
I:Set page: 'flash_done'
I:operation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
I:operation_start: 'Flashing'
Installing zip file '/sdcard/Download/Magisk-v15.3.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
I:Update binary zip
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment not used in updater.
Archive: /sdcard/Download/Magisk-v15.3.zip
inflating: META-INF/com/google/android/update-binary
inflating: META-INF/com/google/android/updater-script
inflating: addon.d/99-magisk.sh
inflating: arm/magiskboot
inflating: arm/magiskinit
inflating: arm64/magiskboot
inflating: arm64/magiskinit
inflating: chromeos/futility
inflating: chromeos/kernel.keyblock
inflating: chromeos/kernel_data_key.vbprivk
inflating: common/boot_patch.sh
inflating: common/magisk.apk
inflating: common/util_functions.sh
inflating: x64/magiskboot
inflating: x64/magiskinit
inflating: x86/magiskboot
inflating: x86/magiskinit
inflating: META-INF/MANIFEST.MF
inflating: META-INF/CERT.SF
inflating: META-INF/CERT.RSA
************************
* Magisk v15.3 Installer
************************
- Mounting /system, /vendor
mount: can't find /vendor in /etc/fstab
! Cannot mount /vendor
- Unmounting partitions
Updater process ended with ERROR: 1
I:Install took 3 second(s).
Error installing zip file '/sdcard/Download/Magisk-v15.3.zip'
Updating partition details...
I:Data backup size is 8326MB, free: 10027MB.
I:Unable to mount '/sdcard1'
I:Actual block device: '', current file system: 'auto'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
...done
I:Set page: 'flash_done'
I:operation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'copylog'
I:Set page: 'action_page'
I:operation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log
SPECS :
Android version : 8.1.0
Cardinal AOSP version : 5.5
Kernel version : 3.18.104-Feather (gcc version 4.9.x 20150123(prerelease)(GCC)) [email protected] #1 Wed Apr 11 15:04:05 UTC 2018
SELinux status : Permissive
! Cannot mount /vendor
Same Here
shashank1094 said:
I installed Magisk a while back and it was were great, few days back a OTA update was available for my custom rom so I installed it and after that magisk was automatically removed and now I am unable to install it again here are the logs of installation and my specs .
Phone - Redmi Note 4
LOGS :
Code:
I:operation_start: 'Flashing'
Installing zip file '/sdcard/Download/Magisk-uninstaller-20180328.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
I:Update binary zip
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment not used in updater.
Archive: /sdcard/Download/Magisk-uninstaller-20180328.zip
inflating: META-INF/com/google/android/update-binary
inflating: META-INF/com/google/android/updater-script
inflating: arm/magiskboot
inflating: arm64/magiskboot
inflating: chromeos/futility
inflating: chromeos/kernel.keyblock
inflating: chromeos/kernel_data_key.vbprivk
inflating: magisk_uninstaller.sh
inflating: util_functions.sh
inflating: x64/magiskboot
inflating: x86/magiskboot
inflating: META-INF/MANIFEST.MF
inflating: META-INF/CERT.SF
inflating: META-INF/CERT.RSA
************************
Magisk Uninstaller
************************
- Mounting /system, /vendor
mount: can't find /vendor in /etc/fstab
! Cannot mount /vendor
- Unmounting partitions
Updater process ended with ERROR: 1
I:Install took 3 second(s).
Error installing zip file '/sdcard/Download/Magisk-uninstaller-20180328.zip'
Updating partition details...
I:Data backup size is 8326MB, free: 10027MB.
I:Unable to mount '/sdcard1'
I:Actual block device: '', current file system: 'auto'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
...done
I:Set page: 'flash_done'
I:operation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
I:operation_start: 'Flashing'
Installing zip file '/sdcard/Download/Magisk-v16.0.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
I:Update binary zip
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment not used in updater.
Archive: /sdcard/Download/Magisk-v16.0.zip
inflating: META-INF/com/google/android/update-binary
inflating: META-INF/com/google/android/updater-script
inflating: addon.d/99-magisk.sh
inflating: arm/magiskboot
inflating: arm/magiskinit
inflating: arm64/magiskboot
inflating: arm64/magiskinit
inflating: chromeos/futility
inflating: chromeos/kernel.keyblock
inflating: chromeos/kernel_data_key.vbprivk
inflating: common/boot_patch.sh
inflating: common/magisk.apk
inflating: common/util_functions.sh
inflating: x64/magiskboot
inflating: x64/magiskinit
inflating: x86/magiskboot
inflating: x86/magiskinit
inflating: META-INF/MANIFEST.MF
inflating: META-INF/CERT.SF
inflating: META-INF/CERT.RSA
************************
* Magisk v16.0 Installer
************************
- Mounting /system, /vendor
mount: can't find /vendor in /etc/fstab
! Cannot mount /vendor
- Unmounting partitions
Updater process ended with ERROR: 1
I:Install took 2 second(s).
Error installing zip file '/sdcard/Download/Magisk-v16.0.zip'
Updating partition details...
I:Data backup size is 8326MB, free: 10027MB.
I:Unable to mount '/sdcard1'
I:Actual block device: '', current file system: 'auto'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
...done
I:Set page: 'flash_done'
I:operation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
I:operation_start: 'Flashing'
Installing zip file '/sdcard/Download/Magisk-v15.3.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
I:Update binary zip
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment not used in updater.
Archive: /sdcard/Download/Magisk-v15.3.zip
inflating: META-INF/com/google/android/update-binary
inflating: META-INF/com/google/android/updater-script
inflating: addon.d/99-magisk.sh
inflating: arm/magiskboot
inflating: arm/magiskinit
inflating: arm64/magiskboot
inflating: arm64/magiskinit
inflating: chromeos/futility
inflating: chromeos/kernel.keyblock
inflating: chromeos/kernel_data_key.vbprivk
inflating: common/boot_patch.sh
inflating: common/magisk.apk
inflating: common/util_functions.sh
inflating: x64/magiskboot
inflating: x64/magiskinit
inflating: x86/magiskboot
inflating: x86/magiskinit
inflating: META-INF/MANIFEST.MF
inflating: META-INF/CERT.SF
inflating: META-INF/CERT.RSA
************************
* Magisk v15.3 Installer
************************
- Mounting /system, /vendor
mount: can't find /vendor in /etc/fstab
! Cannot mount /vendor
- Unmounting partitions
Updater process ended with ERROR: 1
I:Install took 3 second(s).
Error installing zip file '/sdcard/Download/Magisk-v15.3.zip'
Updating partition details...
I:Data backup size is 8326MB, free: 10027MB.
I:Unable to mount '/sdcard1'
I:Actual block device: '', current file system: 'auto'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
...done
I:Set page: 'flash_done'
I:operation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'copylog'
I:Set page: 'action_page'
I:operation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log
SPECS :
Android version : 8.1.0
Cardinal AOSP version : 5.5
Kernel version : 3.18.104-Feather (gcc version 4.9.x 20150123(prerelease)(GCC)) [email protected] #1 Wed Apr 11 15:04:05 UTC 2018
SELinux status : Permissive
Click to expand...
Click to collapse
SAME PROBLEM. smoeone please help
Seen several reports of Xiaomi devices not being able to mount /vendor in TWRP after the latest update. Can't remember right now if it's possible to patch the boot image with the Manager and then flash it manually. Have any of you guys tried?
Same problem with my MI A1
shashank1094 said:
I installed Magisk a while back and it was were great, few days back a OTA update was available for my custom rom so I installed it and after that magisk was automatically removed and now I am unable to install it again here are the logs of installation and my specs .
Phone - Redmi Note 4
LOGS :
Code:
I:operation_start: 'Flashing'
Installing zip file '/sdcard/Download/Magisk-uninstaller-20180328.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
I:Update binary zip
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment not used in updater.
Archive: /sdcard/Download/Magisk-uninstaller-20180328.zip
inflating: META-INF/com/google/android/update-binary
inflating: META-INF/com/google/android/updater-script
inflating: arm/magiskboot
inflating: arm64/magiskboot
inflating: chromeos/futility
inflating: chromeos/kernel.keyblock
inflating: chromeos/kernel_data_key.vbprivk
inflating: magisk_uninstaller.sh
inflating: util_functions.sh
inflating: x64/magiskboot
inflating: x86/magiskboot
inflating: META-INF/MANIFEST.MF
inflating: META-INF/CERT.SF
inflating: META-INF/CERT.RSA
************************
Magisk Uninstaller
************************
- Mounting /system, /vendor
mount: can't find /vendor in /etc/fstab
! Cannot mount /vendor
- Unmounting partitions
Updater process ended with ERROR: 1
I:Install took 3 second(s).
Error installing zip file '/sdcard/Download/Magisk-uninstaller-20180328.zip'
Updating partition details...
I:Data backup size is 8326MB, free: 10027MB.
I:Unable to mount '/sdcard1'
I:Actual block device: '', current file system: 'auto'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
...done
I:Set page: 'flash_done'
I:operation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
I:operation_start: 'Flashing'
Installing zip file '/sdcard/Download/Magisk-v16.0.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
I:Update binary zip
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment not used in updater.
Archive: /sdcard/Download/Magisk-v16.0.zip
inflating: META-INF/com/google/android/update-binary
inflating: META-INF/com/google/android/updater-script
inflating: addon.d/99-magisk.sh
inflating: arm/magiskboot
inflating: arm/magiskinit
inflating: arm64/magiskboot
inflating: arm64/magiskinit
inflating: chromeos/futility
inflating: chromeos/kernel.keyblock
inflating: chromeos/kernel_data_key.vbprivk
inflating: common/boot_patch.sh
inflating: common/magisk.apk
inflating: common/util_functions.sh
inflating: x64/magiskboot
inflating: x64/magiskinit
inflating: x86/magiskboot
inflating: x86/magiskinit
inflating: META-INF/MANIFEST.MF
inflating: META-INF/CERT.SF
inflating: META-INF/CERT.RSA
************************
* Magisk v16.0 Installer
************************
- Mounting /system, /vendor
mount: can't find /vendor in /etc/fstab
! Cannot mount /vendor
- Unmounting partitions
Updater process ended with ERROR: 1
I:Install took 2 second(s).
Error installing zip file '/sdcard/Download/Magisk-v16.0.zip'
Updating partition details...
I:Data backup size is 8326MB, free: 10027MB.
I:Unable to mount '/sdcard1'
I:Actual block device: '', current file system: 'auto'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
...done
I:Set page: 'flash_done'
I:operation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
I:operation_start: 'Flashing'
Installing zip file '/sdcard/Download/Magisk-v15.3.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
I:Update binary zip
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment not used in updater.
Archive: /sdcard/Download/Magisk-v15.3.zip
inflating: META-INF/com/google/android/update-binary
inflating: META-INF/com/google/android/updater-script
inflating: addon.d/99-magisk.sh
inflating: arm/magiskboot
inflating: arm/magiskinit
inflating: arm64/magiskboot
inflating: arm64/magiskinit
inflating: chromeos/futility
inflating: chromeos/kernel.keyblock
inflating: chromeos/kernel_data_key.vbprivk
inflating: common/boot_patch.sh
inflating: common/magisk.apk
inflating: common/util_functions.sh
inflating: x64/magiskboot
inflating: x64/magiskinit
inflating: x86/magiskboot
inflating: x86/magiskinit
inflating: META-INF/MANIFEST.MF
inflating: META-INF/CERT.SF
inflating: META-INF/CERT.RSA
************************
* Magisk v15.3 Installer
************************
- Mounting /system, /vendor
mount: can't find /vendor in /etc/fstab
! Cannot mount /vendor
- Unmounting partitions
Updater process ended with ERROR: 1
I:Install took 3 second(s).
Error installing zip file '/sdcard/Download/Magisk-v15.3.zip'
Updating partition details...
I:Data backup size is 8326MB, free: 10027MB.
I:Unable to mount '/sdcard1'
I:Actual block device: '', current file system: 'auto'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
...done
I:Set page: 'flash_done'
I:operation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'copylog'
I:Set page: 'action_page'
I:operation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log
SPECS :
Android version : 8.1.0
Cardinal AOSP version : 5.5
Kernel version : 3.18.104-Feather (gcc version 4.9.x 20150123(prerelease)(GCC)) [email protected] #1 Wed Apr 11 15:04:05 UTC 2018
SELinux status : Permissive
Click to expand...
Click to collapse
Same problem with MI A1 MAY UPDATE

Magisk boot.img patch debugging with log?

When making patch of boot.img then what should be taken to a notice if all is good & vice versa? For instance, I got my log as below and with that patch I get stuck at booting up the device:
Code:
- Device platform: armeabi-v7a
- Downloading zip
... 0%
- Copying image to cache
- Boot image is signed with AVB 1.0
1022+1 records in
1022+1 records out
1047368 bytes transferred in 0.025 secs (41894720 bytes/sec)
- Unpacking boot image
Parsing boot image: [/data/user_de/0/com.topjohnwu.magisk/install/boot.img]
HEADER_VER [0]
KERNEL_SZ [14885783]
RAMDISK_SZ [1029262]
SECOND_SZ [0]
EXTRA_SZ [0]
RECOV_DTBO_SZ [0]
DTB [0]
OS_VERSION [8.1.0]
OS_PATCH_LEVEL [2019-01]
PAGESIZE [2048]
NAME []
CMDLINE [console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom androidboot.memcg=true user_debug=30 msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlycon=msm_hsl_uart,0x78B0000 buildvariant=user]
CHECKSUM [5f606c4443b25e060cf77c9d9efe84b2e433c31c]
KERNEL_DTB [5549959]
KERNEL_FMT [raw]
RAMDISK_FMT [gzip]
Kernel is uncompressed or not a supported compressed type!
- Checking ramdisk status
Loading cpio: [ramdisk.cpio]
- Stock boot image detected
- Backing up stock boot image
- Patching ramdisk
Loading cpio: [ramdisk.cpio]
Add entry [init] (0750)
Patch with flag KEEPVERITY=[false] KEEPFORCEENCRYPT=[true]
Remove [verity_key]
Loading cpio: [ramdisk.cpio.orig]
Backup mismatch entry: [init] -> [.backup/init]
Backup missing entry: [verity_key] -> [.backup/verity_key]
Create directory [.backup] (0000)
Add entry [.backup/.magisk] (0000)
Dump cpio: [ramdisk.cpio]
Loading dtbs from [kernel_dtb]
Found fstab in dtb.0000
Found block [vendor] in fstab
Found block [system] in fstab
Found fstab in dtb.0001
Found block [vendor] in fstab
Found block [system] in fstab
Found fstab in dtb.0002
Found block [vendor] in fstab
Found block [system] in fstab
Found fstab in dtb.0003
Found block [vendor] in fstab
Found block [system] in fstab
Found fstab in dtb.0004
Found block [vendor] in fstab
Found block [system] in fstab
Found fstab in dtb.0005
Found block [vendor] in fstab
Found block [system] in fstab
Found fstab in dtb.0006
Found block [vendor] in fstab
Found block [system] in fstab
Found fstab in dtb.0007
Found block [vendor] in fstab
Found block [system] in fstab
Found fstab in dtb.0008
Found block [vendor] in fstab
Found block [system] in fstab
Found fstab in dtb.0009
Found block [vendor] in fstab
Found block [system] in fstab
Found fstab in dtb.0010
Found block [vendor] in fstab
Found block [system] in fstab
Found fstab in dtb.0011
Found block [vendor] in fstab
Found block [system] in fstab
Found fstab in dtb.0012
Found block [vendor] in fstab
Found block [system] in fstab
Found fstab in dtb.0013
Found block [vendor] in fstab
Found block [system] in fstab
Found fstab in dtb.0014
Found block [vendor] in fstab
Found block [system] in fstab
Found fstab in dtb.0015
Found block [vendor] in fstab
Found block [system] in fstab
Found fstab in dtb.0016
Found block [vendor] in fstab
Found block [system] in fstab
Found fstab in dtb.0017
Found block [vendor] in fstab
Found block [system] in fstab
Found fstab in dtb.0018
Found block [vendor] in fstab
Found block [system] in fstab
Found fstab in dtb.0019
Found block [vendor] in fstab
Found block [system] in fstab
Found fstab in dtb.0020
Found block [vendor] in fstab
Found block [system] in fstab
Found fstab in dtb.0021
Found block [vendor] in fstab
Found block [system] in fstab
Found fstab in dtb.0022
Found block [vendor] in fstab
Found block [system] in fstab
- Repacking boot image
Parsing boot image: [/data/user_de/0/com.topjohnwu.magisk/install/boot.img]
HEADER_VER [0]
KERNEL_SZ [14885783]
RAMDISK_SZ [1029262]
SECOND_SZ [0]
EXTRA_SZ [0]
RECOV_DTBO_SZ [0]
DTB [0]
OS_VERSION [8.1.0]
OS_PATCH_LEVEL [2019-01]
PAGESIZE [2048]
NAME []
CMDLINE [console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom androidboot.memcg=true user_debug=30 msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlycon=msm_hsl_uart,0x78B0000 buildvariant=user]
CHECKSUM [5f606c4443b25e060cf77c9d9efe84b2e433c31c]
KERNEL_DTB [5549959]
KERNEL_FMT [raw]
RAMDISK_FMT [gzip]
Repack to boot image: [new-boot.img]
HEADER_VER [0]
KERNEL_SZ [14885783]
RAMDISK_SZ [1259208]
SECOND_SZ [0]
EXTRA_SZ [0]
RECOV_DTBO_SZ [0]
DTB [0]
OS_VERSION [8.1.0]
OS_PATCH_LEVEL [2019-01]
PAGESIZE [2048]
NAME []
CMDLINE [console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom androidboot.memcg=true user_debug=30 msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlycon=msm_hsl_uart,0x78B0000 buildvariant=user]
CHECKSUM [93ed2a9fa31f48786150a0132ae81a14e2632016]
- Signing boot image with test keys
****************************
Output file is placed in
/storage/emulated/0/Download/magisk_patched.img
****************************
- All done!
(In my case, could it be a solution to try to extract boot.img from current running system instead of stock rom boot.img that I downloaded from manufacturer site? As for the reason that there were a few ota updates I made before replacing boot.img with patched one that I made out from the stock rom boot.img instead of extracting from system after updates.)
My assumption was correct. Without doing OTA update the patched boot works great (with my current device in consideration). Which kind of makes sense as the stock boot was for the stock rom (with this particular device) and it happens to be that the stock boot.img won't work with the currently newest OTA update as I write here.

Infinite loop with patched magisk boot.img

I flashed the patched magisk boot.img and I get an infinite loop showing this key: 80012A99-867FDA48-4E357816-0E549F1B-B067FBD5
I used Magisk Manager 7.4.0. G6 Play XT1922-4 Pie. Screenshot attached.
Code:
- Device platform: armeabi-v7a
- Copying image to cache
- Boot image is signed with AVB 1.0
1566+0 records in
1566+0 records out
1603584 bytes transferred in 0.030 secs (53452800 bytes/sec)
1045+1 records in
1045+1 records out
1070668 bytes transferred in 0.020 secs (53533400 bytes/sec)
- Unpacking boot image
Parsing boot image: [/data/user_de/0/com.topjohnwu.magisk/install/boot.img]
HEADER_VER [0]
KERNEL_SZ [10251215]
RAMDISK_SZ [1508130]
SECOND_SZ [0]
EXTRA_SZ [0]
OS_VERSION [9.0.0]
OS_PATCH_LEVEL [2019-05]
PAGESIZE [2048]
NAME []
CMDLINE [console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom androidboot.memcg=false user_debug=30 msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlycon=msm_hsl_uart,0x78B0000 firmware_class.path=/vendor/firmware_mnt/image loop.max_part=7 vmalloc=400M buildvariant=user]
CHECKSUM [77549a9032634b395110bb3a9eb0227033621915000000000000000000000000]
KERNEL_DTB [896823]
KERNEL_FMT [raw]
RAMDISK_FMT [gzip]
- Checking ramdisk status
Loading cpio: [ramdisk.cpio]
- Stock boot image detected
- Backing up stock boot image
- Patching ramdisk
Loading cpio: [ramdisk.cpio]
Add entry [init] (0750)
Patch with flag KEEPVERITY=[false] KEEPFORCEENCRYPT=[true]
Remove [verity_key]
Loading cpio: [ramdisk.cpio.orig]
Backup mismatch entry: [init] -> [.backup/init]
Backup missing entry: [verity_key] -> [.backup/verity_key]
Create directory [.backup] (0000)
Add entry [.backup/.magisk] (0000)
Dump cpio: [ramdisk.cpio]
Loading dtbs from [kernel_dtb]
Found fstab in dtb.0000
Found entry [system] in fstab
Found pattern [,verify]
Found entry [vendor] in fstab
Found pattern [,verify]
Found fstab in dtb.0001
Found entry [system] in fstab
Found pattern [,verify]
Found entry [vendor] in fstab
Found pattern [,verify]
Found fstab in dtb.0002
Found entry [system] in fstab
Found pattern [,verify]
Found entry [vendor] in fstab
Found pattern [,verify]
Found fstab in dtb.0003
Found entry [system] in fstab
Found pattern [,verify]
Found entry [vendor] in fstab
Found pattern [,verify]
- Patching fstab in kernel_dtb
- Repacking boot image
Parsing boot image: [/data/user_de/0/com.topjohnwu.magisk/install/boot.img]
HEADER_VER [0]
KERNEL_SZ [10251215]
RAMDISK_SZ [1508130]
SECOND_SZ [0]
EXTRA_SZ [0]
OS_VERSION [9.0.0]
OS_PATCH_LEVEL [2019-05]
PAGESIZE [2048]
NAME []
CMDLINE [console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom androidboot.memcg=false user_debug=30 msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlycon=msm_hsl_uart,0x78B0000 firmware_class.path=/vendor/firmware_mnt/image loop.max_part=7 vmalloc=400M buildvariant=user]
CHECKSUM [77549a9032634b395110bb3a9eb0227033621915000000000000000000000000]
KERNEL_DTB [896823]
KERNEL_FMT [raw]
RAMDISK_FMT [gzip]
Repack to boot image: [new-boot.img]
HEADER_VER [0]
KERNEL_SZ [10247087]
RAMDISK_SZ [1770428]
SECOND_SZ [0]
EXTRA_SZ [0]
OS_VERSION [9.0.0]
OS_PATCH_LEVEL [2019-05]
PAGESIZE [2048]
NAME []
CMDLINE [console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom androidboot.memcg=false user_debug=30 msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlycon=msm_hsl_uart,0x78B0000 firmware_class.path=/vendor/firmware_mnt/image loop.max_part=7 vmalloc=400M buildvariant=user]
CHECKSUM [3a228177359924a940499d2a84e7dcc6ec41deca000000000000000000000000]
- Signing boot image with verity keys
****************************
Output file is placed in
/storage/emulated/0/Download/magisk_patched.img
****************************
- All done!
If I patch and flash recovery.img it boots but Magisk is not installed.
If I sideload Magisk.zip it falls into the infinite loop again.
Kaka0 said:
I flashed the patched magisk boot.img and I get an infinite loop showing this key: 80012A99-867FDA48-4E357816-0E549F1B-B067FBD5
I used Magisk Manager 7.4.0. G6 Play XT1922-4 Pie. Screenshot attached.
Code:
- Device platform: armeabi-v7a
- Copying image to cache
- Boot image is signed with AVB 1.0
1566+0 records in
1566+0 records out
1603584 bytes transferred in 0.030 secs (53452800 bytes/sec)
1045+1 records in
1045+1 records out
1070668 bytes transferred in 0.020 secs (53533400 bytes/sec)
- Unpacking boot image
Parsing boot image: [/data/user_de/0/com.topjohnwu.magisk/install/boot.img]
HEADER_VER [0]
KERNEL_SZ [10251215]
RAMDISK_SZ [1508130]
SECOND_SZ [0]
EXTRA_SZ [0]
OS_VERSION [9.0.0]
OS_PATCH_LEVEL [2019-05]
PAGESIZE [2048]
NAME []
CMDLINE [console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom androidboot.memcg=false user_debug=30 msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlycon=msm_hsl_uart,0x78B0000 firmware_class.path=/vendor/firmware_mnt/image loop.max_part=7 vmalloc=400M buildvariant=user]
CHECKSUM [77549a9032634b395110bb3a9eb0227033621915000000000000000000000000]
KERNEL_DTB [896823]
KERNEL_FMT [raw]
RAMDISK_FMT [gzip]
- Checking ramdisk status
Loading cpio: [ramdisk.cpio]
- Stock boot image detected
- Backing up stock boot image
- Patching ramdisk
Loading cpio: [ramdisk.cpio]
Add entry [init] (0750)
Patch with flag KEEPVERITY=[false] KEEPFORCEENCRYPT=[true]
Remove [verity_key]
Loading cpio: [ramdisk.cpio.orig]
Backup mismatch entry: [init] -> [.backup/init]
Backup missing entry: [verity_key] -> [.backup/verity_key]
Create directory [.backup] (0000)
Add entry [.backup/.magisk] (0000)
Dump cpio: [ramdisk.cpio]
Loading dtbs from [kernel_dtb]
Found fstab in dtb.0000
Found entry [system] in fstab
Found pattern [,verify]
Found entry [vendor] in fstab
Found pattern [,verify]
Found fstab in dtb.0001
Found entry [system] in fstab
Found pattern [,verify]
Found entry [vendor] in fstab
Found pattern [,verify]
Found fstab in dtb.0002
Found entry [system] in fstab
Found pattern [,verify]
Found entry [vendor] in fstab
Found pattern [,verify]
Found fstab in dtb.0003
Found entry [system] in fstab
Found pattern [,verify]
Found entry [vendor] in fstab
Found pattern [,verify]
- Patching fstab in kernel_dtb
- Repacking boot image
Parsing boot image: [/data/user_de/0/com.topjohnwu.magisk/install/boot.img]
HEADER_VER [0]
KERNEL_SZ [10251215]
RAMDISK_SZ [1508130]
SECOND_SZ [0]
EXTRA_SZ [0]
OS_VERSION [9.0.0]
OS_PATCH_LEVEL [2019-05]
PAGESIZE [2048]
NAME []
CMDLINE [console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom androidboot.memcg=false user_debug=30 msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlycon=msm_hsl_uart,0x78B0000 firmware_class.path=/vendor/firmware_mnt/image loop.max_part=7 vmalloc=400M buildvariant=user]
CHECKSUM [77549a9032634b395110bb3a9eb0227033621915000000000000000000000000]
KERNEL_DTB [896823]
KERNEL_FMT [raw]
RAMDISK_FMT [gzip]
Repack to boot image: [new-boot.img]
HEADER_VER [0]
KERNEL_SZ [10247087]
RAMDISK_SZ [1770428]
SECOND_SZ [0]
EXTRA_SZ [0]
OS_VERSION [9.0.0]
OS_PATCH_LEVEL [2019-05]
PAGESIZE [2048]
NAME []
CMDLINE [console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom androidboot.memcg=false user_debug=30 msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlycon=msm_hsl_uart,0x78B0000 firmware_class.path=/vendor/firmware_mnt/image loop.max_part=7 vmalloc=400M buildvariant=user]
CHECKSUM [3a228177359924a940499d2a84e7dcc6ec41deca000000000000000000000000]
- Signing boot image with verity keys
****************************
Output file is placed in
/storage/emulated/0/Download/magisk_patched.img
****************************
- All done!
Click to expand...
Click to collapse
What did u do to fix this?? Cuz that's exactly what mine is doing but I can't get it to open fastboot

Can't uninstall magisk from app and don't know how to remove from recovery ?

I want to remove magisk but the app Is giving me a error .
Archive: /data/app/~~tutImlQSYocss6oHBSDHwQ==/com.topjohnwu.magisk-Xwwf52VQn-k0XDsagXa8Tg==/base.apk
inflating: assets/addon.d.sh
inflating: assets/boot_patch.sh
inflating: assets/bootctl
inflating: assets/chromeos/futility
inflating: assets/chromeos/kernel.keyblock
inflating: assets/chromeos/kernel_data_key.vbprivk
inflating: assets/dexopt/baseline.prof
inflating: assets/dexopt/baseline.profm
inflating: assets/main.jar
inflating: assets/module_installer.sh
inflating: assets/uninstaller.sh
inflating: assets/util_functions.sh
inflating: lib/arm64-v8a/libbusybox.so
inflating: lib/arm64-v8a/libmagisk64.so
inflating: lib/arm64-v8a/libmagiskboot.so
inflating: lib/arm64-v8a/libmagiskinit.so
inflating: lib/arm64-v8a/libmagiskpolicy.so
inflating: lib/armeabi-v7a/libbusybox.so
inflating: lib/armeabi-v7a/libmagisk32.so
inflating: lib/armeabi-v7a/libmagiskboot.so
inflating: lib/armeabi-v7a/libmagiskinit.so
inflating: lib/armeabi-v7a/libmagiskpolicy.so
inflating: lib/x86/libbusybox.so
inflating: lib/x86/libmagisk32.so
inflating: lib/x86/libmagiskboot.so
inflating: lib/x86/libmagiskinit.so
inflating: lib/x86/libmagiskpolicy.so
inflating: lib/x86_64/libbusybox.so
inflating: lib/x86_64/libmagisk64.so
inflating: lib/x86_64/libmagiskboot.so
inflating: lib/x86_64/libmagiskinit.so
inflating: lib/x86_64/libmagiskpolicy.so
************************************
Magisk 38ab6858(25203) Uninstaller
************************************
- Device is system-as-root
- Target image: /dev/block/mmcblk0p34
Parsing boot image: [/dev/block/mmcblk0p34]
HEADER_VER [2]
KERNEL_SZ [10222845]
RAMDISK_SZ [1726165]
SECOND_SZ [0]
RECOV_DTBO_SZ [0]
DTB_SZ [182301]
OS_VERSION [12.0.0]
OS_PATCH_LEVEL [2022-07]
PAGESIZE [2048]
NAME []
CMDLINE [bootopt=64S3,32N2,64N2 buildvariant=user]
CHECKSUM [071b1aea9805bf8e6ddfefeca9f017e956000ddc000000000000000000000000]
- Device platform: arm64-v8a
KERNEL_FMT [gzip]
RAMDISK_FMT [gzip]
VBMETA
- Unpacking boot image
- Checking ramdisk status
Loading cpio: [ramdisk.cpio]
Loading cpio: [ramdisk.cpio]
Remove [.backup]
Remove [.backup/.magisk]
Remove [overlay.d]
Remove [overlay.d/sbin]
Remove [overlay.d/sbin/magisk32.xz]
Remove [overlay.d/sbin/magisk64.xz]
Remove [.backup/.rmlist]
Move [.backup/init] -> [init]
Dump cpio: [ramdisk.cpio]
Loading cpio: [ramdisk.cpio]
Parsing boot image: [/dev/block/mmcblk0p34]
HEADER_VER [2]
KERNEL_SZ [10222845]
RAMDISK_SZ [1726165]
SECOND_SZ [0]
RECOV_DTBO_SZ [0]
DTB_SZ [182301]
OS_VERSION [12.0.0]
OS_PATCH_LEVEL [2022-07]
PAGESIZE [2048]
NAME []
CMDLINE [bootopt=64S3,32N2,64N2 buildvariant=user]
CHECKSUM [071b1aea9805bf8e6ddfefeca9f017e956000ddc000000000000000000000000]
- Magisk patched image detected
KERNEL_FMT [gzip]
RAMDISK_FMT [gzip]
VBMETA
Repack to boot image: [new-boot.img]
! Boot image backup unavailable
- Restoring ramdisk with internal backup
HEADER_VER [2]
KERNEL_SZ [10222845]
RAMDISK_SZ [1278421]
SECOND_SZ [0]
RECOV_DTBO_SZ [0]
DTB_SZ [182301]
OS_VERSION [12.0.0]
OS_PATCH_LEVEL [2022-07]
PAGESIZE [2048]
NAME []
CMDLINE [bootopt=64S3,32N2,64N2 buildvariant=user]
CHECKSUM [7b90c9364313429b3eaa77494a7805cbc88249c3000000000000000000000000]
- Flashing restored boot image
blockdev: /dev/block/mmcblk0p34: Permission denied
! Insufficient partition size
Pls help me with this or provide me a solution to remove from custom recovery pls.
gaurav_t said:
I want to remove magisk but the app Is giving me a error .
Archive: /data/app/~~tutImlQSYocss6oHBSDHwQ==/com.topjohnwu.magisk-Xwwf52VQn-k0XDsagXa8Tg==/base.apk
inflating: assets/addon.d.sh
inflating: assets/boot_patch.sh
inflating: assets/bootctl
inflating: assets/chromeos/futility
inflating: assets/chromeos/kernel.keyblock
inflating: assets/chromeos/kernel_data_key.vbprivk
inflating: assets/dexopt/baseline.prof
inflating: assets/dexopt/baseline.profm
inflating: assets/main.jar
inflating: assets/module_installer.sh
inflating: assets/uninstaller.sh
inflating: assets/util_functions.sh
inflating: lib/arm64-v8a/libbusybox.so
inflating: lib/arm64-v8a/libmagisk64.so
inflating: lib/arm64-v8a/libmagiskboot.so
inflating: lib/arm64-v8a/libmagiskinit.so
inflating: lib/arm64-v8a/libmagiskpolicy.so
inflating: lib/armeabi-v7a/libbusybox.so
inflating: lib/armeabi-v7a/libmagisk32.so
inflating: lib/armeabi-v7a/libmagiskboot.so
inflating: lib/armeabi-v7a/libmagiskinit.so
inflating: lib/armeabi-v7a/libmagiskpolicy.so
inflating: lib/x86/libbusybox.so
inflating: lib/x86/libmagisk32.so
inflating: lib/x86/libmagiskboot.so
inflating: lib/x86/libmagiskinit.so
inflating: lib/x86/libmagiskpolicy.so
inflating: lib/x86_64/libbusybox.so
inflating: lib/x86_64/libmagisk64.so
inflating: lib/x86_64/libmagiskboot.so
inflating: lib/x86_64/libmagiskinit.so
inflating: lib/x86_64/libmagiskpolicy.so
************************************
Magisk 38ab6858(25203) Uninstaller
************************************
- Device is system-as-root
- Target image: /dev/block/mmcblk0p34
Parsing boot image: [/dev/block/mmcblk0p34]
HEADER_VER [2]
KERNEL_SZ [10222845]
RAMDISK_SZ [1726165]
SECOND_SZ [0]
RECOV_DTBO_SZ [0]
DTB_SZ [182301]
OS_VERSION [12.0.0]
OS_PATCH_LEVEL [2022-07]
PAGESIZE [2048]
NAME []
CMDLINE [bootopt=64S3,32N2,64N2 buildvariant=user]
CHECKSUM [071b1aea9805bf8e6ddfefeca9f017e956000ddc000000000000000000000000]
- Device platform: arm64-v8a
KERNEL_FMT [gzip]
RAMDISK_FMT [gzip]
VBMETA
- Unpacking boot image
- Checking ramdisk status
Loading cpio: [ramdisk.cpio]
Loading cpio: [ramdisk.cpio]
Remove [.backup]
Remove [.backup/.magisk]
Remove [overlay.d]
Remove [overlay.d/sbin]
Remove [overlay.d/sbin/magisk32.xz]
Remove [overlay.d/sbin/magisk64.xz]
Remove [.backup/.rmlist]
Move [.backup/init] -> [init]
Dump cpio: [ramdisk.cpio]
Loading cpio: [ramdisk.cpio]
Parsing boot image: [/dev/block/mmcblk0p34]
HEADER_VER [2]
KERNEL_SZ [10222845]
RAMDISK_SZ [1726165]
SECOND_SZ [0]
RECOV_DTBO_SZ [0]
DTB_SZ [182301]
OS_VERSION [12.0.0]
OS_PATCH_LEVEL [2022-07]
PAGESIZE [2048]
NAME []
CMDLINE [bootopt=64S3,32N2,64N2 buildvariant=user]
CHECKSUM [071b1aea9805bf8e6ddfefeca9f017e956000ddc000000000000000000000000]
- Magisk patched image detected
KERNEL_FMT [gzip]
RAMDISK_FMT [gzip]
VBMETA
Repack to boot image: [new-boot.img]
! Boot image backup unavailable
- Restoring ramdisk with internal backup
HEADER_VER [2]
KERNEL_SZ [10222845]
RAMDISK_SZ [1278421]
SECOND_SZ [0]
RECOV_DTBO_SZ [0]
DTB_SZ [182301]
OS_VERSION [12.0.0]
OS_PATCH_LEVEL [2022-07]
PAGESIZE [2048]
NAME []
CMDLINE [bootopt=64S3,32N2,64N2 buildvariant=user]
CHECKSUM [7b90c9364313429b3eaa77494a7805cbc88249c3000000000000000000000000]
- Flashing restored boot image
blockdev: /dev/block/mmcblk0p34: Permission denied
! Insufficient partition size
Pls help me with this or provide me a solution to remove from custom recovery pls.
Click to expand...
Click to collapse
You have to flash the original boot.img using fastboot
Manjotbenipal said:
You have to flash the original boot.img using fastboot
Click to expand...
Click to collapse
Hey thanks for the reply may I have your discord id or we can chat related to this because am a new person in rooting things .

How can i unroot the redmi note 9 without losing data? Unable to uninstall magisk

Am currently using the Redmi Note 9 EEA on version MIUI V12.5.4.0.RJOEUXM. it is ROOTED
I would like to update to the latest firmware without losing data but after research, it seems it not the best option.
i have opted for unrooting it since its the safer option without losing data
When i try to uninstall magisk, I get the following error:
- Flashing restored boot image
blockdev: /dev/block/mmcblk0p34: Permission denied
! Insufficient partition size
Archive: /data/app/~~VJ8daJ24VbUJiPikOrNRTg==/com.topjohnwu.magisk-hOWN-QD-FCuN_J7BQL9lxg==/base.apk
inflating: assets/addon.d.sh
inflating: assets/boot_patch.sh
inflating: assets/bootctl
inflating: assets/chromeos/futility
inflating: assets/chromeos/kernel.keyblock
inflating: assets/chromeos/kernel_data_key.vbprivk
inflating: assets/dexopt/baseline.prof
inflating: assets/dexopt/baseline.profm
inflating: assets/main.jar
inflating: assets/module_installer.sh
inflating: assets/uninstaller.sh
inflating: assets/util_functions.sh
inflating: lib/arm64-v8a/libbusybox.so
inflating: lib/arm64-v8a/libmagisk64.so
inflating: lib/arm64-v8a/libmagiskboot.so
inflating: lib/arm64-v8a/libmagiskinit.so
inflating: lib/arm64-v8a/libmagiskpolicy.so
inflating: lib/armeabi-v7a/libbusybox.so
inflating: lib/armeabi-v7a/libmagisk32.so
inflating: lib/armeabi-v7a/libmagiskboot.so
inflating: lib/armeabi-v7a/libmagiskinit.so
inflating: lib/armeabi-v7a/libmagiskpolicy.so
inflating: lib/x86/libbusybox.so
inflating: lib/x86/libmagisk32.so
inflating: lib/x86/libmagiskboot.so
inflating: lib/x86/libmagiskinit.so
inflating: lib/x86/libmagiskpolicy.so
inflating: lib/x86_64/libbusybox.so
inflating: lib/x86_64/libmagisk64.so
inflating: lib/x86_64/libmagiskboot.so
inflating: lib/x86_64/libmagiskinit.so
inflating: lib/x86_64/libmagiskpolicy.so
*************************
Magisk 25.2 Uninstaller
*************************
- Device is system-as-root
- Target image: /dev/block/mmcblk0p34
Parsing boot image: [/dev/block/mmcblk0p34]
HEADER_VER [2]
KERNEL_SZ [10155446]
RAMDISK_SZ [1294962]
SECOND_SZ [0]
RECOV_DTBO_SZ [0]
DTB_SZ [181267]
OS_VERSION [11.0.0]
OS_PATCH_LEVEL [2022-01]
PAGESIZE [2048]
NAME []
CMDLINE [bootopt=64S3,32N2,64N2 buildvariant=user]
CHECKSUM [192ce3c704b8c28f2d4d53edfe21ca4aef04c44c000000000000000000000000]
- Device platform: arm64-v8a
KERNEL_DTB_SZ [181203]
KERNEL_FMT [gzip]
RAMDISK_FMT [gzip]
- Unpacking boot image
VBMETA
- Checking ramdisk status
Loading cpio: [ramdisk.cpio]
Loading cpio: [ramdisk.cpio]
Remove [.backup]
Remove [.backup/.magisk]
Remove [overlay.d]
Remove [overlay.d/sbin]
Remove [overlay.d/sbin/magisk32.xz]
Remove [overlay.d/sbin/magisk64.xz]
Remove [.backup/.rmlist]
Move [.backup/init] -> [init]
Dump cpio: [ramdisk.cpio]
Loading cpio: [ramdisk.cpio]
Parsing boot image: [/dev/block/mmcblk0p34]
- Magisk patched image detected
! Boot image backup unavailable
- Restoring ramdisk with internal backup
HEADER_VER [2]
KERNEL_SZ [10155446]
RAMDISK_SZ [1294962]
SECOND_SZ [0]
RECOV_DTBO_SZ [0]
DTB_SZ [181267]
OS_VERSION [11.0.0]
OS_PATCH_LEVEL [2022-01]
PAGESIZE [2048]
NAME []
CMDLINE [bootopt=64S3,32N2,64N2 buildvariant=user]
CHECKSUM [192ce3c704b8c28f2d4d53edfe21ca4aef04c44c000000000000000000000000]
KERNEL_DTB_SZ [181203]
KERNEL_FMT [gzip]
RAMDISK_FMT [gzip]
VBMETA
Repack to boot image: [new-boot.img]
HEADER_VER [2]
KERNEL_SZ [10155446]
RAMDISK_SZ [786693]
SECOND_SZ [0]
RECOV_DTBO_SZ [0]
DTB_SZ [181267]
OS_VERSION [11.0.0]
OS_PATCH_LEVEL [2022-01]
PAGESIZE [2048]
NAME []
CMDLINE [bootopt=64S3,32N2,64N2 buildvariant=user]
CHECKSUM [23c6164a94df8b795b1958f52d5cd30aa3ecbbe8000000000000000000000000]
- Flashing restored boot image
blockdev: /dev/block/mmcblk0p34: Permission denied
! Insufficient partition size

Categories

Resources