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 11-04-2012, 08:17 PM   #16
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
he's right you know.

md5sum does not process arguments. DUH! treat's the argument as a file call. DUH!

Quote:
[root@kindle root]# md5sum --warn --check /opt/factory/rootfs_md5_list
md5sum: can't open '--warn': No such file or directory
md5sum: can't open '--check': No such file or directory
4655b1d6c0bdb0391a306653ab94350c /opt/factory/rootfs_md5_list
EDIT: Also the same on the 3
(Is there something I don't know about the busybox md5sum build???)

Last edited by twobob; 11-04-2012 at 08:23 PM.
twobob is offline   Reply With Quote
Old 11-04-2012, 08:40 PM   #17
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Meh. And I did check that the busybox applet handled it... I just happen to be running a vastly more recent busybox ;-)
NiLuJe is offline   Reply With Quote
Advert
Old 11-05-2012, 07:17 AM   #18
zerolucat
Enthusiast
zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.
 
Posts: 33
Karma: 4658
Join Date: Oct 2012
Device: kindle touch
Quote:
Originally Posted by NiLuJe View Post
Meh. And I did check that the busybox applet handled it... I just happen to be running a vastly more recent busybox ;-)
I'm sorry if I say something stupid, but there is a way to copy the root directory of kindle in pc, for example by the command

Code:
sudo scp -r root@192.168.15.244:/ /home/kindleroot/
and use the md5sum of the pc os?
zerolucat is offline   Reply With Quote
Old 11-05-2012, 09:34 AM   #19
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
That should do it, but you may want to split that into several commands that does not include the path to user storage.
As written above, it will also copy the user storage area (that 3Gbyte area you see over the USB cable, for books and things).

Note: rsync would probably be a better choice than scp.
knc1 is offline   Reply With Quote
Old 11-05-2012, 11:23 AM   #20
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
+1 for rsync, or, even better, just follow the backup instructions in the wiki, and loop mount the resulting image on your host .

You'll have to tweak the checklist a bit to fix the paths, but that should be trivial with a quick bit of sed magic .

Say, with a dump mounted on /home/niluje/Kindle/K5_ROOT, I'd do:
Code:
sed -r -e 's#(^[[:xdigit:]]{32})([[:blank:]]*)(.*?$)#\1\2/home/niluje/Kindle/K5_ROOT\3#g' /home/niluje/Kindle/K5_ROOT/opt/factory/rootfs_md5_list > tweaked_md5_list
md5sum -c tweaked_md5_list

Last edited by NiLuJe; 11-05-2012 at 11:31 AM.
NiLuJe is offline   Reply With Quote
Advert
Old 11-05-2012, 11:36 AM   #21
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Hopefully, that recursive root copy will avoid copying /dev/zero, which could take quite awhile. Copying /dev/urandom would be even slower...
geekmaster is offline   Reply With Quote
Old 11-05-2012, 12:08 PM   #22
zerolucat
Enthusiast
zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.
 
Posts: 33
Karma: 4658
Join Date: Oct 2012
Device: kindle touch
scp don't work

Code:
...
Too many levels of symbolic links
microvolts                                      0%    0     0.0KB/s - stalled
... I don't know rsync , if I try a "same" command, the output is

Code:
sudo rsync -r root@192.168.15.244:/ /home/kindle/
ssh: connect to host 192.168.15.244 port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: unexplained error (code 255) at io.c(601) [Receiver=3.0.8]


now I'm, trying

Code:
nc -l 31337|dd of=mmcblk0p1.bin
zerolucat is offline   Reply With Quote
Old 11-05-2012, 12:39 PM   #23
zerolucat
Enthusiast
zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.
 
Posts: 33
Karma: 4658
Join Date: Oct 2012
Device: kindle touch
Quote:
Originally Posted by zerolucat View Post

Code:
nc -l 31337|dd of=mmcblk0p1.bin
It doesn't work... some suggestion?
zerolucat is offline   Reply With Quote
Old 11-05-2012, 12:49 PM   #24
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 zerolucat View Post
It doesn't work... some suggestion?
Give us some hints -
Such as any error messages,
other messages,
does it just sit there,
does it terminate without any messages, ...

Anything at all more informative than "It doesn't work" please.
knc1 is offline   Reply With Quote
Old 11-05-2012, 02:05 PM   #25
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Hi.

Your ports are likely not open then.

iptables -L

do you see the ports listed in there for the service you tried to use?
of not... that'll be the issue. perhaps just check the ports are open
twobob is offline   Reply With Quote
Old 11-05-2012, 06:02 PM   #26
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Note the comment about the netcat forks, where you need to pass the -p argument.

Last edited by NiLuJe; 11-05-2012 at 06:05 PM.
NiLuJe is offline   Reply With Quote
Old 11-06-2012, 02:24 PM   #27
zerolucat
Enthusiast
zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.
 
Posts: 33
Karma: 4658
Join Date: Oct 2012
Device: kindle touch
the problem is that there isn't rsync in kindle touch... I try again now and this is the result

Code:
zerolucat@zerolucat-PC:~$ sudo rsync -r root@192.168.15.244:/ /home/kindle/
root@192.168.15.244's password: 
sh: rsync: not found
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: remote command not found (code 127) at io.c(601) [Receiver=3.0.8]
zerolucat is offline   Reply With Quote
Old 11-06-2012, 03:31 PM   #28
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
FWIW, it's in USBNet. But GM's comments also applies to rsync (and I can speak from experience), you'll have to use a crapload of settings to avoid pulling pseudo-fs stuff and other fun things. You're better of dumping it with dd.
NiLuJe is offline   Reply With Quote
Old 11-06-2012, 05:54 PM   #29
zerolucat
Enthusiast
zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.zerolucat is fluent in JavaScript as well as Klingon.
 
Posts: 33
Karma: 4658
Join Date: Oct 2012
Device: kindle touch
ok, now I make the image of the partition with netcat. I mounted the image but
Code:
md5sum -c rootfs_md5_list
give me

Code:
... a lot of FAILED open or read ....
/opt/wan/firmware/mt-4/getversion: apertura o lettura NON RIUSCITA
md5sum: /data.tar.gz: File o directory non esistente
/data.tar.gz: apertura o lettura NON RIUSCITA
md5sum: ATTENZIONE: 4675 di 5608 file elencati non possono essere letti
md5sum: ATTENZIONE: 639 di 933 codici di controllo calcolati NON corrispondono
...
I also try (although I have not the faintest idea what to do...)

Code:
zerolucat@zerolucat-PC:~$ sed -r -e 's#(^[[:xdigit:]]{32})([[:blank:]]*)(.*?$)#\1\2/home/zerolucat/kindle\3#g' /home/zerolucat/kindle/opt/factory/rootfs_md5_list > tweaked_md5_list
zerolucat@zerolucat-PC:~$
what does this mean ?
zerolucat is offline   Reply With Quote
Old 11-06-2012, 06:52 PM   #30
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Assuming your dump is loop mounted on /home/zerolucat/kindle, that md5sum -c tweaked_md5_list will now actually check the right files.
NiLuJe is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle 3 not sorting by most recent. granturissimus Amazon Kindle 3 01-01-2011 05:09 PM
Firmware Update Kindle dx not sorting recent files after 2.5 update,help nayito2 Amazon Kindle 8 06-05-2010 01:49 PM
Error trying to do epub conversion after most recent update Beau Calibre 6 04-24-2010 11:56 AM
Error syncing with recent versions.... jrkotrla Calibre 4 11-22-2009 06:30 PM
Firmware Update More K2 firmware 2.0.3 woes - sorting by most recent doesn't work hmemcpy Amazon Kindle 7 06-23-2009 10:21 PM


All times are GMT -4. The time now is 12:48 PM.


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