Hey everybody
I have a question and i tried searching but did not find the info i need.
Is there any way to push APN setting to android phones with adb?
Why do I need this? Well, we prepare cellphones for our clients and install the applications they need with adb and now i have to manually set the APN setting on the phones, would be nice to be able to push them in with adb.
Samsung Mesmerize Cdma How to's
download your drivers for the mesmerize found on samsungs website
download a cdma flashing software like cdma ws or dfs.
download the prl of your choice carrier or who you would like to roam off of(read and know roaming limits of your carrier before writing to phone which can result in termination of your service)
Getting your spc code and loading a prl.
1.connect phone to computer in diag mode do this by dialing ##8778# on the phone change them both to usb if not there already.
2. open the flashing software of choice for this guide I will use dfs.
3. click ports at the upper right of the main interface of dfs and double click the port with diagnostic in it and exit the add port tab.
4. you should see yellow on the screen on the equipment tab
5.in the box with all those f's delete them and put this 2010031619780721 in that box and click pwd and it should say device unlocked in blue.
6.next go to the programming tab sub-tab general and press read next to spc under unlock you now have your spc copy that to the box with all 0's next to the pwd where the f's was then press spc to the left of your pasted spc.
7.go to nam tab to the left you will see prl click load choose the prl file you downloaded then press write.
8. reboot your phone and your prl has been changed be sure to make a backup of your original prl just in case you need it.
While i was trying Nebulosity ROM (Samsung Galaxy Ace S5830) , in mobile network and APN configuration i couldn't configure Internet APN (For mobile data-internet) .
I saved the APN correctly with correct information and when i try to "click" it in order to use that APN, it switchs me to other APN Automatically. Maybe ROM error? Cyanogenmod error? All answers are appropiate !:crying::crying:
Before I updated to 5.0 I used WiFi Tether Router and that allowed me to tether with my unlimited data and it would be reported as phone data instead of tether data.
Unfortunately ... Unless I just failed at rooting somehow?... My other root apps work fine so I doubt it is that...
I have emailed the dev and he is working on it (but it is a holiday so it most likely won't be fixed until next week and I need tethering when I am at my dorms because my internet is really really slow at my dorms)
Does this app still work for you guys.. or have another one that would work for this?
Randomacts said:
Before I updated to 5.0 I used WiFi Tether Router and that allowed me to tether with my unlimited data and it would be reported as phone data instead of tether data.
Unfortunately ... Unless I just failed at rooting somehow?... My other root apps work fine so I doubt it is that...
I have emailed the dev and he is working on it (but it is a holiday so it most likely won't be fixed until next week and I need tethering when I am at my dorms because my internet is really really slow at my dorms)
Does this app still work for you guys.. or have another one that would work for this?
Click to expand...
Click to collapse
There's a workaround I use that doesn't require an app. Well, it only requires one at first.
Download SQLite Editor from the Play Store, and navigate here:
/data/data/com.android.providers.settings/databases/settings.db
Select "global" and add a new entry to this called: "tether_dun_required" with a value of 0. Then go to your APN settings and change the APN type to either IPv4 or IPv4/IPv6. Reboot.
i use pda net
usb tether
hides data well
Brushstroke said:
There's a workaround I use that doesn't require an app. Well, it only requires one at first.
Download SQLite Editor from the Play Store, and navigate here:
/data/data/com.android.providers.settings/databases/settings.db
Select "global" and add a new entry to this called: "tether_dun_required" with a value of 0. Then go to your APN settings and change the APN type to either IPv4 or IPv4/IPv6. Reboot.
Click to expand...
Click to collapse
That seems like it will be a good solution. I'll check it out later thanks.
Brushstroke said:
There's a workaround I use that doesn't require an app. Well, it only requires one at first.
Download SQLite Editor from the Play Store, and navigate here:
/data/data/com.android.providers.settings/databases/settings.db
Select "global" and add a new entry to this called: "tether_dun_required" with a value of 0. Then go to your APN settings and change the APN type to either IPv4 or IPv4/IPv6. Reboot.
Click to expand...
Click to collapse
Yes this does work. I've done this for over a year on many devices
I copied this from another post on this site (sorry I can't give credit now b/c I didn't copy the actual link), but here are the non-root option where you can adb a command to enable tethering on t-mo.
Option 2 (no root required)
An alternative that does not require root or the SQLite Editor app is to connect your phone via USB to your computer and execute ADB shell commands. To use ADB shell:
1. To unlock developer options on your phone, go to Settings > About Phone and tap "Build number" seven times.
2. To enable USB debugging on your phone, go to Settings > Developer options and check “USB debugging”.
3. Download and install the Android SDK from http://developer.android.com/sdk/index.html.
4. Download and install the Nexus 5 USB driver from http://developer.android.com/sdk/win-usb.html.
5. Modify the provider settings for T-Mobile.
a. Open a DOS prompt and navigate to the “platform-tools” directory in your Android SDK installation (e.g. “C:\Development\adt-bundle-windows-x86_64-20131030\sdk\platform-tools”).
b. Execute adb shell content insert --uri content://settings/global --bind name:s:tether_dun_required --bind value:i:0.
c. To verify the entry was successfully added, execute adb shell content query --uri content://settings/global --where "name='tether_dun_required' AND value=0".
6. Change the APN settings to use IPv4.
a. Go to your Android’s main Settings.
b. Under Wireless & Networks, go to “Mobile Networks.” You many need to hit “more settings” to get to this option.
c. Tap on Access Point Names.
d. Tap the selected APN.
e. Scroll down and tap APN protocol.
f. Tap to select “IPv4” or “IPv4/IPv6” for the protocol and save the settings.
Click to expand...
Click to collapse
Brushstroke said:
There's a workaround I use that doesn't require an app. Well, it only requires one at first.
Download SQLite Editor from the Play Store, and navigate here:
/data/data/com.android.providers.settings/databases/settings.db
Select "global" and add a new entry to this called: "tether_dun_required" with a value of 0. Then go to your APN settings and change the APN type to either IPv4 or IPv4/IPv6. Reboot.
Click to expand...
Click to collapse
I can also confirm that this does work. I use it for my home Internet connection all the time.
CoronaDelux said:
I copied this from another post on this site (sorry I can't give credit now b/c I didn't copy the actual link), but here are the non-root option where you can adb a command to enable tethering on t-mo.
Click to expand...
Click to collapse
Thank you so much, I tried this and it worked like a charm
Sent from my Nexus 5 using XDA Free mobile app
I installed stock indonesian rom on global redmi note 11 pro (MIUI 13 on Android 12). I enabled both VoWIFI and VoLTE switches. They are shown in sim tab and they are both active. But if I call *#*#4636#*#* I read IMS not registerd and call with LTE not available.
Then I tried *#*#663368378#*#* to access Modem test tools but I can't access. I installed also MIUI Hidden Settings but it say Modem test tools is not available. I need to access to MBN Check to modify SW MBN and switch to mbn_eea (I live in Italy) but I can't without Modem test tools.
Any help?