[Q] Extracting Stock ROM from HTC WWE RUU - Wildfire Q&A, Help & Troubleshooting

Hey guys,
I've decided I've had enough of not knowing anything of cooking up a ROM, so, for my first project I've decided to make a ROM from the latest HTC_WWE RUU. Lots of people have been asking for a completely stock ROM without extras and not ruining the recovery and root access etc. at the same time. If it's good, I'll publish it . I've copied and extracted the rom.zip from the %TEMP% folder in Windows, and have found the following files. But extracting the "system.img" file doesn't work - it gives me the following error using 7zip:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So I'm wondering how to find the flashable-zip like folder structure that you get inside a ROM. E.g with /data, /system, /lib, /mnt, /proc etc. Then I will add root permissions and remove the recovery image. How can I find this structure? These are the only files inside the rom.zip:
Anyone have an idea of how to get this? I've looked in many places and just can't seem to find it.
Thanks in advance

look for a guide on using unyaffs, pretty sure I have it in my dropbox if you can't find it using Google.
I think you just extract the unyaffs zip into a folder then drag n drop the system.img onto it. not sure though its been a while.
Sent from my HTC Wildfire using xda premium

Scratch0805 said:
look for a guide on using unyaffs, pretty sure I have it in my dropbox if you can't find it using Google.
I think you just extract the unyaffs zip into a folder then drag n drop the system.img onto it. not sure though its been a while.
Sent from my HTC Wildfire using xda premium
Click to expand...
Click to collapse
Thanks a heap Scratch! If only I didn't have Norton Security, it wouldn't keep thinking the file was a virus!
What would we do without you Scratch....

Related

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

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:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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!
Great TUT :thumbup: but i still hate you
Sent from MARVEL JellyScream
asdot said:
Great TUT :thumbup: but i still hate you
Sent from MARVEL JellyScream
Click to expand...
Click to collapse
Thanks a lot hater
Sent from my HTC Wildfire S A510e using xda premium
Tyr Fifteen said:
Thanks a lot hater
Sent from my HTC Wildfire S A510e using xda premium
Click to expand...
Click to collapse
Inside Joke?:silly:
wat is update script and updater script?
How can i make a flashable zip without system.img but with the folder system
Can u make stock ROM of Motorola firmware into twrp flashable zip plz ?

[TOOL] Drag'n'Flash! [Kernel/Recovery Toolkit]Flash Kernel in 1 click!

Hi. This is a little tool I made to simplify the flashing of Kernels and Recoveries.
Alternatively it will also copy the boot.img and save it in the archive folder for later. You can also label the boot images.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Usage:
Drag the .img you want to flash onto where it says "Drag file here", it can be in any folder!
Pick Kernel/Recovery
Click Flash. (Make sure your phone is in fastboot mode)
Download
http://yarr.ntg.cx/pub/dragnflash-0.4-release.zip Version 0.4 (newest)
Old versions
http://www.mediafire.com/?eus6riunvib5n9u (V0.2)
Would be cool if you could check it out.
Ideas and feedback is welcome.
Sounds great will test it with the next rom update of my rom I am using. Thanks man will provide feedback once done.
link not work
Arthas92 said:
link not work
Click to expand...
Click to collapse
Works fine for me, just tried to see if it was broken. I will upload to dropbox as well just in case...
Dropbox: https://www.dropbox.com/s/ytzq113kkjglbd4/DragNFlash-0.2.zip
@Whitekidney. if you want this taken down I will do so no problem.
I tryed using this to flash renovate 10.0.0 but i just got this message my phone was in fastboot. Any ideas of the problem?
Sent from my HTC One X using xda premium
Great tool thanks.. very handy.:good::good:
Drag'N'Flash has been updated to version 0.4.
jchritchlow said:
I tryed using this to flash renovate 10.0.0 but i just got this message my phone was in fastboot. Any ideas of the problem?
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
renovate 10 ? ...
Downloaded but ESET Smart Security dont let it unzip. Just delete it every time.
Jdgp42 said:
Downloaded but ESET Smart Security dont let it unzip. Just delete it every time.
Click to expand...
Click to collapse
That's weird. I turned off UPX which seems to have caused some troubles in my EasyFlasher builds. Let me look into this.
EDIT:
ESET seems to be a little sore because the source code is encrypted before it is compiled.
Source: http://virusscan.jotti.org/en/scanresult/d31a8f8e6cbd8e12d917491ef40b85465525c72c
I will upload a non-obfusctated build tomorrow which should resolve this strange issue.

[TUTORIAL] How To Extract Files From a TAR.MD5 Stock ROM (SPH-L900)

I recently did this for the E4GT and have been asked to do it here as well.
I've received a TON of PM's and emails asking how to do this and I've decided to do a write-up for everyone. Now to start off, this does not automatically make you a Super Duper Developer, this does not show you how to make your own TAR ROMs, nor does it show you how to make your own Odin One-Clicks. What it does do is show you how to pull files from those stock leaked/official ROMs so that you can proceed to make yourself into a Super Duper Developer!
In essence if the Developer knows what they are doing they could use this method to extract all the files from the build and could then add them to a ZIP and have a stock odexed ROM within minutes and do it all through Windows! Depending on time I may or may not do a tutorial on that as well...
So let's begin!
We've all seen those pesky TAR.MD5 packages that we can flash through Odin. How often have you wanted to look inside them and see what is inside before flashing? There are several ways to do it and the most common answer requires Linux and Dsixda's Kitchen utility. This tutorial gives you the ability to do that through Windows and without having to extract the full ROM. These instructions are specific to the Samsung Galaxy S3 (all variants) but can be used on most Samsung Galaxy phones.
Each TAR.MD5 release contains multiple files. Each of these files corresponds to a specific partition on your device. These files are formatted to be mounted by your device but not by a computer. We will be converting them from a .img.ext4 partition type to an ext4.img type partition so we can mount them and read them through Windows. For this tutorial we will be opening up the system.img.ext4 (the system files partition).
Before you dive in there are a few things you'll need.
- A PC running Windows.
- A stock TAR.MD5 release. Several are available at www.rwilco12.com.
- DiskInternals Linux Reader (must be installed on the Windows PC). You can download DiskInternals Linux Reader here.
- SGS2toEXT4 Utility available here. *Be sure to extract the JAR file from the ZIP archive.
- 7-Zip available here.
For the rest of the tutorial please visit my site: www.rwilco12.com
Enjoy!
Reserved.
Do you sleep?! Another great RW production!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
fryingpan0613 said:
Do you sleep?! Another great RW production!
Click to expand...
Click to collapse
Sleep is overrated!
Great Work Buddy!!!!
This will make things easier for Devs!!!
Sent from my SPH-L900 using JellyBombed Tapatalk 2

Window transition animation

OK I have a zip of a windows transiting animation zip... When I open it it says folders are res/anim and then there are a bunch of files in it... I'd like to change the files out so I can use the other transition...I tried zip themer and that did not work...what I am asking is does anyone know where this set of files/folder is located within system? If not any way I could get this to flash properly?
http://db.tt/U0q2d62i
That is the file in question
Sent from my Galaxy Nexus using Tapatalk 4 Beta
It is in the framework-res.apk (/system/framework/framework-res.apk).
You can either modify the framework-res.apk manually and use adb to push it back, or make an update.zip. You alternatively could make a zipthemer file and use it to flash it.
cupfulloflol said:
It is in the framework-res.apk (/system/framework/framework-res.apk).
You can either modify the framework-res.apk manually and use adb to push it back, or make an update.zip. You alternatively could make a zipthemer file and use it to flash it.
Click to expand...
Click to collapse
Ok the first idea you have honestly is way out of my league lol...alternatively I don't know how to turn it into a zip theme file...do you know more about that? I don't know much about code at all so if you do please dumb it down
Sent from my Galaxy Nexus using Tapatalk 4 Beta
goast said:
OK I have a zip of a windows transiting animation zip... When I open it it says folders are res/anim and then there are a bunch of files in it... I'd like to change the files out so I can use the other transition...I tried zip themer and that did not work...what I am asking is does anyone know where this set of files/folder is located within system? If not any way I could get this to flash properly?
http://db.tt/U0q2d62i
That is the file in question
Sent from my Galaxy Nexus using Tapatalk 4 Beta
Click to expand...
Click to collapse
You could use rom toolbox lite (assuming you're rooted). I use it for animations and fonts when I'm not on sourcery rom.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
U.O.E.N.O
namtombout said:
You could use rom toolbox lite (assuming you're rooted). I use it for animations and fonts when I'm not on sourcery rom.
U.O.E.N.O
Click to expand...
Click to collapse
Worked....like a glove!!!!!!
Sent from my Galaxy Nexus using Tapatalk 4 Beta

removed "firmware" files in z1c-44-uk.system.flashable.zip?

i'm currently trying to make a flashable zip with my "own" firmware "D5503_14.3.A.0.681_EURO LTE"
when i compared the the content of systems.tgz from the file z1c-44-uk.system.flashable.zip with the system.sin file of my firmware i noticed a bunch of files are missing in the tgz file.
so i looked at D5503_14.3.A.0.681_Generic UK.ftf and noticed the firmware files are there.
Different files in system
D5503_14.3.A.0.681_EURO LTE vs 1c-44-uk.system.flashable.zip
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
D5503_14.3.A.0.681_EURO LTE vs D5503_14.3.A.0.681_Generic UK.ftf
D5503_14.3.A.0.681_Generic UK vs 1c-44-uk.system.flashable.zip
why were these files removed in the flashable zip?
Are you talking about the z1c-44-uk.system.flashable.zip from my guide here: http://forum.xda-developers.com/showthread.php?t=2688933 ?
I didn't remove any files, I built it directly from the system.sin (mounted it in ubuntu).
All those files in your last picture are inside my system.tgz.
zxz0O0 said:
Are you talking about the z1c-44-uk.system.flashable.zip from my guide here: http://forum.xda-developers.com/showthread.php?t=2688933 ?
I didn't remove any files, I built it directly from the system.sin (mounted it in ubuntu).
All those files in your last picture are inside my system.tgz.
Click to expand...
Click to collapse
your right, seems like they are symlinks and winrar does not unpack them on my pc unless you start it as admin ?!?
TQuest said:
your right, seems like they are symlinks and winrar does not unpack them on my pc unless you start it as admin ?!?
Click to expand...
Click to collapse
No idea. I recommend to not use windows for stuff like that anyway. Just set up a ubuntu vm with VirtualBox. You also don't need any extra tools there. Just unpack the system.sin to system.ext4 with flashtool and mount it under ubuntu.
zxz0O0 said:
No idea. I recommend to not use windows for stuff like that anyway. Just set up a ubuntu vm with VirtualBox. You also don't need any extra tools there. Just unpack the system.sin to system.ext4 with flashtool and mount it under ubuntu.
Click to expand...
Click to collapse
i agree with you, i was just using windows for a filecompare because i thought it was more conveniant.
for everything else i'm using the same setup as your are: virtualbox with ubuntu :good:

Categories

Resources