yashsingh1/xdaforums huggingface dataset:
[AT&T LG Optimus G] dvhexer:
If anyone had problems waking up the phone from sleep: the link to the fix is on the first page.

I had 2 versions of lights..so - the one from the vendor : lights.msm8960.so and the compiled one: lights.mako.so. The mako version causes problems, need to look at it. I packaged only the vendor lib in the previous builds but forgot to remove mako lib this time.
[AT&T LG Optimus G] MrPlNK:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

It just started happening to me! Nice timing haha.. Do I need to wipe anything or just flash?
[AT&T LG Optimus G] dvhexer:
just flash, the only thing it does is removes duplicate lib
[AT&T LG Optimus G] 3GBeyotch:
NFC Failure - logs

Hopefully this will to help to resolve the NFC issue
[AT&T LG Optimus G] dvhexer:
Have you flashed any Korean JB 4.1.2 ports prior converting to N4?
[AT&T LG Optimus G] d11dog11:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

Did you use the official gapps or the one linked in the OP. I used the official cm 121212 ones.
[AT&T LG Optimus G] 3GBeyotch:
I think I did so much flashing its all a blur now. Is that the problem then?
[AT&T LG Optimus G] dvhexer:
I'm not sure, it might.Try to flash this zip in cwm. It upgrades nfc firmware to the one from korean jb

http://d-h.st/51v
[AT&T LG Optimus G] xxgmon3yxx:
Thanks a lot for all your work man!

what happened to the reboot menu?
[AT&T LG Optimus G] dnorthington:
[N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

https://plus.google.com/117962666888533781522/posts/iWRWc4bdXJb
[AT&T LG Optimus G] MrZim4:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

No NFC for me either..click the button and it adds the check mark into the box then greys it all out
[AT&T LG Optimus G] sounreal:
what am I looking at?
[AT&T LG Optimus G] Jakeroxs:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

*takes off sunglasses* mother of God. FULL INTERNAL STORAGE
[AT&T LG Optimus G] xxgmon3yxx:
wow... Thanks, I just enabled it.

Indeed.
[AT&T LG Optimus G] play2lose:
16gb internal storage? How?
[AT&T LG Optimus G] C2fifield:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

Yeah has the modified tot been released?

Sent from my "Canadian" LG-E970
[AT&T LG Optimus G] xxgmon3yxx:
A method similar to the camera fix for JB. Some simple commands on adb, download some files and that's all... I'm sure dvhexer will write up a tutorial on it.
[AT&T LG Optimus G] 3GBeyotch:
That did it! Thank you
[AT&T LG Optimus G] sounreal:
yeah I was wondering why he posted a pic of 12GB in this thread as if its working now...
[AT&T LG Optimus G] VladBelsky:
I see you have properly partitioned internal storage as well ;)
[AT&T LG Optimus G] C2fifield:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

Aw so jealous haha.

Sent from my "Canadian" LG-E970
[AT&T LG Optimus G] dvhexer:
Thanks for posting logs :)
[AT&T LG Optimus G] dvhexer:
Don't be :) I made it official: http://xdaforums.com/showthread.php?p=38311960
[AT&T LG Optimus G] ChefAnt:
my sound is messed up? sounds super tinny(spelling.) also camera is kind of wonky but no big deal i suppose.
[AT&T LG Optimus G] MrPlNK:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

Will there be an "easier" fix in the future?

Sent from my Neximus G
[AT&T LG Optimus G] Main Target:
Where can I get a radio that has working GPS (I assume without LTE?)
[AT&T LG Optimus G] Tuppidsay:
Flash the stock att radio with fastboot. LTE and GPS are working fine, only thing i've noticed is dropping to hsdpa during calls.
[AT&T LG Optimus G] mws1986:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

How do I know what radio I have?
[AT&T LG Optimus G] themoe:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

Random question. anyone else having issues downloading the latest version of Google search (Google now) from the play store? It says my 'phone is not compatible' with the latest version.
[AT&T LG Optimus G] d11dog11:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

Settings/About phone/baseband version
[AT&T LG Optimus G] mws1986:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MH

That's what I thought. Mine says unknown does that mean I have the ATT radio
[AT&T LG Optimus G] 3GBeyotch:
No photosphere

So I did the 16GB conversion and started fresh and everything is working except I lost photosphere? Is there an APK anywhere for it?

**Edit**

Never mind - googled and installed this one: http://d-h.st/aIy

Now I have two cameras and two galleries but I can live with it.
[AT&T LG Optimus G] themoe:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

photosphere is only part of Google supplied nexus roms. it's not part of AOSP.
[AT&T LG Optimus G] Main Target:
Link to this radio? Ive been flashing the LTE fixes from here but GPS def doesnt work. http://xdaforums.com/showthread.php?t=2117576
[AT&T LG Optimus G] dnorthington:
I've had better luck with the .33 radio found here. http://xdaforums.com/showthread.php?t=2087227 Takes a while to lock, but it eventually gets to 10-20 meters in the car and the compass works for the most part.
[AT&T LG Optimus G] jkassay:
2nd time around and everything works!

This is the second time trying the cm10 rom. I must say I am very happy with the OP's work.

Everything is working: LTE, GPS, SD card, NFC, Notification light, Cap. keys, etc.

Only I might do is the mod for the extra internal memory.

Thanks again.......

One thing that I did different this time: When I did the N4 conversion, I did not let it update to 4.1.2. I proceeded to root and flash the OP's new rom immediately. This may have left the original radio in place. I have no trouble getting a GPS lock in 5 seconds and still have LTE support.

The baseband version is M9615A-CEFWMAZM-2.0.1700.24, Hope this helps those having trouble with GPS and LTE.

I also flashed the Wake lock and and NFC fix
[AT&T LG Optimus G] play2lose:
Found a link to that modem here http://d-h.st/MDD

I'm gonna try it out and hope LTE + GPS work!
[AT&T LG Optimus G] xxgmon3yxx:
There isnt a fix available yet for the ATT modem GPS problem, it is being worked on at the moment by the OP =).
[AT&T LG Optimus G] ArghSims:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

Fantastic work, man! Really living this release.
[AT&T LG Optimus G] Mike724:
In think I found a bug with the capacitive keys. I'm trying to remap the menu key to work as a back button, and the back key (physical one) to work as a menu button or something else. I find it difficult when holding my phone in my right hand to reach over with my thumb to hit the back button. I went into System > Hardware keys, and the back button does not show up in the list, nor can I remap the menu button to work as a back button. Pretty much the menu says nothing about a back key/action. Maybe it's an upstream issue? :confused:
[AT&T LG Optimus G] Fidelio_o:
oops wrong thread.
[AT&T LG Optimus G] jasherpowers:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

Is there a way to fix the washed out colors after the conversion? The LG stock ROMs look much better..
[AT&T LG Optimus G] MrZim4:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

I haven't noticed washed out colors, but in the nexus 4 general thread there's a thread about washed out colors by molesarecoming, you can try his kernels but they'll replace the capacative key fixes here. I think a couple Devs here were looking at adding these mods to their kernels but I think I'm the only one that's requested it so far. Maybe more people asking for it will get someone to fix it up for us. I know its source edits but I'm no good with anything like that so its way out of my league
[AT&T LG Optimus G] mrstimpy:
Is there support for exFat external SDs? Otherwise will have to format mine back to NTFS... Thanks for your hard work!
[AT&T LG Optimus G] Mike724:
I think it's by default included in ParanoidAndroid for the Nexus 4. It would be nice to have it in Cyanogenmod though, so we can keep all of the fixes.
[AT&T LG Optimus G] jasherpowers:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

I've downloaded a few apps from the play store.. But nothing really does a good job. I'll have to take a look at some N4 threads and see if I can fix it myself. Does anyone else notice that the color calibration is off?
[AT&T LG Optimus G] Fidelio_o:
Yeah, its a known nexus issue. Franco and Faux both have apps available that will help you calibrate the color better.
[AT&T LG Optimus G] cdromo90:
Re sync? ;)
[AT&T LG Optimus G] anshu.viz:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

Nightly would be even more better!!!
[AT&T LG Optimus G] pinkster:
hi, i'm having some problems with this rom.

I couldnt turn NFC off so i flashed the fix and now it's the opposite, i cant turn NFC on.

The other problem is with the SD, it doesnt mount it and if i click in activate SD in settings it says preparing sd and then nothing.
[AT&T LG Optimus G] XsceneXhippieX:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

Mhl is janky for me, black screen on my phone on chrome but completely touch functional and playing back on the TV odd but usable and awesome that I can play my games via HDMI and moga controller when it comes in tomorrow, thanks a lot!
[AT&T LG Optimus G] gunnyman:
So today I took the plunge and did the conversion and the expansion to 16 GB and then flashed this ROM. I still have software keys and my capactive ones don't work.

I'm using the build dated 201330202 what am I missing?
[AT&T LG Optimus G] Dsmforlife92:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

I had to flash ROM twice to get ride of software keys
[AT&T LG Optimus G] gunnyman:
never mind I'm a moron. I flashed the first build without looking at the date.

I'm used to task and his putting latest build on top :D

Reading is such an under used skill :( :D
[AT&T LG Optimus G] pinkster:
mtp is not working for me. nothing happens when i connect the phone to win7 and select MTP, no drive is mounted,

any idea?
[AT&T LG Optimus G] div3rg3nt:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

Anyone else missing reboot options from the power menu - recovery, bootloader? I dirty flashed the most recent update over the previous. Wondering if I need a clean install.
[AT&T LG Optimus G] jooprzol:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

Div3rg3nt, CM changed the advanced reboot menu options. You now need to go into settings, developer options, and check the advanced reboot check box. They'll show up after that.
[AT&T LG Optimus G] inneyeseakay:
I'm on the nexus radio .33, I have good stable lte, but an unable to send or get MMS unless I switch to the non-LTE APN... Any advice?

EDIT: NVM, just needed to update GoSMS... lol
[AT&T LG Optimus G] dnorthington:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

Strange. I'm on the stable version of AOKP and sending and receiving are working fine for me on the .33 radio in an LTE area. Could be a 4.2.2 thing?
[AT&T LG Optimus G] inneyeseakay:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

PM incoming... :D

(Sent from my Nexus'd LGOG using Tapatalk 2)
[AT&T LG Optimus G] MrPlNK:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

I'm experiencing similar.. It doesn't even give me the option when plugged in but I only have a macbook so Idk if its just being screwy cause of osx
[AT&T LG Optimus G] inneyeseakay:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

On the newest build... is anyone having an issue with the cpu clock speed min setting itself to 1ghz?

(Sent from my Nexus'd Optimus G using Tapatalk 2)
[AT&T LG Optimus G] id10terrordfw:
Did you install the Nexus 4 drivers? Remember, it isn't viewed by Windows as an Optimus G anymore. :D
[AT&T LG Optimus G] pinkster:
Thanks, i did have the nex4 drivers but i did a cleanup of them and reinstalled and worked.

Now works but only with internal memory, any ideas on a fix to mount extSD on MTP? i guess it has to be fixed to be recognized as external sd in android first.
[AT&T LG Optimus G] Jakeroxs:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

Mine mounts correctly, using AOKP with the fix zip in the other thread.
[AT&T LG Optimus G] bboretsky:
CPU control

Did the N4 conversion and then upgraded to This variant of CM. Works like a charm. Thanks everyone that worked on this...Only question i have, it there a CPU control similar to what the original LG had? I was looking and found the CPU clocking control and the different profiles. Is this the equivalent replacement?

thanks,

-Bryan
[AT&T LG Optimus G] pinkster:
does your sd card shows up in Settings, Storage?
[AT&T LG Optimus G] Jakeroxs:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

Somewhat yes, it's a little strange how it does it.
[AT&T LG Optimus G] id10terrordfw:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

Using the GPS.conf from Snow seems to work great with GPS, near instant locks for me and I still have LTE.
[AT&T LG Optimus G] dnorthington:
[N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

Where can I grab that? Looked in his JB thread and did some searches but am on my phone.
[AT&T LG Optimus G] id10terrordfw:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

In the zip file, under /system/etc. If my damn mediafire app would work I would upload it.

Weird, it apparently did work. Extract and paste using root explorer. NOT FLASHABLE. http://www.mediafire.com/download.php?jq2943dej4ztqxj

---------- Post added at 05:14 PM ---------- Previous post was at 04:57 PM ----------

Oh and make sure to set permissions to rw-r-r. Then reboot.
[AT&T LG Optimus G] MrPlNK:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

Didn't work :( just extract file, move to /system/etc/ and rw- r-- r-- right?
[AT&T LG Optimus G] id10terrordfw:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

Yup, replacing the existing file, set permissions, reboot. I don't know what to say, it worked for me perfectly.
[AT&T LG Optimus G] MrPlNK:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

Probably has something to do with me being on AOKP lol.. Was worth a shot
[AT&T LG Optimus G] 3GBeyotch:
Odd problems

First love this ROM almost everything is working really well except:

bluetooth devices after reboot request to be paired again

I cant make calls after being connected to wifi for 'x' amount of time (I haven't measured an exact time)

- I have to activate airplane mode then change the apn before it will allow me to make calls

I've tried different modems .24 , .27 , .33 but all still have the problem.

Anyone else seen this type of problem?
[AT&T LG Optimus G] themoe:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

YES!!!!! bluetooth has been driving me insane. Wasn't sure if it was the app that I had installed (a2dp volume) causing problems but it seems as though I have the same issue. It asks on reboot to pair and also seems to no longer pair after being on for some time without a reboot (almost like it just forgets)
[AT&T LG Optimus G] dnorthington:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

Thanks. I now getting an almost instant lock to 3 meters on the 33 modem. I'm going to go back to the att modem when I get home and see how it works.
[AT&T LG Optimus G] pinkster:
i'm not able to record videos in 1080p. I press the record button but nothing happens. It works OK in 720p and lower.

It's me or someone else have same problem?
[AT&T LG Optimus G] id10terrordfw:
Re: [N4 Conversion][CM 10.1][2/21/13] Ext SD/NFC/Capacitive Keys/MHL

Glad to help, and know it wasn't just me! :thumbup:
[AT&T LG Optimus G] 3GBeyotch:
I saw the the same thing when I installed this camera mod http://xdaforums.com/showthread.php?t=2073013

**Edit**

Sorry that wasn't very helpful but informative maybe?
[AT&T LG Optimus G] pinkster:
yea, thanks, it's probably that... i applied that bloody mod..
[AT&T LG Optimus G] dvhexer:
I think I know what's wrong with lost bluetooth pairings. N4 conversion is cool but it has problems :)

The problem here is that data in persist partition is lost during the conversion, so you loose your bluetooth address as well as wifi mac address (probably something else) and use defaults from some range, I beleive, so you get a new address after each reboot.

The fix is comparatively easy, you will not return to your factory addresses (unless you did a backup of the partition or wrote them down) but who cares. Just use some random numbers and the chance you have a conflict with other devices is about the same as winning jackpot :)

Use root explorer or adb with root access.

For bt address:

- In /persist directory create bluetooth directory. Under the new directory create a file named .bdaddr (don't miss the dot!)

Edit the file and put 6 random characters in it. Even better, if you can do this in a hex editor and put 6 random bytes, not just printable characters.

- Set execute and read permissions for everybody on /persist/bluetooth directory and change owner of .bdaddr to bluetooth:bluetooth and permission to 660 (read/write for owner and group and nothing else). In command line:

chown root:root /persist/bluetooth

chmod 755 /persist/bluetooth

chown bluetooth:bluetooth /persist/bluetooth/.bdaddr

chmod 660 /persist/bluetooth/.bdaddr

- reboot

Check your address unders Settings->About->Status and make sure it remains the same after reboots. If you still have problems, check logcat right after reboot and search for bdaddr errors.

For wifi mac address:

- In /persist directory create wifi directory. In the new directory create a file named .macaddr (don't miss the dot!)

Edit the file and put 12 random hex numbers in it (0-9, A-F), save.

- Set execute and read permissions for everybody on /persist/wifi directory and change owner of .macaddr to wifi:wifi and permission to 660 (read/write for owner and group and nothing else). In command line:

chown root:root /persist/wifi

chmod 755 /persist/wifi

chown wifi:wifi /persist/wifi/.macaddr

chmod 660 /persist/wifi/.macaddr

- run /system/bin/conn_init program. Can be run in root explorer(choose Linux Script Handler when you open it), or in adb shell:

$ su

# /system/bin/conn_init

- reboot

Check your address unders Settings->About->Status and make sure it remains the same after reboots. I you still have problems wifi address, check logcat for errors
[AT&T LG Optimus G] Fidelio_o:
is there an update? Thead title says so, but i cant find it lol, or is it uploading?
[AT&T LG Optimus G] pinkster:
it's in OP. last link of the list.. first is oldest, last newest
[AT&T LG Optimus G] xxgmon3yxx:
My address keeps changing after each reboot, Ill check the log and report back.
[AT&T LG Optimus G] MrPlNK:
Re: [N4 Conversion][CM 10.1][2/28/13] Ext SD/NFC/Capacitive Keys/MHL

What has been changed? What is CM resync?
[AT&T LG Optimus G] dnorthington:
[N4 Conversion][CM 10.1][2/28/13] Ext SD/NFC/Capacitive Keys/MHL

Resync means it is brought up to parity with the latest cm nightly version.
[AT&T LG Optimus G] C2fifield:
Re: [N4 Conversion][CM 10.1][2/28/13] Ext SD/NFC/Capacitive Keys/MHL

There basically is... I'm running AOKP right now with no hiccups at all

Sent from my Nexus G LTE
[AT&T LG Optimus G] MrPlNK:
Re: [N4 Conversion][CM 10.1][2/28/13] Ext SD/NFC/Capacitive Keys/MHL

Aokp was a bit buggy and laggy for me
[AT&T LG Optimus G] C2fifield:
Re: [N4 Conversion][CM 10.1][2/28/13] Ext SD/NFC/Capacitive Keys/MHL

Hm that's weird. The newest 4.2.2 one is running perfectly for me.

Sent from my Nexus G LTE
[AT&T LG Optimus G] hobbit19:
http://www.androidpolice.com/2013/0...ve-100-of-the-proprietary-binaries-available/
[AT&T LG Optimus G] MrPlNK:
Re: [N4 Conversion][CM 10.1][2/28/13] Ext SD/NFC/Capacitive Keys/MHL

So what does this mean in regards to us?
[AT&T LG Optimus G] gunnyman:
Re: [N4 Conversion][CM 10.1][2/28/13] Ext SD/NFC/Capacitive Keys/MHL

Nothing really. Unless the binaries from Mako can be used unmodified on a native aosp build.
[AT&T LG Optimus G] xsaqzw:
I finally got my phone N4'd and got this installed. However, it just stays on the CyanogenMod boot screen.. just spins and spins and spins.. :/
[AT&T LG Optimus G] Dr0!dFreek:
Re: [N4 Conversion][CM 10.1][2/28/13] Ext SD/NFC/Capacitive Keys/MHL

Did you fast boot -w?
[AT&T LG Optimus G] xsaqzw:
No. Thank you, I'm going to try this.

EDIT: Thank you :D I'm a dumbass!
[AT&T LG Optimus G] xsaqzw:
Everything seems to be working great except for the face detection feature. Not on the lock screen, but where the screen will stay on as long as it recognizes a face.

Is this possible on this ROM?
[AT&T LG Optimus G] mrstimpy:
Hey buddy, just an FYI the latest build(02-28) broke Ext SD-Card mounting for me. I would get the Mount SD-Card option but it would not mount it.

I just went ahead and flashed back the old one(02-20+02-21).

Thanks!!
[AT&T LG Optimus G] MrPlNK:
Re: [N4 Conversion][CM 10.1][2/28/13] Ext SD/NFC/Capacitive Keys/MHL

I did this and GPS turns on by itself and tries to lock location.. Anyone else?
[AT&T LG Optimus G] pinkster:
Same to me, sd doesnt mount any more.
[AT&T LG Optimus G] Rockwig:
Which framework resources need to be updated for Cap Button lights? :)
[AT&T LG Optimus G] dvhexer:
Thanks for reporting, please upload your dmesg/logcat outputs (better right after reboot) somewhere. All these features including MTP for SD card work fine for me so I don't know where to look.

To get capacitive buttons with lights working in any other N4 ROM you would need:

1. proper boot.img:

- kernel with capacitive buttons support

- init.mako.rc startup script should be modified to include these lines:

chown system system /sys/class/leds/led:red/brightness

chown system system /sys/class/leds/led:red/trigger

chown system system /sys/class/leds/button-backlight/brightness

chown system system /sys/class/leds/button-backlight/trigger

OP CM or fix.zip from xxgmon3yxx have boot.img you need

2. Next thing is to get proper lights HAL library:

- copy /system/lib/hw/lights.msm8960.so from OP CM to /system/lib/hw/ in your Nexus ROM

- delete /system/lib/hw/lights.mako.so in your N4 ROM (or better rename it to something like /system/lib/hw/lights.msm8960.so.orig)

3. Replace the following files in your N4 ROM with the files from OP CM:

/system/usr/keylayout/keypad_8064.kl

/system/usr/idc/touch_dev.idc

4. Finally edit framework resources:

- download apktool, great tool for working with android resource files: http://code.google.com/p/android-apktool/

The help/wiki on the site should be enough to start with the tool. you can also search xda, there are should be some tutorials

- get /system/framework/framework-res.jar from your N4 rom and unpack with apktool

apktool d framework-res.apk

- edit framework-res/res/values/arrays.xml.

Find

<integer-array name="config_autoBrightnessButtonBacklightValues">

<item>0</item>

<item>0</item>

<item>0</item>

<item>0</item>

<item>0</item>

<item>0</item>

<item>0</item>

<item>0</item>

<item>0</item>

<item>0</item>

<item>0</item>

<item>0</item>

</integer-array>

and replace with

<integer-array name="config_autoBrightnessButtonBacklightValues">

<item>100</item>

<item>100</item>

<item>100</item>

<item>100</item>

<item>175</item>

<item>175</item>

<item>175</item>

<item>175</item>

<item>255</item>

<item>255</item>

<item>255</item>

<item>255</item>

</integer-array>

Make sure the number of item elements is the same as in the original file.

- repack framework-res.apk:

apktool b framework-res framework-res.apk

- replace /system/framework/framework-res.jar in your N4 ROM with the newly created file

PS when you unpack framework-res.apk you can take a look at some other settings, check arrays.xml, bools.xml, integers.xml etc