Post Reply

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

9th May 2014, 01:38 PM   |  #1  
OP Junior Member
Flag Narayanganj
Thanks Meter: 15
 
2 posts
Join Date:Joined: Dec 2013
More
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 15 Users Say Thank You to akash_bd For This Useful Post: [ View ]
15th May 2014, 05:03 AM   |  #2  
Junior Member
Thanks Meter: 6
 
21 posts
Join Date:Joined: Mar 2014
Quote:
Originally Posted by akash_bd

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: [ View ]
12th June 2014, 09:00 PM   |  #3  
Member
Thanks Meter: 11
 
66 posts
Join Date:Joined: 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!
20th June 2014, 02:29 PM   |  #4  
Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: 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 ?
26th June 2014, 06:16 PM   |  #5  
Member
Flag New Orleans
Thanks Meter: 10
 
37 posts
Join Date:Joined: Sep 2012
Donate to Me
More
You are 1 bright mutha effa
Dude,

You are the brightest Mutha Effa Ever. Thanks for sharing that; Good Thinking dude.
5th July 2014, 02:20 AM   |  #6  
carl1961's Avatar
Senior Member
Flag Tickfaw
Thanks Meter: 4,033
 
5,050 posts
Join Date:Joined: Dec 2010
More
CYGWIN Unpacking TWRP Backup Files
Quote:
Originally Posted by limcs79

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, 62 views)
Last edited by carl1961; 19th July 2014 at 01:50 AM.
18th July 2014, 09:42 AM   |  #7  
Rom's Avatar
Senior Member
Flag Lyon
Thanks Meter: 40
 
421 posts
Join Date:Joined: Jul 2013
More
Quote:
Originally Posted by akash_bd

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?
2nd September 2014, 08:46 PM   |  #8  
Junior Member
Thanks Meter: 1
 
7 posts
Join Date:Joined: Feb 2013
Thank you for such a simple and amazing tutorial
2nd September 2014, 10:16 PM   |  #9  
Kochoa940's Avatar
Member
Thanks Meter: 6
 
88 posts
Join Date:Joined: Oct 2010
More
Great tutorial

[my phone iz better than urz]

The Following User Says Thank You to Kochoa940 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools
Display Modes


Top Threads in Android General by ThreadRank