Hi Folks,
I recently inherited a Samsung Galaxy S II. (The previous owner upgraded to a Note 3 which soon has to be rooted too! )
To my knowledge this phone was already rooted to upgrade it to JellyBeans before this was officially available from Samsung.
To get to a clean start I went through the recovery mode (VolUp+Home+Power) and initiated a factory reset.
Thereafter I installed Titanium.apk from the SD-card, which tells me now that it can't gain access to the su command. Does this mean I 'unrooted' this phone wit the factory reset and I have to undergo the rooting procedure again?
BTW: After reading through the forum for a couple of days and following link after link, I still have the feeling I went in circles without really finding the basics to build my knowledge upon. Could someone please point me to some information on how to decode or interpret the 'cryptic' Product-, PDA-, Phone-, Modem-Codes (like XXLS7, XWLSD, DBTLS7, etc.)?
Cheers
BitCounter said:
Hi Folks,
I recently inherited a Samsung Galaxy S II. (The previous owner upgraded to a Note 3 which soon has to be rooted too! )
To my knowledge this phone was already rooted to upgrade it to JellyBeans before this was officially available from Samsung.
To get to a clean start I went through the recovery mode (VolUp+Home+Power) and initiated a factory reset.
Thereafter I installed Titanium.apk from the SD-card, which tells me now that it can't gain access to the su command. Does this mean I 'unrooted' this phone wit the factory reset and I have to undergo the rooting procedure again?
BTW: After reading through the forum for a couple of days and following link after link, I still have the feeling I went in circles without really finding the basics to build my knowledge upon. Could someone please point me to some information on how to decode or interpret the 'cryptic' Product-, PDA-, Phone-, Modem-Codes (like XXLS7, XWLSD, DBTLS7, etc.)?
Cheers
Click to expand...
Click to collapse
Su binary missing in system/xbin
Install super user from play store and update su binary.
Select normal method..not recovery
Sent from my GT-I9100 using Tapatalk 2
corruptionfreeindia said:
Su binary missing in system/xbin
Click to expand...
Click to collapse
OK
Install super user from play store and update su binary.
Select normal method..not recover
Click to expand...
Click to collapse
super user is installed.
How do I update the su binary and where do I have to choose the normal method?
Thanks!
super user just tells me that the su binary can't be found.
I now also installed SuperSU.
This app also provides the information about the missing su binary but additionally tells me that SuperSu can't install them and that this is a problem.
Any more ideas?
You could have fixed this 4 hrs ago if you'd flashed a custom kernel.
BitCounter said:
super user just tells me that the su binary can't be found.
I now also installed SuperSU.
This app also provides the information about the missing su binary but additionally tells me that SuperSu can't install them and that this is a problem.
Any more ideas?
Click to expand...
Click to collapse
Uninstall superuser app
Flash philz kernel. (If you are using stock rom)
It will install su binary as well as super user app.
Sent from my GT-I9100 using Tapatalk 2
corruptionfreeindia said:
Uninstall superuser app
Flash philz kernel. (If you are using stock rom)
It will install su binary as well as super user app.
Click to expand...
Click to collapse
Yes, this did the trick.
Thanks a lot.
Related
Hi,
I'm using CM 7.03 on my Legend and it was working really good.
However yesterday i was stupid enough to install an update of superuser.
After this update root access was still functioning but i was getting a "su binary is outdated" message.
So i tried to update this,but the update failed.
So i went into rom manager,downloaded Super User 3 and flashed it,i shouldn't have done this.
After phone booted my root access was gone,and whenever a program asked root access it showed a forced close window of the su app.
My question now is....can i fix this without reflashing the device.
Keep in mind that rom manager isn't working and i can't boot into clockworkmod.
I also tried softrooting in order to gain access to the file system but this also failed.
Any help would be greatly appriciated.
Thanks!
Edit: Just a brainfart,but would it work if i copied the correct superuser version to my goldcard,rename it to update.zip and flash it?
try to update to the latest superuser..
btw.. you are on which cm7?
before this.. im on cm nightly 195.. got some error when updating superuser binary..
but now im on latest cm nightly with updated superuser from market.. successful update the binary through the superuser setting interface..
i had the same problem & was able to fix it after the same steps you've taken by installing the superuser.apk from the flashing-.zip file again. there have been updates of superuser application in the market since, maybe they will fix the problem too...
Rom Manager has the superuser 2.x,too.You can download it and reboot into recovery, flash the bag( at /sdcard/clockworkmod/download/goo-inside.me/superuser/(THE SU YOU WANT TO FLASH).ZIP
Flash it and the root access will back~
ps.It seems cm 7 haven't supported su3.0....About 1 month ago, I flashed the su 3.0 and it always told me access deny...Finally I have to flash the su 2.x back...
About the recovery,you can plug the phone to computer and in recovery mode(HAVE A RED ALERT TRIANGLE), run the recovery-windows.bat( it is in the r3(or 4)-legend-root.zip), and you can flash anything you want.The HTC raw recovery( with only 4 items)cannot flash the su package even with the goldcard....
Sent from my HTC Legend using xda premium
Hi,
thanks for the advice.
I'm gonna try to reflash the correct superuser.zip,that's how i wrecked it in the first place.
Also i didn't know it was impossible to do this with the raw HTC recovery so i will use the suggested batch file.
Thanks a lot guys,i'll come back and post my results.
My fix
Had the same problem on a nightly.
I did just download su-3.0.2-efgh-signed.zip from superuser website and flashed it and then it worked fine after that.
[SOLVED] CM7 lost root access after su update
Well,it isn't going like it should.
I just can't get into recovery.
I'm trying in VMware,running Windows XP (it never worked before on Win 7 x64),i've installed the correct version of HTC sync but when i run recovery-windows.bat (from hack4legend) i just keep getting errors...
failed to copy files etc/mtab.... (file system read only)
--install: applet not found.
nohup: appending....
Can't figure out what i'm doing wrong,it look like it needs root access but that's what i'm trying to fix.
Help?
Edit: Whoops,forgot about the red triangle...i can get into recovery now.
Edit2: Just flashed the correct su.zip and root access is restored!!!
Thanks a million guys!!!!!!
Sorry...but are there any screenshots?
Edit :errr...yes,you must get into the red triangle screen....
Glad to help~
Sent from my HTC Legend using xda premium
scx110a said:
Sorry...but are there any screenshots?
Edit :errr...yes,you must get into the red triangle screen....
Glad to help~
Sent from my HTC Legend using xda premium
Click to expand...
Click to collapse
It worked!
Thank you!
I had a similar problem:I installed the new su version (on cm7).everything worked fine but than I stucked on my boot img. but I have restored my nandroid backup successfully
Sent from my Legend using XDA App
Glad to hear you fixed your problem to.
scx110a said:
Rom Manager has the superuser 2.x,too.You can download it and reboot into recovery, flash the bag( at /sdcard/clockworkmod/download/goo-inside.me/superuser/(THE SU YOU WANT TO FLASH).ZIP
Flash it and the root access will back~
ps.It seems cm 7 haven't supported su3.0....About 1 month ago, I flashed the su 3.0 and it always told me access deny...Finally I have to flash the su 2.x back...
About the recovery,you can plug the phone to computer and in recovery mode(HAVE A RED ALERT TRIANGLE), run the recovery-windows.bat( it is in the r3(or 4)-legend-root.zip), and you can flash anything you want.The HTC raw recovery( with only 4 items)cannot flash the su package even with the goldcard....
Sent from my HTC Legend using xda premium
Click to expand...
Click to collapse
Thanks, same problem with update to cyanogen 7.35 flashed the 2.x and back to root agiain on my legend thanks alot!!!
Im trying just this. But where did you find that su.zip???
edit: ****ing YES! I did flash the: su-3.0.2-efgh-signed.zip and now i have rooot. thanks. im out
I'm running CM7.1 on my ZTE Blade and yesterday i've tried to update both superuser and su (since new versions have been released). The su update failed and now when i try to check the su version it says "Legacy"
If i try to update, the phone stucks at "Getting root privileges" both on Superuser and Superuser Fixer
What should i do?
I've got the same problem on my Xperia X8 with the stock rom, it seems that the problem is that the updating progress fails at a point where the old binary has already been removed, but the new one hasn't been placed yet, leaving you with a non-rooted phone.
Seeing how I've never tried doing some real programming for Android I wouldn't know how to get the new binary in.
I've tried installing an update.zip containing both the full SU with .apk and a version with only the binary, but to no avail.
Trying to reroot my phone using SuperOneClick results in SOC freezing (might be a problem with windows 7, as I have upgraded recently).
If anyone knows a way to fix this issue, I'd be very grateful.
For now I've fixed my problem reflashing the old su and superuser from cwm. You can grab them from downloads.androidsu. com/superuser
CTRL+ALT+DEL said:
For now I've fixed my problem reflashing the old su and superuser from cwm. You can grab them from downloads.androidsu. com/superuser
Click to expand...
Click to collapse
This is the right way to fix it.
So I just download an old version from there and install it using xRecovery?
The binary just being update hour ago. Try to update again.
Accidentally sent from my Google Nexus S using XDA Premium
thom747 said:
So I just download an old version from there and install it using xRecovery?
Click to expand...
Click to collapse
Yes, or any other recovery.
Hi,
I am trying to root my SGS2 and I haven't rooted a phone before. I am using CF-Root and have followed the instructions on:
http://forum.xda-developers.com/showthread.php?t=1103399
That all seemed to work and when I boot my phone I get the yellow triangle, etc. But, according to Root Checker my phone isn't rooted and if I try to run an app that requires root then it doesn't work.
Do I need to do anything other than flashing the CF-Root tar in Odin to root the phone?
I used the following kernel (my phone was previously using LPC so I assume this is correct):
CF-Root-SGS2_BU_VOD_LPC-v5.4-CWM5.zip
I have searched and can't find any answers so hopefully someone here can help.
Thanks,
Jon
flash the same again an this time ull b rooted
as rock23 said reflashing should solve that issue. If you are missing the SU specifically. Then you can install it from the market.
Thanks for the quick replies. I flashed again but it's still not working. Just in case it helps, I flashed a third time but still no luck. Odin seems to run properly and reports success. But Root Checker says:
Superuser: Not found
Busybox: Not found
Su location: Not found
Sudo location: Not found
And if I ran an app that needs root then I am not prompted to allow it, etc, and the app doesn't work. Any suggestions for what I should try?
Install su frm market and update it if not.c an post
Sent from my GT-I9100 using xda premium
Sorry, I might be misunderstanding this, but I can't find su on the market. There are apps like superuser, etc, but I can't find anything that delivers su. Shouldn't that have come with CF-Root or do I install it from somewhere else?
dorsetjon said:
Sorry, I might be misunderstanding this, but I can't find su on the market. There are apps like superuser, etc, but I can't find anything that delivers su. Shouldn't that have come with CF-Root or do I install it from somewhere else?
Click to expand...
Click to collapse
Install super user from here
https://play.google.com/store/apps/details?id=com.noshufou.android.su&feature=search_result
Thanks. I have now installed super user but 'su' is still missing.
In super user preferences it says "Su binary vnull" so I tapped that to get an update. Super user says "New version of su binary found" and I click "Update" but that fails with the error "Failed to find currently installed su binary".
I can't see how I get this su binary.
Flash a different CF root firmware .
Ignore root checker .
Reboot and you should have CWM apk open that and if it works check recovery works .
jje
Thanks, I think I'll have to try a different CF Root kernel because the one that's meant to be for my Kernel definitely isn't installing some of the things that I think it should.
dorsetjon said:
Thanks, I think I'll have to try a different CF Root kernel because the one that's meant to be for my Kernel definitely isn't installing some of the things that I think it should.
Click to expand...
Click to collapse
I dont thik you have to flash different again,
have you opened atleast once the Supe SU application, there is a binary updatin, at your first opening, may be alright after that and a reboot.
I am currently using LPC cf-root on my LP8 rom without any treble....
The weird thing is that I couldn't even find SuperSU on the phone after flashing with CF-Root...I definitely had an insecure kernel but the other things needed for root didn't seem to be there (or at least didn't work). I gave up with CF-Root and tried the root method described on the following link and that worked first time (although wifi then broke until I changed to a static IP):
http://forum.xda-developers.com/showthread.php?t=1501719
dorsetjon said:
Thanks. I have now installed super user but 'su' is still missing.
In super user preferences it says "Su binary vnull" so I tapped that to get an update. Super user says "New version of su binary found" and I click "Update" but that fails with the error "Failed to find currently installed su binary".
I can't see how I get this su binary.
Click to expand...
Click to collapse
I had this problem. No superuser installed after flashing. Couldn't update su binary with superuser. Here is how do you solve this issue:
1) install superuser from market
2) flash manually su binary with cwm http://downloads.androidsu.com/superuser/su-bin-3.0.3.2-efghi-signed.zip
3) open superuser go through prefences and check updates if any.
Sent from my GT-I9100 using Tapatalk 2
So I used the rooting guide at http://forum.xda-developers.com/showthread.php?t=1996389 and found a different superuser/busybox package to use. (don't remember the link right now).
However, whenever I open SuperSU to try to update it, it says installation failed or just reboots. And if I try to use root things for AdFree, it can't find the partition or just restarts.
Is anyone else having this problem or is there a different SU package I should use? My bootloader IS unlocked.
xDexter said:
So I used the rooting guide at http://forum.xda-developers.com/showthread.php?t=1996389 and found a different superuser/busybox package to use. (don't remember the link right now).
However, whenever I open SuperSU to try to update it, it says installation failed or just reboots. And if I try to use root things for AdFree, it can't find the partition or just restarts.
Is anyone else having this problem or is there a different SU package I should use? My bootloader IS unlocked.
Click to expand...
Click to collapse
Ive been using ViperDNA which comes with what seems like a custom SuperUser type of all in it.
But when I origionally rooted my phone, i seem to remember having an issue with SuperSU, and the first time i rooted i said screw it and just installed Superuser without any problems. The second time i rooted, i Installed SuperSU, then had to download Superuser form the Android Market, to update the binary, which updated it for SuperSU, and that solved my problem.
When you try to open an app that needs to use root access, do you get the notification asking for permission?
perhaps the "other" superSU/busybox package that you used didn't properly do what it needed to do?
I see the link on that tutorial is broken, fortunately i have the file that i originally downloaded form that very same tutorial saved to my hard drive, and now uploaded to DropBox if you would like to download it and try flashing this zip while in recovery to see if it gives you a proper root.
I would recommend downloading the above file, and flashing that to see if it helps. I'll try to remember to check back here to see if you posted anything in reply, but let me know if it doesn't work. Ill try to help as much as I can
BigRed35m said:
I would recommend downloading the above file, and flashing that to see if it helps. I'll try to remember to check back here to see if you posted anything in reply, but let me know if it doesn't work. Ill try to help as much as I can
Click to expand...
Click to collapse
I installed your package, and get the same errors before in SuperSU. It wants to upgrade but then force restarts whilst trying.
I then tried the Superuser app by Chainsdd, and I make a little progress?
First, when I try to upgrade, it asks for root from SuperSU and Superuser. Since SuperSU came with the busybox package, I can't uninstall it.
When I first go to the updater, it shows me this: (See attachment 1, I can't do links :S)
After I upgrade it, I am left with this screen: (see attachment 2)
It looks like it reverts back to su v .98 from 1.02?
Either way, as soon as I hit lets do it again, the phone restarts. Did I screw up the unlock/root somehow? In the top left of my fastboot screen it shows ***TAMPERED*** and ***UNLOCKED***
I am using CWM 6.0.2.1
BigRed35m said:
When you try to open an app that needs to use root access, do you get the notification asking for permission?
Click to expand...
Click to collapse
If I do it right when I reboot my phone it usually asks correctly
Thanks again for the help so far!
xDexter said:
I installed your package, and get the same errors before in SuperSU. It wants to upgrade but then force restarts whilst trying.
I then tried the Superuser app by Chainsdd, and I make a little progress?
First, when I try to upgrade, it asks for root from SuperSU and Superuser. Since SuperSU came with the busybox package, I can't uninstall it.
When I first go to the updater, it shows me this: (See attachment 1, I can't do links :S)
After I upgrade it, I am left with this screen: (see attachment 2)
It looks like it reverts back to su v .98 from 1.02?
Either way, as soon as I hit lets do it again, the phone restarts. Did I screw up the unlock/root somehow? In the top left of my fastboot screen it shows ***TAMPERED*** and ***UNLOCKED***
I am using CWM 6.0.2.1
If I do it right when I reboot my phone it usually asks correctly
Thanks again for the help so far!
Click to expand...
Click to collapse
It's difficult for me to troubleshoot when i haven't had to fix this problem since december haha.
The tampered, and unlocked is standard that is what it shows for everyone who unlocked the boot-loader.
So let me get this straight,
Do me a favor, un-install Superuser, download RootChecker from the market by JoeyKrim, And run it, what does it say?
->When you run it, did it ask for permission from SuperSU?
With just the SuperSU installed, if you run a program that requires root permission (For example, RootChecker), Nothing shows up asking if you want to Allow/Deny?
->When you open SuperSU to update the binary, it fails to update and restarts the APP?
With the SuperSU/BusyBox package flashed, when you install Superuser from the android market and try to update the binary, it *appears* to revert back to an older version of the binary?
-> After updating the binary through Superuser (despite the appparent reversion), if you un-install Superuser, and try to run RootChecker, does it work?
Sorry, i know it is a lot and i'm not much help, i'm troubleshooting blindly and from a distance haha.
xDexter said:
So I used the rooting guide at http://forum.xda-developers.com/showthread.php?t=1996389 and found a different superuser/busybox package to use. (don't remember the link right now).
However, whenever I open SuperSU to try to update it, it says installation failed or just reboots. And if I try to use root things for AdFree, it can't find the partition or just restarts.
Is anyone else having this problem or is there a different SU package I should use? My bootloader IS unlocked.
Click to expand...
Click to collapse
you need to install a kernel with /system writing enabled. Such as lk's or cubed
htc has a line wrong in their code and it makes it so that /system cant be edited while booted into android, only while in recovery. Installing a kernel that fixed this bug will let you use supersu from the play store and other apps such as adfree which need to edit system files to function
Bigandrewgold said:
you need to install a kernel with /system writing enabled. Such as lk's or cubed
htc has a line wrong in their code and it makes it so that /system cant be edited while booted into android, only while in recovery. Installing a kernel that fixed this bug will let you use supersu from the play store and other apps such as adfree which need to edit system files to function
Click to expand...
Click to collapse
Yeah this is what I figured out too.
Sent from my HTC6435LVW using XDA Premium HD app
Even with a writeable kernel SuperSu gives a hiccup at first. Download SuperUser, update the binary of SuperSu, then uninstall SuperUser. SuperSu will be fine after that.
orangechoochoo said:
Even with a writeable kernel SuperSu gives a hiccup at first. Download SuperUser, update the binary of SuperSu, then uninstall SuperUser. SuperSu will be fine after that.
Click to expand...
Click to collapse
I never had an issue with supersu
Sent from my HTC6435LVW using xda app-developers app
Bigandrewgold said:
I never had an issue with supersu
Sent from my HTC6435LVW using xda app-developers app
Click to expand...
Click to collapse
Quite a few of us running a version of Supercharged Hatka had problems when they switched to SuperSu,but now they switched back to SuperUser and the problem hasn't reared its head.
I have a Verizon S4 I had it rooted and working fine with TWRP recovery installed but, my Google play store stopped working is why I am in this situation now. I did the No Wipe Factory Image posted in the Verizon S4 forum and once that was done I still saw the TWRP recovery still popping up and installed. So I proceed to try and restore the root access and now I keep running into this running mottochop...
Device found...
Pushing exploit...
cannot stat 'pwn' : No such file or directory
Unable to chmod /data/local/twp/pwn No such file or directory...
Pushing Root tools...
*leaving out this part because I don't want to type it*
Rooting phone...
/system/bin/sh: /data/local/twp/pwn: not found
Cleaning up...
rm failed for /data/local/twp/pwn, No such file or directory...
Exploit complete. Press enter to reboot and exit
Help!!!
killdawabbit said:
I have a Verizon S4 I had it rooted and working fine with TWRP recovery installed but, my Google play store stopped working is why I am in this situation now. I did the No Wipe Factory Image posted in the Verizon S4 forum and once that was done I still saw the TWRP recovery still popping up and installed. So I proceed to try and restore the root access and now I keep running into this running mottochop...
Device found...
Pushing exploit...
cannot stat 'pwn' : No such file or directory
Unable to chmod /data/local/twp/pwn No such file or directory...
Pushing Root tools...
*leaving out this part because I don't want to type it*
Rooting phone...
/system/bin/sh: /data/local/twp/pwn: not found
Cleaning up...
rm failed for /data/local/twp/pwn, No such file or directory...
Exploit complete. Press enter to reboot and exit
Help!!!
Click to expand...
Click to collapse
Looks like you are in store for a full system restore to the original stock image. You can try the recovery image from my signature to get rid of the TWRP recovery if you want. Just place the recovery file in the PDA box and start.
So, is that why I am getting that message when I am trying to root my phone again?
killdawabbit said:
So, is that why I am getting that message when I am trying to root my phone again?
Click to expand...
Click to collapse
It could be but not 100% sure. Each user is different. I would start there though and see if it works.
Sent from my Rooted Verizon Samsung Galaxy S4 using xda premium
killdawabbit said:
I have a Verizon S4 I had it rooted and working fine with TWRP recovery installed but, my Google play store stopped working is why I am in this situation now. I did the No Wipe Factory Image posted in the Verizon S4 forum and once that was done I still saw the TWRP recovery still popping up and installed. So I proceed to try and restore the root access and now I keep running into this running mottochop...
Device found...
Pushing exploit...
cannot stat 'pwn' : No such file or directory
Unable to chmod /data/local/twp/pwn No such file or directory...
Pushing Root tools...
*leaving out this part because I don't want to type it*
Rooting phone...
/system/bin/sh: /data/local/twp/pwn: not found
Cleaning up...
rm failed for /data/local/twp/pwn, No such file or directory...
Exploit complete. Press enter to reboot and exit
Help!!!
Click to expand...
Click to collapse
While I don't know the specifics of the exploit, it sounds like it was unable to push files to the device. Is your USB Debugging enabled prior to running the exploit?
Cilraaz said:
While I don't know the specifics of the exploit, it sounds like it was unable to push files to the device. Is your USB Debugging enabled prior to running the exploit?
Click to expand...
Click to collapse
Yes
killdawabbit said:
Yes
Click to expand...
Click to collapse
PM sent
Sent from my Rooted Verizon Samsung Galaxy S4 using xda premium
DarkMenace said:
PM sent
Sent from my Rooted Verizon Samsung Galaxy S4 using xda premium
Click to expand...
Click to collapse
I am back to stock rom without TWRP. Thanks to the Dark Menace. Appreciate your help and I will not screw with my Google Play Store anymore after I root this time!
DarkMenace said:
PM sent
Sent from my Rooted Verizon Samsung Galaxy S4 using xda premium
Click to expand...
Click to collapse
Why would you PM the solution? Perhaps other people might have this same issue and need the solution as well.
killdawabbit said:
I am back to stock rom without TWRP. Thanks to the Dark Menace. Appreciate your help and I will not screw with my Google Play Store anymore after I root this time!
Click to expand...
Click to collapse
crikfromcincy said:
Why would you PM the solution? Perhaps other people might have this same issue and need the solution as well.
Click to expand...
Click to collapse
Sent