[Android General] Charles IV:
flashing the system.img gives a new error ...

here is some of the log (i attempted to flash twice)

will try boot.img first but i have little hope... -edit - boot.img worked, system img failed, going to try my data fixing tricks in system ...

I:Set page: 'install'
I:Set page: 'install'
I:Set page: 'flashimage_confirm'
I:Set page: 'action_page'
I:operation_start: 'Flash Image'
[IMAGE FLASH STARTED]
Image to flash: '/sdcard/system.img'
Calculating restore details...
I:Image filename is: system.img
Flashing System Image...
I:Flash command: 'simg2img '/sdcard/system.img' '/dev/block/mmcblk0p19''
error: file_skip: lseek64: Invalid argument
error: file_write: incomplete write
Cannot write output file
simg2img '/sdcard/system.img' '/dev/block/mmcblk0p19' process ended with ERROR: 255
[IMAGE FLASH COMPLETED]
I:Set page: 'action_complete'
I:operation_end - status=0
I:Set page: 'clear_vars'
I:Set page: 'flashimage_confirm'
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'wipe'
I:Set page: 'advancedwipe'
I:Set page: 'action_page'
I:operation_start: 'Format'
I:wipe list 'DALVIK;/system;/cache;/data;'
I:wipe_path 'DALVIK'
Wiping Dalvik Cache Directories...
-- Dalvik Cache Directories Wipe Complete!
I:wipe_path '/system'
Formatting System using make_ext4fs...
Creating filesystem with parameters:
Size: 1090519040
Block size: 4096
Blocks per group: 32768
Inodes per group: 7408
Inode size: 256
Journal blocks: 4160
Label:
Blocks: 266240
Block groups: 9
Reserved block group size: 71
Created filesystem with 11/66672 inodes and 8713/266240 blocks
I:wipe_path '/cache'
Formatting cache using make_ext4fs...
Creating filesystem with parameters:
Size: 167772160
Block size: 4096
Blocks per group: 32768
Inodes per group: 5120
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 40960
Block groups: 2
Reserved block group size: 15
Created filesystem with 11/10240 inodes and 1705/40960 blocks
I:Recreating /cache/recovery folder.
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:wipe_path '/data'
Wiping data without wiping /data/media ...
I:skipped '/data/lost+found'
I:skipped '/data/media'
Done.
I:sending message to add 65537 '/data/media' 'Internal Storage'
I:Message sent, add storage ID: 65537
I:[MTP] mtppipe add storage 65537 '/data/media'
Updating partition details...
I:[MTP] MtpStorage id: 65537 path: /data/media
I:Data backup size is 0MB, free: 1443MB.
I:Unable to mount '/external_sd'
I:Actual block device: '', current file system: 'auto'
...done
I:Set page: 'action_complete'
I:operation_end - status=0
Truncating string cache entries.
E:[MTP] MtpServer::addStorage Storage for storage ID 65537 already exists.
I:Set page: 'clear_vars'
I:Set page: 'advancedwipe'
I:Set page: 'wipe'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'install'
I:Set page: 'install'
I:Set page: 'flashimage_confirm'
I:Set page: 'action_page'
I:operation_start: 'Flash Image'
[IMAGE FLASH STARTED]
Image to flash: '/sdcard/system.img'
Calculating restore details...
I:Image filename is: system.img
Flashing System Image...
I:Flash command: 'simg2img '/sdcard/system.img' '/dev/block/mmcblk0p19''
error: file_skip: lseek64: Invalid argument
error: file_write: incomplete write
Cannot write output file
simg2img '/sdcard/system.img' '/dev/block/mmcblk0p19' process ended with ERROR: 255
[IMAGE FLASH COMPLETED]
I:Set page: 'action_complete'
I:operation_end - status=0
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'copylog'
I:Set page: 'action_page'
I:operation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /data/media/recovery.log