Tranfer linux disk image from board to host pc


Hi all,

Is there any way to tranfer the linux disk image (*.img) from the hikey960 board to the host PC?

So, something like:

fastboot flash system system.img

But instead of host PC to board, board to PC host



fastboot does not provide any feature like this. I usually handle things like this by mounting the filesystem in question read-only and then using dd and ssh or netcat in a pipeline to transfer the data over network.

If you are running Android on the target device it can be a bit of a puzzle because it has a fairly limited selection of command line tools (and --help is seldom implemented). It should still be possible though… if you get really stuck install something like Terminal IDE to get a “better” command line!


Thanks Daniel,

I am running Linux, not Android. I want a method to transfer files to linux without having to flash the image everytime. As far as I know, I can’t access a USB stick from hikey960 on the pre-built linux kernel. Maybe you know how to do it?