[Q] Simultaneous WiFi (no-data) & 3G (data) - Android Q&A, Help & Troubleshooting

Hi there everyone,
I'm wondering if on an android device there's a way to force it to keep open a wifi connection that is not used for data, for example to a Seagate Goflex Satellite (WiFi HDD) or eye-fi (WiFi SDHC) while also being simultaneously connected to 3G for data. Obviously connecting to 2 wifi connections is out of the question, but thought maybe somewhere out there is someone who 's found a way to do what I'm looking at.
Thanks.

Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A

lufc said:
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
Click to expand...
Click to collapse
Thanks

Bump
Bump - anyone have any idea?
Thanks.

No-one has any ideas?

Even I am hunting for the same.
Check these links
http://mobisocial.stanford.edu/news...together-by-hacking-connectivityservice-java/
https://gist.github.com/CyanogenMod...a/com/android/server/ConnectivityService.java
I am not sure if it will work though! Coz I find this reply more convincing..
Pallas Says:
April 13, 2012 at 5:58 am
are you sure the packets are going thru both interfaces?
I think it doesn’t work, simply because you would need two default gateways, leading to some hard problems:
- how does the system choose where to send the packets?
- for outgoing packets: unless the two connections have both statically assigned public IP addresses, which is very unlikely, you will end up with two differently NATed paths, and the client will refuse packets coming from two different ip addresses on the same connection.
- for incoming packets: to let the client send packets to both interfaces, you would need to send them from both interfaces with different source ip addresses: it will not work, the client will get confused. and anyway you would need support at the application level.
to solve all this, you’d need to:
- make an ad-hoc application which understands all this and can send chuncks to both interfaces, then merge all the returning chunks. you’d need support at the application level: for example you’d need http byte range support on both client and server
- divide “equally” the single specific connections thru the two gateways. this may work but it’s pretty hard if you do not have access to advanced routing and traffic shaping at the kernel level. may be possible on a phone with custom compiled aosp rom and modified kernel

Related

[Q] Connect two Android phones to share voice and data

Hey guys, I'm looking for a solution to connect one android phone to another over bluetooth to share voice and maybe data service. What I want to do is use my old Dell Streak as a GPS/media player in my car without having service to it. I would like it to connect to my current phone so I can make call through it, like a headunit with hands free bluetooth calling. I'm not so much worried about data, though it would be a plus but I don't think Android supports connecting to ad-hoc networks. I can't seem to find any app that supports this, and I'm not seeing anywhere on the Android system where this is possible. I haven't owned a car stereo that supports bluetooth calling so I'm not sure what to look for. If anyone has tried this and could help me out it would be appreciated. Thanks in advance!
Edit: Nevermind. I found a thread on here with a group actively looking for a solution to this. Thread can be deleted.
I guess a simpler way to put it is to say I want to make the phone in the car act as a handfree device for my phone with service, which would be in my pocket. I did find a couple threads which were just dead ends when searching with those terms. Does anyone know if the bluetooth api supports the phone acting as a device? I see that might be an issue I have come across in my searching so far.
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A

adhoc in 4.0 API or still need hacks ?

Hello.
I am a CS student. I have a project to write a communication library for android using wifi card. Library should allow transfer of objects between the phones. (in short words I need TCP or at least UDP).
What I would do on a laptop:
switch to adhoc mode, put each laptop on different static IP. use TCP/UDP for communication.
I have a problem doing the same on Android as it does not natively support adhoc.
My question:
I need my library to work on EVO 4G phone (currently on Android 2.3). I will of course need to root it. But what would you recommend after the rooting ?
Exploring teather libraries (http://code.google.com/p/android-wifi-tether/) or flashing it to 4.0 ? Will I get an API that allows me to use the card in adhoc mode or I will still need to dig that teather libs ?
The communication I need should be using wifi card when there is no AP present and android phones may get in range and out of range of each other.
I am pretty new to Android development. The language I use for the library is JAVA.
Any links/suggestions/thoughts are very welcome.
Thanks in advance.
A bit of clarification.
I don't need any routing protocol for adhoc. What I mean is if I have 3 nodes that are in range of each other I need them to be able to send packets only to each other.
I don't need the dynamic route discovery algorithms.
In case the current topology is <node a> ---- <node b> ---- <node c> (node A is not in wifi range of node C). In this case node A and C can't communicate.
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums & Read the Forum Rules
Moving to Q&A

What [protocol:port]s need to be open for WiFi calling to work?

Guys,
What {protocol : port}s need to be open for WiFi calling to work?
I can see on my home router:
TCP:any -> TCP:5061 - to register with WiFi calling server
UDP:any [high port]-> UDP:any [high port] – to place a call
I’m complete newbie on WiFi calling (and many other things).
Does anything else need to be opened?
Anyway to configure WiFi calling to use some shorter UDP range?
Not everybody is comfortable with opening whole UDP high port range, even if it’s for outgoing & single IP only…
If it’s relevant, I’m on 1.43.531.3
To mod: I did search forums, but there is nothing about exact ports for WiFi calling…
Ports can be whatever you set them to be. It shouldn't matter if your phone is already connected to your home network though
Sent from my HTC_Amaze_4G using XDA
Spastic909 said:
Ports can be whatever you set them to be. It shouldn't matter if your phone is already connected to your home network though
Click to expand...
Click to collapse
Where do I set ports exactly on Amaze?
ApokrifX said:
Guys,
What {protocol : port}s need to be open for WiFi calling to work?
I can see on my home router:
TCP:any -> TCP:5061 - to register with WiFi calling server
UDP:any [high port]-> UDP:any [high port] – to place a call
I’m complete newbie on WiFi calling (and many other things).
Does anything else need to be opened?
Anyway to configure WiFi calling to use some shorter UDP range?
Not everybody is comfortable with opening whole UDP high port range, even if it’s for outgoing & single IP only…
If it’s relevant, I’m on 1.43.531.3
To mod: I did search forums, but there is nothing about exact ports for WiFi calling…
Click to expand...
Click to collapse
Another alternative you can do is set up a static IP for your phone. Make sure you set a IP address that is a bit higher, such as 192.168.0.30 (this is only an example). You want it to be a bit high so DHCP won't accidentally assign the same IP to someone else that you already have. After that, just put your entire phone in DMZ in router settings. Meaning, it would make your phone (with the specific IP address) wide open to the internet, not anyone else.
ALSO, from what I've looked, you will have to open up UDP port 500 and UDP 4500. You don't need to create a range, but just set an individual rule to allow these ports.

Different options to avoid 3 Mobile UK tethering block.

Hi everyone,
I am trying to get my head around on what can be done to bypass the tethering filter on 3UK.
Below are different scenarios I have come up with and would like any volunteers who could try out any of the following for me. Of course I will be doing these myself as and when time permits but its always helpful to have others view on it too.
Please and I say please, do not turn this thread into Right and Wrongs of tethering or Terms and conditions of 3 mobile contracts. Please keep your views to yourself regarding if its lawful or unlawful or ethical or unethical or whatever you seem to come up with. I would like this to be a productive thread, instead of random comments on tethering.
Option 1: Use SSH Tunnel * Should I use SSH tunnel on my phone and use my PC to connect to it to use internet. Is there a reverse option?
Option 2: Use OpenVPN Install OpenVPN on your pc, and connect your phone to your pc using default VPN function on your phone in my case GT-I9100 comes with VPN function. You could also try to reverse this method and install OpenVPN on your phone and use your PC to connect to it. *
Option 3: Use the above two together in combination As the heading says, use SSH tunnel to connect to your OpenVPN.
Option 4: Use a proxy on your pc and connect to your phone or reverse, install proxy app on your phone and point your pc web browser to that proxy address. You could use the SSH tunnel here to connect too.
So, tools at hand are vpn with any encryption available, ssh tunnel, proxy server.
Tools to ignore - TOR (onion), garlic based TOR like, changing User Agent on web browsers or paid VPN.
3 UK has two APN settings, three.co.uk for mobiles (NATd ip address) and 3internet (dongle users) has external IP address and I believe it’s an Open NAT or no NAT.
Please feel free to mix and match any options and also share your views on what is technically possible.
I hope to see something useful and learn a bit more. Even if we fail to achieve the desired results, it will still be enlightening to find the facts on how 3 detects tethering.
I
Code encode decode
Found on giff gaff forum useful info
Well, they have a few ways..TTL: In my opinion, the most likely telltale signal of tethering. For example, *iOS packets originate with a TTL of 64, so if they see anything else they know something is up. This is very easy to check, as the TTL is checked by each router as the packet is handled. (the address on the envelope - doesn't require opening the letter, to use an analog analogy)APN: Another possible sign of tethering is data being routed over the access point set up for the built-in tethering feature. But giffgaff does NOT have a separate APN for Tethering. Again, this is easy to check without deep packet inspection.User-agent: This is where carriers would need to get heavy-duty equipment and a willingness to be invasive to detect tethering. Your browser sends information about itself to remote web servers, and this information could be checked. I do not think giffgaff is doing this (to detect tethering at least,) as it is not proof of tethering since anyone can easily use another browser on your phone that reports a different User Agent.Web Sites Visited: Again, highly invasive, though it doesn't require DPI. If you're using the DNS servers of the carrier, they could look for requests for certain domain names like windowsupdate.com etc. This wouldn't be proof either, though.I would bet that they are using TTL. So tunneling the TCP/IP packets that way probably resets the TTL to the default of the WAN interface on the phone.
Code encode decode
Why do you have to make 2 threads for the same subject?
Well I wasn't sure at the time of writing first one if I had to go down the route of testing which the second one is for. So, the first one is literally to know if its happening to new contracts only and second is for testing different scenarios and finding how.
Hope this helps and if not then jog on.
Code encode decode
Invincible29 said:
Hope this helps and if not then jog on.
Click to expand...
Click to collapse
Less of the attitude please and more of the reading of forum rules. Stick to one thread for the same thing.
Thread closed, use the other one (it was created first).

android.uid.system:1000 connected host

Hi everyone, I'm new in the forum, in fact I don't even know if this is the right section to publish my question, however, I just installed a data monitoring application that also allows you to see which hosts the device connects to, I have examined the majority of them, all legitimate except for the one (10.xx.xx.xx) which seems to be a private address (in my LAN, but in my LAN there is no device with that IP, so much so that if I go to 4G (mobile connection) the IP address remains unchanged and used). So I wanted to ask an opinion from those more experienced than I am about what this address could be. Thanks in advance, I hope you can clarify my doubts.
(Samsung S8+, latest security update, Android 9.0)
Edit: I found out that the IP address is associated with the rmnet0 interface, which I believe is likely to be that of the mobile data, confirmed? (I remove the photo as it indicates my IP)

Categories

Resources