Bluetooth Tethering Keeps Resetting, How Do I Trace It? - OnePlus 6T Questions & Answers

Hi,
I have a Oneplus 6T and I'm running into a problem that other people have had also (not necessarily with the Oneplus). I have a diabetes monitor that needs to access an internet database and I'm currently giving it access through bluetooth tethering. I've paired the device and everything works fine, except some idiotic process keeps disabling tethering. I have no idea which process is doing it. Sometimes it works for 5 minutes. Sometimes it works for 2 hours. Even though I'm a software engineer I'm not an Android developer so I'm not sure how to track it down. Possibly some kind of debug hook into the bluetooth tethering service? I know other devs have created apps that keep it tethering, but I'd like to find the root cause of the problem because those other apps aren't entirely reliable. If I have to I'll recompile Android and rip that code out by the roots.
In any case it pisses me off. I turned the friggin tethering on, if I wanted something else to turn it off I would have granted it the privilege. It's not like it's going to bluetooth tether without pairing so what's the point?
I suppose I could just start grepping through the code, but there has to be a better way.
Any help greatly appreciated.

Related

What's the best Internet Sharing Solution?

What's the best WiFi interenet sharing solution? WalkingHotSpot, WiFiRouter,
JoikuSpot, ICSControl, Internet Sharing, or Tethering, etc. Is there another option? What's the advantages and dissadvantages of each?
What I would really like is to have a solution that allows me to configure how many people can connect and/or some kind of security, WEP, or anything at all. Is that possible?
I tried using the Internet Sharing Utility but I would keep getting a Verizon sceen saying I needed to sign up for a different service. I tried both WalkingHotSpot and WiFiRouter. WifiRouter seemed to keep my WiFi on all the time and allowed unlimited people to connect with no security, and WalkingHotSpot I couldn't get working for some reason, but it didn't look like you could set up any security with that either. Thanks for the help and time..
I don't think wifirouter can be beat, I have used it and prefer it.
I hear there is a bug in it that allows it to keep your WiFi turned on all the time. I heard there is a WEP feature and a feature that allows you to kick IPs off from using it. Do you know anything about this? Thanks.
rambrush said:
I don't think wifirouter can be beat, I have used it and prefer it.
Click to expand...
Click to collapse
I am not sure what you are talking about.
But you can set up a secure wireless network. It is only on if the switch is on so when you disconnect and turn switch off its done.
I have run the program for 10+ hours straight while on the road it kept the wifes laptop connected anywhere we have connectivity. I do run a amplifer and external antenna for those weaker areas.
Go check out the documentation at this link to see if the info is there?
http://support.wmwifirouter.com/documentation/
What version of the software are you using? I don't remember seeing any of those options with my version. It seemed to still have WiFi working even when the button was off, the icon looked like it was still working, but I didn't test it.. Thanks...
wmwifirouter is my favorite and my dad's by far

"Free" WiFi Hotspot Stopped Working

Soon after I got my phone, I used the ##778 reprogramming trick to enable "free" usb tethering. (PDAnet would crash my Vista laptop every 10 minutes.)
After the 2.2 OTA, I've been using the same trick to enable "free" hotspot through my Inc. (No root necessary!) I was able to access email and surf the web and after 1.5 months, I never once saw the MBC feature added to my bill.
Until 3 days ago, everything was working great. I would turn on the hotspot, my laptop would connect to the network and I was able to access the web.
Since then, my Inc creates a network and my laptop connects to the network, but it never connects to the internet. (The little globe icon doesn't appear. If that makes sense...) I checked ##778 settings and everything is fine.
I'm running stock kernel and 2.2 OTA with LauncherPro. I have ~200 apps installed currently. BUT none of that should matter because it worked fine with all these apps before.
Has anyone else experienced similar problems? Would the app that works for rooted phones work for me? I've been trying to avoid rooting my phone because, I'll end up spending WAY TOO MUCH time playing with ROM's and such. (It's inevitable, but I'm holding out as long as I can. Until then, I'll continue to read this forum to stay current.)
Mine still works fine - Root it jackass (jk) your phone will literaly be 100 times better
My co-worker used to connect his BB to my network, but now it won't even connect. It detects the network with 4 bars, but he gets an error connecting. (Probably because it won't detect an internet connection.)
This is bothering me a lot. I have a feeling it could be a hardware issue.
I got a wireless router yesterday for my workplace now so I don't really need the feature anymore (it's so much faster than VZW's network!), but I'd like to able to use it in emergency situations when I can't find an open network on the road.
blazin_phattys said:
Has anyone else experienced similar problems? Would the app that works for rooted phones work for me? I've been trying to avoid rooting my phone because, I'll end up spending WAY TOO MUCH time playing with ROM's and such. (It's inevitable, but I'm holding out as long as I can. Until then, I'll continue to read this forum to stay current.)
Click to expand...
Click to collapse
+1 Root. Bro it will honestly take you less than 10 minutes to root your device and install wireless tether and you'll be off and running. If your timid you don't have to do anything more than that. All you have to do to revert is flash the stock image from your sd card to unroot.

bluetooth tether issue

Why do some users achieve tether and others don't especially with the same tablet and phone. I had a theory and tested it and was right. For those that have managed to get as far as I did with connecting to your phone and having both Bluetooth icons but not be able to connect here is why. Your on wifi it only tethers on 3g I don't have 4 g by me so can't comment if it will work or not. I tried on wifi and the load bar would move an inch and stop then disconnected from wifi and TA DA it achieved tether. Why I have no idea but it works as a matter of fact I am posting this on my xoom connected to my bionic.
I've been using Bluetooth Tethering extensively. It works really well, but is a little temperamental.
On my phone (HTC Magic with a Gingerbread ROM), the *first* time I connect the Xoom, tethering appears to work but doesn't. So, on first connection, I always disconnect, then reconnect, and then I'm good for the rest of the day. This is most likely a bug in my ROM's Bluetooth implementation, but might be more widespread and might be what's making you think Bluetooth tethering just doesn't work at all.
Also, occasionally, and for no apparent reason, the bluetooth stack on the Xoom will go completely non-functional. All I have to do is disable bluetooth, re-enable it, and re-tether to the phone. Only a few seconds, and I'm back in business.
While a perfect Bluetooth tethering solution would be really nice, these two issues are minor enough that I'm considering not upgrading my now ancient phone until the 3 year contract is up.

[Q] Nougat tethering issues

Curious to know if the community is having tethering issues since going to Nougat.
Tethering does turn on and it does work to an extent but it'll either turn off whenever it wants or it'll simply stop serving requests. There is not a set amount of time for either before experiencing the issue. I'm pointing this issue directly at the tethering aspect as the phone will always browse and do anything as expected even tho the tethering clients are unable to. Even when the clients are unable to browse I can still ping the exact website that will not load. I can even curl those pages and get data back..
Here's what I've tried:
- Disabled adblocker on the phone
- Kept phone awake
- Connected to the charger
- Disconnected from the charger
- added net.tethering.noprovisioning=true to the build.prop
- Nuked and paved with different ROMs
Going to try installing a different tethering app to see if that works. UPDATE: This also produced the same results
I can connect to another 6p not running nougat and everything works as expected with the same computer so that rules out the computer.
Anyone else running into this issue? Anyone have a fix?
Thanks
What carrier are you on? Does hotspot work ok?
v12xke said:
What carrier are you on? Never had any issue on AT&T and use it extensively. Stock rom, rooted, EX kernel.
Click to expand...
Click to collapse
Verizon also using EX kernel. It's almost like some sort of cache fills up
Thank you!!! I thought it was just my phone hardware maybe. Having the same exact issue once I hit the official version of nougat. It didn't pop up until I believe thr 5th developer release as an issue. It really annoys me either streaming or online gaming it'll just cut out. I am really close to just going back to one of the developer previews that it did not occur on. Please anybody who can fix this issue or needs anything like a logcat, let me know.
DragonRyderX said:
Thank you!!! I thought it was just my phone hardware maybe. Having the same exact issue once I hit the official version of nougat. It didn't pop up until I believe thr 5th developer release as an issue. It really annoys me either streaming or online gaming it'll just cut out. I am really close to just going back to one of the developer previews that it did not occur on. Please anybody who can fix this issue or needs anything like a logcat, let me know.
Click to expand...
Click to collapse
What carrier are you on? Tethering can mean Wi-Fi, USB, or BT. I guess you are talking about the Wi-Fi hotspot because it's the most commonly used. My Wi-Fi hotspot is working fine on AT&T, although I haven't used it for gaming. Haven't heard back from OP, but I think he may be talking about Wi-Fi as well? You could try changing frequencies under advanced settings to toggle the hotspot to use 5Ghz instead of 2.4Ghz if you haven't tried that (and your equipment supports it).
I was having same issue also running latest PN, EX 4.04, radio/bootloader & vender.
This seemed to help but just started yesterday.
In Terminal Emulator, enter below code one by one:
su
settings put global tether_dun_required 0
exit
------------------------------------------------------
Reboot
Now if I could figure out how to stop adding a network every time I connect to hotspot with cp when I turn hotspot off & back on.
I'm thinking this could me a Verizon unlimited thing since not many people have anymore & very few people have stated issues.
Update: The above is not going to cut it! Hotspot seems to hang on longer but still disconnects!
I have Verizon, and yes, I am speaking to*Hotspot tethering. I have this issue only on Nougat. When I use a*Marshmallow based rom it doesn't happen. I use my hotspot as my home internet (laptops, smart tv, tablets, smartphones) and all of them drop connection after random intervals (most times after an hour to few hours). Not until the DPs for 7.1 did a change in the way it failed happened. Before those DPs, it would shut off and the notification icon would disappear (hotspot actually off). After*the DPs for 7.1 started, the tethering would still be on (on the*6P) but no device would show that it was on (in range). I have to shut it off, then*turn it back on. I use stock, Cortex or PN mostly. Root or no root. I also do not use custom kernels unless they come with the rom, although I have tried a couple to see if it would fix it. It didn't.*I have always attributed it to either faulty hardware somehow or DOZE improvements that kicked in. The DOZE came to mind as it almost seems as the phone is trying to*get into deeper sleep. I don't know. Any help would be appreciated.
Same issues with pixel, some said it works others did not.
https://forum.xda-developers.com/pixel-xl/how-to/root-guide-native-hotspot-t3493286
Yes for wifi tethering.
Well cannot seem to find anything on disconnect solving issues, posted solutions seem to be if tethering does not work at all.
Hope someone can solve.
crackerjack1957 said:
Well cannot seem to find anything on disconnect solving issues, posted solutions seem to be if tethering does not work at all.
Hope someone can solve.
Click to expand...
Click to collapse
Did you try toggling hotspot to use 5Ghz instead of 2.4?
v12xke said:
Did you try toggling hotspot to use 5Ghz instead of 2.4?
Click to expand...
Click to collapse
Laptop I'm using only does 2.4.
Was never a problem with the HTC M8 on MM, just recently bought the 6P.
Thanks
Had another laptop that had that had a 2.4 / 5Ghz dual wireless card.
Holds wifi hotspot with no disconnects whatsoever, longest time connected was 2.5 hours.
I will have to settle for usb tether on the 2.4 laptop for now until the wiser ones can find cause.
Just ran into this issue on the 6p running 8.0 beta 3. Seem related to the data encryption of the wifi hotspot. Turning encryption seems to solve the problem. However, I would say that is not really a solution, unless you don't running unsecured hotspot.
Edit: Turns out it only helps. Not a solution. Still disconnects just not as often often.
Deleted

Essential PH1 hot spot not connecting to mobile data

Hi, I'm starting this thread having searched for solutions in other threads and not having found it.
As background, I'm running Pie 9.0 with the August patch update. I got the phone in March and when I saw the pop-up for the update, I installed it, without doing any background checks (not my usual MO) - which is not to say my hot spot was working and then stopped, I just hadn't used it before then. My previous cell was the trusty Samsung S3 in its various flavours - mainly for the small form factor and frankly it was enough phone for me.
Anyway it seems that the PH1 "hot spot" works fine as a *repeater* when I'm connected to wifi but as soon as I turn off my wifi or am out of reach of a wifi and want my hot spot to connect to my mobile data, there's no internet connection to any device connected to my hot spot, even though both my PH1 and the device(s) show as "connected" to each other. internet on my PH1 works just fine in these instances.
What's the secret handshake to make this work?
buzzwords said:
Hi, I'm starting this thread having searched for solutions in other threads and not having found it.
As background, I'm running Pie 9.0 with the August patch update. I got the phone in March and when I saw the pop-up for the update, I installed it, without doing any background checks (not my usual MO) - which is not to say my hot spot was working and then stopped, I just hadn't used it before then. My previous cell was the trusty Samsung S3 in its various flavours - mainly for the small form factor and frankly it was enough phone for me.
Anyway it seems that the PH1 "hot spot" works fine as a *repeater* when I'm connected to wifi but as soon as I turn off my wifi or am out of reach of a wifi and want my hot spot to connect to my mobile data, there's no internet connection to any device connected to my hot spot, even though both my PH1 and the device(s) show as "connected" to each other. internet on my PH1 works just fine in these instances.
What's the secret handshake to make this work?
Click to expand...
Click to collapse
I don't have any trouble on TMO, but two thoughts for you.
Try adding "net.tethering.noprovisioning=true" to the build.prop file. You need root for this.
Maybe lengthen the TTL (time to live) on the connecting device. Google for your device/OS how to do this.
ktmom said:
I don't have any trouble on TMO, but two thoughts for you.
Try adding "net.tethering.noprovisioning=true" to the build.prop file. You need root for this.
Maybe lengthen the TTL (time to live) on the connecting device. Google for your device/OS how to do this.
Click to expand...
Click to collapse
Hmm... so root my phone...
Haven't rooted anything yet... so this is new territory for me.
Don't think it's the TTL, since it's the same with *any* device connected to my phone...
Thanks,
Taz
Mine doesn't work when bluetooth is turned on, for some reason. You could try turning BT off, and see if that helps
dsip said:
Mine doesn't work when bluetooth is turned on, for some reason. You could try turning BT off, and see if that helps
Click to expand...
Click to collapse
Well, I turned bluetooth off and when I try to connect to google.com with Chrome, my iPad says "This site can't be reached". When I switch to another wifi source, Goolge is found!
So... what's the culprit in my PH1??
TIA...
Do you have tethering support on your cell plan?
It is of course always possible some other app is interfering. VPN, ad blocker, ect. But honestly, in all likelihood you need to bypass the tethering check as I described earlier.
If that step doesn't work by itself, in a terminal app with a root prompt enter the command:
settings put global tether_dun_required 0
ktmom said:
Do you have tethering support on your cell plan?
It is of course always possible some other app is interfering. VPN, ad blocker, ect. But honestly, in all likelihood you need to bypass the tethering check as I described earlier.
If that step doesn't work by itself, in a terminal app with a root prompt enter the command:
settings put global tether_dun_required 0
Click to expand...
Click to collapse
Thanks ktmom, I guess I'm surprised that yours (and others'?) work without this mod and I'm needing to root mine? I have no other apps such as the ones you mention on my phone so I'm really confused why this simple connection isn't working on my phone.
Taz
buzzwords said:
Thanks ktmom, I guess I'm surprised that yours (and others'?) work without this mod and I'm needing to root mine? I have no other apps such as the ones you mention on my phone so I'm really confused why this simple connection isn't working on my phone.
Taz
Click to expand...
Click to collapse
But you didn't answer this question... Do you have tethering support on your cell plan?

Categories

Resources