Thread: K4 Mac or PC Help with K4 non-touch demo mode
View Single Post
Old 02-09-2013, 01:00 PM   #7
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
1. Connect the Kindle to PC with a USB cable

2. Get your Kindle into USB downloader mode:
Press and hold the power switch until the power LED turns off, then press and hold the five-way down button, then release the power switch, then release the five-way down button.

3. Change into k4flash dir:
Code:
cd ~/k4flash
4. Become root
In Ubuntu & derivatives:
Code:
sudo su
everywhere else:
Code:
su
5. Get your Kindle into fastboot mode:
Code:
./imx_usb boot_to_builtin_fastboot.bin
6. Make sure we're in fastboot mode:
Code:
./fastboot getvar bootmode
7. Flash the main kernel:
Code:
./fastboot flash kernel main_kernel
8. Flash the diags kernel:
Code:
./fastboot flash diags_kernel diags_kernel.bin
9. Flash the diags partition:
Code:
./fastboot flash diags mmcblk0p2.img
10. Change the bootmode:
Code:
./fastboot setvar bootmode diags
11. Reboot into diags:
Code:
./fastboot reboot
12. Select menu items N) U) Z) X). Wait 20 seconds for dropbear to startup.

13. Assign an IP address to your PC's end of the cable:
Code:
ifconfig usb0 192.168.15.201
14. Copy the main partition image to user store via SSH, the password is mario :
Code:
scp mmcblk0p1.img 192.168.15.244:/mnt/us/
15. Log in to your Kindle, the password is mario :
Code:
ssh 192.168.15.244
16. Flash the main partition:
Code:
dd if=/mnt/us/mmcblk0p1.img of=/dev/mmcblk0p1 bs=4K
17. Change the bootmode to main:
Code:
idme -d --bootmode main
18. Wait for all the data being written:
Code:
sync
19. Reboot Kindle, close the SSH session:
Code:
reboot; exit
20. Your Kindle should boot as a regular Kindle

21. Perform a factory reset (Menu->Settings, Menu->Reset to factory defaults)
dsmid is offline   Reply With Quote