View Single Post
Old 04-24-2011, 10:28 AM   #79
yifanlu
Kindle Dissector
yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.
 
Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
Quote:
Originally Posted by DickeFix View Post
It is the update package which is crashing the DXG after installation. Since the update package for the DXG is a combination of the 2.5.8 rootfs.img from the DXG and the 3.1 firmware from K3 I think the crashing is due to that some K3 files are not compatible with the DXG.

I had also the problem that the update option was grayed out but solved it by replacing the following line close to the end in create_packages.sh:

${UPDATE_TOOL} c ${MINVERSION} `expr ${MAXVERSION}` ${DEVICE} FC02 "${TEMP}/${PKG_NAME}.tar.gz" ${OUTPUT}/update_${PKG_NAME}.bin

with this line taken from the alpha version of the update package

${UPDATE_TOOL} c ${MINVERSION} `expr ${MAXVERSION} + 1` ${DEVICE} FC02 "${TEMP}/${NAME}.tar.gz" ${OUTPUT}/update_${NAME}.bin

I have still problems that the update creation process SOMETIMES ends prematurely after "copying new files to rootfs image". This occurs even if all lines regarding TTS are commented away. I noticed that it is important to restart the Kindle 3 twice before a new attempt (once by holding the On button for half a minute and once by using the Restart option in the same menu where Update option is).

I have done programming but never on UNIX or Linux and have difficulties to understand exactly how to rip the copy of the /sys and /proc folder of the DXG. I thought the recovery file had all this info. Yifanlu, it would be great if you could make a code snippet that did this. Does the firmware 3.1 run without problems on your K2? I also would like to ask why some of the files in the filelist.txt for the K2i were missing in the filelist.txt for the DXG:

/usr/lib/libdmd_module.so
/usr/lib/libdmd_module.so.0
/usr/lib/libdmd_module.so.0.1
/usr/lib/libwan_module.0101.so
Thanks again for the help. I did do the +1 on the version (hence why I used expr), but I had some problems and forgot to change back. The reason why the filelists are different is because (almost) all models of the Kindle use different 3G modems and hence have different libraries for controlling them. They are named libwan_module.XXXX.so and they link to the actual name of the library, like libdmd is for K2 US. There's also libe725 and stuff like that. This is one of the only differences I can find between the kindle modles. Apart from that, they are identical. (But now, I'm finding out about the battery stuff)

Also, changed my mind on how to rip the /sys. Seems like tar truncates the thing. Use find /sys > /mnt/us/sys.txt

Last edited by yifanlu; 04-24-2011 at 10:32 AM.
yifanlu is offline   Reply With Quote