yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] Berrydroidcafe:
Whether the md5 should be uppercase or lowercase.

Sent with my Nexus® 10 minus 3
[Nexus 4 General] *child:
It should be lowercase.
[Nexus 4 General] Berrydroidcafe:
Just had a moment of clarity. Re-read your reply again and now I know what you are saying. Getting old ? sux! [emoji45][emoji46]

Thanks!

Sent with my Nexus® 10 minus 3
[Nexus 4 General] *child:
Hehe no worries
[Nexus 4 General] hp420:
I just updated to 4.4.4 and since the updater script is set to only flash on 4.4.3, I took the liberty of changing it. I hope the OP doesn't mind, but since I've already done it, I figured I'd save him the work. It's the latest release, and the only change I made was 4.4.3 -> 4.4.4 in the updater script :) If there's any issues with me posting this, just let me know and I'll delete the link...not trying to step on toes, just help :)

http://goo.gl/xPdLFP
[Nexus 4 General] *child:
I appreciate the help, but please do not post your own versions as I cannot support them. If you really want to help, I urge you to contribute to the project on GitHub here.

Thanks again.
[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/06/20 v1.41 - Downloadhttps://github.com/marcandrews/mako-lte-and-lte-hotspot-fix/releases/tag/1.41

Update updater-script for 4.4.4

UNINSTALLER 2014/06/20 v1.41u - Downloadhttps://github.com/marcandrews/mako-lte-and-lte-hotspot-fix/releases/tag/1.41u

Update updater-script for 4.4.4
[Nexus 4 General] galom:
Up and running with 4.4.4 and lte. works good. uninstaller = why ☺
[Nexus 4 General] xperimentul:
[MENTION=1878977]*child[/MENTION]

The new installer works as [MENTION=3384565]galom[/MENTION] mentioned. The uninstaller flashed successfully but it didn't remove LTE. Tried flashing the uninstaller three times but to no avail. I'm using multirom and I flashed the uninstaller on my secondary ROM(Slimkat 4.4.4 unofficial build). I don't think this affects anything but I just wanted to mention it just in case it does.
[Nexus 4 General] rwong48:
Installer looks good to me. I use LTE tethering daily, but only on commutes (so I won't test until Monday), and LTE tethering actually works for me without the iptables/tether_dun_required changes, so I'm not sure how to really "test" it.

Sorry I didn't test the uninstaller - I probably should've while I was testing a bunch of random builds and wiping over and over - don't want to wipe now. :(

There was a new radio in the latest update, so we should be getting a new hybrid radio soon!

PS: Sent you a pull request for a very minor change ;)
[Nexus 4 General] therealsniper69:
Seems to be working fine here with the stock 4.4.4 that has been rooted. No problems with the installer, haven't tried the unistaller.
[Nexus 4 General] *child:
Hehe ... just in case someone wants to go back to stock.

Maybe Slimkat has LTE enabled by default?

Another radio ...? Please post here when the new hybrid radio is available and I will update the ZIP.
[Nexus 4 General] xperimentul:
I wish it was enabled by default but it isn't. Slimkat is my primary rom and your previous uninstaller worked fine. They'll be releasing a weekly sometime today or tomorrow based on 4.4.4 so I'll try it again and report back.
[Nexus 4 General] *child:
Unfortunately, I have no idea why the uninstaller is not working. Everything looks OK in the git. Are you sure there were no error messages?
[Nexus 4 General] bruce7373:
Anyone else having trouble with the fix on Omni (06/22 nightly)? I still can't get the WiFi radio to turn on.
[Nexus 4 General] xDroid4Lifex:
Working great but for some reason it doesn't stick after a reboot, have the go back into the test menu and switch from ”WCDMA” to "LTE/GSM".

Haven't tested the uninstaller yet. Running stock 4.4.4 ROM.
[Nexus 4 General] portis:
My bad if you enter 24 in build.prop on preferred u get lte only, got that number from wikipedia there is a link somewhere here. If u wanna keep lte only(no voice) write 24 in build.prop and after restart is lte only.But thats could be of help to small group of people.
[Nexus 4 General] *child:
No worries. We're all trying to help each other out. I think if you want LTE only, the correct value is 11, but with this set, it might not automatically downgrade to 3G when the connection is limited.
[Nexus 4 General] efrant:
Good work. Thanks for sharing!

Any way to get this to work without init.d support, similar to the original fix?
[Nexus 4 General] *child:
Are you referring to the build.prop edits, or the tethering fix, or both?
[Nexus 4 General] efrant:
The tethering fix.
[Nexus 4 General] jaladhjin:
Hey friends ;)

I've got a problem :-/

I'm on PA 3.99..

Flashed your .zip..all went well in that regard..

My problem is the APN is not included in PA..

If I try to add it.. I get all the way through the settings then when I change the MNC from 410 to 260 & hit Save..the APN disappears :(

Bugs the freakin' crap out of me don't know what to do..I tried the same thing when I was using CM 10.1 same story..

MNC change..APN disappears :(

Any advice ?

Is there such a thing as a flashable APN list ?
[Nexus 4 General] *child:
Yes, it should be exactly the same; just use my iptables commands. To enabled LTE tethering, you have two options:

Run the following commands from within Terminal Emulator:

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

Use Script Manager to run the commands automatically at boot. The instructions are the same as for the original fix, just use

#!/system/bin/sh
iptables -D natctrl_FORWARD -j DROP
iptables -t nat -A natctrl_nat_POSTROUTING -o rmnet_usb0 -j MASQUERADE

... instead of:

#!/system/bin/sh
iptables -A bw_FORWARD -i !lo+
iptables -A natctrl_FORWARD -j RETURN -i rmnet+ -o wlan0 -m state --state RELATED,ESTABLISHED
iptables -A natctrl_FORWARD -j DROP -i wlan0 -o rmnet+ -m state --state INVALID
iptables -A natctrl_FORWARD -j RETURN -i wlan0 -o rmnet+
iptables -A natctrl_FORWARD -j DROP
iptables -A natctrl_nat_POSTROUTING -t nat -o rmnet+ -j MASQUERADE

Sounds like another AOSPA bug. Instead of finding an APN list to flash, you can try to edit your /system/etc/apns-conf.xml using an XML editor from the Play Store.
[Nexus 4 General] jaladhjin:
Anybody have any info about trying to get LTE on a straight talk sim ?

---------- Post added at 08:12 PM ---------- Previous post was at 08:07 PM ----------

Or even a definitive not happening long explanation here if you care that much..lol
[Nexus 4 General] Telemachus13:
Last I heard neither AT&T nor T-Mobile allow MVNOs to access their LTE networks, so you're out of luck for now.

Sent from my Galaxy Nexus
[Nexus 4 General] NienorGT:
First. Time. Ever. That I get tethering working on my Nexus 4 since I bought the LTE SIM. Thanks you so much!

I just hope it stays that way.

Nexus 4, 4.3 Stock, Rooted. Fido (Rogers) in Canada.
[Nexus 4 General] njeske:
Thanks a lot for this. Flahsed on top of today's 8-27 nightly of CM10.2, selected the LTE APN, and selected the network mode and it worked great! Took about 30 seconds for my signal bars to turn blue again, still on H+, then about another 30-45 seconds for H+ to turn into 4G. For me, speed tests show that LTE download is comparable to H+, but upload is about twice as fast. This is in the middle of downtown Sacramento on the 10th floor of an office building. Haven't tested any sort of tethering yet.
[Nexus 4 General] *child:
According to Wikipedia, Straight Talk is using Sprint's LTE on band 25. Since the Nexus 4 only supports band 4, it will not work. Sorry.
[Nexus 4 General] *child:
Update

2013/08/27 v1.1 - Download from OP

This is a minor update to clean up the code a bit to prevent potential issues after ROM updates. Flash it over v1.0.

Conditional build.prop edits to prevent duplicate entries

Fix permissions on the init.d script

Set ro.telephony.default_network and ro.ril.def.preferred.network to 10 (instead of 9)

Compressed ZIP installer

Uninstaller now available as well
[Nexus 4 General] nelsonator1982:
Is there a version of this without the radio I already have it and would just like to flash the build prop and tethering stuff?
[Nexus 4 General] *child:
There's no harm in flashing the radio again. Is there another radio or hybrid radio you prefer?
[Nexus 4 General] nelsonator1982:
No I just don't like messing with the radio all the time crack flasher lol

Plus I use the .27/.84 radio
[Nexus 4 General] sumasage:
How do i know if i have one of these sim card?

this will be the first time im running any LTE enable mods, does it need to be run once or do i need to do it every time i flash new rom (full wipe flash)?

Thanks.
[Nexus 4 General] caaznkid:
I did change user agent... still blocked...went back to 4.2.2. For some reason T-mobile can detect on 4.3 but not 4.2.2
[Nexus 4 General] NienorGT:
Contact your carrier?

Some carriers have different LTE bands in different locations, so only them can really respond to your question.
[Nexus 4 General] *child:
It's true ... LOL

If you are running 4.2.2, can you run the following in Terminal Emulator:

su
iptables -S > /storage/emulated/legacy/iptables.log
iptables -t nat -S > /storage/emulated/legacy/iptables_nat.log
iptables -t mangle -S > /storage/emulated/legacy/iptables_mangle.log

... and then post those three files, iptables.log, iptables_nat.log and iptables_mangle.log, here?
[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/06/23 v1.5 - Downloadhttps://github.com/marcandrews/mako-lte-and-lte-hotspot-fix/releases/tag/1.5

Update radio to hybrid .03/.33/.03

UNINSTALLER 2014/06/23 v1.5u - Downloadhttps://github.com/marcandrews/mako-lte-and-lte-hotspot-fix/releases/tag/1.5u

Update radio to 1.03
[Nexus 4 General] xDroid4Lifex:
Yes I am, just flashed the latest SuperSu.zip a few days ago
[Nexus 4 General] *child:
What happens when you type su from a terminal emulator?
[Nexus 4 General] xDroid4Lifex:
Switches to root as normal, just seen you posted an update, will try that out and see if it sticks after a reboot
[Nexus 4 General] *child:
Let me know, but I don't think it will stay because only the radio and version check are updated from the previous release.
[Nexus 4 General] xDroid4Lifex:
Yea it still won't stick after a reboot, not much of an issue for me though. Must be something to do with the option in the mobile networks menu only having the option for 2/3G, the LTE option only exists in the *#*#info#*#* testing menu? So since 3G is checked in Settings>More>Mobile Networks>Preferred Network Type it reverts to HSPA when you reboot?
[Nexus 4 General] *child:
LTE was removed from the Preferred Network Type menu a while ago. Try selecting LTE/GSM/CDMA auto (PRL) in the *#*#INFO#*#* menu (instead of LTE/GSM)
[Nexus 4 General] pinoyz:
Everything works fine but I cannot make or receive a call after flashing. When I go into *#*#4363#*#* the setting is LTE/CDMA auto (PRL) and I have to manually change it to LTE/GSM/CDMA auto (PRL) to make a call. That's fine but I have to keep on doing that every time I restart the phone
[Nexus 4 General] *child:
Interesting. None of the changes this fix introduces should affect network selection. What ROM are you running?
[Nexus 4 General] xperimentul:
[MENTION=1878977]*child[/MENTION]

Both the new installer and the uninstaller work as intended. I think multirom was the issue when I tried out v1.41. Thanks.
[Nexus 4 General] pinoyz:
Am using the Vanir ROM

vanir_mako_4.4.4.062414
[Nexus 4 General] *child:
Please post your build.prop to Pastebin and link back.
[Nexus 4 General] Noez:
Hi *child,

As a T-Mobile customer, I'd like to thank you so much for the hard work and effort put into making LTE available to the xda community :).

I'm currently using the rom Nexus 5 Experience v8.5.. After flashing your .zip, the Preferred Network Type is Global, and the correct APN for LTE is unlisted.

However, from the Preferred Network Type, I can choose LTE (recommended) and manually create an APN and it sticks after reboot.

I've tested your .zip on stock 4.4.4 and everything works normally so it must be something with the rom I'm using..

build.prop - http://pastebin.com/HNXJd0mq

Also, for my APN type I have default,supl,admin,dun,mms. Would you suggest this or should I do it without admin and dun?

**EDIT**

Turns out it goes back to 3G/H+ when I make or receive a call.
[Nexus 4 General] *child:
[MENTION=5148034]Noez[/MENTION]:

No worries. If you ever go back to that ROM, you can try replacing: ro.carrier=unknown with ro.carrier=TMO. This should force the network selection to TMo.

Does it return to LTE after the call? I think this is normal for this phone and TMo.
[Nexus 4 General] anitgandhi:
i ask this out of only curiosity: what makes the .03/.33/.03 hybrid modem better than the others, or how does it compare in general? and off of that, which one is "best", or has certain advantages over the other?

and a smaller question, does the ".03" imply 1.03?
[Nexus 4 General] Noez:
Sorry for the late reply, but thank you. Yeah, it does go back to LTE once the call ends.

I added TMO where you told me to and now my phone won't boot past the "Google" image lol.

EDIT: And then reflashed your .zip, working fine :laugh:

.33 is the last radio to support LTE. 03 does imply 1.03, which is the latest radio.

P.S. - CarbonROM was my favorite until I discovered Nexus 5 Experience, I suggest you check it out if you haven't already.
[Nexus 4 General] qbanways:
I don't know about that. I had N5 exp 8.5 and it had bugs with GPS on battery saver mode, battery drain, expansion mode would disapear, PIE would not work. These are all problems I had and were reported by others as well. There is also a camera record issue which all users have (i don't record so I don't care). I would wait for 8.6 or do what others are doing which is using N5 8.2.

My personal favorite is LiquidSmooth 3.2 which has all the same options as N5 exp and other helpful tweaks.

Question about LTE hotspot. I have metroPCS which uses t-mobiles band. When I try using hotspot it takes you to a t-mobile page that says you have to pay for the service. This is even after using 3rd party apps that are suppose to go around the carriers hotspot block. I read threads that this was a product of KitKat update. Anyone had any luck using hotspot for MetroPCS/Tmobile without paying additional charges?
[Nexus 4 General] *child:
Yes, .03 = 1.03. You are more likely to find answers to questions about the hybrid modems here.

Make absolutely no sense, but OK :laugh:
[Nexus 4 General] Noez:
I haven't had any issues with battery drain since Power Optimizer is enabled. Concerning the other issues I've never bothered using expansion mode/PIE so I guess that's why my experience with the rom isn't too bad. I think I've tried Liquid Smooth prior to Kit Kat, I prefer my roms come completely stock, no need for excessive features/apps I don't use.

Using my phone as a hotspot runs smoothly without any warnings but only for casual browsing, I avoid bandwidth-heavy activities.
[Nexus 4 General] XanSama:
Works beautifully.

Just got around to flashing my phone again for the first time in quite a while; this package made the whole process much easier and worked first try.

Thanks *child :)
[Nexus 4 General] Nivekoso:
COOL! :D :o
[Nexus 4 General] DollarStrawz:
will this work on any other devices?

Hey guys I am getting desperate now looking in other areas for a fix. I cannot for the life of me to get tethering to work on any CM based rom for my LG Optimus G Pro. It's an ATT model and I'm running Straight Talk. I am really wanting to run Beanstalk ROM it's a 4.4.4. I was just wondering if this fix can be made to work on other devices? A long shot I know. Maybe OP can do up a fix for my device? everybody over there could use it. Thanks!
[Nexus 4 General] smartymcfly:
Have you tried

Foxfire?

Wifi-Tether_Router?

Wifi-Tether?

You might need some form of encryption like a VPN or dnscrypt on your CPU's connection to bypass your ISP's monitoring of how much tethered data you are using.
[Nexus 4 General] neod192:
I'm looking forward to the 5.0 compatible LTE fix :) Is it coming soon?
[Nexus 4 General] Planterz:
If you have custom recovery, just re-flash a hybrid modem. It might not show LTE in the status bar, but if you go to Settings -> About device -> Status, it should show it as LTE. Or if you go into the Networks section, you should see the option to select LTE/GSM/Etc.
[Nexus 4 General] ramjet73:
Try the attached version. It worked for me. ;)

Edit: Attachment removed in deference to the 2.0 beta version that has now been added to the OP.

ramjet73
[Nexus 4 General] murava:
Thanks! This worked, but It doesn't stick to preferring LTE after rebooting. Is there anyway to do that yet?
[Nexus 4 General] *child:
Is tethering over LTE still working with my fix in 5.0?
[Nexus 4 General] *child:
PRE-RELEASE Update

Before flashing, please remember to make a Nandroid backup. Also, I need to know if tethering over LTE on Canadian networks (Rogers, Bell or Telus) still works with my fix on Android 5.0. Let me know how it goes. Thanks!

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

Update radio to .33/1.04

Update updater-script for 5.0

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

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

Update radio to 1.04
[Nexus 4 General] ramjet73:
It does for me, but I'm on the [MENTION=1050103]sykopompos[/MENTION] AOSP based ROM, and I haven't tried it on the stock LRX21T ROM. I have a post in that thread with more background on how it was created from the 1.15 version.

The only changes to the 1.5 version for KitKat are a newer hybrid radio and some changes to the updater-script to make it compatible with with Android 5.0. I reviewed the other changes made by the scripts included and couldn't find anything else release dependent.

I just noticed that there is a 2.0 beta version in the OP of this thread so you might want to give that a try as well.

It worked for me with the modified version of 1.5 I posted in the [MENTION=1050103]sykopompos[/MENTION] ROM thread.

Sorry, but I wasn't aware you were planning to maintain this mod, since there had been no activity until now since the 5.0 stock ROM became available for the Nexus 4 last Thursday. I linked your OP from my post in the other thread to give you credit for the 1.5 version I used as a base.

Edit: I just noticed using the SQLite Editor that there is no tether_dun_required=0 entry in the settings.db file but it seems to work anyway.

ramjet73
[Nexus 4 General] Warbuff:
With the beta package it is not working on my lollipop rooted stock. The LTE option is missing from networking options. When i try to do it manually through the *#*#4636#*#* menu . It doesn't connect to LTE.
[Nexus 4 General] ramjet73:
Beta 2.0 version

I tried running the beta 2.0 version just added to the OP and there seems to be a lib missing required by sqlite3 to do the settings.db updates.

Also, there is no preferred network type selected in the cellular settings (see first screenshot) and the additional parameters don't appear to have been added to build.prop (see second screenshot).

Here's the relevant portion of the recovery log:

Installing '/sdcard/Allupdates/Patches/nexus-4-lte-fix-v2.0-BETA1.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.

------------------------
Nexus 4 LTE fix
by *child
------------------------

Nexus 4 LTE and LTE hotspot/tethering fix v2.0

about to run program [/sbin/busybox] with 3 args
Nexus 4 Android 5.0 ROM detected.

Flashing 33/104 hybrid radio ...
about to run program [/sbin/busybox] with 4 args
91075+0 records in
91075+0 records out
46630400 bytes (44.5MB) copied, 9.992553 seconds, 4.5MB/s
Adding addon.d and init.d scripts ...
minzip: Extracted file "/system/addon.d/80-mako-lte.sh"
minzip: Extracted file "/system/etc/init.d/81makoltetether"
about to run program [/sbin/busybox] with 3 args
mount: mounting /dev/block/mmcblk0p23 on /data failed: Device or resource busy
run_program: child exited with status 255
about to run program [/tmp/sqlite3] with 3 args
Setting LTE as the preferred network mode ...
CANNOT LINK EXECUTABLE: could not load library "libsqlite.so" needed by "/tmp/sqlite3"; caused by could not load library "libicui18n.so" needed by "libsqlite.so"; caused by could not load library "libicuuc.so" needed by "libicui18n.so"; caused by cannot locate symbol "__stpcpy_chk" referenced by "libicuuc.so"...
run_program: child exited with status 1
Installing tether_dun_required fix for T-Mobile ...
about to run program [/tmp/sqlite3] with 3 args
CANNOT LINK EXECUTABLE: could not load library "libsqlite.so" needed by "/tmp/sqlite3"; caused by could not load library "libicui18n.so" needed by "libsqlite.so"; caused by could not load library "libicuuc.so" needed by "libicui18n.so"; caused by cannot locate symbol "__stpcpy_chk" referenced by "libicuuc.so"...
run_program: child exited with status 1

Nexus 4 LTE fix SUCCESSFULLY applied!
script result was [3]

Hope that helps.

ramjet73
[Nexus 4 General] Joshua Mr PC Repair:
4g - works but after reboot

for some reason when i reboot my phone wont keep 4g , Running Stock LRX21T & 3.4.0-HCRproL1 #68
[Nexus 4 General] *child:
This is really helpful ... thanks!

Seems like the updater-script cannot mount /data and cannot copy sqlite3 so that it can make changes to settings.db. There is probably some updated conventions with regards to custom recoveries and updater-scripts I'll have to research. Any ideas on how to fix the problems are welcome. Hopefully I can have something to test tomorrow.
[Nexus 4 General] ramjet73:
I think data is already mounted since in most cases the zip file is being run from the simulated SD card which is part of the data partition. You can probably ignore that error since the mount would only be need if the script were flashed from a USB OTG device.

In checking the settings.db for the tether_dun_required entry I noticed there is already a preferred_network_type entry with a value of 9. Is that supposed to take the place of the build.prop mods in 5.0? I'm asking because the initialize.sh script is missing from the beta 2.0 version of the zip and that's what modified build.prop in previous versions.

Do you still have a Nexus 4 to use for testing?

ramjet73
[Nexus 4 General] hp420:
This zip isn't necessary anymore. Tethering on Tmobile LTE works out of the box on 5.0, assuming you have a hybrid baseband. The only thing this claims to do that is necessary is make LTE the default network....which it doesn't do properly. If you're looking to make LTE settings "stick" after reboot, use this guide:
[Nexus 4 General] educated__fool:
well, I've done it without the app. I pulled the sqlite database to my pc, changed the value using sqlite editor and pushed it back.
[Nexus 4 General] therealsniper69:
I used that method and LTE sticks after reboot, otherwise I had to go into phone info and change it every time it booted up. I used a zip that said version 1.6(??).