egzthunder1 · Aug 22, 2010 at 12:00 pm

Easily Extract Android Rom Files from Shipped Roms

If you are an Android dev looking into the newest shipped roms to extract things likes apks, drivers, and such, you are probably aware that extracting the rom.zip out of the .exe package is a bit tricky. Particularly, because if you are using any Linux distro, you have a very short time to look for the needed files before the system crashes while doing this, erasing the whole thing in the process. In order to solve this, XDA member MartinEve made a little script that will automatically extract the rom.zip from the installer.

Give the app a go and report some feedback for the developer.

For the first time, I today attempted to extract a rom.zip from a shipped rom release (.exe) on Linux.

The process is problematic as, after launching the executable using wine, the application crashes, deleting all its files. You therefore have to be *very* quick looking inside the ~/.wine/users/username/Temp folder for the rom.zip.

Anyway, I have knocked up a quick python script that will monitor this directory for rom.zip and copy it to your home folder.

The only modification you need to make before running is to change the username field to your own username. I would have used getpass to obtain this but, for some reason, on certain systems you need to use sudo which messes this up.

You can find more information in the application thread.


_________
Want something on the XDA Portal? Send us a tip!
TAGS:

egzthunder1

egzthunder1 is an editor on XDA-Developers, the largest community for Android users. I have been an active member of xda-developers since 2005 and have gone through various roles in my time here. I am Former Portal Administrator, and currently part of the administrator team while maintaining my writer status for the portal. In real life, I am a Chemical Engineer turned Realtor in the Miami area. View egzthunder1's posts and articles here.
Mathew Brack · Jul 4, 2015 at 05:07 pm · no comments

HTC’s New Ad Campaign And What It Really Means

HTC has just released three new blind test adverts comparing app loading speed, audio and selfies. Whilst you are surely astounded that HTC won every time, the tests were incredibly biased and their release shows something concerning about the company and how they are performing in the current market.     One of the many reasons companies tend to utilize blind trials is when they feel that their product is comparable or better than its competitors. This leads to the assumption...

XDA NEWS
Mario Tomás Serrafero · Jul 4, 2015 at 12:00 pm · 4 comments

XDA Picks: Best Apps of the Week (June 27 – July 4)

Apps are at the front and center of any smartphone experience, and with over a million apps on the Google Play Store and new apps being submitted to our forums every day, staying up to date on the latest apps and games can be a hassle. At XDA we don’t discriminate apps - if it’s interesting, innovative, original or useful, we mention them. The XDA Portal Team loves apps too, and here are our top picks for this week.  ...

XDA NEWS
Mathew Brack · Jul 3, 2015 at 12:00 pm · 3 comments

The Atlas of XDA

A few weeks ago, we asked you "How Does Your Location Affect Your Life As A Power User?". In the days that followed, members from all over the world shared their stories and experiences of life across the globe. Allow me to introduce the true story of what it means to be a power user on this pale blue dot.   Index Africa & Oceania: Australia, Guam, Indonesia, Libya, Madagascar, New Zealand, Nigeria, South Africa, Americas: Brazil, Chile, Columbia, Costa Rica, Guatemala,...

XDA NEWS
Share This