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

Root How-to Root for App's working with Persistent root

BH_MAN

Android Expert
Feb 17, 2010
1,381
1,667
First off, I want to say thanks to Kam187 & the Creators of asroot :)

Okay, Below is the Method I used for getting Root working for my app's.
Even though Shell is running as Root, any Call's made to su trigger's the white List Superuser.apk, So don't think your phone is wide open. G1's & MT3G Setup's are the same regard sh.

I'm not sure is the apk is counted as warez or not, if so I hope a Mod will remove the link to the Apk or let me know to Remove it...

Okay, File's Need to complete the Task is....

Try3 Placed in C:\SDK\tools> found here > try3

SU for /system/bin found here > su

Superuser app control for our App's found Here > Superuser.apk

Next, Mount the SDCARD and place the SU file in the root of the sdcard like so ( /sdcard ). This is Important!!!

From here we do the Following.. ( Kam187 script the I edited ).

adb push try3 /data/local
adb shell chmod 0755 /data/local/try3
adb shell
/data/local/try3 /system/bin/sh
mount -o rw,remount /dev/st9 /system
chmod 04755 /system/bin/sh
cat /sdcard/su > /system/bin/su1
cat /sdcard/su > /system/bin/su
chmod 04755 /system/bin/su
su
cat /system/bin/playlogo > /system/bin/playlogo_real
/system/bin/chmod 0755 /system/bin/playlogo_real



echo "#!/system/bin/sh
/data/local/try3 /system/bin/sh
mount -o rw,remount /dev/st9 /system
chmod 04755 /system/bin/sh
cat /system/bin/su1 > /system/bin/su
chmod 04755 /system/bin/su
/system/bin/playlogo_real" > /system/bin/playlogo
Once Done, place the Superuser.apk in your SDK tools Directory.
Mine happens to look like this
C:\SDK\tools>
Once you have that Copied over, Open a Command prompt and CD to your sdk\tools directory and type the following.
adb install Superuser.apk
Once done, do a reboot of the Phone, Once boot up is complete open a Command Prompt ( or app that needs Root ).

For Command Prompt, type:
adb shell
If done correctly you will now see the deny or allow prompt on the Phone, or just open any app that needs root & you will see the same window.

Here's some Picture of it working :)

SU working with SU apk :) on Twitpic & SU working with SU apk :) on Twitpic
 
I have the Galaxy ROM on my behold 2. I have tried this twice and both times I have had to reflash my device.

I am no expert at this stuff so I am obviously doing something wrong.

First time I tried following the instructions skipping the copy of play_logo to real since I already had root. phone basically started doing a fc on any download operation.

Second time I tried replacing the sh which becomes su based the galaxy rom instructions with this su so it would become su. same basic problem as before.

Both times I had to start over on the phone to get things back.
 
Upvote 0
During my third reflash I got it working by mixing the instructions for this with the galaxy rom flashing instructions.

I copied this su out as su1 as in the instructions for this.

I replaced this line
cat /system/bin/sh > /system/bin/su
in the galaxy rom instructions with this line
cat /system/bin/su1 > /system/bin/su
when building the new playlogo.

I think I am getting the hang of this stuff. :D
 
Upvote 0
Again, can someone confirm that BH_MAN's code works in the 1st post, What's up with rone's code changes? Thought I'd try this to get "Titanium Backup" working.

http://androidforums.com/samsung-behold-2/45459-whoami.html

My changes where my successful attempt to get this working on behold2 while running the galaxy ROM at the same time.

BH_MAN has packaged the whole thing together. If I was trying this again I would follow this thread.

http://androidforums.com/samsung-behold-2/46614-port-galaxy-behold-2-123-install-done-right.html
 
Upvote 0
My changes where my successful attempt to get this working on behold2 while running the galaxy ROM at the same time.

BH_MAN has packaged the whole thing together. If I was trying this again I would follow this thread.

http://androidforums.com/samsung-behold-2/46614-port-galaxy-behold-2-123-install-done-right.html

I didn't think of that, I assumed BH_MAN's code was for a Galaxy ROM'd phone. My phone is Galaxy ROM'd, so it is safe to run the 1st post code on Galaxy ROM'd phone? I just want to make sure, sorry I'm not quit clear yet.
 
Upvote 0
I didn't think of that, I assumed BH_MAN's code was for a Galaxy ROM'd phone. My phone is Galaxy ROM'd, so it is safe to run the 1st post code on Galaxy ROM'd phone? I just want to make sure, sorry I'm not quit clear yet.

When I ran the instructions in the first post of this thread on my phone already running galaxy ROM. It caused me troubles.

I knew enough to not copy the playlogo to playlogo_real again but still ran into problems when I replaced my current playlogo with the one from the post.

What I ended up doing was go back to stock rom and then go back to galaxy rom mixing the instuctions from from the galaxy rom thread and this thread.

bh_man has taken the guess work out of it by doing that in the other thread I referenced.

Now that 1.6 is out for the galaxy I am guessing (hoping) it will not be long be long before we see it on the behold 2. You may just want to wait for that before rushing into anything else.
 
Upvote 0
This Method DOES NOT WORK FOR 1.6...

But, We have options... After Getting my Hands on a Little Something Something....
My Custom Kernel Once Flashed will Root Sh giving use Root. But, You have to Install SU into Bin & install the Superuser.apk. Once Done you Need to Flash Back to the Latest Kernel so the Phone Can Connect to the Carrier..
1.6 Rootable Kernel When Update Goes Live for 1.6 Here > 1.6 Hack for Root :D
 
Upvote 0
Ok I have tried to do this epersistent root and can't find they way to do it? I need help please. All I want to know is for somebody to tell me how to root this phone all i want to delete are the apps it comes with. I also have been in other forums but at last nothing. Anybody that can help me do this in simple words or step by step I would be very happy and much appreciated
 
Upvote 0
Ok I have tried to do this epersistent root and can't find they way to do it? I need help please. All I want to know is for somebody to tell me how to root this phone all i want to delete are the apps it comes with. I also have been in other forums but at last nothing. Anybody that can help me do this in simple words or step by step I would be very happy and much appreciated

If you got the Update over the OTA... It's not going to work!!! They Patched the Root Hack in the New Kernel that came with the OTA... You will Have to Odin this Kernel before You can Root the Phone!

http://androidforums.com/all-things-root-behold-2/53468-custom-behold-2-kernel-odin-ready-1-5-a.html
 
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