I am trying to make an image backup of boot. The script must work on any android. I think on any Android the boot location is
/dev/block/platform/???/by-name/boot
My command line
find /dev/block/platform -name boot -exec dd={} of=/sdcard/boot.img \;
doesn't work: {} no such file or directory