Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,814 Members 44,013 Now Online
XDA Developers Android and Mobile Development Forum

[TUTORIAL] Create Flashable Zip From CWM/TWRP Backup (MTK)

Tip us?
 
akash_bd
Old
#1  
Junior Member - OP
Thanks Meter 14
Posts: 2
Join Date: Dec 2013
Location: Narayanganj
Default [TUTORIAL] Create Flashable Zip From CWM/TWRP Backup (MTK)

Hi,
today I'm going to show how to create a flashable
zip from a CWM/TWRP Backup. This is specially for MTK
device(you can try in other device,may work). Here is
my step by step tutorial...

Requirements:

* PC
* CWM/TWRP Backup
* Winrar
* Brain


you need META-INF,system & boot.img for making a
flashble zip rom, so you have to collect these from
your backup


*CWM method:

1. Copy the CWM backup from Phone to PC

2. Extract system.ext4.tar file with winrar, you
will get the system folder

3. Collect the boot.img from the backup

4. Now collect a META-INF folder from any custom
rom which is made for your device

5. Now select META-INF,system & boot.img, click
right button of your mouse and select 'Add to archive'
now select archive format 'ZIP' and press ok

6. Your flasable zip rom is ready. Just copy it
to your sd card and flash with CWM or TWRP

7. Done.



TWRP method:

1. Copy the TWRP backup from Phone to PC

2. Collect the file 'system.ext4.win' rename it
to 'system.ext4.tar'

3. Extract the system.ext4.tar. Now in case if your
TWRP backup is not in compression method, you will
directly get the system folder. Or if your TWRP
backup is in compression method, you will get a
file named 'system.ext4', don't worry just again
rename it to 'system.ext4.tar' and extract to get
the 'system' folder

4. Collect the 'boot.emmc.win' file and rename it
to boot.img, now ypu manage the boot.img also

5. Now collect a META-INF folder from any custom
rom which is made for your device

6. Now select META-INF,system & boot.img, click
right button of your mouse and select 'Add to archive'
now select archive format 'ZIP' and press ok

7. Your flasable zip rom is ready. Just copy it
to your sd card and flash with CWM or TWRP

8. Done.
The Following 14 Users Say Thank You to akash_bd For This Useful Post: [ Click to Expand ]
 
droidmahadi
Old
#2  
Junior Member
Thanks Meter 6
Posts: 21
Join Date: Mar 2014
Quote:
Originally Posted by akash_bd View Post
Hi,
today I'm going to show how to create a flashable
zip from a CWM/TWRP Backup. This is specially for MTK
device(you can try in other device,may work). Here is
my step by step tutorial...

Requirements:

* PC
* CWM/TWRP Backup
* Winrar
* Brain


you need META-INF,system & boot.img for making a
flashble zip rom, so you have to collect these from
your backup


*CWM method:

1. Copy the CWM backup from Phone to PC

2. Extract system.ext4.tar file with winrar, you
will get the system folder

3. Collect the boot.img from the backup

4. Now collect a META-INF folder from any custom
rom which is made for your device

5. Now select META-INF,system & boot.img, click
right button of your mouse and select 'Add to archive'
now select archive format 'ZIP' and press ok

6. Your flasable zip rom is ready. Just copy it
to your sd card and flash with CWM or TWRP

7. Done.



TWRP method:

1. Copy the TWRP backup from Phone to PC

2. Collect the file 'system.ext4.win' rename it
to 'system.ext4.tar'

3. Extract the system.ext4.tar. Now in case if your
TWRP backup is not in compression method, you will
directly get the system folder. Or if your TWRP
backup is in compression method, you will get a
file named 'system.ext4', don't worry just again
rename it to 'system.ext4.tar' and extract to get
the 'system' folder

4. Collect the 'boot.emmc.win' file and rename it
to boot.img, now ypu manage the boot.img also

5. Now collect a META-INF folder from any custom
rom which is made for your device

6. Now select META-INF,system & boot.img, click
right button of your mouse and select 'Add to archive'
now select archive format 'ZIP' and press ok

7. Your flasable zip rom is ready. Just copy it
to your sd card and flash with CWM or TWRP

8. Done.
where is thanks button
The Following User Says Thank You to droidmahadi For This Useful Post: [ Click to Expand ]
 
lordscipio
Old
#3  
Member
Thanks Meter 12
Posts: 66
Join Date: Dec 2010
This is awesome. Thanks for the easy tutorial. What about adding the cache and data segments as well? How would we go about doing that with the twrp backup? Thanks!
 
limcs79
Old
#4  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Mar 2014
What if my TWRP backup folder got 2 system.ext4.win files?
system.ext4.win000
system.ext4.win001

What should i do to combine these 2 files into single .tar ?
 
edwardolavarrieta1
Old
#5  
Member
Thanks Meter 10
Posts: 36
Join Date: Sep 2012
Location: New Orleans

 
DONATE TO ME
Default You are 1 bright mutha effa

Dude,

You are the brightest Mutha Effa Ever. Thanks for sharing that; Good Thinking dude.
 
carl1961
Old
(Last edited by carl1961; 19th July 2014 at 01:50 AM.)
#6  
carl1961's Avatar
Senior Member
Thanks Meter 4,020
Posts: 5,034
Join Date: Dec 2010
Location: Tickfaw
Default CYGWIN Unpacking TWRP Backup Files

Quote:
Originally Posted by limcs79 View Post
What if my TWRP backup folder got 2 system.ext4.win files?
system.ext4.win000
system.ext4.win001

What should i do to combine these 2 files into single .tar ?
This is for Latest TWRP used with safestrap (my phone is AT&T Note 3)

rename them both seperatly

system.ext4.win000.tar
system.ext4.win001.tar

winrar and 7-zip failed for me

I used CYGWIN

CYGWIN Unpacking TWRP Backup Files
Attached Files
File Type: txt CYGWIN Unpacking TWRP Backup Files.txt - [Click for QR Code] (1.0 KB, 55 views)
 
Rom
Old
#7  
Rom's Avatar
Senior Member
Thanks Meter 38
Posts: 383
Join Date: Jul 2013
Location: Lyon
Quote:
Originally Posted by akash_bd View Post
Hi,
today I'm going to show how to create a flashable
zip from a CWM/TWRP Backup. This is specially for MTK
device(you can try in other device,may work). Here is
my step by step tutorial...

Requirements:

* PC
* CWM/TWRP Backup
* Winrar
* Brain


you need META-INF,system & boot.img for making a
flashble zip rom, so you have to collect these from
your backup


*CWM method:

1. Copy the CWM backup from Phone to PC

2. Extract system.ext4.tar file with winrar, you
will get the system folder

3. Collect the boot.img from the backup

4. Now collect a META-INF folder from any custom
rom which is made for your device

5. Now select META-INF,system & boot.img, click
right button of your mouse and select 'Add to archive'
now select archive format 'ZIP' and press ok

6. Your flasable zip rom is ready. Just copy it
to your sd card and flash with CWM or TWRP

7. Done.



TWRP method:

1. Copy the TWRP backup from Phone to PC

2. Collect the file 'system.ext4.win' rename it
to 'system.ext4.tar'

3. Extract the system.ext4.tar. Now in case if your
TWRP backup is not in compression method, you will
directly get the system folder. Or if your TWRP
backup is in compression method, you will get a
file named 'system.ext4', don't worry just again
rename it to 'system.ext4.tar' and extract to get
the 'system' folder

4. Collect the 'boot.emmc.win' file and rename it
to boot.img, now ypu manage the boot.img also

5. Now collect a META-INF folder from any custom
rom which is made for your device

6. Now select META-INF,system & boot.img, click
right button of your mouse and select 'Add to archive'
now select archive format 'ZIP' and press ok

7. Your flasable zip rom is ready. Just copy it
to your sd card and flash with CWM or TWRP

8. Done.
Thanks for your thread
Just 1 question: i have see multiple flashable zip on XDA, and they have a diffrents compression level, so how decide it?
 
HasNi4592
Old
#8  
Junior Member
Thanks Meter 1
Posts: 7
Join Date: Feb 2013
Thank you for such a simple and amazing tutorial
 
Kochoa940
Old
#9  
Kochoa940's Avatar
Member
Thanks Meter 4
Posts: 77
Join Date: Oct 2010
Great tutorial

[my phone iz better than urz]
Boost Mobile XT1031

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes