--- layout: post status: publish published: true title: Android Rom Update Utility extractor for Linux wordpress_id: 535 wordpress_url: http://www.martineve.com/?p=535 date: !binary |- MjAxMS0wMS0wOSAwODoxNjoyMSArMDEwMA== date_gmt: !binary |- MjAxMS0wMS0wOSAwODoxNjoyMSArMDEwMA== categories: - Technology - Android - Linux tags: - Android - Linux - ROM comments: - id: 6165 author: Tweets that mention Android Rom Update Utility extractor for Linux | Martin Paul Eve -- Topsy.com author_email: '' author_url: http://topsy.com/trackback?url=https%3A%2F%2Fwww.martineve.com%2F2011%2F01%2F09%2Fandroid-rom-update-utility-extractor-for-linux%2F&utm_source=pingback&utm_campaign=L2 date: !binary |- MjAxMS0wMi0wNCAxMjo0MTo1OSArMDEwMA== date_gmt: !binary |- MjAxMS0wMi0wNCAxMjo0MTo1OSArMDEwMA== content: ! '[...] This post was mentioned on Twitter by jean marc, Pau Oliva. Pau Oliva said: Android Rom Update Utility (RUU) extractor for Linux - http://x90.es/nj [...]' ---
As my hobby-geek phase draws to a close and I return well and truly to my PhD, I thought it worth sharing this python script I wrote a while back which will extract the update.zip file from an Android RUU.exe file on Linux. There are other items out there that do the same thing, but this is my effort.
Usage: modify the options, start the script and then run the RUU under Wine.
{% highlight python %} #!/usr/bin/python ''' ROM Extractor Copyright (c) 2010 Martin Paul Eve This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see