yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] :
Its the one but he also tweaked the auto brightness on the ROM itself so if your not on PA you'll still notice its dark
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

I think you better start a thread on them zips. Or better yet, get in touch with spreadsheet op and get him to request post no 2 for you. ;)
[Nexus 4 Original Android Development] bleuf1sh:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

I've been following the Franco thread and they seem to have gotten the latest mole with the brightness fix implemented on the kernel level in his r69.

sent from my nexus4 | bionic | harsh
[Nexus 4 Original Android Development] Pedro Peguero Jr.:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

This please ^

The constant zips and scripts are just flying. Let alone, if you post a zip can you explain the colors and all that? Not just "yup here's a zip"

---------- Post added at 07:38 AM ---------- Previous post was at 07:00 AM ----------

I legit flashed it out of curiosity. What do you want me to do, send you a video? Why would I lie lol. It did boot normally, but there wasn't any color enhancement at all so it did nothing.

---------- Post added at 07:39 AM ---------- Previous post was at 07:38 AM ----------

Oh pretty please these colors are WOW
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

You must have a "special" N7 there.

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] Pedro Peguero Jr.:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Guess so. It was running AOKP if that makes a difference lol. Either way it didn't do anything. Colors didn't get enhanced or anything (which I expected) but I didn't brick it or get into boot loops. I'm not going to try to again though to prove it, because maybe it was just 1 oh so lucky flash lol.
[Nexus 4 Original Android Development] albundy2010:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Dude you did not boot a nexus 4 kernel on the 7. You may not think you're lying but you are clearly mistaken. That's all.

You flashed the init d script bro. Not a kernel.
[Nexus 4 Original Android Development] Pedro Peguero Jr.:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

I never said I flashed the kernel lol. I just flashed the color enhancements zip that was posted a few pages ago. Never said kernel my man.
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Liar you said

"Lmao false. Just flashed it on my N7 and it booted normally"

Please don't troll this thread its a awesome thread with good people

Right here http://xdaforums.com/showthread.php?p=37682141

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] Pedro Peguero Jr.:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

When I said "flashed this" it was the color enhancements zip, which someone posted a few comments back when I posted this. You guys probably got confused when I said "flash with other kernels"

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

Look at who I QUOTED. It was a color enhancement flashable zip.

-___-

I am NOT trolling you guys are just misunderstanding what I flashed.

---------- Post added at 07:54 AM ---------- Previous post was at 07:51 AM ----------

Here^
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Ahhh well that's why I said it would brick your N7. :D:thumbup:

Well I'm glad you didn't fry your N7 Lol

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] Pedro Peguero Jr.:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Lol. I'm not that dumb. :thumbup:

My mistake if it confused some people. Are we good?
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Yea were good :thumbup:

Love the avatar by the way.

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] Pedro Peguero Jr.:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Same to you :thumbup:
[Nexus 4 Original Android Development] ctfrommn:
Ok, after more time than I wish to admit and many many many reboots :p I think I got gamma as close as I can. Everything aside from grey is right there at 2.2(ish). Final settings are......
[Nexus 4 Original Android Development] eep2378:
Have you seen this though? Changes the game a bit IMHO http://xdaforums.com/showthread.php?t=2136295&page=8
[Nexus 4 Original Android Development] ctfrommn:
Noooooooo! jk....was is it? I have no idea what Moles is talking about.....is way over my head.
[Nexus 4 Original Android Development] eep2378:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Read the thread its only 8 pages. Plus he packages the zip so it's only a simple flash. No need to change a million values manually :)

Sent from the Nodes of Ranvier
[Nexus 4 Original Android Development] zellleonhart:
If I want to continue using harsh kernel, still possible to get moles' settings with init.d? Or must hardcode in the kernel?
[Nexus 4 Original Android Development] rskyline:
I think that Harsh should join moles in his thread to help the things out.
[Nexus 4 Original Android Development] Pedro Peguero Jr.:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

I hope next kernel update implements moles color enhancements
[Nexus 4 Original Android Development] ctfrommn:
The zip I see there is an entire kernel, I dont want a new kernel. I'll just be content for now till someone comes out with an easier way for me. That is way too complicated.
[Nexus 4 Original Android Development] nikzDHD:
Any rom with Init.d should allow the scripts to work right? Don't think it works on PA when I've flashed the scripts, but using for example Mole's kernel or Franco's kernel colour settings and encoded in them so work. Prefer Harsh kernel over those so will stick to Harsh's settings for the time being.

Moles did point out what needs to be merged from source in his thread I think.
[Nexus 4 Original Android Development] gianton:
Try this app, that's what I use to enable/check init.d support on any ROM and then uninstall it.
[Nexus 4 Original Android Development] nikzDHD:
Ahh excellent let's give it a go.

Worked a treat mate.
[Nexus 4 Original Android Development] rodries:
Thanks for the info, now init.d works
[Nexus 4 Original Android Development] -iNSiGhT-:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Thanks for this awesome kernel!!

Get 4h50 screen on time! Even I must admit I was at home most of the time today (meaning connected to wifi).

Paranoid Nexus4...
[Nexus 4 Original Android Development] akira.pwr:
Sorry for noob question, I've tried to read pages back, but my english isn't so good, so I'll ask here hoping someone will answer, I've CM10.1 in my N4, now I have thracemerin kernel with patches, but I'd like to try another advanced kernel who can help me to have more battery life, can I use this kernel on cm? I'm not into init. script, so for setting gamma (if needed) have I to flash the Mole file packed 2 pages back?

Thanks a lot in advance.
[Nexus 4 Original Android Development] gianton:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Yes running CM10.1 with Harsh Feb 05 kernel as I type this.

Follow these steps:

Flash ROM

Flash gapps

Flash Harsh kernel

Reboot

Flash .zip file with moles gamma settings

Sent from my Nexus 4
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Yes just flash the zip. It will put the correct files in your init.d folder

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] bleuf1sh:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

depending on the kernel he's coming from he can't just simply flash harsh.... follow what gianton wrote and you'll for sure be fine.

sent from my nexus4 | bionic | harsh
[Nexus 4 Original Android Development] rskyline:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

We need that harsh implement the new color configuration at kernel level like moles is doing! The colors looks awesome!

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] Stylez Ray.:
So assuming I want to hardcode moles color settings into harsh's kernel for personal use, what do I have to do? I assume those number are easy replacable but where?
[Nexus 4 Original Android Development] akira.pwr:
As I wrote, I'm coming from thracemerin kernel :

http://xdaforums.com/showthread.php?t=2102986&page=12

It's a stock kernel with msm_hsic_host wakelock fix, it gave me good results, but I've read about harsh kernel and I think it can help more, do you think I can flash harsh kernel and Mole file over thracemerin kernel without reflash the entire rom/gapps?
[Nexus 4 Original Android Development] Higgsy:
As quoted by moles in the lets calibrate mako thread:
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

You would be fine but just for safe measures

Reflash ROM

Reflash Gapps (if needed)

Flash Harsh

Flash moles color zip

Reboot

This way u don't wipe and u keep your setup and data

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] :
This looks exactly like the hard coded colors in moles, only issue is its slightly dark but better than before for sure, but guess that's the auto brightness

#!/system/bin/sh

# First we set colors
echo "243 241 247" > /sys/devices/platform/kcal_ctrl.0/kcal

# Now Gamma, need to change values at place 6 and 7 only
# value at 6 is amp0 and at 7 is amp1
# kgamma_r is for red, g for green and b for blue

# values amp0 and amp1 are located below $$$$
# ---------------------$$$$$-----------
echo "208 64 21 118 0 28 07 80 48 2" > /sys/devices/platform/mipi_lgit.1537/kgamma_r
echo "210 114 21 118 0 26 07 80 48 2" > /sys/devices/platform/mipi_lgit.1537/kgamma_g
echo "212 114 21 118 0 24 07 80 48 2" > /sys/devices/platform/mipi_lgit.1537/kgamma_b
# molesarecoming's PA values Feb 6 2013 (jiatern's RGB)
[Nexus 4 Original Android Development] trueblueram:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Thought Moles color zip was a kernel by itself?
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

It is but there is a zip to use for harsh kernel so we can use his colors. Just read a few pages back.

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] endursa:
AW: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

I played around a little with the information I gathered from moles thread plus the values from undercover, LG and Google and came up with my preferred values! Please try them and tell me what you think!

flashable version which survives cm10.1 upgrades also available

#!/system/bin/sh

# First we set colors (alternate for personal preference)
# red green blue values from 0 to 255 "r g b"

echo "255 255 255" > /sys/devices/platform/kcal_ctrl.0/kcal

# LCD settings, starting from the knowledge molesarecoming has gathered I assumed the values mean the following:
# "? white_balance middle_balance black_balance ? contrast brightness saturation grey ?"
# value at 6 is amp0 and at 7 is amp1
# kgamma_r is for red, g for green and b for blue
# I prefer setting all 3 gamma channels to the same value, and just alter rgb settings to change the single colour channels!

echo "208 64 21 118 0 24 07 80 48 2" > /sys/devices/platform/mipi_lgit.1537/kgamma_r
echo "210 64 21 118 0 24 07 80 48 2" > /sys/devices/platform/mipi_lgit.1537/kgamma_g
echo "212 64 21 118 0 24 07 80 48 2" > /sys/devices/platform/mipi_lgit.1537/kgamma_b

# endursa's gamma settings
# darker than google's Preset, not too dark for autobrightness

Edit: download link for flashable version:

https://www.box.com/shared/y236fvcnt7edc62lzbzs
[Nexus 4 Original Android Development] zellleonhart:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Don't you think the RGB is too yellowish? I changed to 238 235 250... Now that I have tried so many presets, I don't know which is best anymore.

I can't be satisfied with any settings :( even my previous settings... Sigh. Now with your gamma and the RGB mentioned above.

Sent from my very paranoid and harsh Nexus 4
[Nexus 4 Original Android Development] endursa:
AW: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

rgb values differ from device to device! that is why i lect the rgb values at 255 across all of them! so the user can find his preferred values!

you still thik the gamma is too yellowish? just turn down green and blue a little :) the gamma is now equal for all channels. one could incease the saturaton of the red channel and or lbue channel a little to turn down yellow a little, but so far i'm nit finished with anaysing the values. i even don't know what the 5th and 10th value are for

Gesendet von meinem GT-P7500 mit Tapatalk 2
[Nexus 4 Original Android Development] rskyline:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

I feel that flashing kernel is more accurated that make scripts. Hope that harsh turn this thing on

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] 75markus:
i like your values :)

but i think you should have kept the name of the init.d script "77lgpreset"

users who used the other zips flying round here before will end up with 2 init.d script because of the name change when they don´t delete it before..
[Nexus 4 Original Android Development] endursa:
AW: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

there is actually no difference in using a script compared to the in kernel settings the only difference is that with default settings the user doesn't have to mess with adjusting with anything! but as long as there isnt a preset that suits everyone, the in kernel settings will remain as they ae now (at least that is what i assume, not officially said by harsh)

Gesendet von meinem GT-P7500 mit Tapatalk 2
[Nexus 4 Original Android Development] rskyline:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Like moles said:

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] sona911:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

I'd just like to tell you that your kernel is the best out there. tried all others but they are all either stuttery or with horrible battery life. Good work and thanks.
[Nexus 4 Original Android Development] mkamal23:
+1. Also love the fact that I dont have to mess around with any values or underclock or whatever to get great battery life with no lag whatsoever. Flash kernel and done. :D
[Nexus 4 Original Android Development] fifthelement:
Great job man , We appreciate your hard work :)
[Nexus 4 Original Android Development] akira.pwr:
I've flashed this kernel and Mole pack, but I have the same issue with stock Cyano kernel, when I go to set cpu frequencies in performance settings, I can't change the minimum clock, when I go out and go back, the clock is always at 1026Mhz, what can I do? How can I set up my screen? Thanks.
[Nexus 4 Original Android Development] gianton:
Uninstall all apps for controlling the kernel and the min freq will be at 384MHz when idle. The beauty of this kernel is to run with no apps to control it.
[Nexus 4 Original Android Development] 75markus:
that´s ok, it mpdecision.

when you touch the screen cores go up to 1026 mhz...

real min is 384, it should go down after about 10 seconds
[Nexus 4 Original Android Development] akira.pwr:
R: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

I haven't any kernel control apps, I'm using the stock ROM app.

Inviato dal mio Nexus 4 con Tapatalk 2
[Nexus 4 Original Android Development] more2come:
Yeah, Harsh seems to be almost the only one around who relies on Qualcomm's mpdecision hotplugging. In my honest opinion, that is indeed a good thing, every other dev tries to mess around with own routines, which makes the daily usage jerky and sluggish from time to time. Battery life may be slightly better on other kernels, because mpdecision really goes in all guns blazing when you use the touchscreen, but it makes the daily use of the device just so enjoyable, everything is smooth as butter!

Keep up your awesome work, Harsh! (Grüße aus NRW ;) )
[Nexus 4 Original Android Development] 75markus:
+1, and it´s rock stable !

btw, i love battery life with this kernel too :good:
[Nexus 4 Original Android Development] jarjar124:
What does the IPA do?
[Nexus 4 Original Android Development] Harsh:
IPA = internet protocol accelerator. Qualcomm implementation for internet traffic management through kernel. Hopefully CPU management first and then goes to sw.

Sent from my Nexus 4
[Nexus 4 Original Android Development] undercover:
Todays Rasbeanjelly build. Todays Harsh. No go. Data is a mess at best. Well, it doesn't turn on at all. I mean it shows on, but doesnt connect. Getting logs.

Flashed matrix to test, data works ok. Back on Harsh, no data.

Damn, of course, when getting logs data turns on..... Grrrrr.
[Nexus 4 Original Android Development] eep2378:
It sounds like some incompatibly with your carrier and something in the kernel. No data issues here with same setup. Wonder what's different?

Sent from the Nodes of Ranvier
[Nexus 4 Original Android Development] Harsh:
I am running 2nd Jan PA with today's kernel, all is working fine. But it was always working fine in my phone.

I tested kernel on Modaco and on PA, and it works perfect on both. kernel Jan-02 working fine with data on today's Rasbeanjelly?

+1 its working normal.
[Nexus 4 Original Android Development] undercover:
I swear this thing is deliberately winding me up. Every time i am recording log data connects just fine. I'm not saying it's kernel, but it is somehow related to it. How? Damn me if I know.

The one I ran without problems is dated Nov 30 iirc. I could just use what works, but I'm not used to things not working when I run them :D

Well, I'll keep trying.

Sent from the fridge. Make: LG Model: N4
[Nexus 4 Original Android Development] Harsh:
It must be your ROM + kernel combo. I have applied too many patches with can mess with signal and data. Example starting with 3g power saving, cpu suspend, internet protocol accelerator, qseecom, krait core voltage retention.

But kernel for 3012 was without all above patches. For me battery life have huge positive impact with those changes, and no data loss. So instead of reverting like franco & faux I am trying to find workaround to fix it. Logs are helpful :D...

But I see my same USB and 3g patches in CM kernel, none reported data loss in CM thread yet. yes I am monitoring :D
[Nexus 4 Original Android Development] undercover:
It works just fine for eep2378 on the same combo . And is intermittent for me. I'll keep trying to get log.

I do appreciate that you don't just dismiss it as user error, since I've only seen few other people with similar problem, and that was on a different kernel.

Sent from the fridge. Make: LG Model: N4
[Nexus 4 Original Android Development] jarjar124:
No problem here on latest one on pa Jan 2
[Nexus 4 Original Android Development] trismegistos:
hey, as soon i enbale interactive, my nexus reboots (latest kernel). nothing else changed.

logcat before reboot: http://pastebin.com/9i6pmYzC

last kmsg: http://pastebin.com/szEprY0m. thx!
[Nexus 4 Original Android Development] jarjar124:
Interactive is having problems on this kernel right now. Stick with ondemand
[Nexus 4 Original Android Development] Harsh:
Thanks for log. Seem like setting core voltages is failing after you activate interactive.

It seem like cpufrequency changes I implemented have brought up this problem. As of right now, I strictly suggest to stay on Ondemand governor, as that is the one optimized for new cpufrequency changes I implemented, and also with mpdecision and stock google kernel :D

I will look into interective governor, but for first priority I need to fix data issue. We can run smartphone on Ondemand governor but smartphone is not smart enough without INTERNET
[Nexus 4 Original Android Development] franciscofranco:
I can help you with the interactive bug.

https://github.com/bhanvadia/lge-mako-kernel/commit/04410c1163f7d5a294627ad3cd75ad1f3e0a7cc0

https://github.com/bhanvadia/lge-mako-kernel/commit/71f50a8c1c9d8db51298401fdcf6ebc4e73466eb

https://github.com/bhanvadia/lge-mako-kernel/commit/b1b28a76cdff86da9685f98d1dffbd58328ab08f

Those 3 patches don't work correctly with Interactive governor, I've tested them quite extensively and panics all the way due to that core voltage thing. One of those commits adds support for doing the frequency changes on a separate thread but the interactive governor already does that in a realtime thread so we're not gonna lose performance by reverting all those 3 patches. Also go to my git and merge the latest interactive patch that fixes a ugly deadlock randomly triggered when transitioning frequencies around.
[Nexus 4 Original Android Development] Harsh:
Thanks a lot. That will save lot of time :D... and anything yet on data loss thing?
[Nexus 4 Original Android Development] faux123:
There's nothing wrong with this patch :p

https://github.com/faux123/mako/commit/e5138cbb9bf9a13e2e6d4718f3213e40768c0efe

It's been running for a while now under any governor. The problem lies else where :p
[Nexus 4 Original Android Development] undercover:
Finally. Log during data not connecting.

http://db.tt/JDeYj0dk

Sent from the fridge. Make: LG Model: N4
[Nexus 4 Original Android Development] faux123:
dmesg log will help more because this is a kernel driver issue not an Android issue per se

forgot, if you going to do a logcat, logcat -b radio helps narrow down radio related issues ;)
[Nexus 4 Original Android Development] undercover:
http://db.tt/XR9NBaK1

Any good?

Sent from the fridge. Make: LG Model: N4
[Nexus 4 Original Android Development] franciscofranco:
There is nothing wrong with that patch but do we really need to use that? Seems kinda useless to me in the grand scheme of things, thats why I included in the list I posted to Harsh.
[Nexus 4 Original Android Development] faux123:
Attach a logcat -b radio will be nice as well when data connection is derped :p
[Nexus 4 Original Android Development] :
Unless other kernels give you 7 hrs screen on time, Harsh has battery life as good as any other kernel I've tried, in fact personally had better battery life on this kernel than others, can't switch even if I wanted to, really been spoiled with the performance and battery life and I'm grateful for that
[Nexus 4 Original Android Development] r4yN:
AW: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Just a quick question: Harsh, are you still working on a camera improvement or do you plan on working on it again?

Just asking if there's still hope, because I don't think anyone else is working on that hard coded camera stuff :/

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Nexus 4 Original Android Development] iammtxd:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Just switched to Harsh kernel ;)

I feel good once I booted into android!

Sorry for my bad English.

Sent from my Nexus 4.
[Nexus 4 Original Android Development] mundixx:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

Whilst i am on moles' rev4 kernel due to its amazing color goodness , i badly miss Harsh's.. I am getting withdrawal symptoms, haha.

Sent from my AOSPA Nexus 4
[Nexus 4 Original Android Development] Harsh:
Re: [KERNEL][UV][Linux 3.4.29] Harsh Kernel build Feb-05

I will work on it when I settle back completely in India again. Just moved from Germany to India forever.

But last time I tried on camera there were not much improvement, maybe little. But actuator was getting slower and so had slow focusing.

Thank you all of you for helping each other in my absence from here.

Sent from my Nexus 4