Magisk doesn't work - Xiaomi Poco F1 Questions & Answers

Flashed Magisk via TWRP, Magisk seems fine and root is working fine but whenever I try to install a module it says (!) /data/adb/magisk_merge.img mount failed... abort ! Installation failed
Copying zip to temp directory
- Installing Magisk_Manager_for_Recovery_Mode_(mm)-2018.8.1.zip
Archive: /data/user/0/com.topjohnwu.magisk/cache/install.zip
inflating: module.prop
update-binary: line 192: make_ext4fs: not found
losetup: /data/adb/magisk_merge.img: No such file or directory
losetup: /data/adb/magisk_merge.img: No such file or directory
losetup: /data/adb/magisk_merge.img: No such file or directory
Magisk Manager for Recovery Mode (mm) (mm) 2018.8.1
VR25 @ xda-developers
Powered by Magisk (@topjohnwu)
- Creating /data/adb/magisk_merge.img with size 64M
- Mounting /data/adb/magisk_merge.img to /dev/tmp/magisk_img
losetup: /data/adb/magisk_merge.img: No such file or directory
losetup: /data/adb/magisk_merge.img: No such file or directory
losetup: /data/adb/magisk_merge.img: No such file or directory
losetup: /data/adb/magisk_merge.img: No such file or directory
losetup: /data/adb/magisk_merge.img: No such file or directory
(!) /data/adb/magisk_merge.img mount failed... abort
! Installation failed
Couldn't hook log on mobile so I copied it
Thanks

Reflash magisk again

Nico1300 said:
Flashed Magisk via TWRP, Magisk seems fine and root is working fine but whenever I try to install a module it says (!) /data/adb/magisk_merge.img mount failed... abort ! Installation failed
Click to expand...
Click to collapse
It would be really useful if you added :
1. The rom you're on
2. Magisk version
3. Magisk manager version
4. The module you're trying to install
5. Have you tried any other modules

Related

Help MultiROM

This MultiROM trying to install but I get the following error:
Log
Installing '/external_sd/multirom-20140903-v28-UNOFFICIAL-condor.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
Installing MultiROM for condor
Extracting binaries...
about to run program [/sbin/busybox] with 3 args
mount: mounting /dev/block/mmcblk0p36 on /data failed: Device or resource busy
run_program: child exited with status 255
about to run program [/sbin/busybox] with 3 args
minzip: Extracted 40 file(s)
minzip: Extracted 6 file(s)
about to run program [/tmp/extract_multirom.sh] with 1 args
mkdir: can't create directory '/data/media/0/multirom': Permission denied
chown: /data/media/0/multirom: No such file or directory
chmod: /data/media/0/multirom: No such file or directory
mkdir: can't create directory '/data/media/0/multirom/roms': No such file or directory
chown: /data/media/0/multirom/roms: No such file or directory
chmod: /data/media/0/multirom/roms: No such file or directory
touch: /data/media/0/multirom/.nomedia: No such file or directory
chown: /data/media/0/multirom/.nomedia: No such file or directory
rm: can't remove '/data/media/0/multirom/boot.img-ubuntu*': No such file or directory
rm: can't remove '/data/media/0/multirom/infos/*': No such file or directory
rm: can't remove '/data/media/0/multirom/res/*': No such file or directory
cp: can't create '/data/media/0/multirom/adbd': No such file or directory
cp: can't create '/data/media/0/multirom/busybox': No such file or directory
cp: can't create '/data/media/0/multirom/exfat-fuse': No such file or directory
cp: can't create '/data/media/0/multirom/fw_mounter': No such file or directory
cp: can't create directory '/data/media/0/multirom/icons': No such file or directory
cp: can't create '/data/media/0/multirom/kexec': No such file or directory
cp: can't create '/data/media/0/multirom/lz4': No such file or directory
cp: can't create '/data/media/0/multirom/mrom.fstab': No such file or directory
cp: can't create '/data/media/0/multirom/multirom': No such file or directory
cp: can't create '/data/media/0/multirom/ntfs-3g': No such file or directory
cp: can't create directory '/data/media/0/multirom/res': No such file or directory
cp: can't create '/data/media/0/multirom/trampoline': No such file or directory
cp: can't create directory '/data/media/0/multirom/ubuntu-init': No such file or directory
cp: can't create directory '/data/media/0/multirom/ubuntu-touch-init': No such file or directory
cp: can't create directory '/data/media/0/multirom/ubuntu-touch-sysimage-init': No such file or directory
chmod: /data/media/0/multirom/multirom: No such file or directory
chmod: /data/media/0/multirom/busybox: No such file or directory
chmod: /data/media/0/multirom/trampoline: No such file or directory
chmod: /data/media/0/multirom/kexec: No such file or directory
chmod: /data/media/0/multirom/ntfs-3g: No such file or directory
chmod: /data/media/0/multirom/exfat-fuse: No such file or directory
chmod: /data/media/0/multirom/lz4: No such file or directory
chmod: /data/media/0/multirom/ubuntu-init/init: No such file or directory
chmod: /data/media/0/multirom/ubuntu-init/local: No such file or directory
chmod: /data/media/0/multirom/ubuntu-touch-init/init: No such file or directory
chmod: /data/media/0/multirom/ubuntu-touch-init/scripts/touch: No such file or directory
chmod: /data/media/0/multirom/ubuntu-touch-sysimage-init/init: No such file or directory
chmod: /data/media/0/multirom/ubuntu-touch-sysimage-init/scripts/touch: No such file or directory
chmod: /data/media/0/multirom: No such file or directory
chown: /data/media/0/multirom: No such file or directory
run_program: child exited with status 1
script aborted: assert failed: run_program("/tmp/extract_multirom.sh") == 0
assert failed: run_program("/tmp/extract_multirom.sh") == 0
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/external_sd/multirom-20140903-v28-UNOFFICIAL-condor.zip'
Error flashing zip '/external_sd/multirom-20140903-v28-UNOFFICIAL-condor.zip
Now edit the build.prop but I get the same error also delete the first lines of updater.script and follows me out the same. I just worked with me but I want to install cm11 in stock
Sorry for my bad English
Which rom you are using as a primary rom
prajapati ravi said:
Which rom you are using as a primary rom
Click to expand...
Click to collapse
I'm using the stock
Then whats the problem add the cm11 and reboot
---------- Post added at 01:20 AM ---------- Previous post was at 01:16 AM ----------
magdeoz said:
I'm using the stock
Click to expand...
Click to collapse
If you use stock as primary rom then will not get any issue's if still get it then you doing something wrong with your hand

Trying to edit /system/etc/gps.conf - EROFS

I want to edit /system/etc/gps.conf on my Hudl 2 tablet. I have rooted the tablet. I am currently unable to save changes with the following error message given by X-plore file manager:
Code:
Error!
Can't write file: /system/etc/gps.conf
open failed: EROFS (Read-only file system)

[Q] Rooted KK and not-working AdAway

Hi
I have problem with using AdAway on my Z3TC.
I have successfully rooted my device. Now I'm on stock KK with root and locked back BL.
I installed AdAway but it doesn't want to work. There is problem with hosts file.
I found that I have to change permissions for /system to -rw-rw-rw and for file host too. But the problem is I can't. When I'm trying to change permissions I got info: Changing permissions was not successful. And it doesn't matter what Explorer I use.
Any ideas? Of course there is root permission for explorer... May the locked Bootloader be the problem (I doubt...)
To write in system you have to install from the recovery ricdefeat
https://github.com/dosomder/SonyRICDefeat/blob/master/RICDefeat.zip
I didn't installed TWRP after relocking BL.
I tried now and there is another problem (looks similar)
Code:
##########################################################
#
# Installing XZDR version 2.8.3 RELEASE
#
#####
Temporarily disabling the RIC service, remount rootfs and /system writable to al
low installation.
mount: permission denied (are you root?)
mount: permission denied (are you root?)
mount: permission denied (are you root?)
Copy recovery files to system.
cp: can't create '/system/bin/recovery.twrp.cpio.lzma': Read-only file system
cp: can't create '/system/bin/recovery.cwm.cpio.lzma': Read-only file system
cp: can't create '/system/bin/recovery.philz.cpio.lzma': Read-only file system
chmod: /system/bin/recovery.twrp.cpio.lzma: No such file or directory
chmod: /system/bin/recovery.cwm.cpio.lzma: No such file or directory
chmod: /system/bin/recovery.philz.cpio.lzma: No such file or directory
Rename stock mr
mv: can't rename '/system/bin/mr': Read-only file system
Rename stock chargemon
mv: can't rename '/system/bin/chargemon': Read-only file system
Copy chargemon script to system.
cp: can't create '/system/bin/chargemon': File exists
chmod: /system/bin/chargemon: Read-only file system
Copy dualrecovery.sh to system.
cp: can't create '/system/bin/dualrecovery.sh': Read-only file system
chmod: /system/bin/dualrecovery.sh: No such file or directory
Copy rickiller.sh to system.
cp: can't create '/system/bin/rickiller.sh': Read-only file system
chmod: /system/bin/rickiller.sh: No such file or directory
Installing NDRUtils to system.
cp: can't create '/system/app/NDRUtils.apk': Read-only file system
chmod: /system/app/NDRUtils.apk: No such file or directory
Copy disableric to system.
cp: can't create '/system/xbin/disableric': Read-only file system
chmod: /system/xbin/disableric: No such file or directory
Creating /system/.XZDualRecovery to store a backup copy of busybox.
mkdir failed for /system/.XZDualRecovery, Read-only file system
Copy busybox to system.
cp: can't create '/system/xbin/busybox': Read-only file system
cp: can't create '/system/.XZDualRecovery/': Is a directory
chmod: /system/xbin/busybox: No such file or directory
chmod: /system/.XZDualRecovery/busybox: No such file or directory
Trying to find and update the gpio-keys event node.
Found and will be using /dev/input/event3!
Trying to find and update the power key event node.
Found and will be monitoring /dev/input/event2!
Speeding up backups.
Make sure firstboot goes to recovery.
=============================================
DEVICE WILL NOW TRY A DATA SAFE REBOOT!
=============================================
=============================================
Your installation has already cleaned up after
itself if you see the install.bat/install.sh exit.
=============================================
/system/bin/sh: /system/xbin/busybox: not found
=============================================
Installation finished. Enjoy the recoveries!
ADB asked for root permission during installation, I agreed.
And after all recovery is not installed...
I see where the problem is. You can not write in system because you need ricdefeat, but to install XZDualRecovery and flash from there ricdefeat need to write in "system"
I'm afraid you have to start over. Is necessary Flash Ricdefeat from the TWRP recovery before it is erased.
Read here (where it says "To install rooted Stock"):
http://forum.xda-developers.com/z3-...t/root-root-locked-bootloader-sgp621-t3013534 (relatively speaking there nicely explains the steps to take and what order , replace firmware sgp621 -> sgp611)
or my tutorial in Spanish I did not know if you know the language:
http://www.htcmania.com/showthread.php?t=966040 (Part B)
---
I will try to explain what I would do, I'm using google translator if not understood:
1- unlock bootloader
2- install advanced stock kernel
3- Now there are two options:
** 3A) Create pre-rooted firmware. Copy firmware pre-rooted and ricdefeat.zip on the tablet. Login to TWRP and flash firmware then ricdefeat, and restart at the end.
** 3B) Copy to tablet the ricdefeat file. Go to TWRP recovery, flash ricdefeat and restart. With flashtool , install on the tablet only the kernel, using the original firmware.
4- Start android and restore TA
5- Install XYDualRecovery to have a custom recovery

Problem in creating ROM MM

Hi, i have base rom (aosp android 6.0.1) and i want add some app to my rom. For this i extract cm13 rom.zip with winrar and unpack system.new.dat with SYSTEM EXTRACTOR v3 and add my apps and repack it and after create a zip file name " update.zip" and sign it [adapted xda University guide ]. Now i want flash that with twrp 3 and show this
Installing zip file '/external_sd/AOSP-RRO-6.0.1-20160417-huashan-adriandc.zip' Checking for MD5 file... Skipping MD5 check: no MD5 file found I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts I:Legacy property environment initialized. Target: Sony/C5303/C5303:4.3/12.1.A.1.207/Nvt_nw:user/release-keys minzip: Extracted 0 file(s) about to run program [/tmp/install/bin/otasigcheck.sh] with 1 args run_program: execv failed: No such file or directory run_program: child exited with status 1 performing update blockimg version is 1 erasing 524288 blocks BLKDISCARD ioctl failed: Invalid argument Patching system image unconditionally... failed to execute command [erase 2,0,524288 ] Verifying the updated system image... script aborted: system partition has unexpected contents after OTA update system partition has unexpected contents after OTA update Updater process ended with ERROR: 7 I:Legacy property environment disabled. Error installing zip file '/external_sd/AOSP-RRO-6.0.1-20160417-huashan-adriandc.zip'
I dont know whats Problem . Please help me
sent from Xperia™ SP | Android 6.0.1
hamed24 said:
Hi, i have base rom (aosp android 6.0.1) and i want add some app to my rom. For this i extract cm13 rom.zip with winrar and unpack system.new.dat with SYSTEM EXTRACTOR v3 and add my apps and repack it and after create a zip file name " update.zip" and sign it [adapted xda University guide ]. Now i want flash that with twrp 3 and show this
Installing zip file '/external_sd/AOSP-RRO-6.0.1-20160417-huashan-adriandc.zip' Checking for MD5 file... Skipping MD5 check: no MD5 file found I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts I:Legacy property environment initialized. Target: Sony/C5303/C5303:4.3/12.1.A.1.207/Nvt_nw:user/release-keys minzip: Extracted 0 file(s) about to run program [/tmp/install/bin/otasigcheck.sh] with 1 args run_program: execv failed: No such file or directory run_program: child exited with status 1 performing update blockimg version is 1 erasing 524288 blocks BLKDISCARD ioctl failed: Invalid argument Patching system image unconditionally... failed to execute command [erase 2,0,524288 ] Verifying the updated system image... script aborted: system partition has unexpected contents after OTA update system partition has unexpected contents after OTA update Updater process ended with ERROR: 7 I:Legacy property environment disabled. Error installing zip file '/external_sd/AOSP-RRO-6.0.1-20160417-huashan-adriandc.zip'
I dont know whats Problem . Please help me
sent from Xperia™ SP | Android 6.0.1
Click to expand...
Click to collapse
Any body can't help me !!
sent from Xperia™ SP | Android 6.0.1

Can flashfire work on VRSGPL1?

Please confirm that Flashfire work on the latest firmware for Verizon Galaxy S4 SCH-I545...
I don't want to risk it.
I guess I bricked it now that I tried...
FlashFire works fine as long as you're rooted.
Don't know how you'd brick it.
Well Flashfire requires SuperSU for the most part.
If I can remember, I tried "replace Kinguser with SuperSU" when i was on OF1, and it failed. It rebooted and SuperSU failed to install. I guess I can't take any more risks...
Here's what it says:
---------------------------------------
---------- Made By : Mr.W0lf ----------
---- Thanks @Chainfire for SuperSU ----
---------------------------------------
Failure - not installed for 0
Failure [DELETE_FAILED_INTERNAL_ERROR]
rm: /system/app/Kinguser.apk: No such file or directoryFailure - not installed for 0
rm: /data/data/com.kingroot.RushRoot: No such file or directory
rm: /data/data/com.kingroot.master: No such file or directory
chattr: stat /system/bin/ddexe: No such file or directory
rm: /system/bin/ddexe: No such file or directory
pkg: /sdcard/mrw/superuser.apk
Failure [INSTALL_FAILED_USER_RESTRICTED]
rm: /dev/reportroot: No such file or directory
chattr: stat /system/etc/install_recovery.sh: No such file or directory
rm: /system/app/Kinguser: No such file or directory
rm: /data/data-lib/king: No such file or directory
Error type 3
Error: Activity class {eu.chainfire.supersu/eu.chainfire.supersu.MainActivity} does not exist.
I guess it's the bootloader.
Kotetsukun said:
Well Flashfire requires SuperSU for the most part.
If I can remember, I tried "replace Kinguser with SuperSU" when i was on OF1, and it failed. It rebooted and SuperSU failed to install. I guess I can't take any more risks...
Here's what it says:
---------------------------------------
---------- Made By : Mr.W0lf ----------
---- Thanks @Chainfire for SuperSU ----
---------------------------------------
Failure - not installed for 0
Failure [DELETE_FAILED_INTERNAL_ERROR]
rm: /system/app/Kinguser.apk: No such file or directoryFailure - not installed for 0
rm: /data/data/com.kingroot.RushRoot: No such file or directory
rm: /data/data/com.kingroot.master: No such file or directory
chattr: stat /system/bin/ddexe: No such file or directory
rm: /system/bin/ddexe: No such file or directory
pkg: /sdcard/mrw/superuser.apk
Failure [INSTALL_FAILED_USER_RESTRICTED]
rm: /dev/reportroot: No such file or directory
chattr: stat /system/etc/install_recovery.sh: No such file or directory
rm: /system/app/Kinguser: No such file or directory
rm: /data/data-lib/king: No such file or directory
Error type 3
Error: Activity class {eu.chainfire.supersu/eu.chainfire.supersu.MainActivity} does not exist.
I guess it's the bootloader.
Click to expand...
Click to collapse
It isn't the bootloader, it means your root access didn't implement correctly... something is wrong with your kinguser.

Categories

Resources