Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
jimmydafish
Old
(Last edited by jimmydafish; 31st December 2009 at 12:06 AM.)
#1  
Senior Member - OP
Thanks Meter 185
Posts: 172
Join Date: Nov 2007
Default Android img files

Okay I know this is a very noob question, how do I open android .img files And I have run a number of different search queries and still haven't found the answer.
 
mancsoulja
Old
#2  
Account currently disabled
Thanks Meter 0
Posts: 860
Join Date: Sep 2008
Location: Gunchester
Quote:
Originally Posted by jimmydafish View Post
Okay I know this is a very noob question, how do I open android .img files And I have run a number of different search queries and still haven't found the answer.
what do you want to do with the img? dump it or just flash it?
 
the_fish
Old
(Last edited by the_fish; 31st December 2009 at 04:40 PM.)
#3  
Senior Member
Thanks Meter 3
Posts: 605
Join Date: May 2008
if you got some kind of linux distro installed, just go (in terminal) to the dir where the image file is located, and type "file filename.img" if it returns something like ext2 filesystem, simply do:
mount -o loop filename.img /mnt
and the file will be mounted on /mnt, so you can access it using cd /mnt
if it returns something like VMS Alpha executable, you will have to download unyaffs, and if you want to repackage it later on, mkfs.yaffs2,
to get the file's content, just run unyaffs filename.img, and you will have the file content right in the folder with the img file...


if you don't have a linux distro installed, you can simply get virtualbox, and download the latest ubuntu iso file... mount the file in virtualbox and install ubuntu (it's quite easy)...
oh and incase you need them some basic commands:
Code:
ls - lists current folder content
cd folder - allows you to switch to a specific folder, like if you type ls, and you get the folder android listed just type cd android... if you want to go back to your home folder, type ~/...
sudo command  - allows you to run specific commands as superuser (root... you can also just switch to user root by typing sudo su, so you won't need sudo every single time) 
rm file / rm -R folder/file - allows you to remove files and with the parameter -R also folders ;)
hope this helped
Touch Dual - 16 key version (mda touch plus) Android 2.2
Universal - VPA IV Radio 1.08.00, Cotullas Q3 ROM
Dream - Black
Haykuro's SPL, latest Radio, CM7
The Following 2 Users Say Thank You to the_fish For This Useful Post: [ Click to Expand ]
 
tdh_andy
Old
#4  
Junior Member
Thanks Meter 1
Posts: 14
Join Date: Nov 2008
Default emulator

What if i want to use the .imgs in the emulator/AVD? Any tips?
Thanks.
 
the_fish
Old
#5  
Senior Member
Thanks Meter 3
Posts: 605
Join Date: May 2008
Quote:
Originally Posted by tdh_andy View Post
What if i want to use the .imgs in the emulator/AVD? Any tips?
Thanks.
use mkfs.yaffs2.
Touch Dual - 16 key version (mda touch plus) Android 2.2
Universal - VPA IV Radio 1.08.00, Cotullas Q3 ROM
Dream - Black
Haykuro's SPL, latest Radio, CM7
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...