SimpleRoot & android-wifi-tether


Last Updated:

  1. wct097

    wct097 Member This Topic's Starter

    Joined:
    Jul 16, 2010
    Messages:
    14
    Likes Received:
    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 (Text):
    1. 07-16 09:50:15.754: DEBUG/TETHER -> CoreTask(1623): Writing 48 bytes to file: /data/data/android.tether/conf/resolv.conf
    2. 07-16 09:50:15.754: DEBUG/TETHER -> CoreTask(1623): Root-Command ==> su -c "/data/data/android.tether/bin/tether start 1"
    3. 07-16 09:50:15.773: DEBUG/PhoneWindow(1623): DebugMonitor class=android.tether.MainActivity focus=false
    4. 07-16 09:50:15.784: DEBUG/TETHER -> CoreTask(1623): Root-Command error, return code: 65024
    5. 07-16 09:50:15.784: DEBUG/TETHER -> MainActivity(1623): Unable to start tethering!
    6.  
    So I fire up my adb shell and try the command for myself.
    Code (Text):
    1.  
    2. #su -c "/data/data/android.tether/bin/tether start 1"
    3. su: exec failed for /data/data/android.tether/bin/tether start 1 Error:No such file or directory
    4. #
    5.  
    If I issue the command by itself, tethering starts and works.
    Code (Text):
    1.  
    2. #/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 (Text):
    1.  
    2. #/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 (Text):
    1.  
    2. adb remount
    3. adb shell
    4. cd /system/bin
    5. cat sh > su
    6. 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 (Text):
    1. 07-16 09:59:25.964: DEBUG/TETHER -> CoreTask(1800): Writing 48 bytes to file: /data/data/android.tether/conf/resolv.conf
    2. 07-16 09:59:25.984: DEBUG/TETHER -> CoreTask(1800): Root-Command ==> su -c "/data/data/android.tether/bin/tether start 1"
    3. 07-16 09:59:25.984: DEBUG/dalvikvm(1800): +++ not scanning '/system/lib/libwebcore.so' for 'runCommand' (wrong CL)
    4. 07-16 09:59:25.984: DEBUG/dalvikvm(1800): +++ not scanning '/system/lib/libmedia_jni.so' for 'runCommand' (wrong CL)
    5. 07-16 09:59:25.984: DEBUG/dalvikvm(1800): +++ not scanning '/system/lib/libexif.so' for 'runCommand' (wrong CL)
    6. 07-16 09:59:29.294: DEBUG/PhoneWindow(1800): DebugMonitor class=android.tether.MainActivity focus=true
    7. 07-16 09:59:29.551: DEBUG/TETHER -> MainActivity(1800): Error detected. Check log.
    8.  
    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
     

    Advertisement
  2. carguy4471

    carguy4471 Member

    Joined:
    Jun 18, 2010
    Messages:
    23
    Likes Received:
    6
    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.
     
    cabbie likes this.
  3. wct097

    wct097 Member This Topic's Starter

    Joined:
    Jul 16, 2010
    Messages:
    14
    Likes Received:
    0
    No less than a dozen times, plus the menu option that reinstalls the binaries. I've also tried the experimental build from the website.
     
  4. carguy4471

    carguy4471 Member

    Joined:
    Jun 18, 2010
    Messages:
    23
    Likes Received:
    6
    Dang, sorry. Got me stumped then. Best I can think of is maybe a post on XDA or an email to the devs to see if you can get pointed in the right direction. Sorry I couldn't be more help.
     
  5. hurley_b

    hurley_b New Member

    Joined:
    Jul 16, 2010
    Messages:
    1
    Likes Received:
    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.
     
  6. cabbie

    cabbie Well-Known Member

    Joined:
    Mar 23, 2010
    Messages:
    1,344
    Likes Received:
    553
    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?
     
  7. cabbie

    cabbie Well-Known Member

    Joined:
    Mar 23, 2010
    Messages:
    1,344
    Likes Received:
    553
    consequently if theres a good tutorial thread for this somewhere (especially for Fresh ROM) then a link to it would be awesome :D
     
  8. wct097

    wct097 Member This Topic's Starter

    Joined:
    Jul 16, 2010
    Messages:
    14
    Likes Received:
    0
    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
     
  9. SporkLover

    SporkLover Well-Known Member

    Joined:
    May 9, 2010
    Messages:
    498
    Likes Received:
    98
    I had issues with just the simple root method.... so I did:

    http://androidforums.com/1118961-post16.html

    Gave me a fully rooted phone with unlocked NAND. Plus I now have the SuperUser Permissions app, which is nice.
     
  10. kirk78

    kirk78 New Member

    Joined:
    Jul 7, 2010
    Messages:
    1
    Likes Received:
    0
    I'm pretty confident this has to be done, otherwise things requiring root will not work.
     
  11. wct097

    wct097 Member This Topic's Starter

    Joined:
    Jul 16, 2010
    Messages:
    14
    Likes Received:
    0
  12. etc6849

    etc6849 New Member

    Joined:
    Jul 29, 2010
    Messages:
    1
    Likes Received:
    0
    Fixed my problem too (I had the same issue). I reflashed following (from simpleroot version) and installed wireless_tether_2_0_5-pre4.apk . Works great now; I'm glad I found this thread. Thanks.
     
  13. novox77

    novox77 Leeeroy Jennnkinnns! VIP Member

    Joined:
    Jul 7, 2010
    Messages:
    3,965
    Likes Received:
    3,256
    Nice, I was going to tell you guys to use the links in my sig, but looks like you figured it out.
     

Share This Page

Loading...