Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,806,969 Members 38,207 Now Online
XDA Developers Android and Mobile Development Forum

[Tutorial] How to extract System.img on Windows

Tip us?
 
GethPrime
Old
#1  
GethPrime's Avatar
Recognized Contributor - OP
Thanks Meter 2,174
Posts: 3,172
Join Date: Jan 2011

 
DONATE TO ME
Prompt [Tutorial] How to extract System.img on Windows

How to extract system.img

Requirements:
Quote:
* Windows XP or newer
* Ext4 Unpacker
* Ext2Explore
* System.img of your choice


Step 1:
The first thing you need to do is to launch the Ext4 Unpacker software and then you need to select the open button.






Step 2:
Select the system.img you want to extract.






Step 3:
Press the "Save as EXT4" button.






Step 4:
Select where you want to save the .ext4 file and enter a name with the extension .ext4, then press Save.






Step 5:
Wait while the ext4 image is being unpacked.






Step 6:
Launch the ext2explore software as a Administrator (Do that or it wont work!) and then select File then Open Image.






Step 7:
Select the file you saved earlier with Ext4 Unpacked software and then select "Open".






Step 8:
Now highlight the file you just have imported in EXT2Explore and then press the "Save" button.






Step 9:
Select where you want the unpacked system files to be placed.






After that is done just go to the folder and voila! The android system files should be in the folder.
My devices:
  • Xperia X8 ➜ CM7 ➜ nAa kernel
  • Xperia Ray ➜ CM10.1 ➜ nAa 3.4 kernel
  • Xperia U ➜ CM10.1 ➜ Unknown kernel
  • Xperia Arc S ➜ CM10.2 ➜ nAa 3.4 kernel
  • Nexus 7 ➜ AOKP ➜ M-Kernel
  • Xperia C ➜ Stock ➜ Stock kernel
  • Xperia Z1 Compact ➜ Stock ➜ Stock Kernel
Socialize with me:
Add me on Facebook.
Subscribe to my youtube channel.
If you like my work please consider donating.
The Following 84 Users Say Thank You to GethPrime For This Useful Post: [ Click to Expand ]
 
GethPrime
Old
#2  
GethPrime's Avatar
Recognized Contributor - OP
Thanks Meter 2,174
Posts: 3,172
Join Date: Jan 2011

 
DONATE TO ME
My devices:
  • Xperia X8 ➜ CM7 ➜ nAa kernel
  • Xperia Ray ➜ CM10.1 ➜ nAa 3.4 kernel
  • Xperia U ➜ CM10.1 ➜ Unknown kernel
  • Xperia Arc S ➜ CM10.2 ➜ nAa 3.4 kernel
  • Nexus 7 ➜ AOKP ➜ M-Kernel
  • Xperia C ➜ Stock ➜ Stock kernel
  • Xperia Z1 Compact ➜ Stock ➜ Stock Kernel
Socialize with me:
Add me on Facebook.
Subscribe to my youtube channel.
If you like my work please consider donating.
The Following 7 Users Say Thank You to GethPrime For This Useful Post: [ Click to Expand ]
 
<JohnCarter>
Old
#3  
<JohnCarter>'s Avatar
Recognized Contributor
Thanks Meter 1,670
Posts: 752
Join Date: Jun 2012

 
DONATE TO ME
wow!!! seems extremely helpful !!!
[Project][Kernel][Rom][WIP]Dual Boot HTC Explorer : http://forum.xda-developers.com/show....php?t=2409236
[GUIDE]Adding Support for Different ROMs for Dual Boot :http://forum.xda-developers.com/show....php?t=2411717
 
GethPrime
Old
#4  
GethPrime's Avatar
Recognized Contributor - OP
Thanks Meter 2,174
Posts: 3,172
Join Date: Jan 2011

 
DONATE TO ME
Quote:
Originally Posted by ayushrox View Post
wow!!! seems extremely helpful !!!
Thanks, I am going to make more noob friendly tutorials also later
My devices:
  • Xperia X8 ➜ CM7 ➜ nAa kernel
  • Xperia Ray ➜ CM10.1 ➜ nAa 3.4 kernel
  • Xperia U ➜ CM10.1 ➜ Unknown kernel
  • Xperia Arc S ➜ CM10.2 ➜ nAa 3.4 kernel
  • Nexus 7 ➜ AOKP ➜ M-Kernel
  • Xperia C ➜ Stock ➜ Stock kernel
  • Xperia Z1 Compact ➜ Stock ➜ Stock Kernel
Socialize with me:
Add me on Facebook.
Subscribe to my youtube channel.
If you like my work please consider donating.
The Following User Says Thank You to GethPrime For This Useful Post: [ Click to Expand ]
 
emilcioran99
Old
(Last edited by emilcioran99; 27th May 2013 at 06:38 PM.)
#5  
emilcioran99's Avatar
Senior Member
Thanks Meter 126
Posts: 444
Join Date: Aug 2011
Quote:
Originally Posted by devstaff View Post
How to extract system.img

Requirements:




Step 1:
The first thing you need to do is to launch the Ext4 Unpacker software and then you need to select the open button.[/SIZE]





Step 2:
Select the system.img you want to extract.



Trying 3 times to unpack an system.img file from my HTC One SU T528W but the ICS/JB/Ext4 unpacker everytime gives me same error: "List index out of bounds (327680)".
And it stuck there.

Why?
What's happened?

Thanks for your answer.
Device 1 - S4 I9505: stock XXUUGNE5 (DBT) + CF Auto root + PhilZ touch
Device 2 - S3 I9300: stock XXUGMK6 (DBT) + CF Auto root + PhilZ touch
Device 3 - HTC Desire 600/606w: Stock firmware rooted + S-OFF and Supercid


Remember that devs do and share all their hard work for free and against other things in their personal life, so... RESPECT the devs and their work!
 
tshelby73
Old
#6  
Senior Member
Thanks Meter 114
Posts: 638
Join Date: Dec 2011
Thanks. This thread helped me. I overwrote my systemui and needed it back. Is able to use this method to extract it from the Google factory image for my galaxy nexus. You do it once and it's pretty straight forward.

Sent from my Galaxy Nexus using xda app-developers app
 
fratzeskos
Old
#7  
Junior Member
Thanks Meter 0
Posts: 13
Join Date: Nov 2008
And how do you pack things back ????
 
GethPrime
Old
#8  
GethPrime's Avatar
Recognized Contributor - OP
Thanks Meter 2,174
Posts: 3,172
Join Date: Jan 2011

 
DONATE TO ME
Quote:
Originally Posted by fratzeskos View Post
And how do you pack things back ????
Make a update.zip, easiest way to do it.

Sent from my Nexus 7 using Tapatalk 2
My devices:
  • Xperia X8 ➜ CM7 ➜ nAa kernel
  • Xperia Ray ➜ CM10.1 ➜ nAa 3.4 kernel
  • Xperia U ➜ CM10.1 ➜ Unknown kernel
  • Xperia Arc S ➜ CM10.2 ➜ nAa 3.4 kernel
  • Nexus 7 ➜ AOKP ➜ M-Kernel
  • Xperia C ➜ Stock ➜ Stock kernel
  • Xperia Z1 Compact ➜ Stock ➜ Stock Kernel
Socialize with me:
Add me on Facebook.
Subscribe to my youtube channel.
If you like my work please consider donating.
 
Cytality
Old
#9  
Cytality's Avatar
Member
Thanks Meter 80
Posts: 83
Join Date: Jul 2013
Quote:
Originally Posted by devstaff View Post
Make a update.zip, easiest way to do it.

Sent from my Nexus 7 using Tapatalk 2

I need to pack files back into a system.img file and it can't be an update.zip file. I need it for emulation purposes.


 
GethPrime
Old
#10  
GethPrime's Avatar
Recognized Contributor - OP
Thanks Meter 2,174
Posts: 3,172
Join Date: Jan 2011

 
DONATE TO ME
Quote:
Originally Posted by Cytality View Post
I need to pack files back into a system.img file and it can't be an update.zip file. I need it for emulation purposes.
I have no idea, google it.

Sent from my Nexus 7 using Tapatalk 2
My devices:
  • Xperia X8 ➜ CM7 ➜ nAa kernel
  • Xperia Ray ➜ CM10.1 ➜ nAa 3.4 kernel
  • Xperia U ➜ CM10.1 ➜ Unknown kernel
  • Xperia Arc S ➜ CM10.2 ➜ nAa 3.4 kernel
  • Nexus 7 ➜ AOKP ➜ M-Kernel
  • Xperia C ➜ Stock ➜ Stock kernel
  • Xperia Z1 Compact ➜ Stock ➜ Stock Kernel
Socialize with me:
Add me on Facebook.
Subscribe to my youtube channel.
If you like my work please consider donating.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes