yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

That's horrible bro. I think it has alot to do with your reception. Suddenly my 4-4.5 hours sot is sounding much better :p

Sent from my Nexus 4 using Xparent BlueTapatalk 2

---------- Post added at 07:51 PM ---------- Previous post was at 07:50 PM ----------

I'm using the most recent PA and Harsh no data drops here. AT&T USA if that helps

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] tacosrdelicioso:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Google is amazing
[Nexus 4 Original Android Development] Goog1e Phone:
im actually on rasbeanjelly. i've been on trinity for the longest time and i was getting the itch to flash something. so i tried harsh's kernel. seems to be more snappy but i was getting data drops here and there. it was rare, but it was annoying when it happened because it would take awhile for the connection to reestablish itself. keep in mind it never happened to me on trinity and i have great signal in the area i live in (always 2-4 bars, hpsa+)...im gonna give motley's kernel a try and see if it happens with his kernel too.
[Nexus 4 Original Android Development] Vahndroid84:
R: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Hi guys

I m trying this kernel and i would ask you a noobish question...how can i govern the settings of the kernel like the uv? Have you some settings to advice?
[Nexus 4 Original Android Development] aimcr7:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Use app called trickstermod from play store, or use init.d script.

Try it by yourself every phone is different, fyi this kernel already UVed by -100mV. :)
[Nexus 4 Original Android Development] -iNSiGhT-:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

However, I have the gpl_speaker_gain file in sys/kernel/sound_control... You mean changing the value will do nothing??

In that case, why Harsh do implement headphone gain but not speaker one?

Paranoid mako
[Nexus 4 Original Android Development] :
Headphone and speaker control work for me, I used the script from a few pages back with every value at 46 and it sounds amazing on both, ringtones, music (with/without earphones), everything is louder and the sound is great, good base so its definitely working, bye bye Nexus Louder
[Nexus 4 Original Android Development] danthepan124:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

So since its already down -100mV is it safe to go lower?
[Nexus 4 Original Android Development] 75markus:
for some people an additional -50mV is stable, for some not

you gotta try out yourself :p
[Nexus 4 Original Android Development] danthepan124:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Why is my min CPU freq at 10260 MHz, I tried changing it via trickster but it doesn't stick
[Nexus 4 Original Android Development] rskyline:
You could did a little search before asking something that was answered so many times before, is called mpdesicion, it makes that when you touch the screen the min freq throttles up to 1Ghz.
[Nexus 4 Original Android Development] danthepan124:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

I get that, but even when I'm not using my phone its still at 1 GHz
[Nexus 4 Original Android Development] Michelechele:
R: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Just check frequencies that are being used with system tuner or CPU spy and you will see that your mobile is using frequencies lower than 1 GHz.
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Check your cores in trickster mod under info - device status. If u see that its not falling to 384 then my question is have u tried to under clock your CPU? I know when I tried to under clock my CPU sometimes it would confuse the phone and my min would never fall under 1026 ghz. But it will always show your default min as 1026 GHz cause of mp decision like stated above.

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] Lownita:
Dirty flash rom, flash kernel, should work now! Maybe uninstall trickster for this too.
[Nexus 4 Original Android Development] Gokh:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Thanks for this kernel, I have the best fluidity and battery life with it.

Tapatalked With a Nexus⁴
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Believe it or not, I forgot about update :D

Flashing now.

--------------------------------

Sent from my fridge. Make: LG Model: N⁴
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Ha Lol. And u were all bummed that u were gonna have to wait :D:thumbup:

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Exactly! Check hard mod thread. Just done some testing.

--------------------------------

Sent from my fridge. Make: LG Model: N⁴
[Nexus 4 Original Android Development] bradm23:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Just curious, what are stock UV settings for 384? I was able to get mine down to 737500, rock stable and sipping battery. :)
[Nexus 4 Original Android Development] anthonyp326:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

I'm noticing a lot of flickering with the new kernel and newest pa ROM when entering apps like messaging and play store and others..didn't have this on stock kernel. Any ideas..
[Nexus 4 Original Android Development] aimcr7:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

I dont know but it still quite stable at 700000mV. Maybe 750000 or 7625000
[Nexus 4 Original Android Development] SerkSerk:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

MacBook pro wtf

Envoyé depuis mon Nexus 4
[Nexus 4 Original Android Development] pro.aggro:
AW: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

OMG. How does this work? :eek:

Sorry, but who cares? The kernel is working and that's the main thing.

Btw: This hint is so fxcking old.

Sent from Nexus 4 powered by PARANOIDANDROID
[Nexus 4 Original Android Development] SerkSerk:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Who said the kernel was not working :what:

Ps: enjoy the free thanks

Envoyé depuis mon Nexus 4
[Nexus 4 Original Android Development] bradm23:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Think it's 850000 if I remember correctly. I'm able to under volt a lot
[Nexus 4 Original Android Development] :
Switch to PIE and then switch back, that fixed it for me, alternatively you can do a full wipe, I'd recommend the first option
[Nexus 4 Original Android Development] Junglist86:
AW: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

does the kernel not support init tweaks? I use this kernel with slimbean and I put the halfbreed tweak in the Init.d folder but after a reboot the tweak don't work. and yes, I set the permissions

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Nexus 4 Original Android Development] :
The ROM must support it too.
[Nexus 4 Original Android Development] Junglist86:
AW: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

I flashed the pa kernel (halfbreed) and the tweak works fine, after that , I flashed the harsh again and the tweak works! lol

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Nexus 4 Original Android Development] meangreenie:
I don't think it's anything to do with the rom, just run uni init.. click
[Nexus 4 Original Android Development] bradm23:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Try trickster to set halfbreed, it's set as a preset
[Nexus 4 Original Android Development] anthonyp326:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

That did it ...thank u so much!!!
[Nexus 4 Original Android Development] bradm23:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

This kernel is epic! So fast, smooth, and battery efficient.

Msm wake lock is only at 1.1 which is lowest I've ever seen it. Kudos to harsh!!!

On a side note, is it possible to add some I/o schedulers to test out? I've always been a huge fan of bfq and deadline. Thanks!
[Nexus 4 Original Android Development] thebrainkafka:
AW: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

What simple and clean app can i use to set up the kernel features.

Is there any uv change necessary or is it pre configured in the kernel (faster cpu).

To get back to stock cm kernel just simply flash or anything further.

THX
[Nexus 4 Original Android Development] mrdr0idqed2020:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Trickster mod. It's already been uv'ed -100 but you can try a bit more at your own risk. Btw, @harsh, thanks very much for your great kernel. Giving it a spin after being on trinity. Android devs are great people
[Nexus 4 Original Android Development] thebrainkafka:
AW: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

To get back to stock cm kernel just simply flash or anything further.

THX

In trickster mod, 384000 is 384mhz?
[Nexus 4 Original Android Development] ctfrommn:
Yes and Yes
[Nexus 4 Original Android Development] smarki:
Hey Harsh, any chance to add Faux Advanced Sound controls? I was using his kernel and had those controls for the last few days (using his app) but now I'm back to your kernel and it's gone :/
[Nexus 4 Original Android Development] mrdr0idqed2020:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Maps gps time was equal to my entire battery cycle despite having gps location access off most of the time. What gives? I had maps using 50% of my battery
[Nexus 4 Original Android Development] thebrainkafka:
One more question how to get back to stock cm 10 kernel.

fastboot boot.img ?

in trickster mod what is best setting for ondemand governor?

How can I save these setting?

How to change faux sound control settings?

thx
[Nexus 4 Original Android Development] bradm23:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

While not on WiFi, turn on your location settings and get a GPS lock. Then I can turn off your location setting and that wake lock will go away. One of the first things I do after flashing any new ROM that includes a full wipe.
[Nexus 4 Original Android Development] drdrewdown:
easy way is to just reflash the rom
[Nexus 4 Original Android Development] yukkio:
Hi, I have a problem with sweep2wake, I turn on the screen and touch does not respond. I have to reboot... Anyone?

Br
[Nexus 4 Original Android Development] thebrainkafka:
AW: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

@harsh.

Nice and stable kernel.

Can you please readd the stock schedulers?

THX

@all

What settings do you use for ondemand?
[Nexus 4 Original Android Development] pro.aggro:
AW: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Sent from Nexus 4 powered by PARANOIDANDROID
[Nexus 4 Original Android Development] superleeds27:
Default settings?
[Nexus 4 Original Android Development] pro.aggro:
AW: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Yes.

Sent from Nexus 4 powered by PARANOIDANDROID
[Nexus 4 Original Android Development] Nova163:
Actually the required code is already present in the kernel, you just have to install the app required to control it.
[Nexus 4 Original Android Development] Vahndroid84:
guys i need an help. I worte in the battery thread too...but i really need to find a way out of this problem. Im on pa with harsh kernel

My android OS "keep active" status drains my battery. Yesterday it reached 2 hrs of keep active and 30% of battery usage. So i checked my girlfriend stats and she doesn't even have the "keep active" status in Android OS stat.

So everyone tell me that there's an app who licks battery. So i've factory wiped my phone and reinstalled pa and harsh kernel. No other thing. In the morning i've turned on my phone and the keep active it's still there. In 30 mins of device on...it has just reached 6 mins of keep active.

I don't think it's cycle related...it's still there and i don't know what i can do to free me from this bull****

and...another weird thing...not related. When i wipe dalvik cache it tells me that there's no /sd-ext volume.....
[Nexus 4 Original Android Development] aimcr7:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Its something with your apps, one or perhaps some of your apps keep your phone awake, use better battery stats to find out which apps
[Nexus 4 Original Android Development] Vahndroid84:
ive wiped my phone. No other app then the gapps.

Now i've turned to stock...i will re root my phone, flash recovery and flash paranoid rom and harsh kernel again. Hope that this will solve my issue
[Nexus 4 Original Android Development] :
Sounds like something is seriously broken beyond repair, try to follow this guide and start clean:

http://xdaforums.com/showthread.php?t=2010312

Then re-flash the ROM and kernel.
[Nexus 4 Original Android Development] Toss3:
Install betterbatterystats and check if it's a kernel wakelock problem. Could be some wifi setting that has gotten stuck(keeps phone from entering deep sleep).
[Nexus 4 Original Android Development] danthepan124:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

This is my UV settings with trickster mod,

This is with the latest stable xylon rom
[Nexus 4 Original Android Development] meangreenie:
Let it cycle, I get some weird battery stats when i install a new rom/kernel.... For example screen on time doesn't bother showing up until the phone is half drained on the first run.
[Nexus 4 Original Android Development] Vahndroid84:
thanks. I've just done this. And disabled the app restore from google backup. The keep active status seems gone away. Now i'll try reflashing the rom and the kernel :fingers-crossed:
[Nexus 4 Original Android Development] bradm23:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Do most keep mpdecision on or off? I noticed in trickster there is the option
[Nexus 4 Original Android Development] mundixx:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Keep it turned on when using Harsh Kernel , otherwise your phone won't go to deep sleep..

Sent from my AOSPA Nexus 4
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Always keep it on. Its so smooth :evil:

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] Higgsy:
Thats because you don't have your dalvik cache moved to your sd card afaik. Don't think anyone does that nowadays anyway, thats what we used to do in the olden days (well 3 or 4 years ago anyway) when internal memory was very limited as it free'd up space in /data for apps n ting.
[Nexus 4 Original Android Development] thebrainkafka:
AW: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

In trickster mod what is best setting for ondemand governor?

How can I save these setting?

Thx
[Nexus 4 Original Android Development] Vahndroid84:
R: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Ok guys...returning to stock...reflash pa and harsh kernel...disabling restore of the apps backup from google account...have done the magic

The system os no longer keep active the phone. I feel happy now :D

Which settings you can suggest in trickster?
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Best setting for trickster on Harsh is uninstalling trickster :thumbup:

--------------------------------

Sent from my fridge. Make: LG Model: N⁴ :flipoff2:
[Nexus 4 Original Android Development] Vahndroid84:
lol

i will follow this ;)
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Yea I agree with undercover. The best settings for this ROM are the ones set by Harsh. As far as color settings go I would suggest either flashing the PA halfbreed script or just putting it into the init.d folder. But colors are the only thing I change on the kernel. I used to undervolt a tad bit more but don't see enough gain to do it anymore plus this kernel is default -100
[Nexus 4 Original Android Development] thebrainkafka:
AW: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

THX.

Will give ondemand with 1024 as optimal cpu gov setting a try.
[Nexus 4 Original Android Development] bilguun1:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

So laggy, everything default, why is that's
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Somethings wrong then. No lag at all on my phone in fact this is the only kernel I can't trip up and make it studder. Trust me I've tried

Sent from my Big Booty Nexus 7
[Nexus 4 Original Android Development] bilguun1:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

OK I rebooted the phone, now it stopped lagging, but let's see if it does after I wake her up from deep sleep
[Nexus 4 Original Android Development] Mahdi786:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Could be a rom issue, badly coded roms cause lag so check that out first, this kernel is as smooth as stock.
[Nexus 4 Original Android Development] Nova163:
Errr, actually in my experience this kernel is a lot smoother than stock
[Nexus 4 Original Android Development] thebrainkafka:
AW: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Is fast charge supported?
[Nexus 4 Original Android Development] skatashock:
this kernel is absolute smoothness, and the battery life? just...

perfect! thanks Harsh!
[Nexus 4 Original Android Development] Mahdi786:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Thanks for telling me your experience, like I really wanted to know.
[Nexus 4 Original Android Development] nightf0x:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

I get lag too. Not sure why. I'm running pa mar 11 build. Opening apps takes slightly more and scrolling is laggy. I'm coming from intersectravens kernel and did the standard wipe cache and dalvik.
[Nexus 4 Original Android Development] yukkio:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Anyone?

Thanks
[Nexus 4 Original Android Development] nycelitemaster:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

100% agreed. Thats from Harsh itself.
[Nexus 4 Original Android Development] mrdr0idqed2020:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Sweet jesus I've never seen anyone break 7hr sot. Tell me your secret damn it :)
[Nexus 4 Original Android Development] joshnichols189:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

The secret is Wi-Fi
[Nexus 4 Original Android Development] odeccacccp:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

WiFi + good signal.

Otherwise u looking at 2-3 h.

What did u do for 15 h, does seem many apps running or using CPU?
[Nexus 4 Original Android Development] bradm23:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Even just to under volt more?
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Use script
[Nexus 4 Original Android Development] opethrocks:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

If anyone is getting lag with this kernel something is wrong, this is hands down the smoothest and most battery efficient kernel I've tried. Remember to flash a reset kernel before flashing harsh if coming from anything other than stock kernel. Or re-flash your rom, gapps, then this kernel
[Nexus 4 Original Android Development] estallings15:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

To clarify, there is a script example in the OP as well as several scattered around this thread. Copy the voltage settings you use from trickstermod into that script VERY carefully, name it something like "75voltage" and drop it in /system/etc/init.d. Set permissions to match the other script(s) there and reboot. You will definitely want to either make a nandroid or have your ROM and addons ready to reflash in case of a bootloop.
[Nexus 4 Original Android Development] io53:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Or you could just run the script from terminal emulator first so it does not run on boot. Seems a lot safer.
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

This^^^ is how I used to do it when I would undervolt more.
[Nexus 4 Original Android Development] galaxys:
Going to try this bad boy and let it cycle for a few days with the RBJ rom...

Will report back.
[Nexus 4 Original Android Development] nokkenas:
After I flashed Slim Bean ROM I can't get the color calibration scripts to work. What should I do? I miss moles' halfbreed color calibration :(
[Nexus 4 Original Android Development] estallings15:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Yes, well, I told him to use values that he had used in trickstermod and was comfortable using. It also has a tendency to make me be more careful.
[Nexus 4 Original Android Development] Ieatnoobs:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

I'm not sire what's going on. I flashed this kernel as instructed and my phone lags like crazy. Also benchmarks are awful
[Nexus 4 Original Android Development] ctfrommn:
Dirty flash Rom, Gapps, and kernel again and report back.
[Nexus 4 Original Android Development] aimcr7:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Did you use trickster or something like that? Try clear that app data then reboot.

Or dirty flash your rom and gapps, let it boot then reflash this kernel.
[Nexus 4 Original Android Development] Ieatnoobs:
Thanks!

I use trickster and clearing app data worked!
[Nexus 4 Original Android Development] nokkenas:
Few posts back I asked about why my init.d scripts doesn't work after changing to Slim Bean ROM. It's definitely something wrong with the ROM, I changed to LiquidSmooth ROM today and init.d works again.
[Nexus 4 Original Android Development] Lownita:
I guess slimbean does not have init.d support, so you gotta use http://xdaforums.com/showthread.php?t=1933849
[Nexus 4 Original Android Development] nokkenas:
I tried it and doesn't work. Weird.
[Nexus 4 Original Android Development] oddlyshapedstickman:
Help with making an init.d script :)

Hey guys! I'm having a little trouble translation translating the latest visceralpsyche colours to a Harsh compatible init.d script. These were my favourite back when I had franco.Kernel but I missed the smoothness & battery combo that Harsh brought.

Here the the settings I wish to translate:

Here is the script I made:

#!/system/bin/sh

echo "181 167 162" > /sys/devices/platform/kcal_ctrl.0/kcal

echo "208 0 5 119 0 1 0 7 2 1" > /sys/devices/platform/mipi_lgit.1537/kgamma_r
echo "210 0 5 119 0 1 0 7 2 1" > /sys/devices/platform/mipi_lgit.1537/kgamma_g
echo "212 0 5 119 0 1 0 7 2 1" > /sys/devices/platform/mipi_lgit.1537/kgamma_b

When I run the script in terminal the colours I get are grainy and not at all how it looked when applied via franco.Kernel updater.

Any idea why this is? Any help would.be greatly appreciated :)

---------- Post added at 08:37 AM ---------- Previous post was at 08:07 AM ----------

Okay after a little bit more testing I realised I may have mucked up the placement of the "white" and the "grey" values.

This seems to be better, others are welcome to try:

#!/system/bin/sh

echo "181 167 162" > /sys/devices/platform/kcal_ctrl.0/kcal

echo "208 2 5 119 0 1 0 7 0 1" > /sys/devices/platform/mipi_lgit.1537/kgamma_r
echo "210 2 5 119 0 1 0 7 0 1" > /sys/devices/platform/mipi_lgit.1537/kgamma_g
echo "212 2 5 119 0 1 0 7 0 1" > /sys/devices/platform/mipi_lgit.1537/kgamma_b
[Nexus 4 Original Android Development] :
Try allowing Apps and ADB root access in Developer options, I'm on Slimbean and scripts work for me
[Nexus 4 Original Android Development] Notorious544d:
The second one is right, as you have to swap the greys and whites when translating from Franco's to harsh's.