mounting the data partition - Droid X Android Development

I know this works for mounting the system
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
but whats the string for mounting the /data ?
either in adb or terminal emulator
Yes I have/am searched/ing.....
Thank to whom ever can answer

type remount and look for the data in adb it should list off strings

more clarity please. Trying a bunch of options still getting acces denided and operation not permitted
If it helps I cant even adb shell then su.
Yes I am rooted
Yes my phone is in pc mode

bad4u6669 said:
I know this works for mounting the system
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
but whats the string for mounting the /data ?
either in adb or terminal emulator
Yes I have/am searched/ing.....
Thank to whom ever can answer
Click to expand...
Click to collapse
Try
su
mount -o rw,remount -t ext3 /dev/block/userdata /data
Sent from my DROIDX using XDA App

drew630 said:
Try
su
mount -o rw,remount -t ext3 /dev/block/userdata /data
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
Finally got a chance to test it last night, and it worked! thanks!

Related

Help! Syntax please

mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
I have typed that in 5 times and it says it's a syntax error. I'm guessing it's a space issue or something. My phone is down.
What is the exact syntax?
Thanks
jlacy76 said:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
I have typed that in 5 times and it says it's a syntax error. I'm guessing it's a space issue or something. My phone is down.
What is the exact syntax?
Thanks
Click to expand...
Click to collapse
Are you sure your at the root prompt? Looks like this # and not this $
jlacy76 said:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
I have typed that in 5 times and it says it's a syntax error. I'm guessing it's a space issue or something. My phone is down.
What is the exact syntax?
Thanks
Click to expand...
Click to collapse
That syntax is correct. Are you invoking busybox's mount?
I finally got it, thanks.
The way it shows in the root guide is:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
The way I had to type it.
mount -o rw, remount -t yaffs2/dev/block/mtdblock3/system
It turned out to be a spaces issue.
I got that part done and then is said "Can't cd sdcard"
My sd card is formatted fat 32 and loaded the rc29 fine but won't cd to sd card. Does it need partitions or something?
Honestly, this is one of the most frustrating things I have ever done in trying to root this phone. Now I can't even use mount -o rw, remount -t yaffs2/dev/block/mtdblock3/system.
Please help me out I am still getting usage errors. It must be something to do with spaces in the syntax of mount -o rw, remount -t yaffs2/dev/block/mtdblock3/system
jlacy76 said:
Honestly, this is one of the most frustrating things I have ever done in trying to root this phone. Now I can't even use mount -o rw, remount -t yaffs2/dev/block/mtdblock3/system.
Please help me out I am still getting usage errors. It must be something to do with spaces in the syntax of mount -o rw, remount -t yaffs2/dev/block/mtdblock3/system
Click to expand...
Click to collapse
The syntax of those lines is all messed up. You need spaces between "yaffs2" and "/dev/block/mtdblock3" and "/system". If your phone is already rooted, just hook it up to adb and type adb remount.
Thanks jashsu, that did it. For a total noob like me, I just didn't understand.

Using terminal emulator (easy mount)

Im always using terminal emulator to mount the /system partition but got fed up of typing it in all the time so.....
Using terminal emulator by Jack Palkevich
MENU>PREFERENCES>INITIAL COMMAND>
Change it to su && mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
Voila now the system partition is mounted whenever you enter terminal emulator!
Hopefully someone else will find this as useful as i have.

Installing service.jar

How do you do it? Just same as adb push? Or any special way? Don't wanna get stuck to bootloader again.....
Sent from my DROIDX using XDA App
I just do this
Code:
adb push services.jar /sdcard/
adb shell
su
mount -o rw,remount -t ext3 /dev/block/userdata /data
cp /sdcard/services.jar /system/framework/services.jar
mount -o ro,remount -t ext3 /dev/block/userdata /data
reboot

[Q] Mounting /system partition under adb shell

Hi,
I want to deodex stock rom myself, so...
what variables in mount command I should use to properly mount /system partition in rw under adb shell?
Cheers
masi0 said:
Hi,
I want to deodex stock rom myself, so...
what variables in mount command I should use to properly mount /system partition in rw under adb shell?
Cheers
Click to expand...
Click to collapse
try: adb shell mount -o remount,rw system
Code:
adb remount
It should do the trick too
gromez said:
Code:
adb remount
It should do the trick too
Click to expand...
Click to collapse
lol, that's shorter indeed
adb remount will only remount an existing mount, it won't create one.
It's not clear what the OP wants.
You don't need rw to deodex a ROM because you certainly don't want to write to system whilst you're doing it.
Also, I thought the stock ROM was deodexed?
To mount system in recovery, which will give you rw access and allow you to pull the files you need you just type:
Code:
mount /system
or
Code:
adb shell mount /system
Because system is included in /proc/mtd
to all: the answer is:
mount -o rw,remount /dev/block/mmcblk0p1 /system
Click to expand...
Click to collapse
masi0 said:
to all: the answer is:
Click to expand...
Click to collapse
Hello
in my case, what it worked:
mount -o rw,remount /system
Why is this thread in development section, are you that stupid?
Sent from my LG-P990 using xda app-developers app
Micronuub said:
Why is this thread in development section, are you that stupid?
Sent from my LG-P990 using xda app-developers app
Click to expand...
Click to collapse
I already reported it
In my case except adb nothing is working as i cannot access system folder.
In my case except adb nothing is working as i cannot access system folder.
Can anyone suggest me what to do or what i should do as no flash tool or anything other option is working except adb.
also $ SU is not working please help me its driving crazy.
TheSSJ said:
I already reported it
Click to expand...
Click to collapse
Here's a solution
masi0 said:
Hi,
I want to deodex stock rom myself, so...
what variables in mount command I should use to properly mount /system partition in rw under adb shell?
Cheers
Click to expand...
Click to collapse
Hi, this seems to work for me:
Open a terminal (Command Prompt).
type adb shell
type su
You should see a # in your prompt.
type mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
and Bingo! Your /system is now mounted as r/w. [NOTE: There will be no confirmation message. Your command will simply be printed again, and that means its a success)
The possible error might be that you forgot the su part. I'm making a wild guess that it stands for superuser. The first time I tried this, I didn't know about the 'su' and I wasted a little time because of that.
Hope this helped.
helllpppp
rktcool said:
Hi, this seems to work for me:
Open a terminal (Command Prompt).
type adb shell
type su
You should see a # in your prompt.
type mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
and Bingo! Your /system is now mounted as r/w. [NOTE: There will be no confirmation message. Your command will simply be printed again, and that means its a success)
The possible error might be that you forgot the su part. I'm making a wild guess that it stands for superuser. The first time I tried this, I didn't know about the 'su' and I wasted a little time because of that.
Hope this helped.
Click to expand...
Click to collapse
i used an app ldc dpi modder n its bricked with black screen n im on cm10 now it want to change chmod to 644 for my lww but i dont know how to do that please help me with step by step guide im new to this things
this worked for me:
mount -o rw,remount /system

[Q] URGENT - How to remount

What is the command to remount the phone? I might have something everyone might like. :3
Adb shell mount is "mount -o rw,remount -t yaffs2 /dev/block/mtdblock12 /system" no quotes of course
Sent from my VS910 4G using XDA Premium App
mtmichaelson said:
Adb shell mount is "mount -o rw,remount -t yaffs2 /dev/block/mtdblock12 /system" no quotes of course
Sent from my VS910 4G using XDA Premium App
Click to expand...
Click to collapse
Well thank you! We might have a new root method. PM me and you can test it.
Well considering this post is a day or so old now I would love to know if you found a new rooting method? And is this for post patch or before it?
mtmichaelson said:
Adb shell mount is "mount -o rw,remount -t yaffs2 /dev/block/mtdblock12 /system" no quotes of course
Sent from my VS910 4G using XDA Premium App
Click to expand...
Click to collapse
Nope-- we don't use yaffs2 on this phone, change that to "ext3".
Also, a shorter version is just "adb shell mount -o remount,rw /system". No need to specify the filesystem type if it's in fstab.

Categories

Resources