What is my preferred network type? - Nexus S Q&A, Help & Troubleshooting

So I've been trying to tweak my signal, go into dialer *#*#4636#*#*. Go all the way down, under preferred network type says unknown. Click on box and options are, wcdma preferred, GSM only, wcdma only, GSM auto prl, wcdma auto prl, GSM/wcdma auto prl , evdo only and i think 2 more. One of wich is unknown. Phone is rooted, stock rom. Any ideas? Live in Colorado
Sent from my Nexus S 4G using XDA App

yea i was wondering the same thing. my evo is/was always on CDMA auto PRL, my ns4g is either on WCDMA or unknown. i cant help but think this has a lot to do with reception issues

Edit: Also switched cdma roaming to home only not automatic, not sure if auto made it keep switching to unknown type. Waited a cuple minutes after turning 4G off and speed went back up, might have needed a minute to fully switch back to 3G. Been messing with preferred type, but to make it stay have to push home cause back button keeps resetting to unknown type. Check speedtest.net app, shows better speed, but when i use the 4G and then turn off speeds are worse again. But then again you'd think cause i get a low 4G that my 3G would be faster, not so.
hellcatt said:
yea i was wondering the same thing. my evo is/was always on CDMA auto PRL, my ns4g is either on WCDMA or unknown. i cant help but think this has a lot to do with reception issues
Click to expand...
Click to collapse
Sent from my Nexus S 4G using XDA App

hellcatt said:
yea i was wondering the same thing. my evo is/was always on CDMA auto PRL, my ns4g is either on WCDMA or unknown. i cant help but think this has a lot to do with reception issues
Click to expand...
Click to collapse
The same here, the evo always is cdma auto but nexus keeps jumping to unknown
Sent from my PC36100 using Tapatalk

pierre1321 said:
Edit: Also switched cdma roaming to home only not automatic, not sure if auto made it keep switching to unknown type. Waited a cuple minutes after turning 4G off and speed went back up, might have needed a minute to fully switch back to 3G. Been messing with preferred type, but to make it stay have to push home cause back button keeps resetting to unknown type. Check speedtest.net app, shows better speed, but when i use the 4G and then turn off speeds are worse again. But then again you'd think cause i get a low 4G that my 3G would be faster, not so.
Sent from my Nexus S 4G using XDA App
Click to expand...
Click to collapse
yea ive done all that and it always goes back to wcdma or unknown

Yeah, phone finally went back to unknown. There's that PRL update in this section, steps are for windows 7 , didn't work on my W/XP. Laptops in the shop so my options are limited.
Sent from my Nexus S 4G using XDA App

Yes, Evdo, interesting read. Will have to reread some stuff on ro.build
Came from an Evo 4g, so the methods for a better signal are different. Thanks for the info
bencozzy said:
ok new build.prop hack confirmed working on i9020t
how to set preferred network type (looking for this portion easy to find like right in the middle sticks out)
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=soju-user 2.3.4 GRJ22 121341 release-keys
ro.build.fingerprint=google/soju/crespo:2.3.4/GRJ22/121341:user/release-keys
ro.product.rat=XXXXXXXX
# end build properties
add the italic underlined code, without being in italic and underlined. and replace the x's with whatever you want to use:
GSM/CDMA auto (PRL)
EvDo only
CDMA only
CDMA auto (PRL)
GSM auto (PRL)
WCDMA only
GSM only
WCDMA preferred
here for copy and paste (just put your network in there!!!)
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=soju-user 2.3.4 GRJ22 121341 release-keys
ro.build.fingerprint=google/soju/crespo:2.3.4/GRJ22/121341:user/release-keys
ro.product.rat=
# end build properties
have fun and post some results. If something breaks blame the person that invented the internet cause it's not my fault and i cant be held responsible for you beleiving everything you read!!!
http://forum.xda-developers.com/showthread.php?t=1116884 some decent info in here the radios are for gsm only not the 4g though but you might find some useful stuff to play with. sprint is evdo right??
Click to expand...
Click to collapse
Sent from my Nexus S 4G using XDA App

Ns4g, atlest mine doesn't allow me to enter the wimaxx menue. I do *#*#DATA#*#*, enter msl and lets me modify other stuff. Just not wimaxx, i click on it and it shows the msl box. Like i never entered it in the first place. I enter it again and it sends me back to the menue.is there another code or something?
bencozzy said:
ok read up on wimax sounds more like its very closely related to wifi maybe a wifi hack is needed??? dont have 4g other wise id probably find a work around for it??
look into build.prop fixes or hacks for other wimax devices might find something usable for the ns4g.
Click to expand...
Click to collapse
Sent from my Nexus S 4G using XDA App

Cool, ill ask in Q&A first. See if i can get some info on not being able to access wimaxx menue.
Sent from my Nexus S 4G using XDA App

Performed this edit in build.prop. Thanks for this. Changed my Nexus S 4G to CDMA auto (PRL)...

tailsthecat3 said:
Performed this edit in build.prop. Thanks for this. Changed my Nexus S 4G to CDMA auto (PRL)...
Click to expand...
Click to collapse
Did you do it through adb or through a root explorer?
My type still switches to unknown, even though it show in build.prop
Sent from my Nexus S 4G using XDA App

Well then it probably doesnt work to make the network type stick. I altered the file through root explorer. Reallllly wanna make my network type stick to cdma auto

Gothis from Build.prop thread-use *#*#4636#*#* to access network type, wait for signal to turn green, select network type then quickly go down to refresh and then update. These are next to the smsc box. So far it seems to be sticking, not sure about after reboot.
tailsthecat3 said:
Well then it probably doesnt work to make the network type stick. I altered the file through root explorer. Reallllly wanna make my network type stick to cdma auto
Click to expand...
Click to collapse
Sent from my Nexus S 4G using XDA App

tailsthecat3 said:
Performed this edit in build.prop. Thanks for this. Changed my Nexus S 4G to CDMA auto (PRL)...
Click to expand...
Click to collapse
notice any difference?

pierre1321 said:
Gothis from Build.prop thread-use *#*#4636#*#* to access network type, wait for signal to turn green, select network type then quickly go down to refresh and then update. These are next to the smsc box. So far it seems to be sticking, not sure about after reboot.
Sent from my Nexus S 4G using XDA App
Click to expand...
Click to collapse
This didnt seem to work for me.
hellcatt said:
notice any difference?
Click to expand...
Click to collapse
None.

These were my steps
1. Go t system and make a few copies of build.prop.
2.went into copies of build.prop, ( main build .prop runs in background so it would let me alter).then added witch ever type i wanted , (like me i did ro.product.rat=WCDMA preferred) .
3. Made sure i saved my new copy.
4. Then i copied and pasted my new building.prop over to system. (Says there is already one there, i overwrite original.
5. Get out of whichever explorer used. And restart phone.
6. Then went to *#*#4636#*#* to get to preferred network type, then i select the option i chose to put in build.prop. ( that way they are the same.
6. After selecting type quickly got to refresh and update ( near the smsc box near the bottom.
You should notice the update tab stay dark.
Before i messed with build.prop and added what i wanted it would still change back. Now it atleast stays till next reboot.
Don't know if that helps.....
tailsthecat3 said:
This didnt seem to work for me.
None.
Click to expand...
Click to collapse
Sent from my Nexus S 4G using XDA App

pierre1321 said:
These were my steps
1. Go t system and make a few copies of build.prop.
2.went into copies of build.prop, ( main build .prop runs in background so it would let me alter).then added witch ever type i wanted , (like me i did ro.product.rat=WCDMA preferred) .
3. Made sure i saved my new copy.
4. Then i copied and pasted my new building.prop over to system. (Says there is already one there, i overwrite original.
5. Get out of whichever explorer used. And restart phone.
6. Then went to *#*#4636#*#* to get to preferred network type, then i select the option i chose to put in build.prop. ( that way they are the same.
6. After selecting type quickly got to refresh and update ( near the smsc box near the bottom.
You should notice the update tab stay dark.
Before i messed with build.prop and added what i wanted it would still change back. Now it atleast stays till next reboot.
Don't know if that helps.....
Sent from my Nexus S 4G using XDA App
Click to expand...
Click to collapse
Didnt work. Switches back to WCDMA upon leaving the menu. Then shifts to unknown.
This phones radios need some serious updating...as well as some other problems.

Is yer rom odexed or deodexed, is it stock rom or different. I read somewhere that a deodexed rom allows a little more play as far as changing things, not sure though. It stays as long as you don't reboot after refresh and update, before it would reset regardless of reboot or not. Did you check build.prop in system folder to make sure it kept the add in? Mine wouldn't stay untill i copy and pasted over the original in system file, cause build.prop runs in the background. But there are so many things that work and won't work depending on yer rom and how it runs.
tailsthecat3 said:
Didnt work. Switches back to WCDMA upon leaving the menu. Then shifts to unknown.
This phones radios need some serious updating...as well as some other problems.
Click to expand...
Click to collapse
Sent from my Nexus S 4G using XDA App

pierre1321 said:
Is yer rom odexed or deodexed, is it stock rom or different. I read somewhere that a deodexed rom allows a little more play as far as changing things, not sure though. It stays as long as you don't reboot after refresh and update, before it would reset regardless of reboot or not. Did you check build.prop in system folder to make sure it kept the add in? Mine wouldn't stay untill i copy and pasted over the original in system file, cause build.prop runs in the background. But there are so many things that work and won't work depending on yer rom and how it runs.
Sent from my Nexus S 4G using XDA App
Click to expand...
Click to collapse
stock rom. performed multiple variations of the steps that are assumed to work. nothing works as it always switches back to wcdma then unknown.

I have found that I make the wcdma change with *#*#4636#*#* the change shows. If i make shortcut in home screen for phone info the line still shoes gsm/cdma. I still have to change it there.

Related

I can toggle 4g from settings is that normal?

I was going through my CRW backups that I didn't rename and lost track of (70's greatest hits) And I stumbled upon one that was different than the rest. Under settings/more settings/mobile networks there was a network mode. In which you could toggle between 4g/3g and 3g only. See the attached pics, one is the networks mode backup and the other is the one I have on all my other backups. Any ideas?
Jugger naut said:
I was going through my CRW backups that I didn't rename and lost track of (70's greatest hits) And I stumbled upon one that was different than the rest. Under settings/more settings/mobile networks there was a network mode. In which you could toggle between 4g/3g and 3g only. See the attached pics, one is the networks mode backup and the other is the one I have on all my other backups. Any ideas?
Click to expand...
Click to collapse
whats it say under settings/ about device
Thanks for the reply droidstyle I think you may be on to something.
After doing some probing I think it has something to do with the google wallet patch I installed and the edits I made in build prop. Google wallet was uninstalled at some point and I still have the lte/cdma option but as soon as I change the build prop back to sch-i535 & ds2vzw it goes back to the stock non adjustable options.
I tried reproducing it by reinstalling google wallet and rechanging my build prop but no dice. Very odd. I like being able to use a toggle insted of having to go through the phone info app. It would make a nice addition to a tw rom if it could be isolated.
The pic with the system select looks like the Sprint version
Wad.the build prop edited to be the sprints
Sent from my SCH-I535 using xda premium
musclehead84 said:
The pic with the system select looks like the Sprint version
Wad.the build prop edited to be the sprints
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
It was ediited form
SCH-I535, d2vzw, d2vzw
to
ro.product.model=Galaxy Nexus
ro.product.name=yakju
ro.product.device=maguro
I have been trying all sorts of combinations but cant seem to get it to do it again. Its just odd that i deleted the Google wallet and it didn't get rid of the network mode but if I change any of the above build props it does? And if i change them back to the neus ones it does not put the network mode option back
Jugger naut said:
It was ediited form
SCH-I535, d2vzw, d2vzw
to
ro.product.model=Galaxy Nexus
ro.product.name=yakju
ro.product.device=maguro
I have been trying all sorts of combinations but cant seem to get it to do it again. Its just odd that i deleted the Google wallet and it didn't get rid of the network mode but if I change any of the above build props it does? And if i change them back to the neus ones it does not put the network mode option back
Click to expand...
Click to collapse
Who knows

Disable or toggle 4G?

Some areas with spotty 4G are problematic for me, and I'd like to just force 3G. I've searched but can't find a reliable method that works (apparently an old version of a phone info app worked, but not the current version). I'm running the latest CleanRom btw.
Settings <More... <Mobile Networks <Network Mode <Uncheck LTE/CDMA/EvDo and check off CDMA/EvDo auto
cas239 said:
Settings <More... <Mobile Networks <Network Mode <Uncheck LTE/CDMA/EvDo and check off CDMA/EvDo auto
Click to expand...
Click to collapse
That option is not there for me. I have global, lte/cdma, gsm/umts.
I haven't been on clean ROM or a touch wiz ROM in a while, but as I remember they have the option for toggles in the drop down status bar. Toggling 4g/lte will also disable 4g and only search for a 3g signal
Quick panel settings in Cleanrom doesn't seem to have an option to add a 4g toggle. I have power toggles, which has that option, but the toggle doesn't actually seem to work...
netter123 said:
Some areas with spotty 4G are problematic for me, and I'd like to just force 3G. I've searched but can't find a reliable method that works (apparently an old version of a phone info app worked, but not the current version). I'm running the latest CleanRom btw.
Click to expand...
Click to collapse
I use an app called Phone Info by [email protected] Unfortunately it's no longer available on the Play Store but luckily someone posted the APK for it here: http://forum.xda-developers.com/showpost.php?p=36090884&postcount=14
I can confirm it works with stock rom and I'm currently on CM10.1 and it works with that as well. Once in the app go to Phone information then scroll down to Set Preferred Network Type and change it to CDMA auto. If you want 4G again just switch it back to LTE/CDMA auto.
Hope this works for you.
azndy said:
I use an app called Phone Info by [email protected] Unfortunately it's no longer available on the Play Store but luckily someone posted the APK for it here: http://forum.xda-developers.com/showpost.php?p=36090884&postcount=14
I can confirm it works with stock rom and I'm currently on CM10.1 and it works with that as well. Once in the app go to Phone information then scroll down to Set Preferred Network Type and change it to CDMA auto. If you want 4G again just switch it back to LTE/CDMA auto.
Hope this works for you.
Click to expand...
Click to collapse
Did u even read what u quoted?
Sent from my SCH-I535 using Tapatalk 2
Well the new version of phone info is made by a different developer. The original version my [email protected] that is since removed from the app store works. If the apk that was posted doesn't work I can rip the apk off my phone when I get home tonight.
Sent from my SCH-I535 using xda premium
azndy said:
I use an app called Phone Info by [email protected] Unfortunately it's no longer available on the Play Store but luckily someone posted the APK for it here: http://forum.xda-developers.com/showpost.php?p=36090884&postcount=14
I can confirm it works with stock rom and I'm currently on CM10.1 and it works with that as well. Once in the app go to Phone information then scroll down to Set Preferred Network Type and change it to CDMA auto. If you want 4G again just switch it back to LTE/CDMA auto.
Hope this works for you.
Click to expand...
Click to collapse
Thanks for the link to the old version of the app - looks like this is what I needed.
Okay, so after using the phone info app to turn off 4g, I haven't been able to get back 4g. I've tried turning it back on through the regular phone settings (rather than using the app, which is known not to work). Even in lte mode, 4g never returns. I also wiped cache and re flashed rpm/modem, but still stuck on 3g. Any ideas short of reverting to stock?
I'm having the same issue. I was able to use Phone info when running stock, but that's clearly not an option any more. Has anyone had success with any other apps? I used the RPM and modem suggested with CleanRom 6, not sure if that has anything to do with it. Flashed the RPM, then modem, then ROM.
Has any one tried to enable the hidden menu that has radio options?
This was in the gn2 forum but seems to work on the gs3.
http://forum.xda-developers.com/showthread.php?p=36208617
Sent from my SCH-I535 using Tapatalk 2
Toggle options, including what cas239 said, are for AOSP roms like Clockwork Mod, Pacman, and AOSPA. Touchwiz roms do not have this option directly, only with Phone Info App. Although it seems only the older version has this option.

"Set preferred network type" defaulting to GSM only after a reboot

I recently tried to fix my GPS issues by trying out some previous OPO modem files, I ended up just reflashing the 33R one though as none helped. I now have a more annoying issue since doing this.
My network, Three UK uses LTE/WCDMA, so in the *#*#4636#*#* menu it is best to set "Set preferred network type:" to LTE/WCDMA, but after a reboot this changes to GSM every time, resulting in no signal at all.
I did some googling and found that some people had been able to edit their build.prop to change this default value, I changed the values as seen in the attached image. Unfortunately after a reboot it now only changes to WCDMA only and not LTE/WCDMA only. Does anyone know what changes I would have to make to make it change to LTE/WCDMA only?
Thanks.
If someone could upload their default build.prop that would also be useful.
oscarandjo said:
I recently tried to fix my GPS issues by trying out some previous OPO modem files, I ended up just reflashing the 33R one though as none helped. I now have a more annoying issue since doing this.
My network, Three UK uses LTE/WCDMA, so in the *#*#4636#*#* menu it is best to set "Set preferred network type:" to LTE/WCDMA, but after a reboot this changes to GSM every time, resulting in no signal at all.
I did some googling and found that some people had been able to edit their build.prop to change this default value, I changed the values as seen in the attached image. Unfortunately after a reboot it now only changes to WCDMA only and not LTE/WCDMA only. Does anyone know what changes I would have to make to make it change to LTE/WCDMA only?
Thanks.
Click to expand...
Click to collapse
Are you saying that you have no 2g signal/gsm signal on that phone? But you have 2g reception in your area , right?
maskelisuvari said:
Are you saying that you have no 2g signal/gsm signal on that phone? But you have 2g reception in your area , right?
Click to expand...
Click to collapse
Three has no 2G network at all, 3G/H+/LTE only. With it set to "GSM only" I have no signal at all.
I just need to set it to WCDMA/LTE and it works perfectly. The default config (after a reboot) that came with the phone works great too but it's changed to GSM only after flashing modems.
I've just flashed stock system.img, boot.img and modem using fastboot from the 33R fastboot zip but it's still not working as I'd like.
maskelisuvari said:
Are you saying that you have no 2g signal/gsm signal on that phone? But you have 2g reception in your area , right?
Click to expand...
Click to collapse
I'd appreciate it if you uploaded your build.prop
oscarandjo said:
Three has no 2G network at all, 3G/H+/LTE only. With it set to "GSM only" I have no signal at all.
I just need to set it to WCDMA/LTE and it works perfectly. The default config (after a reboot) that came with the phone works great too but it's changed to GSM only after flashing modems.
I've just flashed stock system.img, boot.img and modem using fastboot from the 33R fastboot zip but it's still not working as I'd like.
Click to expand...
Click to collapse
I got it , i am sorry i cant help you ,since i dont have 4g.Otherwise i can give you my build.prop to check.
maskelisuvari said:
I got it , i am sorry i cant help you ,since i dont have 4g.Otherwise i can give you my build.prop to check.
Click to expand...
Click to collapse
I don't think you need to. Just go to phone, press *#*#4636#*#*, press phone info and tell me whats in Set preferred network type, if it's what I think it is, upload your build.prop and I'll be very happy
oscarandjo said:
I don't think you need to. Just go to phone, press *#*#4636#*#*, press phone info and tell me whats in Set preferred network type, if it's what I think it is, upload your build.prop and I'll be very happy
Click to expand...
Click to collapse
That's a testing area, you shouldn't use it for setting parameters.
Anyway, try to go to setting --> mobile network setting and set the preferred network type there.
oscarandjo said:
I don't think you need to. Just go to phone, press *#*#4636#*#*, press phone info and tell me whats in Set preferred network type, if it's what I think it is, upload your build.prop and I'll be very happy
Click to expand...
Click to collapse
Its set to TD-SCDMA,GSM/WCDMA and LTE.Do you still want my buid.prop? I can give it to you , if you want.
maskelisuvari said:
Its set to TD-SCDMA,GSM/WCDMA and LTE.Do you still want my buid.prop? I can give it to you , if you want.
Click to expand...
Click to collapse
Yes that would be great.
Vonnegut said:
That's a testing area, you shouldn't use it for setting parameters.
Anyway, try to go to setting --> mobile network setting and set the preferred network type there.
Click to expand...
Click to collapse
I know that, but after rebooting the settings change to GSM only. I wanted to see what his was set to to see if his build.prop would be good for this. Build.prop seems to override that setting,
oscarandjo said:
I know that, but after rebooting the settings change to GSM only. I wanted to see what his was set to to see if his build.prop would be good for this. Build.prop seems to override that setting,
Click to expand...
Click to collapse
Ok, so the next question is..did you install the ColorOS beta ROM?
oscarandjo said:
I know that, but after rebooting the settings change to GSM only. I wanted to see what his was set to to see if his build.prop would be good for this. Build.prop seems to override that setting,
Click to expand...
Click to collapse
I had the same problem, after you change 4 or 5 times it finally is fixed
If I am correct, the OnePlus One is not CDMA compatible. If I am wrong on this, please correct me and I'll go pick one up for Verizon right now...
Sent from my iPod touch using Tapatalk
r3pwn said:
If I am correct, the OnePlus One is not CDMA compatible. If I am wrong on this, please correct me and I'll go pick one up for Verizon right now...
Sent from my iPod touch using Tapatalk
Click to expand...
Click to collapse
Sorry but no you are correct. If it worked for Verizon, then my life would be easier
this works but requires root, it works for dual sim as well, the settings will "stick" (save and apply) after a reboot. and PLEASE NOTE that of course you change the "3" to your preferred network
https://forum.xda-developers.com/galaxy-s4-sprint/general/how-to-fix-network-signal-gsm-sim-t3720534

Build.prop edit doesnt stick???

decided to take a risk and add a line to my build.prop about preferred network..... but it didnt work!! I told it to use WCDMA only and it is STILL switching over to HDSPA... i get better reception when i go into the phone info menu and switch it to WCDMA , but it will not stick..... i thought adding a build prop line would finally do the trick, but its still auto switching!!
help?
What phone is it, stock or custom rom, and have you verified that the file is edited correctly, and still modified when you reboot?
Samsung captivate glide.... No im not sure if its in there correctly as i had asked which line im supposed to input it either above or below, nobody got back to me. So i downloaded and used a build.prop editor, and put the name and value in there, thinking it would put it in the proper line/place. But, it did just add it to the bottom. Thats what i would have done as well, but i wasnt sure.
It is a stock but rooted ROM.
the information is in fact still there after reboot.... but it still reverts back to the other weaker signal, with phone info saying GSM/CDMA auto PRL which has been its default this whole time... when i want it to say WCDMA only....
Doesn't the Settings - More Networks option allow you to set the Preferred Network?
It might, if i had that setting to begin with... Mine doesnt.
I can choose which operator i want to use, but thats as far as it goes. but im wanting to use a different network under the *same* operator...
Would adding that line to "default.prop" help with this at all??

Preferred network type

Many of you are probably aware of the Testing menu containing network and other various settings (you type in *#*#4636#*#* into your dialer).
For years I've used it to mitigate the spotty 3G connection in my house, to keep the phone from 'flickering' between 3G for basically every other room in my house.
Using GSM auto (PRL) keeps me on GSM indoors and switches to 3G as soon as I leave the house. This also has a noticeable improvement on battery life.
Only now it does not persist through reboots. It always defaults back to the original setting, which even includes TD-SCDMA which is a Chinese-only network type that I never want my phone to scan for at all.
So far the only thing I've been able to do that persists through reboots is
Code:
su
settings put global preferred_network_mode 1,20
This will force it to GSM only. Only 2 other codes persist: 18,20 which is another TD-SCDMA inclusive and 20,20 which is the default.
These correlate to the Preferred network type in SIM card settings.
If anyone has any more insight into this, I'm pretty much out of ideas.
EDIT: I realize now that the issue might not be exactly made clear. It's a very specific set of circumstances:
The testing menu (*#*#4636#*#*) applies changes to the network immediately, but not persistently.
Editing the values does not apply changes immediately, and only persists on those 3 values after reboot.
you can use intelli3G, but it requires xposed installed
Thanks, I'll keep it in mind as a last ditch effort.
I'd rather not run so many auxiliary programs, especially when the required function is so minimal, but the program so extensive.
Logic_ said:
Thanks, I'll keep it in mind as a last ditch effort.
I'd rather not run so many auxiliary programs, especially when the required function is so minimal, but the program so extensive.
Click to expand...
Click to collapse
oops, I tried Intelli3G, it does not work well, caused overheat.
maybe you should try smart network, it is more compact, but I am not so sure
Logic_ said:
Many of you are probably aware of the Testing menu containing network and other various settings (you type in *#*#4636#*#* into your dialer).
For years I've used it to mitigate the spotty 3G connection in my house, to keep the phone from 'flickering' between 3G for basically every other room in my house.
Using GSM auto (PRL) keeps me on GSM indoors and switches to 3G as soon as I leave the house. This also has a noticeable improvement on battery life.
Only now it does not persist through reboots. It always defaults back to the original setting, which even includes TD-SCDMA which is a Chinese-only network type that I never want my phone to scan for at all.
So far the only thing I've been able to do that persists through reboots is
Code:
su
settings put global preferred_network_mode 1,20
This will force it to GSM only. Only 2 other codes persist: 18,20 which is another TD-SCDMA inclusive and 20,20 which is the default.
These correlate to the Preferred network type in SIM card settings.
If anyone has any more insight into this, I'm pretty much out of ideas.
Click to expand...
Click to collapse
You can use an init.d script to set the network mode at reboot
ice-it said:
Many of you are probably aware of the Testing menu containing network and other various settings (you type in *#*#4636#*#* into your dialer).
For years I've used it to mitigate the spotty 3G connection in my house, to keep the phone from 'flickering' between 3G for basically every other room in my house.
Using GSM auto (PRL) keeps me on GSM indoors and switches to 3G as soon as I leave the house. This also has a noticeable improvement on battery life.
Only now it does not persist through reboots. It always defaults back to the original setting, which even includes TD-SCDMA which is a Chinese-only network type that I never want my phone to scan for at all.
So far the only thing I've been able to do that persists through reboots is
You can use an init.d script to set the network mode at reboot
Click to expand...
Click to collapse
Sorry, I should have phrased that more clearly. Apart from the 3 that were mentioned, no other values seem to affect the connection. My ideal solution would indeed be an init.d script.
Thanks for chiming in!
Sent from my Mi-4c using XDA Labs
Logic_ said:
Sorry, I should have phrased that more clearly. Apart from the 3 that were mentioned, no other values seem to affect the connection. My ideal solution would indeed be an init.d script.
Thanks for chiming in!
Sent from my Mi-4c using XDA Labs
Click to expand...
Click to collapse
Maybe we're looking at the wrong entry, if i change the type from the menu I always get 18,20 from setting though the network seems to be changed...
ice-it said:
Maybe we're looking at the wrong entry, if i change the type from the menu I always get 18,20 from setting though the network seems to be changed...
Click to expand...
Click to collapse
Yes, that's the issue exactly. From the menu the changes are applied immediately yet the changes don't stick. From editing the values the network remains unchanged until reboot, but only those 3 values will stick.
I wouldn't know what setting the menu would call upon other than preferred_network_mode
but I don't know much tbh, that's why I hope someone does
Logic_ said:
Yes, that's the issue exactly. From the menu the changes are applied immediately yet the changes don't stick. From editing the values the network remains unchanged until reboot, but only those 3 values will stick.
I wouldn't know what setting the menu would call upon other than preferred_network_mode
but I don't know much tbh, that's why I hope someone does
Click to expand...
Click to collapse
I've pulled the settings.db now and i will look into it if i can find some answers
Sorry, I've looked in every table but i cant find anything... I cant understand how you can change a setting without updating the setting.db, only the 3 option of the standard menu are saved (4g/3g/2g)...
ice-it said:
I've pulled the settings.db now and i will look into it if i can find some answers
Sorry, I've looked in every table but i cant find anything... I cant understand how you can change a setting without updating the setting.db, only the 3 option of the standard menu are saved (4g/3g/2g)...
Click to expand...
Click to collapse
Right? I can't find anything on this. There must be a mirrored table somewhere where the value is held. Or maybe the setting stays active in a system app that is kept in memory? Like phone.apk or something.
I might be saying ridiculous things, I'm grasping at straws here.
Thanks for checking man.
Sent from my Mi-4c using XDA Labs
Logic_ said:
Right? I can't find anything on this. There must be a mirrored table somewhere where the value is held. Or maybe the setting stays active in a system app that is kept in memory? Like phone.apk or something.
I might be saying ridiculous things, I'm grasping at straws here.
Thanks for checking man.
Sent from my Mi-4c using XDA Labs
Click to expand...
Click to collapse
I've tried also to edit the build.prop but changes don't affect the system
Code:
#
# System props for telephony
# Start in GSM Auto PRL for Sim1 and GSM Only for Sim2
ro.telephony.default_network=3,1
ro.ril.def.preferred.network=3,1
#
# System prop to turn on GSMLTEPhone always
telephony.lteOnCdmaDevice=0
telephony.lteOnGSMDevice=1
I've tried also to put the phone in GSM Only like that
Code:
#
# System props for telephony
# Start in GSM Only
ro.telephony.default_network=1
ro.ril.def.preferred.network=1
Still no changes at all
ice-it said:
I've tried also to edit the build.prop but changes don't affect the system
Code:
#
# System props for telephony
# Start in GSM Auto PRL for Sim1 and GSM Only for Sim2
ro.telephony.default_network=3,1
ro.ril.def.preferred.network=3,1
#
# System prop to turn on GSMLTEPhone always
telephony.lteOnCdmaDevice=0
telephony.lteOnGSMDevice=1
I've tried also to put the phone in GSM Only like that
Code:
#
# System props for telephony
# Start in GSM Only
ro.telephony.default_network=1
ro.ril.def.preferred.network=1
Still no changes at all
Click to expand...
Click to collapse
Yup, specifically those are ignored. I had tried them previously and thought maybe build.prop changes were ignored entirely (I hadn't made any tweaks or anything yet), but other changes to build.prop work just fine.
Could they have hardcoded these into the radio perhaps? I guess not since it can be affected through the testing menu... I keep going back and forth between theories like this, can't make sense of it.
Logic_ said:
Yup, specifically those are ignored. I had tried them previously and thought maybe build.prop changes were ignored entirely (I hadn't made any tweaks or anything yet), but other changes to build.prop work just fine.
Could they have hardcoded these into the radio perhaps? I guess not since it can be affected through the testing menu... I keep going back and forth between theories like this, can't make sense of it.
Click to expand...
Click to collapse
I start thinking the RIL change the values after build.prop load... Maybe they coded a method that initialize the daemon and only accept the 3 option reachable from settings...
But this is speculation, I need to take a look at the RIL, but I can't find it
ice-it said:
I start thinking the RIL change the values after build.prop load... Maybe they coded a method that initialize the daemon and only accept the 3 option reachable from settings...
But this is speculation, I need to take a look at the RIL, but I can't find it
Click to expand...
Click to collapse
Well sadly that's already beyond my scope of reasoning. Good luck in your search of knowledge, I hope something comes up
Sent from my Mi-4c using XDA Labs
Any news on this? Been having the same issue on miui9 redmi3!

Categories

Resources