Hovatek Forum
[Please help] Magisk Module Cannot Install - Printable Version

+- Hovatek Forum (https://forum.hovatek.com)
+-- Forum: MOBILE PHONES HELP SECTION (https://forum.hovatek.com/forum-75.html)
+--- Forum: Android (https://forum.hovatek.com/forum-76.html)
+--- Thread: [Please help] Magisk Module Cannot Install (/thread-26018.html)

Pages: 1 2 3


Magisk Module Cannot Install - Andrea Papasin - 12-13-2018

Good day guys. As per the title, I can't install modules from Magisk. I followed in this URL the steps to root my phone:


https://forum.hovatek.com/thread-21427-post-155568.html#pid155568

For example, when trying to install Universal GMS Doze Installer, the logged error looks like this:

- Copying zip to temp directory
- Installing Universal_GMS_Doze-v1.4.2_(NGI12W,_Dec_2018).zip

Unzipping files...

* Universal GMS Doze Installer

- Mounting /data, /cache
- Magisk install detected
- Mounting /system, /vendor
- Creating /data/adb/magisk_merge.img with size 64M
Creating filesystem with parameters:
    Size: 67108864
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 4096
    Inode size: 256
    Journal blocks: 1024
    Label:
    Blocks: 16384
    Block groups: 1
    Reserved block group size: 7
Created filesystem with 11/4096 inodes and 1294/16384 blocks
Create /data/adb/magisk_merge.img with size 64M e2fsck 1.42.9 (28-Dec-2013)
mount /sbin/.magisk/block/loop09->/dev/tmp/magisk_img failed with 13: Permission denied
! /data/adb/magisk_merge.img mount failed...
! Installation failed

Please help...

Additional info: I'm using an Infinix Zero 5 X603-H575A-N-IN-171103V144


RE: Magisk Module Cannot Install - freshtyt - 12-14-2018

(12-13-2018, 03:13 PM)Andrea Papasin Wrote:  Good day guys. As per the title, I can't install modules from Magisk. I followed in this URL the steps to root my phone:
https://forum.hovatek.com/thread-21427-post-155568.html#pid155568
For example, when trying to install Universal GMS Doze Installer, the logged error looks like this:
...
Additional info: I'm using an Infinix Zero 5 X603-H575A-N-IN-171103V144

do you get the error on this particular module OR all modules you try to install?

try this
download and launch terminal emulator then type and send the cmd below then see if it fixes it

Code:
ln -s /sbin/magisk /sbin/.core/mirror/bin/magisk


if it fails, then try this 
download the last zip file in the thread at https://forum.xda-developers.com/apps/magisk/guide-magisk-official-version-including-t3577875
flash the zip then update your magisk manager app to the latest stable version
lets know the outcomes


RE: Magisk Module Cannot Install - Andrea Papasin - 12-14-2018

(12-14-2018, 08:27 PM)freshtyt Wrote:  do you get the error on this particular module OR all modules you try to install?

try this
download and launch terminal emulator then type and send the cmd below then see if it fixes it

Code:
ln -s /sbin/magisk /sbin/.core/mirror/bin/magisk


if it fails, then try this 
download the last zip file in the thread at https://forum.xda-developers.com/apps/magisk/guide-magisk-official-version-including-t3577875
flash the zip then update your magisk manager app to the latest stable version
lets know the outcomes
Good day and thanks for the reply.

Yes, it's for all the modules in Magisk.

For the first one, this is what I got:

Infinix-X603:/ $ ln -s /sbin/magisk /sbin/.core/mirror/bin/magisk
ln: cannot create symbolic link from '/sbin/magisk' to '/sbin/.core/mirror/bin/magisk': File exists
1|Infinix-X603:/ $

For the second one, I don't know how to flash a .zip file without a custom recovery as there is not yet a compatible one for my phone.

Also... My phone got encrypted because of how it got rooted? I don't know...


RE: Magisk Module Cannot Install - juvette - 12-15-2018

(12-14-2018, 11:34 PM)Andrea Papasin Wrote:  Good day and thanks for the reply.

Yes, it's for all the modules in Magisk.

For the first one, this is what I got:

Infinix-X603:/ $ ln -s /sbin/magisk /sbin/.core/mirror/bin/magisk
ln: cannot create symbolic link from '/sbin/magisk' to '/sbin/.core/mirror/bin/magisk': File exists
1|Infinix-X603:/ $

For the second one, I don't know how to flash a .zip file without a custom recovery as there is not yet a compatible one for my phone.

Also... My phone got encrypted because of how it got rooted? I don't know...

Your data in encrypted by default. Port TWRP for your model using https://forum.hovatek.com/thread-21839.html then try this.

1. Boot to TWRP recovery
2. Flash MagiskUninstall.zip
3. Wipe Davilk cache
4. Flash Magisk beta, last one version 16.7.zip
5. Wipe Davlik cache
6. Reboot
7. Launch Magisk Manager and open Modules
8. Download (don't install) the 'f2fs work-around' and whatever modules you want
9. Move the modules from magisk manager folder to Download folder
10. Boot back into recovery
11. Flash the 'f2fs work-around' immediately followed by your modules
12. Reboot
13. Open Magisk Manager and check your Modules.

Sent from my Infinix X510 using Hovatek Mobile


RE: Magisk Module Cannot Install - Andrea Papasin - 12-16-2018

(12-15-2018, 05:38 PM)juvette Wrote:  Your data in encrypted by default. Port TWRP for your model using https://forum.hovatek.com/thread-21839.html then try this.

1. Boot to TWRP recovery
2. Flash MagiskUninstall.zip
3. Wipe Davilk cache
4. Flash Magisk beta, last one version 16.7.zip
5. Wipe Davlik cache
6. Reboot
7. Launch Magisk Manager and open Modules
8. Download (don't install) the 'f2fs work-around' and whatever modules you want
9. Move the modules from magisk manager folder to Download folder
10. Boot back into recovery
11. Flash the 'f2fs work-around' immediately followed by your modules
12. Reboot
13. Open Magisk Manager and check your Modules.

Sent from my Infinix X510 using Hovatek Mobile

Thanks for another reply.

I have tried porting TWRP on Windows 7 without success, but had success with Windows 10. However, after flashing the patched recovery.img using v1.0, I tried going to custom recovery, but it's just the logo that's showing and then freezes there, so I reflashed the stock recovery and it boots normally. I tried this for at least 3 times with no success of showing TWRP.

This is the same with v1.2.

v1.3 was able to go to TWRP. It was a rainbow-colored top and white on bottom screen at first, then the normal screen of TWRP, but touch was not possible so I reflashed the stock recovery.


RE: Magisk Module Cannot Install - innagee - 12-16-2018

(12-16-2018, 06:12 AM)Andrea Papasin Wrote:  
(12-15-2018, 05:38 PM)juvette Wrote:  

Your data in encrypted by default. Port TWRP for your model using https://forum.hovatek.com/thread-21839.html then try this.

1. Boot to TWRP recovery
2. Flash MagiskUninstall.zip
3. Wipe Davilk cache
4. Flash Magisk beta, last one version 16.7.zip
5. Wipe Davlik cache
6. Reboot
7. Launch Magisk Manager and open Modules
8. Download (don't install) the 'f2fs work-around' and whatever modules you want
9. Move the modules from magisk manager folder to Download folder
10. Boot back into recovery
11. Flash the 'f2fs work-around' immediately followed by your modules
12. Reboot
13. Open Magisk Manager and check your Modules.

Sent from my Infinix X510 using Hovatek Mobile


Thanks for another reply.

I have tried porting TWRP on Windows 7 without success, but had success with Windows 10. However, after flashing the patched recovery.img using v1.0, I tried going to custom recovery, but it's just the logo that's showing and then freezes there, so I reflashed the stock recovery and it boots normally. I tried this for at least 3 times with no success of showing TWRP.

This is the same with v1.2.

v1.3 was able to go to TWRP. It was a rainbow-colored top and white on bottom screen at first, then the normal screen of TWRP, but touch was not possible so I reflashed the stock recovery.

See https://forum.hovatek.com/thread-24209.html for alternatives to touch not working in TWRP.

Sent from my M5 mini using Hovatek Mobile


RE: Magisk Module Cannot Install - Andrea Papasin - 12-17-2018

(12-16-2018, 08:31 PM)innagee Wrote:  
(12-16-2018, 06:12 AM)Andrea Papasin Wrote:  
(12-15-2018, 05:38 PM)juvette Wrote:  Your data in encrypted by default. Port TWRP for your model using https://forum.hovatek.com/thread-21839.html then try this.

...

Sent from my Infinix X510 using Hovatek Mobile

Thanks for another reply.

...

See https://forum.hovatek.com/thread-24209.html for alternatives to touch not working in TWRP.

Sent from my M5 mini using Hovatek Mobile

Philz seems to be working well. However, upon just opening the recovery I get this error:

E:Can't mount /cache/recovery/log
E:Can't open /cache/recovery/log
E:Can't mount /cache/recovery/last_log
E:Can't open /cache/recovery/last_log
E:Can't mount /cache/recovery/last_install
E:Can't open /cache/recovery/last_install

I tried mounting the cache through Philz, but it's getting an error too:

E:Error mounting /cache!

I tried wiping the cache partition then mount it again, it worked. But when I tried these steps:

1. Boot to TWRP (Philz) recovery
2. Flash MagiskUninstall.zip

I got an error, I forgot to record it. But I tried flashing Magisk 16.7, it went well. After rebooting, it freezes.

I had flashed stock system at this point and it freezes at boot. I then flashed the stock ROM, boot it once to stock recovery, then flashed Philz and flashed the 18.0 version of Magisk. After being unsuccessful, I tried with 16.7, but it does not work too.

Edit: Currently, I would like the root from Magisk without the custom recovery because it's very hard to do. I even did steps from these site:
https://forum.xda-developers.com/android/development/how-to-root-infinix-x-603-systemless-t3719675
But it seems to slow down my phone. I just want the ability of installing modules beside from the root provided by Magisk.


RE: Magisk Module Cannot Install - X3non - 12-17-2018

(12-17-2018, 01:24 AM)Andrea Papasin Wrote:  Edit: Currently, I would like the root from Magisk without the custom recovery because it's very hard to do. I even did steps from these site:
https://forum.xda-developers.com/android/development/how-to-root-infinix-x-603-systemless-t3719675
But it seems to slow down my phone. I just want the ability of installing modules beside from the root provided by Magisk.

attach a screenshot of the error message you get when you try to flash using philz recovery


RE: Magisk Module Cannot Install - Andrea Papasin - 12-18-2018

(12-17-2018, 04:55 PM)X3non Wrote:  attach a screenshot of the error message you get when you try to flash using philz recovery
I don't know how to screenshot from recovery, but this is what I got from flashing MagiskUninstaller:

-- Installing: /external_sd/Magisk-uninstaller-20181208.zip
Finding update package...
Opening update package...
Installing update...
*********************
     Magisk Uninstaller
*********************
! Unable to mount partitions
- Unmounting partitions
E:Error in /external_sd/Magisk-uninstaller-20181208.zip (Status 1)
E:Installation aborted.


RE: Magisk Module Cannot Install - X3non - 12-18-2018

(12-18-2018, 02:20 AM)Andrea Papasin Wrote:  ...
E:Error in /external_sd/Magisk-uninstaller-20181208.zip (Status 1)
E:Installation aborted.

flash stock rom then boot to homescreen before you proceed to flashing and boot philz [after flashing stock, you don't need to flash magisk uninstaller anymore]

so from @hovatek's reply

1. Boot to Philz recovery
2. Skip
3. Skip
4. Flash Magisk beta, last one version 16.7.zip
5. Wipe Davlik cache
6. Reboot
7. Launch Magisk Manager and open Modules
8. Download (don't install) the 'f2fs work-around' and whatever modules you want
9. Move the modules from magisk manager folder to Download folder
10. Boot back into recovery
11. Flash the 'f2fs work-around' immediately followed by your modules
12. Reboot
13. Open Magisk Manager and check your Modules.


lets know the outcome and if there's any errors, state the exact point you get the error. for screenshot, you can use another device to take pictures of your phone screen