[GUIDE]How to extract a Firmware and make a flashable ZIP

GeekyDroid

Senior Member
Dec 25, 2012
692
891
0
Burgenland
In this guide I will show you how to build a flashable zip from Stock Firmware.
It's my first guide on XDA so please leave feedbacks and comment it below! :)


What you need:

1.A stock ROM of your device
2.Cygwin Kitchen-See HERE for seting it up
3.TWRP/CWM or any other custom recovery


NOTE: If you get a status 0 error while flashing the ZIP, follow this instructions: http://forum.xda-developers.com/showthread.php?t=2186015
It shows you how to set the mount points of a device in kitchen. It will fix your status 0 error, if you follow properly! ;)


Let's go:

1.For a CWM/TWRP flashable zip the zip must contain these 3 working things:
*META-INF Folder
*system Folder
*boot.img
The rest is optional

So to get these things you need to take the Stock ROM's zip and modify it!


My structure of the Stock ROM is like this:
That's a factory-update of Prestigio Multiphone 3500 DUO

But there are also other structures like this:


Now I will show you how to build a flashable CWM/TWRP zip with a zip from Structure1:
1.Open Cygwin kitchen folder
2.Copy system.img and boot.img to kitchen/original_update


3.Open Kitchen
4.Select Option "1"

5.Type "1"

6.Now it will create a working folder in kitchen folder and an updater-script will be added
7.Now select Option "99"

8.Now follow on-screen instructions and a flashable zip will be created in OUTPUT_ZIP folder


This Guide showed only this method to build custom recovery flashable zip if you stuck at another structure comment below or PM me and if much are requesting me I will post another method as soon as possible.
Please leave Feedbacks(I'm happy for every Feedback :) ) and don't forget to hit thank you if you like it!
 
Last edited:

BHARDIK

Senior Member
May 27, 2012
741
546
93
Rajkot, Gujarat
www.hardikahir.in
nice guides :) but u missed something no one can able to flash those flashable stock zip until they no created edify_defs files for their device thats why i post full tutorials of that plugins files, that how to find mount points of your device recovery and how to make plugins files ( i,.e.. edify_defs files )
Thanks for nice guides , good work indeed keep it up bro :)
Hardy
 

GeekyDroid

Senior Member
Dec 25, 2012
692
891
0
Burgenland
nice guides :) but u missed something no one can able to flash those flashable stock zip until they no created edify_defs files for their device thats why i post full tutorials of that plugins files, that how to find mount points of your device recovery and how to make plugins files ( i,.e.. edify_defs files )
Thanks for nice guides , good work indeed keep it up bro :)
Hardy
Thank you very much for your Feedback I appreciate it :)
 
  • Like
Reactions: Love XDA Developers

bcrichster

Senior Member
Jun 6, 2013
1,217
832
0
I have dsiXda's kitchen on Linux Mint 15, will that work?

:thrasher: LEGION-MODZ :rock:

If U like the work, just hit thanx in the OP!