You do it in recovery. So the procedure for the 10 III is as follows:
- flash hybris-recovery.img to both boot_a and boot_b slots:
fastboot flash boot_a hybris-recovery.img
fastboot flash boot_b hybris-recovery.img
fastboot reboot
-
go to recovery (by simply rebooting the device)
-
telnet to the device from your computer:
telnet 10.42.66.66
-
select option 3) (shell), then enter your security code
-
mount your microSD card (at least 105 GB of free space is needed for an uncompressed backup):
mount /dev/mmcblk0p1 /mnt
- do the backup:
dd if=/dev/sda79 of=/mnt/backup.img bs=1M
It may take 40+ minutes (or even more than one hour with a slower memory card). No progress is shown. If you would like to see progress, open another telnet connection and type:
watch -n5 'kill -USR1 $(pgrep ^dd$)'
This will show progress every 5 seconds.
- When backup is complete, unmount memory card:
umount /mnt
and then exit recovery mode.
Finally, flash the normal hybris-boot.img to both boot slots:
fastboot flash boot_a hybris-boot.img
fastboot flash boot_b hybris-boot.img
fastboot reboot
That’s all.
The backup can be restored the same way as you created it, i.e. by typing:
dd if=/mnt/backup.img of=/dev/sda79 bs=1M