Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 08-18-2017, 06:08 PM   #1
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
Kindle backup

For touch screen Kindles, create a complete system's backup.
This does not include the USB storage area, which the user can backup over the USB cable to their PC.

Install:
Un-archive the attached compressed archive to the top level of visible USB storage.
Be sure your archive handling tool is set to re-create the directory structure.
There will be two directories (folders) added to the top of visible USB storage; 'unjail' and 'esys'.
The 'unjail' directory will contain the mkbackup.sh script.
The 'esys' directory (tree) will contain three of the GNU CoreUtils applications required.

'unjail' because this script is part of the new serial jail breaking procedure.
'esys' because that is our long established ARMel add-in tree.

No KUAL button (yet).
The script has to be run from the command line for this version.

The progress report given when run from the command line:
Spoiler:

Code:
[root@kindle root]# /mnt/us/unjail/mkbackup.sh

Copying partitioned area prefix.
33554432 bytes (32.0MB) copied, 2.660143 seconds, 12.0MB/s

Copying diag kernel block.
4194304 bytes (4.0MB) copied, 0.245116 seconds, 16.3MB/s

Copying main kernel block.
4194304 bytes (4.0MB) copied, 0.358442 seconds, 11.2MB/s

Extracting diagnostic uImage. 
2634796 bytes (2.5MB) copied, 0.203523 seconds, 12.3MB/s
Image Name:   Linux-3.0.35-lab126
Created:      Tue Mar 22 02:16:36 2016
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    2634732 Bytes = 2572.98 kB = 2.51 MB
Load Address: 80008000
Entry Point:  80008000

Extracting main uImage. 
2912428 bytes (2.8MB) copied, 0.175353 seconds, 15.8MB/s
Image Name:   Linux-3.0.35-lab126
Created:      Mon Jan 16 12:39:07 2017
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    2912364 Bytes = 2844.11 kB = 2.78 MB
Load Address: 80008000
Entry Point:  80008000

Copying main partition(2min).
471859200 bytes (450.0MB) copied, 122.171962 seconds, 3.7MB/s

Copying diag partition.
67108864 bytes (64.0MB) copied, 18.563725 seconds, 3.4MB/s

Copying local partition.
67108864 bytes (64.0MB) copied, 15.966005 seconds, 4.0MB/s

Copying boot0 partition.
2097152 bytes (2.0MB) copied, 3.684208 seconds, 555.9KB/s

Copying boot1 partition.
2097152 bytes (2.0MB) copied, 0.430499 seconds, 4.6MB/s


That script will create a directory (folder) in the top level of USB storage 'backups'.
The contents will be similar to this:
Spoiler:

Code:
[root@kindle us]# ls -lh backups
-rwxrwxrwx    1 root     root        2.0M Oct  3 00:27 boot0.bin
-rwxrwxrwx    1 root     root        2.0M Oct  3 00:27 boot1.bin
-rwxrwxrwx    1 root     root        2.5M Oct  3 00:24 diag-uImage
-rwxrwxrwx    1 root     root        4.0M Oct  3 00:24 diagkern.bin
-rwxrwxrwx    1 root     root       64.0M Oct  3 00:27 diagsys.bin
-rwxrwxrwx    1 root     root       64.0M Oct  3 00:27 localsys.bin
-rwxrwxrwx    1 root     root       13.6K Oct  3 00:24 main-config.gz
-rwxrwxrwx    1 root     root        2.8M Oct  3 00:24 main-uImage
-rwxrwxrwx    1 root     root        4.0M Oct  3 00:24 mainkern.bin
-rwxrwxrwx    1 root     root      450.0M Oct  3 00:26 mainsys.bin
-rwxrwxrwx    1 root     root       32.0M Oct  3 00:24 prefix.bin


The manual, command line, command to create a compressed archive:
Spoiler:

Code:
[root@kindle root]# cd /mnt/us
[root@kindle us]# tar -czf backups.tar.gz backups
* * * It takes awhile to create, so don't give up on it, the result is about 260Mbytes in the top level of USB visible storage. * * *


Connect the Kindle to your PC with the USB cable (after turning off USBnetworking if your using the cable for that).
From the top level of visible USB storage, copy the backups.tar.gz file to somewhere safe.
You can then delete from the Kindle both the archive file you just moved and the Kindle:\backups
directory (folder) tree.

Changes:
  • backup-0.3
    Now handles the older (larger) kernel format.
    Tested on: KT, fw: 5.3.7.3 and the PW3 below.
  • backup-0.2
    Extracts, tests and reports on uImage files.
    Tested on: PW3-4GB, fw: 5.8.7.0.1
  • backup
    I would like to forget I wrote this one.
Attached Files
File Type: gz backup-0.3.tar.gz (88.2 KB, 945 views)

Last edited by knc1; 08-21-2017 at 05:42 PM.
knc1 is offline   Reply With Quote
Old 08-20-2017, 04:59 PM   #2
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
And the backup script is ready.
Operation from the command line only for now.

Maybe a KUAL button for it in the near future (unless I lose interest in this project).
knc1 is offline   Reply With Quote
Advert
Old 08-21-2017, 05:46 PM   #3
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
backup-0.3

Now can extract the larger kernels of the early touch screen devices.
Tested on: KT running 5.3.7.3 firmware (current as of this writing).
Tested on: PW3-4GB running 5.8.7.0.1 firmware (most recent JB'able version).
knc1 is offline   Reply With Quote
Old 08-23-2017, 01:36 PM   #4
PoP
 curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 3,002
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
Very useful Thank you!

SSH log when run from the command line on my PW3 v5.8.7:
Spoiler:

Code:
[root@kindle root]# /mnt/us/unjail/mkbackup.sh

Copying partitioned area prefix.
33554432 bytes (32.0MB) copied, 3.888989 seconds, 8.2MB/s

Copying diag kernel block.
8388608 bytes (8.0MB) copied, 0.880231 seconds, 9.1MB/s

Copying main kernel block.
8388608 bytes (8.0MB) copied, 1.520744 seconds, 5.3MB/s

Extracting diagnostic uImage. 
2635032 bytes (2.5MB) copied, 0.163199 seconds, 15.4MB/s
Image Name:   Linux-3.0.35-lab126
Created:      Tue Sep 13 05:45:05 2016
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    2634968 Bytes = 2573.21 kB = 2.51 MB
Load Address: 80008000
Entry Point:  80008000

Extracting main uImage. 
2912456 bytes (2.8MB) copied, 0.195622 seconds, 14.2MB/s
Image Name:   Linux-3.0.35-lab126
Created:      Fri Nov 25 10:45:16 2016
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    2912392 Bytes = 2844.13 kB = 2.78 MB
Load Address: 80008000
Entry Point:  80008000

Copying main partition(2min).
471859200 bytes (450.0MB) copied, 148.702120 seconds, 3.0MB/s

Copying diag partition.
67108864 bytes (64.0MB) copied, 26.516923 seconds, 2.4MB/s

Copying local partition.
67108864 bytes (64.0MB) copied, 21.005913 seconds, 3.0MB/s

Copying boot0 partition.
2097152 bytes (2.0MB) copied, 2.982592 seconds, 686.7KB/s

Copying boot1 partition.
2097152 bytes (2.0MB) copied, 0.246512 seconds, 8.1MB/s
[root@kindle us]# ls -lh /mnt/us/backups
-rwxrwxrwx    1 root     root        2.0M Aug 23 12:52 boot0.bin
-rwxrwxrwx    1 root     root        2.0M Aug 23 12:52 boot1.bin
-rwxrwxrwx    1 root     root        2.5M Aug 23 12:49 diag-uImage
-rwxrwxrwx    1 root     root        8.0M Aug 23 12:49 diagkern.bin
-rwxrwxrwx    1 root     root       64.0M Aug 23 12:52 diagsys.bin
-rwxrwxrwx    1 root     root       64.0M Aug 23 12:52 localsys.bin
-rwxrwxrwx    1 root     root       13.6K Aug 23 12:49 main-config.gz
-rwxrwxrwx    1 root     root        2.8M Aug 23 12:49 main-uImage
-rwxrwxrwx    1 root     root        8.0M Aug 23 12:49 mainkern.bin
-rwxrwxrwx    1 root     root      450.0M Aug 23 12:52 mainsys.bin
-rwxrwxrwx    1 root     root       32.0M Aug 23 12:49 prefix.bin
[root@kindle us]# cd /mnt/us
[root@kindle us]# tar -czf backups.tar.gz backups
[root@kindle us]#
PoP is offline   Reply With Quote
Old 08-23-2017, 05:37 PM   #5
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
You are welcome.

There are a few more changes to come, nothing really major.
A KUAL button, copying the version files so you know what firmware versions the file represent . . . .
Just finishing touches.
knc1 is offline   Reply With Quote
Advert
Old 09-27-2017, 03:05 AM   #6
doctoralvarez
Connoisseur
doctoralvarez began at the beginning.
 
Posts: 72
Karma: 10
Join Date: Jun 2016
Device: PW3
Excellent and easy backup

Quote:
Originally Posted by knc1 View Post
You are welcome.

There are a few more changes to come, nothing really major.
A KUAL button, copying the version files so you know what firmware versions the file represent . . . .
Just finishing touches.
Hello, excuse me, any update on that KUAL button option? in advance
doctoralvarez is offline   Reply With Quote
Old 09-27-2017, 08:25 AM   #7
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 doctoralvarez View Post
Hello, excuse me, any update on that KUAL button option? in advance
Nothing yet.
I keep getting distracted by other things, like "life demands".
knc1 is offline   Reply With Quote
Old 09-27-2017, 11:57 AM   #8
nasser
Evangelist
nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.
 
nasser's Avatar
 
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
knc1,
I don't have enough free space on my PW1...
So, any way to do this directly from/to a PC, via ssh?
nasser is offline   Reply With Quote
Old 09-27-2017, 12:27 PM   #9
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 nasser View Post
knc1,
I don't have enough free space on my PW1...
So, any way to do this directly from/to a PC, via ssh?
Not as currently written.

I presume ::
You have USBnetworking package installed.
And a way to connect to the Kindle while messing around with the ssh client packages installed there.

While the main business of that package is putting an ssh server on the Kindle, it also includes some ssh related client applications.
sshfs for one.

You would also need the sshfs server (part of the openssh set of programs) installed on your PC.
If you are running Linux or MacOSx, they are probably there as part of the default install.
If you are running Windows, you will have to install them.
(Which might be difficult, because that would effectively give you more than a single "seat" on the common, single-seat, Windows.
And MicroSoft discourages anyone having more than one seat on Windows without paying for it.)

That requirement met and -
Then use sshfs client on the Kindle to mount a directory exported from the PC somewhere under /mnt/us/*

Now that part, I don't recall anyone playing around with that other than NiLuJe, geekmaster and twobob.
So searching the forum for guidance might give few results.

With that part working -
Then I could modify the script to accept an argument giving an alternate path to the current /mnt/us/documents.

= = = =

I don't recall if we have a working NFS Kindle client, or a working CIFS (Samba) Kindle client.
I do recall there was some work done on them by twobob.

All Windows versions support CIFS (a.k.a: Windows file sharing).
And MS has an NFS server for Windows as part of, or an add-in to, their Unix support stuff.

There was also some work done on getting NBD client working on the Kindles.
That one I don't recall the status of.
But give up all hope of Windows ever supporting NBD servers.

And then there is USB/IP -
Which I don't recall anyone working on that one.
It tunnels USB i/o messages over any IP based network to/from a remote USB device.
I think that open WRT was the leader in that project.

Last edited by knc1; 09-27-2017 at 12:39 PM.
knc1 is offline   Reply With Quote
Old 11-07-2018, 07:16 PM   #10
rnb86
Junior Member
rnb86 began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2018
Device: Kindle PW3
Thank you for a great tool !!!
rnb86 is offline   Reply With Quote
Old 01-29-2019, 04:44 PM   #11
arooni
Addict
arooni began at the beginning.
 
Posts: 315
Karma: 26
Join Date: Jul 2012
Device: Kindle Paperwhite 4 (2018)
did i do something stupid? probably:



dd: invalid number 'LANG='en_US.utf8''
mkimage: Can't read /mnt/us/backups: No such device


dd: invalid number 'LC_ALL='en_US.utf8''
mkimage: Can't read /mnt/us/backups: No such device


dd: invalid number 'LOGNAME='root''
mkimage: Can't read /mnt/us/backups: No such device


dd: invalid number 'OLDPWD='/var/tmp/root''
mkimage: Can't read /mnt/us/backups: No such device


dd: invalid number 'OPTIND='1''
mkimage: Can't read /mnt/us/backups: No such device


dd: invalid number 'PAGER='/bin/more'
mkimage: Can't read /mnt/us/backups: No such device


dd: invalid number 'PATH='/mnt/us/esys/bin:/mnt/us/esys/sbin:/usr/local/bin:/bin:/usr/bin:/usr/sbin:/sbin''
mkimage: Can't read /mnt/us/backups: No such device


dd: invalid number 'PPID='888''
mkimage: Can't read /mnt/us/backups: No such device


dd: invalid number 'PS1='[u@h'
mkimage: Can't open /mnt/us/backups': No such file or directory


dd: invalid number 'PS2='>'
mkimage: Can't read /mnt/us/backups: No such device


dd: invalid number 'PS4='+'
mkimage: Can't read /mnt/us/backups: No such device


dd: invalid number 'PWD='/mnt/us''
mkimage: Can't read /mnt/us/backups: No such device


dd: invalid number 'SHELL='/bin/sh''
mkimage: Can't read /mnt/us/backups: No such device


# and a bunch more of these these.

whats' weird is i do have a /mnt/us/backups; and ran mntroot rw after ssh'ing in

Last edited by arooni; 01-29-2019 at 04:46 PM.
arooni is offline   Reply With Quote
Old 01-29-2019, 05:08 PM   #12
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,278
Karma: 98804578
Join Date: Apr 2011
Device: pb360
What command did you type?
j.p.s is offline   Reply With Quote
Old 01-29-2019, 06:59 PM   #13
sumpin
Enthusiast
sumpin is a splendid one to beholdsumpin is a splendid one to beholdsumpin is a splendid one to beholdsumpin is a splendid one to beholdsumpin is a splendid one to beholdsumpin is a splendid one to beholdsumpin is a splendid one to beholdsumpin is a splendid one to beholdsumpin is a splendid one to beholdsumpin is a splendid one to beholdsumpin is a splendid one to behold
 
Posts: 29
Karma: 19952
Join Date: Sep 2011
Location: USA & UK
Device: down to just a PW4
Quote:
Originally Posted by arooni View Post
did i do something stupid? probably:

dd: invalid number 'LANG='en_US.utf8''
mkimage: Can't read /mnt/us/backups: No such device

# and a bunch more of these these.

whats' weird is i do have a /mnt/us/backups; and ran mntroot rw after ssh'ing in
That's going to be because the script does not support the PW4.
The script doesn't check that the kernel blocks exist so the getSize function parses your shell environment.
sumpin is offline   Reply With Quote
Old 01-29-2019, 07:25 PM   #14
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 arooni View Post
did i do something stupid? probably:
- - - -
whats' weird is i do have a /mnt/us/backups; and ran mntroot rw after ssh'ing in
Did you ssh in over the USB cable or over Wifi?
Yes, it makes a difference, and those messages look like you ssh'd in over Wifi while the USB cable was still connected, holding the user storage partition externally exported (making it (and /mnt/us/*everything*) unreachable).



Note the 'root' in the mntroot command.
That means the 'root' file system.
But that also is limited to a single file system, the permissions do not cross file system boundaries.
Translation:
/mnt/us is on a different partition / backing store / file system than the / file system.
They are not even the same type of file system (ext3 vs fat32).


PS: Read note posted above - this utility was not intended to work with the 'Androidized' file structures used by the PW4 and KOA2.


Note that this add-in have been posted for over 18 months with only 200 downloads by the millions who own Kindles.
So updating this unused utility for the two newest models is really far, far, far down my list of things to waste my life on.
knc1 is offline   Reply With Quote
Old 02-21-2019, 08:47 PM   #15
parkerlreed
Junior Member
parkerlreed knows the difference between 'who' and 'whom'parkerlreed knows the difference between 'who' and 'whom'parkerlreed knows the difference between 'who' and 'whom'parkerlreed knows the difference between 'who' and 'whom'parkerlreed knows the difference between 'who' and 'whom'parkerlreed knows the difference between 'who' and 'whom'parkerlreed knows the difference between 'who' and 'whom'parkerlreed knows the difference between 'who' and 'whom'parkerlreed knows the difference between 'who' and 'whom'parkerlreed knows the difference between 'who' and 'whom'parkerlreed knows the difference between 'who' and 'whom'
 
Posts: 9
Karma: 10000
Join Date: Feb 2019
Device: Kindle 4 NT
Quote:
Originally Posted by knc1 View Post
Not as currently written.

I presume ::
You have USBnetworking package installed.
And a way to connect to the Kindle while messing around with the ssh client packages installed there.

While the main business of that package is putting an ssh server on the Kindle, it also includes some ssh related client applications.
sshfs for one.

You would also need the sshfs server (part of the openssh set of programs) installed on your PC.
If you are running Linux or MacOSx, they are probably there as part of the default install.
If you are running Windows, you will have to install them.
(Which might be difficult, because that would effectively give you more than a single "seat" on the common, single-seat, Windows.
And MicroSoft discourages anyone having more than one seat on Windows without paying for it.)

That requirement met and -
Then use sshfs client on the Kindle to mount a directory exported from the PC somewhere under /mnt/us/*

Now that part, I don't recall anyone playing around with that other than NiLuJe, geekmaster and twobob.
So searching the forum for guidance might give few results.

With that part working -
Then I could modify the script to accept an argument giving an alternate path to the current /mnt/us/documents.

= = = =

I don't recall if we have a working NFS Kindle client, or a working CIFS (Samba) Kindle client.
I do recall there was some work done on them by twobob.

All Windows versions support CIFS (a.k.a: Windows file sharing).
And MS has an NFS server for Windows as part of, or an add-in to, their Unix support stuff.

There was also some work done on getting NBD client working on the Kindles.
That one I don't recall the status of.
But give up all hope of Windows ever supporting NBD servers.

And then there is USB/IP -
Which I don't recall anyone working on that one.
It tunnels USB i/o messages over any IP based network to/from a remote USB device.
I think that open WRT was the leader in that project.
Speaking of nbd, has anybody gotten the ndb module/server running on a Kindle? I want to mess with the fb0 device from my desktop....
parkerlreed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Backup Kindle crescere Amazon Kindle 23 07-31-2014 07:47 AM
Which files to backup from Kindle Paperwhite? Julius Caesar Amazon Kindle 9 08-30-2013 09:51 PM
Kindle 3.3 - Backup kimkindle Kindle Developer's Corner 1 02-17-2012 06:25 AM
Kindle 3.3 - Backup kimkindle Amazon Kindle 1 02-09-2012 06:52 AM
how to backup Kindle books before re-registering Lago Amazon Kindle 9 05-21-2010 10:48 AM


All times are GMT -4. The time now is 11:15 AM.


MobileRead.com is a privately owned, operated and funded community.