Lollipop and Tethering - Xperia Z3 General

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.

Related

Problems with ADB

So I'm not a novice ADB user and have used it to root at least 5 or 6 phones. I'm attempting to root my kindle fire right now and running into problems. I built a new PC since the summer and never bothered to reinstall ADB. I just downloaded the Google SDK and from my memory that includes ADB and you can usually get it going from there. I read some tutorials on how to set it up but after following them perfectly I can't get it to even start the ADB server. Anytime I type any ADB commands in it says adb.exe not found or it not being a valid command.
Any quick advice?
Get_Out_and_Push said:
So I'm not a novice ADB user and have used it to root at least 5 or 6 phones. I'm attempting to root my kindle fire right now and running into problems. I built a new PC since the summer and never bothered to reinstall ADB. I just downloaded the Google SDK and from my memory that includes ADB and you can usually get it going from there. I read some tutorials on how to set it up but after following them perfectly I can't get it to even start the ADB server. Anytime I type any ADB commands in it says adb.exe not found or it not being a valid command.
Any quick advice?
Click to expand...
Click to collapse
Download Kindle Fire Utility...
http://forum.xda-developers.com/showthread.php?t=1399889
It has a batch file that will install the necessary ADB drivers and you'll find the fastboot/adb executables in the tools directory.
That's what I thought was weird. I ran the drivers.bat, it says they're all installed and I still can't start the adb server or communicate with it. And the kindle shows up as it's supposed to when the adb drivers are installed under devices.
PS thanks for the quick response.
Get_Out_and_Push said:
That's what I thought was weird. I ran the drivers.bat, it says they're all installed and I still can't start the adb server or communicate with it. And the kindle shows up as it's supposed to when the adb drivers are installed under devices.
PS thanks for the quick response.
Click to expand...
Click to collapse
That's a new one to me. I think the adb server should be able to start even without the device attached. Maybe your original SDK install went wrong and it did something funny to your system? Sorry... I got nothing.
kinfauns said:
That's a new one to me. I think the adb server should be able to start even without the device attached. Maybe your original SDK install went wrong and it did something funny to your system? Sorry... I got nothing.
Click to expand...
Click to collapse
Don't want to sound too simple, but have you changed to the directory that adb.exe is installed in before trying to run it?
Yeah I changed the directory. I got it up and running kind of but now when I try the adb devices command it pops up as "connected devices" with nothing showing under it. The kindle fire utility also shows the adb server as not running always. Odd?
This happened to me its supposed to show up as Android composite adb interface its just a problem in that .android hidden file
Sent from my R800a using Tapatalk
Sorry I dont have my laptop with me and this happened like 2 months ago so my memorys rusty
Sent from my R800a using Tapatalk
---------- Post added at 10:09 PM ---------- Previous post was at 09:53 PM ----------
my adb_usb.ini http://www.box.com/s/e74b32cff87b7c9363fb
http://www.box.com/s/d785bcc0969b7c0999f0 -androidwin.cfg
http://www.box.com/s/da267d41c04c6284f084 -ddms.cfg
http://www.box.com/s/242c14da6a4fa8f2664d -repositories.cfg
to use these click my computer then at the search bar on the top left type in %userprofile% make sure hidden folders are sshown go to the .android folder and put these files in their. if it still doesnt work try superoneclick connect your kindle and go to the advanced tab and click update drivers
if none of this works follow the first half of this tutorial-http://www.youtube.com/watch?v=f409qNgpzSA
jeffbud98 said:
Sorry I dont have my laptop with me and this happened like 2 months ago so my memorys rusty
Sent from my R800a using Tapatalk
---------- Post added at 10:09 PM ---------- Previous post was at 09:53 PM ----------
my adb_usb.ini http://www.box.com/s/e74b32cff87b7c9363fb
http://www.box.com/s/d785bcc0969b7c0999f0 -androidwin.cfg
http://www.box.com/s/da267d41c04c6284f084 -ddms.cfg
http://www.box.com/s/242c14da6a4fa8f2664d -repositories.cfg
to use these click my computer then at the search bar on the top left type in %userprofile% make sure hidden folders are sshown go to the .android folder and put these files in their. if it still doesnt work try superoneclick connect your kindle and go to the advanced tab and click update drivers
if none of this works follow the first half of this tutorial-http://www.youtube.com/watch?v=f409qNgpzSA
Click to expand...
Click to collapse
Thanks I appreciate the help. Once I get home I'll try this and report back on how it works. I'm glad someone else experienced the same problem a d got around it.
The youtube video did it for me. I appreciate the time taken to help point me in the right direction.

Root ph7 firmware? Needing hotspot

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

ADB driver woes

New laptop (to me) Dell e7470.
Win7 x64
Phone: XT1575
Installed:
MotorolaDeviceManager_2.5.4
MotoHelper_2.1.32_Driver_5.4.0
Motorola_End_User_Driver_Installation_6.4.0_64bit
(also tried Kushik Dutta universal adb driver from 2013)
No adb driver detected or found when all the other drivers install fine when plugging in the phone
I've tried multiple usb cables, but this all works fine on my other computers.
If reboot to fastboot Motorola ADB driver is found and installed
But no adb driver when in rom
I've done this successfully for years, first android device many moons 2008ish
I dont know why this laptop is giving me troubles, or maybe i'm just gettin old and forgot a basic sequence or step to success.
Thanks for any ideas, its got to be something dumb.
You need to turn on usb debugging - developer options.
Minimal adb & fastboot installed too.
Dev.opt. - settings - infi about phone - tap few times compilation number. @eigerzoom
What for do you need adb if fastboot works?
MDM is all you need for drivers.
I have adb debugging enabled
I apparently need it for tethering, since that isn't working.
Works just fine on my other win7 asus laptop.
Any other ideas?
it feels like windows is missing something, but its hard to feel a computer
Run cmd and type:
adb devices
I've done that, thats how i test it.
its blank
actually i test it with 'adb usb' which gives error: no devices
File transfer works?
how would it transfer files if no device is found?
adb device shows up in device manager with an error
File transfer - mtp - not needed adb drivers. From notification bar you can change/enable when connected.
---------- Post added at 07:31 PM ---------- Previous post was at 07:28 PM ----------
Error in win dev manager - rpm - update driver - choose from installed.
Find & choose "adb device".
I'll test it soon, sorry
Also in developer settings you can choose usb configuration mode
if I cycle through them all
All drivers get recognized except in 'audio source' mode xt1575 no drivers install, and in 'rndis usb ethernet' no adb drivers install
I haven't Windows english version - I don't know names.
So I suggest:
Uninstall all Android programms(apps) & drivers from pc, restart pc.
Install and run MDM, when it finished connect Moto with debugging on, allow the connection on Moto(it should ask itself) .
Anyone else???
eigerzoom said:
Anyone else???
Click to expand...
Click to collapse
No try what @dzidexx suggested, before asking for someone else! Especially since his solution isn't hard to try out and see if it works!
I've done all that....obviously....
ANYONE ELSE ???
something tells me i have to install a stock rom to get the adb driver to install
and then it will work fine installing other roms after that
running LOS13 currently
i've run into this in the distant past on pre 2010 devices
anyone else with ideas?

Solution for the data error in Android Oreo/NoRoot/CarrierService without credit

Hello, so, I wanted to share a solution found in the Google forum of the Google Pixel device, which comes to try to solve a failure that when we ran out of credit or data to navigate, we blocked the connection to the Internet, then we could not use services like "WhatsApp" that have unlimited connection in some plans.
I leave the link of the forum where I found that solution and a quote from the text
Instal ADB Drivers for Mi A1
https://forum.xda-developers.com/showthread.php?t=2588979
Link of the forum: https://productforums.google.com/d/msg/phone-by-google/kw3ZcXd1BVs/rhjvUvN7AQAJ
Text:
"it´s not necesary rooting the phone just install ADB and platform tools and pixel drivers on your computer and enable the USB debugging.on developer options on the phone.
after connect your phone to the computer and open the ADB and platform tools and write the command just to make sure you have connection between the computer and the phone:
adb devices
Click to expand...
Click to collapse
(shows connection)
adb shell
Click to expand...
Click to collapse
(to make changes on the phone)
pm uninstall -k --user 0 'com.android.carrierdefaultapp'
Click to expand...
Click to collapse
(this last command disable carrierdafaultapp that is causing trouble when you want tu use mobile data)
hope you can do it for me is working" - By "Rafael Navas"
Maaan..
After few days of searching what blocking my internet data in roaming, finally u gave me a solution!
Thank you very much!!!
Btw I'm owner of Xiaomi MI6
MIUI v9.5.6.0
I am user of xiaomi mi6, use your method too, adb has reply success, wait for the effect, thank you.

No internet from hotspot since 8.1 update

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?

Categories

Resources