Related
I live in the UK, and am using a foreign version of a TP2 that I bought on eBay. I think it's probably the Hong Kong version - it's in English, but with support for Chinese characters on the keyboard.
Something I do fairly regularly is switch between 2G and 3G modes on my TP2 manually. I've created a start-menu short-cut to CMBandSwitching.exe which lets me change the phone's Band setting between "Auto", "GSM" and "WCDMA". My somewhat limited understanding of these settings is that "GSM" basically means "2G", and "WCDMA" basically means "3G". When I set the phone to "GSM" it picks up GPRS or EDGE signals (according to the status bar). When I set it to "WCDMA" it picks up HDSPA or 3G signals (if there are any). What I thought "Auto" mode did was simply switch automatically between 3G and 2G mode depending on 3G signal strength - so that if there's a 3G signal it uses that, if not, it uses 2G.
However, it seems like there may be slightly more to it than that. If I have the phone in GSM mode at home and search for available networks, it finds O2, T-Mobile, Vodafone and Orange (in that order - does that mean O2's signal is the strongest, or does it put it at the top of the list because I have an O2 SIM?) In WCDMA mode it only finds O2, which would suggest that O2 is the only 3G signal that can be picked up in my home (and even that's pretty weak ). However, if I set the phone to Auto, then search for networks, then it also starts to get a signal from the 3 network and lists all 5 carriers - in other words, in Auto mode it finds a signal which is not visible in either GSM or WCDMA mode. This suggests that Auto may be doing something else besides switching between 2G and 3G. Can anyone explain this?
Also, if O2 is the only network it can find when set to "WCDMA" does this mean that O2's is the only 3G signal I can receive?
Finally, there are four possible frequency settings in the lower part of the BandSwitching app. These are:
Auto
GSM(900+1800)+UMTS(900+2100)
GSM(1900+850)+UMTS(1900+850)
UMTS(2100+800)
Which is the best setting for UK use? I'm currently using the second one, and it seems to work okay, but would I gain anything by switching it to "Auto"? And can someone give me an idea of which areas in the world I could get decent 2G or 3G reception with that selection of settings available?
(bump)
No one...?
When I connect to internet depending on the location sometimes I get the G icon sometimes the H icon.
Is it possible to set it only to connect on H (even if reception is bad, 1 bar only, rather than G with 3-4 bars reception)
Is there an App for it? than can let you choose what you wanna connect to?
I know in my nokia n95 i could go to networking and choose what i wanted but i cant seem to find that on the galaxy s.
any help would be great
thanks
LOL...
G - GPRS
H - HSDPA+ (faster than 3G)
You can't change it, It depends on your signal strength and location.
Elvoski said:
LOL...
G - GPRS
H - HSDPA+ (faster than 3G)
You can't change it, It depends on your signal strength and location.
Click to expand...
Click to collapse
constant HSDPA+ would also kill your battery too..i would image ye?
Only as much as what constant 3G uses.
im sure its possible because here is how to do it on the Omnia HD, its just a hidden menu setting
http://forums.samsungi8910omnia.com...ncrease-web-browsing-speed-when-using-3g.html
we have the same menu on the Galaxy S, so if someone can just figure out how to get to this part then you can do it
That is to increase the speed of the 3G. You can only see results if your using 3G,not sure it will increase the speed of the HSDPA. Also this wont allow you to get more of the signal or allow you to use just 3g or hsdpa for internet, again its down to network signal and location.
Elvoski said:
That is to increase the speed of the 3G. You can only see results if your using 3G,not sure it will increase the speed of the HSDPA. Also this wont allow you to get more of the signal or allow you to use just 3g or hsdpa for internet, again its down to network signal and location.
Click to expand...
Click to collapse
You could do *#*#4636#*#* in the phone app and change CDMA/GSM Auto to WCDMA or WCDMA preferred for 3G only, but you will have no service if you leave 3G coverage since it will not revert to standard GSM.
dsjr2006 said:
You could do *#*#4636#*#* in the phone app and change CDMA/GSM Auto to WCDMA or WCDMA preferred for 3G only, but you will have no service if you leave 3G coverage since it will not revert to standard GSM.
Click to expand...
Click to collapse
That method didn't work for me when I tried it; each time I re-entered the menu, the settings had reverted to whatever was chosen in Menu -> Settings -> Wireless & Network -> Mobile Networks... either GSM Only or GSM/CDMA auto (PRL) depending on whether the 2G only box was checked.
To get 3G only, enter ServiceMode:
*#*#197328640#*#* -> Debug Screen -> Phone Control -> Network Control -> Band Selection
Choose WCDMA BAND for 3G only.
aurorix said:
To get 3G only, enter ServiceMode:
*#*#197328640#*#* -> Debug Screen -> Phone Control -> Network Control -> Band Selection
Choose WCDMA BAND for 3G only.
Click to expand...
Click to collapse
LEGEND, thanks so much works perfectly for me, exactly what i was looking for.
aurorix said:
That method didn't work for me when I tried it; each time I re-entered the menu, the settings had reverted to whatever was chosen in Menu -> Settings -> Wireless & Network -> Mobile Networks... either GSM Only or GSM/CDMA auto (PRL) depending on whether the 2G only box was checked.
To get 3G only, enter ServiceMode:
*#*#197328640#*#* -> Debug Screen -> Phone Control -> Network Control -> Band Selection
Choose WCDMA BAND for 3G only.
Click to expand...
Click to collapse
Yes thank you for this informaion. I was able to get to the service mode but was not able to change the band selection.
I receive the error: RAT Selection Option is Restricted !
theres probably a way to shortcut the screen with anycut but ive given up trying
I cab only get edge at work but it does actualy give me about 100 kbs
I often do live streaming of events and from time to time I am forced to tether my cell to my laptop for internet access. This actually works better than you would expect. Anyway, back in the ICS (Task650 AOKP) days anytime I needed to do this I would use the old *#*#4636*#*# code and select "LTE only". This worked great, it disabled CDMA (so no calls or texts), and most importantly it prevented the phone from switching between CDMA and LTE (which obviously would be disastrous during a live stream).
Now that I am running JB (tried CM10.1 and Task650 AOKP), this doesn't work anymore. Even though LTE works perfectly fine under normal circumstances, when I select "LTE Only" the phone simply disconnects everything and I never get data back. It seems like there was a change in the modem options or something. When I go into Settings->Mobile Networks->Network Mode I can select LTE/WCDMA, LTE/GSM/WCDMA, GSM/WCDMA. If I select any of these options and go back to the phone info screen using the *#*# code, under "preferred network type" it says "Unknown."
I've tried two modems with the same results:
I747MUMLL1
I747MVLLH1
Any ideas on what I can do?
A quick update. I did try the stock modem firmware. No change. I went back to a stock ROM, which no longer accepted the *#*# code, but did accept the *#2263# code which allowed me to select LTE band preference and locked it into LTE. Is there a way to get into this menu from an AOSP ROM? Is this specific to the dialer?
Maybe a APN change could help this but I don't think you can perma lock LTE as it's not available everywhere.
Also, mind if I ask why you wanna have LTE only? It's already set to use LTE when needed, therefor, you don't need to lock it on.
BWolf56 said:
Maybe a APN change could help this but I don't think you can perma lock LTE as it's not available everywhere.
Also, mind if I ask why you wanna have LTE only? It's already set to use LTE when needed, therefor, you don't need to lock it on.
Click to expand...
Click to collapse
Hi BWolf,
I had mentioned it in my first post but the reason I want LTE only is so I can prevent the switching of bands between LTE and HSPDA when I am live streaming. Anytime a switch occurs there's a down period of a few seconds which causes the live stream to freeze. Even with full LTE bars, the phone seems to switch every now and then.
I know it's possible, because I can do it on the stock ROM, and I could do it with the older AOSP ICS ROM's. After decompiling the stock FactoryTest.apk file it appears that everything is controlled using invokeOemRilRequestRaw commands. I'll dig into it a bit further, I'm sure there's a way to replicate the functionality.
Ugh. I was hoping the setting was actually achieved using some sort of simple command send to the baseband. That is not the case. Apparently the whole menu system resides in the baseband, and the serviceModeApp.apk app simply provides a dummy interface to display the choices and respond back with selections.
I think at this point it's a little more work than it's worth. I can always flash a nandroid of a stock rom for the streaming and then flash back afterwards. Not ideal, but it'll have to do.
Well, I've solved it. After more effort than I care to admit to, I've found the cause of a lot of the grief with the network mode settings. I'll leave this info here in case someone else ever comes looking for it.
First off, it appears selecting "LTE only" wasn't working due to some sort of bug either with the radio baseband or with how some of the custom roms deal with the baseband. This bug was persistent across ROM reflashes because persistent data in the baseband remained. It appeared to have fixed itself when I flashed back to a stock rooted rom and did a factory reset. Other people have found this solution to work for other bizarre radio related issues, such as no LTE. Anyway, that fixed the LTE only selection.
In regards to the apparent disconnect between the list of preferred networks and what the radio was actually doing, as it turns out there is a mismatch. At some point in my search I downloaded the CM10.1 source and started digging around. I found in the ril directory the reference-ril.c file which describes the network modes:
Code:
static int net2modem[] = {
MDM_GSM | MDM_WCDMA, // 0 - GSM / WCDMA Pref
MDM_GSM, // 1 - GSM only
MDM_WCDMA, // 2 - WCDMA only
MDM_GSM | MDM_WCDMA, // 3 - GSM / WCDMA Auto
MDM_CDMA | MDM_EVDO, // 4 - CDMA / EvDo Auto
MDM_CDMA, // 5 - CDMA only
MDM_EVDO, // 6 - EvDo only
MDM_GSM | MDM_WCDMA | MDM_CDMA | MDM_EVDO, // 7 - GSM/WCDMA, CDMA, EvDo
MDM_LTE | MDM_CDMA | MDM_EVDO, // 8 - LTE, CDMA and EvDo
MDM_LTE | MDM_GSM | MDM_WCDMA, // 9 - LTE, GSM/WCDMA
MDM_LTE | MDM_CDMA | MDM_EVDO | MDM_GSM | MDM_WCDMA, // 10 - LTE, CDMA, EvDo, GSM/WCDMA
MDM_LTE, // 11 - LTE only
};
These correspond directly to the spinner selections in the phone info activity, which are:
Code:
private String[] mPreferredNetworkLabels = {
"WCDMA preferred",
"GSM only",
"WCDMA only",
"GSM auto (PRL)",
"CDMA auto (PRL)",
"CDMA only",
"EvDo only",
"GSM/CDMA auto (PRL)",
"LTE/CDMA auto (PRL)",
"LTE/GSM auto (PRL)",
"LTE/GSM/CDMA auto (PRL)",
"LTE only",
"Unknown"};
If you compare the two, you can see that the descriptions are not entirely accurate. In particular, many of the mode strings do not indicate they would select EVDO (even though the mask from reference-ril.c clearly shows they would). On devices which don't support EVDO, such as the i747, selecting these modes fail.
With the LTE only network mode now working, I see no need to implement the service mode band selection menu. With that said I did have a few solid strategies for doing it, if I decided to go that route. I peeked into the SecFactoryPhoneTest.apk a little bit, which is the service Samsung uses to communicate between the RIL and userspace java apps. It connects to a local socket named "Multiclient". I found this really bizarre because the telephony stack already connects to the RIL socket, and second the socket is typically named "rild". I believe Samsung has a custom implementation of rild (the linux userspace daemon which passes RIL requests to the kernel) which implements this extra "multiclient" socket. I could not find this socket on my AOSP based ROMs, so I assume it is a proprietary Samsung thing.
Instead of connecting directly to an RIL socket, you might be able to send the bytes associated with pulling up the band selection menu, and then blind sending the correct menu selections. The samsung service uses reflection to try and send RIL requests through the ITelephony interface (and then falls back on making a direct RIL connection). Here's how it does it:
Code:
Method localMethod = localITelephony.getClass().getDeclaredMethod("sendOemRilRequestRaw", new Class[] { [B.class, [B.class });
Now I think the sendOemRilRequestRaw method is another proprietary function, but a similar one exists in the AOSP RIL implementation which is invokeOemRilRequestRaw. Using the same technique you might be able to send raw bytes to the RIL without messing around with sockets.
Ironically I just found in the source a c program that connects directly to the rild and issues commands to select certain radio options. Path is hardware/ril/rild/radiooptions.c. It connects to the debug ril socket to issue commands. A potentially super easy route to issue commands in the future would just be to modify that and run it as a command with superuser from java.
[I927 ICS AT&T ROM] Change GSM mode to 2G/off 3G, minimize risk missed calls and text
Hello,
i have I927 with stock AT&T ICS ROM, to change phone to work in only 2G mode u must do:
1) enter to dial pad
2) enter to "ServiceMode" by typing *#197328640#
3) on menu you see click:
[1] DEBUG SREEN ->[8] PHONE CONTROL ->[7]NETWORK CONTROL ->[2] BAND SELECTION ->[3] GSM BAND ->[1] GSM ALL
4) now press "select GSM All Bands
to back to 3G/4G band in step 3 in band selection chose [2] WCDMA BAND or [1] AUTOMATIC
Attention: after each restart or on/off, phone chose automatic mode and one must again manualy change to 2G.
Now phone work in 2G mode:
- baterry consumes energy slower
- phone have best range (don`t now why I927 in automatic mode chose the faster mode not this with best range: its on 4G with 1 bar range, ane i this same place 2G have 3 bars range)
- calls quality is best
- minimize risk missed calls and multiple text, look in this tread http://forum.xda-developers.com/showthread.php?t=2018299 , i use only 2G from 2 month. In this time i have only 1 time GSM freezing, after manual chose 3G band to use internet and later return to 2G band mode.
greetings
kamykkamyk_pl
Please help.. Is there a way to set network mode to 4G only or LTE only?... In settings, I only have the Autoconnect, 2G only and 3G only options.. Thanks..
Is your SIM card already 4G supported? What's your carrier?
The 4G auto connect is available? Apps might be able to access 4636 without root. In there, if there's an option, select phone information, then lock the RAT to 4G only. Alternatively, if *#2263# or *#2683662# is available, in *#0011# select the other SIM if there is any, then in those other codes, band selection, GSM ALL (for the unused SIM), change SIM again with *#0011#, band selection, LTE ALL(for the used SIM). What's expected: If the SIM is not a USIM, the RAT will stay on 3G(UMTS/WCDMA). If the USIM is not authorized, no signal. With soft PLMN locking (manual operator search) the signal level is shown but it's unusable. If the signal is still not available, maybe the phone does not support that band/frequency or no LTE coverage? If rooted it's possible to add LTE only in those settings in feature.xml, if that file is not available others.xml is used. Or launch 4636, or RIL service mode with am broadcast.
Use this app (no root needed). Set to LTE ONLY. Works fine.
play.google.com/store/apps/details?id=com.ather.networkmode&hl=nl
This is worth a try. It's 4636.
ADD THIS IN system\csc\other.xml
<CscFeature_Setting_CustNetworkSelMenu4>LTEONLY</CscFeature_Setting_CustNetworkSelMenu4>
Click to expand...
Click to collapse
its very easy. you just need to install this app https://play.google.com/store/apps/details?id=com.teknokia.mtkengineerapp&hl=en and choose LTE Switcher menu. for detail info please go to https://www.teknokia.com/2017/08/how-to-lock-4g-only-or-lte-only-on.html
*#2263#