[ROOT] Guide to bypass carrier detection while tethering in COS 12.1 - Zuk Z1 General

Hi Guys,
yesterday i was trying to share my 3g connection with my laptop, like i used to do with CyanogenMod 12.1 on my old i9300.
My data plan does not include tethering option (which requires an additional payment and runs with a specific APN).
With CyanogenMod 12.1 on my i9300 i was able to bypass this payment simply deleting the dedicated APN, forcing che OS to use the APN with included traffic.
Seems that with COS 12.1 (and with other Official ROM like Samsung's, LG's, etc.. starting from 4.4 KitKat) deleting APNs isn't enough, and the carrier is aware of part of the traffic being tethered. Probably because of Google's native code.
Googling around i found a fix that require root permission[*]:
Disclaimer:
I’m not responsible if something goes wrong on your phone. Rooting your phone will void your warranty, so be careful.
If you dont know what you're about to do, please dont do anything.
with a root file explorer, navigate to /data/data/com.android.providers.settings/databases
make a backup copy of settings.db
download a free sql editor app
open the settings.db file and tap on "global"
tap to add a new row and write:
name field: "tether_dun_required" without quotes
value field: "0" without quotes​
save and close
reboot and enjoy
[*] This will probably work until the next system update. Then you'll need to repeat the whole precedure.
Tested on my COS 12.1 Zuk and works prefectly.
I see there's another procedure that does not require root permission but i haven't tested cause i'm rooted.
Feel free to try if you want to.
Enable developer mode going to Settings -> About phone, and tap on the "build number" until the developer mode is enabled
Enable USB debugging under Settings -> Developer options
Connect the device via USB to a computer with the Android SDK platform tools installed
Start an adb shell: adb shell
run the command: settings put global tether_dun_required 0
Hope this helps.
Bye!

Related

Wifi "Unable to Scan for Networks"

My wifi is always turned off, and when i enable it. It turns on for 5 seconds say "unable to scan for networks" and then turns off.
if anyone have encounter the same problem before and know how to fix it. it will be great.
thanks.
my phone is rooted and i'm runnig LCR 1.8.2
my phone does the same exact thing, It has done that since the day I got it.
In my case it is a hardware problem. I got my phone on ebay, I registered the phone with acer and had a 1 year warranty, but they said I had to take it back to the store where I got it from, so a warranty claim with acer isn't going to get you anywhere.
My liquid got the same problem too.
"Unable to Scan for Networks" SOLUTION - WITHOUT ROOTING
**** SOLUTION - WITHOUT ROOTING *****
I searched many forms to solve the "Unable to scan network" issue. All explained how to do it after rooting and I did not want to root my phone.
Yesterday, while playing with the phone and SDK, I could repair it by deleting "bcm_supp.conf" file. This is what I did:
1. Install the android SDK.
(make sure the <SDK>/tools path is added to the windows path variable. My Computer -> Properties -> Advanced -> Environment Variables -> System variable -> add the SDK path at the end of Path variable )
2. On your phone, please enable (tick mark) "USB debugging" under "Settings" -> "Applications" -> "Development"
3. Connect your phone using USB to PC/Laptop. Close phone manager application if it comes up on the PC.
4. Run "ddms.bat" from <SDK>/tools directory. The DDMS application will come up and it should readily connect to your phone. (in the main screen, under Name, you should find the phone ID and SW ver. no.)
5. Go to menu Device -> File Explorer. New window will come up.
6. Here go to data -> wifi directory. You will see a file bcm_supp.conf.
7. Though it is not possible to read this file, you should be able to delete it. (at least I could delete it). You can delete the file by selecting it and then pressing red "-" on top left of the window.
8. Now close the DDMS and disconnect the USB. Enable WiFi and scan for networks. The bcm_supp.conf file will get created and you should be able to find the networks.
Please note:
1. Do this on your own risk.
2. All your previous WiFi settings are gone as you delete the file.
3. If you don't know how to install SDK, just google, you will find many forms explaining.
4. I tried to delete the file from "Terminal Emulator", but it did not allow. I guess DDMS has some special permissions.
i think this method is for the samsung galaxy S,because i tried it for my Liquid and there is no folder called wifi in /data, the only folder called wifi i found it in /data/etc/wifi and the folder is empty there is no file on it

Fix for nonworking WiFi on Simunlocked ATT Atrix 4G

Hey, guys after hours of thinkering it seems i devised a fix (at least a temporary, i guess it can be better implemented), but still wifi works with turned on radio.
I will not be doing any scripts or whatever.
DISCLAIMER
THIS IS ALL ON A BASIS OF INFORMING PEOPLE
I AM NOT RESPONSIBLE FOR ANY DAMAGE, LOSS OF DATA, OR BRICKED DEVICES IN CONJUNCTION OF TRYING OUT THESE STEPS
DO IT ON YOUR OWN RISK.
K now the requirements:
1. nonworking sim card (or att sim card)
2. RSD lite 5.0
3. stock 4.1.2.6 SBF flash file
4. Installed drivers on the computer for rsd
5. GladRoot http://forum.xda-developers.com/showthread.php?t=1016060 than you very much Ririal
6. OTA update
7. Working adb shell (there are other ways too but i prefer this one so ill write how i did it)
8. SQL editor, i used SQLite database browser (get it online its freeware)
9. titanium backup (if you wish to backup things, YOU MUST NOT RESTORE the [SETTINGS/BLUETOOTH] Settings Storage 2.2.1 however.
10. turned debug mode on when using adb
The process:
1. backup your data
2. Flash the stock image with RSD lite as its written here http://forum.xda-developers.com/showthread.php?t=991072 thank you kennethpen
3. put in the nonworking/att sim turn on the phone use wifi to configure motoblur
4. do not download the update yet
5. obtain root as described here, use the 1.5.7 method tho since we will be updating the ota http://forum.xda-developers.com/showthread.php?t=1016060
thanks again ririal
6. download and install ota update
7. do the afterupdate with the GladRoot
8. still on wifi, set up google account, update market gmail etc.
9. use adb/root explorer to copy the /data/data/com.android.providers.settings/databases/settings.db file to your sdcard into a directory you made before (name doesnt matter) example:
Code:
adb shell
su
cp /data/data/com.android.providers.settings/databases/settings.db /sdcard-ext/test
10. put phone into airplane mode, turn off phone
11. put in your sim card, turn on
12. let it boot and wait a min or two
13. before sliding press and hold the off button and choose airplane mode (it is IMPERATIVE that airplane mode is turned on)
14. sign into motoblur again (wifi should still work - turn it on tho since your in airplane mode)
15. repeat step 9 but copy to a second directory (lets say test1)
16. turn airplane mode off - you will loose wifi and sign into motoblur again
17. repeat step 9/15 but copy to a third directory (lets say test2)
18. copy the files from test2 and test1 to your computer - obviously to two different folders (use mass storage setting or adb pull)
19. open up the settings.db with sqlite from the not working config (in our case the one in test2) go to browse data and table secure
20. find the entry wifi_country_code and the value will be the one of your country (at least so it was with me), change that value by double clicking on it to US
21. Save the file
22. copy to your sdcard via usb to a directory lets name it "works"
23.turn off your phone, and put in the nonworking/att sim card, power it up
24. register motoblur again blah blah (ye its annoying there are ways around but that comes later and we needed it for the ota update)
25. turn the airplane mode off (its imperative to do so)
26. now we use adb again:
Code:
adb shell
su
cd /data/data/com.android.providers.settings/databases
rm settings.db
cp /sdcard-ext/works/settings.db .
chown system settings.db
chgrp settings.db
chmod 440 settings.db
cd ..
chmod 555 databases
exit adb shell with ctrl+d (in linux dont know about windows)
27. turn off phone, put in your sim card, turn on phone, register motoblur
28. most probably wifi will work for a moment than it will stop working and youll get a notifiaction lost data connection and something on (at least so it was for me)
29. use the wifi toggle on/of button to turn off and on the wifi a few times, than at the third or fourth time turn it off than on than immediately go into the browser and click on refresh as soon as you see the wifi icon in the notification tab. WiFi should work now, you can even turn it off and on with the wifi toggle button and it still works.
30. ANOTHER WARNING THO, THERE ARE QUITE SOME DRAWBACKS TO THIS METHOD (WHICH I HAVENT DISCOVERED ALL YET, TO BE HONEST BUT IM SURE THERE ARE QUITE SOME - SINCE WE DO NOT ALLOW THE SYSTEM TO EDIT THE SETTINGS.DB ANYMORE - BY CHMODDING THE PERMISSIONS), AN ISSUE I SAW IS THAT YOU CANNOT GO INTO AIRPLANE MODE ANYMORE - that is because the airplane mode state is saved in the same settings.db as the setting that blocks wifi, and if you just change that one and dont write protect the file and the databases folder the system just overwrites it again, so for now this is it.
AGAIN this is all on your own RISK, i cannot bi liable for anything out of the ordinary that happens, damages or whatsoever your phone or even you.
So now im awaiting responses if it works for you guys.
Oh and a few of the steps are just for backup purposes
Many thanks goes to Azuzu aswell, he was of great help all the time.
What about for the Canadian Bell Atrix can you please help us.
When I insert non working sim card into the phone, wi-fi working only once, after booting. Then when phone is going to lock, wi-fi is sleep and never work again. Is it instruction help to work with wi-fi during the day without rebooting? Thanks for instruction!
---
All is fine with Wi-Fi when it in Motoblur...
What about GPS?
May be needed to add GPS ON in this instruction?
Thanks guys. Its work for me. But too much DRAWBACKS. GPS does not work, settings are not saved
my friends you figured it all out like i did after a day of testing.
As i already said before there are some rather big probles that arise with this method, however for now this is the only way i found to having a working sim +wifi working.
Basically all the issues arise from the settings menu, since the settings from there are stored in the setting.db file that we disallow changing, due to this fact, i have devised a rather simpler way to do all the above + apply your specific settings - however you still wont be able to change them once you change the permissions.
1. gps state cant be changed as reported
2. ringtone/notification tone cant be changed
3. USB mode is stuck in NONE mode or the one you changed it to before doing read only
4. Possibly you cant pair new BT devices (havent tried that but i assume it might happen)
5. cant change lockscreen type (so if you pick fingerprint afterwards it wont change the lockscreen)
6. more possible problems, still if you want wifi you will endure some of those, they are however rather easy to fix, for people who dont change things all the time.
7. i found out that you have to turn off and on wifi (with the widget or in the networks menu) 2 times to make it work and it stops working if your phone changes the network from 3g to 3g or vice versa, however you just turn wifi off and on again and its fine (eventually you can just set your phone to 2g only or 3g only - either the dialer method or edit a config file - ill post that another time)
8. airplane mode not changing as stated above
So i did it like this this time:
lets assume you already have the phone 1.5.7 rooted (you can even have 1.2.6 rooted but the ota update brings nice features like longer battery, better fingerprint reader etc) and activated. NOW THIS SHORTENS THE PROCESS BY FAR and improves on the things that werent working before, it might lower battery life minorly but, well mine is still at 70% after ~16 hours so )
YOU WILL HAVE TO DO THIS ONLY ONCE (well at least until you want to change your ringtone hahaha )
1. Put in your working sim (just into the rooted atrix and the databases dir has to be read write like before, if you followed my guide above you have to go with adb shell to /data/data/com.android.providers.settings and write chmod 755 databases)
2. turn on phone in normal mode
3. set all your settings as you like and i really mean all - ringtones notifications - everything you can think of
4. turn all the networks on - wireless (it wont work but the state has to be on), bluetooth, gps - the thing is you can always turn them off, but if you write protect the file with them off you cant turn them on properly
5. pair your bluetooth devices (all of them) - havent tried yet if necessary but i think it is
6. reboot phone into normal mode, assure yourself that all the things are as you like
7. connect phone in debug mode, and set usb to none (it will stay in the none state, but you can always copy stuff with adb over, to your sdcard/internal phone mem as opposed to choosing mass storage mode where you have no adb access to them, but that is your choice ( you can manually change the state in the settings.db before making it read only, but i wont go into those details now)
Code:
adb shell
su
cd /sdcard-ext/test
cp /data/data/com.android.providers.settings/databases/settings.db .
ctrl+c/d to exit shell
8. connect phone in mass storage mode, open the settings.db file in the /sdcard-ext/test with the sqlite editor go to the brose tab, and secure, change the wifi_country_code value to ALL (last time i wrote US but ALL works fine so its more relaxed), save it
9. change the usb connection mode back to none
10. failure to chown and chgrp the settings.db to system and chmod it correctly can results in a soft brick
Code:
adb shell
su
cd /data/data/com.android.providers.settings/databases
rm settings.db
cp /sdcard-ext/test/settings.db .
chown system settings.db
chgrp system settings.db
chmod 440 settings.db
cd..
chmod 555 databases
reboot
11. the phone shoudl reboot now with all the networks turned on, you can use the widgets (or int he wireless menu) to turn off wifi and bluetooth (tested it myself and it works), havent tested gps turning off yet, but its no problem since gps turns on itself only when apps use it (maps etc, weatherbug can use it aswell, so might check into it if its permanently turned on than)
12. turn wifi off and on 2-3 times, than turn it on, it should be working now
Thanks for testing this out to confirm that it works at least
Anyhow if someone might get a clue what issues the command to change the wifi_country_code hes encouraged to share, so we can only fix that problem and there wont be these side effects than
you can however change all the settings by just editing the settings.db with the sqlite editor manually, youd have to figure out all the parameters and values yourself (some are fairly easy - for instance for usb mode, some can be rather hard - for instance ringtones, cuz you must have the path and everything)
EDIT, YOU CAN LEAVE OUT THE PAIRING BLUETOOTH DEVICES STEP, pairing works, i just tried it with an apple bluetooth kb, and its fine.
RacecarBMW i cannot say anything with certainty, since i dont have one to test it on, but probably the same method would work for the bell atrix (use the method in the post above, with the ALL value for wifi_country_code), however you have no sbf to flash and its way more dangerous that you will create a softbrick, so please be very careful and its all YOUR RESPONSIBILITY. I AM AND WILL NOT BE LIABLE FOR ANY ADVERSE EFFECTS.
We need to lock only some rows in db file or creating daemon which would keep these lines in memory. Is it posible with SQLite?
crnkoj Please change on step 10 in listing:
cd /data/data/android.providers.settings/databases
to
cd /data/data/com.android.providers.settings/databases
I do all steps and my GPS works fine... Thanks
how can i undo this:
chown system settings.db
chgrp system settings.db
chmod 440 settings.db
chmod 555 databases
what's default settings?
loggin111 said:
how can i undo this:
chown system settings.db
chgrp system settings.db
chmod 440 settings.db
chmod 555 databases
what's default settings?
Click to expand...
Click to collapse
you can just enter to another folder to /data/data/ directory with cd and run ls -l to view directory permissions.
chmod 755 databases
and something like 755 for settings.db
thank you Jartyn, replaced that in step 10. And yes Jartyn exactly as you say we jsut have to keep this line permanent and everything else changeable (maybe there is an option in sqlite to block only 1 line? - i dont know so much).
I do however know now, which process is changing this:
it is the WifiStateTracker ( http://www.androidjavadoc.com/1.1_r1_src/android/net/wifi/WifiStateTracker.html ) from android.net.wifi , i however dont know where to find this on the phone.... we would most probably only have to change one line in the WifiStateTracker and it would work fine (however this still wouldnt be fixing the source, we would just fix the change in country code, yet the reference to which its compared is still unknown to me, but i think it would suffice for us) the funny thing here is the WifiStateTracker is not in the official android tutorial tho:
http://developer.android.com/reference/android/net/wifi/package-summary.html
so if anyone knows where to find this we could fix it easyly
1.5.2
crnkoj said:
thank you Jartyn, replaced that in step 10. And yes Jartyn exactly as you say we jsut have to keep this line permanent and everything else changeable (maybe there is an option in sqlite to block only 1 line? - i dont know so much).
I do however know now, which process is changing this:
it is the WifiStateTracker ( http://www.androidjavadoc.com/1.1_r1_src/android/net/wifi/WifiStateTracker.html ) from android.net.wifi , i however dont know where to find this on the phone.... we would most probably only have to change one line in the WifiStateTracker and it would work fine (however this still wouldnt be fixing the source, we would just fix the change in country code, yet the reference to which its compared is still unknown to me, but i think it would suffice for us) the funny thing here is the WifiStateTracker is not in the official android tutorial tho:
http://developer.android.com/reference/android/net/wifi/package-summary.html
so if anyone knows where to find this we could fix it easyly
Click to expand...
Click to collapse
hi
does it work with 1.5.2 rooted?
i flashed sbf back from unroot 1.5.7 to 1.2.6 , i didn't gladroot because i had not wifi for update & after update.bat
so i stopped @ 1.5.2 & i cannot update anymore, please help me to activate my wifi.....
zeidof you can do it on the 1.2.6 rooted aswell, use the same steps as described above, it should work fine.
hey guys what wifi issues? i have a ATT on vodafone UK and i dont seem to see any issues.
crnkoj said:
zeidof you can do it on the 1.2.6 rooted aswell, use the same steps as described above, it should work fine.
Click to expand...
Click to collapse
Hi can this fix be on a custom rom? i mean it will be included on a custom rom..
ronaldo, use search ... http://forum.xda-developers.com/showthread.php?t=1010942&page=3 lucky you arent one of us who have this issue.
emorej, if you read my first post, it says i wont be doing any scripts/cwm flashable updates/custom roms. If anyone wants to implement this in his rom hes free to do so, he has to be careful tho, since basiically the script that updates it, has to change only the wifi_country_code ALL and than make the databases folder read only, it must not copy over a generic settings.db since there are user specific things in it.
Jartyn and i are trying to figure a more source problem related fix for the issue, but that will take quite some time i fear.
Here is an even better solution from akizakian
http://forum.xda-developers.com/showthread.php?t=1058260
Simplest Solution
I had this same issue and the simplest solution is here:
1. Extract the attached zip file and you will get two files.
2. Turn off Wi-Fi, replace the two files in
/system/etc/firmware/wifi
This can be done using adb or Root Explorer.
turn Wi-Fi back on, and that's it!
Mate you are mistaken, its two totally different issues you and i are talking about, yours is that 5ghz isnt working, mine is that wifi isnt working in certain countries at all. by copying the files you supplied my wifi again stops working, because there is a country lock within the moto atrix wifi drivers (the version doesnt matter, may it be 1.2.6, 1.5.2, 1.5.7 or 1.8.3, the issue you fixed with your method is only the nonworking 5ghz on the 1.5.2. leaked sbf)
ceo.mtcl said:
I had this same issue and the simplest solution is here:
1. Extract the attached zip file and you will get two files.
2. Turn off Wi-Fi, replace the two files in
/system/etc/firmware/wifi
This can be done using adb or Root Explorer.
turn Wi-Fi back on, and that's it!
Click to expand...
Click to collapse
The LG Optimus wifi drivers fixed my simunlocked wifi problem in qatar.
The other solutions that were being thrown around did not.
seems moto is gonna fix it with an update:
https://supportforums.motorola.com/thread/50598?start=15&tstart=0

Howto: Enable Haptic Feedback on the G9 80 and 101

I 'discovered' this as a total accident but it could be useful to anyone who feels its a big deal that the haptic feedback that Archos turned off in the few most recent firmware updates was later announced to be never enabled again. I think that Archos disabled it because some of the SKUs or possibly all of the models apart from the first few batches wont have the vibrator included any more.
This procedure uses the standard Paul's root access method described here and only take advantage of the fact that one can edit the local.prop file. I tried it after I upgraded to firmware 3.2.79. It should work in all previous versions and possibly in the future versions as well granted that your unit contains the vibrator.
When you go through Paul's procedure, you end up with root access to the G9 over ADB.
I found the following two switches for local.prop that do something:
Code:
ro.board.has_vibrator=yes [enables vibrator in the OS]
ro.audio.no_adjust=yes [increases audio volume]
For noobs, to enable the vibrator do the following:
Complete Paul's root process, you will notice that in most cases, it disables your sound and sometimes causes problems with waking up the device from standby but the following few steps will just use it to enable haptic feedback and return your device to an un-rooted state where everything works fine.
Issue command over adb "adb-windows pull /data/local.prop local.prop" which takes the local.prop file from your tablet and saves it into the ADB folder on your computer
Open local.prop in a text editor, you will notice it contains "ro.kernel.qemu=1" which allows root access to your device over ADB. If your only goal is to enable haptic feedback, replace this string with "ro.board.has_vibrator=yes" and save the file.
Issue command over adb "adb-windows push local.prop /data/" which sends the modified local.prop file back to the device.
Either reboot your device manually or issue another command over ADB "adb-windows shell reboot" which will reboot it
When your device reboots, notice that you no longer have root access over ADB, that your sound works again and that in the sound settings, you have the haptic feedback available
This procedure is a neat way to enable features and still end up without a rooted device should there be some more undocumented switches. If there are some more switches for local.prop, lets post them in this threat.

[TOOL] Image Extractor and/or Backup to PC Alpha v1.1

This is my first tool for contribution to this community. PLEASE HIT MY THANKS BUTTON.
I do not take any responsibility if you break your phone with this tool.
You will also VOID your warranty by following this guide.
This is not for beginners.
This is version 1.1 of this tool. Please feel free to update it, just post the changes here so that I can add them to the tool so that everyone can benefit from them.
CURRENTLY, THIS TOOL ONLY WORKS WITH WINDOWS. Version 2.0 might support linux, if I get around to it.
The purpose of this tool is for power users that want to back up their current rom directly to their computer OR for existing devs OR newer developers to try and cook their own roms or work directly with the images of their phone. This will pull the rom images from your current phone and put them to your desktop. Currently, it will not pull data, I have disabled it, until I can work out a bug.
Are there apps that do this? Maybe… but this is free.
I have include a restore option after you run the tool, but that is still in “alpha” status and may not work correctly.
Hook up the phone to your computer with the USB cable.
1. You must have a rooted phone. If your phone is not rooted, follow this guide. http://forum.xda-developers.com/showthread.php?t=1993331&highlight=recovery You must also have the windows drivers installed from that guide. When finished with that guide, go to step 2.
2. Enable android debugging. Go to settings, then about phone, then keep pressing the “build number” until a little message appears saying that you are in developer mode.
3. Go into settings again, this time you will have a developer menu. Go to the developer menu, and check the “Android Debugging Box” or "USB Debugging".
4. You need to have the actual super user app installed on your phone. http://download.clockworkmod.com/superuser/superuser.zip
Open super user app on your phone, go to settings and make sure “superuser access” is set to “Apps and ADB”. Also make sure that automatic response is set to “prompt”. You can change that to “allow” if you want to make this process easier for yourself, just remember to change it back when you are done.
5. Download the tool below, and unzip it to your desktop or somewhere you can easily find it.
http://www.mediafire.com/file/2z0y6sdbwe6bwuz/Tool_v1.1.zip
6. Double click the file named “TOOL”. Watch your phone, you may or may not get a pop up asking to allow a computer or device to connect. Click ok or allow, that is just your computer trying to talk to the phone. It’s ok.
7. Close the black command line screen that just popped up on your computer. - You may not need to do this. IF you keep getting permission denied, you have to go into your superuser app, and keep enabling and disabling "Apps and Adb" under superuser access. For some reason, it's glitchy. Then reboot the phone with them both enabled.
8. Double click the “TOOL” file again. (Due to the new security in android, is why we have to do this again to make sure everything was allowed security clearance).
9. Sit back and relax. This will pull the system, recovery, kernel and modem, and put them into a folder on your desktop.
THIS WILL TAKE AWHILE. COULD TAKE UP TO 1hr, but usually around 10-20mins depending on how big your current rom is.
10. Now, you can use the images as a PC backup. OR you can go straight to the android kitchen and start hacking those images apart and make your own android rom. http://forum.xda-developers.com/showthread.php?t=1272270
11. RESTORE IS IN ALPHA and may not work for you. It has a possibility to erase all your data and may not restore your back up, use caution and test it first. To restore your backup OR after you are finished messing with them (make sure you know what you are doing if you take them apart) open the backup folder on your desktop.
12. Make sure your phone is on, then click the restore file.
If you have completely screwed up your phone, follow this thread to restore the phone to full stock. http://forum.xda-developers.com/showthread.php?t=2010312 You will lose all your data.
Download v1.1 : http://www.mediafire.com/file/2z0y6sdbwe6bwuz/Tool_v1.1.zip
File size: 1135742 bytes
Filetype: Zip archive
MD5: a818a6e985d77403303e2324832e565c
SHA1: 5dfe9d3daa87074b0d3fcb4b46690d861e66d9e0
Reserved 4 me
Change Log
1.1 - Clean up code
- Enable Restore
- Enable adb shell
1.0 Initial tool

[SOLVED] problem WiFi hotspot

Finally found the solution with my z3c. Problem started with Lollipop. When I was using my phone as portable AP there was no Internet access on any device connected. There were many descriptions of solutions (manual settings, soft reset, deleting all APNs) but none of them worked for me.
My service provider suggested changing APN settings:
Use whatever APN you find working for you, and change "APN type" field from "default,supl" to "default,dun".
Now everything works just like it's supposed to.
Sorry if someone posted this already or if it's under wrong subject. This is my first thread. Thanks.
I use this solution and it works for me:
http://forum.xda-developers.com/z3/general/lollipop-tethering-t3058923
------------------------------------------------------------
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 (any modern adb.exe works, the one included with FlashTool, for example)
Start an adb shell: adb shell
In the adb shell, run this command: settings put global tether_dun_required 0
------------------------------------------------------------
BarajaVLC said:
I use this solution and it works for me:
http://forum.xda-developers.com/z3/general/lollipop-tethering-t3058923
------------------------------------------------------------
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 (any modern adb.exe works, the one included with FlashTool, for example)
Start an adb shell: adb shell
In the adb shell, run this command: settings put global tether_dun_required 0
------------------------------------------------------------
Click to expand...
Click to collapse
My post is about portable hot spot, not USB tethering. I'm not sure if your post is about the same thing
If yes, then I'm very glad that we have multiple solutions for the same problem
Whoa! My girlfriend had this same problem on a moto g 2014 she bought a year ago, so yesterday I changed her APN type as you said and now everything's working. Thanks a lot.
Sent from my D5833 using Tapatalk
dgaspa75 said:
My post is about portable hot spot, not USB tethering. I'm not sure if your post is about the same thing
If yes, then I'm very glad that we have multiple solutions for the same problem
Click to expand...
Click to collapse
Yes, the solution I provided makes portable WiFi hotspot work
APN Type change to "default,dun" worked like a charm for me.
'settings' is not recognized
i have same problem hotspot is not working i installed android studio 3.0.1 and ran command
settings put global tether_dun_required 0
i get error
C:\Users\log\AndroidStudioProjects\MyApplication>settings put global tether_dun_required 0
'settings' is not recognized as an internal or external command,
operable program or batch file.
any help please
APN Type change to "default,dun" worked like a charm for me...thanks brother
Thanks so much for this! Genius!!

Categories

Resources