View Single Post
Old 10-15-2013, 04:12 PM   #126
tidklaas
Junior Member
tidklaas put the bomp in the bomp-a-bomp-a-bomp.tidklaas put the bomp in the bomp-a-bomp-a-bomp.tidklaas put the bomp in the bomp-a-bomp-a-bomp.tidklaas put the bomp in the bomp-a-bomp-a-bomp.tidklaas put the bomp in the bomp-a-bomp-a-bomp.tidklaas put the bomp in the bomp-a-bomp-a-bomp.tidklaas put the bomp in the bomp-a-bomp-a-bomp.tidklaas put the bomp in the bomp-a-bomp-a-bomp.tidklaas put the bomp in the bomp-a-bomp-a-bomp.tidklaas put the bomp in the bomp-a-bomp-a-bomp.tidklaas put the bomp in the bomp-a-bomp-a-bomp.
 
Posts: 3
Karma: 67068
Join Date: Oct 2013
Device: Kindle PW2
Hi all,

my PW2 arrived last week and it kind of bothered me that I couldn't put my favourite screensaver on it. So, after reading this thread, I decided to give rooting via the serial console a try.

Disassembly was surprisingly easy:
Click image for larger version

Name:	PW2_rooting_01.jpg
Views:	945
Size:	286.5 KB
ID:	113428

Since I do not want to disassemble the device again whenever I need access to the console, I looked for a way to make the serial port accessible from outside. There is just enough space between the button and the LED cover to squeeze in a 1.27mm header connector with four ports. I had to saw halfway through the connector at the second hole from the bottom in order to slip it on to the PCB. Closing this hole with epoxy also makes the connector asymmetric.
Click image for larger version

Name:	PW2_rooting_02.jpg
Views:	906
Size:	258.7 KB
ID:	113429

Next I had to connect the two data pins at the top of the connector to the RX/TX pads on the PCB. Enamelled wire comes in real handy here. The third contact at the bottom of the connector is wired to GND under the PCB.
Click image for larger version

Name:	PW2_rooting_03.jpg
Views:	957
Size:	233.6 KB
ID:	113430

First test after soldering. To my great surprise, everything worked and I could play around with u-boot.
Click image for larger version

Name:	PW2_rooting_04.jpg
Views:	884
Size:	249.8 KB
ID:	113431

Now came the really hard part, fitting everything into the housing again. I had to remove one of the straps holding the button and carve a slot so the connector would be accessible from outside.
Click image for larger version

Name:	PW2_rooting_04a.jpg
Views:	868
Size:	167.7 KB
ID:	113434

From here on it was easy sailing. After figuring out how to get into the diagnostics system, I first made backups of all other partitions via the user storage, then re-enabled root login on mmcblk0p1. Once I had root access on the main system, I was finally able to do what what I came for in the first place:
Click image for larger version

Name:	PW2_rooting_05.jpg
Views:	915
Size:	266.0 KB
ID:	113432


Many thanks to knc1 for the metric ton of information about the layout of the embedded Linux system given in this thread and also to npoland, who demonstrated how easy the serial console can be accessed.

- Tido
tidklaas is offline   Reply With Quote