Help: Rooted tablet but can't delete file in /system no matter what I do. - Android Q&A, Help & Troubleshooting

I rooted my strange tablet using Kingo and apparently it was succesful:
http://i1312.photobucket.com/albums/t539/talos910/Screenshot_2015-09-11-17-08-20_zpsurdgzj8p.png
But I have been trying for days to erase a file in /system and I have not been able to do it, I think I have read every relevant thread about this problem but no luck, I tried using ES and changed /system to r/w in the root options but when trying to delete the file all I get is operation failed, the same happens with all the other root explorers and tools. I even tried the solution on this thread: http://forum.xda-developers.com/ascend-p7/help/edit-replace-write-files-set-immutable-t2884172
but still can't delete it.
Also the app root toolkit for android gives me this weird error too:
http://i1312.photobucket.com/albums/t539/talos910/Screenshot_2015-09-11-17-08-06_zps4nrxqiev.png
http://i1312.photobucket.com/albums/t539/talos910/Screenshot_2015-09-11-17-08-02_zpsa1ycwdwl.png

Do you have an app like root explorer that specifically asks for root permissions? It doesn't matter if you have root if the explorer can't use it
Sent from my Nexus 5 using Tapatalk

Yes all the file manager apps I used always ask for root permission, that is the problem they have root permission but still can't delete the file, which is weird because I can use apps that definitely need root like scr screen recorder and greenify just fine.

Try installing root explorer and then attempt to delete the file, then it should instantly open a window asking for root. The of course grant the permission. That should always work, but if it doesn't just restart the tablet, if it still doesn't work it must mean you are deleting a file that is in use by the system. Otherwise i have no idea whats wrong
Sent from my Nexus 5 using Tapatalk

Talos91 said:
Yes all the file manager apps I used always ask for root permission, that is the problem they have root permission but still can't delete the file, which is weird because I can use apps that definitely need root like scr screen recorder and greenify just fine.
Click to expand...
Click to collapse
What recovery did you install...twrp, cwm, philz?
Sent from my Nexus 6 using Tapatalk

JMink said:
What recovery did you install...twrp, cwm, philz?
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
Rooted my device using kingo root, I didn't intall other recovery.

Bad idea to try and remove system files without a custom recovery and a nandroid backup made and stored in a safe spot. What are you trying to remove?

I am trying to delete /system/sbin/su because I read in another thread this was the solution to fixing the issue of the app supersu not updating binaries when rooting your device using Kingo.

Talos91 said:
I am trying to delete /system/sbin/su because I read in another thread this was the solution to fixing the issue of the app supersu not updating binaries when rooting your device using Kingo.
Click to expand...
Click to collapse
That is the binary. If you remove it, you wouldn't be rooted. Can you link the thread you are looking at? There's an app made specifically for replacing that su binary with SuperSU and it's binary called Super-SUme, though I believe it is a paid app.

I know it is the binary but according to this guy:
http://forum.xda-developers.com/apps/supersu/support-update-failures-t2907365/page23
(post 223)
""It appears kango wrote to /system/sbin/su whereas supersu wrote /system/xbin/su and subsequently supersu would keep wanting to update 'su' then fail.
The long and the short of it is once I manually removed /system/sbin/su supersu stopped telling me 'su' was outdated. I don't know android but I do know linux.
$PATH on my tablet has /system/sbin/ prior to /system/xbin/ so it would appear supersu is issuing 'su -V' as opposed to '/system/xbin/su -V' when it checks the version. The kingo 'su' was older than the supersu 'su'.
Dunno what the solution is 'cos the older 'su' is going to get called first & I figure there's nothing but trouble to be gained from changing $PATH globally. Nevertheless it might be enough to check $PATH for unwanted 'su' and flag them, possibly offer to remove them? In my case I renamed it "/system/sbin/su.ORIGINAL" so that it's still runnable in an emergency"""

If you rename it, it won't be able to run, and won't require removal.

That's the thing I can't rename the file either for some reason. Using es and other root explorers doesn’t work.

Talos91 said:
That's the thing I can't rename the file either for some reason. Using es and other root explorers doesn’t work.
Click to expand...
Click to collapse
Seems like the SU binary that Kingroot included is pretty finicky and only works for some things. I've rooted 100s of devices and have never had issues like that. Have seen complaints about other various oddities with Kingroot too. It's nice that it's easy and works on a variety of devices, but if you have only limited control then that kind of defeats part of the purpose of rooting it...

Tried using SuperSUme but the app says I am not rooted with Kingo? wtf? Do you guys know of any other reason why i can't erase the system file sbin/su?

Talos91 said:
Tried using SuperSUme but the app says I am not rooted with Kingo? wtf? Do you guys know of any other reason why i can't erase the system file sbin/su?
Click to expand...
Click to collapse
With Root Explorer, does it let you set the system to R/W? There's a little button at the top of the app that will say R/O or R/W for Read Only or Read Write. If you don't have R/W to the system, then you are unable to make changes to it.

I just renamed file su and then it became able to be deleted.

Talos91 said:
Tried using SuperSUme but the app says I am not rooted with Kingo? wtf? Do you guys know of any other reason why i can't erase the system file sbin/su?
Click to expand...
Click to collapse
Connect your android tablet device to your windows computer. Then enable usb debugging on your android tablet. Then open the windows program called cmd. Then do these commands.
Code:
adb root
Code:
adb remount
Code:
adb shell rm /system/sbin/su

Related

Help Needed With Root Explorer (Root folder in general )

Hi everyone.
I have just rooted my xperia x10a and in terminal after hitting whoami I get UID 0. I tried root explorer and it showed me the root directory with all the files and then I think I did something wrong. I went to terminal to try out some stuff and after using the command cd /data/app-private I can no longer see the root directory files. I don't know if that command and this are related issues but my knowledge is limited in this field. I have superuser installed and titanium backup works well and shows all my apps so I'm not sure what's up. Superuser shows that root explorer has UID 0 root access and I get the r/w option in root explorer but root directory shows up empty. Please someone clear this up for me. Any help at all is much appreciated.
Edit:
After digging some more it seems that root explorer does show me the contents of the data folder that astro can't see. I'm just confused as to why I can't see the contents of the root folder.
Thanks for your help.
Sent from my SO-01B using XDA App
theMaDHakkeR said:
Hi everyone.
I have just rooted my xperia x10a and in terminal after hitting whoami I get UID 0. I tried root explorer and it showed me the root directory with all the files and then I think I did something wrong. I went to terminal to try out some stuff and after using the command cd /data/app-private I can no longer see the root directory files. I don't know if that command and this are related issues but my knowledge is limited in this field. I have superuser installed and titanium backup works well and shows all my apps so I'm not sure what's up. Superuser shows that root explorer has UID 0 root access and I get the r/w option in root explorer but root directory shows up empty. Please someone clear this up for me. Any help at all is much appreciated.
Edit:
After digging some more it seems that root explorer does show me the contents of the data folder that astro can't see. I'm just confused as to why I can't see the contents of the root folder.
Thanks for your help.
Sent from my SO-01B using XDA App
Click to expand...
Click to collapse
I think that the 'root' folder has always been empty, even on my old rooted phone.
Thank you for clearing that up. I was almost certain it had something in there before but I'm not surprised if I'm wrong or simply didn't pay attention. Anyway thanks again for taking the time to reply.
Sent from my SO-01B using XDA App
theMaDHakkeR said:
Thank you for clearing that up. I was almost certain it had something in there before but I'm not surprised if I'm wrong or simply didn't pay attention. Anyway thanks again for taking the time to reply.
Sent from my SO-01B using XDA App
Click to expand...
Click to collapse
Also keep in mind that Astro is not working with root permissions. In reallity each application is working with it's own permissions that can be compared to a normal user, not superuser. Some applications request specifically superuser or root permissions which can only be granted on a rooted phone.
So basically a normal app won't use root and will therefore see less than an app that actually knows to and uses root.

how do i use super su instead of superuser???

is there any way to use the new super su instead of superuser?? how do i get rid of the superuser app?? thanks!
Install SuperSU from the market, then run it a popup will come up asking to update binary say yes.
Then use a file manager to go to /system/app and delete SuperUser.apk
After that the system will use supersu for everything asking you to grant permission just like superuser.
smokin1337 said:
Install SuperSU from the market, then run it a popup will come up asking to update binary say yes.
Then use a file manager to go to /system/app and delete SuperUser.apk
After that the system will use supersu for everything asking you to grant permission just like superuser.
Click to expand...
Click to collapse
good looks bro.. worked perfect!!!!
evod3 said:
good looks bro.. worked perfect!!!!
Click to expand...
Click to collapse
Simply , you should have went to the official xda thread of super su by chain fire and should have flashed the zip. The zips removes the super user and replace it with super su
evo401 said:
is there any way to use the new super su instead of superuser?? how do i get rid of the superuser app?? thanks!
Click to expand...
Click to collapse
Here is how I replaced SuperUser with SuperSU. It is really easy to do!
Just follow the steps and you'll be up and running with SuperSU in a couple of minutes!
If you do not have "Root Explorer", any file manager with Root access will work.
Just make sure that it has Write access to the System partition. Even when in
Root Explorer, I think you have to turn this feature on. Not sure. Just check.
1) Use Root Explorer and delete SuperUser.Apk from the /system/app folder.
2) Go to the Android Market and download and install Super User.
3) Use Root Explorer again and delete SU from /system/bin.
4) Go to the Market and uninstall Super User.
5) Go to the Market and install SuperSU & Pro Key.
Zeuszoos said:
Here is how I replaced SuperUser with SuperSU. It is really easy to do!
Just follow the steps and you'll be up and running with SuperSU in a couple of minutes!
If you do not have "Root Explorer", any file manager with Root access will work.
Just make sure that it has Write access to the System partition. Even when in
Root Explorer, I think you have to turn this feature on. Not sure. Just check.
1) Use Root Explorer and delete SuperUser.Apk from the /system/app folder.
2) Go to the Android Market and download and install Super User.
3) Use Root Explorer again and delete SU from /system/bin.
4) Go to the Market and uninstall Super User.
5) Go to the Market and install SuperSU & Pro Key.
Click to expand...
Click to collapse
Wrong! Now you cannot grant root access to any app since you don't have the binary.
If you do the 3rd step you will lose root and you will have to root your phone again from recovery.
The correct step should be to just download supersu from play store and update the binary then remove the old superuser apk as smokin1337 said. Your steps are lengthy and will never work.
Or just flash the zip file.
Zeuszoos said:
Originally Posted by Zeuszoos
Here is how I replaced SuperUser with SuperSU. It is really easy to do!
Just follow the steps and you'll be up and running with SuperSU in a couple of minutes!
If you do not have "Root Explorer", any file manager with Root access will work. Just make sure that it has Write access to the System partition. Even when in Root Explorer, I think you have to turn this feature on. Not sure. Just check.
1) Use Root Explorer and delete SuperUser.Apk from the /system/app folder.
2) Go to the Android Market and download and install Super User.
3) Use Root Explorer again and delete SU from /system/bin.
4) Go to the Market and uninstall Super User.
5) Go to the Market and install SuperSU & Pro Key.
Click to expand...
Click to collapse
mnomaanw said:
Wrong! Now you cannot grant root access
to any app since you don't have the binary. If you do the 3rd step you will
lose root and you will have to root your phone again from recovery.
The correct step should be to just download supersu from play store
and update the binary then remove the old superuser apk as smokin1337 said.
Your steps are lengthy and will never work.
Click to expand...
Click to collapse
First off, I don't understand the hostility.
Secondly, I'm not the one who's wrong. You are, sir. And I find it pretty arrogant for someone to be so rude and make such a statement to someone as if iwhat they're saying is a fact, when the person they're commenting to just finished stating that they had already done it. Don't ya think?
Or did you not read the part where I said, "This is how I DID IT."???
In fact, I had just finished performing these same steps on my "Samsung Galaxy Note 2" and my "Samsung Galaxy Galaxy Tablet", not an hour before I posted them here and guuess what? I have Root access on both and no recovery was necessary!
Now you can continue making the same claim if you wish. Or you can acknowledge that "I did it successfully" outranks you saying "it won't work".
The steps I posted above work just fine. You don't have to worry about losing Root access when you boot your device, because you never reboot your phone before SuperSU is on it and you have the binary installed again. I mean, what do you think SuperSU puts on your phone? Could it be a binary, hello??? <lol>
Of course, the one thing to note is whether you have it installed in /bin or /xbin. If you don't find "su" in /bin then you now know where to look.
Zeuszoos said:
First off, I don't understand the hostility.
Secondly, I'm not the one who's wrong. You are, sir. And I find it pretty arrogant for someone to be so rude and make such a statement to someone as if iwhat they're saying is a fact, when the person they're commenting to just finished stating that they had already done it. Don't ya think?
Or did you not read the part where I said, "This is how I DID IT."???
In fact, I had just finished performing these same steps on my "Samsung Galaxy Note 2" and my "Samsung Galaxy Galaxy Tablet", not an hour before I posted them here and guuess what? I have Root access on both and no recovery was necessary!
Now you can continue making the same claim if you wish. Or you can acknowledge that "I did it successfully" outranks you saying "it won't work".
The steps I posted above work just fine. You don't have to worry about losing Root access when you boot your device, because you never reboot your phone before SuperSU is on it and you have the binary installed again. I mean, what do you think SuperSU puts on your phone? Could it be a binary, hello??? <lol>
Of course, the one thing to note is whether you have it installed in /bin or /xbin. If you don't find "su" in /bin then you now know where to look.
Click to expand...
Click to collapse
Oh ok I did not want to sound rude sorry.
I was under the impression that deleting su binary will not allow the supersu to install its su binary, but yeah if you have mounted the system rw then supersu should be able to install the binary. And your method should work without doing the 2nd and 4th step I guess. If you have more devices then maybe give it a try without doing 2nd and 4th step.
mnomaanw said:
Oh ok I did not want to sound rude sorry.
I was under the impression that deleting su binary will not allow the supersu to install its su binary, but yeah if you have mounted the system rw then supersu should be able to install the binary. And your method should work without doing the 2nd and 4th step I guess. If you have more devices then maybe give it a try without doing 2nd and 4th step.
Click to expand...
Click to collapse
No problem.
As for mounting it read/write, yes, that does need to be done. I should have included that. Thanks for noting it.
There is a utility that will mount your system partition as writable when you boot it up. It's called "mount r/w" or something like that. It's in the Google Play Market. I think it has an icon of a yellow folder with a lock, or something like that. Most people recommend against doing that and if you don't want to do it that way, as I'm sure you know, root explorer can mount it writable until you tell it not to, or reboot..

[Q] Lost root, can't restore it

I installed the leaked ICS update, but I have apparently lost root. I tried using Voodoo, but it just says that it has been denied Superuser permissions and that there is no root backup available.
So I tried just plain rooting it using the Motofail method again, to no avail. It says that it is successful in completing the exploit.
However, no matter what app that requires root that I open, it says that the app has been denied Superuser permissions without even prompting me. Root checker says I am not rooted.
I went into the Superuser app, and I went to update the SU Binary. It says that Superuser has been granted Superuser permissions. But then it fails out at the end and says "This updater cannot update the su binary on phones that have some kind of write protection like S-ON. You can continue to use Superuser with your outdated binary, or update su with ROM manager."
I shouldn't even need to update the binary though, since it says I have the latest one installed.
What can/should I do? It's getting kind of annoying not having root on my phone.
Something along the same line happened to me too bro,I also made a thread about it but to no avail:-/ if you find something out,let me know and I'll do the same.
Sent from my DROID RAZR using xda premium
kevintstephens said:
I installed the leaked ICS update, but I have apparently lost root. I tried using Voodoo, but it just says that it has been denied Superuser permissions and that there is no root backup available.
So I tried just plain rooting it using the Motofail method again, to no avail. It says that it is successful in completing the exploit.
However, no matter what app that requires root that I open, it says that the app has been denied Superuser permissions without even prompting me. Root checker says I am not rooted.
I went into the Superuser app, and I went to update the SU Binary. It says that Superuser has been granted Superuser permissions. But then it fails out at the end and says "This updater cannot update the su binary on phones that have some kind of write protection like S-ON. You can continue to use Superuser with your outdated binary, or update su with ROM manager."
I shouldn't even need to update the binary though, since it says I have the latest one installed.
What can/should I do? It's getting kind of annoying not having root on my phone.
Click to expand...
Click to collapse
Try this on ics terminal
Code:
./system/su-backup
mount -o remount,rw /dev/block/system /system
rm /system/bin/su
ln -s /system/su-backup /system/bin/su
Sent from my XT910 using Tapatalk 2
This also happened to me, and ive had no luck rooting either. I used the terminal trick and it says theres nothing to recover i su.
mcnabb311 said:
This also happened to me, and ive had no luck rooting either. I used the terminal trick and it says theres nothing to recover i su.
Click to expand...
Click to collapse
Of course, you need a su bkp first.
Here's mine
http://db.tt/L9TLf2xg
Cheers
Sent from my XT910 using Tapatalk 2
Thanks alot, i must try this.
---------- Post added at 07:46 PM ---------- Previous post was at 07:14 PM ----------
So if you dont have root access, will the terminal move the unzipped su file? How can you apply this to your sysytem? Voodoo doesnt give you options to search for the file either. Of course, nothing has superuser permissions without root either. I guess Im too much of a n00b.
Same here
Na dude its not noobish,im tryna figure out everything myself,I've been flashing since the hd2,so i know a couple things but this is just mind boggeling lol
I'm at a loss. I've downloaded your su-backup file, but I don't know how to move it to the /system folder, as it is write protected, and I don't have root to bypass that. And whenever I tried typing things in using the terminal, it just denied everything.
kevintstephens said:
I'm at a loss. I've downloaded your su-backup file, but I don't know how to move it to the /system folder, as it is write protected, and I don't have root to bypass that. And whenever I tried typing things in using the terminal, it just denied everything.
Click to expand...
Click to collapse
You can't move this file to system folder because you have a non-rooted device. Be patient, we are working hard on that....

[Q] File Manager Mount r/w

Ok, so, I am a bit of a noob to tablets and linux in general. I ran a linux desktop for a few years with minimal terminal exposure. I got the new HP slate 7 1800 for Christmas, and proceeded to root it. I had success with the TwerkMyMoto exploit. RootChecker has verified the root job a success.
My only complaint with this tablet is that with the TeamViewer app, I cannot access my external SD card. I understand that this type of issue is a complaint of many. I assumed it was a permissions issue, and according to some other threads, I was correct. Modifying /system/etc/permissions/platform.xml should require / to be remounted r/w. I have SuperSU installed, and using FX Explorer with Root addon, I can't seem to get the remount accomplished. Can anyone make a recommendation?
Also, BusyBox Free is installed to /system/xbin. After installation, can the App be uninstalled?
Thanks
chagmaier said:
Ok, so, I am a bit of a noob to tablets and linux in general. I ran a linux desktop for a few years with minimal terminal exposure. I got the new HP slate 7 1800 for Christmas, and proceeded to root it. I had success with the TwerkMyMoto exploit. RootChecker has verified the root job a success.
My only complaint with this tablet is that with the TeamViewer app, I cannot access my external SD card. I understand that this type of issue is a complaint of many. I assumed it was a permissions issue, and according to some other threads, I was correct. Modifying /system/etc/permissions/platform.xml should require / to be remounted r/w. I have SuperSU installed, and using FX Explorer with Root addon, I can't seem to get the remount accomplished. Can anyone make a recommendation?
Also, BusyBox Free is installed to /system/xbin. After installation, can the App be uninstalled?
Thanks
Click to expand...
Click to collapse
After you install busybox you can uninstall the app if you want. Can't help you with FX Explorer, I've never used it. I've always used Root Explorer and at the top of that app is a button to change from r/o to r/w.
wantabe said:
After you install busybox you can uninstall the app if you want. Can't help you with FX Explorer, I've never used it. I've always used Root Explorer and at the top of that app is a button to change from r/o to r/w.
Click to expand...
Click to collapse
Thanks! Root Explorer actually changes r/w. Let the editing begin!
chagmaier said:
Thanks! Root Explorer actually changes r/w. Let the editing begin!
Click to expand...
Click to collapse
make a backup if you have a custom recovery installed.

[Q] Cannot mount system folders as r/w

Hi,
I'm rooted yet cannot mount system folders as r/w. I am definitely rooted (confirmed by using su command in terminal and the fact apps that require root are working) and noticed this issue when trying to install busybox pro.
It warned me that there was an existing busybox in /sbin and would remove it before trying to install in system/xbin but the installation failed.
I tried to remove busybox from /sbin but the folder would not mount as r/w in root explorer OR solid explorer.
I managed to remove the file in TWRP recovery though.
Weirdly, I've been using titanium backup to uninstall system apps without any issues.
How can I fix this? Repair permissions int wrp?
I presume you followed the same instructions as I. I am on the 621 and currently have the same issue (also rooted). But on my end it is actually worse. I cannot mount the system partition in TWRP either (I mean I can mount it but when I try to delete or move a file I get error messages), and something happened to my download manager (which basically means that for the time being I cannot download apps from Google Play or from the internet, etc). I have a good download manager apk, but when I try to install it it asks me if I want to update the existing app, and the operation fails - I have to try and find a 3rd party alternative for the time being). It is kind of a problem.
(to update, I have very limited r/w permissions in TWRP. If I get lucky I can make small changes.)
WastedJoker said:
How can I fix this? Repair permissions int wrp?
Click to expand...
Click to collapse
I don't think so. I tried this, and I eventually was able to view/attempt to edit file permissions inside of X-plore file explorer (don't know if it is a coincidence, but I first had that success opening X-plore in 'mount system r/w' mode after changing the i/o scheduler to cfq). Anyways, it consistently shows all 755/644 permissions, so the permissions are not being re-written upon boot from what I can gather. But if I try to edit permissions or copy files to System folders, I still got error messages to the effect of "you cannot do this,' even though it is a root file explorer and the system partition is purportedly mounted as r/w.
Try flashing this in recovery: SonyRICDefeat by dosomder.
CubicU07 said:
Try flashing this in recovery: SonyRICDefeat by dosomder.
Click to expand...
Click to collapse
Thank you for this. Has anyone ever tried this on the Z3TC? Mine is running smoothly enough such that I am reluctant to fix what isn't broken. It seems that early issues I had with freezes, TWRP, etc, probably had to do with my SD card and the Android media scanner.
I've tried it on the Z3TC SGP621. Thus the recommendation.
CubicU07 said:
Try flashing this in recovery: SonyRICDefeat by dosomder.
Click to expand...
Click to collapse
I have the exact issue in lollipop and I have tried flashing RICDefeat and I get errors.
Sorry for the Hijack :/
Use my RICDefeat from here and run it from terminal. Works only if you are rooted. Afterwards you should have r/w access.
lowtraxx said:
Use my RICDefeat from here and run it from terminal. Works only if you are rooted. Afterwards you should have r/w access.
Click to expand...
Click to collapse
Do you thing that your zip can be used on a Z1C?
Envoyé de mon D5503 en utilisant Tapatalk

Categories

Resources