![]() |
#16 | ||
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10
Karma: 2304
Join Date: Aug 2012
Device: kindke dx us
|
Quote:
Quote:
but linux can't recognize it as ext3 as i understand (mount is not working).. Thanks for advice! |
||
![]() |
![]() |
![]() |
#17 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
mmc<anything> is the name of an underlying storage layer. The mmc<whateve>.image file is a copy of what is recorded on the bare storage media. Under Linux, you can use the loop dev. to mount that image file, allowing you to access the file system that it represents. |
|
![]() |
![]() |
![]() |
#18 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
Well, in fact, when it comes to the user partition, it's a bit more difficult. That's because the user partition carries a partition header within it, like if the partition was another full disk. At least that is the case for my K3. They probably did that because Windows and other OS can cope better with "Hard Disks" (devices with a partition table) than with "Floppy Disks" (devices without a partition table, containing one filesystem that spans the disk). Plus, in the worst case the user will reformat it, maybe forcing it to get a partition table. This is because the Kindle presents this (internal) partition as a full disk externally via USB.
However, when the full MMC space is exportet as in this recovery mode, the user partition now suddenly carries the file system starting at a later offset. All this isn't relevant for the OP, of course, since the error indicates clearly that the root file system is the culprit. Running an ext3 file system check should bring more information (e2fsck is the tool needed for that, it does ext3 despite its name). |
![]() |
![]() |
![]() |
#19 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10
Karma: 2304
Join Date: Aug 2012
Device: kindke dx us
|
My Kindle restored!
It was needed just to overwrite rootfs with the dump (using "dd"). All like described here: http://yifan.lu/2011/04/02/recoverin...rupt-kindle-2/ except i didn't use custom kernel because have password (received by Kindle diagnostic tool: http://www.siralex.info/wp-content/p...nload.php?id=9) also you can ask anyone with same model to do the image for you with just simple script Spoiler:
packed into update.bin package with KindleTool (taken from this forum) NB: jailbreak installed is needed! p.s. seems it was possible to do the restore even without disassembling kindle and serial console, just packing rootfs.tar.gz into restore package.. (didn't test this) Thanks for all advices! |
![]() |
![]() |
![]() |
#20 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Maybe GM will move that image link to the pastebin list for us before it gets reported to a moderator (direct links to files containing copyrighted materials are not allowed here).
|
![]() |
![]() |
![]() |
#21 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Binned
Last edited by twobob; 08-22-2012 at 08:25 AM. |
![]() |
![]() |
![]() |
#22 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
|
![]() |
![]() |
![]() |
#23 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
![]() |
![]() |
![]() |
#24 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Sep 2012
Location: USA, NJ
Device: Kindle DX B004
|
Just FYI.
Recently I bricked my DX trying to update my old 2.1.1 firmware to something new. After few unsuccessful attempts to get rootfs.img for my DX (B004) on this forum I decided to go another way: I downloaded torrent with 3.2.1 firmware hack for 2/DX, extracted rootfs.img and kernel using Kindletools and successfully loaded rootfs using dd. Then I flashed an uimage kernel from the same package (another update*.bin) using uboot console and Ymodem (prg_kernel_serial). After that I successfully started Kindle using bootm command. So, if somebody has bricked Kindle 2/DX - probably 3.2.1 version is the best option. 3G and web browser works OK. The only problem with 3.2.1 is slow return from sleep mode (sometimes). Since now I don't use sleep at all, switching DX completely off (just holding slider for 5 sec). PS: you will need a serial console to export MMC0 via USB and flash kernel via Y-Modem. Last edited by equinox1; 09-24-2012 at 10:04 PM. |
![]() |
![]() |
![]() |
#25 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
|
![]() |
![]() |
![]() |
#26 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 42
Karma: 31420
Join Date: Sep 2006
Location: Milky Way galaxy, Orion-Cygnus arm, Sol-III, North America, USA, FL
Device: various iDevices
|
My DXG appears to be stuck in a boot loop. I can interrupt the loop at two different points and either get into u-boot or the recovery console.
In the recovery console, my (correctly generated for my serial number) password is not accepted, so I cannot export MMC0 via USB. If I flash an extracted 3.2.1 kernel through u-boot/Ymodem as described, will that let me use the recovery console (with my old password or ??) If so, I think I could then complete the job by copying rootfs.img onto the DXG with dd. Will this work, or is there a better way -- any help is appreciated! |
![]() |
![]() |
![]() |
#27 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
As I understand it, the recovery console does not use the DES password hash, and may need the version with 4 hex digits. Try that and report back.
|
![]() |
![]() |
![]() |
#28 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 42
Karma: 31420
Join Date: Sep 2006
Location: Milky Way galaxy, Orion-Cygnus arm, Sol-III, North America, USA, FL
Device: various iDevices
|
Excellent suggestion but it's a moot point for me till I clear my new problem. Actually, this was evidently happening before I made my previous post, probably because I was working from older terminal capture files and was stuck on the password problem in my mind.
My DXG has bad info in MMCBLK0p1. This appears to be the cause of the boot loop and likely the cause of me now not being able to get into the recovery menu at all. Correct boot shows this: (part 1 of 2) Code:
/dev/mmcblk0p4: CHS=4/16/109695 size=3594485760 bytes flag type first last lba first lba size Partition p1: 0x00 0x0b 16 <large> 16 7020464 CHS: 0/1/1 - <large> Partition p2: Partition p3: Partition p4: Code:
/dev/mmcblk0p4: CHS=4/16/109695 size=3594485760 bytes flag type first last lba first lba size Partition p1: 0x00 0x0b 16 <large> 16 7020EXT3-fs: error loading journal. 464 CHS: 0/1/1 - <large> Partition p2: Partition p3: ParEXT3-fs: error loading journal. Partition p4: Code:
kinit: do_mounts kinit: name_to_dev_t(/dev/mmcblk0p1) = mmcblk0p1(179,1) kinit: root_dev = mmcblk0p1(179,1) kinit: /dev/root appears to be a ext3 filesystem kinit: trying to mount /dev/root on /root with type ext3 kinit: Mounted root (ext3 filesystem) readonly. Code:
kinit: do_mounts kinit: name_to_dev_t(/dev/mmcblk0p1) = mmcblk0p1(179,1) kinit: root_dev = mmcblk0p1(179,1) kinit: /dev/root appears to be a ext3 filesystem kinit: trying to mount /dev/root on /root with type ext3 kinit: failed to identify filesystem /dev/root, trying all kinit: trying to mount /dev/root on /root with type ext3 kinit: trying to mount /dev/root on /root with type cramfs kinit: trying to mount /dev/root on /root with type msdos kinit: trying to mount /dev/root on /root with type vfat kinit: Unable to mount root fs on device mmcblk0p1(179,1) |
![]() |
![]() |
![]() |
#29 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@cavorite: That looks like a bad partition/FS/partition table, I don't think switching Kernel will magically fix your partition ;o).
|
![]() |
![]() |
![]() |
#30 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
You should be able to fix it from U-Boot.
What those messages mean is the kernel can not find the root file system to mount. Kernel is doing exactly what it is intended to do - leave it alone. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle Touch unbriking troubles | aguzman | Kindle Developer's Corner | 9 | 09-06-2012 07:23 AM |
$0.01 in Kindle Store: Interactive Sudoku for Kindle 2 and Kindle DX - Volume 1 | Xia | Deals and Resources (No Self-Promotion or Affiliate Links) | 2 | 11-07-2009 10:06 AM |