yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] nerotix:
[MENTION=3292224]franciscofranco[/MENTION]

Someone suggested to try to see if I still had audio glitches with Viper4Android, I installed the viper drivers and all, deinstalled DSP manager and have listened to Spotify the last hour and havent had any glitches or anything like it. While mostly when I had the glitches, they'd come up within the first 15 minutes of listening. Listened Spotify for 1 hour and nothing so far. Might be a driver thing? Or a DSP Manager thing? Dunno.. trying to help ;P
[Nexus 5 Original Android Development] SedyBenoitPeace:
I know that you didn't tell that there isn't a problem! I'd like only to discover what cause the problem because I want to help you! I really like this kernel and with the release after the r32 we have a lot of battery improvement!

However what can I tell to you is:

1. There wasn't the problem until the r32... The r31 works really fine (at least for me) and if I'm not wrong on the r32 you introduce something to reduce audio battery drain..

2. The problem is on audio processing because it is present always in the same points of the songs and this is a strange thing

3. Another strange thing is that after the boot there isn't the problem but for example after a first listening to music it appears... Can be a userspace problem? Maybe an app that creates problem with the kernel?

If you want some other details or If you have other questions I can answer to you... It will be great if I can help you and the other users that have this problem!

I don't know is there a particular log that you want or that I can make in some way?

Thanks for all Francisco! The fact that you're listening to the users means that you take care of our problems!

Inviato dal mio fantastico Nexus 5 con Franco's kernel
[Nexus 5 Original Android Development] The Gingerbread Man:
It seems to be a fairly random thing, every so often I'll check my settings and find they are not correct, just just now I found min speed at 1036mhz and all 4 cores active when my hot plug threshold is set to 100 unless using per app modes (check sig for full settings). I'll try clearing app data, reboot and set it all up again and will try to let you know if it happens again, unfortunately though I don't really know how to trigger the bug. I'm on latest beta apk and official r34, stock rom

Edit

To update, after clearing app data and rebooting and setting everything up again to my normal settings I found this happened again. The only apps I had open were Tapatalk and fku. I'm wondering if the per app mode is going wrong. I use 1036mhz as max speed for Tapatalk and 1036mhz ends up as my min speed and found all 4 cores active when hot plug threshold is set to 100 (2 cores only) for system wide settings and 2 cores only for Tapatalk per app mode. I find the change seems to generally occur after I've finished using an app with a per app mode, so the normal system wide CPU manager settings ends up as 1036mhz min with 4 cores active.

Logcat since my reboot a few minutes ago https://docs.google.com/file/d/0B2ar5BB6clkDVmh4OUxpek10NzA/edit?usp=docslist_api

Hopefully you can track this down, if you need more info or different logs let me know.
[Nexus 5 Original Android Development] TrainNanpaMaster:
Switch to a different kernel then. Elemental runs great on everything. ~

sent from the back of a prancing, magical unicorn.
[Nexus 5 Original Android Development] :
I am far from a dev, but everyone is entitled to have their own opinions and I will believe what I think based on facts, research, and talking to the devs :good:
[Nexus 5 Original Android Development] The Gingerbread Man:
Franco if your about already I edited my last post if you could take a look.

Editted it a bit more with further info
[Nexus 5 Original Android Development] wong93:
anyone having slight animation lag when opening app using r34??

when opening app there is a laggy effect, it only happens in this kernel, below r34 there's no problem, super smooth
[Nexus 5 Original Android Development] The Gingerbread Man:
Try using ART instead of dalvik
[Nexus 5 Original Android Development] shinesthru:
Don't push another kernel in this thread. This is a development thread for the [MENTION=3292224]franciscofranco[/MENTION] kernel. Your suggestion is not relevant to development, and more so, totally disrespectful.
[Nexus 5 Original Android Development] TrainNanpaMaster:
It was a response to that other guy's post.

Well I think your post is disrespectful. How's that?

sent from the back of a prancing, magical unicorn.
[Nexus 5 Original Android Development] wong93:
Using ART already, it is the kernel problem , I've tested on other ROMs with R33,R34 ART on and off and catalysm with R33 and 34,ART on and off, only r34 gives the laggy effect
[Nexus 5 Original Android Development] shinesthru:
What did I say that could honestly be construed as lacking respect? I think you are just trying to pick fights at this point.
[Nexus 5 Original Android Development] The Gingerbread Man:
Let's all calm down, this thread has been all over the place for 12 hours, let's all just breathe, and chill!

I'm trying to copy a proc/kmsg about this issue of clock speeds ending up wrong. Is it normal to take over 5 minutes to copy from /proc - /SD?
[Nexus 5 Original Android Development] Technecium:
don't cp... cat

cat /proc/kmsg > file

koeASOP 4.4.2 w/ Franco kernel + F2FS
[Nexus 5 Original Android Development] The Gingerbread Man:
I'm away from a PC, can only use my phone. Any other ideas?
[Nexus 5 Original Android Development] Technecium:
terminal emulator from play

koeASOP 4.4.2 w/ Franco kernel + F2FS
[Nexus 5 Original Android Development] The Gingerbread Man:
OK I've done the command but can't see that a file has been generated, where should it end up? Sorry I'm fairly nooby when it comes to technical stuff...
[Nexus 5 Original Android Development] Technecium:
cat /proc/kmsg > /sdcard/kmsg.log

koeASOP 4.4.2 w/ Franco kernel + F2FS
[Nexus 5 Original Android Development] The Gingerbread Man:
Thanks for your help, terminal was not working for some reason and worked after a reboot. The command brought the kmsg in to the terminal window but didn't make a file on SD. How ever from there I can copy paste etc and find a way to get it to Franco when I can reproduce it again. Thanks for your help koe1974
[Nexus 5 Original Android Development] justibasa:
So why are you in this thread dude. Your not wanted here.

Don't like me........BITE ME!!!

---------- Post added at 02:47 AM ---------- Previous post was at 02:45 AM ----------

He has been picking fights in a lot of threads lately. Especially if caf is mentioned.

I'm done with it though. Back on topic.

Don't like me........BITE ME!!!
[Nexus 5 Original Android Development] harshalkatakia:
Get SysLog, won't even have to type commands :)
[Nexus 5 Original Android Development] abra5umente:
Does anyone know if this kernel works with CM? Or any other CAF rom for that matter?

Sent from my Nexus 5 using PA 4.1 with franco kernel
[Nexus 5 Original Android Development] Teenight:
OK i just bought fku.Waiting for v11.4^_^
[Nexus 5 Original Android Development] alanwyl:
[MENTION=3292224]franciscofranco[/MENTION]

Is the auto brightness thing applicable to mako?
[Nexus 5 Original Android Development] fbf2201:
Again, this is the first sentence of this entire thread.
[Nexus 5 Original Android Development] Polv89:
I have asked on carbon thread for this..

Inviato dal mio Nexus 5 (by Nexusarena.it)
[Nexus 5 Original Android Development] abra5umente:
Yes I am aware of this sentence, however, I do recall someone saying about 10 pages back that there were some changes made or going to be made that would enable CAF roms to use Franco.
[Nexus 5 Original Android Development] Hatshipuh:
No

Tap-a-talked from my Nexus 5
[Nexus 5 Original Android Development] fbf2201:
I think there is a mod somewhere in Development Forum. I guess you mean this one...

[DEV] For CM11 users, here's how you can use AOSP(Non CAF) kernels again

But anyway, this has nothing to do with development of this kernel.
[Nexus 5 Original Android Development] yeeson:
Thanks！
[Nexus 5 Original Android Development] franciscofranco:
Very strange behavior.

Can you try something, buy my Per-App Modes app, disable the service from FKU's settings panel and set up the same profile for the new app and try to reproduce the issue. I'll refund you the purchase after you test it out. Just curious because both apps share the same code but the new app has a couple new fixes that didn't go into FKU's latest beta.

Let me know and after you're done please post the trasaction id for me to refund.
[Nexus 5 Original Android Development] franciscofranco:
This Carbon thingy is on my end, I need to add a .jar to thr bootclasspath on the ramdisk, I'll push it to r35 and hopefully release later today!

Also added XBox controller drivers to the Kernel I remember someone asking me about it and I was certain they were enabled just to find out that they were disabled.
[Nexus 5 Original Android Development] justibasa:
You sir are awesome.

Don't like me........BITE ME!!!
[Nexus 5 Original Android Development] vs0587:
Can you add a Toggle for the new Backlight dimmer to FKU?
[Nexus 5 Original Android Development] franciscofranco:
Yes.
[Nexus 5 Original Android Development] yeeson:
Very Nice！:victory:
[Nexus 5 Original Android Development] Splder:
This is grate news now I can use my xbox controller :)
[Nexus 5 Original Android Development] vomer:
Wohoo! can you pls provide manual echo path too when you do it? :D We can have some tweaking fun that way
[Nexus 5 Original Android Development] Momotani-Hitoshi:
Just bought FKU. Have you found a fix for this problem? I am encrypted and experiencing the same issue. Basically, can't use the phone forced to revert back to stock kernel.

edit:

N5 Kitkat 4.4.2 stock, rooted and full encryption.

Installed FKU R34, phone won't turn on from sleep.
[Nexus 5 Original Android Development] franciscofranco:
?

I never said that!
[Nexus 5 Original Android Development] webvictim:
To people complaining about the speaker volume (@yoyoz808), Google has announced that there is a known issue with the speaker both in terms of volume and it being "muffled". Apparently this is a software and not a hardware problem which will be fixed in 4.4.1.

http://www.androidcentral.com/nexus...one-and-software-may-be-hurting-what-you-hear

Be patient. Artifically boosting the volume with kernel settings might damage the speaker if you're not careful.
[Nexus 5 Original Android Development] franciscofranco:
Are you undervolting?
[Nexus 5 Original Android Development] PresidentMcCain:
No.

Stock Google out-of-the-box OS. Simply flashed with r11 of your kernel sir. No tweak software, nothing. Just the typical Google software bundled with the device + 3DMark, Antutu, Quadrant are installed. Oh, and also Dolphin + Dolphin Jetpack, TWRP (to nandroid and install SuperSU).
[Nexus 5 Original Android Development] franciscofranco:
Ok can you add +25mV and try Antutu again please.
[Nexus 5 Original Android Development] shinesthru:
Looking forward to Google's fix, but until then the speaker boost tweak works great on my device. Thanks [MENTION=3292224]franciscofranco[/MENTION] !
[Nexus 5 Original Android Development] tonesy:
FYI I just tried and also getting hard reboot, didnt happen on r10 previously.
[Nexus 5 Original Android Development] PresidentMcCain:
Respectfully, I do not have the command for that off the top of my head.
[Nexus 5 Original Android Development] hjjiang:
Just wondering where can i get the latest Beta to FKU? would i have to purchase the app first?
[Nexus 5 Original Android Development] PresidentMcCain:
Specifically it reboots as soon as the CPU Floating Point Test begins and it consistently does this. If I restore my backup and re-flash r10 and keep thermal-engine-hh in its original name and form, this does not occur. So it is definitely an r11 / thermal-engine-hh issue.
[Nexus 5 Original Android Development] yoyoz808:
It's not complaining. I'm just letting Franco know that it's not working on my end and and asking questions about it. There a difference.
[Nexus 5 Original Android Development] Warrimonk:
[MENTION=470754]fanciscofranco[/MENTION]

What I am noticing with regards to the "Headphone Volume Boost" (HVB) and "Headset Gain Boost" (HGB)

Headphones in :

HVB makes a huge increase in volume as intended

HGB decreases the volume as it goes up. Is this not exactly the opposite of what should be happening? As gain goes up volume goes up at the loss of clarity. That is my experience from using poweramp and viper4android on other devices and the nexus 5 as well.

Using Speaker:

HVB and HGB make absolutely zero difference. I went from -20 to 20 for both settings and nothing stayed the same.

However I might have some insight for you. In the time that I tested Viper4Android on the nexus 5, there was some odd behavior. As you might know, Viper4Android has 3 modes of control ; headphones, speaker, and bluetooth.

On normal phones these 3 modes of control allow you to set a specific sound signature and keep them independent. HOWEVER on the Nexus 5, the Speaker and Bluetooth settings do not work..... BUT the changes to the headphone setting affects the output of the speaker and bluetooth devices, which should not be happening.

My complete guess would be that in 4.4 all audio devices are for some reason now treated with the same audio ID. So maybe you are trying to talk to one audio ID (the proper universal one) when the headphones are in, but talking to the wrong audio ID when trying to reference the speakers?

Hope that helps somewhat
[Nexus 5 Original Android Development] persiansown:
Defaults

Hey, can you make sure not to change defaults in the kernel?

For example https://github.com/franciscofranco/hammerhead/commit/53d7a922b6857f9b76aaab2681d444da5316b29c, the change in colors on the screen doesn't really make sense given that different panels display differently. Some are warmer than others. So if you make the warm panel cool, than the cool panel becomes too cool.

It's fine to have options for all this stuff, but I highly advise against changing defaults.
[Nexus 5 Original Android Development] eep2378:
Search. This has been answered like 50 times in the last few days. I even answered it in the last few pages.

Sent from the Islet of Langerhans
[Nexus 5 Original Android Development] TinTin:
I tried. Still rebooting on cpu float performance test. Lowering max CPU frq to 1728 MHz it will run through without booting.
[Nexus 5 Original Android Development] webvictim:
I was mainly tagging you to make sure that you were aware there's a proper fix coming soon. No need to be so defensive.
[Nexus 5 Original Android Development] larryg2k3:
Ran faux for a while, giving this guy a try. Picked up the app and running r11.
[Nexus 5 Original Android Development] tandxcstar1:
I don't know if this will help at all.. But I have been using Antutu on r11 with no reboots or anything. I am running KANGAKAT ROM Odex (Art NOT enabled due to application issues still) Version 1.1.

Kernel wise I just did the norm.. Wiped Cache, Dalvik and Fixed Permissions, nothing changed on kernel side via Trickster Mod or any other app currently out ;) Running like a champ.
[Nexus 5 Original Android Development] davy917:
Using back button to exit FKU beta causes FC, sorry if this has already been confirmed.
[Nexus 5 Original Android Development] tonesy:
Interesting, it rebooted during antutu on r11, however after rebooting and fixing permission in twrp tried it again and it completed antutu without restarting. Anyone else wanna confirm fixing permission fixes the reboot issue
[Nexus 5 Original Android Development] The Gingerbread Man:
So far its working OK but I'll give it few good more hours just to make sure. BTW, the app is nice, but the toggle to disable toast message doesn't work and in the transition of a per app mode being applied as the toast message appears 4 cores go active very briefly (watching with system monitor flying window), I noticed this because my daily set up is to only use 2 cores unless intensive gaming and my per app mode uses only 2 cores. 1036mhz max 300mhz min, 652mhz touch. Ideal for Tapatalk and a certain emulator I like play. More feed back later on :)
[Nexus 5 Original Android Development] abra5umente:
Thanks for the link :)
[Nexus 5 Original Android Development] carlese:
What about BT issues mate? As far as I remember, you told that r33 and r34 have nothing different from r32 on the BT side, still it doesn't work good (disconnections from car system, problems with reconnection and so on) and I am 99,9% sure there is something in the kernel, because I am using the same rom with all the kernel releases and only r32 does work like it should..
[Nexus 5 Original Android Development] chikimonke:
He acknowledged them and said he thinks he knows what's up.
[Nexus 5 Original Android Development] carlese:
Really? I missed this piece of information, thanks! This sounds really good :)
[Nexus 5 Original Android Development] Tzfardaya:
It was in yesterday's Uber post that quoted half the forum.. :P

Easily missed. ;)
[Nexus 5 Original Android Development] carlese:
Didn't quote me, so.. :D
[Nexus 5 Original Android Development] franciscofranco:
Sure!

I have no clue why it wouldn't work on an encrypted phone. A log would be helpful as I dont encrypt my device and won't do it just to test this.

I'll later explain why that happens, too much text to write and its crap to write on mobile. Ask me later about it and I'll explain.
[Nexus 5 Original Android Development] omvir:
Franco, what about a on/off switch for a "battery save mode" where we can define a certain percentage where when we reach it, a user made profile will be applied? And this will override any per-app mode.
[Nexus 5 Original Android Development] franciscofranco:
There - now you've been quoted! :)
[Nexus 5 Original Android Development] static416:
No, I haven't tried the possible solution yet. As of R34, the same problem is still there. I'm just running on stock at the moment.

Maybe this weekend I'll try the fix I found and report back.
[Nexus 5 Original Android Development] carlese:
Lol thanks, now I am happy :D
[Nexus 5 Original Android Development] vomer:
[MENTION=3292224]franciscofranco[/MENTION] I posted this earlier - but you might have missed it. Your new app got featured @ AP as one of the 24 best: http://www.androidpolice.com/2014/0...droid-apps-from-the-last-2-weeks-22514-31014/ :)
[Nexus 5 Original Android Development] Technecium:
I think you might find this useful since you're trying to track down the paths to the parameters modified by FKU

# cd /sys/

# find . -iname filename

so if you wanted to find the path to 'up_threshold'

# cd /sys

# find . -iname up_threshold

./devices/msm_sdcc.1/mmc_host/mmc1/clk_scaling/up_threshold

./devices/msm_sdcc.2/mmc_host/mmc0/clk_scaling/up_threshold

./module/msm_kgsl_core/parameters/up_threshold

koeASOP 4.4.2 w/ Franco kernel
[Nexus 5 Original Android Development] vomer:
thanks! that is useful. Although, I was asking about the new setting that franco was planning to implement in the next release :good:
[Nexus 5 Original Android Development] Tzfardaya:
And this makes four... :P
[Nexus 5 Original Android Development] vomer:
I was the first one to report it! Check my post history ;) Now... where's my prize?
[Nexus 5 Original Android Development] nerotix:
Totally has nothing to do with this but I think you missed it earlier. Installing Viper4Android and it's driver + uninstalling DSP Manager seems to fix the audio glitches etc. Been testing it for a few hours and havent had any glitches, while normaly I get glitches within the 1st few minutes of listening to music.
[Nexus 5 Original Android Development] Tzfardaya:
Well, the Academy was all set to give you your award, but when you relinked to it, after Franco himself posted a link, they decided to revoke your award... :P
[Nexus 5 Original Android Development] vomer:
fine... keep your stupid award... it sucks anyways.... :\ *pouts alone in the corner*
[Nexus 5 Original Android Development] Momotani-Hitoshi:
static416 has the same issue as I do with encrypted phone, he posted some logs. What additional logs would you want to see?

Tested on my another phone; wife's Nexus 5. R34 works fine, but once I enabled encryption on it the screen won't wake up after going to sleep. Phone isn't off, but the screen won't turn on. Restoring back to stock using FKU the phone works fine again.
[Nexus 5 Original Android Development] tanjiajun_34:
Just a question, why does the maximum cpu freq in the application keep changing? I find that this kernel seem to lag for me until I set it myself to 2213mhz (I did set on boot by using the button on the right)... I am running r33 btw (Due to lack of support of touch control)
[Nexus 5 Original Android Development] slider112:
I can also semi-confirm this as well, but had a follow up question regarding this:

First, I'm currently running rooted stock 4.4.2 with R33 and have never had any of the audio glitches that others have experienced.

While I was still on the stock kernel, and before ever flashing any Franco kernels I installed V4A and installed the super high quality driver. I used V4A for a bit and it worked just fine. For whatever reason I then uninstalled it and went back to DSP Manager, and have been using it ever since. I've since flashed R33 and, as stated above, have never had any audio glitches at all.

Makes me think, and thus question: Even though I uninstalled V4A and switched back to DSP, does the super high quality driver that was installed via V4A remain? If so, would DSP Manager then use that driver, even though V4A has been uninstalled. Could it be as simple as having that driver installed, regardless of what audio manager you're using? Just thinking out loud here...
[Nexus 5 Original Android Development] WettbackMartyr:
Just a question about your process. How is it that you are able to restore back to stock using FKU if the phone's screen won't turn back on? I figured you'd have to do it via fastboot if the phone is in fact awake but the screen is off, otherwise how could you do anything on the phone's UI if you can't see what your doing?
[Nexus 5 Original Android Development] akash3656:
Easiest way to uninstall anything that modifies the /system partition is to. Wipe /system from recovery, dirty flash ROM, GApps if needed, kernel.

If you're on stock ROM, download the nexus factory image, extract it until you find a system.img, then just "fastboot flash system system.img" from terminal/command prompt.
[Nexus 5 Original Android Development] Momotani-Hitoshi:
If I hold power+vol down button and force a reset the screen will come back on, but once it goes to sleep it wont come back on
[Nexus 5 Original Android Development] franciscofranco:
Thermal throttle. Just enjoy your phone, the freq goes back to normal after it cools down.
[Nexus 5 Original Android Development] slider112:
Oh I don't want to uninstall it, things are working perfectly :D

Appreciate the info, but I'm well up to speed on flashing ROMs and reverting back to stock image. Just curious in this case as to whether the driver itself is fixing the audio issues some are experiencing, or if it's the entire V4A program.
[Nexus 5 Original Android Development] WettbackMartyr:
Same thing happening to me periodically as with Gingerbread Man; I have a per-app mode (via FKU) like his with 1036MHz Max 300 Min, 200 max Gpu, 652MHz touch boost, and 100 hotplug. Open App to activate per-app mode. Close app after using for a few minutes. Caught my min cpu default set to 1036MHz in FKU after per-app mode was disabled.

Forgot to get a log.... My bad
[Nexus 5 Original Android Development] eigokyoukan:
AFAIK you do have to uninstall the viper driver from the v4a app then uninstall the app. I just don't know if that driver gets called on outside viper. I don't think it actually replaces any built in drivers, but I don't know enough to confirm that.

I can say that I have also been one with zero audio issues since I started with r32 and I followed the same process. Install v4a, install driver, reboot, uninstall DSP, reboot and all is well with my playback :D
[Nexus 5 Original Android Development] franciscofranco:
Using the latest FKU beta?