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 12-30-2011, 01:19 PM   #16
geekmaster
Всё гениальное просто.
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: 5,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by MatzeMatz View Post
About the 1.8V USB <-> serial adapter:
Any suggestion about how I can detect if it's compatible (1.8V) adapter?
What about the "Digitus DA-70156"?
(e.g. from German Amzon: Digitus DA-70156)
Or any other suggestions?
The model at the link that you provided (above) has a 9-pin D-connector, which is used by RS-232 serial (not TTL serial).

Be sure NOT to get one that is for RS-232, because that puts out up to +12v for logic ZERO, and -12v (negative) for logic ONE. Although that can be converted to 1.8v TTL, the simplest circuit needs at least two transistors and additional components to invert the logic levels and shift the voltage levels.

If it supports 1.8v TTL then it should say so in its list of features, or somewhere in its documentation or sales information.

If in doubt about a particular device that you plan to purchase, you should contact the manufacturer or vendor of that device and ask them, before making that purchase.

The least expensive (mostly-compatible) adapters that I have found are on eBay for under $3USD with free shipping, but they need the modifications detailed in my "Kindle serial adapter level shifter circuit" thread:
http://www.mobileread.com/forums/sho...d.php?t=162775

If you watch "Unbrick your Kindle 3 - Video" by Seaniko7, you will see a details about the USB 1.8v TTL serial adapter cable that he used:
http://www.mobileread.com/forums/sho...d.php?t=134637

EDIT: It is difficult to search for a USB 1.8v TTL serial adapter because many adaper cables are 1.8m long.

There was a discussion about this on the IRC channel.

Disclaimer: The following information (protected by the Spoiler wrapper) is public information, relevant to this thread, with participation by mobileread members, so there should be no problem posting it here. It contains some "salty" language, so please do not read it if that might offend you. Thanks.

Here is an excerpt of that IRC channel discussion:
Spoiler:
Code:
dasmoover 	: kindle is f**ked up to the point where it only reads two items, lets me go to screensaver, wifi won't connect, no keyboard	Today - 7:47
geekmstr 	: any attempt to access /mnt/us sent "Stale NFS mount" message to serial port / logs...	Today - 7:47
geekmstr 	: do not waste you time without serial cable (unless you enjoy this)	Today - 7:47
geekmstr 	: get serial cable.	Today - 7:47
dasmoover 	: LOL	Today - 7:48
geekmstr 	: seriously.. what LOL?	Today - 7:48
dasmoover 	: I need materials	Today - 7:48
geekmstr 	: you ENJOY this?	Today - 7:48
dasmoover 	: not at all	Today - 7:48
dasmoover 	: but I have no clue on the hardware necessar	Today - 7:48
Overshee 	Quit: Be back later	Today - 7:48
geekmstr 	: what materials? what do you have? can you afford a 1.8v usb serial adapter?	Today - 7:48
dasmoover 	: sure	Today - 7:48
dasmoover 	: where?	Today - 7:49
geekmstr 	: 3.3v adapters are like $3 shipped from singapore. 1.8v I do not know where -- Seaniko7 shows one in his k3 unbriking video...	Today - 7:49
dasmoover 	: what other hardware do i need	Today - 7:49
geekmstr 	: there is a thread with schematic on converting 3.3v to 1.8v.	Today - 7:50
WafflesVa 		Today - 7:50
geekmstr 	: quickest to just solder wires to the serial pins with a needle-tip soldering iron (not too hot).	Today - 7:50
geekmstr 	: best way is the special connector. I have 6 free samples on their way here. yifanlu has 20 in his posession.	Today - 7:51
geekmstr 	: The special crimp tool is $300 so you need to cut and solder the pins like hondamarlboro did (look at his photos).	Today - 7:51
geekmstr 	: the pins (sockets) in the connector that is...	Today - 7:52
geekmstr 	: there is a lot of discussion in the irc archives too..	Today - 7:52
n00b596 	: hardware junkies...I have a root shell. I win.	Today - 7:52
geekmstr 	: I helped several ppl get their comm working (or at least one way)...	Today - 7:53
dasmoover 	: mm ive got to order the materials	Today - 7:54
geekmstr 	: dansmoover -- what country are you in?	Today - 7:54
dasmoover 	: us	Today - 7:54
geekmstr 	: what state?	Today - 7:56
dasmoover 	: ny	Today - 7:56
geekmstr 	: I am in MN	Today - 7:56
geekmstr 	: here is digikey 1.8v:	Today - 7:56
geekmstr 	: http://parts.digikey.com/1/parts/2032985-cable-usb-serial-1-8v-wire-100ma-t...	Today - 7:56
geekmstr 	: @25 + shipping.	Today - 7:56
geekmstr 	: $25	Today - 7:56
geekmstr 	: looking on ebay	Today - 7:57
Tr0n 	: why is it so expensive?	Today - 7:58
Tr0n 	: couldnt you just take apart an existing serial cable?	Today - 7:58
Tr0n 	: http://www.monoprice.com/products/product.asp?c_id=103&cp_id=10311&cs_id...	Today - 7:58
geekmstr 	: digikey sells to big companies.	Today - 7:58
geekmstr 	: Your URL is RS232 -- logic 0 = +12v, logic 1 = -12v. TTL logic 0 = 0v, logic 1 = supply voltage (1.8 or 3.3)	Today - 8:00
geekmstr 	: You would have to hack the rs232 one to find ttl somewhere inside it (too much work and no guarantee of success).	Today - 8:01
geekmstr 	: better to get ttl	Today - 8:01
dasmoover 	: looking how to get the kindle into diag/reset with hardware commands	Today - 8:01
geekmstr 	: Get this: http://www.ebay.com/itm/USB-2-0-UART-TTL-6PIN-Module-Serial-Converter-CP2102-&#x...	Today - 8:04
geekmstr 	: $2.92 buy-it-now free shipping. hong kong though -- will take a month...	Today - 8:04
n00b596 	Quit: Page closed	Today - 8:05
geekmstr 	: needs voltage conversion as shown in my schematic on the thread (including removing an LED from it).	Today - 8:05
geekmstr 	: Or more money locally if in a hurry.	Today - 8:05
geekmstr 	: 1.8v not an ebay keyword match...	Today - 8:06
DoYouKnow 	: is there a way to view 3g UARFCNs on a kindle without opening the case?	Today - 8:08
geekmstr 	: TI has a small computer (430 launchpad) that costs $4.30.	Today - 8:10
geekmstr 	: It is a computer that can do many things. one of them is to act like a usb serial adapter.	Today - 8:10
geekmstr 	: I have several of these.	Today - 8:10
geekmstr 	: http://e2e.ti.com/group/msp430launchpad/w/default.aspx	Today - 8:10
geekmstr 	: An awesome bargain, sold way below cost to get programmers to write stuff for them.	Today - 8:11
geekmstr 	: a full development kit with mutliple CPU chips (swap them on the board)	Today - 8:12
geekmstr 	: it has a bunch of generial purpose i/o pins. there is code to use a couple for serial RxD and TxD.	Today - 8:12
dasmoover 	: how would I use it for k3	Today - 8:12
geekmstr 	: They are in US and ship fast.	Today - 8:12
geekmstr 	: K3 has serial connect open to outside, in bottom slot in left side. Read here:	Today - 8:14
dasmoover 	: if i bought this, what else would I need for serial access?	Today - 8:15
geekmstr 	: http://www.mobileread.com/forums/showthread.php?t=96442	Today - 8:15
geekmstr 	: The 430 comes with usb cable for power and PC communication. The kindle would connect to some pins on the board but probably needs the diodes and resistor shown in my schematic (not 1.8v).	Today - 8:16
geekmstr 	: You need to load a usb serial program into it to make it do that. A learning curve.	Today - 8:16
geekmstr 	: Much less learning if you just get a real serial adapter that installs as a com port...	Today - 8:17
dasmoover 	: so i'd need to get that, a couple of resistors and diodes, create pcb board?	Today - 8:17
geekmstr 	: but if you WANT to learn the 430 is the way to go.	Today - 8:17
dasmoover 	: i'm trying to find the easiest way to be honest	Today - 8:17
geekmstr 	: if you want cheap but simple the $3 chinese one is the way to go.	Today - 8:17
geekmstr 	: If you want simple and fast the digikey one is the way to go.	Today - 8:18
geekmstr 	: cheap, easy, fast shipping -- pick only two...	Today - 8:18
geekmstr 	: cheap+easy = chinese + 30 days.	Today - 8:18
dasmoover 	: east, fast shipping	Today - 8:19
geekmstr 	: cheap+fast = TI 430 + big learning curve	Today - 8:19
dasmoover 	: cheap, easy	Today - 8:19
geekmstr 	: easy+fast = digikey $25 + shipping	Today - 8:19
geekmstr 	: cheap+easy = ebay chinese $3 free shipping 30 days (by boat)	Today - 8:19
geekmstr 	: and make a connector like this: http://www.mobileread.com/forums/showthread.php?t=96442	Today - 8:20
geekmstr 	: and make the voltage convertor in my schematic. and remove an led from the adapter.


Last edited by geekmaster; 12-30-2011 at 01:49 PM.
geekmaster is offline   Reply With Quote
Old 12-30-2011, 10:28 PM   #17
openhwdev
Junior Member
openhwdev began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2011
Device: Kindle Touch
Re: 1.8V Serial Connection

Geekmaster,

Great write-up. I've just got two basic questions. Are you accessing the RX/TX internally or via the microUSB port on the KindleTouch ? What is the pinout ?

Thanks!
openhwdev is offline   Reply With Quote
Old 12-31-2011, 04:01 AM   #18
geekmaster
Всё гениальное просто.
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: 5,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
(Bump)
Major News Flash: kindle touch debrick with no serial cable:
http://www.mobileread.com/forums/sho...48#post1893448


Quote:
Originally Posted by openhwdev View Post
Geekmaster,

Great write-up. I've just got two basic questions. Are you accessing the RX/TX internally or via the microUSB port on the KindleTouch ? What is the pinout ?

Thanks!
If you read this thread starting with the original post, it clearly states that the internal serial port connector was used.

The pinout is provided in the "Kindle serial adapter level shifter circuit" thread:
http://www.mobileread.com/forums/sho...72#post1903472

Last edited by geekmaster; 12-31-2011 at 04:31 AM.
geekmaster is offline   Reply With Quote
Old 12-31-2011, 09:55 AM   #19
MatzeMatz
Enthusiast
MatzeMatz began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Dec 2011
Device: Kindle Touch
@geekmaster: Thanks for your information.
Now that my device is working again, I hope I'll never need the serial cable
But who knows what happens...

BTW, the only cables which I found which for sure will work, cost more than 20$/ EUR and that's really expensive!
MatzeMatz is offline   Reply With Quote
Old 12-31-2011, 10:59 AM   #20
geekmaster
Всё гениальное просто.
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: 5,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by MatzeMatz View Post
BTW, the only cables which I found which for sure will work, cost more than 20$/ EUR and that's really expensive!
Same here in USA: digikey $25 + $5 shipping (USD).

The problem is that you can easily search for a 5v or 3.3v adapter, but try searching for a 1.8v adapter and any useful results are buried under a deluge of hits for 6 ft (1.8 m) adapter cables.

The only easy way to find one is from a local distributor, and that is a LOT more expensive than from a Chinese eBay store (where some 3.3v adapters cost under $3 USD, free shipping). That is WHY a level shifter circuit is useful.
geekmaster is offline   Reply With Quote
Old 12-31-2011, 01:30 PM   #21
boskyout
Junior Member
boskyout began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Dec 2011
Device: Kindle Touch
In the first spoiler, why it showed "info X:makexconfig:Accelerometer device: N/A !!:" I remembered that yifanlu once said that KT has the Accelerometer device, what does it exactly mean?
boskyout is offline   Reply With Quote
Old 12-31-2011, 06:14 PM   #22
geekmaster
Всё гениальное просто.
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: 5,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by boskyout View Post
In the first spoiler, why it showed "info X:makexconfig:Accelerometer device: N/A !!:" I remembered that yifanlu once said that KT has the Accelerometer device, what does it exactly mean?
I was wondering that same thing, and I posted that question to the IRC channel.

Not only does the touch have a accelerometer, but it is enabled, and you can see the live accelerometer data stream with:
.
hd /dev/input/event3
.
Here is some sample output from the above command when I shook my Kindle Touch from top-to-bottom and from side-to-side (velocity sensing), and with it held in front of me by rotating it sideways past 45-degree angles (gravity sensing):

Spoiler:
Code:
[root@kindle input]# hd event3
00000000  36 86 ff 4e 42 79 04 00  01 00 3e 00 01 00 00 00  |6..NBy....>.....|
00000010  36 86 ff 4e 62 79 04 00  01 00 3e 00 00 00 00 00  |6..Nby....>.....|
00000020  36 86 ff 4e 69 79 04 00  00 00 00 00 00 00 00 00  |6..Niy..........|
00000030  36 86 ff 4e 87 63 05 00  01 00 3d 00 01 00 00 00  |6..N.c....=.....|
00000040  36 86 ff 4e a5 63 05 00  01 00 3d 00 00 00 00 00  |6..N.c....=.....|
00000050  36 86 ff 4e ac 63 05 00  00 00 00 00 00 00 00 00  |6..N.c..........|
00000060  36 86 ff 4e ef 44 0a 00  01 00 3c 00 01 00 00 00  |6..N.D....<.....|
00000070  36 86 ff 4e 10 45 0a 00  01 00 3c 00 00 00 00 00  |6..N.E....<.....|
00000080  36 86 ff 4e 16 45 0a 00  00 00 00 00 00 00 00 00  |6..N.E..........|
00000090  36 86 ff 4e 08 93 0a 00  01 00 3e 00 01 00 00 00  |6..N......>.....|
000000a0  36 86 ff 4e 25 93 0a 00  01 00 3e 00 00 00 00 00  |6..N%.....>.....|
000000b0  36 86 ff 4e 2c 93 0a 00  00 00 00 00 00 00 00 00  |6..N,...........|
000000c0  36 86 ff 4e f4 9f 0d 00  01 00 3b 00 01 00 00 00  |6..N......;.....|
000000d0  36 86 ff 4e 17 a0 0d 00  01 00 3b 00 00 00 00 00  |6..N......;.....|
000000e0  36 86 ff 4e 1e a0 0d 00  00 00 00 00 00 00 00 00  |6..N............|
000000f0  37 86 ff 4e 1a 1c 01 00  01 00 3e 00 01 00 00 00  |7..N......>.....|
00000100  37 86 ff 4e 39 1c 01 00  01 00 3e 00 00 00 00 00  |7..N9.....>.....|
00000110  37 86 ff 4e 40 1c 01 00  00 00 00 00 00 00 00 00  |7..N@...........|
00000120  37 86 ff 4e cb 76 04 00  01 00 3b 00 01 00 00 00  |7..N.v....;.....|
00000130  37 86 ff 4e e9 76 04 00  01 00 3b 00 00 00 00 00  |7..N.v....;.....|
00000140  37 86 ff 4e f0 76 04 00  00 00 00 00 00 00 00 00  |7..N.v..........|
00000150  b4 86 ff 4e 03 36 02 00  01 00 3d 00 01 00 00 00  |...N.6....=.....|
00000160  b4 86 ff 4e 27 36 02 00  01 00 3d 00 00 00 00 00  |...N'6....=.....|
00000170  b4 86 ff 4e 2e 36 02 00  00 00 00 00 00 00 00 00  |...N.6..........|
00000180  b5 86 ff 4e ce 3f 05 00  01 00 3b 00 01 00 00 00  |...N.?....;.....|
00000190  b5 86 ff 4e ed 3f 05 00  01 00 3b 00 00 00 00 00  |...N.?....;.....|
000001a0  b5 86 ff 4e f5 3f 05 00  00 00 00 00 00 00 00 00  |...N.?..........|
000001b0  b5 86 ff 4e ae 6e 0a 00  01 00 3e 00 01 00 00 00  |...N.n....>.....|
000001c0  b5 86 ff 4e ce 6e 0a 00  01 00 3e 00 00 00 00 00  |...N.n....>.....|
000001d0  b5 86 ff 4e d5 6e 0a 00  00 00 00 00 00 00 00 00  |...N.n..........|
000001e0  b7 86 ff 4e 35 f8 07 00  01 00 3d 00 01 00 00 00  |...N5.....=.....|
000001f0  b7 86 ff 4e 55 f8 07 00  01 00 3d 00 00 00 00 00  |...NU.....=.....|
00000200  b7 86 ff 4e 5c f8 07 00  00 00 00 00 00 00 00 00  |...N\...........|
00000210  b7 86 ff 4e bf 52 0b 00  01 00 3e 00 01 00 00 00  |...N.R....>.....|
00000220  b7 86 ff 4e de 52 0b 00  01 00 3e 00 00 00 00 00  |...N.R....>.....|
00000230  b7 86 ff 4e e5 52 0b 00  00 00 00 00 00 00 00 00  |...N.R..........|
00000240  b7 86 ff 4e fe a0 0b 00  01 00 3b 00 01 00 00 00  |...N......;.....|
00000250  b7 86 ff 4e 1c a1 0b 00  01 00 3b 00 00 00 00 00  |...N......;.....|
00000260  b7 86 ff 4e 23 a1 0b 00  00 00 00 00 00 00 00 00  |...N#...........|
00000270  b8 86 ff 4e 9f 7b 09 00  01 00 3c 00 01 00 00 00  |...N.{....<.....|
00000280  b8 86 ff 4e bc 7b 09 00  01 00 3c 00 00 00 00 00  |...N.{....<.....|
00000290  b8 86 ff 4e c3 7b 09 00  00 00 00 00 00 00 00 00  |...N.{..........|
000002a0  b8 86 ff 4e 89 d5 0c 00  01 00 3b 00 01 00 00 00  |...N......;.....|
000002b0  b8 86 ff 4e 96 d5 0c 00  01 00 3b 00 00 00 00 00  |...N......;.....|
000002c0  b8 86 ff 4e 98 d5 0c 00  00 00 00 00 00 00 00 00  |...N............|
000002d0  b8 86 ff 4e 8f a9 0e 00  01 00 3c 00 01 00 00 00  |...N......<.....|
000002e0  b8 86 ff 4e 9a a9 0e 00  01 00 3c 00 00 00 00 00  |...N......<.....|
000002f0  b8 86 ff 4e 9b a9 0e 00  00 00 00 00 00 00 00 00  |...N............|
00000300  b9 86 ff 4e 8b 97 04 00  01 00 3b 00 01 00 00 00  |...N......;.....|
00000310  b9 86 ff 4e a9 97 04 00  01 00 3b 00 00 00 00 00  |...N......;.....|
00000320  b9 86 ff 4e b0 97 04 00  00 00 00 00 00 00 00 00  |...N............|

"Shake mode" could be used (with appropriate software) to skip forward and backward in a media playlist, and probably has other great uses limited only by your imagination. Perhaps it could participate in the global earthquake detector network, for example.

"Gravity sensing" mode could be used to rotate the screen between portrait and landscape mode just like in the Kindles DX Graphite. Unless a way can be found to acquire accelerometer data events besides crossing 45-degree boundaries, it cannot yet be used for some of the fancy things like you can do with an android device or an ipad.

You can also read the touchscreen with:
.
hd /dev/input/event4
.
This datastream contains events defined in GPL source code. It supports sensing the position of one or two fingers. Here is sample output for moving one and two fingers:

Spoiler:
Code:
[root@kindle input]# hd event4
00000000  23 87 ff 4e 06 04 06 00  03 00 39 00 00 00 00 00  |#..N......9.....|
00000010  23 87 ff 4e 44 04 06 00  03 00 35 00 65 08 00 00  |#..ND.....5.e...|
00000020  23 87 ff 4e 53 04 06 00  03 00 36 00 97 06 00 00  |#..NS.....6.....|
00000030  23 87 ff 4e 8e 06 06 00  01 00 4a 01 01 00 00 00  |#..N......J.....|
00000040  23 87 ff 4e 9c 06 06 00  01 00 45 01 01 00 00 00  |#..N......E.....|
00000050  23 87 ff 4e ad 06 06 00  00 00 00 00 00 00 00 00  |#..N............|
00000060  23 87 ff 4e e6 9d 06 00  03 00 35 00 5c 08 00 00  |#..N......5.\...|
00000070  23 87 ff 4e 30 9e 06 00  00 00 00 00 00 00 00 00  |#..N0...........|
00000080  23 87 ff 4e dd be 06 00  03 00 35 00 49 08 00 00  |#..N......5.I...|
00000090  23 87 ff 4e 0b bf 06 00  03 00 36 00 9a 06 00 00  |#..N......6.....|
000000a0  23 87 ff 4e 33 bf 06 00  00 00 00 00 00 00 00 00  |#..N3...........|
000000b0  23 87 ff 4e b9 f8 06 00  03 00 35 00 13 08 00 00  |#..N......5.....|
000000c0  23 87 ff 4e 03 f9 06 00  00 00 00 00 00 00 00 00  |#..N............|
000000d0  23 87 ff 4e 60 34 07 00  03 00 35 00 b5 07 00 00  |#..N`4....5.....|
000000e0  23 87 ff 4e 8a 34 07 00  03 00 36 00 90 06 00 00  |#..N.4....6.....|
000000f0  23 87 ff 4e b0 34 07 00  00 00 00 00 00 00 00 00  |#..N.4..........|
00000100  23 87 ff 4e 5d 6f 07 00  03 00 35 00 44 07 00 00  |#..N]o....5.D...|
00000110  23 87 ff 4e 85 6f 07 00  03 00 36 00 80 06 00 00  |#..N.o....6.....|
00000120  23 87 ff 4e ad 6f 07 00  00 00 00 00 00 00 00 00  |#..N.o..........|
00000130  23 87 ff 4e ae a9 07 00  03 00 35 00 d3 06 00 00  |#..N......5.....|
00000140  23 87 ff 4e d7 a9 07 00  03 00 36 00 6c 06 00 00  |#..N......6.l...|
00000150  23 87 ff 4e fd a9 07 00  00 00 00 00 00 00 00 00  |#..N............|
00000160  23 87 ff 4e 09 e3 07 00  03 00 35 00 66 06 00 00  |#..N......5.f...|
00000170  23 87 ff 4e 31 e3 07 00  03 00 36 00 4d 06 00 00  |#..N1.....6.M...|
00000180  23 87 ff 4e 57 e3 07 00  00 00 00 00 00 00 00 00  |#..NW...........|
00000190  23 87 ff 4e db 21 08 00  03 00 35 00 03 06 00 00  |#..N.!....5.....|
000001a0  23 87 ff 4e 05 22 08 00  03 00 36 00 2c 06 00 00  |#..N."....6.,...|
000001b0  23 87 ff 4e 2e 22 08 00  00 00 00 00 00 00 00 00  |#..N."..........|
000001c0  23 87 ff 4e 3a 5a 08 00  03 00 35 00 b6 05 00 00  |#..N:Z....5.....|
000001d0  23 87 ff 4e 65 5a 08 00  03 00 36 00 07 06 00 00  |#..NeZ....6.....|
000001e0  23 87 ff 4e 8c 5a 08 00  00 00 00 00 00 00 00 00  |#..N.Z..........|
000001f0  23 87 ff 4e bd 93 08 00  03 00 35 00 73 05 00 00  |#..N......5.s...|
00000200  23 87 ff 4e eb 93 08 00  03 00 36 00 d8 05 00 00  |#..N......6.....|
00000210  23 87 ff 4e 14 94 08 00  00 00 00 00 00 00 00 00  |#..N............|
00000220  23 87 ff 4e ac cb 08 00  03 00 35 00 38 05 00 00  |#..N......5.8...|
00000230  23 87 ff 4e d5 cb 08 00  03 00 36 00 a3 05 00 00  |#..N......6.....|
00000240  23 87 ff 4e fa cb 08 00  00 00 00 00 00 00 00 00  |#..N............|
00000250  23 87 ff 4e 06 07 09 00  03 00 35 00 0f 05 00 00  |#..N......5.....|
00000260  23 87 ff 4e 2f 07 09 00  03 00 36 00 66 05 00 00  |#..N/.....6.f...|
00000270  23 87 ff 4e 56 07 09 00  00 00 00 00 00 00 00 00  |#..NV...........|
00000280  23 87 ff 4e 08 41 09 00  03 00 35 00 f0 04 00 00  |#..N.A....5.....|
00000290  23 87 ff 4e 2e 41 09 00  03 00 36 00 20 05 00 00  |#..N.A....6. ...|
000002a0  23 87 ff 4e 55 41 09 00  00 00 00 00 00 00 00 00  |#..NUA..........|

There are other input devices as well, including the home button. These input device commands only output data while an event is happening. The data streams begin with a timestamp so that velocity and acceleration can be determined, which is great for gesture recognition and handwriting analysis on the touchscreen.

Due to the coarse nature of the IR elements in the touchscreen, you need a fat stylus for handwriting. The fat end of a round chopstick from a Chinese restaurant works well as a stylus, when held perpendicular to the screen. The thin end does not work reliably.

Enjoy playing with your new toy!

Last edited by geekmaster; 01-05-2012 at 04:39 AM.
geekmaster is offline   Reply With Quote
Old 01-03-2012, 07:01 PM   #23
rastik
Connoisseur
rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.
 
Posts: 65
Karma: 4662
Join Date: Feb 2011
Location: CZ
Device: Kindle Touch 3G, Kindle Keyboard
Quote:
Originally Posted by geekmaster View Post
A complication was that I had to reset a boot counter manually. The file /var/local/upstart/lab126_gui.restarts had the value "2" in it. I did "echo 0 > /var/local/upstart/lab126_gui.restarts" to reset the boot counter. [Thanks for the suggestion, nueva!]
Thank you, this helped me when I got stuck at the start screen.
rastik is offline   Reply With Quote
Old 01-03-2012, 07:02 PM   #24
rastik
Connoisseur
rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.
 
Posts: 65
Karma: 4662
Join Date: Feb 2011
Location: CZ
Device: Kindle Touch 3G, Kindle Keyboard
Quote:
Originally Posted by yifanlu View Post
When in doubt restore mmcblk0p1 from backup and nuke mmcblk0p3
Can I do dd directly to /dev/mmcblk0p1?
rastik is offline   Reply With Quote
Old 01-03-2012, 08:27 PM   #25
geekmaster
Всё гениальное просто.
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: 5,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by rastik View Post
Can I do dd directly to /dev/mmcblk0p1?
It depends on where you want do dd from.

If you have a serial or usb SSH connection to the kindle while booted from the mmcblk0p2 diag partition, then you can dd a backup copy from /mnt/us onto /dev/mmcblk0p1.

You can also dd from a network connection by piping through netcat (nc), where netcat on your host PC sends the image file over to the kindle, and netcat listening on your kindle receives the image and pipes it to dd, which copies it to /dev/mmcblk0p1.

Personally, I think using an image file on the USB drive at /mnt/us would be easier.

Do not dd to the partition that you booted your kindle from.

If you cannot boot from with the diag or the main partition, things get a little more complicated, and how you do this depends on your kindle model, and what is wrong with it. You probably need to boot to the boot loader using the serial port connection, and then rewrite the main partition by sending the image file over the serial connection using XMODEM or YMODEM protocol. This requires some level of technical expertise and you may need to ask for additional assistance.

On newer Kindle models, new methods have been discovered that use the USB port instead of the serial port. Check out the wiki pages for more info, and other threads in this forum.

Last edited by geekmaster; 01-04-2012 at 11:27 AM.
geekmaster is offline   Reply With Quote
Old 01-04-2012, 07:52 AM   #26
rastik
Connoisseur
rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.rastik is fluent in JavaScript as well as Klingon.
 
Posts: 65
Karma: 4662
Join Date: Feb 2011
Location: CZ
Device: Kindle Touch 3G, Kindle Keyboard
Quote:
Originally Posted by geekmaster View Post
If you have a serial or usb SSN connection to the kindle while booted from the mmcblk0p2 diag partition, then you can dd a backup copy from /mnt/us onto /dev/mmcblk0p1.

Do not dd to the partition that you booted your kindle from.
That's what I was afraid of I'll try that USB HID mode.
rastik is offline   Reply With Quote
Old 01-04-2012, 11:40 AM   #27
geekmaster
Всё гениальное просто.
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: 5,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by rastik View Post
That's what I was afraid of I'll try that USB HID mode.
Like I said, new ways have been discovered. If you know what file was damaged, I could give you an exploit that will replace it with an undamaged original file. If you added a new file the exploit could replace it with a benign file.

The secret of this exploit is being held in reserve so that it can replace known exploits for jailbreak or repair when they no longer work, on both the Kindle 4 (Non Touch) and on the Kindle Touch.

If you agree to non-disclosure of its payload and trigger mechanism, then PM me...

I think that the USB HID method is much more complex and risky at this time, and does not have all necessary tools built and available yet.

If your Kindle configuration is too damaged, then this exploit will not work, in which case the USB HID method or the internal serial port method are your only options that I am aware of.
geekmaster is offline   Reply With Quote
Old 01-08-2012, 04:30 AM   #28
geekmaster
Всё гениальное просто.
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: 5,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Here is a new thread showing how this same problem was solved without opening the kindle touch, and without using the serial port. It used a new exploit from ixtab (mentioned above in the first post "News Flash"). Read how the successful "Repair Needed" recovery was performed here:

http://www.mobileread.com/forums/sho....php?p=1914281

Last edited by geekmaster; 01-08-2012 at 04:52 AM.
geekmaster is offline   Reply With Quote
Old 03-29-2012, 10:38 AM   #29
352478140
Junior Member
352478140 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2012
Device: k touch
what went wrong

U-Boot 2009.08-lab126 (Nov 03 2011 - 11:56:43)

CPU: Freescale i.MX50 family 1.1V at 800 MHz
mx50 pll1: 800MHz
mx50 pll2: 400MHz
mx50 pll3: 216MHz
ipg clock : 50000000Hz
ipg per clock : 50000000Hz
uart clock : 24000000Hz
ahb clock : 100000000Hz
axi_a clock : 400000000Hz
axi_b clock : 200000000Hz
weim_clock : 100000000Hz
ddr clock : 800000000Hz
esdhc1 clock : 80000000Hz
esdhc2 clock : 80000000Hz
esdhc3 clock : 80000000Hz
esdhc4 clock : 80000000Hz
MMC: FSL_ESDHC: 0, FSL_ESDHC: 1
Board: Whitney WFO
Boot Reason: [POR]
Boot Device: MMC
Board Id: 0061403114550I5M
S/N: B011140714646ADJ
DRAM: 256 MB
Using default environment

In: serial
Out: logbuff
Err: logbuff
Quick Memory Test 0x70000000, 0xfffe000
POST done in 13 ms
Hit any key to stop autoboot: 0
Wrong Image Format for bootm command
ERROR: can't get kernel image!
uboot >
352478140 is offline   Reply With Quote
Old 03-29-2012, 10:46 AM   #30
geekmaster
Всё гениальное просто.
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: 5,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
It looks like your main kernel image on mmc is damaged. You can flash a good copy of the main kernel with fastboot.

The kindle touch uses a different kernel image for version 5.0.4.

What version is your kindle firmware?


Last edited by geekmaster; 03-29-2012 at 11:12 AM.
geekmaster is offline   Reply With Quote
Reply

Tags
kindle, recovery, root, serial, touch

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle Touch: Anyway to go to Recovery Mode??? JRyn Kindle Developer's Corner 4 12-17-2011 02:11 PM
Kindle Touch Serial. is it US or International. rbuljo Amazon Kindle 13 12-16-2011 02:52 PM
Kindle 3 Recovery Menu scenox Kindle Developer's Corner 6 03-11-2011 01:23 AM
Help with unbricking kindle via serial port yifanlu Kindle Developer's Corner 12 03-10-2011 08:51 AM
Internals & serial port dottedmag Netronix 1 05-12-2008 06:38 PM


All times are GMT -4. The time now is 11:31 PM.


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