Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
OverLo4d
Old
#1  
OverLo4d's Avatar
Senior Member - OP
Thanks Meter 350
Posts: 481
Join Date: Mar 2012
Location: Ness Ziona
Default [Q] can't mount system.img

i'm trying to mount system.img to extract the files, but i get errors every time.
i think i don't use the right command, can anyone tell me what is the command for mounting the system.img?
if i helped you hit the button
 
OverLo4d
Old
#2  
OverLo4d's Avatar
Senior Member - OP
Thanks Meter 350
Posts: 481
Join Date: Mar 2012
Location: Ness Ziona
can someone please help me?
if i helped you hit the button
 
sinkster
Old
#3  
sinkster's Avatar
Senior Member
Thanks Meter 236
Posts: 1,012
Join Date: Aug 2010
Location: Glasgow
should be mount -o rw,remount /dev/block/mmcblk0p1 /system
 
OverLo4d
Old
#4  
OverLo4d's Avatar
Senior Member - OP
Thanks Meter 350
Posts: 481
Join Date: Mar 2012
Location: Ness Ziona
Quote:
Originally Posted by sinkster View Post
should be mount -o rw,remount /dev/block/mmcblk0p1 /system
no i get this error:

Code:
can't find system.img in /etc/fstab or /etc/mtab
if i helped you hit the button
 
ameer1234567890
Old
#5  
ameer1234567890's Avatar
Recognized Developer
Thanks Meter 1470
Posts: 1,338
Join Date: Mar 2012
Location: Thulhaadhoo
Quote:
Originally Posted by OverLo4d View Post
no i get this error:

Code:
can't find system.img in /etc/fstab or /etc/mtab
Which command you are using?
SE Xperia Pro (MK16a)
ROM: CyanogenMod 7.2.0 UNOFFICIAL (FXP130)
Bootloader: Unlocked
Kernel: 2.6.32.9 FXP root@ubuntu #5
Recovery: CWM-based Recovery v5.0.2.8
_____________________________________________

My Tools:
Please press the thanks button or buy me something from my wishlist, if you liked my work.
 
OverLo4d
Old
#6  
OverLo4d's Avatar
Senior Member - OP
Thanks Meter 350
Posts: 481
Join Date: Mar 2012
Location: Ness Ziona
Quote:
Originally Posted by ameer1234567890 View Post
Which command you are using?
this time i tried the command he suggested, but i tried also this:
Code:
mount -o loop system.img system
or this:
Code:
mount -t ext4 -o loop system.img system
and nothing works
if i helped you hit the button
 
ameer1234567890
Old
(Last edited by ameer1234567890; 11th June 2012 at 10:44 AM.)
#7  
ameer1234567890's Avatar
Recognized Developer
Thanks Meter 1470
Posts: 1,338
Join Date: Mar 2012
Location: Thulhaadhoo
Quote:
Originally Posted by OverLo4d View Post
this time i tried the command he suggested, but i tried also this:
Code:
mount -o loop system.img system
or this:
Code:
mount -t ext4 -o loop system.img system
and nothing works
I am guessing that you are trying to mount yaffs2 image from nandroid backup! Android does not support mounting yaffs2 images. Perhaps it's a kernel thingy, but I haven't come across any kernel which can do it. Perhaps someone could make a module or something?

In case if you are trying to mount an ext4 image, first create a folder in your sdcard named "system". Then:
Code:
mount -o loop system.img /sdcard/system
SE Xperia Pro (MK16a)
ROM: CyanogenMod 7.2.0 UNOFFICIAL (FXP130)
Bootloader: Unlocked
Kernel: 2.6.32.9 FXP root@ubuntu #5
Recovery: CWM-based Recovery v5.0.2.8
_____________________________________________

My Tools:
Please press the thanks button or buy me something from my wishlist, if you liked my work.
 
OverLo4d
Old
#8  
OverLo4d's Avatar
Senior Member - OP
Thanks Meter 350
Posts: 481
Join Date: Mar 2012
Location: Ness Ziona
Quote:
Originally Posted by ameer1234567890 View Post
I am guessing that you are trying to mount yaffs2 image from nandroid backup! Android does not support mounting yaffs2 images. Perhaps it's a kernel thingy, but I haven't come across any kernel which can do it. Perhaps someone could make a module or something?
no, it's a system.img converted from system.sin
is there any other way to way or command to extract the files?
if i helped you hit the button
 
ameer1234567890
Old
#9  
ameer1234567890's Avatar
Recognized Developer
Thanks Meter 1470
Posts: 1,338
Join Date: Mar 2012
Location: Thulhaadhoo
Quote:
Originally Posted by OverLo4d View Post
no, it's a system.img converted from system.sin
is there any other way to way or command to extract the files?
system.img converted from system.sin is the same as system.img from a nandroid backup.

Since you want to extract the img file, you could use this: http://forum.xda-developers.com/show....php?t=1645412 or http://forum.xda-developers.com/show....php?t=1112906
SE Xperia Pro (MK16a)
ROM: CyanogenMod 7.2.0 UNOFFICIAL (FXP130)
Bootloader: Unlocked
Kernel: 2.6.32.9 FXP root@ubuntu #5
Recovery: CWM-based Recovery v5.0.2.8
_____________________________________________

My Tools:
Please press the thanks button or buy me something from my wishlist, if you liked my work.
 
OverLo4d
Old
#10  
OverLo4d's Avatar
Senior Member - OP
Thanks Meter 350
Posts: 481
Join Date: Mar 2012
Location: Ness Ziona
Quote:
Originally Posted by ameer1234567890 View Post
system.img converted from system.sin is the same as system.img from a nandroid backup.

Since you want to extract the img file, you could use this: http://forum.xda-developers.com/show....php?t=1645412 or http://forum.xda-developers.com/show....php?t=1112906
doesn't work, i already tried any kind of unyaffs2
if i helped you hit the button

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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...

XDA PORTAL POSTS

Learn to Edit Graphics for your Development Work

The importance of good and appropriate graphics for your development work is undeniable. Be … more

Tasker Alternative: AutomateIt, Automates Your Device Tasks – XDA Developer TV

XDA Developer TV Producer Kevin wants to help make your … more

Preventing App Piracy: Join the Discussion

The topic of piracy is always a touchy subject, but I feel that the grass roots style of Android … more

Jolla Sailfish OS Flagship Device Makes First Appearance

Given the amount of coverage that Android receives around here, you could almost be … more