Markrw Magisk 15 Miui 9.2.2.0


Tonino77

Members
Jan 6, 2018
3
3
Magisk works only up to the version 14, when i try to upgrade is (15.0, 15.1, 15.2) i get this error

java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java)
at java.util.concurrent.FutureTask.finishCompletion(F utureTask.java:354)
at java.util.concurrent.FutureTask.setException(Futur eTask.java:223)
at java.util.concurrent.FutureTask.run(FutureTask.jav a:242)
at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
Caused by: java.lang.OutOfMemoryError: Failed to allocate a 134209548 byte allocation with 16765168
free bytes and 113MB until OOM
at java.io.ByteArrayOutputStream.expand(ByteArrayOutp utStream.java:91)
at java.io.ByteArrayOutputStream.write(ByteArrayOutpu tStream.java:201)
at com.topjohnwu.*****.ByteArrayStream.readFrom(Unkn own Source)
at com.topjohnwu.*****.ByteArrayStream.readFrom(Unkn own Source)
at com.topjohnwu.*****.SignBoot.verifySignature(Unkn own Source)
at com.topjohnwu.magisk.asyncs.InstallMagisk.doInBack ground(Unknown Source)
at com.topjohnwu.magisk.asyncs.InstallMagisk.doInBack ground(Unknown Source)
at android.os.AsyncTask$2.call(AsyncTask.java)
at java.util.concurrent.FutureTask.run(FutureTask.jav a:237)
... 3 more


It is also impossible to install/update magisk versions higher to 14 from recovery
i allso try to uninstall completely magisk using the official unistaller tools from XDA but nothing appened.
 
did you try running dm-verity fix after flashing magisk?
Where can ifound a "dm-verity fix" for Miui or how can i run it?

Finally I found it (i cannot post the link because i have less than 5 replyes..) but nothing to do. Magisk doesn't work
 
Last edited:
Where can ifound a "dm-verity fix" for Miui or how can i run it?

Finally I found it (i cannot post the link because i have less than 5 replyes..) but nothing to do. Magisk doesn't work

Sorry. I meant the "Disable Verify" option in TWRP Recovery->Avanced->Tools
Ran it before/after flashing magisk & it worked for me.
 
Sorry. I meant the "Disable Verify" option in TWRP Recovery->Avanced->Tools
Ran it before/after flashing magisk & it worked for me.
I try it yesterday. Nothing to do, it still doesn't work.
What version of TWRP are you using? I'm using "TWRP 3.1.1-2 by brigudav"
 
got the same problem, fixed like this:

extract boot.img from the ROM zip file,
in magisk manager select to patch boot.img
select your extracted boot.img.

boot in recovery TWRP, flash
/MagisManager/patched_boot.img

in boot.

Solved.