1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
z35@fchs rockbox % unzip -o clip02.01.35.zip                                
Archive:  clip02.01.35.zip
  inflating: m30pa.bin               
z35@fchs rockbox % ./mkamsboot m30pa.bin bootloader-clipv2.sansa patched.bin
mkamsboot Version 1.3
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[INFO] Original firmware MD5 checksum match
[INFO] Model: Sansa Clip v2 - Firmware version: 2.01.35
[INFO] Firmware patching has begun !

[INFO] Original firmware size:   391036 bytes
[INFO] Packed OF size:           91298 bytes
[INFO] Bootloader size:          45512 bytes
[INFO] Packed bootloader size:   24397 bytes
[INFO] Dual-boot function size:  280 bytes
[INFO] UCL unpack function size: 168 bytes
[INFO] Total size of new image:  116143 bytes

[INFO] Patching succeeded!
z35@fchs rockbox % cp patched.bin /media/disk/m30pa.bin                     
z35@fchs rockbox % pumount /media/disk