[Galaxy S 4 i9505 Original Android Development] alahkel:
Unfortunately also latest build crashes, here's the log:

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.github.chenxiaolong.dualbootpatcher.snapshot/io.noobdev.neuteredsaf.DocumentsActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'io.noobdev.neuteredsaf.model.RootInfo io.noobdev.neuteredsaf.RootsCache.getDefaultRoot()' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2464)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2526)
at android.app.ActivityThread.access$800(ActivityThread.java:169)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5549)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:964)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:759)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'io.noobdev.neuteredsaf.model.RootInfo io.noobdev.neuteredsaf.RootsCache.getDefaultRoot()' on a null object reference
at io.noobdev.neuteredsaf.DocumentsActivity.getCurrentRoot(DocumentsActivity.java:701)
at io.noobdev.neuteredsaf.DocumentsActivity.updateActionBar(DocumentsActivity.java:338)
at io.noobdev.neuteredsaf.DocumentsActivity.onPostCreate(DocumentsActivity.java:308)
at android.app.Instrumentation.callActivityOnPostCreate(Instrumentation.java:1193)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2446)
... 10 more

Well since that's a miui issue, don't worry about it :) I'll try to patch the zips through the modified win32 app.

Indeed replacing the libmbp file only gives me an error in twrp: wrong device id: hennessy.

The multiboot log says:

[D] Initialized installer for zip file: /mnt/shell/emulated/0/AOSP_by_pocarropa_V2.3_data-slot-aosp.zip
[D] [Installer] Initialization stage
[D] [Installer] Chroot creation stage
[V] Creating chroot environment
[D] Running command: [ mount, /system ]
Usage: mount [-r] [-w] [-o options] [-t type] device directory
[D] Running command: [ mount, /cache ]
Usage: mount [-r] [-w] [-o options] [-t type] device directory
[D] Running command: [ mount, /data ]
Usage: mount [-r] [-w] [-o options] [-t type] device directory
[D] Running command: [ mount, -o, ro, /efs ]
Usage: mount [-r] [-w] [-o options] [-t type] device directory
[E] /efs is not mounted
[D] Found /etc/recovery.fstab
[E] Looking for /efs entry in non-TWRP-format fstab
[D] [Installer] Environment set up stage
[D] [Installer] Device verification stage
[D] libmbp version: 8.0.0.r2265.ga8a1e6f
[D] ro.product.device = hennessy
[D] ro.build.product = hennessy
[D] ro.patcher.device =
[D] Target device = hennessy
[V] Invalid device ID: hennessy
[D] [Installer] Cleanup stage
[V] Failed to flash zip file.
[V] Destroying chroot environment
[E] Failed to unmount /chroot/system: Invalid argument
[E] Failed to unmount /chroot/cache: Invalid argument
[E] Failed to unmount /chroot/data: Invalid argument
[E] Failed to unmount /chroot/efs: Invalid argument
[E] /efs is not mounted
[V] The log file was saved as MultiBoot.log on the internal storage.
[V] Finished cleanup

EDIT: WAIT! just erase everything I've said, I just found out that Miui has DocumentsUI but it was frozen (disabled). I managed to "defrost" it using ultimate backup pro and now it behaves as intended, the app doesnt crash anymore! look at attached screen ?

I don't really know why it was disabled by default, I didn't do it!

Now I'm gonna try to flash it through twrp, fingers crossed! ?