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

+1 This is now my favorite color settings. Thanks Markus :D:thumbup:

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] ctfrommn:
I was wondering why everything looked so dull and grey, now I know. It is very vibrant and clear now.
[Nexus 4 Original Android Development] Lownita:
Yeah it looks really good, only downside of it is the low rgb 175 thus leading to a low brightness. I tried with rgb 245/240/255 but that makes it loosing contrast a lot at least on my screen and comparing them side by side (just go to terminal, su enter, paste whole script enter, screen off screen on to compare directly). So this and moles halfbreed (which is brighter) are my absolute favourites. I checked them all out yesterday :)
[Nexus 4 Original Android Development] thebrainkafka:
AW: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

Sorry for noob question.

Can i use this kernel in cm.?
[Nexus 4 Original Android Development] drdrewdown:
yup, should be fine
[Nexus 4 Original Android Development] thebrainkafka:
AW: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

And uv can be adjusted by an APP?

To revert to cm kernel i just flash cm boot.img again?
[Nexus 4 Original Android Development] ctfrommn:
Yes, and yes....or reflash your Rom, whatever is easier.
[Nexus 4 Original Android Development] drdrewdown:
yea, but harsh is already undervolted by 100mv so most people don't use any apps. the default settings work wonderful

you can flash cm kernel via that method or just reflash the rom itself
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

No and yes

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] -Mindroid-:
color profile conversion

I couldn't find anything definitive so I figured I can ask.

Can somebody please explain how to convert the more popular color profiles to be used for

the Harsh kernel terminal interface? Either Franco format or Faux format into Harsh values

will be sufficient, whichever is easier to understand.

It will be great if an example is provided.
[Nexus 4 Original Android Development] Lownita:
Here you go: http://xdaforums.com/showpost.php?p=38206022&postcount=2572
[Nexus 4 Original Android Development] torsin:
Since running Euroskank nightly and harsh battery life ist apprx. 30% higher - awesome!

No touch control app but using greenify + advanced task killer.
[Nexus 4 Original Android Development] -Mindroid-:
The 'holoblue' conversion is confusing. The HEX 0x38 saturation converts to decimal 56

on the 8th column of the R and G gamma rows but then the B row says 88. Is that a typo?
[Nexus 4 Original Android Development] drdrewdown:
task killer lulz
[Nexus 4 Original Android Development] Lownita:
No, this is in fact right, when you look at this (from http://xdaforums.com/showthread.php?t=2136295):

kcal_r = 249;
kcal_g = 249;
kcal_b = 255;

#define g_white 0x38
#define g_mids 0x44
#define g_black 0x74
#define g_contrast 0x1C
#define g_brightness 0x00
#define g_saturation 0x38
#define g_greys 0x0A

static char p_gamma_r_setting[10] = {0xD0, g_white, g_mids, g_black, 0x00, g_contrast, g_brightness, g_saturation, g_greys + 0x10, 0x01};

static char p_gamma_g_setting[10] = {0xD2, g_white, g_mids, g_black, 0x00, g_contrast, g_brightness, g_saturation, g_greys + 0x10, 0x01};

static char p_gamma_b_setting[10] = {0xD4, g_white, g_mids, g_black, 0x00, g_contrast - 0x10, g_brightness + 0x02, g_saturation+0x20, g_greys, 0x01};

You see that certain values are added for brightness and saturation in blue channel. This was an example to show me that it is indeed possible to have different values in different color channels. Most color profiles are same on all three channels though. It is just enough :)
[Nexus 4 Original Android Development] bleuf1sh:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

first time reboot on pa and harsh. here are the logs: https://www.box.com/shared/om1t1461a8fxjytzhs7r

mako | paranoid | harsh
[Nexus 4 Original Android Development] -Mindroid-:
OK, what governs whether these values are added or not?

Looking at molesarecoming's thread, the HOLOBLUE color profile has offsets added on the Blue channel

and the last value is 0x01. However the top, "2nd rev, brighter, rich colors" profile has no offsets added and the last value is 0x02.

Are these offsets just a personal preference of the author?
[Nexus 4 Original Android Development] odeccacccp:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

Yes. Use trickster mode.

But be careful it's already uved by 100, don't uv by more then 25 at a time, and don't set boot till u sure it's stable or it won't load at reboot.

---------- Post added at 05:57 PM ---------- Previous post was at 05:56 PM ----------

It's PA problem, I never got reboots with harsh on slim
[Nexus 4 Original Android Development] Lownita:
Yes, they are! I think he just wrote them down like that to make clear that he changed them in the process of calibrating, leading to the final values, halfbreed.

Last value 0x01/0x02 no one knows for sure, as it was also said in the post I linked for you.

I would recommend you try out visceralpsyche and halfbreed settings from this folder: http://www.mediafire.com/75markus#mnttdfpgqnoey You can examine the scripts and check the values. Those are my favorites!
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

I thought harsh asked us not to use kernel modding apps. :confused:

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

That may be, but you can.

Sent from my blazing bionic Nexus 4
[Nexus 4 Original Android Development] Lownita:
AW: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

Harsh I wanted to flash http://xdaforums.com/showthread.php?p=34921922 and there the op says that a kernel with high quality audio tweak enabled is recommended. So is it enabled here? :)
[Nexus 4 Original Android Development] -Mindroid-:
Thank you so much for explaining it!

I like both of these color profiles as well.

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

I'm not entirely sure how they do it but I suspect they are using something similar to the CM DSP Manager.

I'm not a fan of these tweaks because the extra processing affects the sound quality.

There is a clean way to adjust the Nexus 4 audio volume through ALSA but the settings don't stick.

http://xdaforums.com/showthread.php?p=36685986

It should not be difficult to implement a way to refresh them every time an audio stream is opened.

It's however above my abilities.
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

Not AFAIK. What he is doing is making adjustments built in, so you don't NEED to use any app.
[Nexus 4 Original Android Development] odeccacccp:
yes, buti f you have to that would be the one
[Nexus 4 Original Android Development] ruzkay:
harsh said that it is better to do everything with init.d scripts as apps could cause unnecessary problems
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

That's what I thought

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

Perhaps Harsh could open up the color interface so that this can be used in Trickster mod? It's really convenient to be able to test the colors on the fly. :D

Sent from my AOSPA Nexus 4
[Nexus 4 Original Android Development] Michealtbh:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

Works fine with Trickster for me
[Nexus 4 Original Android Development] superleeds27:
Any chances of using what franco is?

Add Codeaurora fix to the Wi-Fi delay on screen off bug
[Nexus 4 Original Android Development] rodries:
wifi push delay patch

Hi Harsh

Can you check the CAF patch to try to fix wifi push delay issue?

https://www.codeaurora.org/gitweb/quic/la/?p=platform/vendor/qcom-opensource/wlan/prima.git;a=commitdiff;h=b8ddf46808da1267b35086b478884bed27360e5c
[Nexus 4 Original Android Development] Azurael:
Clone git repo. Add patch. Compile. Profit.

Or wait for Harsh to decide what he wants to put in his kernel, and when he wants to release an update. :good:

---------- Post added at 07:33 PM ---------- Previous post was at 07:32 PM ----------

Same again, getting fed up with reading this suggestion every few posts.
[Nexus 4 Original Android Development] rodries:
I'm pointing him to the direct link so he can cherrypick easily, I don't need it, I've applyed it in source and I've compiled the kernel using linaro and seems to works fine, but I preffer that he check it because he is the owner of the kernel.
[Nexus 4 Original Android Development] Azurael:
Of course, you were the first person to link to those patches in this thread :rolleyes:
[Nexus 4 Original Android Development] rodries:
I'm not sure if you are being ironic, but can you point me to that links?

The only links that I can see are from franco github and I've give him the original commit, so he can cherrypick it from original sources, I'm only trying to help him
[Nexus 4 Original Android Development] Harsh:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

Guys I am testing out WiFi patch.... need to confirm that it should not drain extra battery on idle.

Sent from my Nexus 4
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

Throw it in as test build :thumbup:
[Nexus 4 Original Android Development] nycelitemaster:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

He is in India, and internet isn't too fast there. I know that because i am from there. So uploading multiple test build is a pain.
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

Not 5mb my friend. I believe even Indian line can handle that ;)
[Nexus 4 Original Android Development] bleuf1sh:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

harsh... I wanna try faux's kernel for a few day. I have no issues at all with yours ... I just wanna see what the buzz is about. anyways I was hoping you knew if his is like Franco's kernel in the sense that the ram disk gets modified along with other things like powerhal? so if I want to switch back to harsh afterwards.. do I need to do a wipe and ROM reflash?

mako | paranoid | harsh
[Nexus 4 Original Android Development] ctfrommn:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

It was taking him a long time to upload kernels, so that may be the case. Not sure how any internet could be that slow and still charge people but I think it's reality.

Sent from my blazing bionic Nexus 4
[Nexus 4 Original Android Development] ftarules:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

Faux doesn't modify RAMDISK so yoj can flash back and forth between Harsh and Faux without worrying.
[Nexus 4 Original Android Development] odeccacccp:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

Do you know which one's do?
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

AFAIK Franco kernel only.
[Nexus 4 Original Android Development] jassycliq:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

Franco fixed that issue recently. The only issue is that he still modifies one of the system binaries iirc.
[Nexus 4 Original Android Development] nycelitemaster:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

Don't take me wrong bro, but it takes a while to upload 5mb on slow line. Not that it is not capable of uploading or downloading.
[Nexus 4 Original Android Development] Harsh:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

Sure try and let me know.... and faux don't modify ramdisk but he does change some binaries. You don't need to wipe, just flash Rom, gapps and flash kernel all dirty. ;)

It may work as above too.

Sent from my Nexus 4
[Nexus 4 Original Android Development] smarki:
Hey harsh, I flashed your kernel for the first time yesterday, but noticed something strange: the system only left 7 apps running in the background, and I still had about 1 gb of ram. In my opinion its just a waste of ram, but I was curious if its a kernel feature or I did something wrong?

Also, the colors weren't that good, even after trying some different combinations.. Any recommended ones?

Thanks!
[Nexus 4 Original Android Development] mko000:
The kernel has nothing to do with that, it's managed by the ROM.
[Nexus 4 Original Android Development] odeccacccp:
Harsh I tried Matr1x 7.5 and it's not bad, color's are nice dark, and Battery is pretty got, he has lower min frequency for CPU 2xx and some kind of battery preserving thing at 100.

Maybe you can adopt the lowers CPU at least, if possible.
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

I'm against that tbh. Lower frequencies can potentially cause a few issues like too deep sleep.
[Nexus 4 Original Android Development] odeccacccp:
whats to deep sleep? lot's [people use that kernel, have not heard any problems. I mean 384 or 288, really not that big of a diff. I used to be on 134(or something) on a two core phone.

I mean would be nice to have an option to go lower, it does not have to be default.
[Nexus 4 Original Android Development] ctfrommn:
Battery life on Matrix is amazing, sleeps and wakes great from 288mhz....now whether it would be any different using 384.....no idea. Im at nearly 48hrs and 2.5 SOT on my 1st battery cycle so he's doing something right.
[Nexus 4 Original Android Development] ruzkay:
AW: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

ATM I'm trying Matrix too but on harsh I had 48h with over 5h screen-on time so it will be hard to impress me :p
[Nexus 4 Original Android Development] odeccacccp:
I get that on Harsh with 4G, are you on wifi?

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

what ROM? only why I am asking is I am on Slim and some people say it does something to battery and it's not as good as other ROM, even though I firmly agreed it's kernel and usage that affect it.
[Nexus 4 Original Android Development] ctfrommn:
If you pulled that on all 3g syncing everything I would love to see it.

---------- Post added at 08:56 AM ---------- Previous post was at 08:52 AM ----------

I never use WiFi....and Ive never come close to 5hr SOT on Harsh, and I love Harsh's kernels. I was getting random SOD's and reboots from his last couple builds so I moved on for a bit.
[Nexus 4 Original Android Development] odeccacccp:
MMuzzyROM is a pretty much stock ROM right? no LCD change no navbar/status bar transperecy no other interface options
[Nexus 4 Original Android Development] apatal:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

Yes, except for customizable QS tiles and extended power menu. :)
[Nexus 4 Original Android Development] ruzkay:
AW: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

It was on codefireX SR12.5 but I think it is more about kernel too.
[Nexus 4 Original Android Development] odeccacccp:
cool, WIFI an SYNC?
[Nexus 4 Original Android Development] ruzkay:
AW: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

WiFi always on except when I'm on H+ but most time was WiFi. The only things that I have enabled sync are contacts and E-Mail everything else is disabled.
[Nexus 4 Original Android Development] faux123:
@harsh

Introducing FULL WCD93xx SOUND CONTROL, 100% GPL'ed (Just like my Speaker Amp Control FULLY GPL'ed a couple of weeks ago!)

Source Code available here:

https://github.com/faux123/mako/commit/911a80eb10df7b1f0c120ae29137e1b682f8ab7e

This will allow you to CONTROL:

1. Headphone Gain Left / Right (independent controls)

2. Handset Microphone Gain

3. Camcorder Microphone Gain

4. Speaker Gain

With wide range and high fidelity!

Enjoy!
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

Is this something you would implement Harsh?

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

Yes, it seem great enhancement. And faux have it perfect just like gamma :)

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

That's awesome.

@faux Thank u for doing all u do in the community. I think sometimes people forget all the work our Devs put in and the commitment they have. The reason my phone is amazing is cause of Devs like you and Harsh and Moles. :thumbup::D

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] Lownita:
Very nice! Is faux implementation the same as francos? Also, is francos new gamma?
[Nexus 4 Original Android Development] syncopy:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

Nope, they're different.

Sent from my Nexus 4
[Nexus 4 Original Android Development] ckret:
harsh youd test best values before implementing wouldnt you? :)
[Nexus 4 Original Android Development] ruzkay:
Can someone make an init.d script for Faux "Accurate" preset?

It is the 6th line on the Grey / Gradient tab:

https://docs.google.com/spreadsheet/ccc?key=0AoDp2qRui0u0dGE4T2gtSDBTRHVFSldPS2RrX1Rya0E#gid=5

Pretty please O:
[Nexus 4 Original Android Development] odeccacccp:
should I turn off "mpdecision" for better battery?
[Nexus 4 Original Android Development] fluffenforliberty:
I just leaved the kernel settings all stock and I get some insane battery life. 5h+ on average.
[Nexus 4 Original Android Development] evie12604:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

No leave everything as it is
[Nexus 4 Original Android Development] fluffenforliberty:
By the way Harsh, you got any upcoming builds? :D
[Nexus 4 Original Android Development] odeccacccp:
Ok, thanks. But for the 5+ plus you using WiFi? I get 2-3 h, with 4G
[Nexus 4 Original Android Development] fluffenforliberty:
It's probably 60-70% on 3G and the rest on WiFi
[Nexus 4 Original Android Development] Harsh:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

Yes, git is updated. Just waiting for my internet connection installation. Currently using edge on my nexus 4. Hsdpa starts in 3 days. Gonna get speedy soon :)

Sent from my Nexus 4
[Nexus 4 Original Android Development] odeccacccp:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

Happy to hear!
[Nexus 4 Original Android Development] odeccacccp:
what am I doing wrong?

in Terminal I do su, grant the permission then in root put in "adb shell dmesg | grep PVS"

but it gives back the "error:device not found"
[Nexus 4 Original Android Development] ctfrommn:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

You have to reboot first.

Sent from my blazing bionic Nexus 4
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

I got fast one after having pcb replaced and am a lot happier with it than with previous faster chip. Goes as low on uv (If i want to), stays cooler, better battery life.

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

Sent from my fridge. Make: LG Model: N⁴
[Nexus 4 Original Android Development] :
What kind of battery life are you seeing? Got flamed cause I posted 6hr screen on time screenshot, recently, apparently I must have cheated, have a fast bin chip btw, weirdly enough I see similar battery life on stock kernel, makes me wonder do custom kernels really give you better battery life, on Harsh now btw
[Nexus 4 Original Android Development] odeccacccp:
even after reboot same thing device not found?
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

I have a nominal chip. But I can undervolt another 100 beyond what harsh has already under voted with no problems. On stock I would be lucky to get 2.5 hours sot and on any custom kernel I get at least 4. On harsh I get the best battery on average with 4.5 on mobile data and 5.5 on WiFi. So custom kernel give me way more battery.

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] odeccacccp:
I get max 2.5 H on harsh with 4G
[Nexus 4 Original Android Development] rocklee80:
Reboot the Phone.

Open Terminal and type in

su

and press Enter.

Than Type

dmesg | grep pvs

.
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

5h+ of SOT. You can see recent screenies in battery life thread in the last few pages.

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

Sent from my fridge. Make: LG Model: N⁴
[Nexus 4 Original Android Development] odeccacccp:
aa. see I was typing adb shell in front like in OP. Thank you!

@Harsh, would you consider changing the instructions in OP to what rocklee80 put? Just a thought.

---------- Post added at 09:32 AM ---------- Previous post was at 09:29 AM ----------

wow really. which ROM? WiFi%, 3G? which sync staff on? Please share detail, how to get 5+, I get half if I am lucky, I mean the usage for me is looking at the phone from time to time, Bluetooth on in the car two hours a day, and 4G, but 5+ hours wow.

Please share detail, please. I have a FAST as well
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

Wow really? Do u have bad reception where u live? I think that this phone losses a lot of battery from being in bad reception areas. I live basically in Chicago so I get great reception. But if I'm in doors at my works Gary Yard I get horrible sot because of my phone constantly searching for reception.

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] :
I used the PA kernel (stock kernel with modded colors) got 5+ hrs on Wi-Fi and used my phone normally, apart from slightly more heat, I don't notice major deviation on 4.2.2 but 4.2.1 stock kernel was terrible
[Nexus 4 Original Android Development] DowntownJeffBrown:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

I'm using PA as a ROM and tried their kernel and got pretty good results. I just find Harsh to have the best performance/battery mix. I was getting studders on the pa kernel when playing Madden NFL. On harsh its just pure smooth sailing. I agree the stock kernel was horrendous for me :thumbdown:

Sent from my Nexus 4 using Xparent BlueTapatalk 2
[Nexus 4 Original Android Development] :
What the hell are you doing with the phone for 5 hours a day???

You should be happy that you get 2.5 hours of SOT, charge the phone, rest your eyes and go get some sunshine.
[Nexus 4 Original Android Development] odeccacccp:
I work in Toronto downtown, yea in my office reception is at 2 bars, and cut's off in spots, I have a stupid concrete post in the middle of the office that brakes the signal.

and home is up in suburbs reception is ok I guess, 4 bars, never have a problem with calls.

Probably that's the problem, a I get telephony alarm in BBS.

I'll try to use wifi, but it's complicated, password changes every day at work, so it's easier to just have bad battery then get the password:))

---------- Post added at 09:50 AM ---------- Previous post was at 09:49 AM ----------

???

it's not 5 hours a day, the battery lasts at least 2 days with 5 hour on screen.

I hope you where kidding.