![]() |
#1 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
|
Kindle 3 SSH access,Backup Help - Newbie Here
Hi
I just have got my Kindle 3 ![]() ![]() Firmware Version: Kindle 3.0.3, Kindle Wifi Version Background:Since i have worked with servers(basic installation,tweaking etc) ,i have sufficient basic knowledge regarding SSH, Linux commands etc. Wishes: 1.To install screen-saver and font hacks on kindle 3 and other hacks 2.To gain SSH access to my kindle 3 3.Install and try out duokan firmware 4.Other hacks and tweaks ![]() I think 1,3 are easy ones as there are well documented guides available in mobileread itself ![]() But before i jump in i need to take backups of all system files and settings etc of my kindle 3 and the steps to be taken if something bad happens while playing with kindle 3. Would be grateful if anyone can point me to a guide for this ![]() And i am still confused regarding how to gain SSH access to my kindle 3, From my searching in this forum,found that it requires usbconnect hack . But no clear guide is available regarding that. So any assistance will be helpful Would be grateful if any help is provided regarding these Regards Adithya Last edited by adithyau; 01-17-2011 at 01:19 PM. |
![]() |
![]() |
![]() |
#2 |
Avid Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27
Karma: 26644
Join Date: Jan 2011
Location: Bronx, NY
Device: Kindle 3
|
backing up system files
It seems to me that the only way to backup the system files is to install usbNetwork, which, kinda stinks because it sounded like you wanted to make backup *before* you starting tweaking things.
Steps: 1) Jailbreak 2) usbNetwork 3) Menu-Search ( ";debugOn", "~usbNetwork") 4) telnet <to your kindle's IP> Viola! Shell access! From there you might want to "dd" the filesystem to local or "cp -R" starting at the root. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
I <3 my Kindle
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 528
Karma: 51332
Join Date: Nov 2010
Location: United States
Device: Kindle 3G + WiFi
|
Could you give me the specific dd command for this if I want to save this to /mnt/us/rootfsbackup.img?? I tried some different things in /dev/ but they just took more than 8 hours (I canceled) or locked up and restarted my Kindle.
|
![]() |
![]() |
![]() |
#4 |
Avid Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27
Karma: 26644
Join Date: Jan 2011
Location: Bronx, NY
Device: Kindle 3
|
Oh, I'm sorry! My dd syntax is a little rusty so I can't help you there
![]() I wouldn't want to guess and be wrong because dd is one of those things you never want to be wrong about :P Do you think " cp -R" would suffice? That's what I used. You could also maybe use "synctree" or "rsync" and make a running log of your changes and branches ![]() |
![]() |
![]() |
![]() |
#5 | |
I <3 my Kindle
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 528
Karma: 51332
Join Date: Nov 2010
Location: United States
Device: Kindle 3G + WiFi
|
Quote:
And what would be the "source" for the command? "/"? or something like "/dev/sda" for Kindles Last edited by kranu; 01-18-2011 at 01:14 AM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
|
Quote:
Did the first 2 part easily Installed update_jailbreak_0.4.N_k3w_install.bin update_usbnetwork_0.30.N_k3w_install.bin There is a usbnetwork folder created i did menu - search and typed ";debug on" no change ? Please guide me regarding steps 3 and 4 |
|
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() Posts: 6
Karma: 590
Join Date: Dec 2010
Device: Kindle 3G
|
Does this post help?
https://www.mobileread.com/forums/sho...85&postcount=8 |
![]() |
![]() |
![]() |
#8 | |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
|
^^It helped though i dont want wifi ssh access
![]() Ok guys thanks a lot ![]() ![]() For newbies here are the steps 1. Download jailbreak and usbnetwork from https://www.mobileread.com/forums/showthread.php?t=88004 2. Unzip both files and select appropriate file of install according to your kindle (As always, k2 means K2 US, k2i means K2 GW, dx means KDX US, dxi means KDX GW, dxg means KDX Graphite, k3g means K3 3G (US [B006]), k3w means K3 WiFi [B008] and k3gb means K3 3G (UK [B00A]). 3.Copy the file in the kindle; First just copy jailbreak 4. Eject kindle. Click Menu >>settings. In settings select Update Your Kindle 5. Jailbreak will get installed 6. Repeat the steps to install usbnetwork SSH access on Windows 7 Mount kindle and see and edit file \usbnet\etc\config file The file must be saved in Unix format itself. Using notepad ++ is convenient here I edited the host and kindle IP to my requirement in that file Now eject the kindle go to menu>>Search in kindle and type ";debugOn" and press "search my items", then type "~usbNetwork" and press "search my items" Now connect the kindle to computer The device will fail to install. Since RNDIS/Ethernet controller is not supported To overcome this install Microsoft-Windows-Mobile-Device-Cente http://download.cnet.com/Microsoft-W...-10714488.html In case of vista and windows 7 even after installation it wont work There is a solution for this Quote:
On my machine, the new ethernet connection was created as "Local Area Connection 3" and shows up as "DIRECTV HDPC20". YMMV Go into Start -> Control Panel -> Network & Sharing Center. Click on "Change Adapter Settings" Do a right click on your main network adapter, click on the "Sharing" tab Check the "Allow other network users to connect through this computer's Internet Connection" Click "OK" You will get prompted that the adapter interface will be changed to "192.168.0.1". That's okay, confirm. Now go and edit the other network adapter "DIRECTV HDPC20" (or whatever it's called on your machine) Click on the "Internet Protocol Version 4" and "Properties" change the IP address from 192.168.0.1 to 192.168.2.1 , subnet mask 255.255.255.0. Validate with OK. Open a command line (windows + R, cmd) (Note Telnet isn't activated by default in Vista / Windows 7, go into the Control Panel and select "Programs and Features", click "Turn Windows Features on or Off" and check "Telnet Client"). telnet 192.168.2.2 One can also use putty ![]() The default root password is blank and just press enter Last edited by adithyau; 01-18-2011 at 08:50 AM. |
|
![]() |
![]() |
![]() |
#9 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 16
Karma: 2600
Join Date: Dec 2010
Device: kindle
|
After I started usbNetwork, I did a backup using rsync. The kindle has rsync on it so I did a full backup but excluded /proc and /sys.
|
![]() |
![]() |
![]() |
#10 | |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
|
Quote:
![]() Thanks guys Already have learnt and did 1. SS and fonts hack 2. Jailbreak 3. SSH access over putty 4. Duokan Firmware install Anything else that i can do PS: Love this forum One just needs patience and search exhaustively and can find any kindle3 hacks and help Last edited by adithyau; 01-18-2011 at 08:59 AM. |
|
![]() |
![]() |
![]() |
#11 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 16
Karma: 2600
Join Date: Dec 2010
Device: kindle
|
|
![]() |
![]() |
![]() |
#12 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 157
Karma: 1777
Join Date: Sep 2010
Location: Minsk, Belarus
Device: Kindle 4
|
I have created small update for Kindle 3. It make File Sytems backup (excluding userstore) and places it into Kindle root directory (Userstore).
http://www.audi-bel.com/kindle/update_backup_0.01.zip Backuping can take ~10min. Backup size will be near 700Mb so you must have free space on userstore. P.S. Restore can be done via Serial line ![]() |
![]() |
![]() |
![]() |
#13 | |
I <3 my Kindle
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 528
Karma: 51332
Join Date: Nov 2010
Location: United States
Device: Kindle 3G + WiFi
|
Quote:
Thanks =) |
|
![]() |
![]() |
![]() |
#14 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 157
Karma: 1777
Join Date: Sep 2010
Location: Minsk, Belarus
Device: Kindle 4
|
Actually, update executes this code:
Code:
dd if=/dev/mmcblk0 of=/mnt/us/mmcblk0_7688.dmp bs=512 count=7688 dd if=/dev/mmcblk0p1 of=/mnt/us/mmcblk0p1.dmp dd if=/dev/mmcblk0p2 of=/mnt/us/mmcblk0p2.dmp dd if=/dev/mmcblk0p3 of=/mnt/us/mmcblk0p3.dmp |
![]() |
![]() |
![]() |
#15 | |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
|
Quote:
![]() Thanks ![]() Now how to restore it via serial line. I searched in this forum and found that it requires custom made serial to USB line ports which i cant make ![]() Any easy/alternative to get serial console ![]() |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ssh from Kindle 3 | aKarma | Kindle Developer's Corner | 6 | 09-21-2010 08:59 PM |
SSH access broken | yecam | OpenInkpot | 4 | 08-29-2009 05:42 PM |
iLiad SSH client for terminal access | IvarC | iRex Developer's Corner | 2 | 02-06-2009 01:21 PM |
iLiad Easy and safe SSH access to your iLiad | narve | iRex Developer's Corner | 15 | 11-30-2006 05:14 PM |
iLiad How do I get ssh access to my 2.7.1 iLiad? | narve | iRex Developer's Corner | 3 | 11-28-2006 05:59 PM |