I'd like to try out ChainFire's SuperSU as I've heard good things about it...
I'm curious if I can just replace the SuperUser.apk in the root from recovery zip from Team Epic, put SuperSU.apk in its place and change the updater-script to install it, or if there is something else that I am totally missing..
Pretty new at all of this and want to make sure it'd work properly before I try it. :good:
no just install supersu
Install SuperSu, run it once, then delete the SuperUser.apk from /system/app. SuperSu will take over from there.
Thanks for the quick replies.
Related
Ok, so I must admit I am still learning stuff. I have a deodexed KA5 that I would like to post but have been unable to add root to it. I have the su binary in /system/bin and the superuser.apk in /system/app, but when I flash the rom in recovery I get an su symlink error and the installation aborts. Any help would be appreciated. Thank you.
I may not be able to help, but if you post it... we can download and look in there.
I think I might have got it figured out. It has to do with how the update-script is set up and they weren't matching up. Gonna try repacking this and giving it another go. Really want to get this out to ppl.
Yay it boots!
is it odexed or deodexed?
Also, you need the su binary in /system/bin but it also needs to symlink to /system/xbin.
If you're doing an odexed rom, the recent releases haven't had enough room to add root and install busy box and keep everything the same. So you'll need to remove some bloat from the system file (which you can add to the data file) in order to have root with busy box.
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..
Hi all. As flashing SuperUser via CWM doesn't give an uninstall option, would it be better to install
it from the Play Store, or is flashing better for some reason.
Thanks.
I think flashing is better because:when you root your Tab,in addition to Superuser you inject a file named "su" in the folder "bin" of your OS,but if you install Superuser you must put that file there manually...but there is a way:in the flash able zip remove the Superuser APP,and after flashing install Superuser or SuperSU according to your OS.
arashtarafar said:
I think flashing is better because:when you root your Tab,in addition to Superuser you inject a file named "su" in the folder "bin" of your OS,but if you install Superuser you must put that file there manually...but there is a way:in the flash able zip remove the Superuser APP,and after flashing install Superuser or SuperSU according to your OS.
Click to expand...
Click to collapse
Thank you.
I flashed CWM, and then installed SuperUser via Play, but it didn't work. I didn't know about the "su" file.
So I uninstalled SuperUser, and flashed the file I had on hand, which is SuperSU.
Worked like a charm and everything is working.
Got an "update available" message this morning, which was for SuperSU. Updated, and all is well.
Thanks again!
A coworker of mine has an HTC ONE m7 on att and its oem unlocked, rooted, custom recovery installed. Everything else is stock. He recently wanted to unroot it and I tried to help, but everytime we removed the su binaries and apk they would just reappear.
I suspect this is because I was in a su shell to access these parts of the system, I thought a zip would be best so he wouldn't need me around to drop to shell and remount FS/etc.
I shamelessly took koush's original superuser.zip file and just modified the updater-script(he actually just uses updater-binary) and made it NOT copy all the new superuser stuff over, but left his code to clear out the existing superuser stuff.
I removed the extraneous files since I wasn't going to be copying them over as well.
Hope this is helpful
-J
Well I got access to an HTC ONE m7 on att this morning and this zip works fine. So if anyone was having issues actually removing superuser and the su binaries because they wanted to do something crazy like apply the stock OTA update, you can flash this, then flash your stock recovery back and you should be good to go assuming you're all stock.
I rooted my OF1 gs4 via kingo root, which you can find here: https://www.kingoapp.com/ . I use this app since king root doesn't work on my phone. What happens is that the app installs its own Superuser and when i install Supersu from the playstore it fails to update the binary. The strange thing is that i have used this app many times before, and it has worked every single time, except this time. I don't get it -.- . HAAAAAAAAAAAAAAAAAAAAALP (i need supersu to install flashfire since it doesn't work with these other superuser apps :crying: )
I'm having the same problem. The instructions say to replace /system/xbin/su but not where to get it from. I've tried safestrap (won't enable). I use root explorer to manage files. Have tried terminal emulator scripts, installing binary manually, a few more things and I keep running into the same basic issue. I can't get supersu updated.
I have a vzw gs4 i545 of1
Gremiken said:
I'm having the same problem. The instructions say to replace /system/xbin/su but not where to get it from. I've tried safestrap (won't enable). I use root explorer to manage files. Have tried terminal emulator scripts, installing binary manually, a few more things and I keep running into the same basic issue. I can't get supersu updated.
I have a vzw gs4 i545 of1
Click to expand...
Click to collapse
http://forum.xda-developers.com/gal.../root-rid-kingroot-king2suv2-0-t3361601/page4
Try this, it helped me root on OF1
I've got root. It's getting supersu to update. Or even to replace the su file manually. I can find the su file but nowhere can I find the Su file. The caps make a difference right?