• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

rooting troubles (su segfault)

ayr0

Lurker
Hi,

I've been trying to root my Galaxy S2 T989 (android 4.1.2) for several hours now. I'm new to this and may not understand all the intricacies of rooting. I followed the steps in this guide http://androidforums.com/galaxy-s2-t-mobile-all-things-root/627099-guide-root-rom-sgh-t989.html.

The rooting process failed (as Titanium Backup complained that it couldn't gain root access). I checked everything and realized that I had forgotten to set USB debugging in the Developer options. I checked the USB debugging, and repeated the entire process (using TWRP Touch Recovery). There were no errors reported in TWRP (everything ran smoothly). Titanium Backup still complains about no root access. I looked at my filesystem and /system/bin/su and /system/xbin/su exist, but executing /system/bin/su (in an android terminal emulator) results in a segfault. I reinstalled superuser+busybox several more times and several more reboots, but with no change.

Code:
</system/xbin> $ ls -l /system/bin
lrwxrwxrwx root root           2013-12-29 20:02 su -> /system/xbin/su
</system/xbin> $ ls -l su
-rwsr-sr-x root root 352256 2013-12-29 20:02 su
</system/xbin> $ whoami
whoami: unknown uid 10219
</system/xbin> $ ./su
Segmentation fault
I've tried googling for ideas, but my search has been fruitless so far. Is there anyway to fix the situation and finish rooting?

Thank you very much.
 
You could use adb. Root. rm (delete) both copies of su. Get a good copy of su (Root de la Vega is one file that I know has one). Push it to /system/bin and /system/xbin.
 
Run the free app root check. This will tell you if you have a root problem or a titanium backup problem. Do you have a custom ROM installed?
 
Back
Top Bottom