View Single Post
Old 02-05-2016, 10:10 AM   #32
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 Whitefox View Post
- - - -
Now should I try to do something like this?
Code:
./copycmp.sh /mnt/us/rootfs.img /dev/mmcblk0p1
and check it with
Code:
./dc3dd if=/mnt/us/rootfs.img hof=/dev/mmcblk0p1 hash=sha1 ssz=4096 nwspc=on verb=on
correct?

I got some problem coping the rootfs.img with usb, the file copied had a different md5 hash, so I had to split in a bunch of chunks, copy them(one at time), and join them using the serial console
Yes

Checking is optional - that was just to confirm script operation and demo dc3dd

ah - now that might be part of the problem.

= = = =

Sorry I haven't gotten the HowTo written yet -
Have to get my PW-3 re-assembled.

= = = =

dc3dd will do the splitting into chunks for you (dc3dd --help).
the one in x86/dc3dd might run on 32bit linux else install the copy from your linux distribution.

Last edited by knc1; 02-05-2016 at 10:23 AM.
knc1 is offline   Reply With Quote