22:33:51 msp.py is running from CWD: /local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc 22:33:51 Search Paths 22:33:51 [] 22:33:51 Files 22:33:51 [] 22:33:51 Looking for '/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc/rawprogram1.xml' 22:33:51 ---------------------------------------- 22:33:51 Searching '/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc' 22:33:51 **Found /local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc/rawprogram1.xml (1349 bytes) 22:33:51 Looking for '/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc/patch1.xml' 22:33:51 ---------------------------------------- 22:33:51 Searching '/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc' 22:33:51 **Found /local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc/patch1.xml (5231 bytes) 22:33:51 MinDiskSizeInSectors=7634944 sectors (3728.00MB) 22:33:51 Looking for 'testsparse.py' 22:33:51 ---------------------------------------- 22:33:51 Searching '/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc' 22:33:51 Cound't find file OR perhaps you don't have permission to run os.stat() on this file 22:33:51 Programming singleimage.bin of size 3.64 GB 22:33:51 _ _ _ 22:33:51 | | | | (_) 22:33:51 _ __ __ _| |_ ___| |__ _ _ __ __ _ 22:33:51 | '_ \ / _` | __|/ __| '_ \| | '_ \ / _` | 22:33:51 | |_) | (_| | |_| (__| | | | | | | | (_| | 22:33:51 | .__/ \__,_|\__|\___|_| |_|_|_| |_|\__, | 22:33:51 | | __/ | 22:33:51 |_| |___/ 22:33:51 WARNING 'gpt_main1.bin' for physical_partition_number=1 (only 0 is accessible) - THIS MIGHT FAIL 22:33:51 ------------------------------------------------------------------------------ 22:33:51 PATCH: (gpt_main1.bin) Update Primary Header with LastUseableLBA. 22:33:51 Looking for 'gpt_main1.bin' 22:33:51 ---------------------------------------- 22:33:51 Searching '/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc' 22:33:51 **Found gpt_main1.bin (17408 bytes) 22:33:51 Opened gpt_main1.bin, cwd=/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc 22:33:51 moving to sector 1 (byte location 512) 22:33:51 success was able to read len(bytes_read)=512 22:33:51 At sector 1 (0x200) file_sector_offset 48 (0x30) in gpt_main1.bin with 7634910 (0x747FDE) 22:33:51 Patch value:7634910 22:33:51 (little endian) 22:33:51 committing patch of length 512 bytes 22:33:51 CLOSED 'gpt_main1.bin' 22:33:51 You're on LINUX! I'm performing a SYNC for you 22:33:51 PATCH: 22:33:51 DONE 22:33:51 WARNING 'DISK' for physical_partition_number=1 (only 0 is accessible) - THIS MIGHT FAIL 22:33:51 WARNING 'gpt_backup1.bin' for physical_partition_number=1 (only 0 is accessible) - THIS MIGHT FAIL 22:33:51 ------------------------------------------------------------------------------ 22:33:51 PATCH: (gpt_backup1.bin) Update Backup Header with LastUseableLBA. 22:33:51 Looking for 'gpt_backup1.bin' 22:33:51 ---------------------------------------- 22:33:51 Searching '/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc' 22:33:51 **Found gpt_backup1.bin (16896 bytes) 22:33:51 Opened gpt_backup1.bin, cwd=/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc 22:33:51 moving to sector 32 (byte location 16384) 22:33:51 success was able to read len(bytes_read)=512 22:33:51 At sector 32 (0x4000) file_sector_offset 48 (0x30) in gpt_backup1.bin with 7634910 (0x747FDE) 22:33:51 Patch value:7634910 22:33:51 (little endian) 22:33:51 committing patch of length 512 bytes 22:33:51 CLOSED 'gpt_backup1.bin' 22:33:51 You're on LINUX! I'm performing a SYNC for you 22:33:51 PATCH: 22:33:51 DONE 22:33:51 WARNING 'DISK' for physical_partition_number=1 (only 0 is accessible) - THIS MIGHT FAIL 22:33:51 WARNING 'gpt_main1.bin' for physical_partition_number=1 (only 0 is accessible) - THIS MIGHT FAIL 22:33:51 ------------------------------------------------------------------------------ 22:33:51 PATCH: (gpt_main1.bin) Update Primary Header with BackupGPT Header Location. 22:33:51 Looking for 'gpt_main1.bin' 22:33:51 ---------------------------------------- 22:33:51 Searching '/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc' 22:33:51 **Found gpt_main1.bin (17408 bytes) 22:33:51 Opened gpt_main1.bin, cwd=/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc 22:33:51 moving to sector 1 (byte location 512) 22:33:51 success was able to read len(bytes_read)=512 22:33:51 At sector 1 (0x200) file_sector_offset 32 (0x20) in gpt_main1.bin with 7634943 (0x747FFF) 22:33:51 Patch value:7634943 22:33:51 (little endian) 22:33:51 committing patch of length 512 bytes 22:33:51 CLOSED 'gpt_main1.bin' 22:33:51 You're on LINUX! I'm performing a SYNC for you 22:33:51 PATCH: 22:33:51 DONE 22:33:51 WARNING 'DISK' for physical_partition_number=1 (only 0 is accessible) - THIS MIGHT FAIL 22:33:51 WARNING 'gpt_backup1.bin' for physical_partition_number=1 (only 0 is accessible) - THIS MIGHT FAIL 22:33:51 ------------------------------------------------------------------------------ 22:33:51 PATCH: (gpt_backup1.bin) Update Backup Header with CurrentLBA. 22:33:51 Looking for 'gpt_backup1.bin' 22:33:51 ---------------------------------------- 22:33:51 Searching '/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc' 22:33:51 **Found gpt_backup1.bin (16896 bytes) 22:33:51 Opened gpt_backup1.bin, cwd=/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc 22:33:51 moving to sector 32 (byte location 16384) 22:33:51 success was able to read len(bytes_read)=512 22:33:51 At sector 32 (0x4000) file_sector_offset 24 (0x18) in gpt_backup1.bin with 7634943 (0x747FFF) 22:33:51 Patch value:7634943 22:33:51 (little endian) 22:33:51 committing patch of length 512 bytes 22:33:51 CLOSED 'gpt_backup1.bin' 22:33:51 You're on LINUX! I'm performing a SYNC for you 22:33:51 PATCH: 22:33:51 DONE 22:33:51 WARNING 'DISK' for physical_partition_number=1 (only 0 is accessible) - THIS MIGHT FAIL 22:33:51 WARNING 'gpt_backup1.bin' for physical_partition_number=1 (only 0 is accessible) - THIS MIGHT FAIL 22:33:51 ------------------------------------------------------------------------------ 22:33:51 PATCH: (gpt_backup1.bin) Update Backup Header with Partition Array Location. 22:33:51 Looking for 'gpt_backup1.bin' 22:33:51 ---------------------------------------- 22:33:51 Searching '/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc' 22:33:51 **Found gpt_backup1.bin (16896 bytes) 22:33:51 Opened gpt_backup1.bin, cwd=/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc 22:33:51 moving to sector 32 (byte location 16384) 22:33:51 success was able to read len(bytes_read)=512 22:33:51 At sector 32 (0x4000) file_sector_offset 72 (0x48) in gpt_backup1.bin with 7634911 (0x747FDF) 22:33:51 Patch value:7634911 22:33:51 (little endian) 22:33:51 committing patch of length 512 bytes 22:33:51 CLOSED 'gpt_backup1.bin' 22:33:51 You're on LINUX! I'm performing a SYNC for you 22:33:51 PATCH: 22:33:51 DONE 22:33:51 WARNING 'DISK' for physical_partition_number=1 (only 0 is accessible) - THIS MIGHT FAIL 22:33:51 WARNING 'gpt_main1.bin' for physical_partition_number=1 (only 0 is accessible) - THIS MIGHT FAIL 22:33:51 ------------------------------------------------------------------------------ 22:33:51 PATCH: (gpt_main1.bin) Update Primary Header with CRC of Partition Array. 22:33:51 Looking for 'gpt_main1.bin' 22:33:51 ---------------------------------------- 22:33:51 Searching '/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc' 22:33:51 **Found gpt_main1.bin (17408 bytes) 22:33:51 Opened gpt_main1.bin, cwd=/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc 22:33:51 CRC32(2,512) requested 22:33:51 moving to sector 2 (byte location 1024) 22:33:51 Move Successful 22:33:51 Trying to read 512 bytes in gpt_main1.bin 22:33:51 len(bytes_read)= 22:33:51 CRC32=0x106B910C 22:33:51 moving to sector 1 (byte location 512) 22:33:51 success was able to read len(bytes_read)=512 22:33:51 At sector 1 (0x200) file_sector_offset 88 (0x58) in gpt_main1.bin with 275484940 (0x106B910C) 22:33:51 Patch value:275484940 22:33:51 (little endian) 22:33:51 committing patch of length 512 bytes 22:33:51 CLOSED 'gpt_main1.bin' 22:33:51 You're on LINUX! I'm performing a SYNC for you 22:33:51 PATCH: 22:33:51 DONE 22:33:51 WARNING 'DISK' for physical_partition_number=1 (only 0 is accessible) - THIS MIGHT FAIL 22:33:51 WARNING 'gpt_backup1.bin' for physical_partition_number=1 (only 0 is accessible) - THIS MIGHT FAIL 22:33:51 ------------------------------------------------------------------------------ 22:33:51 PATCH: (gpt_backup1.bin) Update Backup Header with CRC of Partition Array. 22:33:51 Looking for 'gpt_backup1.bin' 22:33:51 ---------------------------------------- 22:33:51 Searching '/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc' 22:33:51 **Found gpt_backup1.bin (16896 bytes) 22:33:51 Opened gpt_backup1.bin, cwd=/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc 22:33:51 CRC32(0,512) requested 22:33:51 moving to sector 0 (byte location 0) 22:33:51 Move Successful 22:33:51 Trying to read 512 bytes in gpt_backup1.bin 22:33:51 len(bytes_read)= 22:33:51 CRC32=0x106B910C 22:33:51 moving to sector 32 (byte location 16384) 22:33:51 success was able to read len(bytes_read)=512 22:33:51 At sector 32 (0x4000) file_sector_offset 88 (0x58) in gpt_backup1.bin with 275484940 (0x106B910C) 22:33:51 Patch value:275484940 22:33:51 (little endian) 22:33:51 committing patch of length 512 bytes 22:33:51 CLOSED 'gpt_backup1.bin' 22:33:51 You're on LINUX! I'm performing a SYNC for you 22:33:52 PATCH: 22:33:52 DONE 22:33:52 WARNING 'DISK' for physical_partition_number=1 (only 0 is accessible) - THIS MIGHT FAIL 22:33:52 WARNING 'gpt_main1.bin' for physical_partition_number=1 (only 0 is accessible) - THIS MIGHT FAIL 22:33:52 ------------------------------------------------------------------------------ 22:33:52 PATCH: (gpt_main1.bin) Zero Out Header CRC in Primary Header. 22:33:52 Looking for 'gpt_main1.bin' 22:33:52 ---------------------------------------- 22:33:52 Searching '/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc' 22:33:52 **Found gpt_main1.bin (17408 bytes) 22:33:52 Opened gpt_main1.bin, cwd=/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc 22:33:52 moving to sector 1 (byte location 512) 22:33:52 success was able to read len(bytes_read)=512 22:33:52 At sector 1 (0x200) file_sector_offset 16 (0x10) in gpt_main1.bin with 0 (0x0) 22:33:52 Patch value:0 22:33:52 (little endian) 22:33:52 committing patch of length 512 bytes 22:33:52 CLOSED 'gpt_main1.bin' 22:33:52 You're on LINUX! I'm performing a SYNC for you 22:33:52 PATCH: 22:33:52 DONE 22:33:52 WARNING 'gpt_main1.bin' for physical_partition_number=1 (only 0 is accessible) - THIS MIGHT FAIL 22:33:52 ------------------------------------------------------------------------------ 22:33:52 PATCH: (gpt_main1.bin) Update Primary Header with CRC of Primary Header. 22:33:52 Looking for 'gpt_main1.bin' 22:33:52 ---------------------------------------- 22:33:52 Searching '/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc' 22:33:52 **Found gpt_main1.bin (17408 bytes) 22:33:52 Opened gpt_main1.bin, cwd=/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc 22:33:52 CRC32(1,92) requested 22:33:52 moving to sector 1 (byte location 512) 22:33:52 Move Successful 22:33:52 Trying to read 92 bytes in gpt_main1.bin 22:33:52 len(bytes_read)= 22:33:52 CRC32=0x2C09EF59 22:33:52 moving to sector 1 (byte location 512) 22:33:52 success was able to read len(bytes_read)=512 22:33:52 At sector 1 (0x200) file_sector_offset 16 (0x10) in gpt_main1.bin with 738848601 (0x2C09EF59) 22:33:52 Patch value:738848601 22:33:52 (little endian) 22:33:52 committing patch of length 512 bytes 22:33:52 CLOSED 'gpt_main1.bin' 22:33:52 You're on LINUX! I'm performing a SYNC for you 22:33:52 PATCH: 22:33:52 DONE 22:33:52 WARNING 'DISK' for physical_partition_number=1 (only 0 is accessible) - THIS MIGHT FAIL 22:33:52 WARNING 'DISK' for physical_partition_number=1 (only 0 is accessible) - THIS MIGHT FAIL 22:33:52 WARNING 'gpt_backup1.bin' for physical_partition_number=1 (only 0 is accessible) - THIS MIGHT FAIL 22:33:52 ------------------------------------------------------------------------------ 22:33:52 PATCH: (gpt_backup1.bin) Zero Out Header CRC in Backup Header. 22:33:52 Looking for 'gpt_backup1.bin' 22:33:52 ---------------------------------------- 22:33:52 Searching '/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc' 22:33:52 **Found gpt_backup1.bin (16896 bytes) 22:33:52 Opened gpt_backup1.bin, cwd=/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc 22:33:52 moving to sector 32 (byte location 16384) 22:33:52 success was able to read len(bytes_read)=512 22:33:52 At sector 32 (0x4000) file_sector_offset 16 (0x10) in gpt_backup1.bin with 0 (0x0) 22:33:52 Patch value:0 22:33:52 (little endian) 22:33:52 committing patch of length 512 bytes 22:33:52 CLOSED 'gpt_backup1.bin' 22:33:52 You're on LINUX! I'm performing a SYNC for you 22:33:52 PATCH: 22:33:52 DONE 22:33:52 WARNING 'gpt_backup1.bin' for physical_partition_number=1 (only 0 is accessible) - THIS MIGHT FAIL 22:33:52 ------------------------------------------------------------------------------ 22:33:52 PATCH: (gpt_backup1.bin) Update Backup Header with CRC of Backup Header. 22:33:52 Looking for 'gpt_backup1.bin' 22:33:52 ---------------------------------------- 22:33:52 Searching '/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc' 22:33:52 **Found gpt_backup1.bin (16896 bytes) 22:33:52 Opened gpt_backup1.bin, cwd=/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc 22:33:52 CRC32(32,92) requested 22:33:52 moving to sector 32 (byte location 16384) 22:33:52 Move Successful 22:33:52 Trying to read 92 bytes in gpt_backup1.bin 22:33:52 len(bytes_read)= 22:33:52 CRC32=0x8713ADD9 22:33:52 moving to sector 32 (byte location 16384) 22:33:52 success was able to read len(bytes_read)=512 22:33:52 At sector 32 (0x4000) file_sector_offset 16 (0x10) in gpt_backup1.bin with 2266213849 (0x8713ADD9) 22:33:52 Patch value:2266213849 22:33:52 (little endian) 22:33:52 committing patch of length 512 bytes 22:33:52 CLOSED 'gpt_backup1.bin' 22:33:52 You're on LINUX! I'm performing a SYNC for you 22:33:52 PATCH: 22:33:52 DONE 22:33:52 WARNING 'DISK' for physical_partition_number=1 (only 0 is accessible) - THIS MIGHT FAIL 22:33:52 WARNING 'DISK' for physical_partition_number=1 (only 0 is accessible) - THIS MIGHT FAIL 22:33:52 Done patching 22:33:52 _ 22:33:52 (_) 22:33:52 _ __ _ __ ___ __ _ _ __ __ _ _ __ ___ _ __ ___ _ _ __ __ _ 22:33:52 | '_ \| '__/ _ \ / _` | '__/ _` | '_ ` _ \| '_ ` _ \| | '_ \ / _` | 22:33:52 | |_) | | | (_) | (_| | | | (_| | | | | | | | | | | | | | | | (_| | 22:33:52 | .__/|_| \___/ \__, |_| \__,_|_| |_| |_|_| |_| |_|_|_| |_|\__, | 22:33:52 | | __/ | __/ | 22:33:52 |_| |___/ |___/ 22:33:52 _ 22:33:52 (_) 22:33:52 __ ____ _ _ __ _ __ _ _ __ __ _ 22:33:52 \ \ /\ / / _` | '__| '_ \| | '_ \ / _` | 22:33:52 \ V V / (_| | | | | | | | | | | (_| | 22:33:52 \_/\_/ \__,_|_| |_| |_|_|_| |_|\__, | 22:33:52 __/ | 22:33:52 |___/ 22:33:52 WARNING: 'gpt_main1.bin' for physical_partition_number=1 (only 0 is accessible) THIS MIGHT FAIL 22:33:52 WARNING 'gpt_main1.bin' for physical_partition_number=1 (only 0 is accessible) THIS MIGHT FAIL 22:33:52 WARNING 'gpt_main1.bin' for physical_partition_number=1 (only 0 is accessible) THIS MIGHT FAIL 22:33:52 WARNING 'gpt_main1.bin' for physical_partition_number=1 (only 0 is accessible) THIS MIGHT FAIL 22:33:52 ============================================================================== 22:33:52 ============================================================================== 22:33:52 Looking for 'gpt_main1.bin' 22:33:52 ---------------------------------------- 22:33:52 Searching '/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc' 22:33:52 **Found gpt_main1.bin (17408 bytes) 22:33:52 'gpt_main1.bin' (17.00 KB) to partition 'PrimaryGPT' at sector 0 (at 0 B) 22:33:52 Attempting to move to sector 0 (file file_sector_offset) in gpt_main1.bin 22:33:52 Attempting to read 17408 bytes 22:33:52 Successfully read 17408 bytes of 17408 bytes and closed gpt_main1.bin 22:33:52 opfile = open('singleimage.bin', 'r+b') , cwd=/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc 22:33:52 Opened singleimage.bin 22:33:52 File can be written completely. 22:33:52 Calling opfile.write(bytes_read) 22:33:52 SingleImageSize 17408 bytes (34 sectors) 22:33:52 CurrentSector=34 22:33:52 DiskSize=7634944 sectors 22:33:52 Written with 22:33:52 python dd.py --if=gpt_main1.bin --bs=512 --count=34 --seek=0 --of=singleimage.bin 22:33:52 Verify with 22:33:52 python dd.py --if=singleimage.bin --bs=512 --count=34 --skip=0 --of=dump.bin 22:33:52 Successfully wrote "gpt_main1.bin" (17.00 KB payload) to singleimage.bin 22:33:52 _ 22:33:52 (_) 22:33:52 __ ____ _ _ __ _ __ _ _ __ __ _ 22:33:52 \ \ /\ / / _` | '__| '_ \| | '_ \ / _` | 22:33:52 \ V V / (_| | | | | | | | | | | (_| | 22:33:52 \_/\_/ \__,_|_| |_| |_|_|_| |_|\__, | 22:33:52 __/ | 22:33:52 |___/ 22:33:52 WARNING: 'gpt_backup1.bin' for physical_partition_number=1 (only 0 is accessible) THIS MIGHT FAIL 22:33:52 WARNING 'gpt_backup1.bin' for physical_partition_number=1 (only 0 is accessible) THIS MIGHT FAIL 22:33:52 WARNING 'gpt_backup1.bin' for physical_partition_number=1 (only 0 is accessible) THIS MIGHT FAIL 22:33:52 WARNING 'gpt_backup1.bin' for physical_partition_number=1 (only 0 is accessible) THIS MIGHT FAIL 22:33:52 ============================================================================== 22:33:52 ============================================================================== 22:33:52 Looking for 'gpt_backup1.bin' 22:33:52 ---------------------------------------- 22:33:52 Searching '/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc' 22:33:52 **Found gpt_backup1.bin (16896 bytes) 22:33:52 'gpt_backup1.bin' (16.50 KB) to partition 'BackupGPT' at sector 7634911 (at 3.64 GB) 22:33:52 Attempting to move to sector 0 (file file_sector_offset) in gpt_backup1.bin 22:33:52 Attempting to read 16896 bytes 22:33:52 Successfully read 16896 bytes of 16896 bytes and closed gpt_backup1.bin 22:33:52 opfile = open('singleimage.bin', 'r+b') , cwd=/local/mnt/workspace/CRMBuilds/BOOT.BF.3.1.1-00120-QCA961xAAAAANAAB-1_20170914_223110/b/boot_images/build/ms/bin/40xx/emmc 22:33:52 Opened singleimage.bin 22:33:52 Moved to sector 7634911 on singleimage.bin 22:33:52 File can be written completely. 22:33:52 Calling opfile.write(bytes_read) 22:33:52 SingleImageSize 3909091328 bytes (7634944 sectors) 22:33:52 CurrentSector=7634944 22:33:52 DiskSize=7634944 sectors 22:33:52 Written with 22:33:52 python dd.py --if=gpt_backup1.bin --bs=512 --count=33 --seek=7634911 --of=singleimage.bin 22:33:52 Verify with 22:33:52 python dd.py --if=singleimage.bin --bs=512 --count=33 --skip=7634911 --of=dump.bin 22:33:52 Successfully wrote "gpt_backup1.bin" (16.50 KB payload) to singleimage.bin 22:33:52 Done Writing Files 22:33:52 NOTE: This program does *not* pad the last partition, therefore 22:33:52 singleimage.bin might be smaller than 7634944 sectors (3728.00 MB) 22:33:52 SUCCESS - singleimage.bin created 22:33:52 SUCCESS - singleimage.bin created 22:33:52 SUCCESS - singleimage.bin created 22:33:52 msp.py exiting SUCCESSFULLY- Log is log_msp.txt