Remove All Ads from XDA

[TUTORIAL] How to make a flashable Zip for your Stock ROM

3,260 posts
Thanks Meter: 691
By Lt.Win, Senior Member on 22nd October 2012, 11:41 AM
Post Reply Email Thread
Well hello!

The tutorial below is quite handy and if you ever want to restore to Stock ROM (for whatever reason) you can do it really easily. I decided to write this down since I've seen quite a few people having problems restoring the Stock ROM from the RUU or Here we go!

  • A Rooted Phone
  • ClockWorkMod or any other recovery
  • dsixda's kitchen (Tutorial to set it up is here
  • The RUU/ of the Stock ROM you need.

About dsixda's kitchen, I suggest you go for the "Cygwin" method, as that's what I'm going to go with. VirtualBox is good too, but it takes too much RAM.

If you have the PG76IMG:
Extract the system.img and boot.img.

If you have the RUU:
Run the RUU till the "I Acknowledge, etc. etc" screen comes.
Start Task Manager.
Hit the processes tab.
Find ARUWizard.exe. Right click and go to location.
You will see a zip called Open it up and extract system.img and boot.img from it.

Copy the two .img files to your kitchen's img_files folder.

Now, open up Cygwin and navigate into the kitchen folder like this:

You will see a list of options there like this:

Type 1 to create a working folder from the two .img's.


You can try out the other options like Root, Zip Aligning,etc. in the kitchen for your Stock ROM if you want. But if you're restoring back to it for Warranty Purposes, then I suggest you don't.

Once the working folder is created, type 99 and let the kitchen create the flashable zip for you.

Put the zip onto your SD Card and flash away!
The Following 11 Users Say Thank You to Lt.Win For This Useful Post: [ View ] Gift Lt.Win Ad-Free
22nd October 2012, 12:40 PM |#2  
asdot's Avatar
Senior Member
Flag Yogyakarta
Thanks Meter: 165
Great TUT :thumbup: but i still hate you

Sent from MARVEL JellyScream
The Following User Says Thank You to asdot For This Useful Post: [ View ] Gift asdot Ad-Free
22nd October 2012, 12:51 PM |#3  
Lt.Win's Avatar
OP Senior Member
Flag Mumbai
Thanks Meter: 691
Originally Posted by asdot

Great TUT :thumbup: but i still hate you

Sent from MARVEL JellyScream

Thanks a lot hater

Sent from my HTC Wildfire S A510e using xda premium
2nd December 2012, 03:16 AM |#4  
Flag Sarnia
Thanks Meter: 4
Originally Posted by Tyr Fifteen

Thanks a lot hater

Sent from my HTC Wildfire S A510e using xda premium

Inside Joke?
7th December 2015, 01:14 PM |#5  
VigneshS007's Avatar
Senior Member
Flag Chennai
Thanks Meter: 494
wat is update script and updater script?
15th May 2016, 04:42 PM |#6  
TrushitKerai's Avatar
Flag Melbourne
Thanks Meter: 32
How can i make a flashable zip without system.img but with the folder system
23rd November 2019, 05:19 PM |#7  
Thanks Meter: 3
Can u make stock ROM of Motorola firmware into twrp flashable zip plz ?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes