DualBootPatcher icon indicating copy to clipboard operation
DualBootPatcher copied to clipboard

Failed to flash Resurrection Remix Nougat v5.8.5 patched with DualBootPatcher 9.3.0.r779

Open klorinczi opened this issue 6 years ago • 14 comments

Failed to flash Resurrection Remix Nougat v5.8.5 patched with DualBootPatcher 9.3.0.r779.

Attaching logs.

19700304.204348.tar.gz

klorinczi avatar Jul 05 '18 09:07 klorinczi

@chenxiaolong: could you check this issue?

klorinczi avatar Jul 05 '18 09:07 klorinczi

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?

klorinczi avatar Jul 05 '18 09:07 klorinczi

My build.prop has this line: ro.product.device=hlte

klorinczi avatar Jul 07 '18 18:07 klorinczi

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 .

ibilux avatar Jul 15 '18 14:07 ibilux

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.

klorinczi avatar Jul 15 '18 15:07 klorinczi

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 .

ibilux avatar Jul 15 '18 16:07 ibilux

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?

bam80 avatar Jul 27 '18 22:07 bam80

@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?

bam80 avatar Jul 27 '18 22:07 bam80

@klorinczi could you please try several builds starting from .r779 sequentially to figure out which one the first working?

bam80 avatar Jul 27 '18 23:07 bam80

@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 avatar Jul 27 '18 23:07 ibilux

@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 avatar Jul 27 '18 23:07 bam80

@bam80 I tried several ROMs actually, from android 5 to 7. Did the patched ROM boots after you flashed the zip file ?

ibilux avatar Jul 28 '18 08:07 ibilux

@ibilux, I tried LOS 14.1 only, yes it boots

bam80 avatar Jul 28 '18 08:07 bam80

Seems this is https://github.com/chenxiaolong/DualBootPatcher/issues/1229 issue. Should be fixed when https://github.com/chenxiaolong/DualBootPatcher/pull/1247 gets merged

bam80 avatar Jul 30 '18 01:07 bam80