O
O
ogeolime2018-05-11 10:45:03
linux
ogeolime, 2018-05-11 10:45:03

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.
There is a custom recovery, the bootloader is unlocked.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2018-05-11
@ogeolime

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 question

Ask a Question

731 491 924 answers to any question