sfhub
Well-known member
According to the source code for "cat" that error is being spit out if there is any error reading the source file.when entering the second command "cat /sdcard/flash_image > /system/bin/flash_image" i get invalid length. Any ideas?
invalid length for cat : di4g.com
So basically you need to figure out why the source file can't be read properly.
You could also try putting flash_image in the same directory as adb.exe and doing (at the PC command prompt)
adb push flash_image /data/local/tmp/
Then you can substitute /data/local/tmp/flash_image in the instructions for /system/bin/flash_image
Off the top of my head, the only thing I can think of to explain the error is if you have the sdcard corruption problem. You could try taking the sdcard out and running "chkdsk /f" on your PC.