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

Root Easiest Root Method for Triumph(No Root App or Computer Involved!)

So after poking around on the Motorola Triumph for a little bit after rooting using Gingerbreak I noticed a couple things that caught my eye. First off I noticed that /system is mounted as read-write from boot, meaning no root needed to mount the system as read/write to modify files, however you still need to have root permissions to modify files with certian permissions where only root can write to the file(i.e. change the file). I was looking in /system/xbin and noticed that there was a file that came on the phone called sudo. Anyone who has used Ubuntu knows that sudo is the root access binary(much like su) that ubuntu uses to grant root privileges. After seeig this I got curious and opened my terminal emulator and typed in sudo, and it gave me the # symbol denoting I had root access. Just to be safe and test it out, I unrooted my phone(which removed the su binary and Superuer.apk from /system/bin and /system/app respectively.) I rebooted my phone and checked to make sure I did not have root access. Autokiller said it could not gain root, as did Titanium Backup. I then opened my Terminal Emulator and typed in sudo. It gave me the # symbol again. So i decided to try symlinking sudo to /system/bin/su and /system/xbin/su(the directories the su binary is normally located in) and sure enough after a reboot all my root apps worked! So essentially this phone was "rooted" from the beginning.

So for everyone who doesn't want to fool with installing a root app to root thier phones(i.e. gingerbreak) or hook it up to a computer and use superoneclick or somthing of that nature, you can do it quickly and simply using Android Terminal Emulator(free on the market) and a couple commands. NOTE:(Rooting this way will not install Superuser.apk so you won't get prompts to allow apps root access, its much like the root that Joeseph Mother uses in his kernels.)

Step 1: Download Android Terminal Emulator from the market.

Step 2: Open up the Emulator and type in sudo, you should get the # symbol.

Step 3: Type in the following code:
Code:
ln -s /system/xbin/sudo /system/bin/su
ln -s /system/xbin/sudo /system/xbin/su

Step 4: Reboot and you should have root access. NOTE: This will not install busybox, so if you wish to have busybox you will have to install it from the market or manually. This just provides you with root access.

If you have any issues pm me, and if you come across apps that do not work with this root method let me know and I will work to see if I can figure it out.


*Video Guide by LucaBrassi. Thanks for putting this video together and getting my method noticed!
Terminal Root Method by LucaBrassi
 
Jesus this thing really is an open door (locks never installed and the door knob drilled out lol)... WOW!

Awesome find though

Dude I don't even think there is a door there, it's just an open doorway lol!! They provided us with everything we needed. If you look in /system/app there is even a terminal emulator app but it doesnt show up in the app drawer so i dont know how to access it so i just downloaded android terminal emulator.

To unroot using this method you just open the emulator and type sudo then type this:
Code:
rm -rf /system/bin/su
rm -rf /system/xbin/su
I'm going to make a zip that symlinks sudo(which will give you root) and install busybox 1.18.4 to /system/bin and system/xbin so that you can get easy root & busybox from CWM recovery.
 
Upvote 0
Dude I don't even think there is a door there, it's just an open doorway lol!! They provided us with everything we needed. If you look in /system/app there is even a terminal emulator app but it doesnt show up in the app drawer so i dont know how to access it so i just downloaded android terminal emulator.

To unroot using this method you just open the emulator and type sudo then type this:
Code:
rm -rf /system/bin/su
rm -rf /system/xbin/su
I'm going to make a zip that symlinks sudo(which will give you root) and install busybox 1.18.4 to /system/bin and system/xbin so that you can get easy root & busybox from CWM recovery.

Hey guys im starting a video tutorial series with this phone if you feel so inclined check out my tutorial for this method

Video Series

Props to b_randon for figuring this out if anyone needs ill make a tutorial on unrooting this device using his unrooting method as well... any takers?
 
Upvote 0
To unroot using this method you just open the emulator and type sudo then type this:
Code:
rm -rf /system/bin/su
rm -rf /system/xbin/su

i was able to root but somehow this unroot method doesn't work for me. it says:

Code:
rm failed for -rf, No such file or directory
i typed 'sudo', got the pound sign # i then type 'rm -rf /system/bin/su' then i press the 'enter' button and that rm failed msg shows up. am i doing something wrong? :thinking:
 
Upvote 0
Hello, I am not a programmer, but it sounds like your method is simpler than using Gingerbreak 1.2. I would prefer not to run that program, since I have already customized my launcher and downloaded many apps from the market--and don't want to lose the screen/app configuration.

I am trying to barnacle tether the triumph(using the MTU=1472 solution from virginusers.com) so I can wifi with my Asus Netbook. Once I use your "root" method, can you describe the next steps I need to follow? Or do I just run Barnacle as is?

Thank you.:)
 
Upvote 0
Probably run Gingerbreak. By any cahnge had you installed superuser after rooting this way? For some reason when superuser copies the su binary it uses over, it messes with the permission on sudo and makes it to where after unrooting, it no longer works. I wrote this guide and intended it to not be used with superuser, but you know how people are and they freak out without superuser even though its no more protection than not having it. Just run gingerbreak and you should be rooted again!
 
Upvote 0
Probably run Gingerbreak. By any cahnge had you installed superuser after rooting this way? For some reason when superuser copies the su binary it uses over, it messes with the permission on sudo and makes it to where after unrooting, it no longer works. I wrote this guide and intended it to not be used with superuser, but you know how people are and they freak out without superuser even though its no more protection than not having it. Just run gingerbreak and you should be rooted again!

thats what i kinda thought! but i like superuser cause it makes me "feel" safer... LOL :D
 
Upvote 0
Yeah i understand. My brother has a captivate, and he is a much better android/linux guy than I am(he was messing with linux like 10 years ago) and all the ROMs he's ever used for the captivate uses superuser so he is just used to it and he prefers it, but yeah malware uses root exploits(like gingerbreak psneuter, ratc, etc) to gain root privileges without calling on /system/bin/su or /system/xbin/su. So even with superuser.apk, you wouldn't see a notification when a malware app using gingerbreak gained root access and started deleting stuff lol!!!
 
Upvote 0
Yeah i understand. My brother has a captivate, and he is a much better android/linux guy than I am(he was messing with linux like 10 years ago) and all the ROMs he's ever used for the captivate uses superuser so he is just used to it and he prefers it, but yeah malware uses root exploits(like gingerbreak psneuter, ratc, etc) to gain root privileges without calling on /system/bin/su or /system/xbin/su. So even with superuser.apk, you wouldn't see a notification when a malware app using gingerbreak gained root access and started deleting stuff lol!!!

so basically you can be under attack without even being rooted right? LOL :D what rom is your brother running on his captivate? and is it kb1 based or froyo based? i upgraded my moms phone to froyo and it has some bugs, so i want to revert to 2.1 and then install cognition 4 :p
 
Upvote 0
This may be new in newer versions of superuser, but after making the symlinks to sudo, attempting to install the market version of superuser wouldn't work. When I told it to check for updates to the su binary, it would always give an error that it couldn't find the existing binary.

Removing the symlink, and making a copy of sudo to su, then chmodding su to be setuid worked like a charm though. I now have the market su on my Triumph. (Though I suppose if I want slightly greater security, I should now make the old sudo app a symlink to the new su).
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones