Adding "GSM" Option on a CDMA rom? - Android Q&A, Help & Troubleshooting

Is it possible to add a GSM or WCDMA options into a rom? I ported the VZW HTC Thunderbolt rom to HD2 (yah i'm crazy) but if I go into *#*#INFO#*#* , there are only LTE, CDMA, etc options and I don't get any signal. Replacing the Phone or Phoneprovider from another rom doesn't help.
Could a possible solution be to manually disassemble the phoneprovider apk and then add the extra options into it?

anyone?
.

Philip Mangelow's "Network" app allows you to switch to GSM (it really just lets you access a device menu). I don't know whether that would be enough, especially because the changes don't seem to persist over a system restart.

I have already tried that app, and it does give me any extra options, unfortunately..

Related

[Q] GSM APN/Network on CDMA/LTE rom?

I ported a CDMA rom to a HD2, (verizon branded, thunderbolt) but the radio does not work. A usual, I have used working RIL libs, set init.rc to load the correct rild binary, and set gsm settings in build.prop.
In phone testing, only the CDMA/LTE/etc options show, and the WCDMA and GSM settings are not available. I would like to enable those "missing" options and possible "disable" the CDMA options so the phone will default to CDMA network only.
I pinpointed the problem to com.htc.resources.apk and Phone.apk but I do not know where to start. Can anyone guide me in the right direction for editing smali code to enable/disable network settings?
Thanks in advance
Anyone? All I have gotten done is get the IMEI code to show, but that's all. By the way, the Thunderbolt also accepts SIM cards, but they are not the typical GSM sim card..
e334 said:
I ported a CDMA rom to a HD2, (verizon branded, thunderbolt) but the radio does not work. A usual, I have used working RIL libs, set init.rc to load the correct rild binary, and set gsm settings in build.prop.
In phone testing, only the CDMA/LTE/etc options show, and the WCDMA and GSM settings are not available. I would like to enable those "missing" options and possible "disable" the CDMA options so the phone will default to CDMA network only.
I pinpointed the problem to com.htc.resources.apk and Phone.apk but I do not know where to start. Can anyone guide me in the right direction for editing smali code to enable/disable network settings?
Thanks in advance
Click to expand...
Click to collapse
Framework too
Do you have any suggestions where to start editing?

[Q] *#*#4636#*#* Phone Info App/widget?

Would it be possible to create an app/widget in order to get to these settings more quickly? I know I shouldn't have to, but I'm finding that in order to stay on LTE, I need to toggle having just LTE turned on and not LTE/evdo. With WiMax phones, there was built in functionality to turn on only that radio since it was a separate radio from the 3g. It would be nice to be able to quickly toggle between only LTE and full mobile network.
I'm no programmer, so I wouldn't even know where to begin with this, but this would be some much appreciated functionality - not sure if anyone has even thought about doing anything like this or not.
Are you stock or running a custom ROM? Some roms (like viper4g) have a toggle in quick settings called Network Mode that lets you switch between cdma only and lte/cdma...is that what you're looking for?
Sent from my EVO LTE
I'm rooted running Mean 4.8. I know that I can switch between CDMA and CDMA/LTE, but if i go into dialer and hit *#*#4636#*#* and then go to Phone Information, you actually have the ability to turn on LTE only (no 3g).
I thought maybe setting this number with speed dial would be a quick fix that would cut out some of the steps, but it actually dials and then places the call, and I need something that just dials but does not place the call.
There's an app called network in playstore. It allows u to switch between whatever u want, LTE only, cdma only, cdma gsm LTE, cdma LTE, gsm & wcdma.
Has every combo/isolation u can ever want.
https://play.google.com/store/apps/details?id=de.mangelow.network
So, bam! Dreams come true!
Anthonicia said:
There's an app called network in playstore. It allows u to switch between whatever u want, LTE only, cdma only, cdma gsm LTE, cdma LTE, gsm & wcdma.
Has every combo/isolation u can ever want.
https://play.google.com/store/apps/details?id=de.mangelow.network
So, bam! Dreams come true!
Click to expand...
Click to collapse
This is perfect! EXACTLY what I was looking for! I knew I couldn't have been the first person to think of it. It doesn't show anything like the images on Google Play show, but it opens directly into the Phone Information screen that I get to from dialing the code, with the ability to change my network on the fly.
Thanks a ton!
It's built into Viper Tweaks
Anthonicia said:
There's an app called network in playstore. It allows u to switch between whatever u want, LTE only, cdma only, cdma gsm LTE, cdma LTE, gsm & wcdma.
Has every combo/isolation u can ever want.
https://play.google.com/store/apps/details?id=de.mangelow.network
So, bam! Dreams come true!
Click to expand...
Click to collapse
Will this app work on non-routed phones?
fceeviper said:
Will this app work on non-routed phones?
Click to expand...
Click to collapse
Most likely. Nothing in the playstore says anything about needing to be rooted, and the *#*#4636#*#* command has nothing to do with root. You can go to the dialer and type that in to get to the Phone Info screen from stock.
om4 said:
It's built into Viper Tweaks
Click to expand...
Click to collapse
Yes but i need shortest way to reach it...not go to tweaks>>Misc>>hidden phone info>>network info
i need one widget to reach in one click.

[Q] How to avoid 4G / 3G connection?

Since i got my OG, i always have used 3G / 4G connection
but sometimes i want save some battery and use EDGE or GPRS connection as many people here in Brazil does, but i dunno how!
how to do that?
thanks!
-settings
--wireless and networks
---mobile network
----network mode
-----GSM only
that's it
didn't have this "Network mode" in my phone...
some alternative way to do that?
*#*#4636#*#* in dialer, phone info, set to GSM Only.
Sent from my LG-E970
To get the network mode menu you can edit build.prop if you're rooted.
A tool like "Android Tuner Free" makes it easy to backup your build.prop and change it, if you don't already have a favored method.
The entry to change is "ro.radio.networkmode" and it is probably set to "disable". Set it to "enable", reboot your phone, and you will have the network mode menu available. But, I'm pretty sure changes made in this menu revert upon rebooting (maybe that is what the next setting in there, "ro.radio.topreviousmode" is for - I didn't touch it).

GE Preferred Network Mode

Hey guys,
I recently noticed that the default network mode on the Google Edition 4.2 dump is set to 0, or "WCDMA Prefered". Thus not enabling LTE on our devices by default.
It can easily be changed by using *#*#INFO#*#* on dial pad.
Im wondering if anyone knows where the default network mode is set or how we can modify the default network mode.
Im assuming its somewhere in Phone.apk or Settings.apk or some bool god knows where, if anyone can shed some light would be appreciated.
didnt work for me is there a diff code to enable lte or have i got to reflash a diff rom
I always used *#2263# to modify network mode
Sent from my GT-I9505G using xda premium
You guys are off topic..
I would also like to know how to change preferred network mode on my GE rom. None of the suggestions above work for me. If I enter the code *#2263# it tries to start something, but then it FC.
*#*#4636#*#* set it in there.
Set your default network mode in your build.prop too.
sent from my Verizon Galaxy sIV
Dubbsy said:
*#*#4636#*#* set it in there.
Set your default network mode in your build.prop too.
sent from my Verizon Galaxy sIV
Click to expand...
Click to collapse
What are you using to set in build.prop ? The CM10.1/2 methods of doing this does not work.
fOmey said:
What are you using to set in build.prop ? The CM10.1/2 methods of doing this does not work.
Click to expand...
Click to collapse
ro.telephony.default_network=(8 for me because I work with CDMA)
With that I also add a lot of prop lines for the Verizon network specifically. You'll have to add your own network's information
No matter what you set it at though, if you go into network settings it will auto-switch back to WCDMA. I haven't fixed the link and switching yet but I did change that menu link to automatically open up *#*#4636#*#* instead of the menu that switches it to WCDMA. Kind of a work around for the time being.
Dubbsy said:
ro.telephony.default_network=(8 for me because I work with CDMA)
With that I also add a lot of prop lines for the Verizon network specifically. You'll have to add your own network's information
No matter what you set it at though, if you go into network settings it will auto-switch back to WCDMA. I haven't fixed the link and switching yet but I did change that menu link to automatically open up *#*#4636#*#* instead of the menu that switches it to WCDMA. Kind of a work around for the time being.
Click to expand...
Click to collapse
The point is to hard code whatever property that menu is changing right into the rom.
CNexus said:
The point is to hard code whatever property that menu is changing right into the rom.
Click to expand...
Click to collapse
I agree, and I haven't been able to get it defaulted to my network by the any decompile/recompile system edits I've tried that i found through researching/reading. I'd welcome the direct answer as to where that specific bit of code lies but given this thread and the lack of answers I'm going to guess that help isn't coming.
I've been slowly working through each core app and framework editing everything relating to GSM, baseband, and radio. But I've not found or fixed that menu setting that defaults to wcdma. I've found the menu but nothing that would initiate it automatically changing to WCDMA without even clicking the dropdown menu.
sent from my Verizon Galaxy sIV

[Q] VZW Google Edition ROM 5.9 NO LTE

Hi, I am currently using the VZW Google Edition ROM 5.9 and have service and WiFi. My problem is it only connects to 3G, and not 4G. As advised, I have not gone into network settings, but I did open Phone Info and see that it is set to LTE/CDMA auto. Any reason I am not getting LTE?
Just a thought, but maybe you could check the APN settings and see if they are different than what you should have.
Heatshiver said:
Just a thought, but maybe you could check the APN settings and see if they are different than what you should have.
Click to expand...
Click to collapse
Thanks for the response. I am kind of new to this, where do I check the APN settings and how do I know what I should have? Thank you.
Do you have LTE coverage in your area? If so, can you use another phone/friend to double check if LTE is working? I only ask because we had LTE go out where we live.
Gir brings up a good point, I don't have 4G where I am (and probably won't for years!), but that may be simplest as long as they use the same network (although many carriers piggyback off the same network).
The APN settings should be under "Settings > More networks > Mobile networks > Access Point Names". On a stock ROM you have to get to the actual file through ADB, you should be able to see it if you have an aftermarket ROM. The settings for the APN will depend upon Verizon. Here is a good post with APN settings for Verizon, the first part is for Android.
Coverage could always be the issue as that has plagued me more times than not.
From the ROM thread:
Go into mobile network settings.
Verify that your CDMA subscription is set to RUIM and not NV.
For good measure go into the rest of the options and set it to CDMA/LTE, automatic, and allow data roaming.
Back out to your home screen.
Then go into Phone Info app.
Scroll to bottom and tap radio off.
Open the drop down list and select CDMA/LTE auto (PRL).
Turn the radio back on.
Reboot.
Upon reboot open Phone Info again.
Verify it is set to CDMA/LTE auto (PRL)
** you should have full service now * *
** if not * *
In Phone_Info(*#*#4636#*#*):
Try CDMA auto (PRL)
Then try CDMA/GSM/LTE
If those still don't work then your nv_data needs reset. The only way to do that is in the hidden menu dialer codes in a touchwiz-stocktype rom
If you destroy your nv_data and cannot get data back via the above you need to (stop screwing with your network settings)flash back to a TW ROM, enable hidden menu, and do a NV data reset via dialer code. After doing that make sure your phone is not in modem mode under diag dialer code. Until I update this section Google is your friend. And it is available information, verified. Your lack of searching skills doesn't mean pester my inbox...
I do have LTE in my area, as I had 4G before I loaded the rom. I do not have an APN menu under mobile networks. Do you think it could help to dial *228 option 2 to update roaming? Or possibly a new 4G sim card?
Anything about updating I would research first and be wary of... A new SIM card could help, but I'm assuming it is not the problem. Did you make a NANDROID before you changed ROMs? You could then go back and see it you still got 4G to make it evident if your SIM card is the problem.
FIXED
Just needed a new sim card. Thanks guys. I appear to be receiving signal bars with my LTE on the GPE rom as well.

Categories

Resources