FORUMS
Remove All Ads from XDA

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

3,260 posts
Thanks Meter: 696
 
By Lt.Win, Senior Member on 22nd October 2012, 10: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 PG76IMG.zip. Here we go!

Requirements:
  • A Rooted Phone
  • ClockWorkMod or any other recovery
  • dsixda's kitchen (Tutorial to set it up is here
  • The RUU/PG76IMG.zip 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 rom.zip. 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.

OPTIONAL:

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, 11:40 AM |#2  
asdot's Avatar
Senior Member
Flag Yogyakarta
Thanks Meter: 164
 
More
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, 11:51 AM |#3  
Lt.Win's Avatar
OP Senior Member
Flag Mumbai
Thanks Meter: 696
 
More
Quote:
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, 02:16 AM |#4  
Member
Flag Sarnia
Thanks Meter: 4
 
More
Cool
Quote:
Originally Posted by Tyr Fifteen

Thanks a lot hater

Sent from my HTC Wildfire S A510e using xda premium

Inside Joke?
7th December 2015, 12:14 PM |#5  
VigneshS007's Avatar
Senior Member
Flag Chennai
Thanks Meter: 393
 
More
wat is update script and updater script?
15th May 2016, 03:42 PM |#6  
truzz_patel's Avatar
Junior Member
Flag Nairobi
Thanks Meter: 7
 
More
How can i make a flashable zip without system.img but with the folder system
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes