[Tutorial] How-to backup and restore the FS

RDilus

Member
May 3, 2011
12
1
Most of you know it already but this is some faster guide without backing up everything or else.
This is only for windows users.
Also only for rockchip 2818 not for other ones!!!

What do you need
Z4Root
SU
Winrar < Not included in package!
ADB
Android drivers
Rockchip drivers
Rockchip flash program
SD card or internal memory on the device self (150mb atleast)
USB Cable

Programs can be downloaded in this package.
So al the progams you need are in the rar file.

1. Preparing the device
First install Z4Root and SU on you're device.

Then start Z4Root and click on ''Temporary Root" he will root the device for you and after reboot you will loose the root access so don't reboot!

After that connect you're device to an windows machine he will ask you to install drivers.

Install the drivers and then start CMD
(Windows XP: Start > run > CMD > Enter)
(Windows vista and 7 Start > Type CMD > Enter)

now locate to the ADB.exe folder i recommended to place it in the C: root.
so type this in CMD
cd C:

when you are there type this command.
adb push rkdump /data/

After that type adb shell
this command bring you to a terminal like command line for you device.

Ok now watch you're device and type su in cmd.
A popup will show up to get SU access for terminal press "allow"
Now we can backup the FS.

type this in cmd
cat /proc/mtd
a list will popup like this one

mtd0: 00002000 00000010 "misc"
mtd1: 00004000 00000010 "kernel"
mtd2: 00002000 00000010 "boot"
mtd3: 00004000 00000010 "recovery"
mtd4: 00030000 00000010 "system"
mtd5: 0003a000 00000010 "backup"
mtd6: 0003a000 00000010 "cache"
mtd7: 00100000 00000010 "userdata"
mtd8: 00cbc000 00000010 "user"
mtd9: 00020000 00000010 "pagecache"
mtd10: 00020000 00000010 "swap"

i made one red because that the line we need.

NOTE: we need backup partition so look always to mtd number not every device have backup as mtd5 it might also be 6 or 1 or some other random number!

Now it is time to backup!
type this
/data/rkdump /dev/block/mtdblock? /!!!/update.img

place the number of the mtd on the ''?''
if example your number is 6 use it like this
mtdblock6

place the destination backup folder on the !!!
flash for the tablet internal memory
sdcard for to backup on the sdcard

if you did this good it will say this
update.img found (116115456 bytes) < File size may be difference depends on device.

after it is done it will say this
crc found (4 bytes, 0x0709e735) < Also this could be difference
done

Gongrats you backup you're FS now you can destroy you're device with custom roms!


2. Restore you're FS

Sometime you will see you destroy you're device what now!
Good thing you made a backup of you're FS!
First Hold back/ecs button on you're device just hold it and put the usb cable in it.
(From pc to the tablet ofcourse)
you're pc will give you a driver notice install them (included from the package)
After that start RKAndroidBatchUpgrade.exe
Then choose in settings you're backup and press ''Upgrade''
Wait a few seconds or minutes and you are done.
Gongrats you can use youre device again!


Well this is it soon i will rewrite it and add some pics when i got some more time but i hope you enjoy it now if you understand this tut.
 
Ok, upgrade.img was created, but my chinapad do not want to load in restore mode. Esc button don`t work for turning on this mode
 
Please note NOD32 says your package has a trojan.

Also please remove all instance of "you're" and replace with "your". as in "your device" not "you're device" unless you mean something like "you're crazy" in which case the apostrophe-re is ok. *This is so I won't try to tear my eyes out while reading your post. *Thanks/ freddy
 
i tryed to dump the system on a rk2918
copy the rkdump to sdcard
open termial emulator on the tabled
$
su
#
/sdcard/rkdump /dev/block/mtdblock2 /sdcard/boot.img
rkdump: permission denied

try it with adb
adb shell
$
su (i must allow a "unknown" root permissions in Superuser.apk)
#
/sdcard/rkdump /dev/block/mtdblock2 /sdcard/boot.img
rkdump: permission denied
 
hello my titan pc7005 won't boot after update fail tried to reflash but it sticks at (start test device) using RK2818 Android Upgrade Tool_v1.23 can anyone help me
 
Back
Top