odd honestly I am not even sure if that busybox command is even necessary, I am actually almost 100% positive it isn't needed as the installer script puts busybox in /system/xbin and symlinks it properly anyway.
Yeah I have nailed it down to one line:
Code:
package_extract_dir("tmp", "/tmp")
But I am not sure what the problem is at all. The zip code from AOSP isn't throwing any LOGI errors to recovery.log and the reason it fails is simply perror() saying there is an error in the stream. So for some reason when the tmp directory is extracted from your zip it simply blows up the recovery process and won't work again until you reboot recovery.
I am boggled at the moment. I have read that for some other phones that it might be updater-binary causing issues unless compiled with specific target asm flags. I will try doing that next and report back.
OTOH, Dagr8 does the same stuff in his updater-script by extracting tmp from zip to /tmp and it works OK.
I have left the remaining dd steps out for now in updater-script until I figure out why tmp is blowing up recovery.
EDIT:
I have found a workaround. If you extract using edify each radio separately it flashes fine. I will check our edify code against CWM to see if it's out of date, but for now you can change it from the above statement to:
Code:
package_extract_file("tmp/amss.bin", "/tmp");
package_extract_file("tmp/mdm.bin", "/tmp");
I will PM flappjaxxx about this too.