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:
So I fire up my adb shell and try the command for myself.
If I issue the command by itself, tethering starts and works.
I cannot, however, stop tethering by pressing the button on the screen. I have to issue the command through adb
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:
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.
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
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
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