View Single Post
Old 08-13-2014, 09:20 AM   #105
Aydan
Connoisseur
Aydan plays well with othersAydan plays well with othersAydan plays well with othersAydan plays well with othersAydan plays well with othersAydan plays well with othersAydan plays well with othersAydan plays well with othersAydan plays well with othersAydan plays well with othersAydan plays well with others
 
Posts: 87
Karma: 2975
Join Date: Jan 2012
Location: Germany
Device: Kobo Touch
Code:
dd if=boot_sector_kobo.img of=/dev/sdd seek=2 bs=512 count=19453
this should be
Code:
dd if=boot_sector_kobo.img of=/dev/sdd seek=2 skip=2 bs=512 count=19453
What you did is to start writing your whole image from sector 2, so everything is off by 2 sectors.
What i would suggest you do is dd mareks image onto your SD-card, extract the serial, hwinfo and waveform data from the original sd-card with
Code:
dd if=/dev/sdd of=serial bs=512 skip=1 count 1
dd if=/dev/sdd of=hwinfo bs=512 skip=1024 count 1
dd if=/dev/sdd of=waveform bs=512 skip=14335 count 2
and copy those files onto the new sdcard with
Code:
dd if=serial of=/dev/sdd bs=512 seek=1
dd if=hwinfo of=/dev/sdd bs=512 seek=1024
dd if=waveform of=/dev/sdd bs=512 seek=14335
Regards
Aydan

PS: seek means go to position in output, skip means goto position in input

Last edited by Aydan; 08-13-2014 at 09:52 AM.
Aydan is offline   Reply With Quote