5,599,337 Members 38,027 Now Online
XDA Developers Android and Mobile Development Forum

[WIP][CLOSED][FAILED]Online Odin FirmWare BackUP script

Tip us?
 
iamareebjamal
Old
(Last edited by iamareebjamal; 30th March 2013 at 02:30 PM.)
#1  
iamareebjamal's Avatar
Recognized Contributor / Themer - OP
Thanks Meter 4742
Posts: 3,461
Join Date: Aug 2012
Location: That would only scare you
Default [WIP][CLOSED][FAILED]Online Odin FirmWare BackUP script

Don't try it. It can brick your device (By brick, I mean hard brick, no Odin)

 
As you see the title, it is a script that makes Odin Flashable Tar packages of your current ROM

It's A WIP, meaning work in progress, so don't whine if it doesn't work

Also it MAY not work for ROMs with internal memory increased by sd-ext partition


The backup can be also done by flashing the zip in recovery given by Rafael.Baugis in his root thread. This script however runs with your phone being open

In fact, this script contains some information from that zip

Testers are welcome and noobs are requested to please don't touch it

As always, I am not responsible for any damage occurred to your phone


Download the two files, first one is a script and second one is zip file

Extract the zip into root of Sdcard (IMPORTANT, ONLY ROOT OF SDCARD, NO WHERE ELSE)

Run the script by SManager Ads

It may take up to 20 to 30 minutes, and your sdcard should have more than 200 mb of free storage

I release it go get sone reports about it until I finish my exams and then continue the project

WARNING : KILLING THE SCRIPT IN BETWEEN THE PROCESS WILL LEAD TO CREATION OF BAD PACKAGE CREATION. I DO NOT TAKE RESPONSIBILITY OF YOU BRICKING YOUR DEVICE. SO BE PATIENT

Download :

Links removed as it can brick your device
 
Activity drastically reduced due to unfortunate arrival of immoral torture on students - EXAMS!
I won't be available on Facebook, Twitter, Google+ and Whatsapp too

Don't EVER click on Signature Links!!!

The Following 4 Users Say Thank You to iamareebjamal For This Useful Post: [ Click to Expand ]
 
iamareebjamal
Old
#2  
iamareebjamal's Avatar
Recognized Contributor / Themer - OP
Thanks Meter 4742
Posts: 3,461
Join Date: Aug 2012
Location: That would only scare you
Reserved
 
Activity drastically reduced due to unfortunate arrival of immoral torture on students - EXAMS!
I won't be available on Facebook, Twitter, Google+ and Whatsapp too

Don't EVER click on Signature Links!!!

 
srt99
Old
#3  
srt99's Avatar
Senior Member
Thanks Meter 569
Posts: 946
Join Date: Dec 2012
Location: Ahmedabad
Default Re: [WIP][DEV] Online Odin FirmWare BackUP script

that's wierd...
pda.tar is of zero bytes..
and it creats two csc files..one csc and another csc clean...zip provided by rafael too creats two csc...
can you tell me what's the meaning for two csc ?
also the script didn't took much time..it hardly took around 5 minutes

Sent from my GT-S5830i using xda app-developers app
 
iamareebjamal
Old
#4  
iamareebjamal's Avatar
Recognized Contributor / Themer - OP
Thanks Meter 4742
Posts: 3,461
Join Date: Aug 2012
Location: That would only scare you
Quote:
Originally Posted by srt99 View Post
that's wierd...
pda.tar is of zero bytes..
and it creats two csc files..one csc and another csc clean...zip provided by rafael too creats two csc...
can you tell me what's the meaning for two csc ?
also the script didn't took much time..it hardly took around 5 minutes

Sent from my GT-S5830i using xda app-developers app
Gosh!


Error in creating PDA!

I will look onto it


CSC clean means the original CSC

And CSC mean the current CSC of your device
 
Activity drastically reduced due to unfortunate arrival of immoral torture on students - EXAMS!
I won't be available on Facebook, Twitter, Google+ and Whatsapp too

Don't EVER click on Signature Links!!!

 
iamareebjamal
Old
#5  
iamareebjamal's Avatar
Recognized Contributor / Themer - OP
Thanks Meter 4742
Posts: 3,461
Join Date: Aug 2012
Location: That would only scare you
Quote:
Originally Posted by srt99 View Post
that's wierd...
pda.tar is of zero bytes..
and it creats two csc files..one csc and another csc clean...zip provided by rafael too creats two csc...
can you tell me what's the meaning for two csc ?
also the script didn't took much time..it hardly took around 5 minutes

Sent from my GT-S5830i using xda app-developers app
Ok

I have tested it on Script Manager

Now

You have to run it as root and busybox must be installed and the zip file I have given must be extracted to /sdcard

PDA would be approximately 229 mb or so

 
Activity drastically reduced due to unfortunate arrival of immoral torture on students - EXAMS!
I won't be available on Facebook, Twitter, Google+ and Whatsapp too

Don't EVER click on Signature Links!!!

 
iamareebjamal
Old
#6  
iamareebjamal's Avatar
Recognized Contributor / Themer - OP
Thanks Meter 4742
Posts: 3,461
Join Date: Aug 2012
Location: That would only scare you
And if it doesn't work then copy all the things on screen on Script Manager and paste here
 
Activity drastically reduced due to unfortunate arrival of immoral torture on students - EXAMS!
I won't be available on Facebook, Twitter, Google+ and Whatsapp too

Don't EVER click on Signature Links!!!

 
srt99
Old
#7  
srt99's Avatar
Senior Member
Thanks Meter 569
Posts: 946
Join Date: Dec 2012
Location: Ahmedabad
wait wait...that may have happened because i had only 180-200 mb of free memory on sd card..
i thought it would be enough..
wait i will free up some memory and retry it...
 
bobo 11uk
Old
#8  
Member
Thanks Meter 3
Posts: 39
Join Date: Nov 2012
Default I have an sd-ext

Quote:
Originally Posted by iamareebjamal View Post
And if it doesn't work then copy all the things on screen on Script Manager and paste here
Not sure if you needed feedback on sd-ext. Was using cronmod data to extunofficial modified by stryke.

I attached the files produced but haven't used them to test restore as i didn't think you recommended that yet.

Is there a rom you recommend for trying this for you from a clean slate.

Factory reset doesn't seem to remove 40int2ext from init d on simplicity v5.2.





Command:
'/mnt/sdcard/FWBackupWIP.sh'
-------------
Out:
exec sh '/mnt/sdcard/FWBackupWIP.sh'
# exec sh '/mnt/sdcard/FWBackupWIP.sh'
Odin FirmWare BackUP script

by IamAreebJamal

based on the source given
by Rafael.Baugis
(In CWM_FWOdin.zip)

Script backs up
your ROM

And creates Odin flashable
Packages of it
So, you can
flash custom ROM through
Odin

Remember : Script is not tested for the
ROMs with sd-ext partition

So, it is advised to first flash
Custom ROM and then without modding,
Take the backup

Note: Only restore backup through Odin v1.85 or Odin v1.87

Not the Odin v3.07
Let's start
Script Ready to continue...

Awesome! awk found!
Good! run-parts found!

Press enter to continue...

Creating BOOT.tar

The following text is about
the size and different time
taken by partitions
to get Backed Up
512+0 records in
512+0 records out
262144 bytes (256.0KB) copied, 0.069366 seconds, 3.6MB/s
512+0 records in
512+0 records out
262144 bytes (256.0KB) copied, 0.080567 seconds, 3.1MB/s
512+0 records in
512+0 records out
262144 bytes (256.0KB) copied, 0.044189 seconds, 5.7MB/s

BOOT.tar created

Creating PHONE.tar

25600+0 records in
25600+0 records out
13107200 bytes (12.5MB) copied, 9.630340 seconds, 1.3MB/s

PHONE.tar created

Creating PDA.tar
It will take a lot of time
Approximately 15 minutes
So don't panic and wait

512+0 records in
512+0 records out
262144 bytes (256.0KB) copied, 0.057525 seconds, 4.3MB/s
2560+0 records in
2560+0 records out
1310720 bytes (1.3MB) copied, 0.244812 seconds, 5.1MB/s
10240+0 records in
10240+0 records out
5242880 bytes (5.0MB) copied, 3.967773 seconds, 1.3MB/s
455680+0 records in
455680+0 records out
233308160 bytes (222.5MB) copied, 117.842651 seconds, 1.9MB/s
tar: userdata.img: No such file or directory
tar: error exit delayed from previous errors
rm: can't remove '/sdcard/userdata.img': No such file or directory

PDA.tar created

Creating CSC_clean.tar
tar: csc.rfs: No such file or directory
tar: error exit delayed from previous errors
rm: can't remove '/sdcard/csc.rfs': No such file or directory

CSC_clean.tar created

Creating CSC.tar

73728+0 records in
73728+0 records out
37748736 bytes (36.0MB) copied, 11.841736 seconds, 3.0MB/s

CSC.tar created

2048+0 records in
2048+0 records out
1048576 bytes (1.0MB) copied, 0.785370 seconds, 1.3MB/s
All packages created

Congratulations
Now, moving the packages
to /sdcard/FirmWare

Everything moved

Process Completed

By IamAreebJamal

Thanks reserved at XDA

Bye
Attached Thumbnails
Click image for larger version

Name:	files.jpg
Views:	117
Size:	21.3 KB
ID:	1844439  
 
iamareebjamal
Old
#9  
iamareebjamal's Avatar
Recognized Contributor / Themer - OP
Thanks Meter 4742
Posts: 3,461
Join Date: Aug 2012
Location: That would only scare you
There is an error

You did not extracted the zip I attached to root of sdcard

That zip has two files csc.rfs and userdata.img. It is displaying error that they weren't found, please extract the attached zip and then retry

Everything is well
 
Activity drastically reduced due to unfortunate arrival of immoral torture on students - EXAMS!
I won't be available on Facebook, Twitter, Google+ and Whatsapp too

Don't EVER click on Signature Links!!!

 
bobo 11uk
Old
#10  
Member
Thanks Meter 3
Posts: 39
Join Date: Nov 2012
Default Re: [WIP][DEV] Online Odin FirmWare BackUP script

exec sh '/mnt/sdcard/FWBackupWIP.sh'
# exec sh '/mnt/sdcard/FWBackupWIP.sh'
Odin FirmWare BackUP script


by IamAreebJamal


based on the source given
by Rafael.Baugis
(In CWM_FWOdin.zip)


Script backs up
your ROM


And creates Odin flashable
Packages of it
So, you can
flash custom ROM through
Odin


Remember : Script is not tested for the
ROMs with sd-ext partition

So, it is advised to first flash
Custom ROM and then without modding,
Take the backup


Note: Only restore backup through Odin v1.85 or Odin v1.87

Not the Odin v3.07
Let's start
Script Ready to continue...

Awesome! awk found!
Good! run-parts found!

Press enter to continue...



Creating BOOT.tar

The following text is about
the size and different time
taken by partitions
to get Backed Up
512+0 records in
512+0 records out
262144 bytes (256.0KB) copied, 0.041321 seconds, 6.0MB/s
512+0 records in
512+0 records out
262144 bytes (256.0KB) copied, 0.080933 seconds, 3.1MB/s
512+0 records in
512+0 records out
262144 bytes (256.0KB) copied, 0.080414 seconds, 3.1MB/s


BOOT.tar created



Creating PHONE.tar

25600+0 records in
25600+0 records out
13107200 bytes (12.5MB) copied, 4.216186 seconds, 3.0MB/s


PHONE.tar created




Creating PDA.tar
It will take a lot of time
Approximately 15 minutes
So don't panic and wait

512+0 records in
512+0 records out
262144 bytes (256.0KB) copied, 0.031738 seconds, 7.9MB/s
2560+0 records in
2560+0 records out
1310720 bytes (1.3MB) copied, 0.201203 seconds, 6.2MB/s
10240+0 records in
10240+0 records out
5242880 bytes (5.0MB) copied, 1.578614 seconds, 3.2MB/s
455680+0 records in
455680+0 records out
233308160 bytes (222.5MB) copied, 65.360047 seconds, 3.4MB/s

PDA.tar created



Creating CSC_clean.tar


CSC_clean.tar created


Creating CSC.tar

73728+0 records in
73728+0 records out
37748736 bytes (36.0MB) copied, 11.463745 seconds, 3.1MB/s

CSC.tar created



2048+0 records in
2048+0 records out
1048576 bytes (1.0MB) copied, 0.180695 seconds, 5.5MB/s
All packages created

Congratulations
Now, moving the packages
to /sdcard/FirmWare



Everything moved

Process Completed

By IamAreebJamal


Thanks reserved at XDA


Bye

Sent from my GT-S5830i using xda app-developers app

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes