There is only an issue which I need to analyze further: for some partitions comparing the checksums do not match after transferring. But I am doing the backup *not* in recovery, but on a running system being "shut down".
@GrayJack I've updated my backup scripts and I successfully got all the partitions from a Pixel 3a (Stock Android 10), a Huawei Medipad M5 (EMUI 9.1) and a HTC one m8 (Lineage 17.1)
@GrayJack I did not restore the files yet but as the checksums on the device and the PC are the same I am quite sure restoring them should not be a problem.
I can also mount (some of) the extracted image files, e.g. userdata, system, ... as a loop device on my Linux system without any problems. To flash them back to the device itself one could either use dd / cat (reverse operation as the extraction was done) or fastboot flash. Using fastboot flash one probably needs to transform (some of them) into a sparse image first so that the fastboot flash accepts the format.
|android, backup, compress, tar, twrp|
|Thread Tools||Search this Thread|