Why magisk doesn't work with PIE Roms ?

newbie_or_not_newbie

Senior Member
Sep 28, 2013
388
75
48
Bretagne
Hi

Since PIE roms for santoni are available, some people, including me, can't root their santoni.
I don't know why.
Flash looks ok in recovery, but after reboot, Magisk Manager says that Magisk isn't installed.

I tried every solution found in forums here, but everytime, same result : "magisk isn't installed"...
So sad !

Could you guys (and girls) centralize here your solutions, step by step, from flash the rom to root it...
It would be so nice for helping desperate people... :)
 
  • Like
Reactions: onestoploser

onestoploser

Senior Member
Jul 6, 2008
671
508
0
I also tried SuperSU and am having the same problem. I've tried Magisk 17.1, 17.2 and the Canary build along with the newest SuperSU and the result is always the same. Flashes fine but Magisk Manager and SuperSU apps can't find root.

The weird thing is that Enpass always tells me that my device is rooted and that it's a security risk even though Magisk Manager can't find root.

Also, I'm positive Magisk is patching the ramdisk. The Uninstaller always finds a Magisk-patched image. I'm assuming something has to be happening during boot that's cancelling root.
 

newbie_or_not_newbie

Senior Member
Sep 28, 2013
388
75
48
Bretagne
Two things I don't understand :

- why some people, with same configuration, don't have root problem ?
- why, with same recovery, same flash method, root works with nougat/oreo rom, and doesn't work with pie...?

Just like that : do you think problem could come from the sd card ?
I'm using à 128 gb samsung sd-card. Maybe I should format it before trying again root ?
I'm not sure it's the problem, since I can flash all roms, but I could try...
Or flash Magisk from internal storage ?

Really desperate... :)
 
Last edited:

Lemmy554

Senior Member
Sep 27, 2017
229
76
38
Downtown
Hi,

I´m in the same situation like you.

Yesterday I made a new experience of that without solution:
- Backuped all
- Uninstalled magisk at twrp
- Installed santoni_twrp_silent 27_treble (recommended from dev to install havoc)
- Rebooted
- Formated data with factory reset
- Wiped vendor, cache, data... (everything)
- Installed havoc (version 2018-09-08)
- Rebooted
- Installed magisk at twrp
- Rebooted
Same issue like before...

If I try to install magisk on magisk manager I get the following log:
Copying image to cache
Device platform: arm64-v8a
Existing zip found
Extracting files
boot_patch.sh[73]: can't create /proc/self/fd/: Is a directory
MagiskBoot v17.1(17100) (by topjohnwu)
Boot Image Modification Tool
Parsing boot image: [/data/user_de/0/com.topjohnwu.magisk/install/boot.img]
No boot image magic found!
boot_patch.sh[91]: can't create /proc/self/fd/: Is a directory
boot_patch.sh[91]: can't create /proc/self/fd/: Is a directory!
Installation failed

It seems magisk can´t install correct in cause of failing permissions to create new directories. But why?

Edit:
I think there´s an old magisk information written in device system who has to removed manually, cause magisk uninstaller is not able to do
 
Last edited:

onestoploser

Senior Member
Jul 6, 2008
671
508
0
Great news, actually my magisk works on Pixys 2.1! :D

I installed this twrp:
https://drive.google.com/file/d/1RR-8WMNSQgx6QzQv5U4i-sST1Af42nrI/view

What I did:
Uninstalled old magisk, rebooted to twrp, installed magisk 17.2, rebooted, installed magisk manager 6.0 and it works.

The only thing is I didn´t rebooted until now, maybe it still works after next reboot or not...
I just tried this and it didn't work for me either. I tried multiple clean flashes, flashed MIUI then back to Pie and flashing things in different orders last night and nothing worked. I'm tired of messing with it. I don't know how to get logs without root. I've come to the conclusion that for now I either have Pie or root. Not both. lol
 

newbie_or_not_newbie

Senior Member
Sep 28, 2013
388
75
48
Bretagne
Me too. I stop trying every day a solution.
For the moment, no root for pie roms, so I keep staying with oreo roms (nice dot OS...) I can root.

Hope next builds of pie roms will accept to be rooted on our santoni... ;)
 

juliàcarax

Member
Jul 23, 2013
39
25
0
Barcelona
You can try this:

1 Flash Magisk v 17.2, Reinica in fast boot mode, turn it off and turn the phone on again

2 Install Magiskmanager V6 APK, do not open and restart in recovery

3 Flash Magisk v 16.6 and ready...

It worked for me... important, do not update magisk... The root is lost again

Best regards
 

neijzen

Member
Nov 4, 2006
6
7
0
I just realize to make magisk work on pie roms i realize that i need dev miui firmware not stable miui firmware the file you need is named fw_santoni_miui_HM4XGlobal_8.9.20_3219de02e5_7.1.zip i not sure why stable firmware wont work on magisk.
i used OrangeFox Recovery Project R8.1 for recovery
1. install rom PixysOS 2.1 as normal (clean flash). Note: LineageOS 16.0 also works I have tested it
2. boot up os to make sure it that everything is working
3. then reboot back to recovery
4. flash firmware zip file named fw_santoni_miui_HM4XGlobal_8.9.20_3219de02e5_7.1
5. reboot to system making sure that it still boots in os
6. reboot back to recovery
7. flash magisk 17.2 beta i think magisk 17.1 also works
8. reboot up back to system
9. installl magisk manager apk
10. done

i just uplolad screenshot just to prove it
 

Attachments

Last edited:

onestoploser

Senior Member
Jul 6, 2008
671
508
0
I just realize to make magisk work on pie roms i realize that i need dev miui firmware not stable miui firmware the file you need is named fw_santoni_miui_HM4XGlobal_8.9.20_3219de02e5_7.1.zip i not sure why stable firmware wont work on magisk.
i used OrangeFox Recovery Project R8.1 for recovery
1. install rom PixysOS 2.1 as normal (clean flash). Note: LineageOS 16.0 also works I have tested it
2. boot up os to make sure it that everything is working
3. then reboot back to recovery
4. flash firmware zip file named fw_santoni_miui_HM4XGlobal_8.9.20_3219de02e5_7.1
5. reboot to system making sure that it still boots in os
6. reboot back to recovery
7. flash magisk 17.2 beta i think magisk 17.1 also works
8. reboot up back to system
9. installl magisk manager apk
10. done

i just uplolad screenshot just to prove it
Sounds like a plan! I'll try it out when I get home from work and let you know how it goes!
 

Sygnomi

Senior Member
Oct 20, 2016
283
36
28
Capiz
I just realize to make magisk work on pie roms i realize that i need dev miui firmware not stable miui firmware the file you need is named fw_santoni_miui_HM4XGlobal_8.9.20_3219de02e5_7.1.zip i not sure why stable firmware wont work on magisk.
i used OrangeFox Recovery Project R8.1 for recovery
1. install rom PixysOS 2.1 as normal (clean flash). Note: LineageOS 16.0 also works I have tested it
2. boot up os to make sure it that everything is working
3. then reboot back to recovery
4. flash firmware zip file named fw_santoni_miui_HM4XGlobal_8.9.20_3219de02e5_7.1
5. reboot to system making sure that it still boots in os
6. reboot back to recovery
7. flash magisk 17.2 beta i think magisk 17.1 also works
8. reboot up back to system
9. installl magisk manager apk
10. done

i just uplolad screenshot just to prove it
This post right here works, thank you so much