TechTalk Compiles All the Android News You Need in One App

If you’re as obsessed with mobile devices as the vast majority of our forum … more

Android App Review: Google Inbox to Improve Your Life – XDA TV

Recently, Google+ exploded with the announcement of Google Inbox, as … more

Damp the LG G3 Thermal Throttling

As our mobile devices grow thinner and more powerfulwith each passing generation, it’s inevitable … more

Google Play Developer Distribution Agreement Due Tomorrow

Every once in a while, Google updates theGoogle PlayDeveloper Distribution … more
Post Reply

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

OP akash_bd

5th October 2014, 03:12 AM   |  #11  
carl1961's Avatar
Senior Member
Flag Tickfaw
Thanks Meter: 4,141
 
5,138 posts
Join Date:Joined: Dec 2010
More
Quote:
Originally Posted by babai93

Hi,

Regarding the 4th step, Their are no ROM available for this device so I don't have the files.
I have the block MAP for the device,
So could u plz guide me to make the meta files?

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

What version is your phone
8th October 2014, 07:41 AM   |  #12  
mrtaim3's Avatar
Senior Member
Flag Faisalabad
Thanks Meter: 31
 
211 posts
Join Date:Joined: Feb 2013
More
These are the files i have.. Is UBOOT.img is necessary?
Quote:

boot.img
cache.ext4
data.ext4
nandroid.md5
recovery.txt
system.ext4
uboot.img

10th October 2014, 04:09 AM   |  #13  
Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Oct 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.

I try to follow the tutorial you created but when the flash still fails , a description that appeared md5 not found , and whether the Meta - Inf / updater - script that must be made because I was dizzy with it
12th October 2014, 06:06 AM   |  #14  
carl1961's Avatar
Senior Member
Flag Tickfaw
Thanks Meter: 4,141
 
5,138 posts
Join Date:Joined: Dec 2010
More
Quote:
Originally Posted by irwandwiyanto

I try to follow the tutorial you created but when the flash still fails , a description that appeared md5 not found , and whether the Meta - Inf / updater - script that must be made because I was dizzy with it

You need to use the Meta folder from a working rom installer for your phone, you then select the Meta folder, system folder (hold down the ctlr key to select each folder, then right clink the selected file and zip.
Last edited by carl1961; 12th October 2014 at 06:10 AM.
13th October 2014, 02:16 AM   |  #15  
Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Oct 2014
Quote:
Originally Posted by carl1961

You need to use the Meta folder from a working rom installer for your phone, you then select the Meta folder, system folder (hold down the ctlr key to select each folder, then right clink the selected file and zip.

how do I get the Meta folder from the backup of my ROM ?
13th October 2014, 02:49 AM   |  #16  
carl1961's Avatar
Senior Member
Flag Tickfaw
Thanks Meter: 4,141
 
5,138 posts
Join Date:Joined: Dec 2010
More
Quote:
Originally Posted by irwandwiyanto

how do I get the Meta folder from the backup of my ROM ?

sorry I meant META-INF folder, you use the META-INF from a working rom install for your phone. Look under your phones thread here on XDA and locate a rom and use it to go with your backup files so you can make a install of your backup
Last edited by carl1961; 13th October 2014 at 02:51 AM.
15th October 2014, 03:23 PM   |  #17  
Junior Member
Thanks Meter: 0
 
7 posts
Join Date:Joined: Mar 2014
Question Question onf TWRP Step 3
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.

[QUOTE]

QUESTIONS
---------------------------
1. On STEP 3 I did the following:
Extract the system.ext4.tar.
If your TWRP backup is in compression method, you will get a file named 'system.ext4',
Rename it to 'system.ext4.tar'

Next part, " Extract to get the 'system' folder", does not work. What do I do here?

2. Doing #1 in Linux or does this need to be done win Windows?

3. META-INF - My HTC ONE X+ (code name evitare UL) does not have any custom ROMs I can find. What other sources of META-INF are there?

Please notify me at rick2210@gmail.com when you post answers. Thanks
15th October 2014, 11:03 PM   |  #18  
carl1961's Avatar
Senior Member
Flag Tickfaw
Thanks Meter: 4,141
 
5,138 posts
Join Date:Joined: Dec 2010
More
[QUOTE=rick2210@gmail.com;56039917]
Quote:


QUESTIONS
---------------------------
1. On STEP 3 I did the following:
Extract the system.ext4.tar.
If your TWRP backup is in compression method, you will get a file named 'system.ext4',
Rename it to 'system.ext4.tar'

Next part, " Extract to get the 'system' folder", does not work. What do I do here?

2. Doing #1 in Linux or does this need to be done win Windows?

3. META-INF - My HTC ONE X+ (code name evitare UL) does not have any custom ROMs I can find. What other sources of META-INF are there?

Please notify me at rick2210@gmail.com when you post answers. Thanks

Rom List
You can get your META-INF from one of them


Extract to get the system folder:

CYGWIN Unpacking TWRP Backup Files

Download CYGWIN http://cygwin.com/

rename:
data.ext4.win to data.ext4.win.tar
system.ext4.win000 system.ext4.win000.tar
system.ext4.win001 to system.ext4.win001.tar

Make a directory in your CYGWIN Home [Username]folder
Example: untar

Use Windows File Explorer go to your CYGWING Home
C:\cygwin\home\carl (your user name will be here)
make any folder you choose
Example:
C:\cygwin\home\carl\untar
and C:\cygwin\home\carl\untar\data ( for data files)

put your renamed data files in a folder named data
C:\cygwin\home\carl\untar\data (this is to keep files separate when unpacked)

While in Explorer put your renamed system files in untar folder

start CYGWIN ( Use the Cygwin Terminal and then you can copy and paste these commands)
cd to untar folder
example:
cd\untar
do these commands one at a time, it will extract to a folder named system

tar -xvf system.ext4.win000.tar
tar -xvf system.ext4.win001.tar

cd to data

do this command
tar -xvf data.ext4.win.tar
tar -xvf data.ext4.win000.tar
tar -xvf data.ext4.win001.tar
all your data files will extract
Last edited by carl1961; 15th October 2014 at 11:07 PM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android General by ThreadRank