03-16-2015, 03:57 PM | #1 |
Member
Posts: 14
Karma: 10
Join Date: Mar 2015
Device: K4, PW1, PW2
|
Not getting all files with dd
I've done a backup on my PW1 but some files are missing in the image. For an example /mnt/us are empty. When I search through the image pretty much all the personal information about the firmware version, registered owner, Wifi network etc are missing. When connected to the Kindle I can browse through all the files in the shell.
On the host computer I've run: nc -l 5555|dd of=mmcblk0p1.bin And on the Kindle: dd if=/dev/mmcblk0p1|nc 192.168.15.201 5555 After this I have repeated this for the other three partitions. I have also tested to do it all in one image with mmcblk0 but the result is still the same. Do anyone know why I'm not getting all the files and what I can do to fix this? |
03-16-2015, 04:46 PM | #2 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
It is sufficient to backup /mnt/us/ and I think /var/local/ -- via cp/rsync.
You do not need to backup the firmware, Amazon does that for you. Last edited by eschwartz; 03-16-2015 at 05:29 PM. |
03-16-2015, 09:52 PM | #3 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
I.E: That is why you get a choice of using the external USB connection to the storage or letting the Kindle firmware display the contents (you can't do both at the same time - different kernel drivers). There is nothing to be saved from /mnt/us that can't be saved when in USB storage mode. Nothing is stored outside of the file system in /dev/mmcblk0p4 (usb storage partition). |
|
03-16-2015, 10:35 PM | #4 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Some stuff is -- e.g. serial number, registration, books/collections database.
|
03-17-2015, 12:33 AM | #5 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Now those would be useful to back-up, because the on eMMC copy is the only copy there is. But the question (and my reply) was about what appears as /mnt/us internally - the OP had reported that attempts to copy that where coming up blank. The file system area used by the USB storage (which is FAT32) could, but does not, have anything stored between the start of mmcblk0p4 and the start of the file system. (*) (FAT32 has provisions for such things, but in this case they are not used by Amazon, the start of the file system is aligned with the start of the partition.) - - - - If someone is curious enough, they can dig back a several of years in this forum and find a discussion between Geekmaster and myself about using that area for JB purposes. The decision was: Nope, would not help any. Last edited by knc1; 03-17-2015 at 12:36 AM. |
|
03-17-2015, 06:37 AM | #6 |
Member
Posts: 14
Karma: 10
Join Date: Mar 2015
Device: K4, PW1, PW2
|
Thank you very much for your replies!
If I understand this correctly /mnt/us is just the mount point for /dev/mmcblk0p4? If this is so, what more interesting data can be be found by jailbreaking the device and copying all the partitions compared to just looking at the USB storage on a non-jailbroken device? I should probably explain what I'm trying to do here. I'm trying to find out what information and how it can be extracted when doing a forensic analysis of the Kindle. My hope was to find where things such as firmware version, registered owner, mail address, notes and highlights, browser history and favorites etc are stored. Also trying to find out if it's possible to find these things after they have been deleted. So far I've found the vocabulary database, the browser history,bookmarks and firmware version. All of this on /dev/mmcblk0p4. Are all of the other information stored outside of the partitioned area of mmcblk0 so it's dead end? |
03-17-2015, 06:55 AM | #7 |
Connoisseur
Posts: 72
Karma: 18445
Join Date: Apr 2014
Device: Kindle PW5 (11th gen, 6.8in)
|
These aren't the droids you're looking for...(c) Ben Obi-Wan Kenobi
I see you could find in some way registered owner and mail address, then ask a person if their device was legitimately sold. If so everything is ok. But other than that, it's personal data and if removed - it probably needs to stay removed. I don't wish for the next person that will use my Kindle*(if I would ever sell it) to have my personal data. On the other hand if you wish to clean Your device completely before selling it, that would be another proper idea to find which files and places need a bit-per-bit cleaning. Last edited by Dexmaster; 03-17-2015 at 06:57 AM. |
03-17-2015, 07:39 AM | #8 | |
Member
Posts: 14
Karma: 10
Join Date: Mar 2015
Device: K4, PW1, PW2
|
Quote:
Security issues can be seen as something positive by those who is trying to find ways to jailbreak and negative when some attacker is able to steel your information in a non-secure system. I guess it's a give and take but I'd rather be aware of what can and can't be done with my devices. That's what keeps bringing us forward. If I would sell my device I would probably take a close look at if something is left on it that I don't want to have there. Another thing I find scaring is the large amount of refurbished units being sold. I don't think the companies put much thought in what things that can be left from a previous owner and much customers probably don't even think about that there data on the devices they send in as a warranty claim might be given to someone else. On the topic I've found information in the unallocated spaces about the device such as serial number, board id, battery info and things like that plus my information as the registered owner. No signs of the Wifi networks however. |
|
03-17-2015, 08:11 AM | #9 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
I hope you aren't required to have a unique school project. *) Un-register the device before selling it, your safe. *) If you failed to un-register the device before having it stolen ( ) . . . . Contact Amazon, they will blacklist it in there data base - which prohibits it from being used to you / your account's disadvantage. *) If you are one of the people who just can not avoid the challenge of "what does this do? / does it work?" when looking at the "erase all" button ( ) . . . . There is a storage area on the eMMC, **prior to** the start of the partition table (look up a bit on how backing stores in Linux are organized) that has device and owner specific information not stored elsewhere - Your going to need a copy of that after pressing auto-brick erase all button. |
|
03-17-2015, 02:43 PM | #10 | |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
/var/local/cc.db has the Content Catalog, with all your books, and more importantly collections. WiFi passwords are stored in /var/local/system/wifid.conf -- although it is encrypted. |
|
Tags |
backup, paperwhite |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Lost opf files when moving files to a new library | theaccountant | Library Management | 4 | 02-25-2015 03:11 PM |
epub files on kobo have all been changed into shortcut files? | emme278 | Kobo Reader | 6 | 11-01-2013 04:32 AM |
Is there a way to extract system files from kindle update .bin files | techiemonkey | Kindle Developer's Corner | 7 | 09-24-2012 11:58 PM |
Does Save To Disk replace older files with files that have newer metadata? | unboggling | Library Management | 4 | 10-01-2011 11:52 AM |
Txt files - Convert to Epub - Multiple files into one book - noob help | Cernan | Calibre | 6 | 05-18-2010 10:12 AM |