EdXposed icon indicating copy to clipboard operation
EdXposed copied to clipboard

Read this before submitting 0.4.6.0 bootloop issue.

Open JohnGLFour opened this issue 7 years ago • 21 comments

With 0.4.6.0 they moved the SEpolicy from the post-fs-data.sh to the custom magisk build. Even readme.md said that you need to install custom Magisk build before you install the 0.4.6.0 Edxposed.

TL;DR: Try install custom Magisk before submitting the issue.

Edit (22nd January, 2020): You can now use Official Canary Magisk instead, see ElderDrivers/Edxposed#379

Edit 2: Magisk v20.3 works

JohnGLFour avatar Nov 03 '19 06:11 JohnGLFour

Thanks for adding the "good first issue" tag. The reason I posted this is because people saying that 0.4.6.0 causes bootloop, but in reality they didn't install the custom magisk build. (Can confirm this as I tried installing 0.4.6.0 in regular magisk, and it bootloops)

JohnGLFour avatar Nov 03 '19 11:11 JohnGLFour

Hi, I got myself in a pickle Im on a Pixel 4 XL. I accidently installed EdXposed 0.4.5.1_beta instead of 0.4.6 and it caused a bootloop I was able to get back into the OS by reflashing the latest OTA update, but I am left with a problem: Any time I reflash Magisk, it recreates /data/adb/modules/riru-core and riru_edxposed_sandhook , the old versions that cause bootloop No matter how many times I go in and delete these folders with ADB, the ygety recreated any time I reflash Magisk

How can I prevent Magisk from reinstalling these modules every boot? Please help!

p1r473 avatar Nov 09 '19 17:11 p1r473

flash magisk manager for recovery then go to terminal in twrp type mm load core mode it will boot then delete the bad magisk mod turn off core mode you'll be good then

On Saturday, November 9, 2019, p1r473 [email protected] wrote:

Hi, I got myself in a pickle Im on a Pixel 4 XL. I accidently installed EdXposed 0.4.5.1_beta instead of 0.4.6 and it caused a bootloop I was able to get back into the OS by reflashing the latest OTA update, but I am left with a problem: Any time I reflash Magisk, it recreates /data/adb/modules/riru-core and riru_edxposed_sandhook , the old versions that cause bootloop No matter how many times I go in and delete these folders with ADB, the ygety recreated any time I reflash Magisk

How can I prevent Magisk from reinstalling these modules every boot? Please help!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.< https://ci6.googleusercontent.com/proxy/roMMCzmOxpEJE5Y8QW4pPY-mAG_WH-8bOO9ctQzjHR4-71UUdWXSGz0z02m4q-XGDu6IwUVWzpRZI_GsPUGDpAvKKLVtQMm0UbtvKPjjatT0M4g887XN0bnMYklz_b1Uc8y6YRsun0QOcfri-BJbj5wmIpW9zKXHXhckmp-F_JS5BUrLC0T52xkUT6wUG4fgFZhnF7YwIa4Dab23lTa0x_2ylM4RRlZEtJlmGKkcoQ=s0-d-e1-ft#https://github.com/notifications/beacon/AHPO5JD5QGUMJLTYHZKSETLQS322DA5CNFSM4JIJ7HL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDULSHQ.gif>

ecompton59 avatar Nov 10 '19 00:11 ecompton59

download magisk recovery manager flash in twrp goto terminal in twrp type mm load core mode it will boot then and delete bad mods from magisk turn core mode off and you'll be good

ecompton59 avatar Nov 10 '19 00:11 ecompton59

Thanks, but Pixel 4 has no TWRP I ended up using the Core-only magisk image from XDA forums which removed all modules.

p1r473 avatar Nov 10 '19 00:11 p1r473

great keep that file just incase when testing lol ive been in your shoes with OnePlus 7pro on 10

ecompton59 avatar Nov 10 '19 01:11 ecompton59

@p1r473 Next time, you can boot into the loading screen, connect via adb and then do:

  • adb shell
  • su
  • touch /cache/.disable_magisk

ciriousjoker avatar Nov 11 '19 16:11 ciriousjoker

With 0.4.6.0 they moved the SEpolicy from the post-fs-data.sh to the custom magisk build. Even readme.md said that you need to install custom Magisk build before you install the 0.4.6.0 Edxposed.

TL;DR: Try install custom Magisk before submitting the issue.

Can u be more specific with this "custom Magisk"? what's it and where can i find it?

NicolasChamllet avatar Nov 20 '19 08:11 NicolasChamllet

With 0.4.6.0 they moved the SEpolicy from the post-fs-data.sh to the custom magisk build. Even readme.md said that you need to install custom Magisk build before you install the 0.4.6.0 Edxposed. TL;DR: Try install custom Magisk before submitting the issue.

Can u be more specific with this "custom Magisk"? what's it and where can i find it?

Find it in version 0.4.6.0 release page. Its mentioned

JohnGLFour avatar Nov 21 '19 13:11 JohnGLFour

you could also use selinux switch on xda it worked on moto z2 force it makes selinux permissive after boot https://forum.xda-developers.com/android/apps-games/app-selinux-switch-t3656502 instead of different magisk that worksif selinux is permissive that fixes issue

ecompton59 avatar Nov 21 '19 13:11 ecompton59

Screenshot_20191121-082248 if it dont boot use this goto twrp terminal and type mm load magisk core mode then boot

ecompton59 avatar Nov 21 '19 13:11 ecompton59

you could also use selinux switch on xda it worked on moto z2 force it makes selinux permissive after boot https://forum.xda-developers.com/android/apps-games/app-selinux-switch-t3656502 instead of different magisk that worksif selinux is permissive that fixes issue

But doing so will let your device on risk

JohnGLFour avatar Nov 30 '19 06:11 JohnGLFour

pinned, now closed

MlgmXyysd avatar Dec 02 '19 12:12 MlgmXyysd

Magisk has added Support pre-init sepolicy patch in modules in 20.3 release. So can i flash exposed 0.4.6 with official magisk now without any bootloop? I am using redmi note 7 pro (violet) MIUI 11.0.5 , Android Pie.

ShivamKumar2002 avatar Jan 18 '20 06:01 ShivamKumar2002

@M1ST3RH 0.4.6.1

MlgmXyysd avatar Jan 18 '20 06:01 MlgmXyysd

@M1ST3RH 0.4.6.1

Where can i find it? Will it work without bootloop on official magisk 20.3 ?

ShivamKumar2002 avatar Jan 18 '20 06:01 ShivamKumar2002

@M1ST3RH EdXposed Canary

MlgmXyysd avatar Jan 18 '20 06:01 MlgmXyysd

@M1ST3RH EdXposed Canary

So can i use it without any bootloop issues?

ShivamKumar2002 avatar Jan 18 '20 06:01 ShivamKumar2002

@M1ST3RH yes, with Magisk 20.2+

MlgmXyysd avatar Jan 18 '20 06:01 MlgmXyysd

@M1ST3RH yes, with Magisk 20.2+

Thanks :)

ShivamKumar2002 avatar Jan 18 '20 06:01 ShivamKumar2002