yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] *child:
If you dial *#*#INFO#*#*, select Phone information, and expand the drop-down, you will see that the first item in the list is WCDMA preferred (=0), the last item is Unknown (=12), and the third-to-last item is LTE/GSM/CDMA auto (PRL) (=10). There is no 24th value in the list. It does not really matter anyway as these to build.prop edits only come into effect after a factory reset, which is necessary. Only the Network mode setting matters.

Yes, LTE tethering is the same as Portable Wi-Fi hotspot. I am not exactly sure, but I think that because the Nexus 4 was never meant to have LTE, the firewall rules for tethering through LTE were never added, therefore blocking the transfer of data between the LTE and Wi-Fi radios. I really have no idea why LTE tethering still works without these firewall edits on T-Mobile, and not on others like Rogers.

I hope this sheds some light on the situation.
[Nexus 4 General] *child:
Yes, v1.2 had the .33/.84 hybrid for 4.3. The .33/.97 hybrid radio has problems so I never updated my fix with this radio. The problems were corrected with .98 and thus I have updated my fix with the 33/.98 radio.
[Nexus 4 General] mike102871:
So we clashing g the new hybrid radio. 33/98 every reboot takes likes 90seconds to 2min for the cell radio to get service. Was always instant on 33/84 hybrid.
[Nexus 4 General] jlk_250:
You mean v1.1 had the .33/84 hybrid, I believe. I agree that the installer with that hybrid radio should have been used for both 4.3 and 4.4 but IMO another version of the uninstaller should have been created for returning to 4.4 with the .97 radio because you can't OTA to 4.4.1 with the .84 radio, it must be .97. Once you OTA to 4.4.1 it is on the .98 radio when stock and now mine is on the .98/.33 hybrid. Working fine, as far as I can tell.
[Nexus 4 General] *child:
I have created a new installer, with the tether_dun_required fix included, and associated uninstaller for any 4.4.1 ROM with init.d support. Can a few of you test them out and post your results?

Basically, you can:

Nandroid backup

Flash the installer from recovery, reboot, and see if LTE and tethering works

Flash the uninstaller from recovery, reboot, and see if LTE support is removed

Post results here

If the LTE fix is already installed, you can try the uninstaller first, and then the installer. If you run into any problems, please restore your Nandroid backup.

You download both the installer and uninstaller here:
[Nexus 4 General] *child:
In your TMo APN settings, set your APN protocol to IPv4.
[Nexus 4 General] HKSpeed:
I've been out of the N4 loop for a while. Will I need to flash this fix if I switch from a 4.3 to 4.4.1 ROM? I'm currently on the 33/84 hybrid LTE radio using 4.3 Paranoid Android. I'm also on T-Mobile. Thanks.

My main phone is a Galaxy S4, which requires new modems to be flashed with 4.3 and newer ROMS for people coming form 4.2.2. So I'm wondering if the N4 has a similar situation with KitKat.
[Nexus 4 General] *child:
Depends ... If you're dirty flashing PA 4.4 over 4.3, you may not need to reflash the fix. If you're wiping and doing a clean install, you will need to flash the fix. Either way, as the new 4.4.1 radio may work better with 4.4.1 ROMs, I recommend that you reflash to upgrade your radio.
[Nexus 4 General] darkwolf1789:
Hi,

So I'm on my Nexus 4 with Android 4.4.

I had this LTE mod installed, so before I updated to 4.4.2, I flashed the uninstaller, assuming it would return everything to stock for 4.4.

My update failed, with the following log:

Finding update package...

I:Update location: /cache/4f6d2fc7377dbb48caecaa658bb139da2b063b33.signed-occam-KOT49H-from-KRT16S.4f6d2fc7.zip

Opening update package...

I:read key e=3

I:read key e=65537

I:2 key(s) loaded from /res/keys

Verifying update package...

I:comment is 1606 bytes; signature 1588 bytes from end

I:failed to verify against key 0

I:failed to verify against key 1

E:failed to verify whole-file signature

I:verify_file returned 1

E:signature verification failed

Installing update...

Verifying current system...

partition read matched size 6512640 sha d2bac73e761d000fc6bcbfee09964c5c2d02051a

512561152 bytes free on /cache (19695468 needed)

512561152 bytes free on /cache (46630400 needed)

contents of partition "/dev/block/platform/msm_sdcc.1/by-name/modem" didn't match EMMC:/dev/block/platform/msm_sdcc.1/by-name/modem:46630400:a41d28b66d15bc0e0c84b76bf79b41eabd6dacc4:46630400:2c63f9a377c9869e0f4b3baf655addd6723c2880

file "EMMC:/dev/block/platform/msm_sdcc.1/by-name/modem:46630400:a41d28b66d15bc0e0c84b76bf79b41eabd6dacc4:46630400:2c63f9a377c9869e0f4b3baf655addd6723c2880" doesn't have any of expected sha1 sums; checking cache

failed to stat "/cache/saved.file": No such file or directory

failed to load cache file

script aborted: "EMMC:/dev/block/platform/msm_sdcc.1/by-name/modem:46630400:a41d28b66d15bc0e0c84b76bf79b41eabd6dacc4:46630400:2c63f9a377c9869e0f4b3baf655addd6723c2880" has unexpected contents.

"EMMC:/dev/block/platform/msm_sdcc.1/by-name/modem:46630400:a41d28b66d15bc0e0c84b76bf79b41eabd6dacc4:46630400:2c63f9a377c9869e0f4b3baf655addd6723c2880" has unexpected contents.

E:Error in /cache/4f6d2fc7377dbb48caecaa658bb139da2b063b33.signed-occam-KOT49H-from-KRT16S.4f6d2fc7.zip

(Status 7)

Installation aborted.

Is there something else I need to do before I can update successfully which the uninstaller isn't taking care of?

Thanks

EDIT: Okay, problem solved. I was using the old 1.1 uninstaller which must have been restoring the 4.3 state. After installing LTE fix 1.2 and using 1.2 uninstaller, the update went through.
[Nexus 4 General] *child:
4.4.2 already!?!?
[Nexus 4 General] therealsniper69:
One article said it did the following:

Fix for clearing the VM Indicator

Fix for delivery of the VM Indicator

Various additional software fixes

Security enhancements
[Nexus 4 General] codesplice:
No new radio though so shouldn't be anything to impact your most excellent work here.
[Nexus 4 General] *child:
I updated the beta installer to allow for 4.4.2 ROMs. Grab it here.
[Nexus 4 General] Outrager:
I tried to flash it with TWRP but it said it failed.

Nexus 4 with stock 4.4.2.

TWRP 2.6.3.3.

Not sure if there's any data/logs/etc you need to know what's wrong so if you need those just tell me where to how to get it.
[Nexus 4 General] *child:
Which version did you flash?
[Nexus 4 General] Outrager:
1.33 beta
[Nexus 4 General] *child:
Sorry, please try 1.34 beta.
[Nexus 4 General] Outrager:
Oh, that was fast. I'll try it now.

---------- Post added at 08:50 PM ---------- Previous post was at 08:46 PM ----------

Failed again.

I guess I'll hold off until it's out of beta.
[Nexus 4 General] *child:
Sorry, I'm trying to add some fail-safes to the updater-script. Please try v1.35.
[Nexus 4 General] Outrager:
Okay. I'll report back in a few minutes.

---------- Post added at 09:31 PM ---------- Previous post was at 09:23 PM ----------

Nope. Failed.
[Nexus 4 General] *child:
FFS
[Nexus 4 General] Outrager:
I really hope it's not something wrong with my phone. I don't want to frustrate you for no reason.
[Nexus 4 General] *child:
No worries. It was the encoding. Please try v1.36 beta.
[Nexus 4 General] jlk_250:
FWIW, I continue to have success. Used the uninstaller v1.2 to return to stock so I could apply the 4.4.2 update, which went through okay. Then re-rooted and applied the v1.2 installer again. Works fine. (Note that I checked to see if some of the files I had modified myself reverted to stock from either the uninstaller or the Android update. They didn't, which is why I don't have to do the other mods I had to do the first time.) TY for your work on this, OP!
[Nexus 4 General] Outrager:
Awesome, thanks. It worked. Got LTE (says 4G) speeds of around 20Mbps/20Mbps and tethering worked on my iPad. Even saved settings after a reboot.

I did have to go into the *#*#INFO#*#* and set the preferred network to GSM/LTE the first time.

Should I set it to GSM/LTE/CDMA instead?

When I go to my Settings to change the preferred network the current setting shows 4G, but if you click on it only 2G and 3G are options. Is that normal?
[Nexus 4 General] *child:
Finally :victory:

Either GSM/LTE or GSM/LTE/CDMA should do. I prefer GSM/LTE/CDMA as I think this CDMA is really WCDMA, so when LTE is unavailable, it will switch to WCDMA instead of GSM. Also, because the Nexus 4 is not meant to have LTE, I think they have removed 4G/LTE from the options since 4.3.

I'll update the OP tomorrow.
[Nexus 4 General] Outrager:
Thanks for making the easy installer/uninstaller.
[Nexus 4 General] *child:
No worries. I just wish I still had my Nexus 4 ... testing would be much easier.
[Nexus 4 General] Outrager:
I just bought it a few weeks ago as my first Android phone. For some reason every couple of days I think about installing some new mod but I should probably just stick with what works for now.
[Nexus 4 General] *child:
I used CM Nightly. The nightly updates used to satisfy my flashing addiction.
[Nexus 4 General] *child:
No problem.

Older versions will work, but you won't get the newer hybrid radio that may work better with newer ROMs, nor will the uninstaller install the correct radio for OTAs. If you do stick to the older versions, just remember to flash the correct radio after flashing the uninstaller so you do not run into problems with OTAs.
[Nexus 4 General] jlk_250:
Is there a newer hybrid radio than .98/.33? I thought v1.2 had the latest radio. Same for the v1.2 uninstaller, it will go back to the current radio of .98, right?
[Nexus 4 General] *child:
Yes, v1.2 uses .98, but I am really referring to future versions that have updated radios. Sorry I wasn't clear.
[Nexus 4 General] *child:
Update

2013/12/10 v1.3 - Download from OP

Added tether_dun_required = 0 for tethering over T-Mobile

Added device and version checking to the installer
[Nexus 4 General] neod192:
Thanks for all the hard work! I upgraded to 4.4.1 yesterday and installed your 1.2 script. Then 4.4.2 came out! I uninstalled v1.2, upgraded to 4.4.2 and re-installed v1.36_beta. All went perfect w/out any issues.

Is the final 1.3 the same as 1.36_beta and will the 1.3 uninstalled work on 1.36 beta? Is there any reason to upgrade from 1.36_beta to 1.3?
[Nexus 4 General] *child:
Great!

Yes, yes and no ;)
[Nexus 4 General] Banjocat:
Hi I'm on 4.4.2 and I flashed the zip but its not getting passed the boot animation. Any ideas?

Edit: Nevermind, i see you updated to 1.3 final. I did the uninstall for the beta version and it worked. I'll try the final 1.3 now.
[Nexus 4 General] DiverCat007:
Fantastic!

Greetings Kind Sir, your LTE code works like a champ - many thanks!
[Nexus 4 General] kino1122:
Before, with CM11, I was unable to tether on Rogers in Canada (I guess the T-Mobile issue is affecting us as well), but after applying this zip, tethering is working great and I have LTE as well. Thanks a lot!
[Nexus 4 General] Nocturnophile:
Not sure if towers, SIM or phone

Alright, so I'm on a fresh install of 4.4.2, rooted and unlocked.

.33 baseband

Plan is a T-Mobile $30 unlimited web/text, and T-Mobile shows LTE coverage in my area.

I installed the .zip via TWRP with no errors, and on reboot I accessed the *#*#4636#*#* menu and selected LTE/GSM auto (PRL)

Mobile networks menu shows mode "4G (recommended)", though if I open it only 2G and 3G are selectable.

Set my apn to fast.t-mobile.com with name "T-Mobile LTE"

And here I sit stuck on either H or 3G.

T-Mobile staff seemed to imply that all of their microsims are LTE capable but I'm not positive they got what I was asking.

I was unclear as to whether or not I'm supposed to factory reset after the install.

Thoughts?
[Nexus 4 General] jlk_250:
Not sure if this is important, but I did this: dial *#*#INFO#*#*, select Phone information, scroll down and select LTE/GSM/CDMA auto (PRL) from the drop-down.

Did you select either 2G or 3G? That's all mine shows too and I left them both unselected. And did you modify the APN info at all? I did, but only to set it to IPv4.
[Nexus 4 General] *child:
Isn't it fast.tmobile.com (without the dash)?
[Nexus 4 General] Nocturnophile:
I'm pretty sure it has the dash, that's how I've seen it everywhere else.

Only the other APN for tmobile (non-LTE) has no dash.
[Nexus 4 General] marty331:
I'm running 4.4.2 and rooted. I have flashed the v1.3 fix and have two issues. I can enable tethering and connect to my PC and it recieves network connectivity, but my tablet connect to my hotspot and am able to update email, G+ but am unable to browse in Chrome or Firefox.

My other issue is I have no GPS location.

Did I miss something?
[Nexus 4 General] *child:
Can you try uninstalling and reinstalling, but this time, set your APN first before going to the *#*#INFO#*#* menu.

I have no idea why one device works and another doesn't. It could a user agent issue. As for GPS, double check your settings, and maybe try both LTE/GSM and LTE/GSM/CDMA.
[Nexus 4 General] marty331:
Please don't think I'm crazy!!

I changed to LTE/GSM and now GPS is working. OK great. So I started tethering again, I checked it on my computer first - no problem. I check it on my tablet - Problem...sort of. I can access my email, G+ just fine. Chrome refuses to load any websites, so does Firefox. So I thought, maybe I'll try Chrome Beta for kicks - BOOM, works perfectly.

I don't know what could be the issue with Chrome and Firefox, but I'm calling it good for now. As long as I have access on my PC for when I'm in the airport it's good enough for me.

Thanks for the advice and putting together this fix.
[Nexus 4 General] *child:
Hehe ... no you're not crazy. It looks like T-Mobile is blocking traffic via the user agent string.
[Nexus 4 General] marty331:
That's good to know! I guess that have a tethering app they want us to use...eh, whatever.
[Nexus 4 General] *child:
Maybe we should go back to LTE/GSM instead of LTE/GSM/CDMA?
[Nexus 4 General] 0.0:
has v1.3 been taken down? I cannot download it :(
[Nexus 4 General] *child:
Sorry, it should be working now.
[Nexus 4 General] keyra74:
flashed on my cm11 nexus 4 and i'm stuck on bootloop even after factory / system wiping

ewwww... even adb devices doesn't see my phone

finally got my phone to boot, had to flash an originale 4.2.2 image and lose all my data
[Nexus 4 General] therealsniper69:
Did you back up your data? I learned the hard way that backing up data before messing with the phone is important. Now I back up my data before trying to change things. :)
[Nexus 4 General] Nocturnophile:
Alright so here is what I've done:

-Uninstalled using 1.3 uninstaller via TWRP, which ran successfully.

-Boot -> Verified APN settings are fast.t-mobile.com, IPv4

-Installed 1.3 via TWRP, completed successfully

-Boot -> Verified APN settings were still as noted above

-Access *#*#4636#*#* Menu

-Selected "LTE/GSM/CDMA auto (PRL)"

This setting causes the "Mobile Networks" menu to reflect a preferred network type "Global"

Returning to the *#*#4636#*#* menu and selecting "LTE/GSM auto (PRL)" shows the preferred network type as "4G (recommended)"

Without accessing the 4636 menu, neither of the two options above are shown in the dropdown under Mobile Networks, and in both cases I am still not seeing anything beyond 3G/H.
[Nexus 4 General] iGoogleNexus:
Meh I'm running stock 4.2.2 and Franco kernel...

I get a bootloop. I used the Uninstaller and I'm okay again.

I was reading through the threads and I see someone managed to get it done. =\ wonder what I'm doing wrong
[Nexus 4 General] *child:
If the radio is corrupted, it will cause a bootloop. Let me double-check the upload.
[Nexus 4 General] iGoogleNexus:
Thank you :)
[Nexus 4 General] neod192:
Try turning "Mobile Data" off and back on. That did it for me, and it enabled 4G. 4G also comes back after a rebooot.
[Nexus 4 General] Shagman68:
V1.3 installer link is not there
[Nexus 4 General] cred05:
It's definitely bad. I'm stuck in bootloop, even a full wipe and restore won't fix it. I'm guessing I'll have to reflash my old hybrid radio.
[Nexus 4 General] 0.0:
Same here. Bootloop. But flashing only the radio fixes the problem

Sent from my Nexus 4
[Nexus 4 General] iGoogleNexus:
Lol he's fixing something. Which is why the link was removed :)
[Nexus 4 General] *child:
I won't be able to look into it until later tonight. In the meantime, v1.2 will enable LTE too for Android 4.4.1+ too.
[Nexus 4 General] *child:
PRE-RELEASE Update

Before flashing, please double check the MD5 hash of the ZIP (C51E9B8F26E283B4F0007C76CF3F3553) and radio (531E30F6EB5A624F50AC0DAD74FA2CD2). Additionally, you can download the .md5 file and have TWRP check it for you. Also, please remember to make a Nandroid backup before flashing. Let me know if the faulty radio bootloop is fixed.

Thanks!

2013/12/13 v1.31 - Downloadhttps://github.com/marcandrews/mako-lte-and-lte-hotspot-fix/releases/tag/v1.31

Fix radio
[Nexus 4 General] anish88:
Radio is working fine for me in v1.3 havent tested v1.31 but any chance why the LTE tile or the menu function went away with 4.4.2? I switch back and forth a lot and would love to have this function back
[Nexus 4 General] iGoogleNexus:
? thank youuuu

Works well and my LTE Tether is back =D
[Nexus 4 General] hp420:
man this zip really screwed my phone up yesterday. I got stuck in a bootloop (like some others) and when I tried a factory image flash I got a bunch of errors saying something was invalid (I forget the exact error now)....so flashing a working radio over the one included with the zip was out, and when I tried to flash/restore with recovery it said everything went through just fine, but no changes stuck. I had to run -w update to get my phone to boot again. I mean, really....I understand these things can happen from time to time, but I literally lost 4 hours of sleep before work because I thought I'd give this a shot.

Please test your flashable zips better before posting them!! Like I said, I'm an understanding person when it comes to human error...mistakes happen, and nobody's perfect. I'm not so understanding when I lose half a night's sleep because the dev was too lazy to flash the zip themselves before uploading to make sure this kind of thing doesn't happen.

I'm not even thinking about downloading this until at least 10 people with more than 50 posts have confirmed it works. Sorry, but I'm not going through 4 hours of work to get my phone to boot again.
[Nexus 4 General] iGoogleNexus:
I got stuck In a bootloop just like you did. I also made sure to download the Uninstaller just in case something like this would happen. Good thing I did because I turned off my phone and went into recovery mode, flashed the Uninstaller zip and was working fine.

What took you 4 hours took me 3 minutes.
[Nexus 4 General] reuthermonkey:
You're kidding, right? :eek:

Having a bad flash comes with the territory after rooting your phone. So does providing good feedback - which you did not, btw. Your post would have at least been helpful for the OP as well as others if you bothered to mention what version of Android you're running, whether you're running a custom ROM, what steps you took to flash, whether you verified the md5 checksum for the downloads, and what exact steps you took for recovery.

If you're gonna complain about someone else's work and effort, at least be helpful.
[Nexus 4 General] Nocturnophile:
Gave that a shot, disabled mobile data, rebooted, re-enabled mobile data, still no dice.

Thanks for the suggestion though!
[Nexus 4 General] *child:
I really don't know what could be the problem. Did you try flashing the .27/.98 hybrid radio? Did you try previous versions of Android and my fix and did they enable LTE? Where are you? Are you sure LTE is available in your area? Can you test the LTE in your area with another phone?
[Nexus 4 General] hp420:
1. i've been using android and flashing custom zips for 3 years. i've come across an issue like this maybe 3 times. like i said, it happens. no one is perfect, but i do expect the dev to test their work before posting.

2. it was a radio issue. the version or rom are moot information, so your comment on that is just a douche remark.

3. steps to flash? seriously? and i did note how i fixed it....-w update the factory images. just manual flashing didn't work i needed to wipe the partitions. that should be obvious, though, since i said i did a -w update.

4. no, i didnt check md5. i never have one time in my android experience and as i said above this is extremely rare...besides the fact that it still wouldn't have helped.

in summary, your post was nothing but you being a douchebag because all i did in this post was reitterate points i've already made, but in more simple terms, since you obviously don't understand plain english unless it's dumbed down.
[Nexus 4 General] Shagman68:
V1.2 works perfectly, I just manually edited the SQL database file to add the 1 needed line and I'm happy as hell. Thanks to OP for this fix and all others involved.
[Nexus 4 General] Nocturnophile:
Unfortunately I don't have access to another LTE phone at the moment, though I'm trying to remedy this right now. My basis for coverage is T-MO's map, which is probably the worst source of information possible for this kind of thing.

I'm going to try the .27/.98 hybrid radio, I will report back with any further information but if that doesn't work, I'll probably stop bothering you until I have another handset/sim to verify LTE in my area.
[Nexus 4 General] hp420:
i guess you missed the part where i said nothing flashed in recovery stuck ;)
[Nexus 4 General] *child:
Please read the thread. I am only doing this for your benefit and yours alone. Others have had problems and contributed positively to this work, and even defended it, which I greatly appreciate. If you are unhappy, kindly inquire with another developer for your needs.

If there is further back and forth over this issue in this thread, I will notify a moderator.
[Nexus 4 General] *child:
No, it's not bothering. You should bring forward any problems, otherwise how is development suppose to happen ;)

Something else you can try is to see if you get LTE in another area, like a city center. Let me know how it goes.
[Nexus 4 General] jlk_250:
You can try the radio but I think it's a matter of which radio works best for you rather than one works but the other doesn't. It sounds like you have done everything right and the phone should get LTE if there is a valid signal.
[Nexus 4 General] reuthermonkey:
:laugh: :laugh: :laugh:

This coming from the guy who:

1) still is whining about something someone else took the time and effort to do. :rolleyes:

2) took 4 hours to reflash his phone after "flashing for 3 years". Not a quick learner, huh? :eek:

3) Was a real pro at re-iterating what useless information he did provide though! :silly:

Don't like what the OP did? Do it yourself. Oh, that's right, you don't know what you're doing (see point 2). The fact that you can't comprehend *why* it would be useful for the OP to know what version of Android you're running or whether you're running a stock or custom ROM speaks volumes though.

Way to go, there Poindexter - you're a real winner! :highfive:
[Nexus 4 General] 2ndrunnr:
First, I'd just like to say thank you for putting the time in!

I've followed the instructions how they appear. System Preferences>Network showing a tethering connection has been established, but web pages will not load. Same goes for wi-fi. Also, if I reboot, the device loses 4G. Have I missed something?
[Nexus 4 General] CellPhish:
Select "LTE Only" first, wait till 4G connects then select "LTE/GSM/CDMA"
[Nexus 4 General] bossman137:
So then as it stands T-Mobile users can't tether?
[Nexus 4 General] jlk_250:
Yes, you can tether but must make an edit to a system file. I think v1.3 is supposed to have this edit but am not sure. Either way, how to do it is listed earlier in this thread. I tethered my tablet from my N4 for an hour and a half yesterday on LTE, in the USA on the Tmobile $30/month online-only plan. No issues doing anything I would normally do over Wi-Fi.
[Nexus 4 General] mike102871:
Same here. Tethering fine with a system edit over LTE when I'm in available area.