yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] bendotson:
Just an FYI- Enabling mic gain ruined the audio on the other end of my calls. I had it set to 10 but had to disable it so the people I called could understand me. I verified this with multiple callers. Once I turned off the gain my calls were fine.
[Nexus 6  Original Android Development] PDP///M:
Any way to disable this "feature"?
[Nexus 6  Original Android Development] franciscofranco:
Well, 10 is a bit too much :p going in 1 by 1 increments to find a sweetspot is preferred.

Not for now, haven't found where this is called from. If it's an ioctl call I can block it, but I need to know the origin ioctl for that matter.
[Nexus 6  Original Android Development] stas333:
I can clearly tell the difference in changing the headphones volume while playing music. A very small change is all that is needed. I increased mine to 20 and couldnt understand the music at all. Now i have it set to 3, its still a bit louder but also still clear.
[Nexus 6  Original Android Development] nexusmaniac:
Hi Franco :)

I asked this a little while back - but do you think you'll try again with your custom thermal driver?

Would be really awesome to have my phone be as cold as ice ;) Haha

Thanks!
[Nexus 6  Original Android Development] schizophrenia:
will try that.

so i supposed +ve numbers mean louder right? for both headphone and mic?

thanks
[Nexus 6  Original Android Development] bendotson:
I thought maybe so. However voice recorder apps and such were crystal clear. Only the call audio was affected but not when I had the phone on speaker which I thought was strange. I really thought the radio IMG was screwy so I tried another with the same result. Then I almost wrote it off as a cricket issue until I remembered I had enabled the mic gain when I first installed r20. Just putting this out there for people who may be having the same issue. Thanks for the response.
[Nexus 6  Original Android Development] Jerreth:
Hello all,

I am new to the N6 but not franco kernel. I noticed the other day that when i had the r21 release installed through auto flash in the updater all my calls the person stated that i sounded very far away i switch to leankernel and it seems that this problem vanished is this a known issue or am i just doing something wrong here?
[Nexus 6  Original Android Development] franciscofranco:
I don't change anything that affects call sound, speaker sound etc, mic sound, it's all stock. Probably just a random fluke, or you had bad reception during that call. Who knows.
[Nexus 6  Original Android Development] Simer03:
Tested some deep sleeping while I myself took a little deep sleep
[Nexus 6  Original Android Development] franciscofranco:
Higher values mean higher gain yes.
[Nexus 6  Original Android Development] Jerreth:
awesome i figured as much but thought i would ask thanks for the hard work and the quick reply i love your kernel. Ill flash it again and see how it works out.
[Nexus 6  Original Android Development] inzaghi75:
Can I use r21 for 5.0.2 too?
[Nexus 6  Original Android Development] flyinj54:
No sir
[Nexus 6  Original Android Development] Tzfardaya:
Why does no one read the OP anymore? First paragraph...
[Nexus 6  Original Android Development] pantmunu:
And he said hi all too . just saying. ?
[Nexus 6  Original Android Development] golfinggino:
Just curious how much undervolting you guys are getting - I am running 72 mv with chroma rom running smoothly wondering what you guys are using?
[Nexus 6  Original Android Development] Tzfardaya:
I don't undervolt... Don't feel like taking the time to dial it in properly so as not to cause issues with other systems in the phone.
[Nexus 6  Original Android Development] noneabove:
With r21 I got 3 freezes in one day.. Unfortunately I'm out and about and don't have time to take a log so I've reverted to r20 but tomorrow I'll go back to r21 and figure out what's going on
[Nexus 6  Original Android Development] Tzfardaya:
What sort of freezes?
[Nexus 6  Original Android Development] noneabove:
Screen froze and unresponsive, music stopped, had to hold power button 10 seconds to reboot, completely locked up.
[Nexus 6  Original Android Development] Tzfardaya:
Interesting... What other mods have you made? Third party rom, xposed, etc?
[Nexus 6  Original Android Development] franciscofranco:
Hmm... that doesn't seem like a Kernel Panic, otherwise it would've rebooted, not freezed.
[Nexus 6  Original Android Development] Fauert:
NO freezes, NO fc, only SUPER kernel :thumbup:

On Chroma 03/20 :D
[Nexus 6  Original Android Development] eluspo:
OT! Will the new on-body-detection cause a battery drain?
[Nexus 6  Original Android Development] Tzfardaya:
New what?
[Nexus 6  Original Android Development] rampino:
does it now work with euphoria 1.1?
[Nexus 6  Original Android Development] noneabove:
Stock rooted, only other root I have running is greenify and I've never had a freeze until r21 (including the test) and I haven't had a reboot since reverting
[Nexus 6  Original Android Development] Tzfardaya:
Backup and test?
[Nexus 6  Original Android Development] eluspo:
Its a new feature in smart unlock.
[Nexus 6  Original Android Development] Tzfardaya:
Ah, found it... Depends on how often it polls the phones accelerometer.. And how well it's coded... If it keeps the phone awake, it probably will as well..
[Nexus 6  Original Android Development] cyberbandit1998:
I am using in on euphoria with out problems. Very smooth
[Nexus 6  Original Android Development] SweetwaterBurns:
Does this kernel still drop down to single core mode on screen off? I listen to around 8 hours of music/podcasts throughout the day and used to end up at around 44 percent battery now I'm hitting 15 or lower pretty regularly with the same setup as 5.0. Can't think of an easy/lazy way to check with just the phone and haven't had a chance to hook it to adb and check so figured I'd just ask.
[Nexus 6  Original Android Development] enzoevo:
What happens with stock kernel?

Via my CleanROM Nexus 6
[Nexus 6  Original Android Development] franciscofranco:
This is more complex than you think. Every time the device enters suspend it offlines all the cores but cpu0. Every time it resumes (even when screen off) it onlines all the other cores, and goes back to 1 when it enters suspend again. Same behavior as stock. Changing this behavior will produce audio crackling and other audio interference during screen off.

That 44% vs 15% cannot be due to cpus being online or not, there's some other **** going on there.
[Nexus 6  Original Android Development] Tzfardaya:
Cpu freq still ramps based on load with screen off, right? Perhaps latest kernel is just ramping up and sitting at a higher freq while listening to music due to settings changes..
[Nexus 6  Original Android Development] franciscofranco:
Of course cpufreq rules still apply, but the system is mostly asleep, the load is way lower, there's less IRQs, less uninterruptible threads etc.
[Nexus 6  Original Android Development] Tzfardaya:
True, but I was referring more to [MENTION=1716969]SweetwaterBurns[/MENTION]' issue of extra battery drain since he upgraded... 44% to 15% endpoint after a day of listening to music/podcasts..
[Nexus 6  Original Android Development] franciscofranco:
Yes, that might be it.
[Nexus 6  Original Android Development] damosthated162:
Can r20 be used on 5.1? Just a question, everyone always asks if they can use r21 on 5.0.1-2 but I haven't seen anyone ask r20 on 5.1 ...
[Nexus 6  Original Android Development] Simer03:
I like helping bro, but this deserves a...

*facepalm*
[Nexus 6  Original Android Development] Tzfardaya:
Recently read the OP? It's there for a reason.. Why not go check it out and then post if the answer to your question is there...

---------- Post added at 12:07 AM ---------- Previous post was at 12:05 AM ----------

I was thinking more of a high five...

to the back of the head, with a clue bat... (my preferred clue bat is a 5cm diameter steel bar, 45cm long.)
[Nexus 6  Original Android Development] Simer03:
I understand searching for certain links but this one's in the the first line of the op...
[Nexus 6  Original Android Development] damosthated162:
Ooh forgive me it was confusion on my behalf, I was pretty much half asleep when this was written and was sort of skimming through the pages...
[Nexus 6  Original Android Development] paychex:
I'm sure
[Nexus 6  Original Android Development] bluntman420:
R21 is definitely the fastest kernel I have used EVER on android. I had to comment here to congratulate and thank you for this awesome kernel. Performance has been very consistent and battery life has improved quite drastically for me over stock. Thanks!
[Nexus 6  Original Android Development] Stigga:
Hey guys. I downloaded Franco kernel for the first time yesterday and now Google music not working. My music list is showing but when I click play nothing happens. If I select play video that works. Any suggestions? Thanks!

Edit : I cleared cache and data and it worked. Also realized I posted in the wrong thread (should have posted in Q&A)

﻿
[Nexus 6  Original Android Development] franciscofranco:
Nothing to do with the Kernel, just random **** is happening to you.
[Nexus 6  Original Android Development] Stigga:
Thanks man, BTW, I am loving the kernel! Faster and better battery life. Since I am a noob do you recommend a color profile for the Nexus 6(i have the pro updater)? Ideally to make the whites to be more white (Similar to the Note 4)
[Nexus 6  Original Android Development] sway40:
Go to color control and select profile in his app, I can't recommend one but you can try the different ones there.

tappin from my Nexus 6
[Nexus 6  Original Android Development] mijkz:
After seeing how highly Franco's kernel is regarded I'd like to give it a go. If I don't get along with it for any reason is it just a case of re-flashing the backup of the original kernel that the FKU app makes? The FAQ mentions the installation changing some files in /system - is this still the case?

Thanks in advance...

P.S. I'm running stock LMY47D, rooted and TWRPed.
[Nexus 6  Original Android Development] blueren:
Is it just me or is everyone feeling that there is an noticeable battery hit on the latest kernel.. Just want to make sure it's not a placebo given that you know that all 4 cores ate always online
[Nexus 6  Original Android Development] schizophrenia:
to me the battery life is worse on 5.1 comparing to 5.01. but I see a few others are having better battery life.
[Nexus 6  Original Android Development] Tzfardaya:
Only if you back up the kernel manually before flashing. Usually it's just a matter of reflashing your rom stock kernel (In your case the stock Google kernel, I'm sure you know about the nexus factory image site.

Just download the appropriate image from there, unpack it and flash the boot.img file however you like (fastboot, flashify, fku)

The two files were changed on the nexus 4 and 5 (iirc) My understanding is that they are not changed on the 6 (hopefully Franco can clarify). The original poster for the faq page has not been on xda for a while, and as such the faq is starting to fall farther out of date.
[Nexus 6  Original Android Development] mijkz:
Thanks for your quick reply. I'm no stranger to flashing the factory images (or parts thereof) so it looks like I'm good to go...
[Nexus 6  Original Android Development] Tzfardaya:
No noticeable hit here, still getting similar sot to earlier FK versions..

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

Even if the files still get changed, reflashing the system.img clears then up anyways... (good idea for OTA prep anyways is to flash system and boot)
[Nexus 6  Original Android Development] Stigga:
What settings in the color control makes the whites whiter?
[Nexus 6  Original Android Development] Tzfardaya:
Guess and test... We can't be certain what you consider "whiter" a warmer, or cooler white...
[Nexus 6  Original Android Development] sway40:
I have, r20 with vanillapop I was getting the best battery I ever have. A Lil less with r21 but nothing to complain at all about. Kept everything the same just went to r21 so idk. All I know is 5.1 made this phone absolutely perfect imo, polished what need polishing paired with this kernel obviously.

tappin from my Nexus 6
[Nexus 6  Original Android Development] franciscofranco:
/system is untouched on Shamu!

Quite the contrary, having the best battery life ever on r21, the changes I introduced were specially thought for this.
[Nexus 6  Original Android Development] mijkz:
Great - thanks for the confirmation :)
[Nexus 6  Original Android Development] Simer03:
Probably just me but I can't get your kernel settings section to stick on boot in your app. Boxes are checked on too
[Nexus 6  Original Android Development] 808phoneaddict:
Hey Franco, I been having the issue where my screen turns off when I'm on a phone call and won't turn back on unless I'm done with the call. I've been told this is a 5.1 issue, it's found on different roms and most people solve it by removing their screen protector because the proximity sensor is very sensitive in 5.1. Is there a way the kernel could either have an option to adjust the sensor?
[Nexus 6  Original Android Development] russlowe73:
Sign up for the beta test for FKU, Franco switch the boxes to switches, it looks super clean.

---------- Post added at 11:52 AM ---------- Previous post was at 11:51 AM ----------

BTW, when sticking on boot doesn't work, sometimes I just clear the app settings and start clean and it works.
[Nexus 6  Original Android Development] Simer03:
Where do i go to sign up for that?
[Nexus 6  Original Android Development] trim81:
Just installed r21 on my mean pop rom.

Led no longer blinks with notifications.. Anyone have the same and know how to fix this?
[Nexus 6  Original Android Development] franciscofranco:
Maybe you're disabling sensor_ind wakelock? I don't know about anything to adjust sensors on the Kernel level, the Kernel only has the hardware drivers, I believe most of the work on the sensors it's done on HALs and userspace.

I don't know how many times I've said this. LED is disabled on Shamu so the framework doesn't interact with the LED light when there's a notification or something like that. For that to work either: you use an app that listens to notifications and manually light up the LED light, or you modify the framework. None of this is controlled by the Kernel, the Kernel only has the ****ing LED driver, nothing more.
[Nexus 6  Original Android Development] russlowe73:
Go to the FKU G+ page, their should be a link for beta.

---------- Post added at 12:53 PM ---------- Previous post was at 12:50 PM ----------

https://play.google.com/apps/testing/com.franco.kernel
[Nexus 6  Original Android Development] 808phoneaddict:
Pleased excuse my ignorance but what is HALs?
[Nexus 6  Original Android Development] franciscofranco:
Hardware Abstraction Layer.
[Nexus 6  Original Android Development] Simer03:
Your beta app sticks kernel settimgs after boot! Sweet!
[Nexus 6  Original Android Development] SilkyJohnson:
It's also a cool robot.
[Nexus 6  Original Android Development] Simer03:
Solution found...disregard this and the picture! Lol
[Nexus 6  Original Android Development] noneabove:
All right just got a random reboot on r21 again, here's the ramoops:

https://www.dropbox.com/s/buas448qanog98g/console-ramoops?dl=0
[Nexus 6  Original Android Development] leighfwarren:
Me too, I've had 3 of them in the over 12 hours. 2 of them when the phone was idle. I don't have logs though (AFAIK). I installed ElementalX yesterday and haven't had one since.
[Nexus 6  Original Android Development] paychex:
Big help
[Nexus 6  Original Android Development] Mistertac:
The Logs that you'd need to post to help any kernel devs are found in "/sys/fs/pstore/"

An easy way to have quick access to these files is to create a shortcut to that folder on your home screen, or any screen obviously, using ES File Explorer. Then have a Dropbox or Drive account already hooked into ES. Then if you had a reboot, once booted back up you can simply go to the folder, zip up the Log files and share via Dropbox or whatever Cloud you use. All from within ES. It's very easy and fast.
[Nexus 6  Original Android Development] mrw1215:
Not sure if this is a compatibility issue between 5.0.2 and 5.1, but I was on r10 of this kernel for the longest time, then I flashed the latest one, still being on a 5.0.2 ROM, and when my phone booted back up, it was hit with a constant string of warnings that Phone had stopped working, before eventually rebooting itself and repeating the process over and over until I intervened. I flashed back to r10, and all is well again. So I'm wondering, do current builds of this kernel simply not play well with 5.0.2 and back, or is there another reason this would've happened?
[Nexus 6  Original Android Development] rauschkugl:
What about reading the damned OP or using the search function?

Gesendet von meinem Nexus 6 mit Tapatalk
[Nexus 6  Original Android Development] mrw1215:
Ah, sorry, I completely missed that first part of the OP. My bad.
[Nexus 6  Original Android Development] neobuddy89:
UV?
[Nexus 6  Original Android Development] szale9001:
Hey [MENTION=3292224]franciscofranco[/MENTION] , I think I found a small bug on the FKU beta. When you change the io scheduler to something else, all other options disappear in the list. For example, if I change cfq to noop, only noop shows up in the scheduler list. If I want to change back to cfq, I need to restart the app so the scheduler list repopulates. Just FYI.
[Nexus 6  Original Android Development] franciscofranco:
There seems to be some **** on this part:

[18029.924814] Workqueue: msm-cpufreq set_cpu_work

That code is stock, so I don't know. Are you undervolting or something?

Yeah I'm aware, thanks!
[Nexus 6  Original Android Development] michmeister:
R21 continually crashing for me
[Nexus 6  Original Android Development] franciscofranco:
Thanks for the detailed report.
[Nexus 6  Original Android Development] Tzfardaya:
Still no logs?
[Nexus 6  Original Android Development] noneabove:
I am but have been by the same amount since you released it and I haven't gotten a reboot ever until now, and even upped my voltage by 25 MV across the board and still got it.. Weird
[Nexus 6  Original Android Development] Tzfardaya:
Remove all your UV and see if it still happens...
[Nexus 6  Original Android Development] franciscofranco:
Can you reproduce this crash easily?
[Nexus 6  Original Android Development] noneabove:
Unfortunately not, it actually took awhile to have it happen again after going back to r21. First time on r21 had it 3 times in 8 hours, went to r20, then back on 21 it took over 12 hours to see the first one, I started thinking it was a weird fluke or the kernel corrupted when I downloaded it.
[Nexus 6  Original Android Development] franciscofranco:
There is no such thing as Kernel corruption.

But that's odd anyway, was just looking through my git history I don't think there's anything that can push that crash to happen.
[Nexus 6  Original Android Development] twcobra:
Only corrupting phone with Franco virus :p

Ok Ok seriously I do have a question. My last phone was a Galaxy S4. On the S4 the charging was handled by the kernel. Is this still the same with the N6. I am charging fine with the USB cable but on my QI charger my battery gets real hot. Any input on what is going on. Maybe a hardware issue or a charge current setting. I am running Chrome 3/22

Thanks
[Nexus 6  Original Android Development] franciscofranco:
All hardware drivers are on the Kernel, so yes charger drivers are built into it. Charger behavior is also responsibility of healthd I think and there's other pieces around the OS that are part of the charging equation.

Can you test something for me, can you set your max cpu to 300MHz and then put it on the QI charger and see if it still gets hot as ****?
[Nexus 6  Original Android Development] rauschkugl:
I also had this on lean different times. Maybe a bug in the source? Also happened on your latest kernel for me once.

Gesendet von meinem Nexus 6 mit Tapatalk
[Nexus 6  Original Android Development] twcobra:
I will give it a try this evening. My qi is at home.
[Nexus 6  Original Android Development] 530farm:
Experienced a lot of stutters, especially w/ scrolling animations like recents. increased boost duration to 1sec, and finally have smooth scrolling 90% of the time. Just charged my battery to 100% and will see how battery does w/ the extended duration.
[Nexus 6  Original Android Development] franciscofranco:
I have a better suggestion, drop input boost duration to 40ms again, and bump input boost freq to max freq.
[Nexus 6  Original Android Development] 530farm:
Still stutters. I was able to get close to the 1sec boost with Max boost and 100ms, but still not as good. The animations get real choppy as the scrolling inertia slows to a stop(after my fingers been off the screen) keeping the cpu boosted a bit longer after my fingers off the screen has been the only fix I've found so far.
[Nexus 6  Original Android Development] GregNexus:
Got the same problem:D i am on 1 sec. too since 1-2 weeks.. Thats the only solution that is working for me for a smooth experience:)

seems like where the only ones noticing this
[Nexus 6  Original Android Development] franciscofranco:
That's why there's options, to fit everyone's needs :)
[Nexus 6  Original Android Development] lobrau:
Nope I've been noticing too on other kernels too. I ended up putting boost freq to 2Ghz and time to 1 second. I found it helped as much as I was willing to not sacrifice battery to much.
[Nexus 6  Original Android Development] szale9001:
So I have noticed this a bit as well. Mostly in scrolling through Google+ and Sync for reddit. What I think is happening is the frequency is scaling down too aggressively. Just for fun, try these gov settings and see if it helps.

down_threshold: 25

freq_step: 5

input_boost_duration: 80000

input_boost: 1.7Ghz

The rest are the same.

Now, I know the down_threshold at 25 may be a bit aggressive in the other direction, but I was trying to find numbers that eliminated most of my scroll lag and these seemed to do it. Feel free to play around with these. I just used these values to try and get the CPU to stay up higher a bit longer and it seemed to help.
[Nexus 6  Original Android Development] 530farm:
Definitely helps over stock settings. Not quite as much as the 1sec boost duration. Wonder if there would be significant battery differences.
[Nexus 6  Original Android Development] holeindalip:
Are you guys on the d or e build? Seems like since I went to e its been more choppy
[Nexus 6  Original Android Development] laureanop:
Francisco do you recall interactive having a tunable for down differential prior to 5.1 ? I mimicked the 100000 down differential from stock ( cause I noticed that Google + stopped stuttering with 5.1 stock kernel) and there's no stutters on any app now !!
[Nexus 6  Original Android Development] CCJ22:
If I flash r19 build and my N6 is currently encrypted, will R19 decrypt me?
[Nexus 6  Original Android Development] seh6183:
Franco, I quoted you on this only to get your attention because I really need your input, it is not related to your post.

I am having insane wakelocks that I am not able to get rid of. I am currently running 5.1. It seems that with each new release of Android, Google is finding ways to force wakelocks on us for location services. I have location services totally disabled and I am still seeing a TON of NLP and RILJ wakelocks. This should not be happening with location services off, I dont get it. Also I am seeing things such as NFC wakelocks when NFC is disabled. I feel like I dont have any control of my phone, which should never be the case with a nexus device.

I have tried disabling services with App Ops and other programs but it just creates crashes or doesn't work at all. What are your thoughts on this?
[Nexus 6  Original Android Development] paychex:
Induction causes heat
[Nexus 6  Original Android Development] creepinm3:
DELETED.
[Nexus 6  Original Android Development] stas333:
thats your problem. get twrp recovery