chenxiaolong / DualBootPatcher

Patches Android ROMs for dual boot support
https://dbp.noobdev.io
Other
529 stars 466 forks source link

Crashed on Treble Pie gsi #1291

Open Trumeet opened 6 years ago

Trumeet commented 6 years ago

Device: Redmi Note 4x (mido) ROM: Treble Pie gsi It crashes when load rom list (starting mtool), stacktrace is attached.

screenshot_20181013-162437

Trumeet commented 6 years ago

screenshot_20181013-163108

Puripu commented 6 years ago

Similar issue on Mi Mix 2s. Running Android 9.0 (MIUI 10). Latest build. Magisk installed.

Crashes every time I try to open ROMS. All other things work correctly.

a.c at com.github.chenxiaolong.dualbootpatcher.switcher.SwitcherUtils.getBootPartition(SwitcherUtils.kt:78) at com.github.chenxiaolong.dualbootpatcher.switcher.SwitcherUtils.copyBootPartition(SwitcherUtils.kt:248) at com.github.chenxiaolong.dualbootpatcher.switcher.service.GetRomsStateTask.execute(GetRomsStateTask.kt:64) at com.github.chenxiaolong.dualbootpatcher.switcher.service.BaseServiceTask.run(BaseServiceTask.kt:111) at com.github.chenxiaolong.dualbootpatcher.ThreadPoolService$enqueueOperation$$inlined$synchronized$lambda$1.run(ThreadPoolService.kt:150) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:764)

Puripu commented 5 years ago

Not sure if it's useful, but I've added a logcat in attachment. logs-2018-11-06-11-08-38.zip

Puripu commented 5 years ago

Sorry for the many comments. Just to rule out MIUI shennenigans, I tried flashing LineageOS 16 on my phone and then run the dualbootpatcher app.

Exactly the same crash.

(Mi Mix 2s, Polaris)

mateHD commented 5 years ago

Hi guys! I have the same problem as you. Do you have solution? MIUI 10, xiaomi.eu rom, MI8 pro and magisk.

Trumeet commented 5 years ago

Some weeks before I had tried the latest version and it worked correctly.

fawzy46 commented 5 years ago

Some weeks before I had tried the latest version and it worked correctly.

does it work on pie now? I also have Redmi Note 4x (mido)

Trumeet commented 5 years ago

Some weeks before I had tried the latest version and it worked correctly.

does it work on pie now? I also have Redmi Note 4x (mido)

I had tried it and the crash seems to be solved, but I don't believe it would work for the Treble-enabled ROMs. The information may do not up-to-date because I had not used it for a while.