Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I had previously rooted my droid when it was running 2.2 froyo. Using the OTA upgrade, i got a gingerbread (2.3.4) for my phone. As obvious, the root privileges were gone..but the superuser app and the everything else related to it is still there in the system/bin and system/xbin folders. Now when i try to run "su" command from an adb shell to re-root my phone, it shows "permission denied".

Is there anyway that i can get the "#" shell i.e. the su privileges instead of the normal "$" shell, so that i can manually delete the previous root files? Thanks.

share|improve this question
    
Did you install any custom recovery, such as ClockworkMod (CWM)? And do you have the Android SDK installed on your workstation? –  Izzy Aug 13 '12 at 18:02
    
no..CWM is not installed..While I have android sdk installed with me. –  gks Aug 13 '12 at 18:43
    
I doubt you get root access directly, but you could try to adb shell and see whether you get a # (root) prompt or a $ (user) prompt. In the latter case, you could try to sudo and see whether that works. Unlikely, but possible. With CWM, you could have connected adb shell in recovery mode with root permissions, AFAIK. –  Izzy Aug 13 '12 at 19:20
add comment

1 Answer

In short, the OTA upgrade clobbered your root settings, am afraid to say you will have to run either SuperOneClick or zergRush to get root again.

[TECHNICAL]

The OTA reverted the original default.prop when on Froyo from this

ro.secure=0 

to this after the upgrade

ro.secure=1

Thus you may still have the su binary etc, but it is the above line that is preventing you from trying to switch user to id of 0 (that's what su stands for! - S witch U ser)

share|improve this answer
    
Is there a way I can manually change the value of this variable "ro.secure" to 0 ? using adb shell or something..keeping in mind that i cant access the root privileges right now? –  gks Aug 20 '12 at 18:32
    
zergRush was showing the message "hellions with blue flames". So I guess it wont work here. –  gks Aug 20 '12 at 18:51
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.