yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] madadhd:
Hi and THANK YOU! So no root necessary! That makes it easier :)

This helped, it was a mix of these settings and T-Mobile's settings and some settings I found on the internet that (maybe) work. I've put what I used below:

[*]Name : T-Mobile LTE

[*]APN: fast.tmobile.com

[*]MMSC: http://mms.msg.eng.t-mobile.com/mms/wapenc

[*]MMS Port: 80

[*]MCC: 310

[*]MNC: 260

[*]APN Type: Internet+MMS

Now it says 4G above my antenna icon. NOT LTE. Is that correct? How do I know it's working on LTE? I apologize for these questions that have been asked a million times before.
[Nexus 4 General] ramjet73:
"4G" means LTE on the Nexus 4. If it is connected as HSPA+ the icon will be "H".

ramjet73
[Nexus 4 General] madadhd:
I can confirm with Lollipop, tethering has returned for t-mobile without modifications necessary.

---------- Post added at 03:46 PM ---------- Previous post was at 03:41 PM ----------

Awesome! Very exciting and shocked I did this correctly :P
[Nexus 4 General] iksimkd:
I know this is going to be a stupid question since I've already asked it and was answered in another LTE thread, but I hope you people won't mind me asking again because I really want LTE on my N4.

My operator, VIP Macedonia only supports LTE on 800 and 1800 bands. Is it somehow possible that with this new method I see you posting on this thread the N4 will be able to gain LTE speeds?

I tried reading this thread from the start but got somewhere to 14 pages, it's too much to read. I hope someone can answer this again, and please don't mind me. :D
[Nexus 4 General] yochananmarqos:
No, the Nexus 4 hardware only supports Band 4 (1700 MHz).
[Nexus 4 General] iksimkd:
Thank you for the fast reply. I was afraid of that. Anyway, I guess I'll stick with 3G until I get a new phone. :)
[Nexus 4 General] Noez:
Can confirm the installer .zip is working properly and sticking on reboot; uninstaller untested.

Stock 5.0 rooted.

Thank you for your contribution *child, and you too ramjet73!
[Nexus 4 General] Joshua Mr PC Repair:
Works on my phone Stock L
[Nexus 4 General] *child:
PRE-RELEASE Update

Before flashing, please remember to make a Nandroid backup. Also, please double check the MD5 hash of the ZIP. Additionally, you can download the .md5 file and have TWRP check it for you. Please test both the installer and uninstaller. Let me know how it goes.

Thanks!

Note: The modifications to iptables to enabled tethering over LTE on Canadian carriers are no longer required, so the init.d and addon.d scripts have been removed. There is no need to flash this over pre9. However, if you would like to remove init.d and addon.d scripts, you can manually delete system/etc/init.d/81makoltetether and system/addon.d/80-mako-lte.sh or flash nexus-4-lte-enabler-v2.0-REMOVE-SCRIPTS.zip.

INSTALLER 2014/11/22 v2.0-pre10 - Downloadhttps://github.com/marcandrews/mako-lte-and-lte-hotspot-fix/releases/tag/2.0

Update hybrid radio to .33/1.04

Update update-binary, sqlite3, and add file_contexts for SELunix

Update updater-script for 5.0

Utilize settings.db edits (instead of build.prop edits) to enable LTE permanently

Remove iptables modifications

UNINSTALLER 2014/11/22 v2.0u-pre4 - Downloadhttps://github.com/marcandrews/mako-lte-and-lte-hotspot-fix/releases/tag/2.0u

Update radio to 1.04

Update update-binary, sqlite3, and add file_contexts for SELunix

Update updater-script for 5.0

Remove iptables modifications
[Nexus 4 General] d9ny:
Yes that's right LTE is one of modulation technique being used on 4G network...is it clear enough?
[Nexus 4 General] south69_dallas:
confirmed it works great! thanks alot.
[Nexus 4 General] Larkin24:
Nice work thank you
[Nexus 4 General] twinkyman90:
Confirmed working

I flashed the latest hybrid radio and permanent lte enabler package and can confirm it is working on my nexus 4 with stock Lollipop. Thanks so much! I went from 10 is mbps to 25 where I am in Ogden Utah! Love seeing the 4G icon at the top instead of "H"!
[Nexus 4 General] acejavelin:
Nice job!! Confirmed working, and through several reboots with 2.0-pre10 with no issues.

Thanks!!!
[Nexus 4 General] *child:
Thanks for testing.

For the installer, pre10 has become final (for the uninstaller, pre4 has become final), so there's no need to flash v2.0 over v2.0-pre10.
[Nexus 4 General] SeanInToronto:
Hey everyone, having some trouble with this. I've flashed the zip and set up my 4G apn but I'm still only getting 3G.

Have I missed something? I'm on Fido in Canada.
[Nexus 4 General] *child:
Will need more information in order to help you:

Are you sure 4G/LTE is available in your area?

Which recovery, ROM and kernel are you using and what is your root status, and other modifications, if any?

What are your APN settings?

Can you post your recovery log following flash (run adb pull /tmp/recovery.log recovery.log after flashing while still in recovery)?
[Nexus 4 General] MrDouf:
Make sure you have set your APN set for LTE;

APN Settings:

APN: LTEMOBILE.APN

MMS (Picture & Video Messaging Settings):

MMSC: http://mms.fido.ca

MMS Proxy: 205.151.11.13

MMS Port: 80

Leave the following fields blank: Proxy, Port, User Name, Password, Server.

Cheers!
[Nexus 4 General] torchedlh:
Is it okay to just flash the hybrid modem without using the rest of the LTE enabler? I don't mind having to manually select the network after every reboot and I'd rather keep the stock recovery the time being if possible. Thanks
[Nexus 4 General] yochananmarqos:
It would be a lot easier to temporarily flash a custom recovery to install the enabler, then restore the original recovery. That is, unless you want to modify the build.prop & edit settings.db in an SQLite Editor manually. ;)
[Nexus 4 General] acejavelin:
Recovery doesn't need to be flashed at all...

fastboot boot (recovery.img)

Will boot recovery on one time basis as long as your bootloader is unlocked, without touching the installed recovery
[Nexus 4 General] yochananmarqos:
Good point, forgot to remember that. :D
[Nexus 4 General] torchedlh:
What's the benefit of using the entire LTE enabler vs just flashing the modem besides not having to change the preferred network type after reboot?
[Nexus 4 General] *child:
Is the 4G/LTE option even available under Preferred Network Type? I think the only way to enable 4G/LTE is via settings.db.
[Nexus 4 General] torchedlh:
Yep, it is. However, I decided to flash the LTE Enabler anyway. Thanks
[Nexus 4 General] jkyoho:
[MENTION=1878977]*child[/MENTION] can you make a .27/1.04 please? .27 works for me better than .33
[Nexus 4 General] acejavelin:
Can't you just flash the 27/104 modem from the Mako Hybrid Modem thread after flashing this?
[Nexus 4 General] ramjet73:
Unless/until [MENTION=1878977]*child[/MENTION] offers other hybrid radio options you can flash his mod to update settings.db and then use this app to select whichever radio combination works best for you.

Edit: This is the same as what [MENTION=2001582]acejavelin[/MENTION] just suggested.

ramjet73
[Nexus 4 General] frikakwa:
Using SimpleAOSP at the moment and when flashing the zip, it's like by default on 4G but I don't have the full choice of prefered network: only 2G or 3G. Is the zip adding 4G choice in prefered network settings or not?

Thx in advance for your help.
[Nexus 4 General] acejavelin:
I don't get it in stock Lollipop under Preferred Network either, but it does default to LTE/GSM and I can toggle it in Phone Information.
[Nexus 4 General] jkyoho:
I'd love too, but can't find ppl making .27/1.04 from Mako Hybrid Modem
[Nexus 4 General] acejavelin:
Hmm... Google can be your friend, or it took me like 10 seconds of searching on XDA...

http://bit.ly/makostuff and look in the N4 Radios (LTE) folder... they are there.
[Nexus 4 General] jkyoho:
Thanks, I just flash simpleAOSP ROM couple hours ago, everything is reconfiguring at the moment. thanks for your help again
[Nexus 4 General] *child:
Something else you can try is to just replace the modem in my ZIP with one of your choice, and then flash.
[Nexus 4 General] peste19:
i just flashed this zip and now i only get an exclamation mark on the network status, it receives signal however no data, any idea what went wrong?

Another question, when connected to an lte network, will it show lte near the network status of will it just display the H?
[Nexus 4 General] acejavelin:
It will show "4G" by the network status. It sounds like you have:

1) Wrong APN

2) SIM not LTE compatible

3) SIM/account not provisioned for LTE

Go into Phone Info via dialer and change network from LTE/GSM auto to WCDMA Preferred, it should connect via 3G like it did before.
[Nexus 4 General] DroidOnRoids:
I'm having such a headache with this. I'm using Straight Talk with an AT&T LTE enabled sim. I successfully flashed the zip and no matter what the APN setting, it's not showing 4G.

EDIT: I'm pretty sure I have LTE in my area too. I'm in Baltimore.

My APN settings:

Name: Straight Talk

APN: tfdata

Proxy: Not Set

Port: 80

UserName: Not Set

Password: Not Set

Server: Not Set

MMSC: http://mms-tf.net

MMS Proxy: mms3.tracfone.com

MMS Port: 80

MCC: 310

MNC: 410

Authentication Type: Not Set

APN Type: default,supl,mms,tfdata,hipri

And rest are untouched too.

What am I doing wrong?

I also went and dialed *#*#4636#*#* and checked Preferred network type which is automatically set at LTE/GSM auto (PRL).
[Nexus 4 General] acejavelin:
Are you sure your area has Band 4 LTE on AT&T? Most AT&T areas with LTE do not have this band, its only in something like 60 markets nation wide.
[Nexus 4 General] DroidOnRoids:
I'm pretty sure: http://www.att.com/gen/press-room?pid=22034&cdvn=news&newsarticleid=33267

Unless I'm an idiot and that's not Band 4.
[Nexus 4 General] acejavelin:
Hmm... The article you listed does specifically state "1700/2100 MHz AWS spectrum" which is Band 4. AT&T's main LTE service is Band 17 700Mhz B block, with backup in Band 2 1900Mhz PCS, Band 30 2300Mhz WCS, and Band 4 AWS.

I can tell you where I live, we have Band 4 LTE... but if I get to the outskirts of the city, or anywhere in the surrounding area or rural areas forget it, they have 700Mhz LTE only... Band 4 is strictly deployed in high areas of traffic, and not everywhere.

Not saying this is the case where you are, but it is possible... I have never seen the radios fail to work where there is sufficient signal, and I travel a lot, but in most places I only get HSPA+ on my Nexus 4, there are only a few I get 4G/LTE.
[Nexus 4 General] *child:
Have you tried the att.mvno APN?
[Nexus 4 General] DroidOnRoids:
Just tried and can't even get HSPA. Just an exclamation point. Do I even have the LTE modem in my phone lol
[Nexus 4 General] acejavelin:
Go to Settings, About Phone... What does it show in Baseband Version?
[Nexus 4 General] DroidOnRoids:
m9615a-cefwmazm-2.0.1700.33
[Nexus 4 General] acejavelin:
Yes, that is the correct hybrid modem.
[Nexus 4 General] DroidOnRoids:
Sigh, I'm really confused.
[Nexus 4 General] acejavelin:
Honestly, you shouldn't even have to mess with APNs in lollipop, they should automatically populate for most carriers. This is usually kind of a no brainer.
[Nexus 4 General] DroidOnRoids:
Three APNs did pop up. The Straight Talk APN is one I created.

View attachment 3038720
[Nexus 4 General] *child:
Have you gotten LTE with previous versions of Android on your Nexus 4 in your area before?
[Nexus 4 General] DroidOnRoids:
I can't say. I just switched from Verizon to prepaid and bought a Nexus 4 for cheap so the first Android version I experienced with this phone is 5.0.
[Nexus 4 General] acejavelin:
If any of those APNs gives you data, they should also work for LTE. If you are not getting 4G service, you probably don't have the correct LTE service in your area.
[Nexus 4 General] DroidOnRoids:
You're probably right with the lack of LTE service... Even when I switch to LTE Only, there's no connection. Gonna have to revert I suppose. Oh well.
[Nexus 4 General] acejavelin:
Why? There is no real negative to leaving it, it will just automatically fall back to HSPA and if LTE becomes available it will usually switch over automatically... There is no noticeable difference in battery either, just leave it.
[Nexus 4 General] ekmenet:
Thanks for awesome job, updated 2 Nexus 4, and flashed this LTE enabler, works flawlessly, both for Straight Talk AT&T MVNO and Simple Mobile (T-Mob MVNO).
[Nexus 4 General] *child:
How to flash the Nexus 4 LTE Enabler on stock Nexus 4 Android 5.0+

This process can be fairly risky; you may lose your data or even brick your Nexus 4. So if you have any hesitations, please post your question(s) here before attempting any of the following.

Requirements

Stock Nexus 4 running Android 5.0 LRX21T or later

Stock recovery (i.e. not a custom recovery like TWRP or CWM)

Nexus Root Toolkit (NRT)

Nexus 4 LTE Enabler ZIP file

Instructions

Download the Nexus 4 LTE Enabler ZIP file from the OP.

Download and install the Nexus Root Toolkit.

Select Nexus 4 as your device and select Android 5.0.0 as the build you are currently running, and then click Apply.

Follow onscreen instructions on enabled USB debugging.

Connect your Nexus 4 to your computer via the USB cable, ideally the one that came with your Nexus 4.

Download and update all file dependencies, and click Continue.

If your Nexus 4 bootloader is locked, unlock it with the following steps, otherwise skip to Step #8.

Unlocking your Nexus 4 bootloader will wipe your phone, so you will need to create a backup. Under Backup + Restore, click Backup.

Under Backup All App's, include System apps+data and shared data, click Create Android Backup File and follow onscreen instructions. Once the backup is complete, close the Backup Utilities window.

Back in the main NRT window, click Unlock and follow the onscreen instructions.

Under Backup + Restore, click Restore.

Click Restore Android Backup File, select your backup, and follow the onscreen instructions. Once your restore is complete close the Restore Utilities window.

Flash Nexus 4 LTE Enabler ZIP file.

Back in the main NRT windows, under Advanced Utilities click Launch.

Under Flash Zips [Roms/Gapps/Etc], select File is on this computer, and then click Flash zips….

Follow the onscreen instructions to flash the Nexus 4 LTE Enabler ZIP file.

Once the flash is complete, close the Advanced Utilities window.

Optional: If your Nexus 4 bootloader was locked, you unlocked it to flash the LTE Enabler, and you wish to relock it, follow the following steps, otherwise, skip to Step #10.

Back in the main NRT window, click OEM Lock and follow the onscreen instructions.

Done
[Nexus 4 General] PsychoAssasin:
LTE is working fine but tethering seems to be not working for me. Im on Rogers network in Canada

Currently running Frankened .99999.9, SU 2.36, LTE fix 2.0

If i remmeber correctly, tethering worked when i was using the beta v1.6
[Nexus 4 General] CSX321:
I can't remember, but is lteOnGsmDevice=1 in build.prop needed for tethering? Do you have that set?
[Nexus 4 General] PsychoAssasin:
No idea, Its always worked before with just flashing this fix and adding the correct apn.
[Nexus 4 General] ramjet73:
That parameter is to enable LTE, when it is being done by updating the build.prop and then doing a factory reset of the device it the settings menu, which is obviously not the preferred method. I believe [MENTION=1878977]*child[/MENTION] mentioned in an earlier post that the Canadian carriers may be checking a packet level flag to prevent tethering from Lollipop but I don't think that's been confirmed yet.

On another topic, I wasn't able to get this patch to work on the EuroSkank version of CM12 for mako. The zip file flashed OK but the settings.db file didn't seem to have the required entry and when I created it manually with SQLite Editor it kept getting reset from 9 to 0. :confused:

The only way I could get it to work on that ROM was by setting the preferred network type manually after each boot by using the "*#*#INFO#*#*" sequence to access those settings via the dialer.

ramjet73
[Nexus 4 General] CSX321:
Oh, yes, thanks! I remember now that it was some iptable changes that were needed for tethering with T-Mobile, prior to Lollipop.
[Nexus 4 General] ramjet73:
Yea, and according to [MENTION=1878977]*child[/MENTION] those didn't affect anything on Lollipop so he took them out of the mod.

ramjet73
[Nexus 4 General] *child:
Can you run the following commands in a terminal emulator and see if that fixes the problem:

su
iptables -D natctrl_FORWARD -j DROP
iptables -t nat -A natctrl_nat_POSTROUTING -o rmnet_usb0 -j MASQUERADE

Custom builds might work differently than stock. Try the old build.prop edits and see if that gets LTE to stick.
[Nexus 4 General] ramjet73:
I already tried using the same build.prop lines from the old mod, and they didn't make any difference, at least without doing a factory reset and it wasn't worth that to me. I was only checking that ROM out and noticed that it didn't show 4G/LTE by default even with the hybrid radio installed so I figured I would try the enabler mod and let you know the results. My Nexus 4 is not on that ROM ATM.

ramjet73
[Nexus 4 General] *child:
I'd bring this up with the builder. There might be something in their build settings that's not optimal.
[Nexus 4 General] PsychoAssasin:
Ill try those commands later when i have the time. Thanks
[Nexus 4 General] PsychoAssasin:
Nope, tried the commands and it still doesn't work.

Tried rebooting the phone after the commands as well, still no dice.

Can i flash v1.5 on to a 5.0 rom?
[Nexus 4 General] *child:
Just for future reference, rebooting will clear any changes to the iptables.

Those are the same commands that were used pre-Android 5.0 to allow tethering over LTE, so I don't think flashing an earlier version will make a difference, but you can try. [MENTION=275009]ramjet73[/MENTION] modified v1.5 to allow it to be flashed on Android 5.0; you can get it here. Just flash it over v2.0, test tethering over LTE, and let me know if it works.
[Nexus 4 General] PsychoAssasin:
Hmm, tethering still not working with v1.6 . Now Im thinking it might be something to do with the ROM or Rogers.

Im gonna try the uninstall and see if i can tether at all over 3g.

Has anyone else tried the new fix with a Canadian carrier?
[Nexus 4 General] acejavelin:
What ROM? I am on stock Lollipop with v2.0 of the LTE enabler and tethering works fine with Cricket and AT&T.
[Nexus 4 General] PsychoAssasin:
Tried the uninstaller, Cant tether with 3g even, Dont know whats going on...

Im currently on Frankened-Seriously-another-9-.99999.9

Think i better try another ROM
[Nexus 4 General] *child:
Sometimes these custom ROMs that take bits and pieces from everywhere can have screwed up iptables. Maybe you'll have better luck with stock Android 5.0 LRX21T.

Let me know if tethering is working over 3G.

Yes, one user in BC on Telus said he had no problems tethering over LTE.

Unfortunately, if Google changed the iptables in Android 5.0, because I no longer have a Nexus 4 to test, it will be next to impossible to troubleshoot.

This is specific to Canadian carriers, and maybe just Rogers/Fido.
[Nexus 4 General] *child:
Yes, let the developer know and then try stock.
[Nexus 4 General] jeffery fisherman:
checking

Ok, i did it. How do i know if it worked?
[Nexus 4 General] acejavelin:
Do you now have 4G? If so it worked...

If it still says H, check your Baseband version and make sure it ends in .33, dial *#*#4636#*#* and verify preferred network is set to LTE/GSM auto (PRL), if that all looks good you need to verify your carrier has Band 4 LTE in your area... Tmo has this in most areas, AT&T in a few areas, and several Canadian and Mexican carriers have this as well.
[Nexus 4 General] jeffery fisherman:
It still says H but the baseband ends in .33 and *LTE/GSM auto (PRL) was selected. I have AT&T in downtown Seattle. Should it still say H?
[Nexus 4 General] acejavelin:
I don't see AT&T having Band 4 in the Seattle area anywhere on the net... Are you on AT&T post-paid? If so and you have your Nexus 4 IMEI registered with AT&T you will only get HSPA+ even if Band 4 LTE is available in the area. To get AT&T to provision your account for LTE you have to call customer service, get a rep who understands what your trying to do, and reprovision your account with a dummy LTE IMEI. If you are on Go Phone or an MVNO that has LTE, you shouldn't have to do that.
[Nexus 4 General] saj77777:
thank you!!!

after failing with the nexus 4 lte modem flasher, this zip file LTE enabler succeeded. Thank you! I love the speed!!! :)
[Nexus 4 General] Zephead:
This just worked for me, I'm on TMo using stock rooted 5.0, thanks.
[Nexus 4 General] agouracaguy:
Just flashed 5.01 to my nexus 4 and loaded the 1.04/33 hybrid. Is this the most current radio or does the update have a newer radio?
[Nexus 4 General] yochananmarqos:
The radio in 5.0.1 was updated to 1.0.5.
[Nexus 4 General] *child:
I'll update my ZIP once the new hybrid radio becomes available.
[Nexus 4 General] ramjet73:
A .33/1.05 hybrid radio, updated with the 5.01 firmware and tested successfully on my Nexus 4, is available here.

If the LTE enabler mod is already installed just flash the hybrid modem zip to update the radio firmware.

Note that the baseband version in the "About phone" in settings will still show 2.0.1700.33 as the current version. That's because it's the main radio module that gets replaced to keep compatibility with LTE but all the other files are updated to the 1.05 version as shown in the following 7zip listing of the modem.img file contained in the zip:

ramjet73
[Nexus 4 General] Zephead:
Wow, nice work thanks!
[Nexus 4 General] *child:
PRE-RELEASE Update

Before flashing, please remember to make a Nandroid backup. Also, please double check the MD5 hash of the ZIP. Additionally, you can download the .md5 file and have TWRP check it for you. Please test both the installer and uninstaller. Let me know how it goes.

Thanks!

INSTALLER 2014/11/22 v2.1-pre - Downloadhttps://github.com/marcandrews/mako-lte-and-lte-hotspot-fix/releases/tag/2.1

Update hybrid radio to .33/1.05

Update updater-script for 5.0.1

UNINSTALLER 2014/11/22 v2.1u-pre - Downloadhttps://github.com/marcandrews/mako-lte-and-lte-hotspot-fix/releases/tag/2.1u

Update radio to 1.05

Update updater-script for 5.0.1
[Nexus 4 General] agouracaguy:
Do I need to uninstall before installing the new zip?
[Nexus 4 General] acejavelin:
You only need the modem image updated, you don't have to flash the full zip, but doing so won't hurt, and no you don't need to uninstall the first one.
[Nexus 4 General] agouracaguy:
I have 2 nexus 4's on hybrid radios, and they both suffer from signal jump, especially on wifi. This does not happen on stock. I'm assuming I'm not alone and was wondering why the hybrid configuration causes this and if there is a cure.
[Nexus 4 General] rastafurfarian:
I've been experiencing signal jump on my n4 as well, it's quite troublesome to not able to reliably receive calls while connected to a network via wifi. I've used the .33/1.04 and .27/1.04 and there seems to be no difference.

I'll try out this new radio and flash the lollipop 5..0.1 update for a wishful cure. I really don't want to lose LTE but if I can't receive calls in common scenarios then i'll go back to an HSPA radio; nice while it lasted if that's the case :)
[Nexus 4 General] acejavelin:
Odd... I have not experienced this on any hybrids from .98 on well on WiFi, I get it sometimes on LTE, signal bounces to near nothing then comes back immediately, but its done that since JellyBean on any LTE radio.
[Nexus 4 General] agouracaguy:
Yes, the bounce may only last for a few seconds but its there. Why does this happen on a hybrid modem and not stock?
[Nexus 4 General] acejavelin:
One theory I heard is on AT&T, since Band 4 isn't their primary LTE but a fallback band, they send a signal to you to "move" to another band when 17/5 or whatever is available periodically, which the phone tries to do but cannot, therefore it drops and comes back. Don't know if that's the truth or not, but it sounded semi-believable. :)
[Nexus 4 General] agouracaguy:
I'm on T-Mobile, so perhaps that the reason for me too. I'm curious if you do or do not experience this and who is your carrier.