View Single Post
Old 06-09-2017, 08:31 AM   #20
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 SwissBooknut View Post
OK... Have finally received the correct (1.8V) cable.
Will crack open the PW3 propably next week and attach the Serial.
How to check if it is working? Will LS grant me a file-listing thru Serial?
That serial port is used by, in order:
The SoC boot code built into on-chip ROM ;
The u-boot boot loader ;
The Linux kernel as the operator's console .

All of which produce progress messages.
So if you don't see a flood of output when you power it back up (re-install the battery) - it isn't working.

Yes, once you get to an operator's console command line, "ls" will produce a listing.
Busybox ash is used as the command line shell.

ah, but getting access to that operator's console command line . . . .
All passwords are disabled in the 'main' operating system.
Luckily, these Kindles are dual boot devices.
You have to interrupt the normal boot-up sequence at the start of the boot loader (u-boot) and then use that to boot into the 'diags' operating system.
There is a utility to get the password for user 'root' in the 'diags' OS.
Enter that to reach the command line of that system.
Then mount and modify the 'main' system password file.
Once that is done, you can re-boot back into the 'main' OS and log into that system as 'root'.

The above is only the Cliff's Notes version - don't follow it.
Our best set of serial port user's directions:
https://www.mobileread.com/forums/sh...d.php?t=267541
All of the gory details are in that thread.

If not running Windows on your PC, you will have to translate the 'how to setup and use' the PC terminal program (Putty) into what you are running.
knc1 is offline   Reply With Quote