24th November 2010, 02:45 PM
(Last edited by rotohammer; 5th December 2010 at 01:37 PM .)
Senior Member -
OP
Thanks Meter
1051
Posts: 1,378
Join Date: Jan 2007
Location: New Jersey
Roto Backup! UPDATED Dec 5 2010
I've been trying to recreate a flashable firmware based on the stock TMobile flash dumps and I have complete success.
Heres how to save your current firmware. It will be saved with all apps and settings except for whats on /sdcard.
I recommend reseting to defaults using "Settings->Privacy->Factory data reset" if you want to give these files to someone else to build a flashable rom for you. That will delete all your personal information.
Note: I just backed up a completely setup AT&T Tab, with tons of apps and customizations and restored it to my stock T-Mobile Tab, perfectly! Every app works, home screen is setup perfect, everything!
Effectively this is equivalent to a nandroid backup.
I'll call it "
Roto Backup "!
Code:
mkdir backup
cd backup
adb shell su -c "dd if=/dev/block/bml1 of=/sdcard/boot.bin bs=4096"
adb shell su -c "dd if=/dev/block/bml2 of=/sdcard/pit.pit bs=4096"
adb shell su -c "dd if=/dev/block/stl3 of=/sdcard/efs.rfs bs=4096"
adb shell su -c "dd if=/dev/block/bml4 of=/sdcard/Sbl.bin bs=4096"
adb shell su -c "dd if=/dev/block/stl6 of=/sdcard/param.lfs bs=4096"
adb shell su -c "dd if=/dev/block/bml7 of=/sdcard/zImage bs=4096"
adb shell su -c "dd if=/dev/block/stl9 of=/sdcard/factoryfs.rfs bs=4096"
adb shell su -c "dd if=/dev/block/stl10 of=/sdcard/dbdata.rfs bs=4096"
adb shell su -c "dd if=/dev/block/stl11 of=/sdcard/cache.rfs bs=4096"
adb shell su -c "dd if=/dev/block/bml12 of=/sdcard/modem.bin bs=4096"
adb shell su -c "tar -czvf /sdcard/data.tar.gz /data"
adb pull /sdcard/param.lfs .
adb pull /sdcard/zImage .
adb pull /sdcard/factoryfs.rfs .
adb pull /sdcard/dbdata.rfs .
adb pull /sdcard/cache.rfs .
adb pull /sdcard/modem.bin .
adb pull /sdcard/efs.rfs .
adb pull /sdcard/boot.bin .
adb pull /sdcard/Sbl.bin .
adb pull /sdcard/pit.pit .
adb pull /sdcard/data.tar.gz .
Note you will be prompted for superuser permissions on the Tabs LCD on every dd command.
If you don't have the tar command on your tab, install Busybox Installer from the market.
I just paste the above commands into my command shell window and when im done all the files are siting in my current (backup) directory.
Roto Restore:
First flash the data back:
Code:
adb push data.tar.gz /sdcard/data.tar.gz
adb shell su -c "tar -zxvf /sdcard/data.tar.gz"
adb reboot download
Now flash the dumps with Heimdall:
Code:
heimdall flash --kernel zImage --factoryfs factoryfs.rfs --modem modem.bin --cache cache.rfs --dbdata dbdata.rfs --param param.lfs
Of course you could tar the files right n the Tab and flash via Odin if you really want to:
Code:
adb shell
cd /sdcard
tar -cf mybackup.tar cache.rfs dbdata.rfs factoryfs.rfs modem.bin param.lfs zImage
exit
adb pull /sdcard/mybackup.tar .
-Rotohammer
T879 Note on T-Mobile
Do not quote my entire first post in a reply!
The Following 66 Users Say Thank You to rotohammer For This Useful Post: [ Click to Expand ]
a454nova (14th December 2010),
abuser0815 (19th December 2010),
Albon (28th December 2010),
Arobase40 (23rd June 2012),
ayman07 (16th December 2010),
b0ricuaguerrero (4th January 2011),
bryman27 (26th December 2010),
caveman999 (23rd January 2011),
cbb77 (19th December 2010),
Cliffro (13th December 2010),
cooljo555 (4th February 2011),
cornellalum (19th January 2011),
cx5 (30th January 2011),
DarkPal (18th March 2011),
davidmore (2nd February 2012),
delovelady (3rd April 2011),
digitalmatrixio (12th December 2010),
dudyk (20th January 2011),
gelasmus (1st January 2011),
gpf_drizit (23rd December 2010),
holdlang (31st December 2010),
hotsync100 (24th February 2011),
jeebspawnshop (11th December 2010),
Jeepsdaddy (21st January 2011),
joeearl13 (1st January 2011),
jones7773 (9th January 2011),
KarlMarsh (28th December 2010),
kromosto (23rd December 2010),
KTP2 (17th February 2011),
Landroid (3rd January 2011),
LargePrime (24th January 2011),
letolkki (15th December 2010),
lucboucim (31st December 2010),
LuckOne79 (1st January 2011),
M3xital (14th January 2011),
ManaKill (12th December 2010),
maniac3389 (12th December 2010),
mopskuh (14th January 2011),
mrksterling (29th December 2010),
myshinynewtouch (8th February 2011),
NISIM2337 (30th January 2011),
ondoteam (11th January 2011),
pbruck (17th December 2010),
procarion (10th December 2010),
Qsilver2001 (21st February 2011),
quasyl (13th February 2011),
raaleck (31st December 2010),
rafaelwv (16th February 2011),
rainbow ng (11th January 2011),
rangercaptain (3rd January 2011),
ravindrank (22nd April 2011),
rkthkr (11th January 2011),
rumdog (21st January 2011),
Sarsippius (26th February 2011),
savie (21st October 2012),
SeanBlader (22nd February 2011),
Segnale007 (15th December 2010),
SonicTab (11th December 2010),
TheGrammarFreak (11th December 2010),
thorinside (5th February 2011),
tom42332 (18th March 2011),
turruso (17th March 2011),
twisted (12th December 2010),
TX2000 (18th December 2010),
VIPPER2004 (7th January 2011),
woneill1701 (26th January 2011)
24th November 2010, 07:37 PM
Senior Member
Thanks Meter
177
Posts: 1,994
Join Date: Jun 2006
Location: Wilmslow
Nice
This interesting work, im curious though, what is your ultimate goal?
You want a Tmo firmware dump? to what end?
Storage Ether Widget - Storage Widget for Android phones and tablets.
24th November 2010, 08:33 PM
Senior Member -
OP
Thanks Meter
1051
Posts: 1,378
Join Date: Jan 2007
Location: New Jersey
Quote:
Originally Posted by
alias_neo
This interesting work, im curious though, what is your ultimate goal?
You want a Tmo firmware dump? to what end?
The Tmo dump/restore is a test. I want a solid backup/restore and custom rom creation solution.
-Rotohammer
T879 Note on T-Mobile
Do not quote my entire first post in a reply!
24th November 2010, 08:49 PM
Senior Member
Thanks Meter
177
Posts: 1,994
Join Date: Jun 2006
Location: Wilmslow
Fair enough. But is the custom recovery being developed (and progressing nicely) not a solid enough solution?
Storage Ether Widget - Storage Widget for Android phones and tablets.
24th November 2010, 10:25 PM
Senior Member -
OP
Thanks Meter
1051
Posts: 1,378
Join Date: Jan 2007
Location: New Jersey
I won't know till its functional.
-Rotohammer
T879 Note on T-Mobile
Do not quote my entire first post in a reply!
24th November 2010, 10:37 PM
Senior Member
Thanks Meter
177
Posts: 1,994
Join Date: Jun 2006
Location: Wilmslow
Quote:
Originally Posted by
rotohammer
I won't know till its functional.
Do you not have other android devices? I know of none where it doesn't function. So there is no reason i wouldn't wait a little longer for this to be ported.
Storage Ether Widget - Storage Widget for Android phones and tablets.
24th November 2010, 10:55 PM
Senior Member -
OP
Thanks Meter
1051
Posts: 1,378
Join Date: Jan 2007
Location: New Jersey
Quote:
Originally Posted by
alias_neo
Do you not have other android devices? I know of none where it doesn't function. So there is no reason i wouldn't wait a little longer for this to be ported.
A nandroid backup of my rom isn't something I can post publicly on the net. Regardless, I need to create full custom roms that can be flashed using Odin and Heimdall.
-Rotohammer
T879 Note on T-Mobile
Do not quote my entire first post in a reply!
25th November 2010, 07:38 AM
Senior Member
Thanks Meter
177
Posts: 1,994
Join Date: Jun 2006
Location: Wilmslow
Quote:
Originally Posted by
rotohammer
A nandroid backup of my rom isn't something I can post publicly on the net. Regardless, I need to create full custom roms that can be flashed using Odin and Heimdall.
Exactly, you post update.zips and then people use clockwork to flash the full ROM. On device recovery is much better than Odin method and more accessible to noobs that have an aneurism when they see the Odin iterface.
As for dumping your ROM to customise, well, yes, either this way using dd or decrypt the Odin flash files.
Storage Ether Widget - Storage Widget for Android phones and tablets.
26th November 2010, 12:19 AM
Senior Member
Thanks Meter
74
Posts: 547
Join Date: Nov 2010
26th November 2010, 07:44 AM
Senior Member
Thanks Meter
0
Posts: 1,391
Join Date: Jul 2009
It sounds like this guy is new to android and iz trying to reinvent the wheel
Sent from my SGH-T849 using XDA App
__________________
If I have helped you and you would like to make a donation, click
here
Thread Tools
Search this Thread
Display Modes
Linear Mode
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Go to top of page...
Most Thanked In This Thread
2 Hey. claim down, you now
need to study … 2 (quote)
No, it sounds
like he's … 1 (quote)
Hi, will this
also work in a … 1 (quote) Hi, DarkPal. As I
understand it, … 1 (quote) You should flash
the stock with …