Wireless tether and root - Epic 4G Android Development

Tonight I rooted a friends phone (I'm a lowly Hero owner, with root running CM6 Froyo!) using the "one click" method posted in this forum. Took a couple tries, but it seemed to work. I installed superuser and wireless tether and both seem to get root access. I also ran the following command from adb to ensure root and it get the following (which I believe means that root is achieved)
C:\android-sdk-windows\tools>adb shell
$ su -c id
su -c id
uid=0(root) gid=0(root) groups=0(root)
$
Wireless tether loads and successfully gains root access through superuser however, not one of the 3 laptops I have in the house can see the SSID. Under log in wireless tether I can see mention to an unknown device or unsupported device.
How did you get wireless tether to run on the stock OS with root access? Or is there another wireless app I should be using? Barnicle didn't work at all.

Try beta 9 from the google code website for wifi tether it works for me.
Sent from my SPH-D700 using XDA App

bubby323 said:
Try beta 9 from the google code website for wifi tether it works for me.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Thanks, I'll give it a shot.
Edit: Yes, that did the trick! Thanks! I've attached the version of Wireless Tether that worked. To save someone else some time.

bubby323 said:
Try beta 9 from the google code website for wifi tether it works for me.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
was having the same problem. No connection. tried beta 9 (pre9) and it worked like a charm. getting 4-5mb downloads on 4g running speedtest.net on my computer. thanks!

Related

Wi-Fi Tether w/ Root

I've successfully rooted my x10a and installed wi-fi tether 1.51 with no luck. Whenever I press on "- Press to start tethering -", I get a window displaying
Sorry!
The application Wireless Tether for Root Users (process android.tether) has stopped unexpectedly. Please try again.
Any of you guys had any luck?
trojjanhorse said:
I've successfully rooted my x10a and installed wi-fi tether 1.51 with no luck. Whenever I press on "- Press to start tethering -", I get a window displaying
Sorry!
The application Wireless Tether for Root Users (process android.tether) has stopped unexpectedly. Please try again.
Any of you guys had any luck?
Click to expand...
Click to collapse
I'm not using that specific app but I do use wifi tethering.
I installed Barnacle Wifi Tether and then in settings i set athwlan0 as the LAN port.
It works fine for me, I get 7+ mbits and it's held up for over 5GB so far. Might be worth a shot.
Thanks for the reply. I'm getting an Error notification:
Unexpected error occured! Inspect the log and try the troubleshooting guide.
trojjanhorse said:
Thanks for the reply. I'm getting an Error notification:
Unexpected error occured! Inspect the log and try the troubleshooting guide.
Click to expand...
Click to collapse
That's the error I got before I manually set up the LAN interface. Did you change that setting?
no, I didn't change a thing. Simply pressed Start as soon as i opened it. I've tried reinstalling it, but no luck
what's your WAN and LAN interfaces set as?
trojjanhorse said:
no, I didn't change a thing. Simply pressed Start as soon as i opened it. I've tried reinstalling it, but no luck
what's your WAN and LAN interfaces set as?
Click to expand...
Click to collapse
Follow the instructions I posted. The WAN interface is already set, you need to set the LAN interface.
ddewbofh said:
I'm not using that specific app but I do use wifi tethering.
I installed Barnacle Wifi Tether and then in settings i set athwlan0 as the LAN port.
It works fine for me, I get 7+ mbits and it's held up for over 5GB so far. Might be worth a shot.
Click to expand...
Click to collapse
read he`s second line , in settings i set athwlan0 as the LAN port
I tried "android wifi tether", It says "no netfilter", by reading the guide from that developer's website, it says we need to get an android 1.6 update. I think it means the android 1.6 in our X10 is the earlier version of 1.6, those tethering software require something in the later version of 1.6. I also found the update on that website, but, X10 does not have recovery mode, so I dont know how to flash the "update.zip" into my x10
I manually set the LAN, but still no luck. The same error screen appears...
trojjanhorse said:
I manually set the LAN, but still no luck. The same error screen appears...
Click to expand...
Click to collapse
Do you have SuperUser working properly? Another thing can also be the WAN setting, it should be something like rmnet0.
i think my superuser is installed properly... I followed the instructions given by bin4ry pretty closely and everything worked. WAN automatically was set to rmnet0.
Hmm, when I use setCpu, it says root not detected... that's kinda akward.
trojjanhorse said:
i think my superuser is installed properly... I followed the instructions given by bin4ry pretty closely and everything worked. WAN automatically was set to rmnet0.
Hmm, when I use setCpu, it says root not detected... that's kinda akward.
Click to expand...
Click to collapse
Yeah, it sounds like your rooting has an error. There was a bunch of updated files posted in the rooting guide among them a new SuperUser.apk, post #4 I think.
Confirmed working.
@trojjan
You could try this:
http://forum.xda-developers.com/showthread.php?t=712945
ddewbofh said:
Yeah, it sounds like your rooting has an error. There was a bunch of updated files posted in the rooting guide among them a new SuperUser.apk, post #4 I think.
Click to expand...
Click to collapse
I tried the thread, It is good, I get the superuser permission now.
But there is another problem. I cannot turn on wifi and 3G at the same time, once I turn on wifi, 3G will be disable automatically. and I cannot get it connected. please help
bobosky520 said:
I tried the thread, It is good, I get the superuser permission now.
But there is another problem. I cannot turn on wifi and 3G at the same time, once I turn on wifi, 3G will be disable automatically. and I cannot get it connected. please help
Click to expand...
Click to collapse
Well you shouldn't need to turn on wifi manually, the app does that automatically. Other than that I have no clue.
ddewbofh said:
Well you shouldn't need to turn on wifi manually, the app does that automatically. Other than that I have no clue.
Click to expand...
Click to collapse
Get it, I manually set LAN as "athwlan0", everything fine, thank you
But I have a question, will the data gauge in "traffic" start to increase rapidly when there is no tethering device connected?
bobosky520 said:
Get it, I manually set LAN as "athwlan0", everything fine, thank you
Click to expand...
Click to collapse
It works for me too thanks!!!
ddewbofh said:
I'm not using that specific app but I do use wifi tethering.
I installed Barnacle Wifi Tether and then in settings i set athwlan0 as the LAN port.
It works fine for me, I get 7+ mbits and it's held up for over 5GB so far. Might be worth a shot.
Click to expand...
Click to collapse
THANK YOU VERY MUCH!!!
it solved my interface error!
as for the PERMISSION ERROR
I redid the root from Step1-4 (including the hard reset)
it was related to the superuser.apk.
Thank you again for the info.
Zeph, thanks. I will give it a go once I arrive to work.
Thanks again for all the help everyone. I will let you know if it works.
Sent from my SO-01B using XDA App
sorry, it did not work. I guess I'll first flash the phone to x10i, then redo the entire 4 steps. My phone was originally x10a.
Will let you know.

Barnacle Wifi tether - connected but no internet access

Hi, I have set up barnacle wifi tether i connected to it using my laptop . it connects fine but no internet access.
have i missed somthing out ?
duffy1807 said:
Hi, I have set up barnacle wifi tether i connected to it using my laptop . it connects fine but no internet access.
have i missed somthing out ?
Click to expand...
Click to collapse
You gotta change the LAN setting... Add athwlan0
Can somebody please post the .apk for Barnacle? I'm not able to find it in the Market at all.
cue_32 said:
You gotta change the LAN setting... Add athwlan0
Click to expand...
Click to collapse
Hi, i have already done this but still doesnt work. thanks
For anybody else who might come along and not be able to get the .apk from the Market, you can download it here:
hxxp://szym.net/barnacle/barnacle.apk
I had to install with ASTRO to get it to work.
duffy1807 said:
Hi, i have already done this but still doesnt work. thanks
Click to expand...
Click to collapse
Go to DHCP (under the Advanced heading) and set DNS 1 to 8.8.8.8. Then restart barnacle and reconnect your laptop. Then manually set the DNS for the connection on your computer to the same address. That worked for me.
SirBrettrick said:
Go to DHCP (under the Advanced heading) and set DNS 1 to 8.8.8.8. Then restart barnacle and reconnect your laptop. Then manually set the DNS for the connection on your computer to the same address. That worked for me.
Click to expand...
Click to collapse
I did that, once I press ok I got invalid IP
Using Rogers (service provider, dataplan 1GB) Canada
I rooted my x10 following the instructions from Bin4ry from step 1 to 3 and step 4 and 5 I used the link that jerpelea posted, it seems everything went smoothly but something is wrong with my mobile networks, I can only use browser, everything is fine for browsing but per example if I use flixter I can't get any connection, facebook or any applications that needs to use network, and I turned on the wifi and using my home router all applications are fine, and I don't know what's going on, and I rooted again same issue, can anyone tell me is there something I'm missing too?
and for barnacle same issue as OP, my ipod touch is connected but no internet connection at all and I followed what to put in LAN already, does anyone encounter this issue too?
any help is appreciated, thank you
cue_32 said:
You gotta change the LAN setting... Add athwlan0
Click to expand...
Click to collapse
I add athwlan0, and it said it was not a correct LAN, so I removed and that error went away. Now I am getting "Failed to set AP_SCAN". Does anyone know how to get rid of this error?
try taking wifi off, leave 3g on n insert the athwlan0 in lan area.. should work fine?!
Sent from my X10i using XDA App
Mobzter said:
try taking wifi off, leave 3g on n insert the athwlan0 in lan area.. should work fine?!
Sent from my X10i using XDA App
Click to expand...
Click to collapse
It returns:
Setting address of athwlan0 failed: No such device
NAT waiting for local interface
Getting address of athwlan0 failed: No such device
Gettign netmask of athwlan0 failed: No such device
Could not get flags of athwlan0: No such device
[2] Terminated ./nat
Process stopped unexpectedly
Any help?
is your phone rooted?
andyx8 said:
is your phone rooted?
Click to expand...
Click to collapse
Yes, I believe so. I used Unrevoked, and now when I start Barnacle it no longer tells me I need su privileges. Is there another way to check?
Install busybox.. might already be on your phone! it'll show u if ya rooted or not!
Sent from my rooted x10i using swype via xda!!
Mobzter said:
Install busybox.. might already be on your phone! it'll show u if ya rooted or not!
Sent from my rooted x10i using swype via xda!!
Click to expand...
Click to collapse
Yes, Busybox shows that my phone is rooted. But, it also says it is not nand unlocked.
> athwlan0: No such device
trying with tiwlan?
is there a way to connect a DS to an android phone using barnacle wifi?
try this
wan: rmnet0
lan: athwlan0
worked fr me..
Minoru Saiki said:
> athwlan0: No such device
trying with tiwlan?
Click to expand...
Click to collapse
tiwlan0 is for mini/mini pro
unless he has one of these little xperias he will have no luck with that (otherwise its clear why he got that error ^^)
I tryied athlan0 to LAN
i have rm.. to WAL
i tryied setting DNS
no password set
i'm definately rooted
but since i reseted my phone and upgrated to 026
it's connected, it's uploading but there is very very small downloading
It used to word fine, but now i don't know what to do.
Any more idea?
cvchetan said:
try this
wan: rmnet0
lan: athwlan0
worked fr me..
Click to expand...
Click to collapse
i have tryed with these settings and its working.
thnx

Working WiFi App for 2.2

Hi Everyone,
I was wondering currently I have tested out the Wireless Tether app and its not working for me. I have tried it with or with out access control and neither works. I was wondering if anyone know of an app that works with 2.2 or some changes that need to be made to get it working.
Thanks!
yeah i had that problem too... but the following worked for me with access control on or off and ssd name changed.
1. install this one - http://android-wifi-tether.googlecode.com/files/wireless_tether_2_0_5-pre8.apk
2. restart phone
3. test it out.
4. let us know who it worked.
Hi,
I updated the APK rebooted, I am still not able to see the device. I also tried removing permissions from the old app from superuser and regranting them. Any other ideas?
jvward said:
Hi,
I updated the APK rebooted, I am still not able to see the device. I also tried removing permissions from the old app from superuser and regranting them. Any other ideas?
Click to expand...
Click to collapse
truely weird, is it a desktop/laptop your searching for wireless signal?
uninstall the apk, reboot, reinstall, reboot, and try...
Will try when I get home, its a laptop.
Sent from my DROIDX using Tapatalk
dr154 said:
yeah i had that problem too... but the following worked for me with access control on or off and ssd name changed.
1. install this one - http://android-wifi-tether.googlecode.com/files/wireless_tether_2_0_5-pre8.apk
2. restart phone
3. test it out.
4. let us know who it worked.
Click to expand...
Click to collapse
The copy you uploaded works except for access control, as soon as i enable it it will still connect to the computer but there is no internet access and wifi tether reports starting with errors. WEP still seems to work.
jess1313 said:
The copy you uploaded works except for access control, as soon as i enable it it will still connect to the computer but there is no internet access and wifi tether reports starting with errors. WEP still seems to work.
Click to expand...
Click to collapse
Same here. Anyone find a solution?
just uninstall wifi tethering app and trying one of these from here....
http://code.google.com/p/android-wifi-tether/downloads/list
I just use Barnacle Wifi Tether and it works fine.
Barnacle and the app posted earlier wont work for me either. Ive uninstalled and reinstalled several times. Nothing seems to work
GoogleisGod said:
Barnacle and the app posted earlier wont work for me either. Ive uninstalled and reinstalled several times. Nothing seems to work
Click to expand...
Click to collapse
Same here for me.
I've been usingbarnacle from 2.1 to2.2 on droid it stoppedworkinafter I updated to 2.2 then realized it was because I lost root... make sure ur still rooted should've working.
Sent from my DROIDX using XDA App
I definitely still have root and neither apps have worked for me. My computers see the phone, I just cant connect. Ive tried on Ubuntu and Windows XP with no luck no matter what settings I use.
TheBigBentley said:
I definitely still have root and neither apps have worked for me. My computers see the phone, I just cant connect. Ive tried on Ubuntu and Windows XP with no luck no matter what settings I use.
Click to expand...
Click to collapse
this just happened to me this weekend, it worked with a friends laptop then I shut it off for a while and on next start up it says i'm up and running but the laptop couldn't connect to it anymore. Then again last night I got error and wouldn't start up i'll try to post what the error was on mine. that was using barnacle teather. I endedup using pdanet or w/e but needed to wire it up for it to work.

[Q] Is there an aversion to using ADB Wireless here?

Hey folks,
I've successfully installed ADB Wireless (can't post links, it's on the Market) on my TF, and connected on port 5555 using my Windows machine - stock rooted 8.6.5.9 US.
Haven't seen any mention of it here, can't find any reports of problems with it - so if you read this and you already have root (it needs superuser permissions) then save yourself the pain of having to cable it up
Or am I missing something?
Cheers
PatMan
Yeah been using it for a while, work great. Was already using it on the Nexus 1 so I tried with the TF and it work just the same.
Sent from my Transformer TF101 using Tapatalk

[App] Reverse Tether[USB]-share your pc internet with mobile! *no spl skills needed*

I found this app on Google Play store.
It can share pc internet with mobile..
Its easy, just connect your mobile to pc via usb, enable "usb tether" on mobile and then open the app and follow instructions...
And you are good to go..
The app have both paid and trial version.
Google Play / Market link :- https://play.google.com/store/apps/details?id=com.littlelan.ReverseTether.Paid&hl=en
Sent from my X10 using xda premium
FYI I can't get the free version to work.
Smoked33 said:
FYI I can't get the free version to work.
Click to expand...
Click to collapse
Did you follow every step?
You need to connect your device and turn on usb tether before open the app.
Sent from my X10 using xda premium
It's work but not found pro apk on internet..
Trial version work on specific time only i.e 11:00-15:00..
Simply change your time on setting to test it...
Beware it will enable data access using mobile network data..
I dunno it will impose charges when it switching on...
I quickly switch of to avoid extra charges..
Thank you
Yeah - this app seems to be what I am looking for from Android beginning !!!
But cant get it working on linux, hope that it is possible also and I will fix it...
paplu3 said:
Did you follow every step?
You need to connect your device and turn on usb tether before open the app.
Sent from my X10 using xda premium
Click to expand...
Click to collapse
Yes I did. It gives me a message that tether appears to be blocked on my device...but i was able to surf on the pc tethered to my phone.
Smoked33 said:
Yes I did. It gives me a message that tether appears to be blocked on my device...but i was able to surf on the pc tethered to my phone.
Click to expand...
Click to collapse
which rom you are using,
check superuser permissions.
paplu3 said:
which rom you are using,
check superuser permissions.
Click to expand...
Click to collapse
There was no prompt from SU. I have it set up to prompt when something wants root access and it seems to work for my other apps.
EDIT: On Wolf7
there is already a thread abt this...http://forum.xda-developers.com/showthread.php?t=1538049
yes!!!
It work x10 mini runing cm7 2.2.0
Is there any way to turn on USB tether without turning on Mobile Network ?
Hi You can try the USB reverse tethering app in the market.
Just search "USB reverse tethering" and give a try.

Categories

Resources