4. Patch "secondary.bin" for USB icon: Code: dd if=logo.bin of=secondary.bin bs=1 seek=82596 conv=notrunc And again, better if we write value with new size of USB icon to "secondary.bin": * In this example size of "logo.bin" with USB icon equal to 1089 bytes, it is 0x441 bytes, that mean '\x41\x04' Code: echo -ne '\x41\x04' | dd of=secondary.bin bs=1 seek=33598 conv=notrunc echo -ne '\xBF\xF8\x56\x61' | dd of=secondary.bin bs=1 seek=33252 conv=notrunc echo -ne '\x3С' | dd of=secondary.bin bs=1 seek=33584 conv=notrunc
dd if=logo.bin of=secondary.bin bs=1 seek=82596 conv=notrunc
echo -ne '\x41\x04' | dd of=secondary.bin bs=1 seek=33598 conv=notrunc echo -ne '\xBF\xF8\x56\x61' | dd of=secondary.bin bs=1 seek=33252 conv=notrunc echo -ne '\x3С' | dd of=secondary.bin bs=1 seek=33584 conv=notrunc