Wifi Fix for unsupported counties for ICS JB - Nexus One General

No wifi networks in some countries due to wifi_country_code
A permanent fix to this problem is to fake the provider mcc, to do so,
1. your phone has to be rooted
2. install SQLite Editor from aptoide
3. open SQLite Editor
4. goto /data/data/com.android.providors.telephony/databases
5. select carriers
6. find your gsm providor
7. change the mcc value of your provider to 310 which is US
8. close, and check if it works
whenever the phone get the mcc (after reboot, airplane mode, network disconnect) the value of mcc=310 and the wifi_country_code = us
Hope it works for everybody
Regards,
Ali

nightcap79 said:
No wifi networks in some countries due to wifi_country_code
A permanent fix to this problem is to fake the provider mcc, to do so,
1. your phone has to be rooted
2. install SQLite Editor from aptoide
3. open SQLite Editor
4. goto /data/data/com.android.providors.telephony/databases
5. select carriers
6. find your gsm providor
7. change the mcc value of your provider to 310 which is US
8. close, and check if it works
whenever the phone get the mcc (after reboot, airplane mode, network disconnect) the value of mcc=310 and the wifi_country_code = us
Hope it works for everybody
Regards,
Ali
Click to expand...
Click to collapse
Is there any way to do this from PC?

tomatoes20xx said:
Is there any way to do this from PC?
Click to expand...
Click to collapse
you mean you are not able to connect to wifi on your computer?

Related

help setting data usage on AT&T

I have set de apn but still I have no data conection phone is only on E all the time
Edit I now have data by doing this but still onf Edge no 3g
Hi,
The above method stated by the original poster did not work for me but the following method did:
( I have my sim card in for this)
1) enter the MFG app (dial ##634#)
2) Input the password 277634#*# and press enter
3) Choose No. 7 engineer menu
4) in the engineer sub-menu choose other setting.
5) Choose Set Network Profiles
Let the list populate
6) Scroll down the list and find your appropriate carrier and select the appropriate xml, so for me in the
7) Exit the mfg app, restart phone
8) confirm that data connection is active in settings>mobile network
Check the third post here:
http://forum.xda-developers.com/showthread.php?t=1333150
For some reason mine keeps going back to 2G, but a few numbers and back to 3g only.

Bypass T-Mobile WiFi Tethering Restrictions on Moto X 4.4.2 Root Req

Source for "Easy Method"
Tool Suggested: SQLite Editor by Speedsoftware.
If tethering is still working for you then you don't have to perform these steps.
I am not reponsible for any damages to your phone if you perform these steps, it's your choice, backup first.
Click to expand...
Click to collapse
​
You must be rooted and on Android 4.4.2 with T-Mobile for this to apply for you. This method worked on my Moto X, but may not work on other devices and software versions.
An explanation of how this works and why it's needed:
T-Mobile has had a second APN (Access Point Name) built into Android 4.4.2 called "DUN" and it is meant to be used only when tethering. It's a way for T-Mobile to check and see if you are using your phone, or if another device is using your connection. If it detects another device, it will only load up a webpage on that device that asks you to buy a Tethering option or switch to a Simple Choice plan that includes tethering. What we will be doing is removing the need for built in Wifi tethering to use or create a DUN APN, and then removing the DUN apn for T-Mobile.
Let's begin.
1. Be rooted. If you have an unlocked bootloader, install CWM or TWRP and then flash Superuser.zip or SuperSU.zip in your recovery of choice. If you have a locked bootloader and you're on 4.4.2, you're currently out of luck. You have to unlock.
2. Open SQLite Editor, grant root for it, then under the APPS list, scroll down and tap on "Settings Storage".
3. It will search for databases and find "settings.db", tap on it.
4. While in "settings.db", select "global" from the list.
5. You will see a table with "id, name and value" columns. Tap on the + sign on the top right to add a new entry.
In the name field, name it: tether_dun_required
In the value field, write the number zero: 0
Tap on Save to save the entry, then exit the app.
6. Go to your APN settings (Settings, More > Mobile Networks > Access Point Names) and you'll notice two APN's there. One labeled "DUN" and one labeled "fast.t-mobile.com." Click on the name of "DUN" and you'll see all of its settings. Hit the menu key in the top right, and choose Delete APN.
7. The "fast.t-mobile.com" APN should be set to IPv4 by default on the Moto X, but on other devices it may be set to IPv6. You need to change this to make tethering work if it is IPv6.
8. Reboot and enjoy!
Your traffic will still be monitored for tethering! You should be using a VPN, proxy, User Agent Switcher, etc. to hide your tethering more effectively.

Xiaomi Mi Bunny Watch Q internationalization

Please somebody help to modify firmware to enable international GPRS connections
What we currently have:
1. Mi Bunny Watch Q is Working on MT6261 SOC
2. Operating system is modified 2011 year Nucleos RTOS, which was widely used in older featurephones
3. Firmware is not available for separate downloading. Watch updating is OverTheAir (via Bluetooth connection from your smartphone with original APP, and, PROBABLY via GPRS connection) firmware files are called
SH08_PCB01_gprs_MT6260_S00.MAUI_11B_W13_08_MP_V15.bin
My current firmware version is MAUI.11B.W13.08.MP.V15
updates are downloaded from http://upgrade.imibaby.net/upgradeWatch
also you can find http://sw105-online.imibaby.net/ link in firmware - probably for watch activation
All we have now - full ROMdump of my watch divided to parts with Readback Extractor mtk
Also we can get acess to NVRAM and FAT partition with MauiMETA_v9.1635.23 tool (you need NVRAM database file for MT6261 chip - i've gt one from Keneksi X8 firmware kit ( or from official site ) also i have used scatter file from Keneksi to download ramdump with SP Flash Tool
Also there is good tool Binwalk which i don't know how to use well
4. Watch activation procedure looks like: ( english user manual for similar product )
-turn on the watch (lights on and sound prompt)
-insert SIMcard (sound prompt)
-----------we are currently here------------------
-GPRS connection is automatically established
-and watches time should set up the time (you get a sound prompt) /what notifies server of pairing ready status/ - this should be a sign and confirmation of successful internet connection
-you scan QR code in your user-manual (smartphone receives pairing settings from server) and establish connection between smartphone and WATCH
...
5. Watch officially supports only Chinese SIM cards. Confirmed by manufacturer. Chinese cellular operators settings are preinstalled. MNC MCC and APN can be found in firmware like 460 46000 46002 46007 etc
i have tryed to change MCC and MNC to my operators (25501) (my operator supports any APN so i got luck here)
and have got a breakthrough here - watch began to establish GPRS connections via "internet" APN
but no luck - time is not set up, i've got no "successful connection" sound prompt, and it is still impossible to activate it.
I have contacted manufacturer via Weibo and WeChat.
Everywhere i got refused with corporate security reasons, BUT at the very beginning i think some very helpful manager answered and tryed to give help (later he disappeared)
He requested from me to fill up XML form with my cellular operator's settings and sent image explaination
Hello,Mr Pumpkin
There is some instructions you can follow.
First,please make sure the sim card support calling in or calling out.
Secondly,be sure the sim card supports 2G GPRS connection.
You can consult the local operators about specific parameters.
The "code" parameter and "apn" parameter in the following table must be filled in correctly.
The other parameters are alternative.
Code:
<?xml version="1.0" encoding="UTF-8" ?>
- <Account>
- <AcntHdr>
<AcntVer>1.0</AcntVer>
</AcntHdr>
- <AcntBody>
- <SIM Operator="BEELINE" Code="25502">
- <Item Bearer="GPRS">
<AppType>WAP</AppType>
<Title>Beeline WAP GPRS</Title>
<APN>wap.beeline.ua</APN>
<Authentication>NONE</Authentication>
<Homepage>http://wap.beeline.ua</Homepage>
<Proxy Enable="Yes" ProxyAddress="172.29.18.192" ProxyPort="8080" />
<PrimaryDNS>null</PrimaryDNS>
<SecondDNS>null</SecondDNS>
<IPAddress>null</IPAddress>
<Subnet>null</Subnet>
<ConnectionType>HTTP</ConnectionType>
</Item>
Click to expand...
Click to collapse
There is excellent site with lots of information
https://www.dr-lex.be/hardware/china_phone_flashing.html
Also some discussion is going on MIUI forum and russian 4pda forum
International Apn settings
The answer from the Chinese manufacturer is an xml file that we should add to the device ROM. It is not so different to the following thread
https://forum.xda-developers.com/showthread.php?t=2387346
I have my bunny watch 2, that I have paired during a visit to Sz, and will try to add the xml file today. Hopefully we can get a connection.
EASolana said:
The answer from the Chinese manufacturer is an xml file that we should add to the device ROM. It is not so different to the following thread
https://forum.xda-developers.com/showthread.php?t=2387346
I have my bunny watch 2, that I have paired during a visit to Sz, and will try to add the xml file today. Hopefully we can get a connection.
Click to expand...
Click to collapse
Excellent desicion! I will try to do it.
I can assume, that developer didn't offered me this thing because we actually don't have access to ROM. We can get there only with MAUI META tool. Also the watch is not based on Android, so we will have to find correct folder to place the file and guess correct name for it.
Also XML should be specifically formatted, and we have this format from developer.
Easier said than done, but still I got some progress today.
After reviewing the ROM I was able to find several At commands to control the device.
I'm missing the sintaxis on many of them, but I was able to directly perform and receive a call from the Hyper terminal.
I named the xml file default.xml and placed on the root directory and several others but no luck achieving a Apn configuration.
Also I browsed the fat and nvram looking for hints on how the device was configured while using the Chinese card, but no luck there.
If I'm able to find the device configuration At command it should be pretty straightforward.
Just as a note, the App is fully Chinese, no options on the menu are translated.
EASolana said:
Easier said than done, but still I got some progress today. .
Click to expand...
Click to collapse
Some of terminal AT+ commands work excellent (like ATD Most interesting one is AT+DEBUG_ON and AT+DEBUG_OFF it changes usb connection type. ( With debug on you will get 2 usb devices (usb com, and modem)
About app - i have translated it to russian, if it can help )
Connecting outside of china
Well, today I got connection from outside of China.
I played with several of the At commands that were supposed to actually configure the settings, and all seemed to make the terminal hang.
But after rebooting the phone it got a connection. Now it's fully working.
I used the AT+CGDCONT command.
Then I reviewed again the Fat to look for changes and the only file that was modified is store_info. Dat file.
That file was loaded in the same back up you made, with China Mobile settings, and now mine has got the unicom settings.
For the information it contains it looks fairly similar to the format the engineer gave you a solution for.
EASolana said:
Well, today I got connection from outside of China
Click to expand...
Click to collapse
Excellent news. Now i just would like to have some more details, on how i could repeat your success.
AT+CGDCONT is not working for me - no answer from watch to this command.
Can you provide some more info. What MCC and MNC does your cellular operator has? What version of firmware do you use.
Did you actually implemented any changes to your firmware?
Which terminal software do you use? Which COM device you selected? Was DEBUG mode active?
Or what should i do to get my watch connected?
Thank you.
Hello,
EASolana said:
I have my bunny watch 2, that I have paired during a visit to Sz, and will try to add the xml file today. Hopefully we can get a connection.
Click to expand...
Click to collapse
Did you connected with a Chinese Sim card and then changed it to a foreign one?
So I first activated my device in China with a Xiaomi Sim card.
Then traveled back to Hk, and tried with Hk local China unicom, China Mobile and three Sim cards. None worked.
Then I tried the at command for setting up the Apn settings on the device. The commands would not give an OK response, so I do not know exactly which one worked.
Then rebooted the device, and it can connect with Three and China mobile cards. UNICOM still not working.
I saw the change in the file mentioned above. It changed from one operator to the other.
HK is not so far from China, so i think there could be native support for your operators.
Anyway, could you please provide other then China Mobile store_info.dat file from your FAT partition, and a ROMdump to compare. I think you have a more fresh watch firmware. Thank you
Today I'm in China so I will not be able to upload the files to a G drive location, tomorrow I should be able to upload them.
I have bought a new device today (this time the mini GPS, 6261 based) and done a backup before the network registration and after.
I can confirm that all changes are happening to the file named "store_info.dat", and all the new data is matching to the xml format you were given. But written on a low level way inside the .dat file.
The GPRS - APN settings are independent of the GSM settings. So you will need 2G settings for your local operator, be sure you are registered in the network by performing a call to your SIM Card number then modify the store_info file with your specific operator parameters. Be sure to do this on the Hex editor so file length is constant after your perform the modification.
EASolana said:
So you will need 2G settings for your local operator, be sure you are registered in the network by performing a call to your SIM Card number then modify the store_info file with your specific operator parameters. Be sure to do this on the Hex editor so file length is constant after your perform the modification.
Click to expand...
Click to collapse
I am bothered with MCC and MCC settings. All i can see in DAT file is apn for internet wap and mtp, but no readable data about cellular operator
Update: i have sniffed through the firmware again, and i got that China, Hong-Kong and Taiwan are natively supported by the watch... Probably you will get some problems with diferrent cellular operators, but all 3 MCC codes 460 466 and 454 are in firmware
If you keep looking in the firmware, just bellow the MCC codes you will actually find the APN settings. Keep searching to the bottom of the file and you will find the W. A. P... U. N.I.C.O.M... C.H.I.N.A...M.O.B.I.L.E part of the string, that means that beside replacing your MMC on the top of the file above by replacing the 460, 466, 454 codes, you also have to look toward the end of the file and replace the 460000, 454000, 46600 codes with your combination of MCC and MN settings.
Since you cannot add length to the file, remember to find an operator WAP setting that will fit in the current.
EASolana said:
460000, 454000, 46600 .
Click to expand...
Click to collapse
all of them? - i was trying all of this, except editing DAT file
Please, share your DAT file
Also please, tell me MCC and MNC of your HK cellular network, on which you have managed to make everything work (perferably for the first time with your watch)
By the way, sniffing around MTK6261 source code led me to interesting things
setting are really preinstalled
custom_config_account.c file from "Source_code_of_6261\code_6261A_L1\custom\common" gives a clue.
I think for now - i have to chose one cellular operator, and fix all it's settings to fit my needs
Yes! I did it!!!!!! Woohoo!!!!
FlamingPumpkin said:
all of them? - i was trying all of this, except editing DAT file
Please, share your DAT file
Also please, tell me MCC and MNC of your HK cellular network, on which you have managed to make everything work (perferably for the first time with your watch)
Click to expand...
Click to collapse
These are the operators that i have tried in HK.
China Mobile
Name: CMHK
APN: cmhk
MCC = 454
MNC = 12
MMSC = http://mms.hk.chinamobile.com/mms
454 07 Unicom
454 11 Hongkong Telecom
454 00 CSL
454 16 PCCW
454 06 Smartone-Vodafone
Attached is the DAT file.
Where you got the source code from?
Source_code_of_6261\code_6261A_L1\custom\comm on
EASolana said:
Where you got the source code from?
Source_code_of_6261\code_6261A_L1\custom\comm on
Click to expand...
Click to collapse
https://mega.nz/#F!JMsgDCYR!qn39qDJ5LzOz1TkUbdqvtQ
Time to sum up progress.
Activation option #1
Have your Chinese Seller activate the device using a Chinese Sim card before shipping, and this should ensure full communication in China, Hong Kong, Taiwan. (460.466.454) and possibly in the following places:
208 - France, 404 - India, 405 - India, 454 - Hong Kong, 455 - Macao, 466 - Taiwan, 502 - Malaysia, 505 - Australia, 510 - Indonesia, 515 - Philipines, 520 - Thailand, 525 - Singapore.
Given that MCC codes for several operators in those countries are included in the list inside the FW.
If you are choosing this way, you need to remember the device is only 2G - GMS 900/1800 compatible, so before you waste time, ensure you carrier is compatible. Australia has just dumpled 2G support so don't even try.
You can execute the following AT code before purchasing the SIM card, and it will tell you the carriers that the device could possibly connect: AT+COPS=?
It will reply the MCC Codes and operator name, with that information you can look for a valid unlocked and activated sim card.
Since device was activated in china it will easily go trough the regular process of scanning the QR code and adding the device to your APP.
Activation Option #2.
Modifiy the MCC parameters inside the FW and include your specific operator details.
FlammingPumpking, you can help us comment on how you succeed with activation.

Only connect to one carryer

Is there a way to mod my phone that it only connects to my carrier?
I got an issue with an custom rom. It is the best rom i tryed so far. The problem is, that it connects to the neighbourcountrys carryer and dont let me change it.
Can i change something so that it only connects to my carryer?
EDIT:
I solved it myself
1. Dial *#*#4636#*#*
2. Phoneinfo
3. Networktype = LTE/UMTS auto (PRL)
4. ???
5. Profit
mfg MrFynn

LTE On Oreo After Root?

Ok so I use @jrkruse guide https://forum.xda-developers.com/verizon-s7-edge/how-to/root-s7-s7edge-oreo-nougat-t3819616 to root my SM-G935P on Oreo and it works great but I cannot get LTE working, Now when I rooted my phone on Android N with @godpowerrr tutorial https://forum.xda-developers.com/sprint-s7-edge/how-to/sm-g935p-spr-root-nougat-7-0-data-t3568780 and do the build.prop tweaks I get LTE working fine. I have tried to add the same build.prop lines to my rooted oreo phone with no success would anyone happen to know where to find the settings in the build.prop from android N in android oreo?
LTE on Oreo
DirtyPISTOLA said:
Ok so I use @jrkruse guide https://forum.xda-developers.com/verizon-s7-edge/how-to/root-s7-s7edge-oreo-nougat-t3819616 to root my SM-G935P on Oreo and it works great but I cannot get LTE working, Now when I rooted my phone on Android N with @godpowerrr tutorial https://forum.xda-developers.com/sprint-s7-edge/how-to/sm-g935p-spr-root-nougat-7-0-data-t3568780 and do the build.prop tweaks I get LTE working fine. I have tried to add the same build.prop lines to my rooted oreo phone with no success would anyone happen to know where to find the settings in the build.prop from android N in android oreo?
Click to expand...
Click to collapse
Is your phone network unlocked?
[email protected] said:
Is your phone network unlocked?
Click to expand...
Click to collapse
No its locked for sprint network.
LTE on Oreo
Try this. Go into your phone dialer and enter this secret code:
##3282# (puts you in programming mode)
Click edit.
For the MSL code, put "000000" and press OK.
On the main screen, go to MORE.
Then click HDR/1x Selection.
On this screen, select Global then press OK.
The phone will restart and should enable LTE.
Hope this helps.
[email protected] said:
Try this. Go into your phone dialer and enter this secret code:
##3282# (puts you in programming mode)
Click edit.
For the MSL code, put "000000" and press OK.
On the main screen, go to MORE.
Then click HDR/1x Selection.
On this screen, select Global then press OK.
The phone will restart and should enable LTE.
Hope this helps.
Click to expand...
Click to collapse
If Global doesn't work, go thru the process again and try the next 2 settings.
Unfortunately I have tried that and it does not work for me.
@DirtyPISTOLA This is a step you might of missed and has been throughout my thread. (Apn settings need to be applied after eng boot is registered) I implemented these settings through a .bat file in device system/etc folder, but doesn't work for all. So if you apply the eng boot through ODIN...and upon reset... Edit APN settings through mobile networks, being;
Name: APN2 LTE Internet
APN: n.ispsn
MMSC:http://mms.sprintpcs.com
Multimedia message proxy:68.28.31.7
Multimedia message port:80
MCC: 310
MNC: 120
APN type:default,supl,mms,dun,fota
APN Protocol:IPv4/IPv6
APN roaming protocol:IPv4/IPv6
Bearer:LTE
You should be able to run SuperSU .bat file and hopefully that'll fix it. If not it's a firmware issue.
I'm not sure if this works for oreo because I no longer have this device, but these are settings needed for LTE. Like I said idk if Nougat's LTE is different from Oreo's LTE.
Build.prop entries:
ro.characterisitics=Sprint
ro.telephony.default_network=10
ro.cdma.default_numeric=310120
ro.cdma.default_alpha=Sprint
ro.cdma.home.operator.alpha=Sprint
If this doesn't work try SM-G935U firmware with exact settings and steps, but change MNC: to 000.
godpowerrr said:
@DirtyPISTOLA This is a step you might of missed and has been throught my thread. (Apn settings need to be applied after eng boot is registered) I implemented these settings through a .bat file in device system/etc folder, but doesn't work for all. So if you apply the eng boot through ODIN...and upon reset... Edit APN settings through mobile networks(APN), being;
Name: APN2 LTE Internet
APN: n.ispsn
MMSC:http://mms.sprintpcs.com
Multimedia message proxy:68.28.31.7
Multimedia message port:80
MCC: 310
MNC: 120
APN type:default,supl,mms,dun,fota
APN Protocol:IPv4/IPv6
APN roaming protocol:IPv4/IPv6
Bearer:LTE
You should be able to run SuperSU .bat file and hopefully that'll fix it. If not it's a firmware issue.
I'm not sure if this works for oreo because I no longer have this device, but these are settings needed for LTE. Like I said idk if Nougat's LTE is different from Oreo's LTE.
Build.prop entries:
ro.characterisitics=Sprint
ro.telephony.default_network=10
ro.cdma.default_numeric=310120
ro.cdma.default_alpha=Sprint
ro.cdma.home.operator.alpha=Sprint
If this doesn't work try SM-G935U firmware with exact settings and steps, but change MNC: to 000.
Click to expand...
Click to collapse
Awesome thanks for the reply, I just upgraded to a new update that wont let me downgrade because of security policy updates as soon as SamMobile posts the firmware so I can restore if something goes wrong I'll give this a try. Thanks again.
Glad I finally found this thread, which firmware should I be on if I want to root this thing? Thinking of flashing Boot Loader 6 though again not sure.
Hey hey, I need to dig up this ghost here, cause I rooted a Sprint S7 Edge and put a verizon SIM in it, I don't have an active sprint SIM so I can't test it out, but the verizon SIM isn't getting any LTE, it just shows roaming, and no MMS messages can be downloaded. I may or may not have messed with some settings.
So, I can't edit the APN settings it's locked out. How can I either a. unlock the APN settings, or b. get it to recognize LTE networks without doing that. I've tried so many different things I've found on the forums, like nova launcher menu and going into the IOTHidden stuff to get into LTEfunctionality and that's not even there on the phone.
We're running OREO, but I just don't know what the deal is. Any ideas?
ChrisAGilbert said:
Hey hey, I need to dig up this ghost here, cause I rooted a Sprint S7 Edge and put a verizon SIM in it, I don't have an active sprint SIM so I can't test it out, but the verizon SIM isn't getting any LTE, it just shows roaming, and no MMS messages can be downloaded. I may or may not have messed with some settings.
So, I can't edit the APN settings it's locked out. How can I either a. unlock the APN settings, or b. get it to recognize LTE networks without doing that. I've tried so many different things I've found on the forums, like nova launcher menu and going into the IOTHidden stuff to get into LTEfunctionality and that's not even there on the phone.
We're running OREO, but I just don't know what the deal is. Any ideas?
Click to expand...
Click to collapse
Even with the inactive sprint SIM I am given options for APN settings, I can't edit or add any, but I do have options, whereas with the Verizon card it's all frozen out

Categories

Resources