Page 1 of 1

rw on data directory

Posted: Mon Sep 26, 2011 7:47 pm
by eve79nj
I got read write access to the data directory now what
?

Re: rw on data directory

Posted: Tue Sep 27, 2011 7:12 am
by myshyak
Try to start adblock or any other app that needs root.
Laso would appreciate describing the way

Re: rw on data directory

Posted: Tue Sep 27, 2011 8:09 am
by havikx
eve79nj wrote:I got read write access to the data directory now what
?

How did you do that?

Re: rw on data directory

Posted: Tue Sep 27, 2011 9:59 am
by davpel
Yes, please let us know in detail how you accomplished this!

Re: rw on data directory

Posted: Tue Sep 27, 2011 6:34 pm
by eve79nj
adb root
adb connect x.x.x.x
adb shell
chmod -R 777 /data

also i found it works on several other files and sub-directories on user debug 3.1 sys, dev, var, etc

but i can't get rw access to the system directory(which i believe is the key)....i am a novice...i know more about makeup than linux

Re: rw on data directory

Posted: Thu Sep 29, 2011 8:44 pm
by cj_000
eve79nj wrote:adb root
adb connect x.x.x.x
adb shell
chmod -R 777 /data

also i found it works on several other files and sub-directories on user debug 3.1 sys, dev, var, etc

but i can't get rw access to the system directory(which i believe is the key)....i am a novice...i know more about makeup than linux
Yes, and sadly, unless replacing or modifying the kernel you can't, since the kernel forces ro upon system and the mtdblock it's on.

Re: rw on data directory

Posted: Fri Sep 30, 2011 8:40 pm
by Chinpokomon
eve79nj wrote:adb root
adb connect x.x.x.x
adb shell
chmod -R 777 /data

also i found it works on several other files and sub-directories on user debug 3.1 sys, dev, var, etc
Do those changes persist restarts? I was under the impression you'd need to change the mount R/W status. The file attributes are independent of that. You may just be changing the inode structure so that you are modifying a shadow copy.

Re: rw on data directory

Posted: Sun Oct 02, 2011 9:22 am
by mcd2000
Little offtopic: could someone with UserDebug firmware, please, post the list of files in /lib directory? Like:
adb connect x.x.x.x
adb shell
ls /lib

Thanks!