Since the 8.1 update of my MI A1 i can't make a wifi hotspot for my other devices. The other devices can connect perfectly, but they don't have internet. I use a dual sim and i have the issue with both providers. When i use the sim in a other phone i can hotspot perfectly. I found some things to remove the APN Type or fill in <blank> but that does not work either.
I installed the August patch, but that did solved the issue as well.
Hmm, when i turn off 1 sim card i have a working hotspot. No the kind of workaround/solution i wanted but at least it is something.
Try add "default,supl,dun" on APN type
Add the same issue and found the solution somewhere on the net. It's working fine since then.
1 - Put your phone in debugging mode
Under Setting -> system -> about phone, tap repeatedly on Build Number, until the prompt asks if you want to enable developer mode
2 - Enable USB debugging on your phone
Under Setting -> system -> Developer options turn on USB Debugging
3 - plug your phone into USB, there may be a popup to allow remote debugging, allow this.
4 - Open a command window, and browse to the folder where you have adb.
5 - Type the following and press the [Enter] key
adb shell
This starts the Android shell (terminal where commands can be typed), which can work on your phone.
Once in the shell, type this:
settings put global tether_dun_required 0
Press return. To confirm it worked, type this and press return:
settings get global tether_dun_required
It should print out a zero.
Then type either quit or exit
Had the time to test this and this worked @datasource. Thanks for the answer.
Same problem after October update
---------- Post added at 05:34 PM ---------- Previous post was at 05:28 PM ----------
Where is adb?
@sly21
adb android is a tool to edit android system. Follow this:
https://www.xda-developers.com/install-adb-windows-macos-linux/
Thank you @datasource your explanation helped me!
Not fixed in Android 9. Hardresetted my phone
no hotspot after resetting or manual dns
Hi!
Same happens to me since I bought a new sim card last week. Tried the DNS manual change to 8.8.8.8. and 8.8.4.4., re-set all wifi and data networks. Can't add ',dun' to APN type and haven't been able to access shell on adb window programme - any extra advice you could suggest?
Related
Yes. How to root?
Got root
Found this from goapk forum:
Dial * # * # 2846579 # * # *
Go to projectmenu, background settings, log settings, log switch and set Log on
Reboot phone
Set USB debugging on
Download DooMLoRD_v3_ROOT-zergRush-busybox-su.zip
From here http://forum.xda-developers.com/showthread.php?t=1321582
Unzip, connect usb (dont mount SD) and run runme.bat
Let it do the magic, and when phone reboots, its rooted
sanpsa said:
Got root
Found this from goapk forum:
Dial * # * # 2846579 # * # *
Go to projectmenu, background settings, log settings, log switch and set Log on
Reboot phone
Set USB debugging on
Download DooMLoRD_v3_ROOT-zergRush-busybox-su.zip
From here http://forum.xda-developers.com/showthread.php?t=1321582
Unzip, connect usb (dont mount SD) and run runme.bat
Let it do the magic, and when phone reboots, its rooted
Click to expand...
Click to collapse
Do you using chinise version or overseas? Because it don't work on overseas version.
Overseas and it worked
do not forget to disable fast boot!
Source
Rough translation:
1, download ROOT tools, there are links below. (DooMLoRD_v3_ROOT-zergRush-busybox-su.zip)
2, ensure that ADB drivers are correctly installed
3, turn on usb debugging in settings -> applications -> debugging. turn off fast boot option in settings -> applications
4, open dialer, type *#*#2846579#*#*, projectmenu, background settings, log setting, on, go back, open dump & log, turn on all options.
5 , on the PC run runme.bat
6, wait for the complete restart.
7, OK Congratulations root complete!
Tested myself. Works perfectly.
Edit: ah darn you beat me to it lol. Ah well. :-D
Yep confirmed, this method really works.
Isamu_Dyson said:
Source
Rough translation:
1, download ROOT tools, there are links below. (DooMLoRD_v3_ROOT-zergRush-busybox-su.zip)
2, ensure that ADB drivers are correctly installed
3, turn on usb debugging in settings -> applications -> debugging. turn off fast boot option in settings -> applications
4, open dialer, type *#*#2846579#*#*, projectmenu, background settings, log setting, on, go back, open dump & log, turn on all options.
5 , on the PC run runme.bat
6, wait for the complete restart.
7, OK Congratulations root complete!
Tested myself. Works perfectly.
Edit: ah darn you beat me to it lol. Ah well. :-D
Click to expand...
Click to collapse
You must also turn on Unknown sources from settings >applications>Unknown sources. Otherwise it does not work
Just did this and all went ok.
Shouldn't we have a superuser installed with the rooting?
Because my phone rebooted after rooting but I can't find any SU
it's not working
Superuser is there. Latest version also. Look harder ;-D
I think phone is not rooted as I installed the root explorer and wont show the option to mount R/W
sanpsa said:
Got root
Found this from goapk forum:
Dial * # * # 2846579 # * # *
Go to projectmenu, background settings, log settings, log switch and set Log on
Reboot phone
Set USB debugging on
Download DooMLoRD_v3_ROOT-zergRush-busybox-su.zip
From here http://forum.xda-developers.com/showthread.php?t=1321582
Unzip, connect usb (dont mount SD) and run runme.bat
Let it do the magic, and when phone reboots, its rooted
Click to expand...
Click to collapse
Oila! its working great love it.....
I am getting "adb server is out of date.killing..." and then "daemon started successfully" message after each command it executes and at the end nothing happens.
You may need drivers for adb to work, if you havent used adb before...
Should be in the Mobile partner drive, that pops up when usb is connected...
No i have all drivers and sdk installed.
I rooted the chinese gingerbread version this morning using same tool.Now i have the English version.
Now i get this messages and although it says that is completed,it is not.
---------- Post added at 09:31 PM ---------- Previous post was at 09:03 PM ----------
Ok it seems it was droidexplorer causing this problem.
I uninstalled it and it works fine.
I did a second run and root went ok and SU is now there.
New issue, the PC don't detect the phone anymore.. any ideas?
I' ve successfully root the device with your instructions, thanks. But with DoomLord tool, needed to write command su every time to get root rights in adb shell. So I tried the SuperOneClick method, and rerroot the device. After that I have root uccount automatic, as on froyo rom.
I dont know what happen but my computer stop detecting any USB devices, only pen drives.
will this DooMLoRD_v3_ROOT-zergRush-busybox-su.zip change the PC configuration????
Kamajoo said:
You must also turn on Unknown sources from settings >applications>Unknown sources. Otherwise it does not work
Click to expand...
Click to collapse
Exactly, If you dont do that, superuser.apk doesnt install.
Thanks for the guide guys. I did it with overseas version and it worked. Thanks!
For those having issues with tethering. I tested it out today and had issues. It would connect but would not resolve dns. I have unlimited tethering on Three, it's always worked until now.
Doing this resolved my issues. I suspect this issue will be resolve by Three when an official uk build is released.
This can be fixed permanently using the following procedure (UPDATE: no root required):
Enable developer mode (Go to Settings -> About phone, and click on the build number until the developer mode is enabled).
Enable USB debugging under Settings -> Developer options
Connect the device with a USB cable to a computer with the Android SDK platform tools installed
Start an adb shell: adb shell
In the adb shell, run this command: settings put global tether_dun_required 0
https://pmf.silvrback.com/fixing-tethering-on-android-kitkat
runamonk99 said:
For those having issues with tethering. I tested it out today and had issues. It would connect but would not resolve dns. I have unlimited tethering on Three, it's always worked until now.
Doing this resolved my issues. I suspect this issue will be resolve by Three when an official uk build is released.
This can be fixed permanently using the following procedure (UPDATE: no root required):
Enable developer mode (Go to Settings -> About phone, and click on the build number until the developer mode is enabled).
Enable USB debugging under Settings -> Developer options
Connect the device with a USB cable to a computer with the Android SDK platform tools installed
Start an adb shell: adb shell
In the adb shell, run this command: settings put global tether_dun_required 0
https://pmf.silvrback.com/fixing-tethering-on-android-kitkat
Click to expand...
Click to collapse
This fixed it 100% thanks!
Just to note, i don't have the SDK, I used the 15 second ABD installer.
http://forum.xda-developers.com/showthread.php?t=2588979
Worked wonderfully! And I also used that 15 second ADB set up (how good is that?!)
This also disables t-mobile's tethering tracking. Nice!
I've just updated to uk build I had same problem tehething on Three, ran your fix and I can now tether and get internet, thanks
please help
I installed the 15 second adb shell and it did install. When I type ''settings put global tether_dun_required 0" it doesn't work for me. Think I'm doing something wrong because all of you got it to work. Can someone take me step by step please? I'm new to this and I use tethering everyday for my college work so please help me out guys
EDIT: I open command prompt and type adb reboot just to check if its working, and the phone rebooted so I think its working btw
Worked for me!
Thanks - This worked perfectly for me. Although on a mac, remember to use:
./adb shell
in the terminal.
I have an xperia Z3 on Three 3 Uk and tethering wasn't working. This fixed the problem.
On a mac: Download and install Android SDK tools
Locate the directory
In tools, locate the file 'adb'
Navigate to the folder location in terminal: cd /Users/(YOURNAME)/downloads/(YOUR FOLDER NAME)
Enable developer mode (Go to Settings -> About phone, and click on the build number until the developer mode is enabled).
Enable USB debugging under Settings -> Developer options
Connect your phone
Make sure the USB debugging is allowing access (tick the box when you connect)
In the terminal, type: ./adb shell
then:
settings put global tether_dun_required 0
Phone will now tether perfectly. I'm posting using my tethering right now!
Thanks runamonk99
Made a quick script based on this thread's suggestion here: http://forum.xda-developers.com/showthread.php?t=3071188 you have to be rooted, tho.
thanks so much
Absolute genius, thank you
Worked great for me thanks. Z3 compact on Three UK. Used the 15sec ADB also
This method works like a charm on my T-Mobile Z3 even after reboot.
Sent from my SGP561 using Tapatalk
So glad I found this thread. I have a Sony Xperia z2 on three and I've had no tethering since kitkat 4.4.4. I received a replacement handset from the insurance as I lost that phone and the new one worked fine. Then came the lollipop update and I had the same problem again! After several hours of pointless phone calls to three, I stumbled upon this thread, 20 minutes later and all is working perfect again.
I used android studio sdk tools and needed to install a separate D6503 (Xperia z2) driver.
Thank you so much for this!!!! really helped
This doesn't seem to work any more, it worked for android 5.0 but just recently updated to 5.0.2 and it no longer works, anyone else tried it on the latest firmware?
Just had an Xperia update, tethering has again stopped working so looks like I need to apply the fix again.
AS expected reapplied adb patch, all is good again.
After 3 weeks of trying to fix this problem, phone calls to 3 and Sony who both were about as much use as an ashtray on a motorbike, I was just about to give up and sell my z3 (Sony wouldn't let me return it even tho they couldn't get one of their services, wireless tethering, to work) and buy a HTC one m9 (still wish I had bought one anyway). Finally I stumble upon this thread, after 30 minutes of downloading programs and doing a little bit of reading I now have my Z3s 4G connection tethered to my MS Surface Pro 3. Another ten months on the old one plan, not going to waste money on broadband till I've eaten all the data I can. Muchos Gracias ?
DNS Issue
DNS issue for me. Also can we use the stock Tether or are we supposed to use another one??
---------- Post added at 09:16 PM ---------- Previous post was at 08:49 PM ----------
Stock tether app or download another one? Also does our APN need to be anything special or any other changes?? Thanks for your help. So far I'm getting the DNS issue as well.
I successfully changed the file however the mobile app sets it back to 1 from 0 everytime.
---------- Post added at 11:40 PM ---------- Previous post was at 11:22 PM ----------
I think a custom zip file that can be flashed in recovery may fix the issue like it was done on the Nexus 5 thread for tether_dun_required 0.
robtmsstt1 said:
I successfully changed the file however the mobile app sets it back to 1 from 0 everytime.
---------- Post added at 11:40 PM ---------- Previous post was at 11:22 PM ----------
I think a custom zip file that can be flashed in recovery may fix the issue like it was done on the Nexus 5 thread for tether_dun_required 0.
Click to expand...
Click to collapse
you can use the script from here to automate the process: http://forum.xda-developers.com/tmobile-lg-g3/general/lollipop-tethering-t3071188
Thank you that will be my next step by the way I'm using a t mo Note 3.
Hi,
I develop application on eclipse IDE.
When i try to debug it in the phone, I get a problem with the debugger who can't to attach.
I had tried on others devices with no problems.
The application is just one empty project.
My device :
Elephone P3000S
Android 4.4.2
Build P3000S_20150120
Try to Disable and Enable again the "USB Debugging" mode from the Settings of the phone.
Also as mentioned here, some devices need the permission
<uses-permission android:name="android.permission.SET_DEBUG_APP" /> (inside AndroidManifest.xml)
If this does not help, try restarting your phone.
If still having problem, press the pause button in the Eclipse Debugger, and play again to continue.
Done, no change
Remove your USB and close the Eclipse.
Open "Task Manager" (on Windows) and kill (terminate) the adb.exe.
On your phone check USB Debugging is on
and Open the Eclipse.
After eclipse has opened,
plug-in again your phone. Wait for a confirmation dialog to appear on your phone and accept it.
If confirmation dialog has not appeared and accepted it, you may not be able to connect.
Also type on a cmd.exe Terminal
adb devices
Is it saying that your device is UNAUTHORIZED?
Is your logcat displaying any errors during the debugging attachment process?
I done all you say.
I dont get this :
Wait for a confirmation dialog to appear on your phone and accept it.
The automatically switch to USB debugging enabled and connected as USB Storage.
tazer said:
I done all you say.
I dont get this :
Wait for a confirmation dialog to appear on your phone and accept it.
The automatically switch to USB debugging enabled and connected as USB Storage.
Click to expand...
Click to collapse
This may be your problem.
Are you in Windows? If yes, to be sure, open the command prompt (cmd.exe) and while your phone is connected type:
adb devices
If it says UNAUTHORIZED near your device then this may be the problem.
In your "More" Settings is your USB Internet option ON? If yes, turn it off, it may interfere.
I don't know what else the problem may be. The normal should be for a dialog to appear to confirm. So now you may be UNAUTHORIZED
---------- Post added at 12:54 PM ---------- Previous post was at 12:49 PM ----------
Also Try changing the USB mode to MTP (not Storage) !!!
Thank you for your interest.
The adb commande show :
List of devices attached
emulator-5554 device
0123456789ABCDEFG device
Click to expand...
Click to collapse
I forget, I'm on Wondows Seven and I have tried to use the MTP mode without succes.
Your device seems to recognized. So no problem with that.
I see you have also an emulator opened. Try closing it before running on device. Perhaps it interferes.
I can't think anything else that is causing problem, as you mentioned, it runs ok on other devices, so I don't think that it is Eclipse's issue
>> Try closing ... I had tried without, no chance.
I agree, It isn't an eclipse problems
One last try
Go to your phone's settings -> Developer options -> find something that says Select Debug App (or something like that) and make sure it is selected "None".
---------- Post added at 05:53 PM ---------- Previous post was at 05:49 PM ----------
Try also adding android:debuggable="true" in your application tag on the manifest.
>> ... make sure it is selected "None".
It's the case
>> Try also adding android:debuggable="true" ...
I had tried it
I get "Temporary network problem that is preventing the portable Wi-Fi hotspot feature from being enabled " when I try to enable a portable hotspot on my 6P.
I'm rooted, on 7.1.2 and have an AT&T SIM (from FreedomPop).
Many people have complained about this problem on various phones, but I haven't been able to find a solution. How do I fix this?
Answering my own question:
1. adb shell
2. su
3. settings put global tether_dun_required 0
4. Add to build.prop: net.tethering.noprovisioning=true
5. reboot
Hello all, I'm trying to get a workable hotspot for my wifes S7 on sprint. She has PH7 firmware, from what I have been reading I can't root with that firmware. True or no? If not should I go ahead and update? TIA
I can root any Samsung firmware for you. 7.1.1 included down to 4.4.2
Sent from my SM-G928T using Tapatalk
Really just looking for some help, dont want to send the phone to you or do teamviewer. If you want to chime in for helping with the problem i'll be more than glad
There is a need for one or the other sir. Connect with me over TV when your ready with device in hand. And must have high speed Internet
Sent from my SM-G928T using Tapatalk
---------- Post added at 07:00 AM ---------- Previous post was at 06:56 AM ----------
To make it faster find out your Firmwares revision (enter recovery with key combos) and download matching firmware file at androidfilehost.com or similar to get started.
Sent from my SM-G928T using Tapatalk
---------- Post added at 07:09 AM ---------- Previous post was at 07:00 AM ----------
https://androidfilehost.com/?fid=529152257862686280
Sent from my SM-G928T using Tapatalk
https://forum.xda-developers.com/sprint-galaxy-s7/how-to/nougat-root-guide-tips-tricks-root-t3573193
Hotspot Hack
1. Enable developer mode:
a. Go to settings
b. Scroll down to about phone
c. Repeatedly tap "Build number" until developer access is granted
2. Get ADB installed w/ drivers
a. https://forum.xda-developers.com/sho....php?t=2588979
3. Enable USB Debugging
a. Go to settings
b. Go down to developer options
c. Scroll down to USB Debugging and turn it on
d. Connect phone with USB to PC
4. Get into ADB shell
a. Open a command prompt (windows key + R , type "cmd" in the box and press enter is my favorite way)
b. Run:
Code:
adb shell
5. Enable the bypass
a. Disable the DUN requirement
Code:
settings put global tether_dun_required 0
b. Overwrite the DUN APN
Code:
settings put global tether_dun_apn "APNDUN,n.ispsn,,,,,,,,,310,120,,default,mms,dun"
6. Turn off Mobile Data
7. Turn on HotSpot
8. Turn on Mobile Data
Every time that you want to use the hotspot you have to turn data off; turn hotspot on; turn data back on. When you disconnect your hotspot you need to do the following:
1. Turn Hotspot Off
2. Turn Mobile Data Off
3. Turn Mobile Data On
People will complain, but after you run the code the first time, turning hotspot on and off literally takes just seconds.
Awesome, it worked great, thanks a lot xdaSEx10! How would you revert back to original settings if need be?
Actually, I spoke too soon. It worked a far as it allows me to create the hotspot, but it doesn't share the internet data.
I followed your steps exactly. Any idea of a solution please?
Thanks!
xdaSEx10 said:
https://forum.xda-developers.com/sprint-galaxy-s7/how-to/nougat-root-guide-tips-tricks-root-t3573193
Hotspot Hack
1. Enable developer mode:
a. Go to settings
b. Scroll down to about phone
c. Repeatedly tap "Build number" until developer access is granted
2. Get ADB installed w/ drivers
a. https://forum.xda-developers.com/sho....php?t=2588979
3. Enable USB Debugging
a. Go to settings
b. Go down to developer options
c. Scroll down to USB Debugging and turn it on
d. Connect phone with USB to PC
4. Get into ADB shell
a. Open a command prompt (windows key + R , type "cmd" in the box and press enter is my favorite way)
b. Run:
Code:
adb shell
5. Enable the bypass
a. Disable the DUN requirement
Code:
settings put global tether_dun_required 0
b. Overwrite the DUN APN
Code:
settings put global tether_dun_apn "APNDUN,n.ispsn,,,,,,,,,310,120,,default,mms,dun"
6. Turn off Mobile Data
7. Turn on HotSpot
8. Turn on Mobile Data
Every time that you want to use the hotspot you have to turn data off; turn hotspot on; turn data back on. When you disconnect your hotspot you need to do the following:
1. Turn Hotspot Off
2. Turn Mobile Data Off
3. Turn Mobile Data On
People will complain, but after you run the code the first time, turning hotspot on and off literally takes just seconds.
Click to expand...
Click to collapse
dieseldeeznutz said:
Actually, I spoke too soon. It worked a far as it allows me to create the hotspot, but it doesn't share the internet data.
I followed your steps exactly. Any idea of a solution please?
Thanks!
Click to expand...
Click to collapse
Did you follow the directions and copy the correct code? It should work flawlessly. I would try it again just to double check. To use make sure you:
1. Turn off mobile data
2. Turn on hotspot
3. Connect device to hotspot
4. Turn on mobile data
You have to do this for it to work.
Hi thanks, I got it working! I ended up finding the OP with these same instructions listed as the alternative method.
I used the first method in that post, with slightly different adb commands, and it worked like a charm. Thanks again!
lvpre said:
Did you follow the directions and copy the correct code? It should work flawlessly. I would try it again just to double check. To use make sure you:
1. Turn off mobile data
2. Turn on hotspot
3. Connect device to hotspot
4. Turn on mobile data
You have to do this for it to work.
Click to expand...
Click to collapse