yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] xaueious:
Did some catchup in this thread.

So LTE data is working, but you can't get a location lock (AGPS), and as a result Google Now does not work? That's weird...

I'm also reading some weird advice about setting the phone to 'LTE/GSM auto (PRL)' instead of 'LTE/GSM/CDMA auto (PRL)'. What's the difference between these two in practice?

If the build.prop ril settings don't take effect till after a factory reset, it's probably something in /data. It might be sitting in a one of the Android settings provider databases.
[Nexus 4 General] zivan56:
http://www.anandtech.com/show/6474/nexus-4-includes-support-for-lte-on-band-4-aws

There is hardware to support band 4, 2, and 1 LTE.

There are lots of places where it can be used:

http://en.wikipedia.org/wiki/E-UTRA#Frequency_bands_and_channel_bandwidths

There are networks in your link that are I/II so its definitely a worthwhile effort.
[Nexus 4 General] kaiser_tytnii:
so far, it seems to me that the build.prop method (and factory reset) works and sticks as long as you do not change APN... so it would work for Telus/Koodo or even Bell if they do not have another set of APN for LTE... but for Rogers/Fido, we need to dig further to mod the default APN to ltemobile.apn instead of the default HSPA one in combination of the build.prop... so /data might be a place we could look into or as I noted last page, framework-jar.apk
[Nexus 4 General] xaueious:
Isn't there just a apns-conf.xml in /etc?
[Nexus 4 General] efrant:
That is an option for devices that have CDMA radios, which the N4 does not, so both of those options will do the same thing.

Iirc, the default setting in the GNex was dependent on the radio interface layer (i.e., RIL), which was located at /system/vendor/lib/libsec-ril.so. If you replace that file with a file from one of the non-Google built ROMs (like yakju**), it would change the default setting.

But the N4 doesn't have that file. These are the files with ril in the name:

/system/lib/libreference-ril.so

/system/lib/libril-qc-qmi-1.so

/system/lib/libril-qcril-hook-oem.so

Just throwing it out there in case anyone has any thoughts/ideas.
[Nexus 4 General] kaiser_tytnii:
they don't share the same file because of the manufacturer of the SoC (or radio) SEC for samsung while qc for qual comm... i believe

Great thought tho! if i could pull the lib files from Optimus G (E971) then we might have a winner!

---------- Post added at 04:36 PM ---------- Previous post was at 04:33 PM ----------

Great! thanks for the info! been too busy at work to search! so now Rogers/Fido devices should be able to get LTE stick with LOC by modifying the apns-conf.xml alongside with build.prop mod and factory reset!

so i guess the last piece of the puzzle is to figure out what the effect is to do factory reset! I would love to look into /data ONLY if I have the Nexus on hand.

we are making progress here! :victory:
[Nexus 4 General] xaueious:
My bad about the whole build.prop thing. Turns out build.prop is the easiest way to do it besides another workaround, because SettingsProvider takes props from there and overwrites the global table settings provider on boot.

As for the default setting in RIL, code here:

https://android.googlesource.com/pl...00669613c2a8aa7/reference-ril/reference-ril.c

I don't understand the code exactly, but I am guessing the preferred network setting is hardcoded into the baseband proprietary so, or baseband firmware itself. You can override it higher up, but it's too much work... It's probably the baseband modem setting the default. In this case, it's a mess to try to fix with libs.

init.d or a root app should be able to write the setting on boot, once we figure out where that is.

Function 'query_ctec'.
[Nexus 4 General] kentt1:
Yeah I just pulled it. We just need to change:

<apn carrier="Rogers"
mcc="302"
mnc="720"
apn="rogers-core-appl1.apn"
mmsc="http://mms.gprs.rogers.com"
mmsproxy="10.128.1.69"
mmsport="80"
type="default,supl,mms"
/>

to

<apn carrier="Rogers"
mcc="302"
mnc="720"
[B] apn="ltemobile.apn"[/B]
mmsc="http://mms.gprs.rogers.com"
mmsproxy="10.128.1.69"
mmsport="80"
type="default,supl,mms"
/>

It should still fall back to 3G when LTE is not available then I assume.

I'll test this once my replacement phone shows up.
[Nexus 4 General] xaueious:
I answered my own question about the different default network modes

int NETWORK_MODE_LTE_CDMA_EVDO = 8; /* LTE, CDMA and EvDo */
[B] int NETWORK_MODE_LTE_GSM_WCDMA = 9; /* LTE, GSM/WCDMA */[/B]
int NETWORK_MODE_LTE_CMDA_EVDO_GSM_WCDMA = 10; /* LTE, CDMA, EvDo, GSM/WCDMA */
int NETWORK_MODE_LTE_ONLY = 11; /* LTE Only mode. */

https://github.com/android/platform.../android/internal/telephony/RILConstants.java

I am not sure if setting to '10' does anything for the Nexus 4 any differently than setting to '9', but '9' is the correct setting according to these comments, since '10' is for CDMA/EvDo. It might make do nothing at all. To be safe, people should be choosing LTE/GSM in the menu, not LTE/GSM/CDMA. Otherwise it's just wrong.
[Nexus 4 General] efrant:
It does nothing at all. 9 and 10 are the same for the N4.
[Nexus 4 General] efrant:
I'm pretty sure that it's not in the baseband firmware, but in the proprietary RIL. Using the file from the Optimus G might work, otherwise, as you said, a root app or in init.d.
[Nexus 4 General] THE_KINGDOM:
I guess we need some of the files from the Optimus G and experiment. Google Now works fine for me here, only gps data is not working.
[Nexus 4 General] zivan56:
What can be done is to create a RIL wrapper that simply implements all the function by calling the "real" RIL library. Then implement query_ctec (or whatever its called) to always pass flags for:

MDM_LTE | MDM_GSM | MDM_WCDMA, // 9 - LTE, GSM/WCDMA

To the real RIL library.

Source: https://github.com/android/platform_hardware_ril/blob/master/reference-ril/reference-ril.c
[Nexus 4 General] kaiser_tytnii:
just a thought, would creating a flashable zip to add the 3 lines into build.prop and altering the APN setting in the APNsetting.conf sufficient to do the work? (after flashing, as build.prop and apn setting would get overwritten every time you flash a new ROM, say CM 10.1 nighties..)
[Nexus 4 General] THE_KINGDOM:
The same people that are experiencing GPS data problems here, are you seeing a GPS lock icon come up in the status bar with the app info pointing to system UI?? It's happening all the time for me and it's very annoying, I can only assume it's using a lot of battery
[Nexus 4 General] integramodder:
You're kidding right? Depending on who gets this phone, its very easy to eat through the 8GB limit. Download a couple games like need for speed at 1.2 GB a piece, throw some music on there for listening while you're on a plane, and a single movie, and you're done.

---------- Post added at 02:36 PM ---------- Previous post was at 01:53 PM ----------

What are you doing other than selecting LTE from the phone info screen to get it to connect?

If I switch to LTE and reboot it boots as WCDMA as discussed here. I've tried all the usual options such as airplane mode etc to get it. The only thing I'm left with is thinking that my SIM may not support LTE as ATT like to give out an LTE SIM, but not sure if this is really needed.
[Nexus 4 General] morrislee:
Not many regions in US supports LTE for AT&T, that is why your phone is jumping back to WCDMA

Even if you get LTE, you won't be able to enjoy it in all AT&T LTE advertised area, majority of the towers are not supported by the frequencies Nexus 4 supports
[Nexus 4 General] mrfantastic:
Damage to N4 using LTE

Im wondering if using LTE might in the long term damage the phone just cuz it wasnt designed to handle LTE, has anyone kept LTE on for a long period of time like a few days or more??
[Nexus 4 General] Qbancelli:
It WAS designed to work with LTE, on band 4.
[Nexus 4 General] Devildog78965:
Luck lte Ppl I wish I was Canadian
[Nexus 4 General] zim2dive:
I get the same crash.. never get to the list where I would select the band (I've seen this/similar menu before on my S4G). I'm on TMoUS.
[Nexus 4 General] cobyman7035:
im on the rogers ltemobile.apn, and when i reboot it defaults to WCDMA preferred

is that the correct band to use for fastest NON 4g/LTE speed or do i use GSM auto PRL

i only get LTE if i pick the LTE only mode

i might have a faulty or weak hardware radio signal

i get terrible H,3g/4G speeds
[Nexus 4 General] cobyman7035:
Ltespeedtest
[Nexus 4 General] icepixie:
When I need to tether, the setting goes back to "WCDMA Preferred". Otherwise, for LTE it's "LTE/GSM PRL" for me.

In Ottawa, at my place I get those similar numbers as well when on LTE. I'm with Rogers as well.
[Nexus 4 General] Duuuude:
My friend had the same issue when he got the iPhone 5 and couldn't tether anymore (worked fine with the 4s previously) with LTE on Rogers because they restricted it. He then arranged to get a special LTE-tethering plan and it was fine after that.

Hopefully it's not the same with the Nexus 4.
[Nexus 4 General] cobyman7035:
Ok I tried another location outside got better signal speeds

°°°Nexus™ 4 via XDA Premium App°°°
[Nexus 4 General] Waibashi:
Like this might be a stupid question but, is there any ways that Rogers will charge me more since I'm using custom APN (paranoid here lol).

Also, any tools/roms so far that were created to "simplify" the process when rebooting the phone ?

So far, it's great ! Getting 40mbps with the setttings from this thread.
[Nexus 4 General] kaiser_tytnii:
U mean custom ROM? No

*#*#4636#*#* is as simple as it could go for now, there were some solution in the market but nothing works particular well
[Nexus 4 General] fnf:
I just had a look at the box and found that the supported frequencies are:

GSM 850/900/1800/1900 WCDMA 850/900/[B]AWS/1900/2100[/B]

It seems Google/LG has included support for these specific frequencies eventhough they don't advertise as such. This may alleviate some concerns that LTE will be disabled by software in future firmware updates.
[Nexus 4 General] yyz71:
The only problem I have when i select LTE it's good :good: But I can't make a calls or get calls:confused: Any help?
[Nexus 4 General] mattkroeder:
Try setting it to LTE/GSM instead of just LTE
[Nexus 4 General] chug:
So I assume that it is still the case that GPS gets borked when enabling LTE?
[Nexus 4 General] Matt1408:
GPS still works! It's the cell tower location that doesn't work. Try positioning yourself near a window (or outside) and you will get a GPS lock no problem.
[Nexus 4 General] cobyman7035:
I use ltemobile.apn rogers settings. Reboots still uses it. Getting fast lte now in certain areas outside

°°°Nexus™ 4 via XDA Premium App°°°
[Nexus 4 General] zim2dive:
I'll ask again.. stock build.. I dial the magic number, then go to "phone information" then click in the ... for settings, the "select radio band", and every time I get "Unfortunately, the process com.android.phone has stopped".. why can't I get where others obviously are able to get?

(I used this menu on my Sensation4G with no issues). I saw something that suggested that the SIM could be provisioned to disallow LTE? could that be the issue? Again, I don't ever get to the point where I see the list of radio bands to pick from.
[Nexus 4 General] shotta35:
You are confusing radio frequency with radio technology. As you quoted, GSM and WCDMA (eventually LTE) all work on 850/900mhz. The phone is listed as supported for WCDMA AWS support, LTE AWS or "Band 4" is what's not listed because it's not supported.

No AWS in my neck of the woods and I wouldn't get it either way as i'm doing prepaid, so no loss to me. I get 7-10Mbps now anyways on HSPA+.
[Nexus 4 General] lexcyn:
You don't need to chose the bands, you have to pick network type. Make sure it's set to LTE/GSM/CDMA/Auto or you can try LTE only to ensure you have LTE coverage.
[Nexus 4 General] twitchcity:
I'm still having a problem tethering on LTE on Fido. At present I have 4 APNs listed for Fido (with just the custom settings listed for each):

1) Fido Internet -

APN: Fido-core-appl1.apn

MMSC: http://mmms.fido.ca

MMS proxy: 205.151.11.13

APN Type: default,supl,mms

2) Fido LTE -

APN: LTEMOBILE.APN

3) MTS-Roaming -

APN: sp.mts

MMSC: http://mmsc2.mts.net/

MMS proxy: 209,4,229,90

MMS port: 9401

MCC: 302 / MNS: 370

APN Type: default,supl,mms

4)Tethering -

APN: LTEMOBILE.APN

APN Type: tethering,dun

The first and third APNs were automatically added by my phone (Nexus 4); while the 2nd and 4th were manually inputted.

Tethering works if I disabled LTE and use a fifth APN (for fido.isp.apn); I would really like it to work on LTE though!

Do I need all of these APN profiles? Can I consolodate any of them? (e.g. maybe add type "default" and "tethering" to Fido LTE?
[Nexus 4 General] oupavoc:
Love the phone and LTE is awesome :)
[Nexus 4 General] zim2dive:
AHHHHHHHH.. thank you! I didn't grok that little triangle was a pull-down menu (I thought it would expand/collapse that section of text)
[Nexus 4 General] lexcyn:
No problem :)

Now ... weird issue, Telus shows me in an LTE coverage area except LTE does not work. Unsure if coverage map is wrong or if something is up with my phone.
[Nexus 4 General] cobyman7035:
I dont think. Nexus™ 4 can tether LTE. ONLY HSPAP

°°°Nexus™ 4 via XDA Premium App°°°
[Nexus 4 General] lexcyn:
Turns out Telus/Bell updated their coverage map for my area prematurely and LTE is not available yet :( Network engineer said by end of December or most likely sometime in January.
[Nexus 4 General] cobyman7035:
Yes maxin oout ltemobile. Speed it all depends on location and signal bars. This was inside a mall

°°°Nexus™ 4 via XDA Premium App°°°
[Nexus 4 General] mrbkkt1:
Ironically, if you have battery monitor, the when you open the app, the tests menu is in there, which provides super fast access to the 4636 menu.
[Nexus 4 General] neotekz:
there is also an app call secret settings that give you access. I just flashed AOKP and it gives you option to have lte toggle switch. Doesnt work right since i can turn on LTE but not off but it gives you an option to have a 2G toggle that i use to turn 4g off.
[Nexus 4 General] everythingsablur:
TELUS in downtown Toronto seems pretty saturated on the downstream. Over the last two days, I'm getting pretty consistent results with my N4 on LTE; ~12 Mbps down, ~20 Mbps up. By comparison, my DC-HSPA connection maxes out most of the time (not rush hour...)
[Nexus 4 General] Leegalaxy:
I'm on Bell and I simply cannot get my phone to connect to 4G data. I have an LTE SIM, I called and had them change my account to enable LTE, I chose, LTE/GSM, LTE only, LTE/GSM/CMDA... but to no avail...

I know that the APN doesn't need to be changed but I tried that anyway. It will connect and I get full bars but it will never connect to data.

Anyone here on Bell have that issue? If so, were you able to find a method to get it working? I hear about a build prop spoof but I'm not convinced that this should matter...

Any advice would be great.

Thanks
[Nexus 4 General] mempf:
This fix worked for me when I enabled LTE tethering.

http://xdaforums.com/showpost.php?p=34662473&postcount=11
[Nexus 4 General] everythingsablur:
This is because there aren't any carriers (ok, maybe Sprint in the US) who support Voice over LTE (VoLTE). The Nexus 4 and all other LTE devices need to drop back to HSPA (on GSM) when in a voice call. After the call, it can reconnect to LTE. If you set the device to LTE only, then you basically are disabling any voice capabilities.
[Nexus 4 General] twitchcity:
That is very interesting, thanks! I'm rooted but still running stock at the moment. Does that fix only apply for CM?

Also, are you on Fido by any chance? If so, could you confirm that my APN settings are the same as yours (I listed them in this post)?
[Nexus 4 General] yyz71:
I got it working without a fix:good:Tethering to my laptop with LTE...
[Nexus 4 General] UberSlackr:
Could someone make a thread or point me to one that Explains how to get LTE working if even possible.

Its so time consuming reading through 50+ pages of comments, and most of the first few pages are of people calling BS.

Then if you skip a head it seems that its not BS... yet still can not find the answer between the BS and Not BS posts..

:eek:
[Nexus 4 General] mempf:
The fix should work if your rooted regardless if your running CM or stock. I am on Rogers so I can't verify the APN settings.

---------- Post added at 03:44 PM ---------- Previous post was at 03:42 PM ----------

Here is a straight forward how to on enabling LTE on the Nexus 4:

http://techcrunch.com/2012/11/23/how-to-enable-4g-lte-on-the-google-nexus-4/

It should work if your on a Canadian carrier with LTE or in limited regions in the US.
[Nexus 4 General] zivan56:
I had a look at a Bell LG E973 radio (which supports LTE over AWS and 2600Mhz) from:

http://xdaforums.com/showthread.php?t=2009600&highlight=nexus

The files in the image are the same names as the Nexus 4 one. The only difference in filenames is that the E973 has these "dxhdcp2.xxx" files, which I assume is HDCP support for HDMI out via the S4 itself.

So the Optimus G seems quite similar in terms of radio firmware.
[Nexus 4 General] Rengoku:
I've been using Notification Toggle to enable LTE, it adds a 4G toggle that sends you directly to the 4636 menu, but theres the extra step where you have to select the LTE option from that menu, is there any app out there that can bypass this step and enable LTE directly?
[Nexus 4 General] efrant:
If someone access to an Optimus G from Rogers or Bell or Telus, it would be interesting to see what the default would be on that device. I have a feeling that it would be LTE/GSM auto. If that is indeed true, we may be able to grab the RIL (radio interface layer) file from an Optimus G and use that on the N4, which I suspect would change the default of the N4 to that of the OG.
[Nexus 4 General] zivan56:
Just went over the service manual for the Optimus G and specifically LTE part.

Doesn't look good to me in terms of being complete for anything other than Band 4 LTE.

If you look at this:

http://www.ifixit.com/Teardown/Nexus+4+Teardown/11781/3

Step 18, the blue part, its responsible for LTE. It has a completely different design than the Optimus G, except for the fact it has the same chips. However, its missing a lot of SMD capacitors. That blank area surrounded by gold coloured bars is supposed to be a sea of components.

The only reason that Band 4 appears to works is that it is highly intertwined with the GSM/UMTS part which is really similar. Likewise, LTE bands other than 4 are supposed to have 2 separate u.fl connectors:

http://www.anandtech.com/Gallery/Album/2435#17

See the 2 circle cutouts on the black plastic near the camera lens and on the opposite edge. There should be 2 connectors there but it is blank. Likewise, there is an antenna switch missing beside the one near the camera.

Barring LTE band 7 (2600 MHz) using shared circuitry for band 4, it seems very unlikely it would work.

Likewise, taking the board from an Optimus G, if it even works, might disable some features, the Nexus has an extra connector.
[Nexus 4 General] cobyman7035:
Seems like too much typing.. Is there a script or widget fore newbies?
[Nexus 4 General] mempf:
I have managed to get LTE to stick as the default without needing to factory reset the phone.

First of all you need to modify the build.prop file and add this this line:

telephony.lteOnGsmDevice=1

You may need to remove a line that says:

telephony.lteOnCdmaDevice=0

After doing this reset the Nexus 4.

After it restarts go into Settings, More..., Mobile networks.

A new menu option should exist called Network Mode. In this menu you can pick the default mode and change between then.

This should stick between reboots without needing to factory reset the phone. This will need to be done again when flashing a new rom as it will overwrite the build.prop file. This was all tested on CM10.1 nightly builds.
[Nexus 4 General] cobyman7035:
Are you on rogers canada?

°°°Nexus™ 4 via XDA Premium App°°°
[Nexus 4 General] mempf:
Yes
[Nexus 4 General] everythingsablur:
How do you find battery life with LTE enabled all the time? Is the transition between HSPA and LTE (back and forth due to signal strength or voice calls) seamless and consistent?
[Nexus 4 General] cobyman7035:
Hella fast!!!

I just made another apn setting ltemobile.apn chose that and it defaults on reboots to it

°°°Nexus™ 4 via XDA Premium App°°°
[Nexus 4 General] DizzC:
Works like a charm. Thanks.
[Nexus 4 General] wirelezzz:
Here is a taste of rogers and the Nexus 4 enabled LTE . that's what I call speed !!!

Sent from my Nexus 4 using Tapatal
[Nexus 4 General] sirholm:
LTE in Denmark?

Hi.

I've edited my build.prop to enable LTE, but it seems like the networks wont work, but please confirm.

In Denmark we use 1800 and in future 2600 for LTE and iPhone5 can with iOS 6.1 use LTE on 1800 now.

Since Nexus4, as I've read, only have 1700 and 2100 for LTE, it will never be able to use Nexus4 with LTE in Denmark ?

I've tried alot this evening, but just seeking a confirmation that this phone wont get it :)

Thanks

PS: Atm I use 3 (three) as provider, but seems like competitors are using same networks :(

Edit:

Got it confirmed by checking this site: http://en.m.wikipedia.org/wiki/List_of_LTE_networks

Europe is 1800/2600 and US is mostly 1700/2100, so this device is for US :(
[Nexus 4 General] :
Thanks dude
[Nexus 4 General] icepixie:
So I take it if I modify my built.prop file with the above I won't be able to tether because tethering w/ LTE on is broken?
[Nexus 4 General] mempf:
Correct, at the moment LTE tethering is broken by default.

However there are ways to get it to work and it is easy to drop back to HSPA+ when/if you need to tether.
[Nexus 4 General] everythingsablur:
Not even. The US carriers are deploying LTE on numerous frequencies, depending on what licenses the carrier has in particular areas. T-Mobile in the US will be all 1700/2100 when they roll out next year. AT&T is sporadically on AWS spectrums in some markets. By and large, the only full blown AWS spectrum LTE rollout is in Canada. So for us Canadians on our big three carriers, the Nexus 4 can be an LTE device.

Don't feel bad, the great majority of the world doesn't get LTE on this device (but then again, it is not marketed or sold as an LTE phone).
[Nexus 4 General] Enhanced:
Seamless and consistent yes, but I find battery life to be terrible. Not something I'd keep on for day to day use, but only when I need to download/upload something quickly.

Then again, it could be because my phone is still fresh and the battery still needs to be calibrated, but from my initial experience, the battery numbers drop way too quickly to warrant any routine use. Plus, for normal web browsing and such, HSPA/3G is more than enough. Maybe LTE for YouTube videos is nice to prevent some buffering, but I don't find that many uses for LTE besides a quick download/upload as mentioned before.

Overall, having LTE available for these moments that I need a quick connection is more than enough. While the battery suffers, I'm more than content with the OPTION of having fast speeds at my fingertips. As such, Nexus 4 + LTE = perfect phone.
[Nexus 4 General] morrislee:
From my experience, if you already know how to tether with LTE, means you are rooted, you should install CM10.1

CM10.1 has been updated with the firewall rules for LTE tethering,works very well for me so far, I have the LTE button on the notification drop down as a speed boost when I need fast download, remainder of the time I stay on HSPA+
[Nexus 4 General] Enhanced:
The LTE button on the notification pulldown is from the ROM itself or a 3rd party app? And does it instantly activate LTE or does it just bring you to the Phone Info menu?

I've been looking for a simple LTE toggle for a long time now as a Canadian N4 user. Are you using the official nightlies or Euroskank/Jellybro kangs for these options?
[Nexus 4 General] mattkroeder:
Gave the latest nightly a try. Doesn't seem to work here or maybe I'm doing something wrong.

I can enable LTE and then turn on wifi tethering. The device will connect to the N4 but no sites will load. I can then go disable LTE and go back to HSPA+ and the data connection works fine.