[Q] Is there a way to force an app to use mobile data connection instead of WiFi? - AT&T Samsung Galaxy Note I717

I'm going to start here with this question before expanding it to the whole xda-developers Q&A area, since this is something I am trying to do specifically with my Note.
Is there a way to force an app to use mobile data connection (MDC) instead of wifi?
Specifically, I am trying to figure out if I can force Activesync and/or the Gmail app to use the MDC instead of the wifi connection when I am already connected on wifi, especially if there is a way to have either of those apps detect that it can't communicate with the servers through wifi, and auto change to using the MDC.
Reason for this??? I need to receive emails through Activesync and Gmail at all times, due to being on-call for work. The wifi connection screws up sometimes, but the phone stays connected to the wifi thinking it can still access everything ok. (yes, it is a problem with the router, not the phone, and that is being investigated separately)
Yes...I know I could just turn off my wifi connection on the phone, but I prefer to leave it on if possible, and just use the MDC for those two apps. Is that even possible to use the MDC while still connected to wifi, or is there a requirement that wifi be turned off to use MDC, no matter what???
Also, what is the proper name for the MDC? That might help me search for a solution. MDC was the best I could come up with for it, but maybe there is an "official" name for this connection?
I have the Tasker app installed, and have been thinking about trying a way to make Tasker cycle the wifi connection for me, but as I said, I would prefer to just leave the wifi turned on, and just force those two apps out the MDC.
Any help, or maybe just point me to some more info? I have search for about a week now, and am finding plenty of people asking how to restrict an app to use wifi, but not the other way around.
Thanks!
MonkeyThumper
Additional info:
Think of it this way...the wifi issue may be firewall related. So, the firewall stops my phone data from going to the internet through wifi. I need to still get my emails though. I would like to stay connected to my wifi, so that I could tell that I am having problem as soon as I try to surf the web, but my emails would still be coming through because they are using the mobile data connection instead.

I've never seen a mobile data connection stay active while wifi was turned on and connected.
Your best bet is to either fix whatever is wrong with your wifi connection, or bite the bullet and leave wifi off, until you can fix your wifi connection.

i agree, dont think its possible to use data connection,without turning off wifi first(impossible to have 2 data types simultaneously)

SayWhat10 said:
i agree, dont think its possible to use data connection,without turning off wifi first(impossible to have 2 data types simultaneously)
Click to expand...
Click to collapse
I dont think its impossible, as I believe txts come over data, not sure on this though. Is it possible to get what you want, yes most likely. Is it going to be easy, probably not. Address the real problem rather then applying an over complicated bandaid.
If your staying connected, but losing data at home then it is likely your modem is the culprit (assuming you use a modem connected to a wireless router, not a all in one device). If it belongs to the cable/phone company then contact them. If you bought your modem, find out what is compatable and buy a new one and see if this fixes it. I had the exact same problem with Time Warner the dumb asses tried telling me it was my wireless router problem despite still being about to be 100% up and running on internal (streaming music and movies from plex server while on phone and even able to RDP internally). Eventually they agreed to send a tech out and he laughed at them and gave me an upgraded modem and we were good to go.

Thanks for the support, but as I said, the wifi issue is being addresses separately. It may not be a quick & easy fix, because additional "testing" is being done on the network (firewall) that may be the real cause of the issue. It is being looked into though.
So...for everyone trying to get me to just "fix" the wifi first, sorry, but it isn't going to happen right now. I would just like to find a way to do what I requested in the original message.
Think of it this way...the wifi issue may be firewall related. So, the firewall stops my phone data from going to the internet through wifi. I need to still get my emails though. I would like to stay connected to my wifi, so that I could tell that I am having problem as soon as I try to surf the web, but my emails would still be coming through because they are using the mobile data connection instead.
Does that help clarify my need of this some?

I agree that it seems only one connection can be active at a time. On my windows mobile phone it defaulted to the data connection, android seems to default to wifi (i would bet this is a requirement from the carriers).
As for texts, they are delivered through spare bits on the cellular carrier channel that were left as spares very early on. Not via data channels. Which is why forcing us to pay to send texts is such robbery - we are literally using otherwise spare bandwidth.

How to bypass MDC?
I have a similar need as MonkeyThumper. My situation is that I have a camera application which allows me to view my camera's at home. It uses port 2000 of which our corporate firewall blocks. I have to turn off wi-fi so that I can use mobile in order to connect. Wondering if there is some routing protocol that I can tell my phone to use MDC instead of wi-fi specifically for that application. It's a nuissance to have to turn off wi-fi, check the camera's, then turn it back on regularly. Any help would be greatly appreciated.

Apps = Not Likely. HOWEVER.... and I can't say for sure - mainly because I have no idea if the radios shut down based upon connection (example 3G turns off when on wifi) - but you can modify the routes in the route table and (again in theory) force data down one pathway or the other.
For example - using a terminal on the phone try this: Connect Wifi - then in the terminal type: ip route show
Output will be something like
default via 192.168.1.1 dev wlan0
....
192.168.1.1 dev wlan0 scope link
Click to expand...
Click to collapse
If you disconnect Wifi and repeat (ip route show) the output will look like this:
default via 10.77.xx.xx dev rmnet_sdio0
...
10.77.xx.xx dev rmnet_sdio0 scope link
Click to expand...
Click to collapse
So, you should be able to manipulate the route table with something like:
su
ip route add 88.77.66.55/32 via 10.77.xx dev rmnet_sdio0 (where 88.77.66.55 is your home IP address or the IP you want to get to).
The problem with this is... it's not persistent. So you'll be best off doing this from a script or something once you verify it works.
There might be another way too... I'm sure there's a route file somewhere that can be configured.

XDA is no longer worth my time.

Need GMAIL on Mobile Data, others on WiFi
hi, my case is simple:
At work, we have WiFi.
But, GMAIL is blocked.
So, i want all my other apps to use the office WiFi, but gmail to go over my mobile data.
I would imagine this scenario is getting more and more common.
Does anyone have any ideas here, apart from having to turn wifi off everytime i want to check my gmail?
any help much appreciated,
thanks James.

TimOster said:
XDA is no longer worth my time.
Click to expand...
Click to collapse
Then go away.
2$HAYNE

TimOster said:
XDA is no longer worth my time.
Click to expand...
Click to collapse
okay, BYE
shayneflashindaily said:
Then go away.
2$HAYNE
Click to expand...
Click to collapse
here here, I 2nd that.
that was an easy problem to solve

TimOster said:
XDA is no longer worth my time.
Click to expand...
Click to collapse
Since you randomly go around posting this same statement on many threads, let me see if I can give you a hand.
Give me just a bit.....I'll see if I can get a mod to help you find the xda door. No need to hit thanks Tim....more than happy to do it for you.
Sent from my Big Ass Outlaw Phone

TimOster said:
XDA is no longer worth my time.
Click to expand...
Click to collapse
Then dont come back.

shayneflashindaily said:
Then go away.
2$HAYNE
Click to expand...
Click to collapse
captemo said:
okay, BYE
here here, I 2nd that.
that was an easy problem to solve
Click to expand...
Click to collapse
Lol you guys! He said that over a year ago!!
Bubbajoe40356 said:
Since you randomly go around posting this same statement on many threads, let me see if I can give you a hand.
Give me just a bit.....I'll see if I can get a mod to help you find the xda door. No need to hit thanks Tim....more than happy to do it for you.
Sent from my Big Ass Outlaw Phone
Click to expand...
Click to collapse
serge_harle_z said:
Then dont come back.
Click to expand...
Click to collapse

440bro said:
Lol you guys! He said that over a year ago!!
Click to expand...
Click to collapse
yeah, I know.
but my phone runs soooo good, im bored
been trying to decide what to flash. even if there are issues, it will give me something to do.

Related

[ISSUE] How to prefer Wi-Fi to 3G

I have a HTC Fuze. The last few ROMS that i have been using (Energy, RRE, Tael), all the Apps always use the 3G internet to do their work even if a much faster Wifi is connected. Is there any way to make all apps(including things like email) globally prefer the Wifi when available? Also I dont want to have to keep changing settings to do this, It simply needs to be "If Wifi available use it, else use 3G"
Thanks in advance.
What i did was to go to start>settings>connections>advanced>select networks and change the default connection to the internet to "My work network", rather than my 3G network. This way, if theres any connection to the internet needed, my phone will use my wifi connection. The problem with this, however, is that when you dont have a wifi connection available, the phone will not connect to the internet unless you change the above setting back to your 3G network. If anyone knows a better way, please let us know
no i cant keep switching. thats too much trouble. there must be a better way.
redskilldough said:
What i did was to go to start>settings>connections>advanced>select networks and change the default connection to the internet to "My work network", rather than my 3G network. This way, if theres any connection to the internet needed, my phone will use my wifi connection. The problem with this, however, is that when you dont have a wifi connection available, the phone will not connect to the internet unless you change the above setting back to your 3G network...
Click to expand...
Click to collapse
Does it automatically connect to WiFi when a known network is within range even when the phone is in sleep? If yes, does it disconnect once not in use for a while?
k.electron said:
no i cant keep switching. thats too much trouble. there must be a better way.
Click to expand...
Click to collapse
As far as I know there is no way to do it automatically. You can use one or the other but they must be switched manually. All HTC phones have always worked this way. Maybe if the demand was high enough which apparently it is not a Chef could come up with an app that would do it. But for now you must do it manually.
rexian said:
Does it automatically connect to WiFi when a known network is within range even when the phone is in sleep? If yes, does it disconnect once not in use for a while?
Click to expand...
Click to collapse
no i leave wifi off normally to conserve battery.
Solarenemy68 said:
As far as I know there is no way to do it automatically. You can use one or the other but they must be switched manually. All HTC phones have always worked this way. Maybe if the demand was high enough which apparently it is not a Chef could come up with an app that would do it. But for now you must do it manually.
Click to expand...
Click to collapse
that is extremely failurous. not preferring the fastest internet connection is major fail. did not know that.
My phone does this automatically. It uses the WiFi whenever it's on. If the WiFi is off, it uses the data connection.
Maybe I'm understanding it wrong?
|Jason8| said:
My phone does this automatically. It uses the WiFi whenever it's on. If the WiFi is off, it uses the data connection.
Maybe I'm understanding it wrong?
Click to expand...
Click to collapse
what the heck? how? u must help me find out..
i think it does prefer wifi over 3g in WM 6.5...!!
to check it out here is wt i've done....turn data connection off...check that its on in the notification manager "when u click on the task bar"..then run any app that needs internet " opera, msn messenger, email...etc" while this app is online..
now there r two ways to check it
1-the notification manager & see if it turned to 3g data connection...if so u should find a timer running in ur service provider section, if not then its only using wifi
2-check the communication manager & see if it turned the data connection on, if its off then its using wifi...
thats how it is with my touch pro...i'm using energy rom nov. 08 build
Indeed it prefers wifi connections 2 data, but You have to :
1. Have Known wifi spots in range
2. Keep wifi connection on, while in stand by
Keep in mind that if a program starts to use the data connection it wont change to use the wifi one. So firstly connect and then open programs.
wakady said:
i think it does prefer wifi over 3g in WM 6.5...!!
to check it out here is wt i've done....turn data connection off...check that its on in the notification manager "when u click on the task bar"..then run any app that needs internet " opera, msn messenger, email...etc" while this app is online..
now there r two ways to check it
1-the notification manager & see if it turned to 3g data connection...if so u should find a timer running in ur service provider section, if not then its only using wifi
2-check the communication manager & see if it turned the data connection on, if its off then its using wifi...
thats how it is with my touch pro...i'm using energy rom nov. 08 build
Click to expand...
Click to collapse
firiel said:
Indeed it prefers wifi connections 2 data, but You have to :
1. Have Known wifi spots in range
2. Keep wifi connection on, while in stand by
Keep in mind that if a program starts to use the data connection it wont change to use the wifi one. So firstly connect and then open programs.
Click to expand...
Click to collapse
apparently its some sort of combo of this. i am using 6.5. any apps that have been using 3g continue with it. and i have to go to the comm screen and turn off data to force new apps to consume wifi. which isnt too bad, certainly not as bad as going to the network options. i would wish they made this a bit more seamless like with the desktop technology, i can switch from wired to wireless lan without even dropping a skype call.
firiel said:
Indeed it prefers wifi connections 2 data, but You have to :
1. Have Known wifi spots in range
2. Keep wifi connection on, while in stand by
Keep in mind that if a program starts to use the data connection it wont change to use the wifi one. So firstly connect and then open programs.
Click to expand...
Click to collapse
now i have discovered a new problem. even if i open the app after i have wifi turned on and data turned off, some apps just dont want to use the wifii.
Bing maps and google maps for example just tell me there is no internet.
this is really pissing me off, whats the point of having wifi on a phone if the apps wont use it. i dont really care about the google location service if the data is through the internet, but atleast turn on.
lame.

[Q] Tethering with rooted ICS phone

I have searched extensively on Google, and XDA but can't find the right answer.
I want to tether my phone. I can do this directly in Android but my current carrier brings up a message in the browser saying it's not supported on my current plan.
I'm addressing this, but in the mean time I'm curious if there is a way round it, hypothetically.
I have seen some Apps, such as ClockWork Mod Tether, but since my phone is rooted I wondered if there is a more elegant solution that doesn't involve any software to be added to my PC.
I read about using TB to freeze a specific App/Process but couldn't find any details.
Any advice would be great,
thanks
helppme said:
I have searched extensively on Google, and XDA but can't find the right answer.
I want to tether my phone. I can do this directly in Android but my current carrier brings up a message in the browser saying it's not supported on my current plan.
I'm addressing this, but in the mean time I'm curious if there is a way round it, hypothetically.
I have seen some Apps, such as ClockWork Mod Tether, but since my phone is rooted I wondered if there is a more elegant solution that doesn't involve any software to be added to my PC.
I read about using TB to freeze a specific App/Process but couldn't find any details.
Any advice would be great,
thanks
Click to expand...
Click to collapse
HOW have you not heard of android wifi tether? One of the first reasons I had for rooting the first Android phone I got.
There's also Barnacle Tether, available on the play store.
Guess Barnacle is gone... but there are other tethering apps on the play store though.
And I'm wrong again. Barnacle is still there, but doesn't show up when I search from my phone. How curious.
Since your phone is rooted you can download wireless tether.
Google it and you will easily find the download link or even directly via the play store.
Sent from my GT-I9100 using xda premium
ctomgee said:
HOW have you not heard of android wifi tether? One of the first reasons I had for rooting the first Android phone I got.
There's also Barnacle Tether, available on the play store.
Guess Barnacle is gone... but there are other tethering apps on the play store though.
And I'm wrong again. Barnacle is still there, but doesn't show up when I search from my phone. How curious.
Click to expand...
Click to collapse
I appreciate the reply, but if you read my post again the issue I'm having is not an app to enable wifi tether directly on the handset, it's that the packet data is being detected as not from the phone so I get a message, on the computer, in the internet browser saying my priceplan doesn't include tethering. I cant get around this 3 website redirect. So, I need a way to tether, without the network knowing... The apps you mention work when the block is at the phone level I believe.... This is something different Three is doing..
Please correct me if I'm wrong though...
Oh, and as for the apps not showing up, the mobile phone providers asked google to block these apps for certain customers.. if you connect to a wifi network when in flight mode, and go the google market, you should still be able to see them...
panoramixmeister said:
Since your phone is rooted you can download wireless tether.
Google it and you will easily find the download link or even directly via the play store.
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
same issue, this app doesnt get around they way three is detecting tether usage :-(
helppme said:
I appreciate the reply, but if you read my post again the issue I'm having is not an app to enable wifi tether directly on the handset, it's that the packet data is being detected as not from the phone so I get a message, on the computer, in the internet browser saying my priceplan doesn't include tethering. I cant get around this 3 website redirect. So, I need a way to tether, without the network knowing... The apps you mention work when the block is at the phone level I believe.... This is something different Three is doing..
Please correct me if I'm wrong though...
Oh, and as for the apps not showing up, the mobile phone providers asked google to block these apps for certain customers.. if you connect to a wifi network when in flight mode, and go the google market, you should still be able to see them...
Click to expand...
Click to collapse
I WAS on wifi.
And did you ACTUALLY download the tether app and try, or were you using the tether built into the settings of Android? Because it sure doesn't sound like you downloaded the app...
And I don't have tethering on my carrier plan, but the tether app works just fine for me.
ctomgee said:
I WAS on wifi.
And did you ACTUALLY download the tether app and try, or were you using the tether built into the settings of Android? Because it sure doesn't sound like you downloaded the app...
And I don't have tethering on my carrier plan, but the tether app works just fine for me.
Click to expand...
Click to collapse
Initially when I first posted I was trying the built in app but I downloaded the app you suggested anyway, but it didn't work. would connect to the computer but no data connection. Unsure if its an app problem or still a three problem, but I don't see how this app would fix the three problem. Does it somehow mask the PC data connection??? I couldn't see anything in the settings or set up that suggest that it would, it just looks like a more feature rich wifi hotspot app?? In addition I found mention that that others with my issue have also tried these apps like barnacle and it didn;t resolve the problem....
helppme said:
I have searched extensively on Google, and XDA but can't find the right answer.
I want to tether my phone. I can do this directly in Android but my current carrier brings up a message in the browser saying it's not supported on my current plan.
I'm addressing this, but in the mean time I'm curious if there is a way round it, hypothetically.
I have seen some Apps, such as ClockWork Mod Tether, but since my phone is rooted I wondered if there is a more elegant solution that doesn't involve any software to be added to my PC.
I read about using TB to freeze a specific App/Process but couldn't find any details.
Any advice would be great,
thanks
Click to expand...
Click to collapse
They can suspend your service if they discover you are doing tethering on your device if you are not alowed in your current plan.
I Hope you wont have any issues.
Otherwise it is possible that the sim card lock the feature even on rooted phone when detect thetering or it is impossible ?
jsmasterx said:
They can suspend your service if they discover you are doing tethering on your device if you are not alowed in your current plan.
I Hope you wont have any issues.
Otherwise it is possible that the sim card lock the feature even on rooted phone when detect thetering or it is impossible ?
Click to expand...
Click to collapse
yes I suppose they could do, but like I say I'm resolving this with my contract. It's more that I'm curious how they are doing it, and on principle don't like being told what I can and can't do
It can't be a sim lock.
I just tried tethering a Macbook, and amazingly that worked!.. SO, It must be something to do with the Packet Headers I'm guessing.. Or they are doing some other more detailed packet sniffing... It means there is definitely a software route around it... Need a clever developer to read this thread
I guess clockworkMod Tether might work, but I want a solution without a PC install..
helppme said:
yes I suppose they could do, but like I say I'm resolving this with my contract. It's more that I'm curious how they are doing it, and on principle don't like being told what I can and can't do
It can't be a sim lock.
I just tried tethering a Macbook, and amazingly that worked!.. SO, It must be something to do with the Packet Headers I'm guessing.. Or they are doing some other more detailed packet sniffing... It means there is definitely a software route around it... Need a clever developer to read this thread
I guess clockworkMod Tether might work, but I want a solution without a PC install..
Click to expand...
Click to collapse
That doesn't make any sense. If it works with a mac book, it should work with your windows machine too. Unless your windows machine has some kind of proxy?
ctomgee said:
That doesn't make any sense. If it works with a mac book, it should work with your windows machine too. Unless your windows machine has some kind of proxy?
Click to expand...
Click to collapse
no proxy.. I'm as confused as you. The headers are different on a mac though, Unix based system... Need to know how 3 detect at a network level its not phone data... this difference with a mac must be a clue...
pda net 3.50. Had to install pc software.. Is a USB tether solution.. but it works, so will do, until I get my price plan sorted.... Still would like a more elegant wifi solution though.. Come on you clever devs, .... SCRATCH that :-(((( It worked for 5 mins, now it comes up with same message in the internet Browser.. damn it!!! three are too smart :-(
helppme said:
pda net 3.50. Had to install pc software.. Is a USB tether solution.. but it works, so will do, until I get my price plan sorted.... Still would like a more elegant wifi solution though.. Come on you clever devs, .... SCRATCH that :-(((( It worked for 5 mins, now it comes up with same message in the internet Browser.. damn it!!! three are too smart :-(
Click to expand...
Click to collapse
Try proxoid.
ctomgee said:
Try proxoid.
Click to expand...
Click to collapse
They are blocking the port 80.. they sent you to their walled garden page. I think its on your provider proxy side now
Sent from my GT-I9100 using Tapatalk
jsmasterx said:
They are blocking the port 80.. they sent you to their walled garden page. I think its on your provider proxy side now
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
Is there a way around this. What do you mean by, on the provider proxy side?
Shortly after PDA net stopped working, I was also getting the three message on the browser directly on my phone.. after about an hour, my phone web browser started working normall again :-(
helppme said:
Is there a way around this. What do you mean by, on the provider proxy side?
Shortly after PDA net stopped working, I was also getting the three message on the browser directly on my phone.. after about an hour, my phone web browser started working normall again :-(
Click to expand...
Click to collapse
When you use thetering, you embark to the provider internet network.
for example my provider is Bell Canada and their proxy is web.wireless.bell.ca
this one is for the device internet
for the thetering one they use another configuration settings when i connect my device to the computer.
What happen is when you plug your device to the computer, a signal is sent to the provider stating you entered in thetering mode. You don't have access to thetering so your internet connection is limited to the walled garden of the provider stating you are not subscrided to the service. Thats why i think they blocked the port 80 on your device and redirect you to that page.
Now for the Macintosh story.. It is not impossible that you can connect without problem with a mac and safari. I know a lot of people emulating a handled device with the Mac and the safari browser and those peeps didnt had a thetering plan.
The differences came with the drivers installed. Mac OS one are quite different in term of functionality than windows, thats why maybe the provider is able to sniff more easily people using windows but i am not a senior programmer. I am currently taking courses to become one but for now it is only suppositions. If i am wrong feel free to correct me but I am quite sure about what i am saying and that's why you dont have issues with a mac
jsmasterx said:
When you use thetering, you embark to the provider internet network.
for example my provider is Bell Canada and their proxy is web.wireless.bell.ca
this one is for the device internet
for the thetering one they use another configuration settings when i connect my device to the computer.
What happen is when you plug your device to the computer, a signal is sent to the provider stating you entered in thetering mode. You don't have access to thetering so your internet connection is limited to the walled garden of the provider stating you are not subscrided to the service. Thats why i think they blocked the port 80 on your device and redirect you to that page.
Now for the Macintosh story.. It is not impossible that you can connect without problem with a mac and safari. I know a lot of people emulating a handled device with the Mac and the safari browser and those peeps didnt had a thetering plan.
The differences came with the drivers installed. Mac OS one are quite different in term of functionality than windows, thats why maybe the provider is able to sniff more easily people using windows but i am not a senior programmer. I am currently taking courses to become one but for now it is only suppositions. If i am wrong feel free to correct me but I am quite sure about what i am saying and that's why you dont have issues with a mac
Click to expand...
Click to collapse
This sounds correct to me. I'm pretty annoyed though. Only had the contract a month, I was told I could move onto a more expensive plan within contract if I needed more allowance etc.. Phone up 3, not only do they not let you PAY MORE for a different plan, but they also don't let anyone shift onto the one plan ever, unless its a new contract.. So basically **** them... so even if I want to pay extra for tethering I can't... absolute nonsense...
I had the same issue with three. I downloaded masqued crusader from play store. Activated it and then started wireless/usb tether. It worked. That was a while back tho. On a payg sim card on a galaxy s on gb. Its worth a try though.
Sent from my GT-I9100 using XDA

[Q] Android Phone as Router (Please read for more details)

Sorry if the title is ambiguous. This is what I am considering.
Scenario:
I have a router at home that is password protected. I frequently have guests coming over and sometimes, they need to have access to the Internet. My current situation/setup will result in me having to provide them my router password. The connection settings are then permanently saved on the guests' devices.
Desired Scenario:
I wish to use my Android phone (preferably Android 2.3.3) as an in-between. I would like the guests' devices to connect to my Android phone while the Android phone connects to the router.
As such, the guests' devices will only see the Android phone acting as a router.
Doing so will allow me to maintain the password of my router as a secret, while giving me more flexibility in deciding what each device (perhaps by MAC address?) can do.
Question:
Is this even possible?
If so, could someone point me in the right direction?
Background knowledge:
I have very limited knowledge in Networking but am always open to learning new things.
I am generally strong in C language and am new to Android programming. However, I can pick things up on my own once I have a clear direction or reference that I can use.
The reason for targeting Android 2.3.3 is because this is the current version on my Sony X10 Mini Pro. The speakers have died and now it's just a piece of device sitting on my table.
I want to make it more useful, so I am exploring other possible functionalities.
As of now, it is configured as a webcam but I'm still trying to get it to work with Skype.
Thank you very much =)
swb90 said:
Sorry if the title is ambiguous. This is what I am considering.
Scenario:
I have a router at home that is password protected. I frequently have guests coming over and sometimes, they need to have access to the Internet. My current situation/setup will result in me having to provide them my router password. The connection settings are then permanently saved on the guests' devices.
Desired Scenario:
I wish to use my Android phone (preferably Android 2.3.3) as an in-between. I would like the guests' devices to connect to my Android phone while the Android phone connects to the router.
As such, the guests' devices will only see the Android phone acting as a router.
Doing so will allow me to maintain the password of my router as a secret, while giving me more flexibility in deciding what each device (perhaps by MAC address?) can do.
Question:
Is this even possible?
If so, could someone point me in the right direction?
Background knowledge:
I have very limited knowledge in Networking but am always open to learning new things.
I am generally strong in C language and am new to Android programming. However, I can pick things up on my own once I have a clear direction or reference that I can use.
The reason for targeting Android 2.3.3 is because this is the current version on my Sony X10 Mini Pro. The speakers have died and now it's just a piece of device sitting on my table.
I want to make it more useful, so I am exploring other possible functionalities.
As of now, it is configured as a webcam but I'm still trying to get it to work with Skype.
Thank you very much =)
Click to expand...
Click to collapse
it has been possible for years, apps like foxfi and pdanet from play store allow this!
ricky310711 said:
it has been possible for years, apps like foxfi and pdanet from play store allow this!
Click to expand...
Click to collapse
Really?!?!
Damn!
I had no idea...foxfi and pdanet...
if it's not too much trouble, is there a free version that is not too much hassle? A quick search reveals that both foxfi and pdanet requires a restart from time to time for the free version.
swb90 said:
Really?!?!
Damn!
I had no idea...foxfi and pdanet...
if it's not too much trouble, is there a free version that is not too much hassle? A quick search reveals that both foxfi and pdanet requires a restart from time to time for the free version.
Click to expand...
Click to collapse
just search wifi tether or wifi hotspot and you should be able to find a few!
ricky310711 said:
just search wifi tether or wifi hotspot and you should be able to find a few!
Click to expand...
Click to collapse
thanks =)
guess i'll try those out then!
swb90 said:
thanks =)
guess i'll try those out then!
Click to expand...
Click to collapse
no problem, if i helped be sure to hit that thanks button and reply if you encounter problems or have more questions!
ricky310711 said:
no problem, if i helped be sure to hit that thanks button and reply if you encounter problems or have more questions!
Click to expand...
Click to collapse
Hi! Sorry for reviving a relatively dead thread.
I ran into a bit of a problem.
Most of the apps assume that I have a mobile data connection.
My phone does not have a mobile data connection and so it is unable to tether.
What I would like is for my phone to connect to my home router while accepting incoming connections from other devices (phones, laptops, etc).
Basically I want it to be acting as an intermediate router, as shown by the simple diagram below.
Router <-------> Phone <--------> Other devices
<-------------> is Wifi connection.
Hope it's not impossible.
Thank you =).
swb90 said:
Hi! Sorry for reviving a relatively dead thread.
I ran into a bit of a problem.
Most of the apps assume that I have a mobile data connection.
My phone does not have a mobile data connection and so it is unable to tether.
What I would like is for my phone to connect to my home router while accepting incoming connections from other devices (phones, laptops, etc).
Basically I want it to be acting as an intermediate router, as shown by the simple diagram below.
Router <-------> Phone <--------> Other devices
<-------------> is Wifi connection.
Hope it's not impossible.
Thank you =).
Click to expand...
Click to collapse
It can't work like that sorry, the only way it works is MobileData--->Phone<---OtherDevice
ricky310711 said:
It can't work like that sorry, the only way it works is MobileData--->Phone<---OtherDevice
Click to expand...
Click to collapse
Awww shucks!!!
Thanks =)
I guess I'll try to think of something else to do with my phone =)
swb90 said:
Awww shucks!!!
Thanks =)
I guess I'll try to think of something else to do with my phone =)
Click to expand...
Click to collapse
That's okay check out my tool! It's got plenty of options! Check if our in my signature

Wifi constantly disconnects/fails to connect - CM10.2

After a full wipe, and flashing the 11-10 nightly, I am still having issues with wifi connections. I've had these issues for roughly 1-2 months, and it is becoming a pretty big hassle since I am eating up a lot of data without usable wifi.
Since there is a horrible rule that requires me to have 10 posts before I can post in the actual projects thread, I guess I will have to start here and hope someone sees this. If you need logcat/anything else, let me know.
I've tried turning off 'Scanning always available' and I've set the frequency to 2.4 only in the settings, no differences so far.
are you trying to connect to a wep connection or a wpa/wpa2? if so either way youo must log into admin mode on router via web browser and enter mac address of device which allows device to use router dont ask why possible security feature
t1gartist said:
dont ask why possible security feature
Click to expand...
Click to collapse
No, I don't. It failing to hold a connection on any type of network. Open/WEP/WPA-2/whatever.
enter admin mode of router and add your mac address on phone in about phone and then reboot phone and see what happens it should connect right on with wep or wpa/wpa2
t1gartist said:
...youo must log into admin mode on router via web browser and enter mac address of device which allows device to use router dont ask why possible security feature
Click to expand...
Click to collapse
Revenge282 said:
No, I don't. It failing to hold a connection on any type of network. Open/WEP/WPA-2/whatever.
Click to expand...
Click to collapse
It has nothing to do with MAC addresses being allowed/disallowed.
ok fella what kernel are you running stock?also are you s-on or s-off if your s-off then hopefully your aware of needing to flash boot.img via fastboot and modules via recovery.
other then im short on a answer and i would provide a logcat to palmer or zarboz as they are very well master in my opinon in kernel dev and can easily help you if your nice to them.
and the mac address issue is one of the most common problems with wifi not connecting ( which for the most part is for wep only but for me it was for wep and wpa/wpa2 so those are the three main issues unless you have modem issues on your device when can happen but not likely
Revenge282 said:
No, I don't. It failing to hold a connection on any type of network. Open/WEP/WPA-2/whatever.
Click to expand...
Click to collapse
Try turning off scanning always aviable
Sent from my HTC6435LVW using xda app-developers app
t1gartist said:
ok fella what kernel are you running stock?also are you s-on or s-off if your s-off then hopefully your aware of needing to flash boot.img via fastboot and modules via recovery.
Click to expand...
Click to collapse
crpalmer's 4.9.0 with the 11-11 nightly. This wifi problem has persisted through a few different versions and full wipes. I've tried with both the 11-11 kernel, and crpalmer's. Both show no differences.
frostysnowman3567 said:
Try turning off scanning always aviable
Click to expand...
Click to collapse
I've tried both on and off for a full day each, neither seems to make any significant difference one way or another.
can u provide a last_kmesg?
t1gartist said:
can u provide a last_kmesg?
Click to expand...
Click to collapse
dropbox.com/s/7kbbm9ks8hu0fq6/2013-11-20_02.21.zip
Revenge282 said:
dropbox.com/s/7kbbm9ks8hu0fq6/2013-11-20_02.21.zip
Click to expand...
Click to collapse
Does this occur with all roms or just with CM roms? What happens when you are at a public wifi spot? Need to figure out rom Issue phone issue or local wifi issue.
RLGL said:
Does this occur with all roms or just with CM roms? What happens when you are at a public wifi spot? Need to figure out rom Issue phone issue or local wifi issue.
Click to expand...
Click to collapse
I haven't jumped to any other ROMs, but it has kept up through multiple full wipes (format everything) and re-installs of CM for a solid month now. The result is the same, whether the access point is one on or off campus, at my friends house, open security or WPA2. It will connect briefly, drop, and sometimes it will show that wifi was turned off and turned back on. Other times, I might actually hold a connection for an hour or so, but those are more rare than finding a unicorn.
Revenge282 said:
I haven't jumped to any other ROMs, but it has kept up through multiple full wipes (format everything) and re-installs of CM for a solid month now. The result is the same, whether the access point is one on or off campus, at my friends house, open security or WPA2. It will connect briefly, drop, and sometimes it will show that wifi was turned off and turned back on. Other times, I might actually hold a connection for an hour or so, but those are more rare than finding a unicorn.
Click to expand...
Click to collapse
Try WPA 2 with AES encryption, if that doesn't work
Back up CM and try Viper. wIFI can be a funny beast to tame
RLGL said:
Try WPA 2 with AES encryption, if that doesn't work
Back up CM and try Viper. wIFI can be a funny beast to tame
Click to expand...
Click to collapse
I've tried setting up my own access points and going through all the different scenarios, and I got nothing. I'm just confused as to how it is persisting through all of these perfectly clean flashes, even when other users say everything is working fine. I am probably just going to throw a hail mary and try to flash CM11 tonight.
Revenge282 said:
dropbox.com/s/7kbbm9ks8hu0fq6/2013-11-20_02.21.zip
Click to expand...
Click to collapse
Did you delete that file? If you want to post a logcat and a dmesg from when the wifi is disconnecting / reconnecting, I can take a look and see if there is anything useful I can tell you about it.
crpalmer said:
Did you delete that file? If you want to post a logcat and a dmesg from when the wifi is disconnecting / reconnecting, I can take a look and see if there is anything useful I can tell you about it.
Click to expand...
Click to collapse
Sorry about that. I moved it to extract it, but I forgot to leave a copy. It should be back up (dropbox.com/s/7kbbm9ks8hu0fq6/2013-11-20_02.21.zip)
You don't say if you had issues prior to flashing CM... Is this something that has always been including stock?
Mine will not connect to one router I have on the guest account, that is a router issue as it will connect to my other router on a guest account. The routers are in different buildings, are different brands and one is new. Also try to connect on the 5 G band instead of the 2.4 G band
RLGL said:
You don't say if you had issues prior to flashing CM... Is this something that has always been including stock?
Mine will not connect to one router I have on the guest account, that is a router issue as it will connect to my other router on a guest account. The routers are in different buildings, are different brands and one is new. Also try to connect on the 5 G band instead of the 2.4 G band
Click to expand...
Click to collapse
Prior to CM it was fine. Actually I believe I remember it being fine long ago on CM, though there's no way I could accurately tell you when about it was. This happens on every router I've gone tried. It's more like the actual wifi radio is turning off/on when it disconnects (which you can see it do in the settings if you watch). 5/2.4Ghz seem to be about the same. I've left it on 2.4GHz for a while now since that seems to make it a little more stable, but I'd take that with a grain of salt.
Revenge282 said:
Prior to CM it was fine. Actually I believe I remember it being fine long ago on CM, though there's no way I could accurately tell you when about it was. This happens on every router I've gone tried. It's more like the actual wifi radio is turning off/on when it disconnects (which you can see it do in the settings if you watch). 5/2.4Ghz seem to be about the same. I've left it on 2.4GHz for a while now since that seems to make it a little more stable, but I'd take that with a grain of salt.
Click to expand...
Click to collapse
Do a back up and try Viper to see if that cures it. There have been others that have had issues with wi fi, it may be your unit won't tolerate something in the rom. They all have their own quirks.

How to use 3G data connection same time wifi?

I have a technical question ... you can use the 3G network for surfing the Internet and at the same time the wifi network to move files only?
Simply put no. Phones are not made to use 2 different wireless signals at once.
Bat cave One
The only way to use both is setting a Wi-FI access point on your phone. Still, you can't do things you want to: PC connects to smartphone just to get internet data.
No there is no way around it.
Bat cave One
zelendel said:
Simply put no. Phones are not made to use 2 different wireless signals at once.
Bat cave One
Click to expand...
Click to collapse
why not? I can call when I have wifi turned on
massimiliano.peloso said:
why not? I can call when I have wifi turned on
Click to expand...
Click to collapse
Do you even understand what your asking? Voice and data are 2 very different things. Data and call signals are handled by different process. The antenna are set to do one voice and one data. Think about it. Even dual sim card devices can only use one at a time.
Bat cave One
Yes I understand ... so it is not technically possible to manage wifi and 3g antenna at the same time because data can only handle one job at a time? I thought the wifi module and the module 3g were managed separately...
This is an android software limitations?
When you use the wifi 3g module is put into the off state to save battery, works only the incall module. When you disable the wifi 3g module change the status to up. About your question no, it's impossible to use wifi and 3g at the same time to make 2 different operation
Sent from my LG-P990 using xda app-developers app
thanks for the reply. just in my office I have a wifi router with no internet connection, are connected with the phone to surf the intranet. so I would keep the connection 3g to receive notifications from whattsup or other ... every time without having to turn off and on the wifi. It does not seem like a stupid question.
This is not directly related to your problem but using wifi and mobile data at the same time seems to be possible: http://forum.xda-developers.com/showthread.php?t=1667025
Tank you, i see that... But you can only download a file....
I read of a change made to the file system / framework / services.jar
But i don't know if it work....
massimiliano.peloso said:
I have a technical question ... you can use the 3G network for surfing the Internet and at the same time the wifi network to move files only?
Click to expand...
Click to collapse
Yes, I'm doing it on my Nexus 4, check this thread:
http://forum.xda-developers.com/showthread.php?t=1640472
Another guy is doing it on an Optimus G, he did it first as far as I can tell:
http://forum.xda-developers.com/showthread.php?t=2197776
zelendel said:
Simply put no. Phones are not made to use 2 different wireless signals at once.
...
There is no way around it
Bat cave One
Click to expand...
Click to collapse
That's incorrect. Android phones can use multiple wireless signals at once (wifi, cell, mobile data, bluetooth, nfc). And they can have multiple network interfaces up at the same time just like any linux box can. It just happens that the network manager turns of mobile data when you turn on wifi, but that's on purpose (to save you battery/cost), and not because the phone isn't capable of it.
Not sure why you say with such authority there's no way around it. If you don't know the answer to something for sure, better don't give a wrong answer.
There's even an app on the play store that can loadbalance a download over wifi and mobile data at the same time:
https://play.google.com/store/apps/details?id=it.opbyte.superdownload_lite
sordna said:
Yes, I'm doing it on my Nexus 4, check this thread:
http://forum.xda-developers.com/showthread.php?t=1640472
Another guy is doing it on an Optimus G, he did it first as far as I can tell:
http://forum.xda-developers.com/showthread.php?t=2197776
That's incorrect. Android phones can use multiple wireless signals at once (wifi, cell, mobile data, bluetooth, nfc). And they can have multiple network interfaces up at the same time just like any linux box can. It just happens that the network manager turns of mobile data when you turn on wifi, but that's on purpose (to save you battery/cost), and not because the phone isn't capable of it.
Not sure why you say with such authority there's no way around it. If you don't know the answer to something for sure, better don't give a wrong answer.
There's even an app on the play store that can loadbalance a download over wifi and mobile data at the same time:
https://play.google.com/store/apps/details?id=it.opbyte.superdownload_lite
Click to expand...
Click to collapse
I say this from past experience that the WiFi antenna could not get a signal at the same time as the data antenna.
Now while this may have changed. I will look into it myself before I pay much heed to it as anything more then smoke and mirrors.
zelendel said:
I say this from past experience that the WiFi antenna could not get a signal at the same time as the data antenna.
Now while this may have changed. I will look into it myself before I pay much heed to it as anything more then smoke and mirrors.
Click to expand...
Click to collapse
Welcome to the future, I guess...
http://galaxys5guide.com/samsung-galaxy-s5-features-explained/galaxy-s5-download-booster/
But this has been around for awhile (though not as advanced, obviously...)
http://forum.xda-developers.com/showthread.php?t=1667025
But as far as being able to use both separately at the same time would probably be a pain to implement in many phones.

Categories

Resources