android - Merge .img files using BAT script -
i running 2gb file size barrier on galaxy s4 sd card reason. file system exfat dont know why there issue there is. pulling system image phone image in access of 2gb file large error before image built. combat decided split image 2 parts so....
adb shell su -c "dd if=/dev/block/mmcblk0p%system% of=/%cardpath%/temp/system1.img bs=4096 count=393216" adb shell su -c "dd if=/dev/block/mmcblk0p%system% of=/%cardpath%/temp/system2.img bs=4096 skip=393216 count=393216" this create 2 img files on sd card. system1.img , system2.img. want combine them 1 single file (system.img) can not combine them on card this....
adb shell su -c "dd if=/%cardpath%/temp/system1.img of=/%cardpath%/temp/system.img bs=4096 count=393216" adb shell su -c "dd if=/%cardpath%/temp/system2.img of=/%cardpath%/temp/system.img bs=4096 count=393216 seek=393216" .....because final file larger 2gb , result in error described above. combine files on pc rather on sd card of phone not know batch command operation. can please me bat script combine these 2 img files?
thanks jimmie
copy /b system1.img+system2.img=system.img
Comments
Post a Comment