01-22-2010, 05:11 AM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jan 2010
Device: kindle dx gw
|
Kindle DX global packaging + signatures
Hi,
My kindle dx global arrived today and I've been browsing this board and associated blogs since then. Its unfortunate that the documentation is scattered like this. Anyways, I managed to get the usbnet package working. The DX global has a new deviceCode '05', so maybe jyavenard can release a new packager that uses kver=5 in case of DX global. Can somebody pls explain to me (or better yet, document somewhere) the use of signatures on the kindle? I saw the --ex option and from examples in this forum I assume I have to use it. But I didn't really find anything on what it actually does and the packager README is not very clear at this point. Looking at the code, it appears it adds some kindle RSA key back into a keychain. I also read that I have to remove the custom updates to appy an amazon update. But these updates all appear to be incremental, so most of the time this should not be technically necessary? Whats the issue here and how can it be fixed? How about using a more elaborate packaging system like ipkg. |
01-22-2010, 08:39 AM | #2 |
Enthusiast
Posts: 43
Karma: 10
Join Date: Jan 2010
Location: Germany
Device: Kindle DXi
|
See the author's comments for detailed information about his own creation
Edit: Great. The kver trick works like a charm. Thx. For everybody else: * get usbnetwork23-0.10.tar.gz * delete update_usbnetwork-dx.bin * in kindle_update_tool.py change kver=4 to kver=5 in line 333 and 358 * "make update_usbnetwork-dx.bin" The last part should be clear. The other hacks can be treated in the same way. Last edited by jft; 01-22-2010 at 11:57 AM. |
Advert | |
|
01-23-2010, 02:56 AM | #3 |
Zealot
Posts: 141
Karma: 383
Join Date: Sep 2009
Device: Kindle 2
|
Hi n
I will update the packager to support the DX international this week-end |
01-23-2010, 08:36 AM | #4 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jan 2010
Device: kindle dx gw
|
What about the version and signature things? Yes I saw all the blog posts. But unless I overlooked something, there is no explanation in there.
Also, my dropbear server (taken from 0.10 package) either dies or actively kills the connection about 30 seconds after login. Any clues about that? |
01-23-2010, 09:13 AM | #5 | ||
Enthusiast
Posts: 43
Karma: 10
Join Date: Jan 2010
Location: Germany
Device: Kindle DXi
|
Ok. So here are the details about the sigs:
Quote:
Quote:
Code:
# Create fake symlink namedir = '__dir' + str(random.randint(1000,9999)) tarinfo = tarfile.TarInfo(namedir) tarinfo.type = tarfile.SYMTYPE tarinfo.linkname = KINDLE_HACK_DIR tar.addfile(tarinfo) # Create new key fd , tmpfile = tempfile.mkstemp() fs = os.fdopen(fd,"wb") fs.write(NEW_KEY) fs.close() tarinfo = tar.gettarinfo(tmpfile, arcname=namedir+'/'+KINDLE_HACK_KEYNAME) add_tarfile(tarinfo, tmpfile, tar) os.remove(tmpfile) The public key has to be exchanged because we do not have access to the private key of amazon and so could never create valid signatures. See wikipedia for detailed information about signatures. Last edited by jft; 01-23-2010 at 09:19 AM. |
||
Advert | |
|
01-23-2010, 06:57 PM | #6 |
Zealot
Posts: 141
Karma: 383
Join Date: Sep 2009
Device: Kindle 2
|
I have updated the packager to support the Kindle DX international from the info in that thread.
Note that I do not have one, and as such this is completely untested. http://www.avenard.org/kindle2/packager-0.8.tar.gz |
01-27-2010, 10:20 AM | #7 |
Enthusiast
Posts: 43
Karma: 10
Join Date: Jan 2010
Location: Germany
Device: Kindle DXi
|
One comment to the timeout:
kill the netwatchd service ("/etc/init.d/netwatchd stop"). This daemon monitors the net access (actually the accessibility of www.amazon.com) and resets all connections if it detects a network failure. As you enable usbNetwork you also set the default route to the usb interface. Bang. Last edited by jft; 01-27-2010 at 11:18 AM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Newspapers in Kindle 2 Global? | guess32 | Amazon Kindle | 9 | 01-12-2010 06:08 AM |
Kindle DX with Global Access? | rcuadro | News | 1 | 01-05-2010 10:41 AM |
Kindle DX Global coming soon? | Flub | News | 0 | 01-05-2010 05:59 AM |
Ended Amazon Kindle 2 With Cover And Original Packaging | ifonline | Flea Market | 3 | 09-18-2009 01:35 PM |