DualBootPatcher
DualBootPatcher copied to clipboard
Failed to flash Resurrection Remix Nougat v5.8.5 patched with DualBootPatcher 9.3.0.r779
Failed to flash Resurrection Remix Nougat v5.8.5 patched with DualBootPatcher 9.3.0.r779.
Attaching logs.
@chenxiaolong: could you check this issue?
I see this in MultiBoot.log:
1970-03-04T20:38:41.994208000+03:00][245:245][D] m/r/installer: [Installer] Installation stage
[MultiBoot] Running real update-binary
[MultiBoot] Here we go!
[1970-03-04T20:38:42.016650000+03:00][245:245][D] m/r/installer: update-binary is AROMA: 0
[1970-03-04T20:38:42.022014000+03:00][256:256][V] m/r/installer: updater requires legacy properties: 1
[1970-03-04T20:38:42.022356000+03:00][256:256][D] m/r/installer: Original properties environment: 30,32768
[1970-03-04T20:38:42.022445000+03:00][256:256][D] m/r/installer: Switched to legacy properties environment: 29,32768
script aborted: E3004: This package is for device: hlte,hltespr,hltexx; this device is .
E3004: This package is for device: hlte,hltespr,hltexx; this device is .
E:unknown command [log]
[1970-03-04T20:38:42.137781000+03:00][245:245][D] m/r/installer: Updater exited with status: 7
[MultiBoot] Elapsed time: 00:00:00.142
[MultiBoot] Failed to run real update-binary
I had no such problem with identifying my Samsung Galaxy Note 3 N9005 (hlte) until this release. I remember a data change nowadays for Samsung Galaxy Note 3...
Might it cause the problem?
My build.prop has this line: ro.product.device=hlte
Same problem in Redmi Note 2 (code name hermes).
script aborted: E3004: This package is for device: hermes; this device is .
E3004: This package is for device: hermes; this device is .
I was able to successfully flash RR v5.8.5 with DualBootPatcherAndroid-9.3.0.r806.g7cef78be-snapshot.apk.
I suggest to try this version.
Let me know, if you were also successful. I will close the issue if you were successful, too. If not, then post your logs here.
I'm already using the "DualBootPatcherAndroid-9.3.0.r806.g7cef78be-snapshot.apk". and facing this problem.
Just close this issue and I will open new one.
congrats on the successful flash :D .
Same problem on Nexus 4, Nougat and Oreo ROMs:
E3004: This package is for device: mako; this device is .
@chenxiaolong, could you look at this?
@ibilux have you managed to flash it eventually?
@klorinczi so you was able to flash with DualBootPatcherAndroid-9.3.0.r806 the ROM patched with DualBootPatcher 9.3.0.r779? Or you had to re-patch with .r806?
@klorinczi could you please try several builds starting from .r779 sequentially to figure out which one the first working?
@bam80 i still have the same problem . however i removed the first assert lines from "updater-script" file in the patched generated rom zip file, like:
assert(getprop("ro.product.device") == "omega" || getprop("ro.build.product") == "omega" || abort("E3004: This package is for device: omega; this device is " + getprop("ro.product.device") +"."););
I managed to bypass this fault and flashed the patched rom zip file. but it didn't work :( .
@ibilux what ROM do you flash? Oreo seems still unsupported UPDATE: I was able to successfully flash zip with removed assert line in "updater-script", you should try also Nougat ROM. Thanks for the tip.
@bam80 I tried several ROMs actually, from android 5 to 7. Did the patched ROM boots after you flashed the zip file ?
@ibilux, I tried LOS 14.1 only, yes it boots
Seems this is https://github.com/chenxiaolong/DualBootPatcher/issues/1229 issue. Should be fixed when https://github.com/chenxiaolong/DualBootPatcher/pull/1247 gets merged