I have a G3 with CM13 installed. For some reason, I recently moved the SU file from system/xbin to system/bin. because of that, I've lost root access and I can't find a way to put the file back in xbin without root. Is there a way to do it?
I've tried with the android terminal and with adb on my computer but with no success.
Related
Hi,
i have Rooted my desire using standard unrevoked 321,
confirmed working in adbshell.
Installed superuser and Root explorer
Granted Root explorer rights in superuser
Went in to the root explorer.
Went to my desired location to delete in this case ringtone files to clear valuable space. System/media/ blabla
enabled r/w and deleted the files i wanted.
Now i come to the point that when i either press back and disable r/w or just exit the explorer in all my desire resets and the ringtones are back in place.
It seems that i dont get full control even though i have this confirmed using the Su and id command in sdb shell
Any clearafication would be much apreciated.
Regards
kevincombo said:
Hi,
i have Rooted my desire using standard unrevoked 321,
confirmed working in adbshell.
Installed superuser and Root explorer
Granted Root explorer rights in superuser
Went in to the root explorer.
Went to my desired location to delete in this case ringtone files to clear valuable space. System/media/ blabla
enabled r/w and deleted the files i wanted.
Now i come to the point that when i either press back and disable r/w or just exit the explorer in all my desire resets and the ringtones are back in place.
It seems that i dont get full control even though i have this confirmed using the Su and id command in sdb shell
Any clearafication would be much apreciated.
Regards
Click to expand...
Click to collapse
You need to have S-OFF in order to delete those files that come with the phone.
Check this http://alpharev.shadowchild.nl/ and http://forum.xda-developers.com/showthread.php?t=794314
Once you do this it should not be a problem at all to perform what you want to.
And the alpharev method is reliable and fast
clearing files in any /system/ directory wont give you any space anyway!!! only files in the /data/ directories will
You might also like to try cache for root users. It deletes all cache files
Thans for that. Im going to tinker around with these options
sent mobile
I deleted the app with titanium backup and didn't back it up. Now I want it back and don't feel like flashing Ava9 rom again. I tried copying the stock APK from the rom and pasting it on system/apps folder with root explored and it won't install after I open it.
Any idea on how I can restore it.
I'm having a similar problem w/ mail.apk. I did however make a Ti Backup first, but now it is gone. I tried installing mail.apk from the OTA 2.2 update, but it fails.
Will simply dropping the apk and odex in /system/apps work?
Sorry for the hijack, but I'm guessing the solution will be the same for both of us.
edits:
I've tried the root options in ES FileExplorer, but that doesn't seem to work.
adb push tells me "Read-only file system"
adb remount gives "remount failed: Operation not permitted"
adb root says "adbd cannot run as root in production builds"
How can I make /system writable?
Hi everyone,
I've successfully rooted me GSM Desire and am running CyanogenMod 7 (I also installed Redux v.1.1.1 and CyanogenMod 6.1 without any problems). For some reason, though, the /system and /data directories still seem to be read-only. In Root Explorer it seems to let me rename files in those directories and says "Rename Successful," but if when I leave the directory and come back the file is back to its original name. I also can't move any files there. When I use ES File Explorer it just says "Sorry, operation failed!"
I have enabled "Mount R/W" in Root Explorer and "Mount File System" in ES File Explorer but nothing seems to work. Is there some extra step to making these directories writable that I have missed?
Hi there, you need to have s-off (aka security off or full root) to write to /system and /data with the device booted, i.e. using root explorer etc.
You can also do it with s-on, but you have to to that with your PC via cmd prompt and adb shell which is less convenient.
Great guide to getting s-off here, took me <10 mins!
http://forum.xda-developers.com/showthread.php?t=794314
Yeah, that did it. Thanks!
I used the post to install the one click root for the samsung epic 4g (sprint), and it appears to have worked. However - after entering root explorer, only some of the directories allow me to edit files. I click the remount as r/w button but nothing happens. Any thoughts?
sedric1 said:
I used the post to install the one click root for the samsung epic 4g (sprint), and it appears to have worked. However - after entering root explorer, only some of the directories allow me to edit files. I click the remount as r/w button but nothing happens. Any thoughts?
Click to expand...
Click to collapse
Are you sure you granted root permissions to root explorer when it first ran? Run the superuser app from the app drawer and see if root explorer is on the list of apps that are allowed root permission.
I just tried v2.17.2 and it works fine. I tried changing the permissions on /system/xbin/busybox, it said filesystem mounted ro, then I press the mount rw button and redid the permission change, this time it worked no problem.
Thanks for your response-
yes, when i ran root explorer it asked if i wanted to grant superuser and i said yes. some folders allow it to remount, but - say the /system/bin folder - it doesnt allow it at all.
for further background, i used the automated instructions here for my root:
http://forum.xda-developers.com/showthread.php?t=1342728
i did option A like 5 times and also did option C (as i have EK02).
When opening root explorer it tells me that i have super user permissions. one thing to note- if i go to /system/xbin, i do not see a busybox directory. is there something else i should be installing?
in fact, i cant mount anything under the system directory or sub directories, but above that, i was able to change to r/w mode. i could also mount the /vendor directory right beside the /system directory...
If you were able to remount "/" as r/w then the problem isn't with root. That is basicly an "I'm a little bit pregnant situation" Either you are or you aren't.
Now if you weren't able to get root in the first place, then I'd look at the root.
As to busybox, there is no directory. There should be a file /system/xbin/busybox Also there should be a bunch of symlinks from various apps it supports to busybox.
I see - yea i did validate that busybox is not allowing for a mount or any type of change on that file/directory including busybox but the file is present. any suggestions on what else may be locking down this system directory?
I don't know if root file explorer is implemented it's own concept of ro/rw to protect you from making mistakes or it is using the system facilities. If it is using the system facilities, then once you remount /system as rw, then everything under /system is automatically rw. It is all the same partition.
I would try it from "adb shell" (do not type $ or # symbols)
Code:
$ su
# mount -o remount,rw /system /system
# cd /system/xbin
# chmod 755 busybox
If it lets you do that with no errors, then you have remounted /system/xbin as rw and the problem is with root file explorer. For that, you'd have to check with them or someone more well-versed in why that might be failing.
i appreciate your help
I went off googling the adb stuff/installed it and java's jdk stuff. then figured out how to run that adb shell stuff and validated that it worked (permissions were changed in places that this app didnt allow). knowing that the problem is actually with root explorer helps a ton.. as I just assumed it was working
aruangra said:
This approach works with non-smart keyboards.
1. Install your preferred keyboards from Market
2. Use ES file explore (with Root feature and RW mount enabled in the advanced setting) or use Root Explorer to copy the keyboard .apk file from /data/app to /system/app
3. Reboot and select the keyboard by pressing and holding at any text input box.
4. (optional) Sideload and install "Nookcolor Tools" from http://forum.xda-developers.com/showthread.php?t=868366. You will have an option to set keyboards.
So far this method does not work with
- SlideIt
- Thumb keyboard (thanks fr4nk1yn)
Click to expand...
Click to collapse
I have neither a /data/app folder nor a /system/app folder... My KF is rooted (I'm successfully using the Google Play store, permanent Live Wallpapers and Avast Mobile Security Anti-Theft with root access) so I don't really understand why I am missing those folders. I can even create them without any complaints by Windows, there are no hidden objects. Did the 6.3.1 update change the folder structure?
Can anyone help me?
Okay, while I have still no possibility to access the root level via Windows, I managed to access it with the ES File Explorer (I had to change a setting to make the root level visible).
Now I have a /system/app folder and a /data folder - but unfortunately no /data/app folder; the /data folder is empty!
Furthermore I cannot copy APK-files in the /system/app folder. I get informed that the copy process failed, if I try to. Shouldn't normally a popup of the Superuser app show up with the option to grant root access?
I'm looking forward to any help! Thanks in advance.
I don't like to push threads, but... is there really no one able to help me?
When all else fails, reinstall the ROM.
Uhm, I did not install a custom ROM. Or do you mean, that I should reinstall the stock ROM?
Oh, in that case, I'm sure its your ES File Explorer that is messed up. If you have Terminal Emulator, you can check to see what directories you actually have. Enter:
ls /system
...and...
ls /data
I'll be willing to bet you they are still there.
$ export PATH=/data/local/bin:$PATH
$ ls /system
lost+found
app
bin
build.prop
etc
fonts
framework
lib
media
tts
usr
vendor
xbin
$ ls /data
opendir failed, Permission denied
$
That's what Terminal Emulator says...
How is it possible that I can open /system without having permission for /data?
Type :
$ su
$ ls /data
Envoyé depuis mon GT-I9000 avec Tapatalk
Thanks a lot! I now can see the contents of /data via Terminal Emulator.
But how can I grant superuser permission to ES File Explorer?