View Single Post
Old 07-20-2011, 03:15 PM   #16
DickeFix
Enthusiast
DickeFix is fluent in JavaScript as well as Klingon.DickeFix is fluent in JavaScript as well as Klingon.DickeFix is fluent in JavaScript as well as Klingon.DickeFix is fluent in JavaScript as well as Klingon.DickeFix is fluent in JavaScript as well as Klingon.DickeFix is fluent in JavaScript as well as Klingon.DickeFix is fluent in JavaScript as well as Klingon.DickeFix is fluent in JavaScript as well as Klingon.DickeFix is fluent in JavaScript as well as Klingon.DickeFix is fluent in JavaScript as well as Klingon.DickeFix is fluent in JavaScript as well as Klingon.
 
Posts: 43
Karma: 4733
Join Date: Apr 2011
Device: Kindle 3Wifi+3G and DX
Yifanlu, thank you for another great Kindle hack! It feels great to have a backup of the Kindle 3 and possibility to recover if necessary.

However, I would like to better understand the Kindle file system. Could you please let me know if the following is correct?

Partition 1 (650 MB): Is this the entire operative system? I guess this corresponds to rootfs.img that one obtains running your prepare_kindle.bin on system 2.5.8 on DXG. As you have pointed out before it is larger (650 MB) on Kindle 3 compared to Kindle 2/DX/DXG (400 MB)

Partition 2 (24 MB): Is this the current values of the local variables? Is it necessary to backup this or are these variables initialized automatically if they are missing?

Partition 3 (8 MB): Is this the kernel that is used for booting and recovery?

Partition 4 (>3GB): Is this identical with the USB-partition you see when you plug it in?

I have also two questions how one can edit the content of these partitions on a Windows computer.

1. I have not yet tried USB networking. Does it give full control with possibility to read and write on all four partitions?

2. Another method is to take a partition, modify it on the computer and send it back to the device. Why canīt this be done directly as an .img file? Why is it necessary to first compress it, sign it and transfer it as an upgrade .bin file?

I am a real newbie in Linux but found a nifty freeware Windows program Explore2fs that allows you to explore the file system and read the content on partition 1 and 2 (by right-clicking on the file and View it in e.g. Wordpad). Do you know a Windows program that can mount the image files for both read and write?

Last edited by DickeFix; 07-20-2011 at 03:28 PM.
DickeFix is offline   Reply With Quote