yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] Cyberz22:
I also noticed some issue when playing music over BT.
[Nexus 5 Original Android Development] Ben36:
Do people with music stuttering issues change the scheduler?
[Nexus 5 Original Android Development] drms12:
After many tests I've done , I didn't find any gain from the DSP tunneling to the battery life.

According to the link you shared, when music playing and screen off, the phone would be on deep sleep state?

I couldn't get a deep sleep , using both poweramp/play music, stock kernel and your kernel.

There was a AudioMix wakelock and CPU working at 300mhz or more.
[Nexus 5 Original Android Development] nitzer71:
Of course! How can you even ask that question? I always update to the latest version as it is for the better... ;) Usually with each new version there is an improvement of some sort... Have never been disappointed.
[Nexus 5 Original Android Development] manny05:
I changed my schedule to deadline and it got rid of the music stutter. Didn't notice any battery life change compare to row. Give it a try
[Nexus 5 Original Android Development] comio:
Please (again) push the always on patch for the leds (from cm kernel sources).

Thanks,

Luigi

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] drzodiac:
I can't get out to boot on stock deodexed... Keep getting to swirly commit balls abs reboots.
[Nexus 5 Original Android Development] 1stx2:
There are to many apps out there that can control the LED for this and plus I hate the "always on" led.......
[Nexus 5 Original Android Development] evonc:
Was getting a 64kb limit issue with pastie.org. Had to use pastbin instead.

Link: http://pastebin.com/7v5H8DcM

Sent from my Nexus 5
[Nexus 5 Original Android Development] comio:
Ok... You hate but this patch is very trivial.

BTW all led managers are a little bit buggy because they lack integration with the Tom management.

Ciao

Luigi

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] zxyz:
Well actually there are/used to be milestones...
[Nexus 5 Original Android Development] The Gingerbread Man:
The thing with deep sleep the hint is in the name 'sleep' this occurs when the phone is resting ie; doing nothing. Deep sleep won't occur with on going tasks music being a perfect example. That wake lock is expected and perfectly natural if you want to consume any media with the screen turned off

---------- Post added at 08:10 AM ---------- Previous post was at 08:10 AM ----------

Someone asked this before and the answer was its rom territory not kernel

---------- Post added at 08:12 AM ---------- Previous post was at 08:10 AM ----------

Used to be, it got stupid people complaining about not stable because it wasn't labelles a milestone. It's better thus way for all

---------- Post added at 08:13 AM ---------- Previous post was at 08:12 AM ----------

Pardon me? Swirly commit balls? :confused:
[Nexus 5 Original Android Development] Ben36:
Yea my missus' phone has to be on deadline otherwise she gets music stuttering
[Nexus 5 Original Android Development] comio:
I asked a couple of days ago.

The patchset from cm guys requires a patch for kernel (that I'm asking) that fix the LED drivers and a patch for the rom side.

That's all...

Ciao.

Luigi

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] Technecium:
Jeez.. in that amount of time you could have probably made your own stable kernel.

Sent from AOSP koeMod 4.4.2 w/ Franco kernel
[Nexus 5 Original Android Development] OGroteKoning:
I agree - all the ones I have tried are buggy. And I believe if it is applied at root level, it should work 100%. I have requested the same in the GB thread since C3C076 knows what he is doing and I am sure that is why you asked for it here - because Franco also knows what he is doing.

For those insisting there are good led apps out there, please recommend what works 100% for you (You can PM in order not to clutter this thread).
[Nexus 5 Original Android Development] drms12:
You didn't understand the concept of the DSP tunneling.

It used to be awake all the time before using the DSP hardware because CPU handled the audio.

With DSP tunneling the DSP Hexagon chip should handle the audio when screen off, Which means - Deep sleep of CPU.
[Nexus 5 Original Android Development] Technecium:
screenshot, plea.. wait, on second thought. you should just see a doctor.

seriously though, have you tried fku or flashify?

Sent from AOSP koeMod 4.4.2 w/ Franco kernel
[Nexus 5 Original Android Development] hello00:
just had a random reboot on r30 for the first time since ur 1st kernel on n5..weird..will post log
[Nexus 5 Original Android Development] Pete182:
Just got the shut down bug again when using gps in the car. Is it because it's overheating our a bug? This time it was on v28
[Nexus 5 Original Android Development] Gustaf87:
mm-qcamera-daemon. Battery drain and I doesn't have yahoo messenger installed. Any ideas? Happened after r30
[Nexus 5 Original Android Development] :
Did you also use bluetooth in your car? R28 had a BT bug which is fixed in the following versions. Anyways, I suggest you to update to R30.
[Nexus 5 Original Android Development] server3249:
I love how so many people got defensive and found it necessary to respond to my message other than Franco.
[Nexus 5 Original Android Development] bokoy:
Yep, this is full of samrt asses
[Nexus 5 Original Android Development] Molitro:
No, he has a point (though if it's the same guy I remember asking before, he didn't express it well the first time).

On stock conditions the led can't be put in an always on state. Light flow (the app I use for this) had to make a fix that consists of just a very long pulsing instead of always on to make a compromise.

I'd actually like this Kernel patch too, I like my leds always on :p

Did you test it on stock?

Swiftkey'd from my Nexus 5
[Nexus 5 Original Android Development] drms12:
Didn't test on stock ROM.
[Nexus 5 Original Android Development] daniel84cs:
Guys what are the best settings of the governor to significantly reduce consumption ? I would like to achieve the maximum possible screen on since I use it a lot for chatting and reading.

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] boostern:
Hey franco look here: https://android.googlesource.com/ke...821bf6e/arch/arm/mach-msm/qdsp6v2/audio_mp3.c

Seems the code for mp3 tunneling...if you look inside the directory you will find the code for others audio formats...

I don't know if this is the right code because our DSP is v5a, instead this code is for v2 but I'm not able to find the right one....

Edit: you're right, I'm searching in codeaurora and seems that only until v2 the code is open source...
[Nexus 5 Original Android Development] Molitro:
And now I'm wondering which formats does dsp tunneling work with.
[Nexus 5 Original Android Development] ahse0w:
Anyone had entries refresh wake lock by Google search on r30? Never had that in previous versions. If it's not kernel related then I will look somewhere else. Thanks!

Sent from Dog.
[Nexus 5 Original Android Development] BrandoHD:
Its not kernel related, it's the app that's going berserk
[Nexus 5 Original Android Development] katsuru:
Can I also get a cooler color temprature with this kernel like with ElementalX kernel ?

(My screen is really really yellow without that option. But I always used francos kernel on my n7, even bought the app for the tablet, and I would prefer to keep with francos kernel on my n5 as well. )

Thanks in advance
[Nexus 5 Original Android Development] ahse0w:
Thanks. I think I got what's happening. I am without internet for a while and Google is desperately trying to update my apps. Sheesh.

Sent from Dog.
[Nexus 5 Original Android Development] HughesNet:
Wouldn't that imply not rock stable?
[Nexus 5 Original Android Development] xdaywalkerx:
With r30 my device becomes very hot by playing a game such as Simpsons or GTA sa

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] ZacksBuilds:
Of course it's going to be hot you're playing intensive games :sly::what:

Device: Nexus 5 16GB

ROM: Cataclysm w/ Franco r28
[Nexus 5 Original Android Development] xdaywalkerx:
This doesn't happen with r25-r29. My device runs much cooler with this releases.

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] ZacksBuilds:
What are your temps?

Device: Nexus 5 16GB

ROM: Cataclysm w/ Franco r28
[Nexus 5 Original Android Development] yeiyei0891:
the battery drain is faster than with r28, at least for me.
[Nexus 5 Original Android Development] whitedragonz83:
Just tested 1 hour airplane mode with headphones to listen to local music via Google Music. ~2%/hr drain. Roughly 50 hours of playback available at that rate. So DSP seems like it works well.
[Nexus 5 Original Android Development] franciscofranco:
I'll think about it, thanks.

Supposedly the idea for the DSP tunneling was that the CPU could sleep and let the little audio chip take care of all processing.

That's the userspace camera daemon -.-

No wonder they don't open source that stuff.

Sure... did you bother reading my git and see that the difference between r29 and r30 are a couple of lines that have NOTHING to do with heat generation or to change any behavior of the governor? Placebo at its best.
[Nexus 5 Original Android Development] rsa 329:
I tried this, it did not work for me. Thanks though.

I only get the stutter when locking or unlocking the screen. Using Poweramp. Also have noticed the bluetooth drop for just a second.

Stock rom, R30 completely unchanged.
[Nexus 5 Original Android Development] franciscofranco:
But the thing is you should not need to activate Airplane mode...
[Nexus 5 Original Android Development] Enddo:
it should be playing while it sleeps too. but it sits at 300MHz
[Nexus 5 Original Android Development] franciscofranco:
Are you testing without connectivity just with normal GSM connection?
[Nexus 5 Original Android Development] Enddo:
i tested with airplane mode on as well, with wifi on, but playing mp3s that i had 'pinned' to my device from google play music
[Nexus 5 Original Android Development] boostern:
From what I have understood all this stuff runs atop of a virtual machine on the hexagon DSP, and in fact is the VM that isn't open source.

The interesting thing would be to know if this VM is in the aosp hammerhead kernel (I doubt), the tunneling code at that point could be easily ported from older DSPs...
[Nexus 5 Original Android Development] franciscofranco:
I doubt about that.

This VM is probably running in the Kernel hypervisor (unless they are running another OS/microKernel down there), there's really no way to hack it, its too low level and beyond my knowledge. But I'm speculating here.
[Nexus 5 Original Android Development] Red5:
Im still on r25. Its been rock solid for me for a week. Everything I use my phone for has not cause any reboots or disconnection issues, so r25 works for me and what I use my phone for. Thanks [MENTION=3292224]franciscofranco[/MENTION]
[Nexus 5 Original Android Development] franciscofranco:
:)

You can use r30 just fine, its rock solid.
[Nexus 5 Original Android Development] franciscofranco:
By the way about the IO schedulers + audio stutter thingy, that's an interesting approach and it kinda makes some sense because it does seem to be a IO starvation. I'm gonna run some tests, thanks for the inputs about this, really appreciate it.
[Nexus 5 Original Android Development] Fluidification:
Hi Franco,

Could you merge this https://github.com/CyanogenMod/andr...mmit/c22c8c70f8b748b6e4697c74a321c51bb8883df5 change into your next build?

thanks
[Nexus 5 Original Android Development] franciscofranco:
I already said I'm thinking about it.
[Nexus 5 Original Android Development] ZacksBuilds:
Patience guys :D

Device: Nexus 5 16GB

ROM: Cataclysm w/ Franco r28
[Nexus 5 Original Android Development] vomer:
Nice! Really hope you find something :)

Sent from my Nexus 5
[Nexus 5 Original Android Development] venelar:
R30 is bootlooping on the latest omni rom nightly. Havent had any issues from the previous releases and r30 worked fine on yesterday's omni build (it's the rom).

It doesn't stay up long enough for me to pull a last kmsg (i think so anyway). Is there any other way to trouble shoot this?
[Nexus 5 Original Android Development] franciscofranco:
How about you also try deadline and let me know?
[Nexus 5 Original Android Development] boostern:
Yes, you're right. In my last post I was talking about porting the tunneling code, not the VM stuff ;)

By the way, I was searching for some info about hexagon dsp and I came up with this interesting discussion: http://comments.gmane.org/gmane.linux.ports.hexagon/490 it's not directly related with our stuff, but give a general view of hexagon hw...and it seem a very interesting piece of hw, with almost no documentation about it :D

If you have time give it a read, it's interesting even on knowing how Qualcomm works.
[Nexus 5 Original Android Development] evonc:
Just had another one of those reboots from last night. It always seems to happen right after the phone is woken up from sleep. Seems to be ending with a tz_error. Never encountered that. I am at 300min/2.2max @ stock voltage so I know uv'ing has nothing to do with it. Has anyone else noticed similar stuff before? Possible fixes or things to try?

Log: http://pastebin.com/8AUtWbGd
[Nexus 5 Original Android Development] venelar:
[MENTION=3292224]franciscofranco[/MENTION]

Was able to get last kmsg, attached. Would you mind looking at it?

added a pastebin since it looked like formatting got thrown off.

http://pastebin.com/2r6zKbHv
[Nexus 5 Original Android Development] neriamarillo:
This happened to me too just a few mins ago. Phone was sleeping. Woke it up and it rebooted.

I'm on r30 and I have always been stable. Just this once. Same settings as previous versions.
[Nexus 5 Original Android Development] ZacksBuilds:
I have no idea why people are bootlooping/rebooting. I'm having no issues whatsoever.

Device: Nexus 5 16GB

ROM: Cataclysm w/ Franco r28
[Nexus 5 Original Android Development] azncookiecutter:
Gave it a try, less stuttering, but still the occasional audio stutter here and there with the screen off. Maybe around 5 minutes in between them?
[Nexus 5 Original Android Development] vomer:
Will do!

Sent from my Nexus 5
[Nexus 5 Original Android Development] Testraindrop:
Well it's not the latest omni and not r30, both work absolutely fine here.

Gesendet von meinem Nexus 5
[Nexus 5 Original Android Development] venelar:
Well crap/ wonder where to look next. Haven added any apps or anything. Flashed the newest nightly, then r30 and im looping. Odd

also added a pastebin link to my post since it looks like formatting got thrown off

http://pastebin.com/2r6zKbHv
[Nexus 5 Original Android Development] Testraindrop:
Do you use Xposed? Omni has now new Quicksettings, if you changed it before it might not work anymore.
[Nexus 5 Original Android Development] venelar:
nope, no xposed
[Nexus 5 Original Android Development] howtomen:
My suggestion is running adb logcat from a computer while booting omni to see whats up and what fails
[Nexus 5 Original Android Development] Enddo:
it could be a bad flash or a bad download. i would retry both
[Nexus 5 Original Android Development] venelar:
Reinstalled rom, cleared FKU app data, reinstalled r30. Running fine now. Clearing the FKU data was the only thing i hadn't tried yet.

Thanks everyone
[Nexus 5 Original Android Development] xdaywalkerx:
I have just written as I have experienced it... ;)

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] Enddo:
you should fix your phone ;)
[Nexus 5 Original Android Development] omvir:
Guys I am trying out a 4 core set up. So far its fluidity and battery is on par with the default settings if not better. I'm at 86% remaining, 5hrs uptime, and 1:15hrs SOT. I have dropbox, fb, email, gmail, whatsapp running in the background, brightness 25%, wifi, locations off and IMO this is very good battery life for the amount of services I have running.

The setup...Default kernel settings with the following changes:

Go into governor settings...

- Go hispeed: 95

- Input boost: 1267000

Then go into hotplug controls...

- first_level: 0
[Nexus 5 Original Android Development] Rxpert:
Meh. I have no need for 4 cores on while screen on. That's one of the reasons I don't run trinity kernel.
[Nexus 5 Original Android Development] Tzfardaya:
You'll also find d that not only does your phone get hotter on Franco than stock whole playing those games, your burning through battery faster too.....

Fk's thermal throttling code is cleaner and less aggressive than stock.. So your phone e runs in the higher frequencies longer with fk than with stock..

Set a per app mode using fku for heavy games like those with about a 1.2 max freq (what the stock ends up throttled too) to help with the heat and battery "issues" playing games with the Franco kernel
[Nexus 5 Original Android Development] thfreedumb:
So normally, with franco, the max frequency is 2265. You're saying that reducing this to 1200 will run the game fine? I would of thought the heavy games would want the extra. None if the other settings need to be changed in the per app mode?

Thanks!
[Nexus 5 Original Android Development] pkelly517:
That's up to you and the game. But it will run significantly cooler.

Find a compromise that works for you. A poorly coded game may be running the CPU at full blast when the GPU is where the power is needed.

I'm looking at you, EA!
[Nexus 5 Original Android Development] Aerowinder:
Exactly what pkelly said. I run Plants vs Zombies 2 @ 652MHz. It simply does not need more power than that to run smoothly. But if you let it, it will kill your battery in two hours. You should start low and work your way up, to find the lowest frequency that offers smooth performance. Underclock the GPU also (with PerAppMode), if you can.
[Nexus 5 Original Android Development] franciscofranco:
Im gonna make a new meme: makes thermal control less intrusive and less agressive for smoother experience, need to use per app modes to prevent games that supposedly dont need much power to kill battery due to less throttle xD
[Nexus 5 Original Android Development] Pete182:
No bluetooth, just in the car sick with navigation on. Updated to r30 and will report back of it happens again. Is there a way for me to capture dine sort of log of it does shut down again? Would love to post it so it can hopefully be fixed in the future.

Edit: nevermind just read the lady few posts and it looks like I need to change the per app settings on the kernel.
[Nexus 5 Original Android Development] javacody:
Franco. R30 is using too much battery.

Every time I start up Chrome beta and leave it running in the background, it eats my battery.

I'm blaming you. Now go fix that.
[Nexus 5 Original Android Development] nexusmaniac:
Haha, I assume you're joking about that last bit ;)
[Nexus 5 Original Android Development] crash_194:
Have any other uses noted that performance degrades if you try and use your phone whilst it is on charge? Its nothing major, just gets a bit laggy. I should imagine there will be an explanation for this but it doesn't appear to have been touched on yet in the thread.
[Nexus 5 Original Android Development] Enddo:
i dont have any lagging while charging. but im not playing games. maybe someone else could test that
[Nexus 5 Original Android Development] crash_194:
No not playing games just general phone browsing. I find it is noticeable when scrolling home screens. It may well be something specific I have done to my phone so its no big deal at all. I was just interested to know if anyone else had had a similar experience.
[Nexus 5 Original Android Development] imablackhat:
I know this might have been gone over sorry. But with Franco kernel on stock ROM. Can we take otas or do we have to revert stock kernel
[Nexus 5 Original Android Development] PhantomGamers:
It depends on the OTA, like 4.4.2 was able to be flashed without any issues while running franco kernel.

For most major OTAs though you'll need to reflash the stock kernel and rename some files in /system back to their original names (or just flash the stock system image).

edit:

/system/lib/hw/power.msm8974.so.bak -> /system/lib/hw/power.msm8974.so

/system/bin/thermal-engine-hh-bak -> /system/bin/thermal-engine-hh
[Nexus 5 Original Android Development] The Gingerbread Man:
Probably thermal throllte. Adding electricity often generates heat as waste product

See my fku learner louge for detailed explanation

---------- Post added at 12:04 AM ---------- Previous post was at 12:03 AM ----------

I'd like!e to see the picture to go with it, adds so much more context ;)
[Nexus 5 Original Android Development] PuijkeN:
I'm having a similar audio issue when connected to Bluetooth. In my car I connect to my car radio for calling, and to a Bluetooth audio adaptor to stream music.

When the screen goes off music starts stuttering. When I keep the device awake by keeping my finger on the screen it does not happen. No problems while screen off when only connected to 1 device.. So I'm guessing this could also be solved with the same solution?

Other than that only recently started using Franco on my N4 and from the start since I got my N5 last week. Really amazing battery performance and smoothness! Did not expect there could be that big of a difference! Keep up the good work! :)
[Nexus 5 Original Android Development] Exostenza:
With everyone posting their issues I thought I'd chime in again with how awesome my experience with Franco kernel has been and continues to be.

I've been on r30 since it was pushed and have had no reboots, no audio issues and great battery life. I run stock 4.4.2 with universal -50mv and 675mv [MENTION=1785406]300m[/MENTION]hz.

Also I have never had to clear the cache for fku between flashes as everything has stuck and worked perfectly.

Keep up the amazing job Franco as this is Android at its finest!

Thanks man!
[Nexus 5 Original Android Development] Woody:
Fwiw, I was able to dig out if the snow and get me and my family home today. My Meenova otg was right there in the mailbox.

Unwrapped it and mounted my 64gb card with no issues whatsoever. Tested R25 and R30 in case anyone cares. If not, then nothing to see here citizens. Move along. Nothing to see here.
[Nexus 5 Original Android Development] franciscofranco:
Of course it works, OTG stock code :)
[Nexus 5 Original Android Development] franciscofranco:
Hey guys & gals, a little bit OT, but I need some help, read this post https://plus.google.com/u/0/+FranciscoFranco1990/posts/Voqh3GUwBKc and spend 5 minutes in answering those questions, leave the answers in the G+ post otherwise they'll get lost in here. Thank you, much appreciated.
[Nexus 5 Original Android Development] abdel12345:
First one:D

Please press the thanks button if I help you.