Some tips found on the net

The information posted here are for my personal information.
Do not use it unless you know what you are doing! we are not to blame. . Remember that all information found on the web should be examined from several sources before using it. The information here is not incorrect, only deficient so it can easily be used incorrectly 😉

Using rsync to copy a big file

rsync -avS --progress -h fromPath/fileToCopy destPath/
Code language: Bash (bash)

Backup all data on Android phones

adb backup -shared -all -f ./Backupfilename.ab

Howto mount it on a computer
dd if=Backupfilename.ab skip=512 bs=128k iflag=nocache,skip_bytes oflag=nocache,append conv=notrunc of=OutfileimageEXT4.img

do this with all the ab files it creates, change the if= to the next file, leave the parameters as is.

Mount
sudo mount -t ext4 -o loop OoutfileimageEXT4.img /media/username/mountpoint_for_your_image