![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73
Karma: 2634
Join Date: Sep 2010
Device: none
|
Backing up the Kindle the first time
Hi,
I will pick up my Kindle Touch tonight. I am an experienced Linux user and wish to do some hacking with it. However, I would like to back up its partitions before doing any manipulation. I read the various thread and the wiki (https://wiki.mobileread.com/wiki/Kind...Hacking#Backup). Is the jailbreaking required to backup the 4 partitions? Or is it possible to do this on an unmodified K5? Thanks in advance. |
![]() |
![]() |
![]() |
#2 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
If you check the simple debricking thread (sticky), you will find some "forensic" images i.e unmodifed root and diag partitions (p1, p2). P3 can be dumped (dd if=/dev/zero of=/dev/mmcblk0p3 bs=4K count=1024) and you can backup the usb drive by backing up all files (duh!).
|
![]() |
![]() |
![]() |
#3 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
if you backup /dev/mmcblk0p4 at the device level, you backup the entire file system, including "deleted" files. Which you can (off-kindle) un-delete within the usual limitations of msdos FAT un-delete tools. Note: When you mount the image of mmcblk0p4 you have to specifiy an offset to losetup so that it can find the start of the file system in the image of the media (same as you would have to do with the image of a bootable floppy disk). Last edited by knc1; 06-15-2012 at 08:41 AM. |
|
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73
Karma: 2634
Join Date: Sep 2010
Device: none
|
Thanks for your answer. But as far as I understand, /dev/mmcblk0p1 and /dev/mmcblk0p2 are only accessible on jailbroken kindles?
|
![]() |
![]() |
![]() |
#5 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Note: It is too late to get a copy of everything before "first boot" when it arrives, it arrives booted and asleep. But you can (and should) pull the battery while making the serial port connections. Instructions are indexed, see forum sticky above. Last edited by knc1; 06-15-2012 at 09:44 AM. |
|
![]() |
![]() |
![]() |
#6 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
![]() EDIT: You can also undelete a file on a kindle mounted as an exported USB drive. You just need to do a raw sector scan. Last edited by geekmaster; 06-15-2012 at 11:40 AM. |
|
![]() |
![]() |
![]() |
#7 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73
Karma: 2634
Join Date: Sep 2010
Device: none
|
Thanks for the information.
|
![]() |
![]() |
![]() |
#8 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
On the K4 and K5 you can get root access and install custom software without a jailbreak. You can use an SSH shell from diags, or you can install stuff using the data.tar.gz methods. |
|
![]() |
![]() |
![]() |
#9 |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
If you have 5.1.0 KT and you know JavaScript and you can setup local webserver, you can get root shell without modifying KT. With root shell you can do anything.
|
![]() |
![]() |
![]() |
#10 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#11 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
There are other very easy ways to get root shell on any unmodified K4 or K5 (any firmware version). These will be published when other methods of getting root no longer work.
![]() |
![]() |
![]() |
![]() |
#12 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Jun 2009
Device: Kindle 4 NT O
|
|
![]() |
![]() |
![]() |
#13 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
ENABLE_DIAGS just boots diags. On a K5, to get SSH, you need a MODIFIED diags partition. K4 has SSH built into diags. Part of the simple debricking method is to flash a K5 diags partition that has SSH pre-installed just like K4 has by default.
There is an unpublished way to run code on K4 and K5 from the USB drive with NO modifications other than dropping two files (including ENABLE_DIAGS) onto the USB drive, then selecting a diags menu option to run one of those two files. I have shared this method with a few developers, and we all agree that it should be saved until other jailbreak methods no longer work. Last edited by geekmaster; 06-17-2012 at 05:48 PM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Backing everything up | ardeur | Library Management | 1 | 03-10-2012 03:59 AM |
Backing up Calibre | iwaddo77 | Related Tools | 3 | 12-23-2011 01:22 AM |
Backing up highlights/notes/bookmarks on Kindle 3 | granturissimus | Amazon Kindle | 1 | 10-13-2011 11:55 AM |
Backing up the Pocketbook IQ | zetareticuli | PocketBook | 2 | 12-27-2010 06:48 PM |
Backing up collections | Batchfiles | Sony Reader | 4 | 05-09-2009 10:07 PM |