#!/tmp/busybox sh

# Example to flash from the root of the sdcard
# a file named "v13system.img" to the /system partition. 
#/tmp/busybox dd if=/sdcard/backup/system.img of=/dev/block/bootdevice/by-name/system
/tmp/busybox dd if=/sdcard/new-dumps/aboot.img of=/dev/block/bootdevice/by-name/aboot
/tmp/busybox dd if=/sdcard/new-dumps/abootbak.img of=/dev/block/bootdevice/by-name/abootbak
/tmp/busybox dd if=/sdcard/new-dumps/boot.img of=/dev/block/bootdevice/by-name/boot
/tmp/busybox dd if=/sdcard/new-dumps/fsg.img of=/dev/block/bootdevice/by-name/fsg
/tmp/busybox dd if=/sdcard/new-dumps/modem.img of=/dev/block/bootdevice/by-name/modem
/tmp/busybox dd if=/sdcard/new-dumps/rpm.img of=/dev/block/bootdevice/by-name/rpm
/tmp/busybox dd if=/sdcard/new-dumps/rpmbak.img of=/dev/block/bootdevice/by-name/rpmbak
/tmp/busybox dd if=/sdcard/new-dumps/sbl1.img of=/dev/block/bootdevice/by-name/sbl1
/tmp/busybox dd if=/sdcard/new-dumps/sbl1bak.img of=/dev/block/bootdevice/by-name/sbl1bak
/tmp/busybox dd if=/sdcard/new-dumps/splash.img of=/dev/block/bootdevice/by-name/splash
/tmp/busybox dd if=/sdcard/new-dumps/system.img of=/dev/block/bootdevice/by-name/system
/tmp/busybox dd if=/sdcard/new-dumps/tz.img of=/dev/block/bootdevice/by-name/tz
/tmp/busybox dd if=/sdcard/new-dumps/tzbak.img of=/dev/block/bootdevice/by-name/tzbak