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 06-19-2012, 10:05 AM   #1
rusHack
Member
rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.
 
Posts: 14
Karma: 212044
Join Date: Jun 2012
Location: Betelgeuse
Device: Kindle B008
Difference between different versions of Kindle

Hello, I am new to the forum and this is my first post . But I was reading this forum for the past 2 days, while jailbreaking (if the term is applicable) my kindle and it had been really useful.

I want to know what is the difference from programming/hacking point of view between different Kindles?

I believe kindles 3 run on 2.6 kernel, and Fire runs a modified Android (but I am not currently interested in fire).
So what is the main difference between Kindle 1,2,3, Dx, touch and why does each hack has a separate version for each? What exactly are .bin files?

Yesterday I installed a TCC ARM compiler and it says that the demo runs on all the versions so C API and headers are probably the same, so that's nice

Last edited by rusHack; 06-19-2012 at 10:16 AM.
rusHack is offline   Reply With Quote
Old 06-19-2012, 10:15 AM   #2
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by rusHack View Post
Hello, I am new to the forum and this is my first post . But I was reading this forum for the past 2 days, while jailbreaking (if the term is applicable) my kindle and it had been really useful.

I want to know what is the difference from programming/hacking point of view between different Kindles?

I believe normal kindles run on 2.6 kernel, and Fire runs a modified Android (but I am not currently interested in fire).
So what is the main difference between Kindle 1,2,3, Dx, touch and why does each hack has a separate version for each? What exactly are .bin files?

Yesterday I installed a TCC ARM compiler and it says that the demo runs on all the versions so C API and headers are probably the same, so that's nice
The .bin files are signed installation packages. Each kindle model uses a different package signing key, to prevent installing a package on the wrong kindle model.

Newer kindles have additional ways to install unsigned packages, which also makes it easier to install one for the wrong model, possibly bricking the kindle. But these newer kindles are also easier to debrick.

There are different kinds of programming (each having an index in the master index: kindlet, WAF, native, etc.). You can read more about them in the index and especially in the K4 and Touch Hacking wikis.
geekmaster is offline   Reply With Quote
Advert
Old 06-19-2012, 10:17 AM   #3
knc1
Going Viral
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: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
The major hardware difference is the SoC running the Kindle and the processor core running the SoC.
K1, K2, K3, DX(G) : i.MX3* series SoC - ARMv6l core
K4, K5 : i.MX5* series SoC - ARMv7l core
This forum does not "do" K6 (Kindle Fire).

Then the next important hardware difference (if you want to see something) is the hardware controlling the e-ink display.
That is built into the i.MX5* series (K4 & K5) and is an external chip on others.

There are enough other hardware differences that Amazon/lab126 builds different kernels and system images for each.
In the case of the K4 & K5, different kernel and system images within the same series ("4" and "5") - just to make things more difficult for us (or to up the manhours of paid labor for lab126 members).

So the C API and headers being the same as some supercomputer running Linux does not count for much when you get into the details.
knc1 is offline   Reply With Quote
Old 06-19-2012, 10:20 AM   #4
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: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
I'll answer the specifics of the .bin format, check the Wiki for broader info about the Kindle OS (basically, it's a bare Linux OS with a java framework on top).

The .bin files are files used by Amazon's update system. They're essentially just a scrambled tarball with a control file. That control file will tell the update system which files are a script, the updater will then run each of these script in alphabetical order. Official updates use these to apply delta binary patches, update the kernel, add new files, remove old files, & co. We use them to inject new stuff in the rootfs, which is temporarily mounted rw during the course of the update process .

With the K4, Amazon introduced an update to the header of this .bin format. The most interesting part of this update was the ability to target multiples devices with a single .bin file. The older format only supported *one* device code, that's why we had to have a .bin for each Kindle model, even if the content of the tarball was identical. (And this device code is one of the first things checked by the Kindle, we can't spoof it [in the .bin file, I mean, we could theoretically NOP this check on the Kindle side], if a device doesn't find its device code in the update file header, the 'Update Your Kindle' link won't be enabled).

Check this specific part of the Wiki for more info about the tools we use (and used) to play with this file format .

Last edited by NiLuJe; 06-19-2012 at 10:25 AM.
NiLuJe is offline   Reply With Quote
Old 06-19-2012, 10:21 AM   #5
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by knc1 View Post
Then the next important hardware difference (if you want to see something) is the hardware controlling the e-ink display.
That is built into the i.MX5* series (K4 & K5) and is an external chip on others.
The K4 complicates this by having a "hardware emulation layer" that uses K3-style framebuffer drivers (einkfb) when booting from main, but K5-style framebuffer drivers (mxcfb) when booting from diags. K5-style is MUCH faster.

I think they use K3 compatibility eink so they could re-use a lot of K3 code in the K4. There are other reports that the K4 framework is more like the K3, despite the fact that the K4 hardware is more like the K5.
geekmaster is offline   Reply With Quote
Advert
Old 06-19-2012, 10:26 AM   #6
knc1
Going Viral
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: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
@NiLuJe: Has that link been indexed yet?
knc1 is offline   Reply With Quote
Old 06-19-2012, 10:30 AM   #7
rusHack
Member
rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.
 
Posts: 14
Karma: 212044
Join Date: Jun 2012
Location: Betelgeuse
Device: Kindle B008
Thank you all for replies. I have a lot of reading to do now.
rusHack is offline   Reply With Quote
Old 06-19-2012, 10:36 AM   #8
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: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@knc1: Nope, I'm planning on doing a batch indexing/prefixing session sometime this week .
NiLuJe is offline   Reply With Quote
Old 06-19-2012, 10:43 AM   #9
knc1
Going Viral
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: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by NiLuJe View Post
@knc1: Nope, I'm planning on doing a batch indexing/prefixing session sometime this week .
The structure is fairly well established, although not (yet) consistently applied across all index pages.

A person might even consider it "stable", at least this week because I am taking the week off from wiki-editing.
knc1 is offline   Reply With Quote
Old 06-19-2012, 11:06 AM   #10
knc1
Going Viral
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: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by rusHack View Post
Thank you all for replies. I have a lot of reading to do now.
Super! (en_IBM)
Twenty-five minutes and your off to deal with your interests.
Better than a paid customer service staff could do.
knc1 is offline   Reply With Quote
Old 06-19-2012, 11:39 AM   #11
rusHack
Member
rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.rusHack ought to be getting tired of karma fortunes by now.
 
Posts: 14
Karma: 212044
Join Date: Jun 2012
Location: Betelgeuse
Device: Kindle B008
Quote:
Super! (en_IBM)
Twenty-five minutes and your off to deal with your interests.
Better than a paid customer service staff could do.
Yes, indeed! Yet another positive thing about this is that when I learn everything, I may become "customer service stuff" myself, and help other newbies.

Also, what I noticed about hacking kindle, is that most google queries directed my right to this forum. Even through this is probably not that big of a community, most of the people hacking kindle are using this forum, instead of 100s small half-dead once which is really good . When I posted this, I expected to wait at least several days for a reply, but instead they were nearly instant!

Last edited by rusHack; 06-19-2012 at 11:42 AM. Reason: editing
rusHack is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to tell the difference between a new kindle dx graphite and a refurbushed one? melodysilence Amazon Kindle 12 03-03-2011 01:51 AM
Difference between Kindle and Cybook G3 profile? FizzyWater Devices 2 02-27-2011 12:41 AM
Difference between the dozens of versions of Public Domain books? angelbleu Amazon Kindle 17 03-03-2010 08:08 AM
iPDF: What's difference of the ALL-In-ONE version and the package for eight versions? genome2k iRex 0 10-07-2008 03:43 PM
Sur Amazon, des versions électroniques plus chères que les versions papier IreneDelse Amazon Kindle 8 08-29-2008 08:35 AM


All times are GMT -4. The time now is 07:51 PM.


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