Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,739,099 Members 46,317 Now Online
XDA Developers Android and Mobile Development Forum

[UTIL] SkitzBackup

Tip us?
 
bcmobile
Old
(Last edited by bcmobile; 24th May 2011 at 12:09 PM.)
#1  
bcmobile's Avatar
Senior Member - OP
Thanks Meter 92
Posts: 357
Join Date: Jan 2009
Location: Sydney

 
DONATE TO ME
Exclamation [UTIL] SkitzBackup

The attached ZIP includes scripts for Windows and Linux to backup your Galaxy Tab.

Linux users will need to install 7zip
Code:
Select 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:
Select Code
skitzbackup.cmd
Linux / OSX
Code:
Select 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

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
skitzbackup.zip


Enjoy!

MY GUIDES:
10.1v Root
10.1v Bootloader Unlock
MTP
Note: Im very slack at replying to PMs, since I live a busy life and as much as I love XDA, I rarely get a chance to get on it these days.
It's best to questions to the forums, as I may take a long time to respond.
Current Devices:
| Samsung Galaxy Tab 10.1v | Galaxy Nexus | Nexus 7 |
------------------------------------------------
Got DropBox?
The Following 2 Users Say Thank You to bcmobile For This Useful Post: [ Click to Expand ]
 
bcmobile
Old
(Last edited by bcmobile; 24th May 2011 at 12:07 PM.)
#2  
bcmobile's Avatar
Senior Member - OP
Thanks Meter 92
Posts: 357
Join Date: Jan 2009
Location: Sydney

 
DONATE TO ME
Code:
Select 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

MY GUIDES:
10.1v Root
10.1v Bootloader Unlock
MTP
Note: Im very slack at replying to PMs, since I live a busy life and as much as I love XDA, I rarely get a chance to get on it these days.
It's best to questions to the forums, as I may take a long time to respond.
Current Devices:
| Samsung Galaxy Tab 10.1v | Galaxy Nexus | Nexus 7 |
------------------------------------------------
Got DropBox?
 
djmasque
Old
#3  
Senior Member
Thanks Meter 1
Posts: 203
Join Date: Jun 2009
Could this be used to backup apps and app data before unlocking bootloader? I can't see a /data partition
 
rs125
Old
#4  
rs125's Avatar
Senior Member
Thanks Meter 297
Posts: 1,166
Join Date: Oct 2007
Location: Curinga, Calabria

 
DONATE TO ME
working perfectly!You're great


Rs GingerX and PureGoogle for DHD

GingerBread 2.3.3 and Sense 2.1

Rs Xtreme Series ITA for Blackstone and Topaz
Rs GingerX, Sensation, PureGoogle and Sensation S for Desire DH
Rs HDBlog Galaxy Series fot Samsung Galaxy Tab 10.1v
 
bcmobile
Old
#5  
bcmobile's Avatar
Senior Member - OP
Thanks Meter 92
Posts: 357
Join Date: Jan 2009
Location: Sydney

 
DONATE TO ME
Quote:
Originally Posted by djmasque View Post
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.

MY GUIDES:
10.1v Root
10.1v Bootloader Unlock
MTP
Note: Im very slack at replying to PMs, since I live a busy life and as much as I love XDA, I rarely get a chance to get on it these days.
It's best to questions to the forums, as I may take a long time to respond.
Current Devices:
| Samsung Galaxy Tab 10.1v | Galaxy Nexus | Nexus 7 |
------------------------------------------------
Got DropBox?
 
djmasque
Old
#6  
Senior Member
Thanks Meter 1
Posts: 203
Join Date: Jun 2009
Quote:
Originally Posted by bcmobile View Post
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
 
Chainfire
Old
#7  
Chainfire's Avatar
Senior Moderator / Senior Recognized Developer - Where is my shirt?
Thanks Meter 48836
Posts: 8,984
Join Date: Oct 2007

 
DONATE TO ME
Looks a lot like rotobackup, hehe.
BLOG - G+(Chainfire) - G+(Personal) - TWITTER - IRC - DONATE

A proper quote includes only the relevant paragraphs, and a proper post never ends with the word "why"

Android
HTC G1, Hero, One
Samsung i5800, i9000*2, P1000*2, P7100, i9100*2, N7000, P6800, i9300, N7100, i9505, N9005
Sony T LT30p, Z C6603
Nexus Galaxy*2, N7, N10, N7-2013

SuperSU, Mobile ODIN, TriangleAway, DSLR Controller, CF-Root, 500 Firepaper, OpenDelta, USB Host Diagnostics, ExynosAbuseAPK, Live dmesg+logcat, NoMoarPowah!, CF-Bench, Chainfire3D, CF.lumen, SGS2 SIM Unlocker, GingerBreakAPK, SuperPower, and more!

Windows Mobile 5/6
E-Mobile EM-ONE
HTC Wizard*2, Kaiser, Touch, Diamond, Pro, HD*2, Diamond 2, Pro 2*2, HD2*2
Samsung i780, i900*2, i8000*2, b7300, b7320, b7330, b7620*2, b6520

WMWifiRouter, KaiserTweak, FPUEnabler, WMLongLife, WMRegOptimizer, CFC+GUI, TF3D+v2 ports, Kaiser+Omnia2+Snapdragon 3D drivers, GfxBoost, and more!

Windows Phone 7
LG GW910

NOTICE: I do not respond to tech support questions through PM.
 
bcmobile
Old
#8  
bcmobile's Avatar
Senior Member - OP
Thanks Meter 92
Posts: 357
Join Date: Jan 2009
Location: Sydney

 
DONATE TO ME
Quote:
Originally Posted by Chainfire View Post
Looks a lot like rotobackup, hehe.
Yes, it is based on rotobackup method, but compresses and cleans up too :)

Sent from my GT-P7100 using XDA Premium App

MY GUIDES:
10.1v Root
10.1v Bootloader Unlock
MTP
Note: Im very slack at replying to PMs, since I live a busy life and as much as I love XDA, I rarely get a chance to get on it these days.
It's best to questions to the forums, as I may take a long time to respond.
Current Devices:
| Samsung Galaxy Tab 10.1v | Galaxy Nexus | Nexus 7 |
------------------------------------------------
Got DropBox?
 
seraphimserapis
Old
#9  
seraphimserapis's Avatar
Senior Member
Thanks Meter 419
Posts: 357
Join Date: May 2009
Location: Berlin

 
DONATE TO ME
Quote:
Originally Posted by bcmobile View Post
Yes, it is based on rotobackup method, but compresses and cleans up too :)

Sent from my GT-P7100 using XDA Premium App
Whats needed now is a kind of automated restore
Galaxy Nexus
Samsung Galaxy Note
LG G-Slate
Samsung Galaxy Tab 10.1N

Buy me a beer for rooting the Motorola Milestone or Galaxy TAB!

Twitter: @SeraAndroid
 
tomvond
Old
#10  
Member
Thanks Meter 7
Posts: 50
Join Date: Jun 2011
Quote:
Originally Posted by bcmobile View Post

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
Sorry for the noob question but how do i do this true windows?

Tags
backup, tool, util
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Browse the Internet with the Innovative Atlas Web Browser

For the most part, Chrome, Firefox, and Dolphin Browser have no real rivals among … more

Choose from Over a Thousand Battery Styles with 3Minit Battery Mod

The battery style in stock Android looks pretty dull. It doesn’t … more

Organize Your Cloud Storage Files with Unclouded

Cloud storage services like Dropbox or Google Drive have grown in popularity dramatically … more

XDA Xposed Tuesday: Blur Your System Notification Panel – XDA Developer TV

Listen, we love innovative applications and modules that … more