[UTIL] SkitzBackup

Search This thread

bcmobile

Senior Member
Jan 9, 2009
357
97
Sydney
The attached ZIP includes scripts for Windows and Linux to backup your Galaxy Tab.

Linux users will need to install 7zip
Code:
sudo apt-get install p7zip

May also work on OSX but you're on your own with 7zip

You will need adb access to your tab whichever platform you use.

All you need to do to run it is extract the attached archive and run

Windows
Code:
skitzbackup.cmd

Linux / OSX
Code:
chmod a+x <folder where you extracted it>/skitzbackup/skitzbackup.sh
cd <folder where you extracted it>/skitzbackup
./skitzbackup.sh

The script will pull the following partitions and pack them in a 7zip archive for safe keeping:
  • efs
  • recovery
  • boot
  • system
  • radio
  • cache
  • misc

Before you ask, I have no idea what the 'misc' partition is. Haven't had time to explore that yet :p

I have NOT tested flashing these back as yet, except for boot and recovery so you use this entirely at your own risk.

DOWNLOAD HERE
View attachment skitzbackup.zip


Enjoy!
 
Last edited:

bcmobile

Senior Member
Jan 9, 2009
357
97
Sydney
Code:
alias del=rm

mkdir skitzbackup
cd skitzbackup

adb shell  su -c "dd if=/dev/block/mmcblk0p1 of=/sdcard/efs.img bs=4096"
adb shell  su -c "dd if=/dev/block/mmcblk0p2 of=/sdcard/recovery.img bs=4096"
adb shell  su -c "dd if=/dev/block/mmcblk0p3 of=/sdcard/boot.img bs=4096"
adb shell  su -c "dd if=/dev/block/mmcblk0p4 of=/sdcard/system.img bs=4096"
adb shell  su -c "dd if=/dev/block/mmcblk0p5 of=/sdcard/cache.img bs=4096"
adb shell  su -c "dd if=/dev/block/mmcblk0p6 of=/sdcard/misc.img bs=4096"
adb shell  su -c "dd if=/dev/block/mmcblk0p7 of=/sdcard/radio.img bs=4096"

adb pull /sdcard/efs.img
adb pull /sdcard/recovery.img
adb pull /sdcard/boot.img
adb pull /sdcard/system.img
adb pull /sdcard/cache.img
adb pull /sdcard/misc.img
adb pull /sdcard/radio.img

adb shell rm /sdcard/efs.img
adb shell rm /sdcard/recovery.img
adb shell rm /sdcard/boot.img
adb shell rm /sdcard/system.img
adb shell rm /sdcard/cache.img
adb shell rm /sdcard/misc.img
adb shell rm /sdcard/radio.img

7z a skitzbackup.7z *.img
del *.img
 
Last edited:

djmasque

Senior Member
Jun 28, 2009
216
1
Could this be used to backup apps and app data before unlocking bootloader? I can't see a /data partition
 

bcmobile

Senior Member
Jan 9, 2009
357
97
Sydney
Could this be used to backup apps and app data before unlocking bootloader? I can't see a /data partition

No. Unfortunately, using this method to backup needs to write to the 'sdcard' which is what you want to back up.

Writing a script to back up data is a bit tricky since you can't reference it as a drive in windows and you can't know, for sure what the mount point will be in linux.

My main aim with the first version was to write a script which would work on either Windows or Linux, which it does. I might do seperate scripts to do a data backup.
 

djmasque

Senior Member
Jun 28, 2009
216
1
No. Unfortunately, using this method to backup needs to write to the 'sdcard' which is what you want to back up.

Writing a script to back up data is a bit tricky since you can't reference it as a drive in windows and you can't know, for sure what the mount point will be in linux.

My main aim with the first version was to write a script which would work on either Windows or Linux, which it does. I might do seperate scripts to do a data backup.

Okay, good work nonetheless :)
 

janhendriknel

Member
Jan 13, 2012
10
0
Centurion
Will this work for me?

Hi bcmobile,
This looks excellent.

I'm currently running a P7100 (10.1v) with ISI-Galaxy 1.2.5v (HC3.2) but my baseband/modem is still P7100BUKE2.

I would like to get the GSM working (for sending USSD commands) but I would need to flash my modem, and I would like to backup the modem before I flash it with the P7500 modem.bin, if something goes wrong, I can always go back to the old one.

In your script, is radio.img the modem.bin?
Also is the "/dev/block/" always the same on all the different versions of the tablet? (in other words if I have a 10.1v will this backup my modem).

Thanks so much. You help is much appreciated.
 

Rookie407

Senior Member
Dec 7, 2011
200
34
Clinton
soo i know this is kind of old but does this work for any device? if so what am i doing wrong? its stuck on deamon started successfully...
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    The attached ZIP includes scripts for Windows and Linux to backup your Galaxy Tab.

    Linux users will need to install 7zip
    Code:
    sudo apt-get install p7zip

    May also work on OSX but you're on your own with 7zip

    You will need adb access to your tab whichever platform you use.

    All you need to do to run it is extract the attached archive and run

    Windows
    Code:
    skitzbackup.cmd

    Linux / OSX
    Code:
    chmod a+x <folder where you extracted it>/skitzbackup/skitzbackup.sh
    cd <folder where you extracted it>/skitzbackup
    ./skitzbackup.sh

    The script will pull the following partitions and pack them in a 7zip archive for safe keeping:
    • efs
    • recovery
    • boot
    • system
    • radio
    • cache
    • misc

    Before you ask, I have no idea what the 'misc' partition is. Haven't had time to explore that yet :p

    I have NOT tested flashing these back as yet, except for boot and recovery so you use this entirely at your own risk.

    DOWNLOAD HERE
    View attachment skitzbackup.zip


    Enjoy!