MAC address changes for each hotspot activation - Nexus 5 Q&A, Help & Troubleshooting

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.

Related

PDAnet + Powerbook + Hero= ??? I NEED to tether!

Has anyone gotten this particular set up to work. June Fabrics has released software for both the handset and desktop. I have been unable to get it to work. Their support is very limited, as you may or may not know (basically FAQ page, a few notes on installation and email for questions). I emailed and was told that it "should work with my current config" So far no dice.
As I have read, and continue to read, the post here for several weeks, I have yet to find anyone who has used my particular set up with success.
Additionally, so far I am unable to root my phone in order to use some other methods of tethering. I believe it may have to do with my software build which is included below:
Firmware: 1.5
Baseband: 1.04.01.09.21
Kernel: 2.6.27-533ce29d
Build: 1.29.651.1 CL69164 release-keys
SW version: 1.29.651.1
HW version: 0002
Two interesting things of note... when I tried to flash root (using Modoca) AND when I tried to install new firmware update... the phone reboots then freezes on the logo.
Any Ideas?
.... Bueller.... Bueller.... Bue...ller?
may be off topic
Have u tried just rooting your hero and putting the fresh Rom in it? It comes with WiFi tether..and it works flawlessly with my laptop or desktop computer...no need for pda net...just a thought
root it and use wifi tether (either via google code v1.70pre1 or via fresh 1.0 preinstalled)
+1 for Wifi Tether. It's SO much easier than PDANet.
Well, PDANet works with my MacBook running Snow Leopard. WiFi tether works but isn't the best option. It causes the battery to get really hot and drain faster than it can be charged. So even if you have it plugged up, it'll eventually die. Happened to me before.
WiFi tether is a godsend for those with laptops. Really cuts the codrds on laptops, and with such simplicity too.
I love the app. Bam screen touched andconnexted to internet that ithink is faster than home. all while riding in the car.
I have a G4 iBook, and I haven't been able to get PdaNet to work either. The app on the Hero loads fine, and connects ok, but when I choose "Connect" from the menu bar PdaNet icon on the Mac, it just hangs on the spinning beach ball of doom until I unplug the USB cable.
The June Fabrics support is useless. They sent me some snippets from their FAQ and told me "it should work". I sent them loads of technical details from the system logs and USB debugging info (unsolicited), and they never even bothered to reply to me. I *REALLY* wish another player could write an app to do this. I have zero problem paying for a good app (especially if they also have good support).
WiFi tether is not so great. The encryption does not work, and even if it did work its only WEP which is not really even worth using. I'm not going to conduct my web browsing unencrypted to be shared with the world. Plus the heat and battery issues. Bluetooth would be better, but isn't available on our ROM version. USB tethering is the way to go, its a shame that there's no reliable way to do this on a Mac.
In the mean time, I'm still paying $50 a month for my stupid Sprint USB data card. I was really hoping to ditch that bill when I upgraded to the Hero. A Linux computer in the palm of my hand, and it can't even perform one of the most basic Linux tasks.
Bluetooth is available for internet sharing. Pair devices, adjust settings on computer, and then enable mobile connection sharing on your hero. Also, WiFi tether has more than wep encryption available. Your other option is to tether, then set up dial up connection dial #777, and enable mobile sharing. Give it a shot; search the forum or pm me with questions.
il_padrone said:
Has anyone gotten this particular set up to work. June Fabrics has released software for both the handset and desktop. I have been unable to get it to work. Their support is very limited, as you may or may not know (basically FAQ page, a few notes on installation and email for questions). I emailed and was told that it "should work with my current config" So far no dice.
As I have read, and continue to read, the post here for several weeks, I have yet to find anyone who has used my particular set up with success.
Additionally, so far I am unable to root my phone in order to use some other methods of tethering. I believe it may have to do with my software build which is included below:
Firmware: 1.5
Baseband: 1.04.01.09.21
Kernel: 2.6.27-533ce29d
Build: 1.29.651.1 CL69164 release-keys
SW version: 1.29.651.1
HW version: 0002
Two interesting things of note... when I tried to flash root (using Modoca) AND when I tried to install new firmware update... the phone reboots then freezes on the logo.
Any Ideas?
If you are having trouble rooting, you're missing something. Could be as simple as a missing space in your command line. Keep trying. with 1.5 you should be able to use flashrec.
Click to expand...
Click to collapse
cmccracken said:
WiFi tether is not so great. The encryption does not work, and even if it did work its only WEP which is not really even worth using. I'm not going to conduct my web browsing unencrypted to be shared with the world. Plus the heat and battery issues. Bluetooth would be better, but isn't available on our ROM version.
A Linux computer in the palm of my hand, and it can't even perform one of the most basic Linux tasks.
Click to expand...
Click to collapse
Well first of all you can monitor the connections to your handset and if you see someone connect simply kick them off. It even vibrates and alerts you upon connection.
Second, even if it is WEP unless there is some hacker nobody is going to go through it. Sure it isn't that hard to crack wep but the common person doesn't really walk around with a laptop out trying to hack into wep connections, although seeing a cell phone might interest them, who knows.
I have got PDAnet installed on my computer and it works perfectly fine, first time i tried (vista).
If you are referring to your hero as the linux computer, then you are wrong because it is working perfectly fine. Has data doesn't it? I don't understand how tethering a cell phone is one of the most basic tasks in linux.
willowmp said:
I don't understand how tethering a cell phone is one of the most basic tasks in linux.
Click to expand...
Click to collapse
iptables/ipmasq is one of the most basic features in Linux. Its in the kernel even!

[APP][4.2+][2014.02.02] Pry-Fi v1.20 [ROOT]

You are being watched...
A fairly new trend in (for example) retail is tracking customer's movements by snooping Wi-Fi signals. If your Wi-Fi is turned on, even though it is not connected to any network, your phone will periodically broadcast a unique number (the MAC address), as well as all the Wi-Fi network names and addresses it remembers ever connecting to. With newer Android versions this can happen even if Wi-Fi is turned off, due to a feature called "scanning always available", which helps your device better determine its location.
At the very least, businesses can use these signals to track your visits. But these signals can also be used by a malicious entity (store owners, for example) to track your exact physical location in any area under their Wi-Fi surveillance. In a store, this data can be used for optimizing another one of those annoying store re-arrangements, forcing you to walk by all the product you don't want, to get to those you do want. Or detecting products you're tempted by, but ultimately not buying.
Of course they can also track your trip to the register, and couple your device's MAC address to the payment information (and thus many details about who you are). The tracking hardware and software vendors, the store (or chain) owner, their business partners, they can now all track where you are every time you come into range of one of their systems, and fully profile who you are, what you do, your financials, and your daily patterns!
That's just one small example - the possibilities are endless. A crook could hide a tracker at a bunch of houses, and in an automated fashion learn the patterns of everybody living in all those houses, without even having to do any surveillance - picking the ideal time to heist the family jewels becomes trivial. Authorities can use this information to correlate physical evidence with your location as well, and all the nastiness that comes with that.
Not even mentioning that your device's habit of announcing who all it's friends are and their names, makes it easier for hackers to perform a man-in-the-middle attack, tricking your phone to connect to an access point under their control.
Pry-Fi
One solution is shutting off Wi-Fi completely (including the background network scanning), but you would lose benefits like automatically connecting to known Wi-Fi networks and improved location awareness for your apps. It also does nothing to help the situation for others.
Pry-Fi will prevent your device from announcing all the networks it knows to the outside world, but it will still allow background scanning and automatically connecting to Wi-Fi networks. While you are not connected to a Wi-Fi network, the MAC address will constantly be pseudo-randomized, following a pattern that still makes the trackers think you are a real person, but they will not encounter your MAC address again. This will slowly poison their tracking database with useless information.
When you do connect to a Wi-Fi network, unless you specify otherwise, your MAC address will also be randomized - the same MAC address will not be used the next time you connect to this or any other network.
War!
Though of course the companies involved with these trackers claim they wouldn't use the data maliciously, the possibility is there, and we all know that if something can be abused, ultimately it will be. There do not appear to be any laws against these practices yet, nor is it likely Wi-Fi will be redesigned any time soon to get rid of the information leaks.
But we can make an effort to reduce the usefulness of the tracking data for the exploiters. Pry-Fi comes with a War mode, which when enabled tries to make your Android device appear like dozens of people. Just wandering around an area under Wi-Fi location surveillance for a few minutes can ruin the tracking data for the period of your stay.
Proof-of-Concept
This is proof-of-concept code, and how for it will go in the future depends on interest and how well it works. It has been tested on several devices and seems to work, but it is very young still. The magic the app does to achieve its purpose is ever subject to changing Android security policies and OEM customizations, so even though it works now, there really is no saying if it will still be possible in future firmwares.
Download
You can get Pry-Fi from Google Play
If Play is not working out for you, the APK is also attached below
TEST
Attached you will also find a 'beta-test' version. This one is compiled to work on all Android 4.0+ devices (instead of 4.2+ of the current official release). I have made all the changes needed to make it compile and technically run on pre-4.2 firmwares, but I have not tested it on an actual 4.0 or 4.1 firmware yet. Let me know if it works for your pre-4.2 firmware!
Issues
This is a very young app and its main feature is doing something that by all counts no app should be doing - as such, it will probably always have issues.
The app was developed against and tested on the following devices:
- Google Nexus 5 @ Stock+root 4.4.2
- Samsung Galaxy S4 @ Stock+root 4.4.2
- Samsung Galaxy Note3 @ Stock+root 4.4.2
- Samsung Galaxy Note2 @ OmniROM 4.4.2
- HTC One @ Stock+root 4.3 (S-OFF or otherwise writable /system needed)
- Sony Xperia family - NOT COMPATIBLE
- Oppo devices - NOT COMPATIBLE
Note that your firmwares should be fully up to date - that includes the TrustZone component in case of Samsung.
Known issues
- Requires SuperSU ?
It's tested against SuperSU, and uses some features that may not be available in other root management apps. Depending on both your Android and root management app version it may or may not work with other solutions, but I certainly recommend against it.
- Using the Android Wi-Fi settings is weird
Pry-Fi does a lot of event-based Wi-Fi on/off switching and connecting/disconnecting. So if you go to settings and turn Wi-Fi on or off, add a network, etc, the interface may start looking as if it has gone mad for a few seconds. Don't worry, this is expected behavior.
- Connecting to a Wi-Fi network (either a new one or a previously known one) is slower
Yes. Indeed.
- Forgetting networks
You can't just forget a network from the normal Android Wi-Fi settings. If Pry-Fi is enabled, you need to use the in-app network management tool to forget a network.
- Multiple known networks
Since v1.10, multiple known networks should be supported.
- Hidden networks
It doesn't currently work with hidden SSIDs, and it won't in the future.
- Wi-Fi Direct (to-do)
Behavior is undefined. Pry-Fi probably heavily interferes with this. Needs more testing/development.
- Beam, S Share, etc
Some methods that quickly share data between two Android devices that are close, tapped together, etc, make use of Wi-Fi Direct, and may thus be negatively affected by Pry-Fi.
- Authentication errors
If the Wi-Fi settings keep claiming authentication errors, your device may not actually support changing the MAC address, and Pry-Fi may not be for you... this doesn't have to be the issue, but it is one of the indicators.
Changelogs
2014.02.02 - v1.20
- Force toolbox calls. Typical case of busybox symlinks causing unexpected failures. Probably the primary cause of people losing Wi-Fi completely
- Service receivers are now en/disabled dynamically. Saves a few CPU cycles and a bit of memory when Pry-Fi is installed but disabled.
2014.02.02 - v1.10
- Support for multiple simultaneously known SSIDs
- Spoofing MACs *also* while connected to a network is now a feature you need to enable separately, as this is the feature that causes most issues yet is arguably the least important tracking-wise.
2014.02.01 - v1.02
- Fixed crash/freeze in case of SU denied
- Changed non-SuperSU error to a warning
- Fixed various reported crashes
- Added Superuser permission (doh)
2014.02.01 - v1.01
- (Hopefully) Fixed an issue with the optional IAP
2014.02.01 - v1.00
- Initial public release
--- reserved ---
This app only works with SuperSU. Would it be able to work with Koush's Superuser in the near future?
Sent from my Nexus 4
Whilst not its main purpose, it will also work great at airports with time based free WiFi. Schipol uses the MAC address to assign a timeframe to devices.
Anyway, working well on HTC One - 4.4.2.
0.0 said:
This app only works with SuperSU. Would it be able to work with Koush's Superuser in the near future?
Click to expand...
Click to collapse
Maybe. Currently has to do with some changes to AOSP that haven't fully panned out yet. Once I'm clear on that, I might put in some time to make it work with Superuser. But I'm certainly not going to delay a release to make it compatible...
Up and running on my s2 with slimkat. So glad I'm aware of guys like you and the work you do. Thank you.
Sent from my GT-I9100 using Tapatalk
Just fine here on my Nexus4.
One thing though is that Playstore has v1.00. I've downloaded v1.01 from here and it updated flawlessly. I just thought you'd like to know it.
Anyway thank you for all your hard work to our benefits.
• OMNI 4.4.2 NIGHTLY • AK.042.XGENESIS •
HTC One, CM11, up and running. Have multiple networks at home so can test with that if needed. I'm ready for a little wifi war.
Thanks for this tiny and helpful utility. However, I initiated it, then started my (home) wifi up, then could not login to the network, although I have re-entered the correct password. Turning this off, again allows me to access the wifi. What should I do? (I am on Samsung Galaxy S4, I9500 @ 4.3)
Working great on s4 4.4.2 Probam
Sent from my GT-I9505 using Tapatalk
Thanks!!!
Working great on note 2.
4.3 alliance
4.4.2 Resurrection Remix
4.4.2 Omni
Hope this will still work in future android development
Verstuurd vanaf mijn GT-N7100 met Tapatalk
Which features will not work on HTC One with root SuperSU, but with S-ON?
This app broke my WiFi on GalaxyS4 (i9505) with Omega ROM v19. I already tried to flash the ROM again, flash new kernel, flash the modem via ODIN again and WiFi fix, but nothing helped. I'm out of ideas what could happen. I cant put the WiFi on anymore.
thangbom said:
Thanks for this tiny and helpful utility. However, I initiated it, then started my (home) wifi up, then could not login to the network, although I have re-entered the correct password. Turning this off, again allows me to access the wifi. What should I do? (I am on Samsung Galaxy S4, I9500 @ 4.3)
Click to expand...
Click to collapse
Something is breaking some of Samsung's extra encryption... this would take a lot of tinkering to figure out, there's no direct answer I can give you right now. Turn it off for the time being.
muamers said:
This app broke my WiFi on GalaxyS4 (i9505) with Omega ROM v19. I already tried to flash the ROM again, flash new kernel, flash the modem via ODIN again and WiFi fix, but nothing helped. I'm out of ideas what could happen. I cant put the WiFi on anymore.
Click to expand...
Click to collapse
If all else fails, flash a full stock firmware and see if that restores operation.
reeder said:
Which functions will not work on HTC One with root SuperSU, but with S-ON?
Click to expand...
Click to collapse
S-ON is not supported at all.
Confirmed working on Galaxy Note N7000 running Kitkat 4.4.2 with SuperSU 1.91
- OmniROM nightly 2014-02-01 (ART)
- Carbon ROM nightly 2014-01-31 (Dalvik)
In the play store description it was mentioned "developed for phones". I tried it nevertheless with a Galaxy Tab2 10.1 GSM (P5100) running OmniRom KK nightly and it changed successfully the Mac address also.
?
Yes. Reconnect to known WiFi takes a bit longer, but still working..
Just about to backup my apps and setting ... will try a clean instal first.
How do I exactly check if it's working?
I'm on HTC One Cyanogenmod 10.2 Rooted S-ON and there seemed to be no error till now :/
Same for me. Please share if you are able to fix this. Unfortunately I am away from a laptop for the coming week
At least the app does what it should.nobody can track me through Wi-Fi now...
muamers said:
This app broke my WiFi on GalaxyS4 (i9505) with Omega ROM v19. I already tried to flash the ROM again, flash new kernel, flash the modem via ODIN again and WiFi fix, but nothing helped. I'm out of ideas what could happen. I cant put the WiFi on anymore.
Click to expand...
Click to collapse

Phone Hacked... Again.

I have a Galaxy SIII mini which has been hacked 4 times in the last 8 months that I have had it. Usually, the first 3 times, were kids doing pranks, turning on my bluetooth,etc but this last hack was malicious. Started turning on my GPS, bluetooth, and camera flash light then progressed to changing my system language and finally making it so that my sim couldn't connect to any cell towers. I have tried app locks, but this last time inspite of two seperate app locks, he succeed with ease to change my settings. I also subscribed to a VPN with a NAT firewall and that didn't help at all either. Now I have redid the OS again, this time installing CM 11 and I welcome any suggestions on how I can stop this from happening all of the time. Thank you.
Gaon101 said:
I have a Galaxy SIII mini which has been hacked 4 times in the last 8 months that I have had it. Usually, the first 3 times, were kids doing pranks, turning on my bluetooth,etc but this last hack was malicious. Started turning on my GPS, bluetooth, and camera flash light then progressed to changing my system language and finally making it so that my sim couldn't connect to any cell towers. I have tried app locks, but this last time inspite of two seperate app locks, he succeed with ease to change my settings. I also subscribed to a VPN with a NAT firewall and that didn't help at all either. Now I have redid the OS again, this time installing CM 11 and I welcome any suggestions on how I can stop this from happening all of the time. Thank you.
Click to expand...
Click to collapse
what kind of hack are you talking about? is someone using your phone, or remotely accesing it?
remotely accessing it. no one has physical access to my phone.
You should set a encryption password for your phone and use the app : Lockdown pro to restrict access to everyone who don't know the password.
Stay tuned for my first CM11 theme soon.
What do you mean by encryption password? You mean to encrypt my phone?
I did install that app. One thing that I really like about it is it's ability to stop the installation of apps which is what I think that the hacker is doing: installing some sort of app on my phone.
Settings > Security Settings - Encrypt phone > see instructions there .
@Gaon101
Stay tuned for my first CM11 theme soon.
After doing more reading online, I believe that the hacker(s) may have their own 'cell network' and may be exploiting my phone whenever it connects to it. How can I prevent this from happening if that is the case?

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