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

You don't have to stare at it for that long. Although, I use it instead of pc to get my news, Gmail, xda, ebooks. All adds up. Most of the time I don't use 5h, just put it on charge sooner but simple calculation tells me that I'd get 5h if i continued using it.

Re how I get it. Well, i just use my phone :p

RBJ and Harsh combo, gnow off, location reporting off, the rest settings on, like sync, auto picture upload to Dropbox etc. I do not use Facebook app.

No any special settings for kernel, i just use it "as is". Auto brightness.

Most of that time is on Wifi, as that's the only time I get to use my phone. When I'm out and about I'm usually busy, so I don't have 3g stats yet. One day I'll just turn Wifi off and will do it to test SOT.

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

Sent from my fridge. Make: LG Model: N⁴
[Nexus 4 Original Android Development] odeccacccp:
Thanks, yea as I've read tone on this, reception is the key, once on WiFi the battery life improves dramatically 2+ hours at least. I've tested 4G and 3G and it does not really make a diff.

Also do you use BBS? as "auto picture upload to Dropbox etc" would give me a nasty kernel wake lock that prevents from deep sleep, I still don;t have a reason why.
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

Yep, I also think reception is the key. My latest theory (I tend to have a few :D) is that it's not actual reception but phone deciding between 2g/3g. Try this. No matter how bad reception, dial *#*#4636#*#* and chose wdcma ONLY. Come back in a day or two to report.

Keep in mind you'll have to do it after every reboot.

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

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

so I mentioned earlier that I'd be trying out faux's extended stock for a few days to compare after being on harsh for a month.

day1:

main noticeable difference is on harsh when my phone would transition from 2g/3g/H I would lose all service (phone/data) for a good 2-3min. on faux the transition is seamless.

GPS locks on in faux in about 2-3sec. harsh locks on in 20-30sec.

on faux however my msm_hsic wakes are higher but 5% vs 2%.

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

I did text or already, I can change in settings, permanent build. Prob setting.

On LTE it does not jump much as on 3g/H and no noticeable difference 3g or 4g battery.

But Wifi vs any network is double battery different

---------- Post added at 11:45 AM ---------- Previous post was at 10:51 AM ----------

New Version is still uploading?:))
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

Tonight's the night. I'm testing 3g, no Wifi. Reception is low as well, so let's see how Harsh fares.

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

Sent from my fridge. Make: LG Model: N⁴
[Nexus 4 Original Android Development] odeccacccp:
k cool, but try using it, as if the phone is idle, then battery does not drop all night.
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

I'm on night shift :)

So far lost 15% on 0.5h sot.

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

Sent from my fridge. Make: LG Model: N⁴
[Nexus 4 Original Android Development] odeccacccp:
yea that's about right. Plus if you have BT on, music and play a game for 20 min, it will come to like 2.%H and with me on 4g it would be like 2.15-2.20 min. no much diff.

I wonder if I just do a simple test and have screen auto off turn off and let it just sit there with screen on on Wifi and on 4g for few days.

But again, as I posted before I have a strong theory of testing, that Performance settings do affect min CPU to 1026 state which make battery weaker.
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

Yeah. I reckon I'll be on about 3h sot. Lets see.

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

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

No matter who you use your phone the battery police will complain.

But you didn't play a game! But but you didn't stream music and make phone calls. But but but....
[Nexus 4 Original Android Development] odeccacccp:
Sh--t sorry man, long day at work, Going home to watch Apprentice:)))))))
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

I think you misunderstood him. He means all the whiners from N4 forums. Naysayers. Not us.

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

Sent from my fridge. Make: LG Model: N⁴
[Nexus 4 Original Android Development] Goog1e Phone:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

Are you controlling your apps? 3 hr SOT time is fairly low in my opinion. I've reached an average of 4 hr SOT with harsh's and trinity's kernel with ease. I'm never on wifi because my hpsa+ is actually faster.

Sent from my Nexus 4
[Nexus 4 Original Android Development] odeccacccp:
Thanks, sorry.

Ok have fun at work, I'll pop in in few hours once home.
[Nexus 4 Original Android Development] albundy2010:
Re: [KERNEL][UV][Linux 3.4.34] Harsh Kernel build Mar-01

I am not off at all. I am not talking about you or the specifics of his test. Just about the battery trolls.

We have battery trolls on xda now. Constantly complaining about sot shots and how the device is used. Just get a dumb phone replies etc

That's what I call the battery police. And they are never happy and never shut up.
[Nexus 4 Original Android Development] odeccacccp:
yes I have Calendar/Gmail/and Contact synced. no maps, no location, no crap.

Just BT in the car, and some games. I also do use the phone in dark, so brightness is high 20% of the time.

We are pretty much testing the 3g or 4g in my case with bad reception as theory is it only give like you said 3H (which I get sometimes too, depending on actions, sometimes I just need to use the phone so CPU is working hard) vs WiFi which gives 5-6 H

from many forums 2.5H to 3H is good average, the crappier reception the crappier SOT better signal hence WiFi connection is better battery, that's the theory.

+ I asked the Dev's re Performance settings disable if possible, as I've tested and it does affect the min CPU keeping it on 1026 in some case(more then needed) Before I was able to disable it, but can;t in this build, I would like it removed if possible, but not up to me to decide.

---------- Post added at 04:17 PM ---------- Previous post was at 04:14 PM ----------

Sorry, I deleted the other post, my bad, misunderstood.

I am happy with battery I mean it's 2100, I had 1950 on my skyrocket it was a pain:) this one need's be charged pretty much once a day anyway, we are just trying to find out all the variables that affect it.

My friend is on Note 2 it's 3100 battery, he gets 2 days with stock everything hard hard usage, phone calls maps GPS, $G you name it, but it last minimum 2 full days. So N4 is pretty good comparing the size of the battery power

People are welcome to police this, it's their problem:)) we get our benefit even if they don;t see it.:)
[Nexus 4 Original Android Development] Harsh:
new build uploaded...

changelog n download link in OP..

hit thanks if you like it. :)
[Nexus 4 Original Android Development] ruzkay:
harsh kernal anyone~ ?

yep. harsh kernal.
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Damn you. How am I supposed to continue my test now?! :D

Never mind, will flash it tomorrow.

Btw, 20% down, 45m sot

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

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

Awesome. Gotta give a try. Is the sound enhancement enabled by default?

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

Just a quick noob question here.. What's the significance of a new Linux version? Performance? I've been wondering.. Thx
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

From my limited knowledge, it's about linux kernel which with every newer version is further optimised for mobile devices. In the near future it will be pretty much the same for both, so mobile devs won't have to do many adjustments.

To answer your question, basically it's performance optimisation, just like any other driver/app/program update

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

Sent from my fridge. Make: LG Model: N⁴
[Nexus 4 Original Android Development] ckret:
when i set headphone_gain to "41 40" it feels fine for me.

standard its set to "40 40" but i felt right being a little louder than left. anyone feels the same or are my ears bad :D

edit: ok i think i might have a problem with my ears xD

anyways the soundfiles are in "sys/kernel/sound_control"
[Nexus 4 Original Android Development] sean222:
Same question here! If not, how to we adjust? /sys/kernel/sound_control?
[Nexus 4 Original Android Development] Lownita:
[KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

So is the headphone gain hard coded or do we need to raise it manually?
[Nexus 4 Original Android Development] jarjar124:
manually through app or file manager etc.
[Nexus 4 Original Android Development] polaris441:
You may use FauxSound or init.d script:

#!/system/bin/sh

#Sound_control
echo 40 > /sys/kernel/sound_control/gpl_cam_mic_gain
echo 40 40 > /sys/kernel/sound_control/gpl_headphone_gain
echo 40 > /sys/kernel/sound_control/gpl_mic_gain
echo 40 > /sys/kernel/sound_control/gpl_speaker_gain

40 is the kernel default value.

43 is the highest advisable gain

>43 not advisable

remove .txt when copied into /system/etc/init.d/
[Nexus 4 Original Android Development] bradm23:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Been a long time Franco user here, going to give harsh a try to max my battery. One thing I do notice is touch sensitivity is a little worse on this vs Franco. Is is possible to add the touch panel tweaks Franco had in his kernel. Other than than, my battery hasn't moved!!!

Can't wait to give this a few days! Thanks for the great kernel!
[Nexus 4 Original Android Development] Crisisx1:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Just flashed the mar12 build...ty
[Nexus 4 Original Android Development] drdrewdown:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

After 3 minutes? Lulz :banghead:

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

Lmao yeah my bad idk what the hell I was thinking sorry
[Nexus 4 Original Android Development] sean222:
Thanks for the file! In case there are other noobs like me that can't get it to work, I forgot to set permissions on the file :( (but I guess setting permissions is obvious if you're messing with init.d :) )

And Thanks given to Harsh for the awesome updates. I get the best performance with your kernel...other kernels seem to lag here and there...I guess they're sacrificing minimal performance for more battery...
[Nexus 4 Original Android Development] bleuf1sh:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

after trying faux for 2 days... I'm back :)

Faster GPS locks and Faster switching between cell towers ended up really affecting battery life.... the phone was also generally hotter.

mako | paranoid | harsh
[Nexus 4 Original Android Development] ckret:
you dont have to set a script if you leave the values at 40

the values are already saved as 40 in the kernel without any script.
[Nexus 4 Original Android Development] Lownita:
Does this update also include the functions of faux speaker app?
[Nexus 4 Original Android Development] Higgsy:
it includes the parts needed to make it work, you need the fauxsound audio/sound controll app or a init.d script to control (example of init.d script can be found on the previous page).

Does anyone know what the values are from the presets in the faux app so we can add them to our init.d scripts, what are people finding optimal?
[Nexus 4 Original Android Development] mundixx:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Hi,

I find this script as optimal.. You cam test them by putting this on a script in init.d folder with 755 permissions

#!/system/bin/sh

#Sound_control headset
echo 40 > /sys/kernel/sound_control/gpl_cam_mic_gain
echo 35 35 > /sys/kernel/sound_control/gpl_headphone_gain
echo 40 > /sys/kernel/sound_control/gpl_mic_gain
echo 40 > /sys/kernel/sound_control/gpl_speaker_gain

#Sound Tweaks speaker
echo 0 > /sys/bus/i2c/devices/0-0058/out_lim
echo 12 > /sys/bus/i2c/devices/0-0058/AGC_Max_Gain
echo 2 > /sys/bus/i2c/devices/0-0058/ATK_time
echo 6 > /sys/bus/i2c/devices/0-0058/fixed_gain
echo 1 > /sys/bus/i2c/devices/0-0058/Hold_time
echo 1 > /sys/bus/i2c/devices/0-0058/Noise_Gate_Threshold
echo 29 > /sys/bus/i2c/devices/0-0058/Output_limit_level
echo 8 > /sys/bus/i2c/devices/0-0058/REL_time

Sent from my AOSPA Nexus 4
[Nexus 4 Original Android Development] sean222:
Sorry, I just quoted polaris441's post to show what I was thanking him for. That's not what is in the script he posted.

The script he posted has a value of 43 for each setting. So far so good. I like having the volume bar lower, with the option of increasing it if needed :)

OOoooh, thanks for the Speaker sound tweaks :D

I love how this Kernel doesn't need a Kernel app to control it!!!!!!!!!!!!!!!!! Thanks again, Harsh :)
[Nexus 4 Original Android Development] rskyline:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Take a look at the graph. Before the graph skip is cm kernel. Take a look at battery drain when i was using the phone. And look after the skip. Is with harsh and no extreme drains as on cm kernel. Great work mate!

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] Lownita:
Wouldn't this be even lower headphone gain than stock?
[Nexus 4 Original Android Development] jarjar124:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Yes but the quality gets better.
[Nexus 4 Original Android Development] linelock:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

I believe 40 in the script = 0 in the app.
[Nexus 4 Original Android Development] sean222:
Can faux's gamma settings (Gray and Gradient scales) be set via init.d? Or is init.d restricted to just RGB, Amp0, and Amp1?

Edit: Never mind, I think the answer is YES (with some converting). I found some code flxdms posted way back in this thread...I'll try to make sense of it :)
[Nexus 4 Original Android Development] BlueFlame4:
AW: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Hey everyone :)

I'm new to the Nexus 4 and have a simple question: Is it possible to adjust the vibration sensitivity with this kernel and with Trickster Mod for example? What is the maximum value the kernel can handle? Since I need to input a number I'm not sure what the maximum is.

Thanks in advance!

Blue :)
[Nexus 4 Original Android Development] sean222:
Yes you can use Trickster to set it. Default is 70 and max is 100! 100 is safe for your Nexus 4, some kernel devs use 100 as default :)
[Nexus 4 Original Android Development] yukkio:
Hi,

Does someone have problem with deep sleep? There's something wrong with any google services.
[Nexus 4 Original Android Development] albundy2010:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

User error
[Nexus 4 Original Android Development] cdx47:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

I'm am trying this Kernel for the first time. So far have had 2 reboots and a few lags when dialing or starting Temple run 2.
[Nexus 4 Original Android Development] desiromeo719:
I have the same problem with google services sucking the life out of my phone...havent been able to fix it on any kernel. I cant get more then 3 hour screen on time on any kernel cuz of this...someone help.
[Nexus 4 Original Android Development] BlueFlame4:
Thanks for your answer! 100 is already better :) Somehow I still don't notice it always (my previous phone was a Galaxy S whose vibration went completely crazy, lol). Is there any other way to go beyond 100? Is this also kernel related?

Thanks in advance! :)

Blue
[Nexus 4 Original Android Development] yukkio:
I only sync gmail, calendar, browser and contacts so I dont know how can I fix that.
[Nexus 4 Original Android Development] Lownita:
:confused::confused:
[Nexus 4 Original Android Development] -iNSiGhT-:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

And what are stock values for headphone and speaker?

Paranoid mako
[Nexus 4 Original Android Development] mundixx:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

40 40

Sent from my AOSPA Nexus 4
[Nexus 4 Original Android Development] Lownita:
Speaker control is not implmented, only headphone is!
[Nexus 4 Original Android Development] yukkio:
Do you have an aokp based rom or mixed aokp?

BR.
[Nexus 4 Original Android Development] Goog1e Phone:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

I like harsh's kernel. But anyone else having data drops? Once it stops, it takes awhile for it to connect again.

Sent from my Nexus 4
[Nexus 4 Original Android Development] drdrewdown:
nope, no data drops
[Nexus 4 Original Android Development] iammtxd:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

I have data drop when I was using the March -01 version, not sure about the new one.

Sorry for my bad English.

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

No data drops here. 2 h 10m SOT, 2 hour talk time, 27% left.... Priceless.

On latest carbon nightly FYI, stock settings
[Nexus 4 Original Android Development] undercover:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Right. So on 3g only I get just over 3h sot. OK for me. Reception was horrendous bear in mind.

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

Sent from my fridge. Make: LG Model: N⁴
[Nexus 4 Original Android Development] PsyMoses:
I suspect the data drops are caused by the latest PA, i tried switching the kernel and the problem remained. So the question is are you using paranoid android ?
[Nexus 4 Original Android Development] eep2378:
Latest build is solid(like the previous ones). I've been on mobile data all day just to see if I can reproduce any drops, etc. I've no issues with data today :D
[Nexus 4 Original Android Development] keda:
touch screen issue still exists. Had to switched to Bricked for proper s2w.
[Nexus 4 Original Android Development] undercover:
First 20% down report. Batter life seems good. Off charger for 2h,screen on 1.5h. The only thing I notice that is different is that it's about 3c warmer than Jan 3 build. Could be due to data fix? Data seems to be better, but need more testing.

Sent from my fridge. Make:LG Model:N4
[Nexus 4 Original Android Development] bigwilly90210:
is that with s2w enabled? I'd love that feature, but the 3+ hours screen on time and 2 day battery life is hard to give up... just wanna know impact on battery life. in all honesty, i know it won't really be easy to tell unless you've been on the same setup for a couple days. guess i'll just hope for the best? ha. thanks for the quick updates harsh, good stuff. :good:
[Nexus 4 Original Android Development] Harsh:
That would be with sweep2wake disabled. It should be easy to get 3+ hours of battery with s2w disabled. If you have heavy usage draining full battery 2 times a day, it would be better to have sweep2wake enabled because it would save your power button some presses :D...

Sweep2wake reduce idle time, but for heavy users its one of the best feature.
[Nexus 4 Original Android Development] undercover:
Battery wise, new build is just as good as 03jan if not better. 51% left, 11h off charger, 3.5h screen on. Data issue persists though.

I sooooo wish I didn't have it, I could finally settle with current setup then :(

Sent from my fridge. Make:LG Model:N4
[Nexus 4 Original Android Development] eep2378:
That's the beauty of Android. Many times you're so close to perfection, but that little caveat will nag you to no end....;)
[Nexus 4 Original Android Development] Harsh:
If data issue is from android 4.2.1 than maybe we could settle for kernel :D.. I am looking in another threads too, devs who reverted hsic and 3g patches still have data issue in their kernel. Maybe it's not kernel but android itself. I just used up my 1/3 of my 500mb data limit to just test it but no issues at all.

Can you get me logs again? Last time I checked your logs it was apn not seeing correctly same as no signal. Exactly same problem as in Google bug postings by 100s of users.

N4 Hardware is fast binned rev11 build in November, in Germany running on o2 and base network.

Sent from my Nexus 4
[Nexus 4 Original Android Development] clandes:
Best kernel ever in combination with official AOKP mr.1 Rom, brightness set to 50%:

Still on first charge since I flashed kernel yesterday. Happy Bunny :good:
[Nexus 4 Original Android Development] renna1992:
harsh one last question regarding the hsic_wakelock patches. have you integrated all of them in your kernel or, like franco, reverted a lot of them? (i think it was between r27 and r28 - if thats important)

thank you :)
[Nexus 4 Original Android Development] Harsh:
Seem like WiFi could do even better. But at 50% screen brightness, 2 hour screen over one full day is good. And still 50% remaining to test :)

Sent from my Nexus 4
[Nexus 4 Original Android Development] clandes:
WLAN at work is a bit wonky at times. I get better results at home. And I always got wifi on except when on the road so to say. I'm really very happy with this kernel. Not using s2w though as I never was big fan of it.

Sent from my unicorned Nexus 4
[Nexus 4 Original Android Development] eep2378:
I have used mobile data all day since leaving for work this am. No drops(fingers crossed...)
[Nexus 4 Original Android Development] Harsh:
I have all those wakelock patches + 3g power saving patches. + more. Basically I cherry-picked too many :eek:.

I wanted to solve data drops without reverting those patches. :fingers-crossed:

If you test this kernel, do let me know how does your data work. For me I dont have any problems. Never had.

and @eep2378 :fingers-crossed:
[Nexus 4 Original Android Development] evie12604:
I've been using latest version all day and had no issues with data. Performance and battery are great.
[Nexus 4 Original Android Development] Rafase282:
adb shell dmesg | grep PVS

That does not work for me. When I type it in terminal it runs but displays nothing.

If I do adb shell then dmesg | grep PVS it gives klogctl: Operation not permitted

NVM now it works.

<6>[ 0.344117] acpuclk-8064 acpuclk-8064: ACPU PVS: Fast
[Nexus 4 Original Android Development] renna1992:
i will. very interested in this kernel and i like that you haven't reverted any of those patches :)

can if dirty-flash over franco or should i use faux's reset kernel?
[Nexus 4 Original Android Development] undercover:
You must use reset kernel when coming from Franco.

Sent from my fridge. Make:LG Model:N4
[Nexus 4 Original Android Development] renna1992:
will hit thanks for you tomorrow - stupid 8 thanks limit.
[Nexus 4 Original Android Development] Harsh:
I hit it for you. Its already stated in OP though :p..

Do let me know if you get data issues.

There would be no reboot or any other problems. If you UV more and get reboot its probably UV.
[Nexus 4 Original Android Development] tacosrdelicioso:
Re: [KERNEL][UV][Linux 3.4.35] Harsh Kernel build Mar-12

Edit: I'm stupid