[Q] adb mounting doesn't work - LG Optimus 2x

Every time i try to mount a directory on my o2x in adb it says this:
Code:
c:\sdk\platform-tools>adb shell mount -o rw,remount /system/framework /system
Usage: mount [-r] [-w] [-o options] [-t type] device directory
I just can't get to mount anything while using shell in adb

That doesn't work because you're trying to mount a folder in /system as /system
You need to remount all of /system as RW, if you're on a custom ROM then just use adb remount

Rusty! said:
That doesn't work because you're trying to mount a folder in /system as /system
You need to remount all of /system as RW, if you're on a custom ROM then just use adb remount
Click to expand...
Click to collapse
And why wouldn't that work? Works just fine on my HTC Legend
BTW: I was the one trying to push the framework-res (through teamviewer VPN connection) it has always worked on my legend and I have no idea why it doesn't work on the LG.
The LG doesn't have a security lock on the bootloader does it?
thx in advance

JonasDroid said:
And why wouldn't that work? Works just fine on my HTC Legend
BTW: I was the one trying to push the framework-res (through teamviewer VPN connection) it has always worked on my legend and I have no idea why it doesn't work on the LG.
The LG doesn't have a security lock on the bootloader does it?
thx in advance
Click to expand...
Click to collapse
I tried to backup my custom rom but it said can't mount /system xD

Related

G1 Keyboard question

Hi, I always update ROMs on my rooted g1
and every time the new ROM is flashed i have to type this on terminal
su
mount -o remount,rw /dev/block/mtdblock3 /system
cd /system/usr/keychars/
dd if=/sdcard/trout-keypad-v3.kcm.bin of=trout-keypad-v3.kcm.bin
mount -o remount,rw /dev/block/mtdblock3 /system
(there is a file on my sd card)
with this my hard keyboard got the german layout. but on every rom update it changes again to the US layout..
is it possible to make it easier then typing all the time this?
thx for uor help
You can try this:
djluis48 said:
You have to manually push the keyboard files using adb....something like this:
Code:
adb remount
adb push c:\usr /system/usr
adb shell reboot
Thats assuming you got the folder usr on the root of your C hard drive....you can get that folder out of CMod, WG or almost any other 1.6 rom here. If you need any more help, just ask
Click to expand...
Click to collapse
In your case, you are going to need the "usr" folder out of a german rom or something, and place it on the root of your C drive.

[?]Hid hack noob question

I found this
http://ip208-100-42-21.static.xda-developers.com/showthread.php?t=715913
and this
http://i-miss-erin.blogspot.com/2009/09/connect-bluetooth-keyboard-in-android.html
and i have the same keyboard, so it will be great to get this working
What i did:
via adb:
adb shell
su
mount -o remount,rw -t yaffs4 /dev/block/mtdblock3 /system
chmod 777 /system/xbin
adb push hidd /system/xbin
failed to copy 'hidd' to '/system/xbin/hidd': out of memory
What is the problem?
Thank you guys!
EDIT: Ok i successfully flashed trough recovery but then i read the whole thread and find out that this thing only works with a non sense rom
Gurdjieff said:
I found this
http://ip208-100-42-21.static.xda-developers.com/showthread.php?t=715913
and this
http://i-miss-erin.blogspot.com/2009/09/connect-bluetooth-keyboard-in-android.html
and i have the same keyboard, so it will be great to get this working
What i did:
via adb:
adb shell
su
mount -o remount,rw -t yaffs4 /dev/block/mtdblock3 /system
chmod 777 /system/xbin
adb push hidd /system/xbin
failed to copy 'hidd' to '/system/xbin/hidd': out of memory
What is the problem?
Thank you guys!
Click to expand...
Click to collapse
We don't have /system rw access. Your best bet is to make a flashable zip for it
That solved the problem, but according to the topic, it dont work on a sense rom On my Pulse i have used Bluekeyboard Jp but on wildfire it isnt working too
Sent from my HTC Wildfire using XDA App
HCDR.Jacob said:
We don't have /system rw access. Your best bet is to make a flashable zip for it
Click to expand...
Click to collapse
I think you can write to /system if you first do
Code:
adb reboot recovery[code]
then remount,rw ect....
Ok, with openfire it is working, Bluekeyboard Jp which on sense rom didnt, here it is also working. What is missing from the sense rom?

[Q]: Read-only filesystem

Hi!
I have rooted my phone (LG Optimus 2X) and mistakenly deleted some files.
I have these files, and want to push them back using adb, put my problem is, that when i try to mount the system in read / write mode using "adb remount" i get this error: "remount faileded: Operation not permitted".
I can't figure out how to fix it, i can pull files etc.
I have also tried to use the adb shell, and copy the files from the internal sdcard, but i'm getting the same error.
Only read-mode.. :/
Anybody who can help, fixing this problem?
If you want to mount /system just write:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Then you're good to go
How to unmount into read-mode only?
Thank! - You saved my day
mrhtml said:
How to unmount into read-mode only?
Thank! - You saved my day
Click to expand...
Click to collapse
A little easier to type...
Mount r/w
Code:
busybox mount -o,remount -rw /system
Mount r/only
Code:
busybox mount -o,remount -r /system
Edit: You shouldn't post stuff like this in dev

[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] R/W mount

I have a rooted Nexus 7 running the Eclipse custom ROM. Somehow, I cannot mount file system for R/W using "mount/system (rw/ro)" app nor using ADB method. I'm not getting any error from the mount/remount, but I still read only file warnings. I don't have any problem getting the R/W right on Nexus phone using the same way I described. I'll appreciate your help.
Code:
$ su
# mount -o remount, rw /system
???
korockinout13 said:
Code:
$ su
# mount -o remount, rw /system
???
Click to expand...
Click to collapse
I have no problem executing commands you listed, but read only.

Categories

Resources