yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] gorilla p:
That phone already has LTE support. This flashes a LTE capable hybrid modem on a phone that's current modem doesn't support LTE and also makes adjustments to ensure the LTE settings stick.

The issues you're having are likely due to an improper APN or bad chip. Your phone supports LTE bands 4 and 17. And the N4 only supports band 4 so you have the same band support as the N4, and your brothers provider supports band4 (because he wouldn't have LTE otherwise) , so assuming you're on the same network, you either have the wrong APN or a bad chip.
[Nexus 4 General] heie:
LTE on cm12

Is there a chance to get LTE on cm12?
[Nexus 4 General] Nick N:
Thanks. I may try getting a new SIM card. My APN is the same as his, a lot of E970 owners have the same issue with LTE on Tmo. I can catch LTE signal every now and then, but it never connects. AT&T owners do not have the same issues.
[Nexus 4 General] acejavelin:
LTE works on CM12, just doesn't stick, you have to manually enable it every reboot. Try 4G Switcher in the Play Store.
[Nexus 4 General] heie:
I'll try. Thank you
[Nexus 4 General] AvidPhisherman:
Connectivity Flucuation

Flashed 2.11 yesterday, it's working great so far! Huge speed bump while using my data connection. I use the Telus network.

The only issue I've noticed (and I'm not even sure that this is a real issue), is that while connected to WiFi at home the Mobile Connectivity indicator fluctuates widely, e.g. it goes from 50% to 75% to 0%, back up to 50%, back down to 0%, etc etc, and all of this within a time period of about 30 seconds.

Not sure if this would affect my ability to receive calls or SMS messages while Connectivity is indicated to be at 0%. Has anyone else experienced this same issue?
[Nexus 4 General] Poor Grammar:
I just flashed this im using straight talk t mobile and seems to be great so far. Will report back
[Nexus 4 General] gorilla p:
No issues with WiFi, but in your case, I have to assume that this is a potential topography issue.

Perhaps a lot of devices in the area, a failing router or improperly configured router?

I had a number of issues due to being in an apt building where everyone has their own router and 1-5 devices.

Switching to 5.0GHz made a world of difference.

Sent from my Nexus 4
[Nexus 4 General] smartymcfly:
Has anyone used multirom with KitKat as the main ROM and lollipop as an alternate?

Will the kitkat radio from v1.5lte+hdvoice with radio .33 and .103 work on lollipop or will the v2 radio work on kitkat?
[Nexus 4 General] AvidPhisherman:
Thanks for your response.

I'm actually not referring to the Wifi Connection, the strength of which is fine, but rather just the Mobile Connectivity indicator. I've attached a screenshot, hopefully this helps clarify what I mean.
[Nexus 4 General] yochananmarqos:
While WiFi is connected, GPRS is disconnected. The mobile radio only maintains it's GSM connection to listen for new SMS & phone calls. It also uses a lower power state: mDcPowerState=1. While WiFi is disconnected, it uses a higher power state: mDcPowerState=3.

Does it still happen while WiFi is disconnected & mobile data is active?
[Nexus 4 General] AvidPhisherman:
That makes a lot of sense re: less power required to handle SMS and voice calls. While Wifi is disconnected the strength of the data connection seems fine. Thanks!
[Nexus 4 General] 350Rocket:
This is what I got after flashing this mod. On Telus in Canada. Not too bad?

One question though, I couldn't find mentioned here. The signal bars randomly drop to nothing and in settings I can see my asu jumps up to 99 which triggers signal bars to drop but the dBm is still showing a strong signal. Like 80 and lower. Asu always seems to be pretty high which is stronger signal isn't it?

I haven't made any voice calls or been able to confirm any actual drop in service because it seems to show no signal for a brief few seconds but nothing has failed to load so far.
[Nexus 4 General] acejavelin:
I see this all the time... Hasn't seemed to be service affecting. The negative to these modems is the lag time between GSM to LTE handoff like after a voice call or to a lesser degree the LTE to GSM handoff. My N4 takes 10-30 seconds, during that time you cannot make/receive calls or texts or access data after a call, and occasionally gets stuck in GSM and won't jump back to LTE, and call setup times when calling out are noticeably longer as LTE is handed off to GSM. I also have an HTC One M7 Dev Ed, and it's hand off times are not even noticeable, I can press end and barely see the status switch from H to 3G to LTE in well under 2 seconds.

This lag and delay could be part of why Google disabled LTE on this device.
[Nexus 4 General] 350Rocket:
Well I have made 2 calls and received one while on LTE and didn't notice anything funny happen. When I looked at it right after the call it was back to h and then switched back to 4g shortly after. I can't remember exactly how long.

I also realized the signal drops mostly only happen when WiFi is on and I found the issue mentioned in another LTE discussion. I'll read up on it but it seems like it is happening less and less since I first flashed the toolkit.
[Nexus 4 General] 350Rocket:
Seems like a pretty strong signal strength right? Isn't asu normally much lower than that?
[Nexus 4 General] pjc123:
Since I have owned my Nexus 4, this is the 3rd method I have used to enable LTE, from doing it manually, to using an app, to this enabler. In all that time I haven't traveled to an area which has AT&T's LTE on Band 4 (1700 MHz); only a couple of towns in my state have it, and I haven't traveled very far out of the state. So, I will be driving across the US next month, and finally should be able to see LTE in action somewhere for the first time.
[Nexus 4 General] acejavelin:
Good luck... I traveled a lot with my N4, it will all depend where you go, AT&T doesn't have Band 4 deployed in many markets, especially it Tmobile is in those areas as well. Outside of the Dakotas and a handful of major cities all I ever got was HSPA+. My understanding is Band 4 is deployed in under 50 markets nationwide by AT&T.
[Nexus 4 General] 350Rocket:
The two cities I frequent most in Ontario Canada.... (Kingston and Belleville) both have strong LTE through the city. It didn't seem as good with my nexus 5 and LTE didn't seem much faster if at all but since I downgraded to the nexus 4 and finally tried this mod LTE seems better. Either they upgraded or nexus 4 is working better on LTE despite not being sold with it.
[Nexus 4 General] gorilla p:
Mako FTW!

Sent from my Nexus 4
[Nexus 4 General] noraru:
Is this mod works on liquidsmooth rom because i flash the mod and it s not working or i do not now how o make the setup.
[Nexus 4 General] acejavelin:
This mod does not work 100% on CM based ROMs. Liquid Smooth is CM based, the mod will flash radios but in order to use it you have to manually switch to an LTE model each boot with something like 4G Switcher.
[Nexus 4 General] weaselskhs:
I installed liquid Smooth last night and this enabler works great and was very easy to setup the LTE and even show up as LTE on the signal icon. Where as with the stock rom I got LTE speed but only showed as 4g. Either way this is an awesome tool.
[Nexus 4 General] acejavelin:
Lol... Glad it worked for you, not sure how but your the first person who has ever had LTE stick through a reboot using this mod on a CM12 based ROM without doing something else.

BTW, the 4G vs LTE icon is all about how it's coded in the ROM, not the actual signal.
[Nexus 4 General] weaselskhs:
Well I guess I was wrong after doing a reboot I had to do the classic *#*#4636#*#* and switch from wcdma to LTE/GSM. To get LTE back working which is really no big deal more of a nusense then anything else.
[Nexus 4 General] therealsniper69:
There was a fix that was posted in another thread in the nexus 4 section and works great at making the lte stick after reboot. I used this method and it works for me. Here is the link http://xdaforums.com/showpost.php?p=56791857&postcount=1427
[Nexus 4 General] weaselskhs:
Thanks a bunch I will try this wish me luck. LOL
[Nexus 4 General] therealsniper69:
Here's wishing you luck. :D

How did it work for you?
[Nexus 4 General] weaselskhs:
Well I think I did something wrong g as I rebooted and I still had the same problem so. I am going to try it again in a bit but this time I am going to do a backup first then try again.:p
[Nexus 4 General] ChemBot:
I tried that method too, still not working after a reboot on CM12 nightlies. Actually, I'm pretty sure that the lte enabler zip already makes the change to settings.db and the problem is that CM roms reset that value to 0 on reboot.
[Nexus 4 General] acejavelin:
It does... This is a known issue. Best bet is to get a simple app like 4G Switcher or something and do it manually on each boot, or just move to any AOSP based ROM, the mod works fine with Purity, SimpkeAOSP, or any other ROM using AOSP as it's base
[Nexus 4 General] weaselskhs:
Yeah it's not sticking doing that edit. It was a nice try I make the edit and save it then reboot and it just changes group number and the value goes back to 0 so I will just do it the old school way and manually set it after reboot it's easy enough.
[Nexus 4 General] weaselskhs:
Just an FYI I have been playing with alot of roms and also found out the the Frank ROM works great for LTE and you don't even have to do the *#*#4363#*#* and setup there was setup by default.
[Nexus 4 General] limeaide:
posting to find this easier next time
[Nexus 4 General] pokedroid:
Hey all, looking for a little assistance here, I'm hoping to get this running on my newly acquired nexus 4 running stock rooted 5.0.1. After reading an Internet blog about this service (with bad instructions) I flashed the hybrid radio before flashing the lte enabler zip. Could this possibly be the reason I can't actually get lte to work? I went to my phone and changed the network type to "lte/gsm/cdma auto (prl)" but I'm still getting hspa. I'm on at&t but I've checked the list and everything I've read said at&t uses band 4, so I am under the impression that this should work. Am I putting a lot of effort into this for nothing? Is it that I installed the two files in reverse?
[Nexus 4 General] acejavelin:
AT&T only supports band 4 in about 25-30 markets, not network wide... Also when AT&T (proper, not Go Phone), you have to call them and have your IMEI changed to a dummy one for LTE support because in the AT&T world, the N4 is an HSPA+ device, not an LTE one but most of the CARs are pretty good about enabling this on your account.
[Nexus 4 General] pokedroid:
Well I guess it's probably not in my market :( I would hope that lime is provisioned properly, I work for at&t [emoji12]. I was using a htc m8 before this phone and I didn't let anyone know I switched. I just swapped the sim. I might have a coworker go back into my account tomorrow just take sure it didn't auto update the imei. Makes me sad but hspa is still fairly fast. I don't notice the difference very often (but when I do it's excruciating)
[Nexus 4 General] Dacowick:
It works?

Hi.

This is working to 5.0.1, or even 5.1?
[Nexus 4 General] svnhvn:
Worked on 5.0.1 but dunno with 5.1 since Mako's version not come out yet.
[Nexus 4 General] dasbooter:
So is anybody working on a solution or at least a workaround for cm12 requiring the manual wireless LTE fix . My service provider actually bases my data quota on whether my phone is LTE or not. They provide more data for LTE phones. I have tried to find some way of doing this with tasker but I havent succeeded. I am rebooting my phone often for a number of different reasons and this is a bit of a pain. First world problem I know but I was curious if somebody was in fact working on this.
[Nexus 4 General] acejavelin:
CM based roms overwrite the necessary changes on each boot... Honestly, if this is that important to you, switch to an AOSP based ROM and it will work brilliantly.
[Nexus 4 General] dasbooter:
oh I understand what is going on just wondering why a late running script wouldn't fix this. Thanks for answering though.
[Nexus 4 General] acejavelin:
It probably would (should) work... But then again if it was that simple I'm sure someone would have done it already. Not saying it's impossible, but the N4 has a lot of CM following, I would think someone would have come up with a solution had it been simple. I haven't heard of anyone working on this for some time though.

Good luck.
[Nexus 4 General] dasbooter:
Ya this sounds about right :( . Or maybe many have moved on to other hardware. You wouldnt think that the cyanogenmod people would be opposed to the idea but than again I dont know enough perhaps there is some security based reason.
[Nexus 4 General] Willister:
Yeah 5.0.x is ok, 5.1 is not. Trying to flash will give you the wrong android version message.
[Nexus 4 General] pjc123:
Well, I must say, the LTE enabler really wreaked major havoc on my Nexus 4 when I arrived in San Antonio and had the first chance to test everything out. Emails both send and receive were taking hours to go through, phone calls would ring on the other end but neither party could hear each other talking, and the battery drained in only a couple of hours. Manually switching back to 3G, I was at least able to make phone calls again. However, I never got a 4G symbol here. The uninstaller immediately fixed everything, so kudos for that; actually I installed the uninstaller onto the phone before I left just in case. I really can't mess with it anymore because I need the phone for all kinds of critical stuff going forward. But as far as what I have, I am on Straight Talk AT&T with an LTE Sim card and LTE APN, rooted with stock everything else, and Android 5.0.1, in the event it helps anyone else with similar problems. Now when I passed through the outskirts of New Orleans I did get the 4G symbol. Speedtests indicated 23.32 Mbps download / 19.10 Mbps upload and a 99ms ping time, so LTE was definitely active and I was happy as a clam, but I never used or tested email and phone calls until the end of my trip.......so bummer. Maybe in a couple of months after Android 5.1 proves to be OK I will try again, or maybe get a real phone with all the bands.

I must say that I don't have my computer set up yet, so trying to use this forum from the library is beyond brutal waiting for all the Shockwave advertisements to load and crash on every single page that I view.
[Nexus 4 General] Dacowick:
Works Perfectly!

It works great.

I did in my N4 with 5.0.1 and run perfect.

Thank you so much.

Greetings.
[Nexus 4 General] spc_hicks09:
Didn't work here.

Nexus 4

T-Mobile

Stock rooted 5.0.1

Baseband Version: M9615A-CEFWMAZM-2.0.1700.33

Flashed through TWRP

Bootloader Unlocked

APN is set

Anyone have any suggestions?
[Nexus 4 General] acejavelin:
Are you sure Tmo has Band 4 LTE where you are located?
[Nexus 4 General] dbaums:
Does this work for 5.1 roms?

Work for 5.1?
[Nexus 4 General] acejavelin:
There is no 5.1 for N4 yet... But if you mean custom Rom, it should, except CM.
[Nexus 4 General] dbaums:
Roms like euphoria and Terminus (And RR alpha)
[Nexus 4 General] acejavelin:
Yes, it should work fine. Just verify that LTE is set with 4G Switcher or something.
[Nexus 4 General] spc_hicks09:
Yes bands 2 & 4. I get LTE with any other device.
[Nexus 4 General] acejavelin:
Use *#*#4636#*#* and check that LTE/GSM is selected... It's possible that the positioning in the prop.build file has changed in 5.1 or in these ROMs at least.
[Nexus 4 General] spc_hicks09:
Yes I select LTE/GSM (PRL Auto) and this is happening on 5.0.1, not 5.1. Not sure what's going on.
[Nexus 4 General] acejavelin:
Hmm... I know with AT&T, the IMEI number of the N4 is set as 4G (ie. HSPA+) only in their system not LTE so to get it to work you have to call customer customer service and make sure your device is enabled for LTE by having them switch it to a dummy IMEI.

But my understanding is this is not required for Tmobile as all SIMs allow LTE service, but I can't guarantee that. Basically if you have flashed the radios and enabled it in the prop.build, it should just work (that is what the Enabler does), there is nothing else to do to the phone to make it work, if the signal is available, it will use it, if it isn't available it won't and will fall back to HSPA.

I used this LTE hack for a long time, finally gave up as it was too inconvenient (getting stuck in 3G all the time and the delay between finishing a voice call before data came back), and caused noticeable battery drain... I went back to the stock radios and added almost 45 minutes of screen time over a day. The actual change in performance for me (on AT&T mind you, our LTE is much slower than Tmo) was minimal, hardly noticeable really, between HSPA+ and LTE... but ymmv.
[Nexus 4 General] elias.acab:
Hey guys,

I know in the instructions it clearly says that if youre running stock 5.0.1 to follow a different process but I have seen some posts from people who have rooted stock 5.0.1, which is my phone set up right now, will the normal procedure work on my phone?

Thanks!
[Nexus 4 General] yochananmarqos:
There's only one process. If you meet the requirements, flash the ZIP. If you're running a custom ROM, there may be modifications that circumvent some of the process and hence why it may not fully stick. That's all there is to it.
[Nexus 4 General] nycelitemaster:
We need op to do the updated hybrid radio :)

Sent from my Nexus 4
[Nexus 4 General] ariesgodofwar:
I second that! It would be awesome if the OP did.
[Nexus 4 General] EugenePHD:
for 5.1 Please?

There is 5.1 out now. But I cannot install this LTE enabler because of incompatible version.

Can you update, please?
[Nexus 4 General] EugenePHD:
Setting not sticking in 5.1

I modified the script to allow 5.1 (added in updater-script || is_substring("5.1", file_getprop("/system/build.prop","ro.build.version.release")) )

So, it worked and now I get 4G. However, it does not stick after reboot. Have to go to Phone Info every time and change WCDMA Preferred to LTE/GSM/CDMA (PRL).

Would be nice if you could look into it and also, maybe, create a new hybrid 0.33/1.06 instead of 0.33/1.05?

Thanks for your work!
[Nexus 4 General] EugenePHD:
Hmm...found post #629 which has zips that will run on 5.1 without modifications. AND it sticks!!!

Those links must be put on front page.
[Nexus 4 General] ferrocene:
I created a 33/1.06 hybrid, it can be found in the hybrid thread, shortcut is http://bit.ly/makostuff
[Nexus 4 General] hmillos:
Thanks. Here's the post for lazy folks :p http://xdaforums.com/showpost.php?p=57905937&postcount=629
[Nexus 4 General] nycelitemaster:
Guys, working on getting the script to work for 5.1+. Can someone please pull the setting.db storage and provide me. I think i messed up mine or can someone verify if there are two preferred_network_name = and preferred_network_name1 =. If there are 2, please provide me the default values. Thanks.

---------- Post added at 10:16 PM ---------- Previous post was at 09:38 PM ----------

It looks like google changed the name from preferred_network_name to preferred_network_name1. Which is why the script wouldn't work. I have fixed the script and updated the modem to .33/106 (taken from other post) and fixed the script. Now all works.

Download Here: http://goo.gl/mQR5F3

And, please add to http://bit.ly/makostuff

File name: nexus-4-lte-enabler-v2.12.zip flash through recovery and LTE should stick. Enjoy!

Sent from my Nexus 4
[Nexus 4 General] gorilla p:
Thanks for taking the time to figure that out.

Added to bit.ly/makostuff
[Nexus 4 General] yochananmarqos:
I thought you decided to set it to LTE/GSM/CDMA auto instead of LTE/GSM auto? The script set the latter. I had previously flashed the 2.11 enabler from post #649 + the hybrid 33/106 modem & set it to the former manually. Not sure if that made any difference. Either way, thanks for the update!
[Nexus 4 General] nycelitemaster:
No the script sets to LTE/GSM. If you can advise why we would need to set to 10, I can update it. To my knowledge N4 is only GSM, thus turning on CDMA would be redundant unless it is LTE/GSM/WCDMA.

Edit: even the original download 2.11 sets to 9.

Sent from my Nexus 4
[Nexus 4 General] neod192:
So I flashed the 5.1 factory image, updated and installed all my apps, then flashed the .33/106 Hybrid modem zip. I changed the LTE setting though #*#*4636*#*# and it sticks after multiple reboots! I even checked settings.db and preferred_network_name1 is set to 10 (I selected LTE/GSM/CDMA, it can't hurt anything). preferred_network_name is set to 0, but it looks like that's not used.

I wonder why the change sticks after the reboot for me - could it be because I did a fresh install of 5.1 instead of the OTA update?
[Nexus 4 General] nycelitemaster:
[MENTION=2836787]neod192[/MENTION] did you wipe your phone? And did you install one that I mentioned in my post or regular .33/106 ? And indeed network1 is now used. The older network doesn't work.

Sent from my Nexus 4
[Nexus 4 General] notbrodie:
I'm nodding of now, but I'll get to tomorrow some time
[Nexus 4 General] Bulishor:
Bluetooth tethering between N4 and N7 works for me. Running rooted 4.3 on both with the script from original post.
[Nexus 4 General] lazer155:
I figured out that version 2 of the hybrid radio .33/.84 is why I wasn't able to bluetooth tether to my computer. I reverted back to v1 and it's working perfectly now.
[Nexus 4 General] MandoH:
Going to try this out.. Miss my tethering...:thumbup::D
[Nexus 4 General] colomob:
After I flash it I go to *#*#info#*#* and change to LTE/.... Then, I go and change to fast.T-Mobile.com. I reboot and I start getting an error that doesn't stop. The error says com.phone.android or something like that is not working. Anyone can help me out here?
[Nexus 4 General] CellPhish:
Try going to your phone dialer and see if the error stops.
[Nexus 4 General] *child:
It seems like there might be a bug with 4.3 and APN settings. See here.
[Nexus 4 General] *child:
[MENTION=4842038]notbrodie[/MENTION]: Any updates?
[Nexus 4 General] detdett:
In 2 weeks
[Nexus 4 General] notbrodie:
sorry, i totally forgot. i'm checking them now. should I reboot between each step?

UPDATE: all of the commands cause the PC browser to just hang. i rebooted between each step as well
[Nexus 4 General] *child:
Just want to confirm, you ...

su; iptables -F

try tethering and report

reboot

su; iptables -t nat -F

try tethering and report

reboot

su; iptables -t mangle -F

try tethering and report

reboot

... and all of them cause the PC browser to hang?
[Nexus 4 General] notbrodie:
yes, but in the meantime, i've flashed carbon and tethering works fine. no mods necessary. it's definitely something that vanir/PA are doing to their networking
[Nexus 4 General] *child:
So weird ... well I'm glad its working out for you.
[Nexus 4 General] notbrodie:
i do still have a nandroid of vanir, tonight i'll restore it and re-run the commands to confirm my findings. i was at work when i did the other ones and I may not have rebooted between commands...
[Nexus 4 General] *child:
Cool. Let me know how it goes.
[Nexus 4 General] Taebom:
Hope it works because this is the only thing keeping me from using vanir as my daily driver.
[Nexus 4 General] dito33:
It works for me on the first try, thank you. Not with the LTE settings but GSM/WCDMA /epc.tmobile, maybe because there is no LTE in my area but very happy with the results.
[Nexus 4 General] notbrodie:
[MENTION=1878977]*child[/MENTION]

okay, so I just did exactly this:

1) su; iptables -t nat -F | hangs

reboot

2) su; iptables -t mangle -F | redirects to tmobile

reboot

3) su; iptables -F | redirects to tmobile

additionally, i just realized i was using the IPv6 LTE APN, so i tried both the IPv4 LTE APN and the 3G APN. all three have the same issue
[Nexus 4 General] MandoH:
Not working for me.. No tether..:(
[Nexus 4 General] Taebom:
Looks like paranoid android pushed a fix on sep. 3. Any way to get a fix for vanir? https://github.com/ParanoidAndroid/android_frameworks_base/commits?author=Anu6is