[Nexus 4 Android Development] Beremus:
Hey everyones,

I've searched a lot and never found on XDA what I searched so I decided to start this thread. It's from another author, from another website, so I don't take any credit on this but I think it will be useful for you as it was for me.

I'm not responsible for any bricked device/broken or whatever. Be sure to make a NANDROID backup before running theses changes.

Before we get started, there are a few prerequisites for the following hack to work. You need (1) a Nexus 4 that has been rooted (2) you’re with Rogers, Bell, Telus, Fido, Kodoo, Virgin, MTS, Sasktel, Telcel (and for some lucky users T-Mobile) –for greater certainty, this guide will definitely NOT work with Wind Mobile, Mobilicity or Public Mobile in Canada or AT&T, Verizon, etc.), (3) you have an LTE sim card–you cannot use a regular sim card and (4) your data plan supports LTE (most data plans are LTE enabled, but some really old ones do not, ask your carrier if you are unsure).

MAKE A NANDROID BACKUP

You will also need to be ROOTED and have the .33 baseband or older(if you don't go flash it:

Nexus 4 Basebands collection)

It should look like this:

Here are few line of code you'll need to have when we will begin. Be sure to note these, without any error in it:

telephony.lteOnGsmDevice=1
ro.telephony.default_network=9
ro.ril.def.preferred.network=9

OK! Now we are good to go.

1. Download a root browser (I personnally like Root Browser. It simple and fast enough.)

2. We need to edit a file named build.prop. For this, you need to go

/system/

3. Long click on it, it will popup a menu. Select "Open As" and select a text editor.

4. Find the line:

telephony.lteOnCdmaDevice=0

5. Replace (I mean, erase it) it with the three lines we wrote down before.

6. Save the file.

We are at 50% of the job now.

7. In the next few steps, we’re going to add your carrier’s LTE APNs directly into Android (if you’re with Rogers or Fido) because the build.prop trick only works if you don’t change the APN in Android. Therefore, if you’re with Bell, Telus, Virgin or Kodoo or Telcel (Mexico), you can likely safely skip this step as the APNs in the XML file are likely already correct (but you can check to make sure). If you’re with Fido or Rogers, you will have to modify the XML file as we do below. If you don’t know what your carrier’s APN settings are, you can visit this page to find your carrier and take note of the LTE APN settings. In our example below, we’ll be changing the APN under “Fido Default”.

8. Now we need to go to this location:

/system/etc/

9. Find a file named apns-conf.xml

10. Make a backup of it (Copy it to your sdcard for exemple).

11. This backup is really nice, because with this, we are going to change the APNs you need.

12. Plug your phone to your PC and open the XML file with notepad++ or any text editor of your choice.

(It should look like this)

13. Find your carrier and change the APN to the LTE APN you found before.

14. Save the file

15. Now move the file to /system/etc/

16. Last step, you must FACTORY RESET your phone by the phone itself or the hack will not work.

After that, you should see a 4G icon, meaning that everythings worked fine!

Gratz!

If not, restore your NANDROID backup.

Good luck!

There are few things you should know after this mod/hack. (FAQ)

1. Don't ever go to *#*#4636#*#* or it will just cancel all your hard work.

2. If you flash a new ROM, you'll need to redo all the steps.

3. Flashing a kernel doesn't ***k this hack.

4. LTE drains the battery pretty rapidely, don't whine you got a bad battery life.

5. It work with every roms, you only need to be rooted.

6. T-Mobile users need to do the APNs changes.

7. If your LTE Calls drops, go see here.

I'll keep updating the post. Don't worry, if something change, you'll know it.

You can post your Speedtest screenshots here too!:)

(Source: Hippowise.com)