Answer the question
In order to leave comments, you need to log in
How to write a partition image to an android device?
There is a partition file obtained with
adb pull /dev/block/bootdevice/by-name/userdata userdata
size 50GB, stored on a Windows machine. You need to upload it back to the device. How to do it? Fastboot gives out invalid sparse file format at header magic
, adb push tries to copy the file first, so then an out-of-memory error occurs. There is no card slot. Answer the question
In order to leave comments, you need to log in
As I understand it, you merged the image one to one
. So you download a custom recovery in which there is a dd command and connect the media with the file.
if there is no dd command, you can try the cat command and output redirection - the meaning will be about the same - transfer the contents of the file to the block device.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question