|
|
#16 | |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
(Is there something I don't know about the busybox md5sum build???) Last edited by twobob; 11-04-2012 at 08:23 PM. |
|
|
|
|
|
|
#17 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 ;-)
|
|
|
|
| Advert | |
|
|
|
|
#18 | |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 33
Karma: 4658
Join Date: Oct 2012
Device: kindle touch
|
Quote:
Code:
sudo scp -r root@192.168.15.244:/ /home/kindleroot/ |
|
|
|
|
|
|
#19 |
|
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
|
|
|
|
|
#20 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
|
|
|
| Advert | |
|
|
|
|
#21 |
|
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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...
|
|
|
|
|
|
#22 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 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 |
|
|
|
|
|
#23 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 33
Karma: 4658
Join Date: Oct 2012
Device: kindle touch
|
|
|
|
|
|
|
#24 |
|
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
|
|
|
|
|
#25 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
|
|
|
|
|
#26 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
|
|
|
|
|
#27 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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] |
|
|
|
|
|
#28 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
|
|
|
|
|
#29 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 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:~$
?
|
|
|
|
|
|
#30 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
|
|
|
![]() |
|
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 |