FORUMS
Remove All Ads from XDA

Hotspot issues

17 posts
Thanks Meter: 5
 
By tokjdm, Junior Member on 30th October 2017, 11:14 AM
Post Reply Email Thread
Brand new Mi Mix 2 with Global EU Rom, unrooted.
Setting up a hotspot on Mi Mix 2 works fine, my computer connects with the hotspot and appears as connected on the Mi Mix 2.
Ping works fine from the computer but I cannot access any website (tried on FF and Explorer).

Is there a turnaround possible? I don't want to root.
 
 
30th October 2017, 12:49 PM |#2  
Senior Member
Flag İstanbul
Thanks Meter: 43
 
More
Did you try to manual alter your DNS settings on PC?
31st October 2017, 01:02 AM |#3  
OP Junior Member
Tokyo
Thanks Meter: 5
 
More
Thanks for the suggestion but concretely what should I try to change?
31st October 2017, 05:43 AM |#4  
Senior Member
Flag Melbourne
Thanks Meter: 20
 
More
I tried this today and found it would not connect.
Found this on the MI Forum, was not sure if I could do a link. Thanks DepeTT

I had to turn off PC and Phone, deleted connections, reset up now working.

Looks like i found a solution to that.
- I used ADB
- I enabled developer options on the phone and enabled both usb debugging and the (security settings) options
- I typed:
adb shell
- The prompt should change into the phone model
- I typed
settings get global tether_dun_required
- If the result is null or 1 tethering will not work (mine was null)
- I typed
settings put global tether_dun_required 0
- I typed exit two times to go out of the shell
- Rebooted the phone
After that the tethering was working fine, both usb and wifi.
Global, locked
The Following 5 Users Say Thank You to FSB For This Useful Post: [ View ] Gift FSB Ad-Free
14th November 2017, 12:53 AM |#5  
Junior Member
Thanks Meter: 0
 
More
Thank you FSB ;)
After many hours trying to fix this issue it's finally work after following your instructions . Thank you so much.
29th November 2017, 01:28 PM |#6  
Senior Member
Flag Salvador
Thanks Meter: 21
 
More
Quote:
Originally Posted by FSB

I tried this today and found it would not connect.
Found this on the MI Forum, was not sure if I could do a link. Thanks DepeTT

I had to turn off PC and Phone, deleted connections, reset up now working.

Looks like i found a solution to that.
- I used ADB
- I enabled developer options on the phone and enabled both usb debugging and the (security settings) options
- I typed:
adb shell
- The prompt should change into the phone model
- I typed
settings get global tether_dun_required
- If the result is null or 1 tethering will not work (mine was null)
- I typed
settings put global tether_dun_required 0
- I typed exit two times to go out of the shell
- Rebooted the phone
After that the tethering was working fine, both usb and wifi.
Global, locked

I am having trouble using the hotspot in my Mi MIX 2 (MIUI 8), I tried to do the procedure but it gives an error:

"C:\Program Files\Minimal ADB and Fastboot>adb shell
chiron:/ $ settings get global tether_dun_required
null
chiron:/ $ settings put global tether_dun_required 0
Error while accessing settings provider
java.lang.SecurityException: Permission denial: writing to settings requires:and
roid.permission.WRITE_SECURE_SETTINGS
at android.os.Parcel.readException(Parcel.java:1684)
at android.database.DatabaseUtils.readExceptionFromPa rcel(DatabaseUtils.java:183)
at android.database.DatabaseUtils.readExceptionFromPa rcel(DatabaseUtils.java:135)
at android.content.ContentProviderProxy.call(ContentP roviderNative.java:646)
at com.android.commands.settings.SettingsCmd.putForUs er(SettingsCmd.java:268)
at com.android.commands.settings.SettingsCmd.run(Sett ingsCmd.java:160)
at com.android.commands.settings.SettingsCmd.main(Set tingsCmd.java:63)
at com.android.internal.os.RuntimeInit.nativeFinishIn it(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeIn it.java:343)"

Vlw...
29th November 2017, 10:54 PM |#7  
Senior Member
Flag Melbourne
Thanks Meter: 20
 
More
Quote:
Originally Posted by Allexsander

I am having trouble using the hotspot in my Mi MIX 2 (MIUI 8), I tried to do the procedure but it gives an error:

"C:\Program Files\Minimal ADB and Fastboot>adb shell
chiron:/ $ settings get global tether_dun_required
null
chiron:/ $ settings put global tether_dun_required 0
Error while accessing settings provider
java.lang.SecurityException: Permission denial: writing to settings requires:and
roid.permission.WRITE_SECURE_SETTINGS
at android.os.Parcel.readException(Parcel.java:1684)
at android.database.DatabaseUtils.readExceptionFromPa rcel(DatabaseUtils.java:183)
at android.database.DatabaseUtils.readExceptionFromPa rcel(DatabaseUtils.java:135)
at android.content.ContentProviderProxy.call(ContentP roviderNative.java:646)
at com.android.commands.settings.SettingsCmd.putForUs er(SettingsCmd.java:268)
at com.android.commands.settings.SettingsCmd.run(Sett ingsCmd.java:160)
at com.android.commands.settings.SettingsCmd.main(Set tingsCmd.java:63)
at com.android.internal.os.RuntimeInit.nativeFinishIn it(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeIn it.java:343)"

Vlw...

Check if tethering is working.
Google "Error while accessing settings provider, " some say it works
The Following User Says Thank You to FSB For This Useful Post: [ View ] Gift FSB Ad-Free
15th December 2017, 12:13 PM |#8  
Junior Member
Flag Nikaia
Thanks Meter: 1
 
More
Dear Sirs,
I also have Mi Mix 2 global ROM fully upgraded to MIUI 9.1 not rooted and I faced the same problem. I noticed that my other Android phones can browse Internet using mix2 personal hotspot but my Windows 7 64bit computer, although can be connected to the personal hotspot, it is not possible to get internet connection...
Well after some testing I found that, if I specify manual DNS entries at my computer ( I used Google's public DNS servers ) then my internet connections was fine. In conclusion, in mix2 personal hotspot, there is bug regarding DNS...
Please try it and let me know.
Of course, suggested we better solution if possible.

Thanks and Best Regards,
Mike Kranidis
18th December 2017, 09:38 AM |#9  
Senior Member
Thanks Meter: 158
 
More
I cannot set the USB debugging security option (it was restricted).
Is it possible to enable wifi hotspot with buildprop edit ?
8th March 2018, 04:30 PM |#10  
Junior Member
Thanks Meter: 1
 
More
For those using predefined APN's, make sure APN protocol shows IPv4 or IPv4/IPv6. If APN protocol is on IPv6 only, you must reboot Windows 10 to get connected to internet (after connecting to any IPv4 hotspot). If there's not an APN profile with IPv4, you can create your own. I did not have to do anything else to get Personal hotspot working. On MIUI Global 9.1.2.0.
15th March 2018, 09:41 AM |#11  
Junior Member
Thanks Meter: 0
 
More
Redmi Note 4 Global - Fixed
Quote:
Originally Posted by FSB

I tried this today and found it would not connect.
Found this on the MI Forum, was not sure if I could do a link. Thanks DepeTT

I had to turn off PC and Phone, deleted connections, reset up now working.

Looks like i found a solution to that.
- I used ADB
- I enabled developer options on the phone and enabled both usb debugging and the (security settings) options
- I typed:
adb shell
- The prompt should change into the phone model
- I typed
settings get global tether_dun_required
- If the result is null or 1 tethering will not work (mine was null)
- I typed
settings put global tether_dun_required 0
- I typed exit two times to go out of the shell
- Rebooted the phone
After that the tethering was working fine, both usb and wifi.
Global, locked

Hey, after trying multiple things and eventually contemplating going back to Apple, I tried your suggestion and it works fine now. The only difference was that I had to enable "USB debugging (Security settings)" as well as the standard "USB Debugging" on my version (Redmi Note 4 Global, Android 6, MIUI Global 9.5 Stable). Just make sure you disable it when you've rebooted the phone so it's secure.

Thanks again
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes