[Q] GSM APN/Network on CDMA/LTE rom? - Android Q&A, Help & Troubleshooting

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?

Related

Adding "GSM" Option on a CDMA rom?

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..

Thunderbolt Modem Settings

I've contacted Verizon about the constant data-dropping issue I've been having with my Thunderbolt. The suggestion was to change the modem settings through:
Dial ##778
Edit Mode
000000
Modem Settings
Rev. A
Enable
OK
Menu
Commit Modifications
My question is, would these settings stay if I wipe and change ROM, especially from Sense to AOSP? I'm assuming ##778 woudn't even work under AOSP, but if I changed it under Sense, would the settings stick?
Yes, even if you wipe everything it was still active 3 roms later when I went to see why the handoff between 3g and 4g was taking so long it was still under enable.
If I helped you in any way please use the thank you button
So what does each option do? I mean enable vs ephrd? I have had data drop issues and I just changed the Rev.A settings to enable. But I would love to know why I am doing this.
That would disable 4G, I suppose?
How to program the model under a different service provider? I installed Official Rom 2.3.4 (Sense 2.1) # 2.11.605.5
After logging into the engineering menu and connect to the program QPST & DFS (as well as after dialing # # 778) line displays the ESN number 000000. Normally there should be a set of numbers \ letters.
I have no idea ... : (

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.

Verizon One Max on T-Mobile LTE?

Hi.
As far as I know from digging in the specs from different sources - one max from Verizon is capable of AWS LTE band 4.
The problem is that it never gets connected to LTE on T-Mo.
I have forced it from info menu to LTE only, but it stays disconnected.
Can anybody shed light on what may be preventing the Tmo AWS LTE to work on a AWS compatible one max.
May it be in need of software update?
Need to put in TMo APN info maybe...
Jiggity Janx said:
Need to put in TMo APN info maybe...
Click to expand...
Click to collapse
Tried
*I believe* the aws has to be enabled through a software update like the gs4 was when aws was enabled for verizon. Otherwise I would be getting verizon aws speeds in my area with my verizon one max right now.
Jiggity Janx said:
*I believe* the aws has to be enabled through a software update like the gs4 was when aws was enabled for verizon. Otherwise I would be getting verizon aws speeds in my area with my verizon one max right now.
Click to expand...
Click to collapse
That actually makes sense.
Thank you for your input.
Actually it's in a hidden. menu
Antigen said:
That actually makes sense.
Thank you for your input.
Click to expand...
Click to collapse
I'm currently using a note 3 Verizon on tmo lte. And band 4 had to be enabled in a hidden menu. If someone had the dial codes to the band selection on the HTC one max that would fix it.
saw the note 3 how to on tk tech news on youtube.
TechSoft said:
I'm currently using a note 3 Verizon on tmo lte. And band 4 had to be enabled in a hidden menu. If someone had the dial codes to the band selection on the HTC one max that would fix it.
saw the note 3 how to on tk tech news on youtube.
Click to expand...
Click to collapse
When I looked into this because I am in a verizon aws area it was not possible because we have the same setup as the verizon one (not the verizon s4 which I also have or n3). The One does not have the software part required for aws to work and neither would we.
note 3, blackberry z30, lg g2, htc one max all on TMOBILE LTE!
Jiggity Janx said:
When I looked into this because I am in a verizon aws area it was not possible because we have the same setup as the verizon one (not the verizon s4 which I also have or n3). The One does not have the software part required for aws to work and neither would we.
Click to expand...
Click to collapse
I just followed the procedure on a video at TK Tech News on YouTube. it shows the LG G2 working on TMOBILE LTE and they also stated putting a aosp rom on the HTC one max enables TMOBILE LTE or allows you to force cat 4 lte.
I'm in the process of rooting and s off this one to see if it works. it has and I've confirmed it working on the g2 and the note 3 as well as the blackberry z30.
thanks
TechSoft said:
I just followed the procedure on a video at TK Tech News on YouTube. it shows the LG G2 working on TMOBILE LTE and they also stated putting a aosp rom on the HTC one max enables TMOBILE LTE or allows you to force cat 4 lte.
I'm in the process of rooting and s off this one to see if it works. it has and I've confirmed it working on the g2 and the note 3 as well as the blackberry z30.
thanks
Click to expand...
Click to collapse
There is no aosp rom for the Max with working radio. No kernel source. So they can say putting a aosp rom on there does it all they want but no one can do it currently.
Working!!!
That guy is full of it. But after some trial and error I got it working and have full 4G speed.
In build.prop change or add these if they dont exist
ro.ril.gprsclass=14
ro.ril.hsdpa.category=14
ro.ril.hsupa.category=7
ro.ril.hsxpa=2
ro.telephony.lteOnGSMDevice=1
ro.telephony.default_network=9
Also open the /system/customize/ACC/default.xml file, is a boolean variable “sku_id”. Change the value of “sku_id” to the t-mobile one. Then save the file, and reboot your device.
<item type="integer" name="sku_id">11</item>
Then go into the *#*#4636#*#* menu with the phone dialer (it will be enabled now) and change the network type to "GSM/WCDMA/LTE auto"
barrygeorge001001 said:
That guy is full of it. But after some trial and error I got it working and have full 4G speed.
In build.prop change or add these if they dont exist
ro.ril.gprsclass=14
ro.ril.hsdpa.category=14
ro.ril.hsupa.category=7
ro.ril.hsxpa=2
ro.telephony.lteOnGSMDevice=1
ro.telephony.default_network=9
Also open the /system/customize/ACC/default.xml file, is a boolean variable “sku_id”. Change the value of “sku_id” to the t-mobile one. Then save the file, and reboot your device.
<item type="integer" name="sku_id">11</item>
Then go into the *#*#4636#*#* menu with the phone dialer (it will be enabled now) and change the network type to "GSM/WCDMA/LTE auto"
Click to expand...
Click to collapse
Did This work? If So I need somehelp on where i need to do to enter the codes. Do i need to me rooted?
You need root to edit those files.
barrygeorge001001 said:
That guy is full of it. But after some trial and error I got it working and have full 4G speed.
In build.prop change or add these if they dont exist
ro.ril.gprsclass=14
ro.ril.hsdpa.category=14
ro.ril.hsupa.category=7
ro.ril.hsxpa=2
ro.telephony.lteOnGSMDevice=1
ro.telephony.default_network=9
Also open the /system/customize/ACC/default.xml file, is a boolean variable “sku_id”. Change the value of “sku_id” to the t-mobile one. Then save the file, and reboot your device.
<item type="integer" name="sku_id">11</item>
Then go into the *#*#4636#*#* menu with the phone dialer (it will be enabled now) and change the network type to "GSM/WCDMA/LTE auto"
Click to expand...
Click to collapse
Can anyone please tell me what I need to do to get to build.prop to change or add this information. I am currently rooted with s off and supercid, using NuSenseSIX Rom.
**Edit**
Nervermind I figured it out. There's a app called "buildprop editor" that takes you where to go and let's you add or change what you need to. Also you definetly need to change the sku id to 11 or it will not work. If you have problems saving the change to the sku id, install fx file explorer and fx file explorer (root ad-on) from the google play store. The apps were created by NextApp Inc. The FX file explorer has a lock icon that you click on in the upper right corner that will give r/w capabilities necessary to save any changes.
This may help further.....
barrygeorge001001 said:
That guy is full of it. But after some trial and error I got it working and have full 4G speed.
In build.prop change or add these if they dont exist
ro.ril.gprsclass=14
ro.ril.hsdpa.category=14
ro.ril.hsupa.category=7
ro.ril.hsxpa=2
ro.telephony.lteOnGSMDevice=1
ro.telephony.default_network=9
Also open the /system/customize/ACC/default.xml file, is a boolean variable “sku_id”. Change the value of “sku_id” to the t-mobile one. Then save the file, and reboot your device.
<item type="integer" name="sku_id">11</item>
Then go into the *#*#4636#*#* menu with the phone dialer (it will be enabled now) and change the network type to "GSM/WCDMA/LTE auto"
Click to expand...
Click to collapse
I found out something tricky with this phone, "ro.ril.gprsclass=14" was causing my phone to hang on boot so I kept resetting it with the hardware keys so after I got it booted up, I proceeded to delete the ro.ril.gprsclass=14 in buildprop or sometimes the phone would delete it first and second I spotted a key that looked similar to "ro.telephony.lteOnGSMDevice=1" in buildprop which was "telephony.lteOnCdmaDevice=1". Noticed the CDMA wasn't all Caps????. So I modified the Key in buildprop to look like this "ro.telephony.lteOnGsmDevice=1", only the "G" is capped in GSM......And After I did that I restarted the phone and after it booted, I proceeded to phone test menu and changed it to "GSM/WCDMA/LTE auto" and boom I've noticed the "4GLTE" showed up in my status bar so I did a speed test and surely I was getting 30 Mbps Down and 10 Mbps Up. One other good thing is my MMS IS WORKING!!!!!!! just ass fast as an SMS!!!!!
The Rom I'm Using Is: NuSenseSIX-LP_t6_RC5.0.4.2_11132015
UPDATE: Everytime you restart your device, the test menu reverts back to "GSM prl" so just put it back on "GSM/WCDMA/LTE auto" and your LTE will return.
Will this work with sprint variant
Sent from my HTC0P3P7 using XDA Free mobile app

Categories

Resources