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

Root SimpleRoot & android-wifi-tether

wct097

Newbie
Jul 16, 2010
14
0
I ran through the SimpleRoot procedure yesterday and it appears to have worked correctly. When I go into Settings>About>Software Info it tells me my Kernel version is "2.6.29-ac94cf60 htc-kernel@and18-2 #1", and my Build number is "1.17.651.1 CL160858 test-keys" which is obviously different than the 1.47 that was originally on the phone.

I proceeded to install android-wifi-tether, but am having some problems with it.

When I open the app, it tells me "Your phone is in an unknown state - try rebooting". I have rebooted many times and while while it sometimes rids me of that message, I can't actually get wifi to start. When I click the start button it tells me "Unable to start tethering. Please try again!".

Plugging it into my PC and watching LogCat, I see this in the log:
Code:
07-16 09:50:15.754: DEBUG/TETHER -> CoreTask(1623): Writing 48 bytes to file: /data/data/android.tether/conf/resolv.conf
07-16 09:50:15.754: DEBUG/TETHER -> CoreTask(1623): Root-Command ==> su -c "/data/data/android.tether/bin/tether start 1"
07-16 09:50:15.773: DEBUG/PhoneWindow(1623): DebugMonitor class=android.tether.MainActivity focus=false
07-16 09:50:15.784: DEBUG/TETHER -> CoreTask(1623): Root-Command error, return code: 65024
07-16 09:50:15.784: DEBUG/TETHER -> MainActivity(1623): Unable to start tethering!

So I fire up my adb shell and try the command for myself.
Code:
#su -c "/data/data/android.tether/bin/tether start 1"
su: exec failed for /data/data/android.tether/bin/tether start 1 Error:No such file or directory
#

If I issue the command by itself, tethering starts and works.
Code:
#/data/data/android.tether/bin/tether start 1

I cannot, however, stop tethering by pressing the button on the screen. I have to issue the command through adb
Code:
#/data/data/android.tether/bin/tether stop 1

Naturally, this is no ideal. I don't want to have to carry my USB cable around and plug it in every time I want to start and stop tethering. I googled around a bit and found this post:
Issue 329 - android-wifi-tether - Doesnt recognise su permissons - Project Hosting on Google Code

I tried the suggestion:
Code:
adb remount
adb shell
cd /system/bin
cat sh > su
chmod 0755 su
Now when I click the button to start tethering it 'starts' but has errors in the log saying that everything it tried to do failed. The LogCat log no longer throws an error on the Root-Command, but it still doesn't work.

Code:
07-16 09:59:25.964: DEBUG/TETHER -> CoreTask(1800): Writing 48 bytes to file: /data/data/android.tether/conf/resolv.conf
07-16 09:59:25.984: DEBUG/TETHER -> CoreTask(1800): Root-Command ==> su -c "/data/data/android.tether/bin/tether start 1"
07-16 09:59:25.984: DEBUG/dalvikvm(1800): +++ not scanning '/system/lib/libwebcore.so' for 'runCommand' (wrong CL)
07-16 09:59:25.984: DEBUG/dalvikvm(1800): +++ not scanning '/system/lib/libmedia_jni.so' for 'runCommand' (wrong CL)
07-16 09:59:25.984: DEBUG/dalvikvm(1800): +++ not scanning '/system/lib/libexif.so' for 'runCommand' (wrong CL)
07-16 09:59:29.294: DEBUG/PhoneWindow(1800): DebugMonitor class=android.tether.MainActivity focus=true
07-16 09:59:29.551: DEBUG/TETHER -> MainActivity(1800): Error detected. Check log.

I'm really at the end of my ability/understanding here. Can anyone help? It seems that others have accomplished this without any trouble. Am I doing something wrong? Am I actually not rooted?

TIA, -wct
 
My first question would be: Have you deleted and reinstalled the application yet??

Many that install custom ROMs have an issue with wifitether that requires a simple uninstall/reinstall. Give it a go and see what happens.

No less than a dozen times, plus the menu option that reinstalls the binaries. I've also tried the experimental build from the website.
 
Upvote 0
My first question would be: Have you deleted and reinstalled the application yet??

Many that install custom ROMs have an issue with wifitether that requires a simple uninstall/reinstall. Give it a go and see what happens.

thank you for this, I was getting FC issues until I did this.

Next issue I'm having is...well, having the connection working.

My laptop didn't see 'androidtether' network till I changed the channel to 7. Now its successfully connected but webpages aren't loading. I took a look in access control and refreshed the list and nothing showed up as being connected on my phone. The last thing in the log says "Tethering now running..."

Its holding still at 0.4KB down and 0.1KB up. Please advise?
 
Upvote 0
I am having almost the same problem on my Droid Incredible. The only sort of work around I have come up with is Better Terminal Emulator Pro and using the start and stop commands from my phone. I texted the commands to myself so I could just copy and pasted them into the terminal window.

Not a bad idea. I'm going to do this until I can figure out where the problem lies. Don't want to drag my laptop around so I can turn on the hotspot for my friends with iPhones and no 3g service. :D
 
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