yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] apatal:
Re: [KERNEL]intersectRaven's Kernel - 20130301_16XX

Hi IR, I had 2 reboots one after the other, both after changing the governor to ondemand using No-frills CPU app from the Play Store. I got the the last kmsg both times. Kindly check if it was kernel panic or the app I used. Links to the ksmgs are below.

1st reboot

2nd reboot
[Nexus 4 Original Android Development] intersectRaven:
Could be the compiler since the kmsgs point to a part of the kernel that I didn't touch. Can you check with the version before the one which uses the newer compiler? :confused:
[Nexus 4 Original Android Development] mykenyc:
Re: [KERNEL]intersectRaven's Kernel - 20130301_16XX

IR or anyone what is your average battery life with moderate use? I'm about to hit 20hrs soon with 2 hour screen time. I never got these results and I'm wondering if it is a combination of the Snapdragon battery app and your kernel, or just your kernel. I love the kernel nonetheless.

... oh and my battery at 40%
[Nexus 4 Original Android Development] kaiser_tytnii:
that battery app is pretty much useless... all it does is to decrease(disable) auto-sync frequency; uninstall it and try it without
[Nexus 4 Original Android Development] apatal:
Re: [KERNEL]intersectRaven's Kernel - 20130301_16XX

OK, I'll try going back to the last 3/5 version. Let you know if it happens again.. Thanks!

---------- Post added at 04:50 AM ---------- Previous post was at 04:36 AM ----------

Another reboot after setting governor to ondemand. Here's the last_kmsg. Thanks.
[Nexus 4 Original Android Development] ctfrommn:
This is exactly what I experienced a couple days ago, but couldnt pull a kmsg for.
[Nexus 4 Original Android Development] apatal:
It's weird actually as the kernel functions perfectly fine at default settings (i.e. governor = interactive), which is fine by me, except that i do sometimes explore benefits of other governors/schedulers from time to time. :)
[Nexus 4 Original Android Development] intersectRaven:
This is troubling. Unfortunately, I can't replicate it on my device. I'm sorry to bother you but can you try and try doing what you're doing until you can find the last kernel where this doesn't happen? I'm thinking it could be either 20130305_09XX or 20130304_07XX which introduced this bug but since I can't replicate the crash here I can't be sure. :(
[Nexus 4 Original Android Development] ctfrommn:
3/01 test was the last successful one for me.
[Nexus 4 Original Android Development] apatal:
In that case, I'll start from there and work my way forward. See if I can confirm this. Thanks.
[Nexus 4 Original Android Development] mykenyc:
Re: [KERNEL]intersectRaven's Kernel - 20130301_16XX

Going to try without the app.
[Nexus 4 Original Android Development] intersectRaven:
You can stop testing now. I think I found the problem. :D
[Nexus 4 Original Android Development] apatal:
Lol. I'm actually running the 20130304_08xx at ondemand for a while now without reboot. I was about to suggest it may have something to do with the bouncing cow thing you ported from 3.9. Or am i way off the mark? :D
[Nexus 4 Original Android Development] intersectRaven:
I found that it has something to do with sleeping. Anyways, I'm reverting that in my testing. If you want, you can continue testing since ctfromm said that he experienced it even before that so I'm not sure if it's the bouncing cow thing. :D
[Nexus 4 Original Android Development] ctfrommn:
Re: [KERNEL]intersectRaven's Kernel - 20130301_16XX

Yea, for me or started as soon as interactive became the default governor.

Sent from my blazing bionic Nexus 4
[Nexus 4 Original Android Development] intersectRaven:
What do you usually do to recreate the problem? :confused:
[Nexus 4 Original Android Development] phewizzo:
Re: [KERNEL]intersectRaven's Kernel - 20130301_16XX

I have never got a reboot on any of IRs kernels. And I use my phone always heavy use throughout the day.
[Nexus 4 Original Android Development] apatal:
Re: [KERNEL]intersectRaven's Kernel - 20130301_16XX

I used an app called No-Frills CPU to set CPU settings like governor and scheduler and min and max CPU freq. I set it at interactive-bfq default after each boot. Once I change the governor to ondemand using the same app and apply the changes, the phone reboots randomly while I'm using my phone. Can't explain either. It never happened before today.
[Nexus 4 Original Android Development] ctfrommn:
Re: [KERNEL]intersectRaven's Kernel - 20130301_16XX

Same as stated earlier.... Go into a kernel app and change either governor or almost any kernel related setting. I never got reboots just using it, only changing settings.

Sent from my blazing bionic Nexus 4
[Nexus 4 Original Android Development] intersectRaven:
Can both of you test the version I'm uploading now (20130308_09XX) and tell me if it's stable with ondemand? (conservative may also be affected by the bug). :)
[Nexus 4 Original Android Development] apatal:
Yeah sure. Downloading now..
[Nexus 4 Original Android Development] superleeds27:
4am. Wide awake, feel ill, flashing kernels!

Will see how the latest test holds out.

Love the final colors btw ;)
[Nexus 4 Original Android Development] apatal:
Had lunch after flashing the latest test version and setting it to ondemand-bfq. Came back to my desk and found it had restarted. Here's the last_kmsg. Thanks.
[Nexus 4 Original Android Development] intersectRaven:
Darn! I'm thinking of just scrapping ondemand's queueing system instead of trying to find the friggin' commit which caused this. :p
[Nexus 4 Original Android Development] apatal:
Lol. You're the boss. I'd say remove everything and just leave interactive and bfq in there. Saves us the trouble of setting stuffs, and keeping me from playing with it needlessly. :D

That would make for a leaner kernel too. So far, you're the only one here who makes a customer kernel that hasn't breached the 5 MB file size. Kinda reminds me of another developer friend in the Nexus S forum, thalamus_. He makes lean kernels at ~2MB file size, while other developers keep pushing the limit with the features and size.
[Nexus 4 Original Android Development] Pedro Peguero Jr.:
Re: [KERNEL]intersectRaven's Kernel - 20130301_16XX

I also for the first time in awhile got a random reboot from on demand! Grr
[Nexus 4 Original Android Development] :
AW: [KERNEL]intersectRaven's Kernel - 20130301_16XX

That's funny. I've never, never had a sod or reboot with this kernel. :):)

With faux, Franco, ... it was really different :(

IR is by fare the best (for me) :thumbup::thumbup::thumbup:
[Nexus 4 Original Android Development] SpaceCeph:
AW: [KERNEL]intersectRaven's Kernel - 20130301_16XX

I never had problems. No reboots, no lags. But never changed anything, works perfect out of the box...

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Nexus 4 Original Android Development] thephantom:
that means another round of pepper lunch then army navy afterwards. :D
[Nexus 4 Original Android Development] apatal:
Re: [KERNEL]intersectRaven's Kernel - 20130301_16XX

Sounds good to me. ;)
[Nexus 4 Original Android Development] thephantom:
Re: [KERNEL]intersectRaven's Kernel - 20130301_16XX

Too bad you weren't there when we had em

Flowed and Tapped from my Nexus
[Nexus 4 Original Android Development] apatal:
Yep too bad. Hard to find time outside of work when you're already a family man like me. It's nice chatting with you guys in our FB page though..
[Nexus 4 Original Android Development] Wady el-Natrun:
Hi! i wanna try this kernel but i have a question...have IR the color like PA and Trinity, or like stock? i like much more stock color...
[Nexus 4 Original Android Development] ctfrommn:
There are 3 options.....stock, PA's 95 (brighter) I believe, and final (darker, contrastier PA)
[Nexus 4 Original Android Development] Rod3:
Still using the 03/06 JB test kernel on AOKP PUB. I have tried o recreate the reboots mentioned previously using the built in performance controller to change the governor and have yet to have a reboot.

How long after changing the governor did the reboot occur? I only left it changed for an hour.
[Nexus 4 Original Android Development] ctfrommn:
For me it was immediate to 1-2 minutes. I was using a variety of kernel apps to recreate it, havent used AOKP in a while. Im either on stock or close to stock AOSP.
[Nexus 4 Original Android Development] apatal:
Re: [KERNEL]intersectRaven's Kernel - 20130301_16XX

+1 same here..
[Nexus 4 Original Android Development] VaksenDK:
Sv: [KERNEL]intersectRaven's Kernel - 20130301_16XX

Totally +1 to that. Interactive and bfq are all we really need anyway. And it would so be right along the heart and soul for this kernel to take that path 100‰.
[Nexus 4 Original Android Development] nightf0x:
My phone just rebooted by itself. Running lastest stable kernel (20130301_16XX) and PA (mar 02 build)

attached is the last_kmsg
[Nexus 4 Original Android Development] apatal:
Re: [KERNEL]intersectRaven's Kernel - 20130301_16XX

What did you do before the reboot? Did you change governors or something else?
[Nexus 4 Original Android Development] nightf0x:
No governors were not changed. I just flashed the kernel a few days ago and didn't touch anything.

I was downloading an app and then turned off the screen. Soon after I tried turning it back on and phone didn't respond; after waiting a bit the screen turned on and I noticed it rebooted by checking battery stats.
[Nexus 4 Original Android Development] intersectRaven:
The last_kmsg you provided was took after you booted to recovery. Please take a last_kmsg right after you reboot from a crash. :(
[Nexus 4 Original Android Development] nightf0x:
Re: [KERNEL]intersectRaven's Kernel - 20130301_16XX

Interesting because I did not boot to recovery or reboot phone after that. I'll keep monitoring and see if it happens again.
[Nexus 4 Original Android Development] phewizzo:
Re: [KERNEL]intersectRaven's Kernel - 20130301_16XX

Flashing newest test kernel now. Thanks IR.
[Nexus 4 Original Android Development] apatal:
Mind checking if BFQ is set by default? Thanks.
[Nexus 4 Original Android Development] oo03sjw:
CFQ for me.
[Nexus 4 Original Android Development] superleeds27:
CFQ was default for me too.

Any chance we can have Faux 2 commits in for his Speaker app? It's now applicable for headphones :)

https://github.com/faux123/mako/commit/0a8888fa80939df2e88240d19c874466dd3f0297

https://github.com/faux123/mako/commit/836151137e680316df852b1a7895682a4fe3cbda
[Nexus 4 Original Android Development] faux123:
@intersectRaven

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] intersectRaven:
Re: [KERNEL]intersectRaven's Kernel - 20130301_16XX

I think it's fine to integrate that. :)
[Nexus 4 Original Android Development] apatal:
Re: [KERNEL]intersectRaven's Kernel - 20130309_11XX

Can you implement it in such a way that you won't violate your project objectives? That is, to make the kernel retire require less tweaking as much as possible?
[Nexus 4 Original Android Development] intersectRaven:
Hmm...I see your point...it also just occurred to me now that I still need an app to use this...which I don't particularly like...no offense to faux... :p anyways, I'll revert this on the next release since it's a tweak and is against the principles of this kernel. ;)
[Nexus 4 Original Android Development] apatal:
Re: [KERNEL]intersectRaven's Kernel - 20130309_11XX

Or you can take a look at how morfic implemented it in Trinity. I think their new release has Franco's volume boost enabled by default, so no need to tweak anything. Test the level of boost though. Some users are reporting that the speaker and earpiece volume may just be too loud. Of course you can always just reduce your volume levels in settings. :)
[Nexus 4 Original Android Development] faux123:
no apps are needed... all can be done via init.d script :D
[Nexus 4 Original Android Development] superleeds27:
Okay, so which version has it?

20130310_11XX or 20130310_12XX.
[Nexus 4 Original Android Development] intersectRaven:
Still, it's tweaking...hmmm...I'll think about it still though...I think sound control is acceptable since I'm viewing it like volume control...people usually do that. Maybe we'll clear the principles to accept things that people usually like doing so I could include that in the kernel. Gamma is still out though since I don't think people get bothered to adjust that and just learn to live with what the manufacturer does with it. Sound though is another. :confused:

*Btw, faux, I cleaned up the whitespace things in your patch. You could refer to my Github for it if you're bothered by those things. :p
[Nexus 4 Original Android Development] apatal:
Re: [KERNEL]intersectRaven's Kernel - 20130309_11XX

Trying out the new test kernel, as well as the changes in row scheduler. Adjusted sound control files by faux too, using his recommended script. Is their aso an advantage to changing the other sound gains aside from the headphone sound?
[Nexus 4 Original Android Development] superleeds27:
20 Hours Usage, got just over 6 hours Screen time.

Have updated to latest, will test out ROW now.
[Nexus 4 Original Android Development] SerkSerk:
Re: [KERNEL]intersectRaven's Kernel - 20130309_11XX

Hello, which kernel I have to download, there is 6 files in download :confused:

I'm on stock 4.2.2

Envoyé depuis mon Nexus 4
[Nexus 4 Original Android Development] audiomanph:
Re: [KERNEL]intersectRaven's Kernel - 20130309_11XX

Download the JB versions. If you're not sure which color to pick, just pick the stock one or you can try them all and pick the one you like.
[Nexus 4 Original Android Development] VaksenDK:
Sv: [KERNEL]intersectRaven's Kernel - 20130309_11XX

I just flashed the latest stable, 0309, and I noticed that interactive is now set as default, nice.

But also that cfq is default rather than bfq. Does that mean that this is the recommended setting at the current state of development, or should I still use Performance Control to set bfq on boot?
[Nexus 4 Original Android Development] apatal:
Re: [KERNEL]intersectRaven's Kernel - 20130309_11XX

He's still having trouble setting bfq as default but it still is the developer's recommended setting.
[Nexus 4 Original Android Development] VaksenDK:
OK, thanks for info.

I will just keep using Performance Control to set it on boot, until he sort that last minor detail out then.
[Nexus 4 Original Android Development] apatal:
Re: [KERNEL]intersectRaven's Kernel - 20130309_11XX

Just for the record. I think the sound boost is starting to grow on me. First time I've been able to enjoy YouTube videos on my external speakers despite the traffic noise from the street just outside our yard. Very nice work on this one.
[Nexus 4 Original Android Development] cpom1:
Re: [KERNEL]intersectRaven's Kernel - 20130309_11XX

Do you have a link to the script?

Sent from my Nexus 4
[Nexus 4 Original Android Development] apatal:
Re: [KERNEL]intersectRaven's Kernel - 20130309_11XX

Here you go. Put this either in an init.d script or run it using sm manager. :)

#!/system/bin/sh

echo "43 43" > /sys/kernel/sound_control/gpl_headphone_gain

echo "43" > /sys/kernel/sound_control/gpl_speaker_gain

echo bfq > /sys/block/mmcblk0/queue/scheduler
[Nexus 4 Original Android Development] cpom1:
thanks for the help but for some reason i cannot get it to run.

first i opened up notepad and copied & paste what your code then placed it in the init.d directory. then i changed the permissions (chmod 0777). and when i try to run it, it doesnt run. any ideas?
[Nexus 4 Original Android Development] rodeo_calling:
Mate, I don't think the kernel, nor Mmuzzy's ROM, support init.d, right? Correct me if I'm wrong. Did you flash that init zip to use this?

If so, is the sound enhancement worth enabling init.d?

Cheers
[Nexus 4 Original Android Development] cpom1:
ah. your a smart man. where is the init zip?
[Nexus 4 Original Android Development] rodeo_calling:
Re: [KERNEL]intersectRaven's Kernel - 20130309_11XX

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

Link to the thread :)

Sent from my Nexus 4
[Nexus 4 Original Android Development] cpom1:
so i installed the app. now is the script supposed run automatically once placed in the init.d directory or do i still need to run it via terminal and if so how do i run it?
[Nexus 4 Original Android Development] apatal:
Re: [KERNEL]intersectRaven's Kernel - 20130309_11XX

Automatically. That's the point of the init.d script. :)
[Nexus 4 Original Android Development] rodeo_calling:
Re: [KERNEL]intersectRaven's Kernel - 20130309_11XX

Holy c***, I can listen to YouTube videos in the loo now, without headphones :p.

My loo is pretty loud :D

Sent from my Nexus 4
[Nexus 4 Original Android Development] apatal:
Re: [KERNEL]intersectRaven's Kernel - 20130309_11XX

That sure sounds like a loud loo. Lol :D
[Nexus 4 Original Android Development] rodeo_calling:
Re: [KERNEL]intersectRaven's Kernel - 20130309_11XX

Yeah I hate it but need to see it everyday ;)

BTW thanks for the bfq setting too. I never bothered before but it seems to be an improvement over cfq.

Sent from my Nexus 4
[Nexus 4 Original Android Development] JmPTaz09:
Re: [KERNEL]intersectRaven's Kernel - 20130309_11XX

Latest test kernel running like a champ on Primerunner ROM. Smooth, fast and efficient. Stock settings except for BFQ and 2048 read ahead. :beer:
[Nexus 4 Original Android Development] Rod3:
IR, just wanted to say thanks for such an awesome kernel. I am getting pretty awesome battery life ( in my opinion) in combination with AOKP PUB.

The example below doesn't have outrageous screen on time, but I got over 60 hours and had ~2.5 hours on screen. This was virtually all on 3G using latest test kernel.
[Nexus 4 Original Android Development] Sean09:
I tried running this (full color AOSP) with the latest March 13 AOKP Pub build but the camera stops working. Any ideas? Worked with prior builds.
[Nexus 4 Original Android Development] Rod3:
Try using banks gapps. I am running the 95 color without issue.
[Nexus 4 Original Android Development] apatal:
Re: [KERNEL]intersectRaven's Kernel - 20130309_11XX

I'm actually running Whitehawkx's unofficial AOKP build with this kernel and have no issues whatsoever with camera. Must be your ROM or gapps.
[Nexus 4 Original Android Development] apatal:
3.4.36 test kernels are up guys! Enjoy! Thanks for the update, IR! :D :good:
[Nexus 4 Original Android Development] phewizzo:
Re: [KERNEL]intersectRaven's Kernel - 20130310_12XX

I hope to get Faux headphone boost in the next test update :)
[Nexus 4 Original Android Development] apatal:
It's still there! :D
[Nexus 4 Original Android Development] BlueFlame4:
AW: [KERNEL]intersectRaven's Kernel - 20130310_12XX

Best! Kernel! Ever!

I will stick to this one and donate some bucks if it keeps passing me through the day :)

Thanks for this amazing work! :)

Only things I changed are vibration intensity (100%) and the scheduler (cfq is for hard disks AFAIK, so I set mine to noop).
[Nexus 4 Original Android Development] VaksenDK:
Sv: [KERNEL]intersectRaven's Kernel - 20130310_12XX

Or you could try bfq, which is the one recommended by the developer. Gives me awesome performance and battery.

But you are right. This kernel is really good.
[Nexus 4 Original Android Development] kaiser_tytnii:
Re: [KERNEL]intersectRaven's Kernel - 20130310_12XX

Feeling some micro lag with aokp pub built... With the latest test kernel... Like swiping and on launcher and notification area... Interactive bfq...
[Nexus 4 Original Android Development] apatal:
Re: [KERNEL]intersectRaven's Kernel - 20130310_12XX

I wouldn't suggest using other custom kernels with the PUB build. Other users have been having issues left and right with other kernels combined with the latest PUB build. I should know because I follow the thread. I am using a regular (but unofficial) AOKP build with the kernel and have no issues whatsoever. :)
[Nexus 4 Original Android Development] kaiser_tytnii:
Re: [KERNEL]intersectRaven's Kernel - 20130310_12XX

Thanks! I'll give official build a spin!
[Nexus 4 Original Android Development] phewizzo:
Re: [KERNEL]intersectRaven's Kernel - 20130310_12XX

No. The speaker mod was added but the headphone mod was not.
[Nexus 4 Original Android Development] apatal:
Re: [KERNEL]intersectRaven's Kernel - 20130310_12XX

Am I missing something?
[Nexus 4 Original Android Development] phewizzo:
Re: [KERNEL]intersectRaven's Kernel - 20130310_12XX

Oh I guess its not enabled by default then. My bad.
[Nexus 4 Original Android Development] apatal:
Re: [KERNEL]intersectRaven's Kernel - 20130310_12XX

Not really. You have to set it still. Default value is 40. I set my headphone and speaker gain to 43: profit! ;)
[Nexus 4 Original Android Development] kaiser_tytnii:
Re: [KERNEL]intersectRaven's Kernel - 20130310_12XX

Now on built 5, still lag... Went to stable kernel .35 now seems fine... Something is acting up in the test kernel...
[Nexus 4 Original Android Development] apatal:
Re: [KERNEL]intersectRaven's Kernel - 20130310_12XX

Sorry, but no lag here, bro. ;)
[Nexus 4 Original Android Development] phewizzo:
Re: [KERNEL]intersectRaven's Kernel - 20130310_12XX

As I try other kernels from time to time cuz im a flashaholic I always keep coming back to IRs kernel, its just beyond smoother then any kernel out there. IR your the man for real.
[Nexus 4 Original Android Development] BlueFlame4:
^this. Tried all others out there and I still think this kernel has the best balance between performance and battery life :) (even though undervolting would be nice ;))
[Nexus 4 Original Android Development] VaksenDK:
It most certainly would not! :cowboy:
[Nexus 4 Original Android Development] endursa:
i just tried the latest test kernel .36 and i gotta say it is a little slower than the last .35 release!

antutu shows about 12000 points which is about 10k points short!
[Nexus 4 Original Android Development] :
The 3.4.24_CM10.1_20121229_2041hasn't the great performance as the 3.4.24_CM10.1_20121229_1546 had.

MFLOPS with linpack:

3.4.24_CM10.1_20121229_1546: 225

3.4.24_CM10.1_20121229_2041: 165

(Interactive, row)

any special reason for this?
[Nexus 4 Original Android Development] cpom1:
The latest kernel is awesome. Is the experimental newer or the stable? They both have the same day.

Sent from my Nexus 4
[Nexus 4 Original Android Development] intersectRaven:
I don't know. The difference between the two is only in the wakelock fix and the cpuidle code... I'll look at it in the morning. :)
[Nexus 4 Original Android Development] v3rk:
This kernel is really great, deserves more attention. I'll have to wait through a couple charging cycles to be sure about battery but performance wise it's top notch. Buttery smooth, just like stock. Thanks for sharing your work!
[Nexus 4 Original Android Development] v3rk:
if i may ask, IR, what rom do you run on your device?
[Nexus 4 Original Android Development] :
3.4.24_CM10.1_20121229_2041 battery is awesome: 1% per 2h over night compare to 1% per 1h before. Deep sleep at >>90% compare to 70'ish%

Thx for your great work!!
[Nexus 4 Original Android Development] intersectRaven:
I use a self-compiled CM10.1 ROM on my device. :o
[Nexus 4 Original Android Development] phewizzo:
This is the smoothest kernel out there. Thanks IR.
[Nexus 4 Original Android Development] v3rk:
I'm getting excellent battery life to boot! That's 5 hours of streaming Pandora on network, an hour and a half screen on time with a half hour talk time. I still have 27% and this is only my first full charge. Didn't mess with any settings at all. Thanks again for sharing your awesome work IR!
[Nexus 4 Original Android Development] phewizzo:
Flashing new EXp now.
[Nexus 4 Original Android Development] jarjar124:
sorry if this has been asked since my search bar is missing :( is UV possible on this kernel? i am assuming no since I don't see it in OP