www.chinaphonearena.com

Full Version: Backup partitions with Android Tools (UBUNTU)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Tested on Ecoo E04 MT6752

ABOVE ALL download and install the "Android Tools". I have Ubuntu 15.10 (Wily Werewolf), so I have installed "android-tools-adb_4.2.2+git20130218-3ubuntu42_amd64.deb". This version of Android Tools contains a fix build failure on 64bit architectures. You will can download it at the next link :

[Only registered and activated users can see links Click here to register]

THEN open the terminal and type the next command :

sudo apt-get install pv

Close the terminal and connect your device to your pc/notebook with usb cable.
Open the terminal and type the next commands :

adb shell

ls -l /dev/block/platform/mtk-msdc.0/by-name/

Please pay close attention to the next screenshot :

[Image: 11uat6t.jpg]

You can see the list of all the sectors (also name and permissions) in which is divided your device. The most important thing is the "mmcblk0pX".
I want to show you how to backup the system partition to your pc (but you can make the backup of any sector that you see in the list ... you just have to change only the "mmcblk0pX").

Close the terminal, reopen the terminal and type the next commands :

adb forward tcp:5555 tcp:5555

adb shell

su

busybox nc -l -p 5555 -e busybox dd if=/dev/block/mmcblk0p16

Open another terminal (CTRL + Shift + N) and type the next commands :

adb forward tcp:5555 tcp:5555

nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0p16.img

Please be patient (in my case 241.940955 seconds) and you will find the mmcblk0p16.img into your Ubuntu Home.
Please take a look to the next screenshot :

[Image: dcuhcy.jpg]

Open another terminal (CTRL + Shift + N) and type the next command :

mkdir Ecoo_E04

Now you can mount the system partition in Ubuntu, please type the next command :

sudo mount -t ext4 -o loop mmcblk0p16.img Ecoo_E04

To set the writable permissions to all the folders/files of the mounted partition , please type the next command (change cleopatra81 with your login name):

sudo chown -R cleopatra81:cleopatra81 Ecoo_E04

Please look very carefully to the next screenshoot :

[Image: 6gxv9j.jpg]

That's all ... for now Big Grin