I need to push a file via ADB.
The pc can see the phone.
Problem is, when I push the file, I get permission denied. (no root).
How can I make temp root and mount the phones system/ as rw?
You need find root or temp root for your phone(google help you).After that in adb use adb su.
Do you have an sdcard ?
You might push it onto.
Related
hi
how does one change folder permissions? i have read that you cam do it with the root explorer app but is there a way to do it on the pc using the sdk? i connected my phone to the pc and issued the adb shell command and then attempted to use the chmod command but got a read only file system message.
dsMA said:
hi
how does one change folder permissions? i have read that you cam do it with the root explorer app but is there a way to do it on the pc using the sdk? i connected my phone to the pc and issued the adb shell command and then attempted to use the chmod command but got a read only file system message.
Click to expand...
Click to collapse
1) If you have ADB setup on your computer, hook your phone into the computer and connect into it via ADB.
2) Once in, "chmod" the directory or file(s) you wish to change permissions for.
IF you don't have ADB:
1) Download a terminal
2) su - to root
3) Change your directory
4) "chmod" to whatever pemissions you want
it means that folder/file you're chmod'ing was mounted ro. you cant change anything if its mounted as ro. to check just enter "mount" and you can see what are mounted as rw, ro etc
yantz
I would also suggest changing it back when you're done. This helps prevent you from accidently overwriting or deleting something and have to reflash if you're rooted.
I have an otherwise stock EVO that I need to remove a file from /data.
Can I do this using adb?
It looks like I need root access to do this?
mount gives "operation not permitted" error. Is this a major undertaking or can I just install a simple package to get me access to this folder?
Maybe it will help if I give more details.
I have my phone connected to my laptop via USB, and am using adb shell to gain shell access to the phone.
If I cd to /data, it looks empty. I know it's not empty, because one of my apps stores data there.
I have read elsewhere that there may be a version of su that I can download and install via adb push. Could I use this to gain root access via adb shell and then use that to remount the /data file system so that I could modify files there?
It just occured to me that maybe I could use adb push to overwrite the files. I'll look into that too, but I'm sure I would get permission problems with that too.
I just unlocked my bootloader and rooted my phone. But, I'm still not able to see system files or access the root directory or run various commands like SUFBS or mount from adb.
Does anyone know what I can do to get these permissions?
adb shell
root
root: permissions denied
type su first
Aro2220 said:
I just unlocked my bootloader and rooted my phone. But, I'm still not able to see system files or access the root directory or run various commands like SUFBS or mount from adb.
Does anyone know what I can do to get these permissions?
adb shell
root
root: permissions denied
Click to expand...
Click to collapse
try with su permissions:
Code:
adb shell
su root
And allow su permissions on the phone, when asked...
Neato! Thanks
Hi,
I recently pushed a folder (Download) to the sdcard of my OnePlus One via ADB in recovery. Now, I can't delete any of the files inside that folder via any (root) browser.
How can I fix that?
Thanks.
If you are unlocked, install Root Explorer, or the like, and check the directory permissions. Mine is set to 777, and I can delete it if I wish. Or you can change the permission of the files inside, and delete those, as you wish.
There are likely adp commands, as well. Perhaps someone will show with that know-how.
I tried that, though it unfortunately doesn't work via root browser.
I'll try it via adb later today.
adb remount (to gain rw-access to root partition)
adb shell rm -f <path to file> (to delete the apk)
Hi
I have a elephone G9. this phone came in a strange situation.
the "su" script which should be in "/system/xbin" to let superuser work is in "/custom/xbin".
I tried to move it with adb but I couldn't find any way to mount system folder as RW without root.
any attempt to remount it like "adb remount" ends in something like permission denied.
If there is any way to mount system as rw in adb without already having root or any other way to do the job, please answer me.
Thank you.
To anyone who has the same problem (probably with another elephone) the su script in /custom/xbin is executable by adb shell. so execute it and then do other stuff needed to root.
if needed further instructions feel free to ask.