
Originally Posted by
maxx_730
PST. Start the flashing procedure and when there are a whole shitload of .smg's in the directory of the flash file your flashing, those are them.
Dear maxx !
Acorrding to http://pashkovsky.com/e680/
Code:
The R51_a1p version contains, f.e.:
code_map
code_group0
HDR (split into 4 files)
/vobs/platform2000/code/R51_G_0F.51.A1P_0F.40.B1P/apimage/GAS_ASIA_T672LE_P004.img
mount -t vfat /dev/tffsb1 /diska -o uid=2000 -o gid=233 -o iocharset=utf8 -o noatime
/vobs/platform2000/code/R51_G_0F.51.A1P_0F.40.B1P/apimage/R51_G_0F.51.A1P_zImage
compressed kernel
/vobs/platform2000/code/R51_G_0F.51.A1P_0F.40.B1P/apimage/R51_G_0F.51.A1P_rootfs_cramfs.img
mounted as /dev/root on / type cramfs
/vobs/platform2000/code/R51_G_0F.51.A1P_0F.40.B1P/apimage/R51_G_0F.51.A1P_userfs_hat.img
mount -t vfm /dev/mtdblock2 /ezxlocal
/vobs/platform2000/code/R51_G_0F.51.A1P_0F.40.B1P/apimage/GAS_ASIA_T672LE_R51_G_0F.51.A1P_L001.img
mounted as /dev/tffsa on /usr/language type cramfs
/vobs/platform2000/code/R51_G_0F.51.A1P_0F.40.B1P/apimage/GAC_GENERIC_CORE_G003.img
compressed bitmap logo
/vobs/platform2000/code/R51_G_0F.51.A1P_0F.40.B1P/apimage/GAS_ASIA_T672LE_S005.img
mounted as /dev/roflash2 on /usr/setup type cramfs
p.s. The S7.. strings can be deleted as they point to the execution address, which is worthless for us.
After splitting the shx file, you will get multiple s-format-encoded binary files. Use a conversion utility to decode them, and to encode back later on.
One such utility is binex.
After conversion with binex of each file (binex /b file.s19), binex will create an WWXXYYZZ.BIN file, where WWXXYYZZ stand for the address that binary should've been written onto when flashing.
Now I have smg file but how can I get those img file ?
Pls help me !
Thank you so much