Thread: Development Pocket Edge 2.2 NEW Firmware
View Single Post
Old 07-07-2011, 11:51 PM   #50
kronarq
Member
kronarq began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Jul 2011
Device: Pocket Edge
We are just changing stuff in the system2.zip

This is nothing like any android recovery I have seen. I am not sure what systems you have worked with to call this standard. Besides the fact that its called update.zip I see no similarities. There is no manifest, no signature, the structure is entirely different, the update process is all done through the update.sh shell script. It does all the flashing and everything. From what I can tell recovery just boots the basic linux ramdisk and executes the shell script.

The kernel, ramdisks, bootloader, etc are crc'd and appended to the file i believe....

Code:
#   --------------------------------------------------
#   crc32 check on image
#   - requires that image have appended crc32
#
#   arg1 : filename of image to verify
#   usage: crc_check tmp.img
#   --------------------------------------------------
crc_check ()
{
	CRC=`ubicrc32 $1`
	if [ "$CRC" == "0x00000000" ];
We could just change the update script so we could use our own image but if we hose the kernel I don't know how we would recover short of jtag. Thoughts?

Last edited by kronarq; 07-07-2011 at 11:57 PM.
kronarq is offline   Reply With Quote