[Help] I can not flashing Magisk on TWRP (ERROR: 1) - Android Q&A, Help & Troubleshooting

==> I using:
- Xiaomi Redmi Note 4 (mido)
- Custom Rom (Resurrection Remix v6.10)
- Android 8.1
==> I can not flashing Magisk on TWRP 3.2.2.0. Error details are:
******************************
* Magisk v16.0 installer
******************************
- Mounting /system, /vendor
! Cannot mount /vendor
- Unmounting partitions
Update process ended with ERROR: 1
Error installing zip file '/sdcard/Magisk-v16.0.zip'
Updating patition details...
...done
==> I have flashed file boot.img and flash Magisk-v16.0.zip again but failed.
I do not know what to do next. Please everyone help me!
Thank you Everyone!!!:fingers-crossed::laugh:

Related

[Help me!] Internal sd can't mount, unable to flash new rom via adb sideload

Couple months ago, I tried to flash Android 6.0 on my S2 i9100 but it only recognized the first partition (2gb ) but the rest 14gb no. [ Sure, I did wipe cache partition, dalvik cache, data ]
So, I did some format with adb shell ( I deleted FactoryFS, Data, UMS partitions and change the format type to Fat32) and copied to internal storage. When I install it ( it takes like 3-5 minutes) and get this error
|Warning: No file_contextsdetected filesysstem ext4 for /dev/block/mmcblk0p9
| mount: failed to mount /dev/block/mmcblk0p9 at /system: Device or resource busy
| detected filesystem ext4 for /dev/block/mmcblk0p9 It stuck here for a while
ApplyParsedPerms: lsetfilecon of /system/lost+found to ubject_r: system_file: s0 failed: Operation on not supported on transport endpoint
set_metadata_recursive: some changes failed
E: Error in /emmc/cm12.... (status 7)
Installation aborted
press any key to continue.
After that, I tried again with Odin, I used Stock PIT and 12gb PIT ver to install Rom, still get the error above. Even when I use Odin to flash new Rom, Odin get stopped working.
[ I have tried many versions of CWM, Philz, TWRP,... but still Can't mount /sdcard ]
So how can I fix this problem?
Thanks for reading and helping me. Also sorry for my bad English.

Error when flashing an update.zip file

When trying to flash An update.zip file with twrp I got the following error log:
Updating partition details...
*in red* E: Unable to mount '/system'
...done
Full SELinux support is present.
MTP Enabled
Installing '/sdcard/update.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
Error flashing zip '/sdcard/update.zip'
Any help?

Cannot Install Magisk - twrp unmount of system failed resource busy

Hello
Can anyone suggest some help, I cannot install magisk on my z3c tablet
I used this guide to install twrp, rooted 6.0.1
https://forum.xda-developers.com/z3...torial-stock-android-marshmallow-6-0-t3409486
I backed up my DRM keys and then proceeded to unlock the bootloader.
Then I used full unroot inside SuperSu
I constructed the magisk flash file using Boot Bridge for Sony ELF
when I boot into twrp and try to flash the magisk file I get the following
Code:
Magisk v14.0 Installer
**********************
- Mounting /system, /vendor, /cache, /data
- Device platform: arm
- Constructing environment
- Found Boot Image: /dev/block/mmcblk0p14
- Unpacking boot image
- Checking ramdisk status
- Magisk patched image detected!
- Ramdisk restored from internal backup
- Patching ramdisk
- Repacking boot image
- Flashing new boot image
- Unmounting partitions
- Done
- Restoring the boot bridge...
- Cleaning temporary files...
installation completed!
script succeeded: result was [ ]
Updating partition details...
Failed to mount '/system' (Device or resource busy)
...done
Magisk manager is saying that Magisk is not installed, so I guess the above failed to mount system is the problem ??
Any suggestions on what to try
Thanks
S8utt
s8utt said:
Hello
Can anyone suggest some help, I cannot install magisk on my z3c tablet
I used this guide to install twrp, rooted 6.0.1
https://forum.xda-developers.com/z3...torial-stock-android-marshmallow-6-0-t3409486
I backed up my DRM keys and then proceeded to unlock the bootloader.
Then I used full unroot inside SuperSu
I constructed the magisk flash file using Boot Bridge for Sony ELF
when I boot into twrp and try to flash the magisk file I get the following
Code:
Magisk v14.0 Installer
**********************
- Mounting /system, /vendor, /cache, /data
- Device platform: arm
- Constructing environment
- Found Boot Image: /dev/block/mmcblk0p14
- Unpacking boot image
- Checking ramdisk status
- Magisk patched image detected!
- Ramdisk restored from internal backup
- Patching ramdisk
- Repacking boot image
- Flashing new boot image
- Unmounting partitions
- Done
- Restoring the boot bridge...
- Cleaning temporary files...
installation completed!
script succeeded: result was [ ]
Updating partition details...
Failed to mount '/system' (Device or resource busy)
...done
Magisk manager is saying that Magisk is not installed, so I guess the above failed to mount system is the problem ??
Any suggestions on what to try
Thanks
S8utt
Click to expand...
Click to collapse
Hey mind did you get this working?
Nope
I have a similar problem the workaround is to wipe system cache a dalvik then flash rom gapps and magisk. However this loses data. I will try uninstalling magisk before installing builds.

phone works but unable to flash zip after upgrading recovery to TWRP 3.2.1-1

Hello All,
I have a problem where TWRP is not able to mount /data, although the device still works without any other problems. It has happened when i upgrade the TWRP recovery from 3.2.1-0 to 3.2.1-1
This is preventing me to install Magis modules unfortunately.
I have a OOS Open BETA 1 for the Oneplus 5T.
Here's the log:
Code:
[COLOR="Red"]Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (No such device)
Unable to recreate /data/media folder.[/COLOR]
Updating partition details...
[COLOR="red"]Failed to mount '/data' (No such device)
Failed to mount '/preload' (Invalid argument)[/COLOR]
...done
Full SELinux support is present.

can not install TWRP 3.3.0 on Android Q beta 4

how can I install TWRP 3.3.0 on android Q beta 4?
I tried the following commands to install twrp 3.3.0 on pixel 2 and failed.
1. adb reboot bootloader
2. fastboot boot ~/Downloads/twrp-3.3.0-0-walleye.img
once I am in TWRP screen,
3. adb push ~/Downloads/twrp-pixel2-installer-walleye-3.3.0-0.zip /
4. install the zip file of twrp while in TWRP
Installing zip file show error message on Android Q beta 3 and 4. But not on beta 2.
Failed to mount '/system' (Invalid argument)
Failed to mount '/vendor' (Invalid argument)
Appreciate your help.
android_ddtt said:
how can I install TWRP 3.3.0 on android Q beta 4?
I tried the following commands to install twrp 3.3.0 on pixel 2 and failed.
1. adb reboot bootloader
2. fastboot boot ~/Downloads/twrp-3.3.0-0-walleye.img
once I am in TWRP screen,
3. adb push ~/Downloads/twrp-pixel2-installer-walleye-3.3.0-0.zip /
4. install the zip file of twrp while in TWRP
Installing zip file show error message on Android Q beta 3 and 4. But not on beta 2.
Failed to mount '/system' (Invalid argument)
Failed to mount '/vendor' (Invalid argument)
Appreciate your help.
Click to expand...
Click to collapse
So why not do
Code:
fastboot flash recovery /Downloads/twrp-3.3.0-0-walleye.img
Then do
Fastboot reboot
Then use button combo to get to twrp.
Usually volume_up plus power for 5 seconds.
Maybe this helps.

Categories

Resources