Changing Dun requirement ADB? - AT&T Samsung Galaxy S8+ Questions & Answers

I've got a question about changing the Dun APN requirement for the native mobile Hotspot. The December update from OTA on galaxy S8+ or generally galaxies I'm not sure how many phone's it affected, but I've been working on a solution to get the native hotspot to work again. So far I've found a way to activate the native hotspot through the build prop/ or using an xposed module. Build prop is the easier choice for those without xposed. But even after activating it, the actual connection gets constant DNS errors in assuming because of the dun requirement that's the only thing i can guess would be doing it. Even so I might be wrong and need to do something else entirely. Either way I'm trying to figure out how to make the dun requirement null through ADB. I'm away how to set the dun requirement to 0 but the problem is any time I activate data or hotspot or turn data off or turn the hotspot off it immediately reactivated dun requirement.
TL;DR I'm trying to find a way to erase the dun requirement from hotspot protocols. Any help would be appreciated.

Related

wifi tether

Hi guys,
I am loving the Nexus 5. I've ordered it, and should be here in 2 days. Only issue is, I need the program android-wifi-tether https://code.google.com/p/android-wifi-tether/ to be working on this phone.
You see, I have a data plan from my carrier which DOES NOT ALLOW you to tether = (. However, the program wifi tether works great to get around this. Previously I used to use an App called Fox-Fi which did something similar.
Currently I'm running a TW based Samsung S3, because WiFi Tether will only work on TW-based roms, not AOSP-based roms.
Do you think there is any chance to get WiFi Tether, (or similar) App that will work on the Google Nexus 5?
Thoughts?
It looks like the biggest requirement is Netfilter, which is essentially IP tables. Try installing IP tables, and see if the program will run. Otherwise, you can always use another tethering app like easytether, or another program (I know that there are loads out there). If you are rooted, it should not be much of a hassle to install.
Es Filexplorer will do it for you once rooted and a great file management app also
Thanks guys. I'll give it a shot once device is in my hands. Thanks.
Another method for this I use that sometimes works is to tether using the default app and just use a User Agent switch in google chrome for HTML traffic. My video games as well as spotify ETC work like normal I only need the UA switcher for traffic within the browser.
Wait, am I missing something here? OP, tethering is a standard feature in Nexus phones, esp now that Verizon is out of the equation.
Why can't you just use the built-in tethering? If it's an issue of your provider being able to track that, then I don't think any of the 3rd party tools are going to help. Typically, just a user-agent switcher can take care of the problem on the device that you're tethered to.
I'm dealing with this issue right now. I had a note 2 running macks rom on my sprint note 2 that let you hotspot free. The N5 tether/hotspot does not work. We need a work around..
Engineer4life said:
I'm dealing with this issue right now. I had a note 2 running macks rom on my sprint note 2 that let you hotspot free. The N5 tether/hotspot does not work. We need a work around..
Click to expand...
Click to collapse
My carrier has 2 data plans. 6gb for $30 gives you LTE and tether/hotspot. Or Unlimited LTE for $45 -but tether/hotspot is disabled/not allowed.
I'm on the $45 plan and built-in tether does not work. But the app "wifi-tether" gets around this and works Great!
The issue isn't user-agent. With built-in tether I can't even get a data signal. It will create the a dud Wi-Fi hotspot.
Let's hope IPTables works! I'm sure Bluetooth tether and USB tether may still work, but is much more annoying.
prettyha8 said:
My carrier has 2 data plans. 6gb for $30 gives you LTE and tether/hotspot. Or Unlimited LTE for $45 -but tether/hotspot is disabled/not allowed.
I'm on the $45 plan and built-in tether does not work. But the app "wifi-tether" gets around this and works Great!
The issue isn't user-agent. With built-in tether I can't even get a data signal. It will create the a dud Wi-Fi hotspot.
Let's hope IPTables works! I'm sure Bluetooth tether and USB tether may still work, but is much more annoying.
Click to expand...
Click to collapse
which version of the wifi tether app did you use that works? It seems some versions are picky about some phones I just want to get everything I need for when my Nexus 5 arrives
orthonovum said:
which version of the wifi tether app did you use that works? It seems some versions are picky about some phones I just want to get everything I need for when my Nexus 5 arrives
Click to expand...
Click to collapse
For my TW-based Samsung Galaxy S3, I used the file "wifi_tether_v3_4-experimental1.apk", then I changed the SSID and changed the WPA2-PSK phasephrase.
*** I think the trick was, if you did NOT change the default SSID or added a WPA2 password the App did not work. After you set a WPA2 password, you can then turn off encryption or change the SSID back to default.
But I don't think know if this will work for the Nexus 5. **Fingers-crossed!
bump
There is another thread with more discussion on this matter here: http://forum.xda-developers.com/showthread.php?t=2512674
prettyha8 said:
The issue isn't user-agent. With built-in tether I can't even get a data signal. It will create the a dud Wi-Fi hotspot.
Click to expand...
Click to collapse
Is that the case on a Nexus device or something else? In theory my plan doesn't allow tethering, but I've never had an issue with the built-in hotspot. I'm just trying to figure out how your carrier would even know you were using a hotspot versus having data requests come from the phone itself. The traffic should look the same, for the most part.
bobalias said:
Is that the case on a Nexus device or something else? In theory my plan doesn't allow tethering, but I've never had an issue with the built-in hotspot. I'm just trying to figure out how your carrier would even know you were using a hotspot versus having data requests come from the phone itself. The traffic should look the same, for the most part.
Click to expand...
Click to collapse
I believe when you tether, your phone creates a secondary data connection pipe for tethering data. Apps like WiFi-Tether spoof this, and can even create an internal proxy server, such that all tethered data will look like on-device mobile browsing data.
My carrier let's me only create one data connection, thus tether is not allowed. However if I insert my SIM into a "MiFi device", then I can "share" the data connection, as only 1 data connection is being established.
I MIGHT BE WRONG, but this is what it looks like is happening in my findings. Hence the use of IPTABLES to re-route.
I'm not sure why AOSP-based custom Roms could never get WiFi tether working, but TouchWiz (TW) based roms could. I assume something in the kernel. However, I need this working badly.
Interesting, I'd never really given the process a detailed consideration but that sounds like a plausible explanation for both how they detect it, how they block it, and how software modifications let you get around it.
I am currently using wifi tether on evo lte on sprint, fine. Thinking of getting nexus 5. Will this app work on it? that link to the other thread was about tmobile and data plans and stock hotspot app. I am interested in wifi tether app with root. What are the settings to make this work on N5?
Thanks
Dungeon47 said:
There is another thread with more discussion on this matter here: http://forum.xda-developers.com/showthread.php?t=2512674
Click to expand...
Click to collapse
Dig through this thread. Somewhere there's a post explaining what to do to stop your carrier from checking if you are tethering. It requires editing a database and changing the proxy to ipv4 instead of ipv6.
Sent from my Nexus 7 using Tapatalk

[Q] How to Bypass T-Mobile tethering restrictions

I know there is at least 1 method for bypassing T-Mobile tethering restrictions for the Nexus5
For example: This thread ( http://forum.xda-developers.com/showthread.php?t=2512674&page=8 )
However, are there any other simpler methods that don't require rooting your phone?
T-Mobile's unlimited data plan includes unlimited data for the Nexus5, but not for tethering. T-Mobile gives you 2.5GB tethering hotspot for free, so you can use your Nexus5 to tether. But it appears that not even apps like FoxFi help when you've reached your 2.5GB tethering limit.
I used my Nexus7 tethered to my Nexus5 yesterday, and when i went to a chrome webpage on the tablet, it prompted me to upgrade my tethering plan....
I was stunned.........
First) because I didn't know T-Mobile could track tethering on a Nexus5......... and I still dont exactly understand how they track it...
Second) because even if they could somehow track tethering, I assumed that since I was using another android device, they wouldn't even be able to detect the traffic difference between Nexus5 and Nexus7
Third) because FoxFi didn't work !
Are there any methods (similar to FoxFi) that work? or are T-Mobile tethering restrictions unavoidable unless rooted?
Based on my understanding, Google built something into the Nexus 5 that reports tethering back to the carrier. It's unfortunately but certainly understandable as I'm sure the carriers have been asking for it for a while. The reason this breaks FoxFi as well is that FoxFi seems to use the built-in tethering with a hack to mask traffic. Since the built-in tethering is reporting it as tethering to the carrier anyway, masking the traffic doesn't help.
The modification to settings.db appears to disable that reporting with a single value, a setting that is obviously not normally available to the user. Since apps like FoxFi have been able to use the built-in tethering to work around carrier restrictions in the past, I think you will need to see development on a new app (like the old Wireless Tether for Root Users that predates the built-in tethering) to get around the restrictions without modifying system files.
What bothers me more is that my plan includes tethering and I am still hitting the paywall on my Nexus 5.
Any updates to this?
I have the $20 unlimited and unthrottled 4G data add on, it comes with only 2.5GB of tethering, then I get the upsell message.
try this link
http://forum.xda-developers.com/showthread.php?t=2581035
Pretty sure that they check more ways than one. They did ask Google to put in a checker (found in the changelogs for official update) but also they check via the header of the packet of info that passes through their towers. Some have had success with just changing the user agent of their browser, but if you are completely stock then I think you have to edit the framework, the sqlite option, and the browser agent. Might be easier to use a custom rom that doesn't have the framework stuff in it. I don't use Tmo anymore, so can't test this stuff out. When I had my S4 on Tmo, I had to use a VPN, custom wifi tether app, and only then could I tether without being sent to the upsell page (my plan at the time did not even include tethering either).

MAC address changes for each hotspot activation

Hello,
i detected by the linux-tool "iwconfig" that the mac-address of the hotspot is changing on every new hotspot activation. There is also a bug-report for it:
https://code.google.com/p/android/issues/detail?id=57452
In the comments is stated that doomlord fixed that problem. Is there any kernel in here for the nexus 5 from doomlord or others, which have this problem solved?
Very annoying with WICD forgetting the password and Windows always creates a new network.
Thanks for help.
Hi,
that's a serious problem for me too.
I would like to use the online services in my Mazda MZD Connect System.
Unforunately the system identifies an Hotspot by its MAC Address.
So whenever i switch the Hotspot off and on again a new entry is created in the car entertain system and i have to enter the password again.
This renders the function nearly unusable.
As i read yesterday, VW drivers have the same issue.
As there is only one line in the source randomizing the last three bytes of the WiFi Hotspot MAC, it would be enough to simply comment it out.
But building a complete new ROM on my own is far beyond my capabilitys yet.
Currently all Nexus phones are affected as well as CM 13.
ElementalX Kernel didn't help either.
HTC doesn't randomize the MAC nor does en iPhone.
But i won't change my phone just for a Car Entertain System.
Another option would be a little Mobile-WiFi standalone Hotspot with an additional SIM Card.
But this would mean extra costs each month which i would certainly like to avoid.
So here my questions:
Is there any Kernel to switch off MAC randomization?
Or any tweak to freeze one MAC?
Or a way i could start a script on switching the Hotspot on to override the MAC?
Or an completely different approach?
Any help is appreciated.

Unlimited Tethering LG V10 Tmobile H901

So i've been a user of xda for quite sometime, however i never really contributed before so i'd like to share my latest discoveries and hopefully i can help someone in the future.
(Please note this is for intermediate users i will not be going into full details. Feel free to google any keywords here for further information)
Please note this will erase your device!
Disclaimer: I am not responsible for anything you do to your device ie: damages. Proceed at your own risk
This is a tutorial on how to get unlimited tethering on an LG V10 Tmobile
First you will need to unlock bootloader and get TWRP so you can flash SuperSU and get root.
I used a combination of these two guides. DOTtech i just used to get LGUP. I do not believe the .kdz (refurbish) step is necessary.
https://dottech.org/198032/how-to-root-lg-v10-t-mobile-h901-on-android-6-0-marshmallow/
http://forum.xda-developers.com/tmobile-lg-v10/general/root-android-6-0-h901-t3382819
make sure you use this .tot file from xda (most updated, July) link
once you have flashed the tot file. make sure you download supersu and save it on your phone. Link Here .You will need to boot into recovery mode. The best way i found to boot into recovery mode is to use "adb reboot recovery" command via adb command terminal. For help on setting up adb, usb debugging, and oem unlock. follow the youtube video below. Do not follow his recovery flash steps. (That is Outdated!). once you have adb set up, phone on, open a terminal, navigate to your adb folder and run the "adb reboot recovery" command. Phone will boot into TWRP. Find your SuperSU file. Flash it. You are now rooted!
https://www.youtube.com/watch?v=PPLwFGxLQA4
once you have root....
you will need wifi tether router from fabio grasso. Buy it. best money ever spent.
next you will need to edit your build prop.
download es file explorer. build prop is just a text file. enable root explorer in es file explorer. navigate to your root folder/system.
under system you will find build.prop. open with es text editor. at the end of the text file insert
net.tethering.noprovisioning=true
hit back. and it will ask you to save. save it!
This will allow our wifi tether router app to work properly.
reboot your phone.
open your wifi tether router app. The most important setting here is under method. Use Native! This will tell wifi tether router to port it's connection through your native hotspot app.
You should now be ready to go.
Now, how do we prevent Tmobile from noticing our traffic is being tethered?
We need to change a few settings on our computers. You will want to change your defaultTTL to 65 (decimal) on all your PCs.
For details on that follow this youtube video
https://www.youtube.com/watch?v=PZOqm98kzIU
for windows 10 its a little bit different. Use this command in a terminal.
netsh int ipv4 set glob defaultcurhoplimit=65
This should prevent Tmobile from noticing and counting your hotspot data.
If i missed anything, please feel free to message me along with any other questions.
Cheers!
Hi,
What are your setup parameters for Wi-Fi Tether?
Sent from my LG-H901 using XDA-Developers mobile app
Encryption wpa2-psk
wifi channel 1
interface wlan0
method 4 -native tether
auto disconnect wifi when start tethering (check)
wifi scanning autodisabler (check)
i also root disabled all tmobile apps especially com.tmobile.pr.adapt
Good Luck!
When was the last time you've checked your usage? I'm using a vpn (in addition to build.prop and settings.db "hacks") as well, so not sure how they see it now. I'll change my TTL on the pc as next precaution. Vpn used to be the bullet proof method, but they're getting sneakier.
RussianBear said:
When was the last time you've checked your usage? I'm using a vpn (in addition to build.prop and settings.db "hacks") as well, so not sure how they see it now. I'll change my TTL on the pc as next precaution. Vpn used to be the bullet proof method, but they're getting sneakier.
Click to expand...
Click to collapse
My apologies to everyone, i guess my post was a little premature. I just got the text message today saying i've used 80% of my mobile hotspot. RussianBear, i am interested in your settings.db hack. What is the purpose of that hack, and also what vpn do you use?
The TTL was a game changer for me with my S5. The problem i am running into with the LG V10 is that in the wifi tether router app, the hostapd method would not work anymore. I "enable wifi router" and i can't see my hotspot.
Russianbear, how far along have you gotten with this. Maybe we can help each other. Can you see your hotspot via wifi tether router? What are your wifi tether router settings? The only way i was able to activate it was with the Native method, however i believe the native hotspot embedded with the phone sends packets to tmobile.
I was wondering also if a custom rom can help me in this situation. It seems as though the native hotspot does not allow third party apps like "wifi tether router" to activate the hotspot. Can anyone recommend a good stable custom rom that can help me accomplish this?
Cheers!
jontav said:
My apologies to everyone, i guess my post was a little premature. I just got the text message today saying i've used 80% of my mobile hotspot. RussianBear, i am interested in your settings.db hack. What is the purpose of that hack, and also what vpn do you use?
The TTL was a game changer for me with my S5. The problem i am running into with the LG V10 is that in the wifi tether router app, the hostapd method would not work anymore. I "enable wifi router" and i can't see my hotspot.
Russianbear, how far along have you gotten with this. Maybe we can help each other. Can you see your hotspot via wifi tether router? What are your wifi tether router settings? The only way i was able to activate it was with the Native method, however i believe the native hotspot embedded with the phone sends packets to tmobile.
I was wondering also if a custom rom can help me in this situation. It seems as though the native hotspot does not allow third party apps like "wifi tether router" to activate the hotspot. Can anyone recommend a good stable custom rom that can help me accomplish this?
Cheers!
Click to expand...
Click to collapse
I'm using private internet access vpn. Not currently using any play store apps, just my native usb/wi-fi tether, but it looks like they upped their game this month, as I've already ran out of hotspot data lol
The settings db "hack" was forcing zero flag inside a settings database. In MM it was moved to this location:
/data/system/users/userid/settings_[system|global|secure].xml"
On V10 it's under global.xml - search for tether_dun and make sure that's 0.
You can also try using adb or terminal emulator and execute commands found here:
https://pmf.silvrback.com/fixing-tethering-on-android-kitkat
I'm using the same settings but my usage keeps going up
Sent from my LG-H901 using XDA-Developers mobile app
I have to find a way to get wifi tether router working on this phone. Wifi tether plus DefaultTTL will fix this. If anybody tries wifi tether and gets it to work with LG V10 please let me know. Maybe its my phone. I did use the .tot file in this thread
http://forum.xda-developers.com/tmobile-lg-v10/general/root-android-6-0-h901-t3382819
I'm thinking maybe that might have corrupted something and is not letting me activate my hotspot via wifi tether router.
Looks like adjusting ttl has worked for now.
RussianBear said:
Looks like adjusting ttl has worked for now.
Click to expand...
Click to collapse
Can you please explain where and how you did this?
I'll try this, but dont think it will work. I've used Wifi Tether Router alot before, but that was before Tmo started cracking down on heavy tether users not too long ago. Now if I try to use it, they always notice quickly. I also did the no provisioning trick but same results. I created a new APN with a guide I found, same thing. I didnt change any values on my other devices' end. I've heard it helps if you use a different DNS server but dont know for sure. It may also help if you use a different user agent.
I do believe the days of unlimited tethering with Tmo are over, I've tried lots of tricks but didnt get far.
luckydog98 said:
Can you please explain where and how you did this?
Click to expand...
Click to collapse
use the video from the op above.
AnonVendetta said:
I'll try this, but dont think it will work. I've used Wifi Tether Router alot before, but that was before Tmo started cracking down on heavy tether users not too long ago. Now if I try to use it, they always notice quickly. I also did the no provisioning trick but same results. I created a new APN with a guide I found, same thing. I didnt change any values on my other devices' end. I've heard it helps if you use a different DNS server but dont know for sure. It may also help if you use a different user agent.
I do believe the days of unlimited tethering with Tmo are over, I've tried lots of tricks but didnt get far.
Click to expand...
Click to collapse
Invest into a good vpn service.
@RussianBear: I actually use a VPN on my phone most of the time. However, by default, Android wont direct tethering to a VPN. I found a guide awhile back that shows how to use terminal commands to forcibly route through a VPN, it worked for quite awhile, but Tmo caught on eventually. I made sure the VPN and my script were already running before activating tethering. A VPN is supposed to be encrypted, so how they detected ne is beyond me. I guess they saw the sheer amount of data I was using and suspected tethering (over 500GB in one month, at the highest point).
AnonVendetta said:
@RussianBear: I actually use a VPN on my phone most of the time. However, by default, Android wont direct tethering to a VPN. I found a guide awhile back that shows how to use terminal commands to forcibly route through a VPN, it worked for quite awhile, but Tmo caught on eventually. I made sure the VPN and my script were already running before activating tethering. A VPN is supposed to be encrypted, so how they detected ne is beyond me. I guess they saw the sheer amount of data I was using and suspected tethering (over 500GB in one month, at the highest point).
Click to expand...
Click to collapse
Can you not enable vpn on the clients instead? I have my asus router set up with my vpn settings, so anything connecting to it automatically gets passed thru the vpn ip instead. Lower your ttl on desktop/laptop, do the build.prop entry, set ipv to 4 in settings, and set tether dun to 0 in settings.xml (I made a script for that). You should be to go with your vpn then.
Honestly I see almost no point in having unlimited tethering since your data is slowed down around 26gbs. I'm fine with the 7gb I have rn. If I were to make use of unlimited tethering, I'd need truly unlimited since I do very heavy usage on any of my computer's. Usually 700-900 GB a month(and that's only download. Upload is around 200gb a month). Used to have an at&t business hotspot that I paid $125/month and used 300 or so GB a month for three months with no slow downs on it.
xBØYxTØYx said:
Honestly I see almost no point in having unlimited tethering since your data is slowed down around 26gbs. I'm fine with the 7gb I have rn. If I were to make use of unlimited tethering, I'd need truly unlimited since I do very heavy usage on any of my computer's. Usually 700-900 GB a month(and that's only download. Upload is around 200gb a month). Used to have an at&t business hotspot that I paid $125/month and used 300 or so GB a month for three months with no slow downs on it.
Click to expand...
Click to collapse
Gotta pay to play. They "prioritize" your after 26, so it's not like it'll be slow 24/7. Annoying, sure. However, I haven't had home internet going on two years now. Worth it to me, based on my usage. With this tmo one stuff, they offer unlimited tethering, but of course, your primary usage has to be from your phone...
The victory was only half-way declared... They somehow know when device(s) that connect to my router are tethered. Router is setup with an openvpn configuration and connects to the vpn server automatically. All IPs check out, as well as ttl values, but they're still able to tell. One thing that was strange was if I did not enable vpn thru the router, but instead thru the client, the speeds remained constant - undetected. This is fine and dandy, but I'd lose my chromecast functionality this way... If things get rough and I can't finger this one out, I might hop onto to their unlimited everything for $95/month instead of the simple choice one I got now.
RussianBear said:
use the video from the op above..
Invest into a good vpn service.
Click to expand...
Click to collapse
If you have good home internet with VPN supported router, you can run VPN through your home
mingkee said:
If you have good home internet with VPN supported router, you can run VPN through your home
Click to expand...
Click to collapse
Yes, but somehow they can tell...even with a vpn setup thru a router.
RussianBear said:
Yes, but somehow they can tell...even with a vpn setup thru a router.
Click to expand...
Click to collapse
They can tell tho the t mobile app the one the shows your data you have to delete it and delete this the one that has the red # by it, that how they track you and can see everything on your phone and know it you have root or not and anything you do on your phone .

Hotspot issues with Android Pie

I am having issues regarding Wifi hotspot on Pie.
1. My laptop find it very difficult to find the hotspot. Sometimes I have to restart the hotspot 2-3 times before the network shows up on my laptop. On Oreo, this was always instant and worked immediatly.
2. In the last few days using a hotspot from the phone and my laptop I have had issues regarding DNS/internet. Even though my laptop is connected to the hotspot network, it doesn't have any internet access. When browsing the web on my laptop, all DNS requests always fails. It happens whenever I try to navigate to a site and tries to ping a url from CMD. But if I try to ping a ip address, let say 1.1.1.1, that works fine! I can also use my browser on my phone without any issues at all. The laptop works fine on any other network and the phone works well on its own but the hotspot causes great problems. It sounds to me that for some reason when using a hotspot, DNS requests doesn't come through properly. Also, if I connect to a VPN on my laptop, eveything works, even DNS requests but my VPN is somewhat unreliable so it constantly disconnects so that is not a viable solution for me.
Anyone experiencing similar problems? It's really annoying because now I can't get any work done on my daily commute.
Edit: It sounds similar to these problems: http://piunikaweb.com/2018/08/22/go...hotspot-tethering-issues-after-android-9-pie/
baxtex said:
I am having issues regarding Wifi hotspot on Pie.
1. My laptop find it very difficult to find the hotspot. Sometimes I have to restart the hotspot 2-3 times before the network shows up on my laptop. On Oreo, this was always instant and worked immediatly.
2. In the last few days using a hotspot from the phone and my laptop I have had issues regarding DNS/internet. Even though my laptop is connected to the hotspot network, it doesn't have any internet access. When browsing the web on my laptop, all DNS requests always fails. It happens whenever I try to navigate to a site and tries to ping a url from CMD. But if I try to ping a ip address, let say 1.1.1.1, that works fine! I can also use my browser on my phone without any issues at all. The laptop works fine on any other network and the phone works well on its own but the hotspot causes great problems. It sounds to me that for some reason when using a hotspot, DNS requests doesn't come through properly. Also, if I connect to a VPN on my laptop, eveything works, even DNS requests but my VPN is somewhat unreliable so it constantly disconnects so that is not a viable solution for me.
Anyone experiencing similar problems? It's really annoying because now I can't get any work done on my daily commute.
Edit: It sounds similar to these problems: http://piunikaweb.com/2018/08/22/go...hotspot-tethering-issues-after-android-9-pie/
Click to expand...
Click to collapse
@thugslug @jbm76 I know you guys had an issue with hotspot. Is this the same problem?
yldlj said:
@[email protected] I know you guys had an issue with hotspot. Is this the same problem?
Click to expand...
Click to collapse
Point 2 sounds like it..
jbm76 said:
Point 2 sounds like it..
Click to expand...
Click to collapse
I can't remember what thread you wrote the adb commands that might fix it? Was going to direct him to that post.
yldlj said:
I can't remember what thread you wrote the adb commands that might fix it? Was going to direct him to that post.
Click to expand...
Click to collapse
Yep that fixed for me ??
adb shell settings get global tether_dun_required
If the result is "null" or "1"
adb shell settings put global tether_dun_required 0
Reboot phone
yldlj said:
@[email protected] I know you guys had an issue with hotspot. Is this the same problem?
Click to expand...
Click to collapse
His first problem I don't have, but it's the second that's the same issue as mine.
Obviously he's never searched or he'd have found my lengthy post not very far back.
The solution is there too.
I've never tried turning the VPN on to see if I get through access to the internet that way. I can't now as I've applied the fix @jbm76 found, and I don't really want to back out the fix to try it.
Definitely an area where pie has gone backwards. For those of us affected anyway.
Edit.... Sorry, I didn't note that this was a new thread.
My post is in the OB4 thread (which I at first thought this was). I'm tired and didn't look well enough.
jbm76 said:
Yep that fixed for me ?
adb shell settings get global tether_dun_required
If the result is "null" or "1"
adb shell settings put global tether_dun_required 0
Reboot phone
Click to expand...
Click to collapse
I will try these and report back.
baxtex said:
I will try these and report back.
Click to expand...
Click to collapse
If you get errors at the cmd prompt make sure usb debugging is set 'on' on the phone.
Followed the commands and it seemed to do the trick! Many many thanks!
baxtex said:
Followed the commands and it seemed to do the trick! Many many thanks!
Click to expand...
Click to collapse
[emoji3][emoji3]
Most people it works straight away. What region are you in?
Sent from my SM-P605 using Tapatalk
jbm76 said:
[emoji3][emoji3]
Most people it works straight away. What region are you in?
Sent from my SM-P605 using Tapatalk
Click to expand...
Click to collapse
Sweden.
I want to remember that it did work before, then I have to reflash Pie again and that's when the issues started.
I still wanted to say that I still suffering from the first problem, having difficulties actually finding the hotspot at all.
Its very odd. This problem has started to arise again. I tried running adb shell settings get global tether_dun_required again but I get the answer that it is 0 so that looks fine. I haven't updated anything since I had this problem the last time.
Folks,
To provide some more info and more things to try if you are rooted (I am in the US on T-Mobile). These instructions should also help you avoid tethering detection using the standard Android tethering options if you wish to.
1) Go into settings --> system --> developer options and turn off Tethering hardware acceleration. This will make sure all tethering routing is done by Android at the software level and not by Qualcomm's chipsets (so following steps will apply).
2) As suggested, put global tether_dun_required 0. Note you can also do this from a command prompt by typing su (get root access) and typing setting put global tether_dun_required 0. What this does is route tething traffic over the same APN as phone traffic, and not the hidden tethering APN that some carriers put on the sim cards.
3) Install Change TTL and in settings set it to run a boot and set TTL to 64. This ensures that all traffic leaving your phone will have a TTL of 64 and look like it is coming from the phone. (I am pretty sure this also set's ipv6 hop limit, as TMobile in the US is all IPv6 and this hides traffic.)
Reboot. If you still have trouble -- try Android's USB option to see if it is WiFi related vs Tethering system related.
- Verify that global tether_dun_required is still 0 after reboot (it should be if you are rooted).
- Delete the WiFi entry on your computer and re-join the phone's network -- sometimes it is on your computer's side.
Another thing to try is Easy Tether -- this is a good USB tethering option that won't use Android tethering system and it is guaranteed to route traffic over the phone's network APN.
If the issue is DNS, you can isolate that by manually putting a DNS (8.8.8.8) into the tethered computer to see if that is the issue.
Also, google search xda VPN Hotspot. This app has a ton of options to change Android's tethering routing even if you are not using a VPN. This may also help you figure something out. You can activate tethering, then go in here and turn on the wlan interface and it should route traffic directly to that (which should be happening anyways because of tether_dun_required = 0).
Good luck!
MW
MetroWestMA said:
Folks,
To provide some more info and more things to try if you are rooted (I am in the US on T-Mobile). These instructions should also help you avoid tethering detection using the standard Android tethering options if you wish to.
1) Go into settings --> system --> developer options and turn off Tethering hardware acceleration. This will make sure all tethering routing is done by Android at the software level and not by Qualcomm's chipsets (so following steps will apply).
2) As suggested, put global tether_dun_required 0. Note you can also do this from a command prompt by typing su (get root access) and typing setting put global tether_dun_required 0. What this does is route tething traffic over the same APN as phone traffic, and not the hidden tethering APN that some carriers put on the sim cards.
3) Install Change TTL and in settings set it to run a boot and set TTL to 64. This ensures that all traffic leaving your phone will have a TTL of 64 and look like it is coming from the phone. (I am pretty sure this also set's ipv6 hop limit, as TMobile in the US is all IPv6 and this hides traffic.)
Reboot. If you still have trouble -- try Android's USB option to see if it is WiFi related vs Tethering system related.
- Verify that global tether_dun_required is still 0 after reboot (it should be if you are rooted).
- Delete the WiFi entry on your computer and re-join the phone's network -- sometimes it is on your computer's side.
Another thing to try is Easy Tether -- this is a good USB tethering option that won't use Android tethering system and it is guaranteed to route traffic over the phone's network APN.
If the issue is DNS, you can isolate that by manually putting a DNS (8.8.8.8) into the tethered computer to see if that is the issue.
Also, google search xda VPN Hotspot. This app has a ton of options to change Android's tethering routing even if you are not using a VPN. This may also help you figure something out. You can activate tethering, then go in here and turn on the wlan interface and it should route traffic directly to that (which should be happening anyways because of tether_dun_required = 0).
Good luck!
MW
Click to expand...
Click to collapse
Hi and thank you for your post. It seems that windows had changed dns settings by its own to something invalid, so that is why it didn't work. However I am still having connection issues. Mainly I find it very difficult to connect my laptop (and other devices) to the hotspot of the Oneplus 6.
1) Done.
2) Done.
3) It was already set at 64 but I tried setting in to 64 again.
DUN is still 0 after reboot. I have also removed the wifi from my PC and changed name on the hotspot. Also tried both 2.4 and 5 Ghz. When the pc is connected the hotspot, I can ping google succesfully, so internet works but not DNS, all requests in my browser times out. I have also tried setting DNS to external providers in the phone (not sure if if affects the hotspot though). I looked at easy tether but root version was pretty expensive. I also googled XDA VPN Hotspot but I'm not sure which app you mean. Do you have the link?
Right now I'm just thinking of factory resetting the phone and installing the latest oxygen version (I'm still on 9.0.0.0).
Here is even more testing:
What I am experiencing is that there are grave problems trying to connect when in an area with a lot of wifi networks.
I live on the countryside and I thought I would try using hotspot for a couple of times. Thing is, at home, sharing hotspot from the phone to my laptop always works instantly, both on 5Ghz and 2.4Ghz. I might add that there are basically no wifi networks interfering where I live, except for my own. When I start my bus ride in the morning from my house to a city were I work, the hotspot usually works pretty good. But it's when I'm going home that I am start having problems. In the city, there is probably around 50-100 wifi networks when I start the ride home. And that's when it usually is impossible to connect the hotspot to the laptop. However, when leaving the city and entering the highway, it is usually easier. I have these connection problems on both 5Ghz and 2.4Ghz and if it does connect, 2.4 is hideous, it disconnects all the time.
So the conclusion for me is that it is having a very hard time connecting when there are a lot of wifi networks around. However, It never seemed to be a major problem on Oreo, only on Pie.
baxtex said:
Hi and thank you for your post. It seems that windows had changed dns settings by its own to something invalid, so that is why it didn't work. However I am still having connection issues. Mainly I find it very difficult to connect my laptop (and other devices) to the hotspot of the Oneplus 6.
1) Done.
2) Done.
3) It was already set at 64 but I tried setting in to 64 again.
DUN is still 0 after reboot. I have also removed the wifi from my PC and changed name on the hotspot. Also tried both 2.4 and 5 Ghz. When the pc is connected the hotspot, I can ping google succesfully, so internet works but not DNS, all requests in my browser times out. I have also tried setting DNS to external providers in the phone (not sure if if affects the hotspot though). I looked at easy tether but root version was pretty expensive. I also googled XDA VPN Hotspot but I'm not sure which app you mean. Do you have the link?
Right now I'm just thinking of factory resetting the phone and installing the latest oxygen version (I'm still on 9.0.0.0).
Here is even more testing:
What I am experiencing is that there are grave problems trying to connect when in an area with a lot of wifi networks.
I live on the countryside and I thought I would try using hotspot for a couple of times. Thing is, at home, sharing hotspot from the phone to my laptop always works instantly, both on 5Ghz and 2.4Ghz. I might add that there are basically no wifi networks interfering where I live, except for my own. When I start my bus ride in the morning from my house to a city were I work, the hotspot usually works pretty good. But it's when I'm going home that I am start having problems. In the city, there is probably around 50-100 wifi networks when I start the ride home. And that's when it usually is impossible to connect the hotspot to the laptop. However, when leaving the city and entering the highway, it is usually easier. I have these connection problems on both 5Ghz and 2.4Ghz and if it does connect, 2.4 is hideous, it disconnects all the time.
So the conclusion for me is that it is having a very hard time connecting when there are a lot of wifi networks around. However, It never seemed to be a major problem on Oreo, only on Pie.
Click to expand...
Click to collapse
Seems more like WiFi / Computer related than phone. Did you try USB tethering? Is DNS get manually set in your computer by something else you installed?
MetroWestMA said:
Seems more like WiFi / Computer related than phone. Did you try USB tethering? Is DNS get manually set in your computer by something else you installed?
Click to expand...
Click to collapse
USB tethering works fine, dns as well. Its just the connection, it is very difficult to connect anything to the Oneplus 6 in wifi crowded areas.
Will this effect Bluetooth tethering too? Or is there another command for that? Dang built in hot spot get horrible speed after this setting is set, at least be on T-Mobile.
Hi guys,
I also face a strange issue, the connected devices to the hotspot it keeps disconnected after some time.. 1min, 5min, 15min...is random and annoying. Dose anyone face this issue to? Tried diferent fixes but nothing works, it remained to do a factory reset to see if the problem persist..
khrisstyan said:
Hi guys,
I also face a strange issue, the connected devices to the hotspot it keeps disconnected after some time.. 1min, 5min, 15min...is random and annoying. Dose anyone face this issue to? Tried diferent fixes but nothing works, it remained to do a factory reset to see if the problem persist..
Click to expand...
Click to collapse
Read this thread. Workaround in here.

Categories

Resources