FORUMS

Earthquake Early Warning in Your Pocket

Probably all of us reading this have a smartphone in our pocket. For many of us, the … more

Sony: The OEM You Want To Save

In our recent Discuss article, we asked you readers on which OEM you would like to help. While the … more

How to Lock and Protect Your Apps – XDA Xposed Tuesday

The smartphone revolution has passed. Everybody has mobile apps. Some of … more

Which OEM Would You Like to Help?

Most manufacturers have moments of greatness and moments of decadence, and in the past few years … more

[Q] Mounting /system read-write fails under adb shell, CM11

8 posts
Thanks Meter: 0
 
Post Reply Subscribe to Thread Email Thread
24th June 2014, 04:04 PM |#11  
OP Junior Member
Flag Všike-Maarja
Thanks Meter: 0
 
Donate to Me
More
Quote:
Originally Posted by rootSU

Ah yeah that's as good as a screenshot.

Theres no option in CM11 dev options for adb root is there? I have on in SlimKat where I must enable ADB root.



Yeah my ubuntu terminal does that too.

There is actually and it's set to "Apps and ADB", but I might try out next nightly. It might doesn't have that problem anymore. Prolly some SELinux conflict or kernel blocks something
 
 
24th June 2014, 04:43 PM |#12  
OP Junior Member
Flag Všike-Maarja
Thanks Meter: 0
 
Donate to Me
More
Now it works.
I think it was CM problem.
24th June 2014, 08:10 PM |#13  
danarama's Avatar
Senior Member
Flag Oxenhope, West Yorkshire, UK
Thanks Meter: 18,658
 
More
Quote:
Originally Posted by mikroskeem

Now it works.
I think it was CM problem.

At first I was thinking it was your computer but everything you were doing was right so I agree. It seems it was.

Sent from my Nexus 5 using Tapatalk
31st May 2015, 01:52 AM |#14  
Junior Member
Thanks Meter: 1
 
More
Prompt using bin/mount rather than xbin/mount
Quote:
Originally Posted by mikroskeem

I can't mount /system rw in adb shell!
What i've tried:
- sysrw command(alias sysrw='mount -o remount,rw /system')
...
Can anyone tell me a solution how to mount /system rw successfully over shell?

For posterity, I'm adding what worked for me on LolliKat (which is cm11) for doing this from the phone's console/shell: I had to use the command `/system/bin/mount` rather than just `mount`. Once that had been done once, the other methods would work fine until reboot. (I was doing this because somehow link2sd had lost its ability to "update mount scripts" and "integrate system app updates".

These all worked for me:
/system/bin/mount -o remount,rw /system
/system/bin/mount -o remount,rw -t yaffs2 /system
/system/bin/mount -o remount,rw -t yaffs2 /system /system
/system/bin/mount -o remount,rw -t yaffs2 /dev/block/mtdblock8 /system

More info (in my own context) here and here:
http://forum.xda-developers.com/show...74&postcount=3
http://android.stackexchange.com/a/110883/109855
Last edited by C-Jon; 31st May 2015 at 02:19 AM. Reason: typo
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes