![]() |
#16 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
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: https://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: https://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:
Last edited by geekmaster; 12-30-2011 at 12:49 PM. |
|
![]() |
![]() |
![]() |
#17 |
Junior Member
![]() 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! |
![]() |
![]() |
![]() |
#18 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
(Bump)
Major News Flash: kindle touch debrick with no serial cable: https://www.mobileread.com/forums/sho...48#post1893448 Quote:
The pinout is provided in the "Kindle serial adapter level shifter circuit" thread: https://www.mobileread.com/forums/sho...72#post1903472 Last edited by geekmaster; 12-31-2011 at 03:31 AM. |
|
![]() |
![]() |
![]() |
#19 |
Enthusiast
![]() Posts: 29
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! ![]() |
![]() |
![]() |
![]() |
#20 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
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. |
|
![]() |
![]() |
![]() |
#21 |
Junior Member
![]() 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?
|
![]() |
![]() |
![]() |
#22 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
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:
"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:
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 03:39 AM. |
|
![]() |
![]() |
![]() |
#23 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 65
Karma: 4662
Join Date: Feb 2011
Location: CZ
Device: Kindle Touch 3G, Kindle Keyboard
|
Thank you, this helped me when I got stuck at the start screen.
|
![]() |
![]() |
![]() |
#24 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 65
Karma: 4662
Join Date: Feb 2011
Location: CZ
Device: Kindle Touch 3G, Kindle Keyboard
|
|
![]() |
![]() |
![]() |
#25 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
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 10:27 AM. |
![]() |
![]() |
![]() |
#26 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 65
Karma: 4662
Join Date: Feb 2011
Location: CZ
Device: Kindle Touch 3G, Kindle Keyboard
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#27 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
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. |
![]() |
![]() |
![]() |
#28 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
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:
https://www.mobileread.com/forums/sho....php?p=1914281 ![]() Last edited by geekmaster; 01-08-2012 at 03:52 AM. |
![]() |
![]() |
![]() |
#29 |
Junior Member
![]() 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 > |
![]() |
![]() |
![]() |
#30 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
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 10:12 AM. |
![]() |
![]() |
![]() |
Tags |
kindle, recovery, root, serial, touch |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle Touch: Anyway to go to Recovery Mode??? | JRyn | Kindle Developer's Corner | 4 | 12-17-2011 01:11 PM |
Kindle Touch Serial. is it US or International. | rbuljo | Amazon Kindle | 13 | 12-16-2011 01:52 PM |
Kindle 3 Recovery Menu | scenox | Kindle Developer's Corner | 6 | 03-11-2011 12:23 AM |
Help with unbricking kindle via serial port | yifanlu | Kindle Developer's Corner | 12 | 03-10-2011 07:51 AM |
Internals & serial port | dottedmag | Netronix | 1 | 05-12-2008 05:38 PM |