Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 05-22-2018, 02:32 PM   #91
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 7,181
Karma: 6810963
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O
We used to have a custom fastboot utility to handle the weird-ass iMX fastboot, (c.f., the serial debricking thread), but I'm not sure this'll apply here...
NiLuJe is offline   Reply With Quote
Advert
Old 05-22-2018, 02:48 PM   #92
kapaggar
Member
kapaggar began at the beginning.
 
kapaggar's Avatar
 
Posts: 19
Karma: 10
Join Date: May 2018
Device: KT3
Quote:
Originally Posted by NiLuJe View Post
We used to have a custom fastboot utility to handle the weird-ass iMX fastboot, (c.f., the serial debricking thread), but I'm not sure this'll apply here...
yes I have tried kindle fastboot https://github.com/TobiasWooldridge/Fastboot-Kindle

fastboot -s G000K90NNNNNNNNN setvar bootmode main

Looks like this kindle has to go under the knife...lemme order some USB/UART converter from Amazon.

I was thinking tonight we play with kernel boot via fastboot , like in android world.. but fun ends here.

fastboot boot boot.img


Quote:
Originally Posted by coplate View Post

This is the software download link:
https://www.amazon.cn/gp/help/custom...deId=202167860

It runs Android OS.

Images of that device from China show it looks nearly identical to the kindle basic 8th gen

With aim to flash kernel and rootfs on KT3 extracted from your comment.. I ran kindletool.
Code:
$ kindletool extract Downloads/update-kindle-6.0.3_user_603479820.bin  Downloads/KindleBasic2_KT3/Firmwares/china 
Extracting update package 'Downloads/update-kindle-6.0.3_user_603479820.bin' to 'Downloads/KindleBasic2_KT3/Firmwares/china'.
Bundle         Unknown (0x504B0304 [PK])
Unknown update bundle version!
Error converting update package 'Downloads/update-kindle-6.0.3_user_603479820.bin'.
kapaggar is offline   Reply With Quote
Old 05-22-2018, 03:57 PM   #93
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 7,181
Karma: 6810963
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O
@kapaggar: Huh. I'll try to take a look at it, but I have tremendous issues accessing anything amazon.cn, so that may get tricky...

EDIT: Got it through my build box. I guess my ISP is getting sneaky...

EDIT²: Well, that was easy.

Code:
┌─(niluje@tyrande:pts/0)────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(~)─┐
└─(0.29:32%:22:04:%)── file update-kindle-6.0.3_user_603479820.bin                                                                                                                                                                                          ──(Tue, May 22)─┘
update-kindle-6.0.3_user_603479820.bin: Java archive data (JAR)
┌─(niluje@tyrande:pts/0)────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(~)─┐
└─(0.27:32%:22:04:%)── unzip -l update-kindle-6.0.3_user_603479820.bin                                                                                                                                                                                      ──(Tue, May 22)─┘
Archive:  update-kindle-6.0.3_user_603479820.bin
signed by SignApk
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  10-20-2016 02:52   system.patch.dat
   124644  10-20-2016 02:52   META-INF/com/amazon/android/check-binary
     1316  10-20-2016 02:52   META-INF/com/amazon/android/target.blocklist
     3945  10-20-2016 02:52   META-INF/com/amazon/android/target.build.prop
       45  10-20-2016 02:52   META-INF/com/amazon/android/target.system.devicepath
      137  10-20-2016 02:52   META-INF/com/amazon/android/target.system.map
       40  10-20-2016 02:52   META-INF/com/amazon/android/target.system.map.sha1
      132  10-20-2016 02:52   META-INF/com/android/metadata
   504416  10-20-2016 02:52   META-INF/com/google/android/update-binary
      860  10-20-2016 02:52   META-INF/com/google/android/updater-script
  5617664  10-20-2016 02:52   boot.img
    16057  10-20-2016 02:52   file_contexts
   524288  10-20-2016 02:52   images/mboot.bin
   123904  10-20-2016 02:52   images/spl.imx
      235  10-20-2016 02:52   ota.prop
419807232  10-20-2016 02:52   system.new.dat
      172  10-20-2016 02:52   system.transfer.list
     3945  10-20-2016 02:52   system/build.prop
     1452  10-20-2016 02:52   META-INF/com/android/otacert
     1609  10-20-2016 02:52   META-INF/MANIFEST.MF
     1833  10-20-2016 02:52   META-INF/CERT.SF
     1553  10-20-2016 02:52   META-INF/CERT.RSA
---------                     -------
426735479                     22 files
EDIT^3: https://github.com/NiLuJe/KindleTool...5c97b514a60451

Beyond that, I'm not familiar with Fire OS, so, meh. ^^.

Last edited by NiLuJe; 05-22-2018 at 04:31 PM.
NiLuJe is offline   Reply With Quote
Old 05-22-2018, 06:41 PM   #94
knc1
Analog Forever!
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 16,142
Karma: 17256900
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by kapaggar View Post
Are below commands fine ? i will run these in diag if you give a green flag.
any precaution to take before taking these dumps and putting on google Drive ?
Code:
# dd if=/dev/mmcblk0boot0 |gzip > /mnt/us/images/mmcblk0boot0.gz
# dd if=/dev/mmcblk0boot1 |gzip > /mnt/us/images/mmcblk0boot1.gz

# dd if=/dev/mmcblk0p1 |gzip > /mnt/us/images/mmcblk0p1.gz
# dd if=/dev/mmcblk0p2 |gzip > /mnt/us/images/mmcblk0p2.gz
# dd if=/dev/mmcblk0p3 |gzip > /mnt/us/images/mmcblk0p3.gz
You should not have to fiddle with DIY commands, I posted a backup script here that will do all (or the portions you select), including the matching kernel images.
(and unlike geekmaster's script, mine actually tests the kernel image for correctness using u-boot tools.)
knc1 is offline   Reply With Quote
Old 05-22-2018, 08:14 PM   #95
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 7,181
Karma: 6810963
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O
For ref: https://www.mobileread.com/forums/sh...ghlight=backup

Note that I personally like piping dd to netcat because it bypasses the Kindle's storage .
NiLuJe is offline   Reply With Quote
Old 05-28-2018, 10:28 AM   #96
kapaggar
Member
kapaggar began at the beginning.
 
kapaggar's Avatar
 
Posts: 19
Karma: 10
Join Date: May 2018
Device: KT3
mkback.sh gives error

Quote:
Originally Posted by knc1 View Post
You should not have to fiddle with DIY commands, I posted a backup script here that will do all (or the portions you select), including the matching kernel images.
(and unlike geekmaster's script, mine actually tests the kernel image for correctness using u-boot tools.)
There are few errors probably being reported by your script in KT3.
Could be due to kernel and diag kernel offsets different in this device ??


here is the full log.. should I post this in the main thread of this tool too ?

Spoiler:
Code:
[root@kindle us]# cat /proc/bootmode
main

[root@kindle us]# cat /etc/prettyversion.txt 
Kindle 5.8.0 (~~otaVersion~~)

[root@kindle us]# cat /proc/cmdline 
console=ttymxc0,115200 root=/dev/mmcblk0p1 rootwait rw uart_at_4M

[root@kindle us]# /mnt/us/unjail/mkbackup.sh

Copying partitioned area prefix.
33554432 bytes (32.0MB) copied, 3.202776 seconds, 10.0MB/s

Copying diag kernel block.
8388608 bytes (8.0MB) copied, 0.709047 seconds, 11.3MB/s

Copying main kernel block.
8388608 bytes (8.0MB) copied, 0.701848 seconds, 11.4MB/s

Extracting diagnostic uImage. 
28752 bytes (28.1KB) copied, 0.003355 seconds, 8.2MB/s
FIT description: unavailable
Created:         unavailable
Can't find images parent node '/images' (FDT_ERR_NOTFOUND)

Extracting main uImage. 
28752 bytes (28.1KB) copied, 0.003350 seconds, 8.2MB/s
FIT description: unavailable
Created:         unavailable
Can't find images parent node '/images' (FDT_ERR_NOTFOUND)

Copying main partition(2min).
471859200 bytes (450.0MB) copied, 197.361051 seconds, 2.3MB/s

Copying diag partition.
67108864 bytes (64.0MB) copied, 23.905605 seconds, 2.7MB/s

Copying local partition.
67108864 bytes (64.0MB) copied, 36.675739 seconds, 1.7MB/s

Copying boot0 partition.
4194304 bytes (4.0MB) copied, 8.732850 seconds, 469.0KB/s

Copying boot1 partition.
4194304 bytes (4.0MB) copied, 0.494171 seconds, 8.1MB/s


I am uploading the backs to the Google Drive link in previous post.
kapaggar is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[KUAL]Kindle reflective screen loader icantbebothered Kindle Developer's Corner 26 10-27-2013 09:08 AM
Kindle 4 NT - Updated Screen-saver code, updated hack bmsleight Amazon Kindle 2 10-07-2012 03:57 PM
Is the software updated needed? JVM Kobo Reader 1 03-31-2011 09:26 AM


All times are GMT -4. The time now is 03:26 AM.


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