Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 03-23-2023, 04:43 AM   #1
hermit1
Junior Member
hermit1 began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2023
Device: Kindle
Missing partitions

Hi,

I got a KT3 serial number begins G000K9.
Probably MMC was erased.
I could partly reflash it with diagkern.bin and mainkern.bin no more files was flahed (thanks for description). Now the partitions are missing and kernel freezes. Is there a description about partitions or utility how I should create them or the whole process (serial port connection is working, these recovery menus didn't help:
I. Initialize Partition Table (fdisk) and format FAT
O. Format and overwrite FAT partition)?

Log file:

Quote:
[ 1.650383] mmc0: new high speed DDR MMC card at address 0001
[ 1.656397] mmcblk0: mmc0:0001 NJ2ZMB 3.64 GiB
[ 1.661018] mmcblk0boot0: mmc0:0001 NJ2ZMB partition 1 4.00 MiB
[ 1.667045] mmcblk0boot1: mmc0:0001 NJ2ZMB partition 2 4.00 MiB
[ 1.673044] mmcblk0rpmb: mmc0:0001 NJ2ZMB partition 3 512 KiB
[ 1.679478] mmc9:26 2023. 03. 23blk0: p1 p2 p3 p4
[ 1.685178] mmcblk0boot1: unknown partition table
[ 1.691739] mmcblk0boot0: unknown partition table
[ 1.725792] FAT-fs (loop1): bogus number of reserved sectors
[ 1.731462] FAT-fs (loop1): Can't find a valid FAT filesystem
[ 1.737329] ERROR:mount.c:324:mount_waveform_area():/dev/loop1:error 22(22)
[ 1.745664] INFO:recovery-util.c:142:spawn():child exited with status 00000000
[ 1.752997] ERROR:update.c:110:find_file():find_file: Failed to open /mnt/wfm/waveform_to_use: error 2
ERROR:recovery-util.c:1825:main():wfm_count=0DEBUG:eink.c:276:ein k_init():Loading: /lib/modules/mxc_epdc_eink.ko
[ 1.772684] DEBUG:eink.c:281:eink_init():Loading: /lib/modules/mxc_epdc_eink.ko
[ 1.780319] DEBUG:module.c:139:insmod():/lib/modules/mxc_epdc_eink.ko:loaded 11968 bytes. (11968)
[ 1.789287] mxc_epdc_eink: module license 'proprietary' taints kernel.
[ 1.795852] Disabling lock debugging due to kernel taint
[ 1.801444] INFO:module.c:163:insmod():Loaded module /lib/modules/mxc_epdc_eink.ko (11968 bytes)
[ 1.810416] DEBUG:eink.c:276:eink_init():Loading: /lib/modules/mxc_epdc_fb.ko builtin_firmware=y
[ 1.819255] DEBUG:eink.c:281:eink_init():Loading: /lib/modules/mxc_epdc_fb.ko builtin_firmware=y
[ 1.828535] DEBUG:module.c:139:insmod():/lib/modules/mxc_epdc_fb.ko:loaded 88680 bytes. (88680)
Panel VCOM string: 2820
[ 1.840899] imx_epdc_fb 20f4000.epdc: vcom_steps 131
[ 1.846082] imx_epdc_fb 20f4000.epdc: Memory override detected TotalMem:512M X:800 Y:600 FBMem:6M
[ 1.861899] imx_epdc_fb 20f4000.epdc: EPDC version = 2.1.0
[ 1.934958] wv_file->wdh.luts & 0xC =4
[ 3.619086] INFO:module.c:163:insmod():Loaded module /lib/modules/mxc_epdc_fb.ko builtin_firmware=y (88680 bytes)
[ 3.862068] INFO:eink.c:376:eink_init():eink initialized... (486400 bytes)
Press [ENTER] for recovery menu..[ 3.869170] DEBUG:recovery-util.c:736:choose_boot_mode():curr_time=978350420 end_time=978350420
. 0 [ 3.883567] DEBUG:keypad.c:105:keypad_set():keypad_set():keypa d_fd=-1 biggest_fd=0x7e88093c biggest_fd=0 s=0x7e880990
/[ 4.895631] DEBUG:readkey.c:121:read_key():Timeout
[ 4.900508] DEBUG:recovery-util.c:753:choose_boot_mode():curr_time=978350422 end_time=978350420 **
[ 4.924498] INFO:recovery-util.c:408:battery_check():Battery ID is valid
[ 4.931462] INFO:recovery-util.c:416:battery_check():Battery percentage = 100
[ 4.938835] DEBUG:diskutil.c:404:device_size():device size: 921600 sectors
[ 4.945899] DEBUG:diskutil.c:404:device_size():device size: 131072 sectors
[ 4.952875] DEBUG:diskutil.c:404:device_size():device size: 6385664 sectors
[ 4.962729] DEBUG:diskutil.c:404:device_size():device size: 7634944 sectors
[ 4.969750] INFO:recovery-util.c:1118:check_mbr():!!! Checking MBR /dev/mmcblk0 !!!!
[ 4.985965] DEBUG:diskutil.c:444:get_disk_info():real C:53760 H:4 S:16
[ 4.992515] DEBUG:diskutil.c:456:get_disk_info():calc C:119296 H:4 S:16
[ 4.999177] DEBUG:diskutil.c:587:append_partition()artition 1: requested length=921600
[ 5.007305] DEBUG:diskutil.c:210:roundup_lba():lba=987136 cylsize=64 ret=987136
[ 5.014644] DEBUG:diskutil.c:210:roundup_lba():lba=987136 cylsize=64 ret=987136
[ 5.021965] INFO:diskutil.c:573:append_partition()artition 2, start sector is 987136
[ 5.029903] DEBUG:diskutil.c:587:append_partition()artition 2: requested length=131072
[ 5.038053] DEBUG:diskutil.c:210:roundup_lba():lba=1118208 cylsize=64 ret=1118208
[ 5.045571] DEBUG:diskutil.c:210:roundup_lba():lba=1118208 cylsize=64 ret=1118208
[ 5.053064] INFO:diskutil.c:573:append_partition()artition 3, start sector is 1118208
[ 5.061089] DEBUG:diskutil.c:587:append_partition()artition 3: requested length=131072
[ 5.069209] DEBUG:diskutil.c:210:roundup_lba():lba=1249280 cylsize=64 ret=1249280
[ 5.076720] DEBUG:diskutil.c:210:roundup_lba():lba=1249280 cylsize=64 ret=1249280
[ 5.084223] INFO:diskutil.c:573:append_partition()artition 4, start sector is 1249280
[ 5.092235] DEBUG:diskutil.c:587:append_partition()artition 4: requested length=0
[ 5.099916] INFO:diskutil.c:238:make_part_info():maximizing partition 6385664 sectors
[ 5.107831] DEBUG:recovery-util.c:1180:check_mbr():Expected: 803D0FF 833D0FF 0100 10E00, 3D0FF83 3D0FF0 10F00 0200
[ 5.118229] DEBUG:recovery-util.c:1190:check_mbr():MBR : 803D0FF 833D0FF 0100 10E00, 3D0FF83 3D0FF0 10F00 0200
[ 5.128615] DEBUG:recovery-util.c:1192:check_mbr():!!! MBR checked /dev/mmcblk0 rootfs 0 varfs 0 !!!!
[ 5.138046] INFO:recovery-util.c:1250:check_and_create_partitions():*** Partition table verified for /dev/mmcblk0 ***
[ 5.148714] DEBUG:diskutil.c:444:get_disk_info():real C:53760 H:4 S:16
[ 5.155273] DEBUG:diskutil.c:456:get_disk_info():calc C:99776 H:4 S:16
[ 5.170072] ERROR:mount.c:88:losetup_fat():Could not find partition 0x0b on /dev/mmcblk0p4
[ 5.178415] ERROR:mount.c:172:mount_dosfs():Unable to access /dev/mmcblk0p4:Cannot update OS
[ 5.186893] ERROR:recovery-util.c:1860:main():No userstore partition, cannot check for updates.
[ 5.416449] INFO:eink.c:622:eink_splash_localized():Couldn't find localized image at /mnt/wfm/images/splash.raw.gz
[ 5.969911] ERROR:mount.c:352:umount_waveform_area():/mnt/wfm:error 22(22)
[ 5.976888] ERROR:mount.c:354:umount_waveform_area():Trouble unmounting waveform partition
[ 5.987994] DEBUG:mount.c:31:losetup_clear():ioctl LOOP_CLR_FD failed for /dev/loop1: error 6
BOOTING DEFAULT.
IP-Config: no devices to configure
kinit: Unable to mount root fs on device dev(179,1)
kinit: init not found!
[ 6.034061] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
hermit1 is offline   Reply With Quote
Old 03-23-2023, 09:02 AM   #2
katadelos
rm -rf /
katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.
 
Posts: 219
Karma: 3333683
Join Date: Nov 2019
Location: United Kingdom
Device: K5, KT, KT2, KT3, KT4, KV, PW2, PW3, PW4, PW5
Does the version of recovery-util on your device give you the option of exporting the userstore partition? If it does, download an update package for your device, transfer it over USB and reboot the device - this should take care of the main partition.

You can grab a copy of the diags partition from here: https://www.mobileread.com/forums/sh...d.php?t=342535

The diags partition can be installed by flashing it over fastboot.
katadelos is offline   Reply With Quote
Old 03-23-2023, 02:46 PM   #3
hermit1
Junior Member
hermit1 began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2023
Device: Kindle
I'm quite newby in Kindle "word".
How can I access recovery-util?
Usb_diags ( uboot_2009-08-lab126_wario_usb_diags.bin) or diag image ( kt3-078-b7-diags_eanab_heisenberg-301630.tar.xz) is needed?
"transfer it over USB" means copy the diag image simple the Kindle internal storage or via fastboot (/fastboot flash diags_kernel diags_kernel.img)?
hermit1 is offline   Reply With Quote
Old 03-24-2023, 02:59 PM   #4
eddie.t.h
Addict
eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.
 
eddie.t.h's Avatar
 
Posts: 201
Karma: 123456
Join Date: Jan 2018
Device: Too Much Kindle :-)
Just hit Enter when you see this message
Quote:
[ 3.862068] INFO:eink.c:376:eink_init():eink initialized... (486400 bytes)
Press [ENTER] for recovery menu..[ 3.869170] DEBUG:recovery-
In the recovery menu, select the FAT memory format, then share the FAT partition, connect the Kindle to the computer via USB, save the system update file on it from the Amazon website, then in the recovery menu select the upgrade. Now enjoy a working device
eddie.t.h is offline   Reply With Quote
Old 03-25-2023, 05:05 AM   #5
hermit1
Junior Member
hermit1 began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2023
Device: Kindle
I could start.

Details:
I created 4 partition in linux:

Spoiler:
fdisk -l

Disk /dev/mmcblk0: 3959 MB, 3959422976 bytes
4 heads, 16 sectors/track, 120832 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

Device Boot Start End Blocks Id System
/dev/mmcblk0p1 * 1025 15424 460800 83 Linux
/dev/mmcblk0p2 15425 17472 65536 83 Linux
/dev/mmcblk0p3 17473 19520 65536 83 Linux
/dev/mmcblk0p4 19521 119296 3192832 b Win95 FAT32

Disk /dev/mmcblk0boot0: 2 MB, 2097152 bytes
4 heads, 16 sectors/track, 64 cylinders
Units = cylinders of 64 * 512 = 32768 bytes


Then mmcblk0p4 partition set 0b type and format with mkfs.vfat.
Mount it and copy to update_kindle_8th_5.15.1.1.bin on it then unmount.
Reboot kindle, finds the update and configure all.

Hope it helps.
hermit1 is offline   Reply With Quote
Old 03-25-2023, 05:09 AM   #6
hermit1
Junior Member
hermit1 began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2023
Device: Kindle
Quote:
Originally Posted by eddie.t.h View Post
Just hit Enter when you see this message


In the recovery menu, select the FAT memory format, then share the FAT partition, connect the Kindle to the computer via USB, save the system update file on it from the Amazon website, then in the recovery menu select the upgrade. Now enjoy a working device
Thanks!
It this case partition 4 was unable mount by kindle above what I had to do.
hermit1 is offline   Reply With Quote
Old 03-25-2023, 02:31 PM   #7
hermit1
Junior Member
hermit1 began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2023
Device: Kindle
Quote:
Originally Posted by hermit1 View Post
Thanks!
It this case partition 4 was unable mount by kindle above what I had to do.
Something still not properly set at partitions just 53MB free: https://ibb.co/DgjDTCQ

partitions are the following: https://ibb.co/Dr0k6tC

All of them are showing in Windows at connecting device. Of course only the b type partition accessible under Win, but the copied e-book are not showing because something still wrong.
"Kindle Internal Storage" should be shown. Any idea?
hermit1 is offline   Reply With Quote
Old 03-25-2023, 02:55 PM   #8
eddie.t.h
Addict
eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.
 
eddie.t.h's Avatar
 
Posts: 201
Karma: 123456
Join Date: Jan 2018
Device: Too Much Kindle :-)
Try a factory reset. If this does not help, once again in the recovery menu, initialize the partitions and format the FAT partition.
eddie.t.h is offline   Reply With Quote
Old 03-25-2023, 03:57 PM   #9
hermit1
Junior Member
hermit1 began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2023
Device: Kindle
Quote:
Originally Posted by eddie.t.h View Post
Try a factory reset. If this does not help, once again in the recovery menu, initialize the partitions and format the FAT partition.
Thanks Eddie, factory reset solved it!
hermit1 is offline   Reply With Quote
Old 03-25-2023, 04:12 PM   #10
eddie.t.h
Addict
eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.eddie.t.h is an accomplished Snipe hunter.
 
eddie.t.h's Avatar
 
Posts: 201
Karma: 123456
Join Date: Jan 2018
Device: Too Much Kindle :-)
eddie.t.h is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tolino partitions torto Tolino 4 04-16-2021 04:54 PM
PRS-T1 how to access the device partitions nima007 Sony Reader Dev Corner 0 07-18-2013 02:38 AM
Skip Read-Only partitions rstolli Devices 0 02-21-2012 02:56 PM
Touch Rooted Touch partitions JSWolf Nook Developer's Corner 2 06-22-2011 10:26 AM
After burning image, should there be 2 partitions? SCION Nook Developer's Corner 2 01-09-2011 04:24 PM


All times are GMT -4. The time now is 10:13 PM.


MobileRead.com is a privately owned, operated and funded community.