yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] a user:
sure, there is no reason to not keep interactive uptodate. it causes no harm. but the dynamic fsync should remain optional in my opiniion, at least in the stable branch.

but may i post here some issues i observed as actually i think this is the better thread for?

i am using Mustaavalkosta cm10.1 rom as you know.

since its 17th release i observed random cold reboot or shutoffs within less than 20h. since the the today rom release, the 18th i also have often standby drain of 30-50mA. going back to a previous release immediatly stops it. i also managed to stop it on the 18th release but it came back after a time.

also at least two others reported they had in the past 2 or 3 days several such reboots. maybe you have an idea about a change that could cause it., if you want me to test something tell me.
[Desire HD Android Development] synergye:
Regarding dynamic fsync, I initially thought it was a very dangerous option as well. For over the past month, all custom nexus 4 kernels have had dyn fsync enabled by default, and I haven't seen one issue from it on IRC or XDA. I own a nexus 4 and can say without a doubt that my Inspire is more stable and reliable than that bugridden device (and I use the stock kernel). If any users have an issue which stems from it, I will disable by default so as to allow enabling via the sysfs interface.

Regarding the reboots, it would be incredibly helpful if someone could get a last_kmsg after an unexpected reboot. To do so, go directly to recovery after the reboot (without booting into android) via the volume key and power button, then run adb pull /proc/last_kmsg on your computer and upload. I thought the issue was stemming from out of pmem errors like on vision which is why I increased pmem allocation again. Without any evidence, it's just guesswork though.

What is most curious to me is that many users on various 4.2 roms haven't had any unexpected reboots at all, even on the lower pmem sizes making me believe that we might be dealing with another issue all together. No reports on cfX, so possibly the reboot issue many CM10.1 roms are facing currently. For instance, on vision and saga CM10.1 builds, they're experiencing unexpected reboots. This isn't so on their AOSP roms though.

Edit: the lack of issues on another device do not change the fact that dyn fsync is still an experimental addition due to it's nature.

Edit2: I suspect the battery drain you're seeing is from the Google framework services issue. Clear data for it, and drain should drop back down to normal as a workaround until new gapps are released with the issue fixed.

Edit3: the Google framework services drain only occurs on dirty flashes.
[Desire HD Android Development] a user:
well, when the phone is stable than there is no issue with that option. the problem is when the phone is not stable and this can happen for many people quite easy here as they are experimenting a lot.

on crash the consequences are far more risky than without that feature. well, your decision but at least igive people an easy instruction on how to disable it or did you ? :)

a question about your instructions:

what do you mean without booting android? when i have a crash it reboots and then i am in android. i can't prevent this as i most probably do not have the "luck" to look on the phone right when it happens and then be fast enough to press vol down to get into bootloader.

and beside of this i will most probably need another way than adb to get that.

actually we can't know this for sure. but that most people do not observe issues with that kernel on other roms, even if it is on all aosp roms has zero meaning. but one of the other guys is using your AOSP rom and having similar issues. so it is not only cm10.

but ofcourse it could also be the rom itself. but usually a rom issue usually only causes a hot reboot or at least most of the time. what bothers me is the standby drain with the release of 18th and only with that one, and that since the 17th releas my device does not survive a 12h without a rebooot. but ofcourse, i am talking about 2 days here only :D but i never saw similar things on the 3 previous releases.

---------- Post added at 11:08 PM ---------- Previous post was at 11:06 PM ----------

interesting. but why did it only happen on the recent rom and not on all the 4 before? all dirty flashing. it even stops immediatly if using one of the other ones?

anyhow, will try it. somehow i have a feel you are right here even though i can't understand the above point :D
[Desire HD Android Development] synergye:
Re: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.4 | King Birthday Edition

Check my edits above regarding battery drain. Mind linking me to another user seeing the reboot issue on a non-cm ROM? I asked around and also checked the thread without finding a user who had any unexpected reboots. I know that holding volume and power at the reboot to get to recovery without going to android is difficult, however it's currently the only way to keep the last_kmsg dumped from the reboot.

Edit: unfortunately I don't quite understand the google framework services issue, but it's affecting most all 4.2 devices including the nexus devices. I can't personally verify that it only happens on dirty flashes, that's just info I've seen in other forums - what I get for running without gapps ;)

sent from codefireX
[Desire HD Android Development] a user:
regarding the drain, seems you are right. :D

regarding the dynamic fsync ... i thought a litle bit more about it:

for most users of smartphones (not tablets!!!) it shouldn't be a big risk because they usually aren't doing anything with data loss risk when screen is on. they are only for a short period on time on screen, except when they are gaming.

so basically you always get a sync in time and most of the time the phone is screen off, thus already synced.

now this changes if someone uses his android device for more, like writing etc. here you have something that you would observe when getting lost and you are working on it for a longer time hence increasing the risk of a failor and thus a data loss. but this is more a tablet situation. so practically it shouldn't be a big risk. but still i consider it unnacasssery and it should be optional in my opinion.

but i think there is an alternative way that sould have similar effects and could provide a little more safety. there is a ext mount option called "commit". default is "commit=5".

it gives the number of secconds between data commit to disc. so increasing it would have a similar effect while guaranteeing that it will be actually commited to disk after a certin time. at least that is how i did understoot this. i will try it out and bench a bit around to see if it has any benefits. though i doubt it is worth. no_da_alloc is already a great speed improve with a partial risk which got a bit safer due to barriers=1 :D i doubt there is sigificantly more to achieve even with higher risks of data loss but who knows ;)
[Desire HD Android Development] espmartin:
I for one use my phone AS a tablet, ie: edit my webpages in ES File Explorer Editor, and FTP those changes to my sites. I do this daily, and I'd put it at around 3+ hours a day. So I am VERY interested in your testing "a user"!

I know, I know - these are DEV ROMs, and as such, I understand they are not guaranteed to be stable. BUT, so far I have been using Synergy/Randomeblame's 4.1.2/Pipelinerard/Mustaavalkosta's 4.2.1 (all as Nandroid backups, with Synergy's as daily driver until a couple weeks ago - now Mustaavalkosta's is my DD) - and have all been stable enough for my work.

So again, I'm following your discussions very closely.
[Desire HD Android Development] a user:
goddamit... i killed my linux htpc by updating an experimental gnome shell build :D

now i have to wait till they update it again or i revert back to stable :( at least now i have a reason to start dusty windows gaming pc ... haha

but no tv for now... no htpc -> no tv/music/videos/etc.

synergy... FIX IT :P
[Desire HD Android Development] cingolat:
R: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.4 | King Birthday Edition

Very good kernel....working fine with mustavaalkosta ROM great battery life.....
[Desire HD Android Development] synergye:
Re: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.5 | Kong Birthday Edition

Just uploaded v2.5 in hopes this fixes the unexpected reboots.

sent from codefireX
[Desire HD Android Development] a user:
lol

wanted to copy it via usb to my dhd and activating the sd card sharing via usb caused it to reboot :D
[Desire HD Android Development] adam_purkis:
Re: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.5 | Kong Birthday Edition

Lol I've had this before too. But after the reboot with another try it seemed to work fine
[Desire HD Android Development] a user:
hmm then i probably should do a cold reboot... but i wait first for the new rom verison.
[Desire HD Android Development] humzaahmed155:
Re: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.5 | Kong Birthday Edition

Device would not get past the white HTC logo after flashing v2.5, can anyone confirm this?
[Desire HD Android Development] a user:
which one, stable or performance kernel?

---------- Post added at 02:27 AM ---------- Previous post was at 02:15 AM ----------

indeed. using the stable one and am sitting for 2min on the white htc logo screen.
[Desire HD Android Development] iPwn_:
Wait... what reboots...? Should I say on 2.4 if I've never had any?
[Desire HD Android Development] synergye:
Re: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.5 | Kong Birthday Edition

Sorry about v2.5 stable (I swear I tested it). I'm mobile and can't take it down or upload a new build all night (birthday dancing). I'll fix it tomorrow. Apologies.

sent from codefireX
[Desire HD Android Development] a user:
no worries. have fun at your dancing ;)

i'll send you the bill for my dhd :P
[Desire HD Android Development] espmartin:
Same question. I ALWAYS have flashed performance KangBang, and have had wonderful performance. Should I wait to flash 2.5 Perf?

---------- Post added at 06:00 PM ---------- Previous post was at 05:55 PM ----------

We expect a video of you, synergy, as you do your birthday dance! I hear that the HTC phones running 4.2.1 take videos too lol!
[Desire HD Android Development] st0nedpenguin:
Performance seems fine at least, booted up without issue here.
[Desire HD Android Development] Jaxellis:
So sounds like only stable build has something wrong?

Also on github it shows no commits to the performance kernel? has it not truly been updated orr... ? JW
[Desire HD Android Development] synergye:
Re: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.5 | Kong Birthday Edition

Same branch now, different defconfigs. The issue with boot was dev error.

sent from codefireX
[Desire HD Android Development] Jaxellis:
Ohh alright thanks for the info :highfive:
[Desire HD Android Development] velveteen:
4.2 SR4.1 flashed stable kernel v2.5 have the same issue.
[Desire HD Android Development] qazsxdcfv:
Re: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.5 | Kong Birthday Edition

Idk why but , on the op you write Fast Charge is on below section .. But the below your post is ayham-dj's post .. How i enable the fast charge ? .. Or its included in the kernel ? Thanks man ..

Sent from my hTC Desire HD powered CyanogenMod 10.1 by Mustaavalkosta™
[Desire HD Android Development] Mustaavalkosta:
There's an interface for it at /sys/kernel/fast_charge/force_fast_charge

# echo "1" > /sys/kernel/fast_charge/force_fast_charge

The above should do the trick. I don't use it myself so no idea if it works or not.
[Desire HD Android Development] pecora:
i have less battery drain with 2.1 performance instead 2.4 or 2.5 and performance are some times better. I'm on Mustaavalkosta rom build 14-01.
[Desire HD Android Development] DesertEagleSlim:
flashed 2.5 and phone locked up at splash screen when rebooting. anyone else have this problem? I'm running pacman 19.3
[Desire HD Android Development] pecora:
Look at the previous page...
[Desire HD Android Development] DesertEagleSlim:
yeah saw that after i posted. flashed performance kernel and so far everything is OK. (knock on wood)
[Desire HD Android Development] salman45:
Re: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.5 | Kong Birthday Edition

Which version is best in battery life? I am on pacman-19.3
[Desire HD Android Development] thachtunganh:
Re: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.5 | Kong Birthday Edition

All versions...
[Desire HD Android Development] hadi_xman:
please tell me the steps to flsh kernel
[Desire HD Android Development] pnoire:
Reboot in recovery

Wipe Dalvik Cache

Flash zip of the kernel

Reboot
[Desire HD Android Development] hadi_xman:
i was reading the thread and read about the boot problem in v2.5 Stable stuck in htc logo screen and one person on PAC rom thread, on which i am planning to flash this kernel, also report this issue...

please tell if its solved?
[Desire HD Android Development] MisterMeJ:
Re: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.5 | Kong Birthday Edition

Just wait till synergye says it's fixed!
[Desire HD Android Development] a user:
you can skip "Wipe Dalvik Cache". it has nothing to do with the kernel.
[Desire HD Android Development] joshyakadamien:
Re: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.5 | Kong Birthday Edition

If you been readibg the thread you red that synergye told us he is going to re upload today but he birthday danced off his @ss i guess :)

Be calm, when he will upload he'll post the new as he allways does...
[Desire HD Android Development] dreamland2000:
Re: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.5 | Kong Birthday Edition

I've flashed 2.5 on top of sr5 and had no issues, battery life has been so much better.
[Desire HD Android Development] AMIR-TUTU:
thats the hell of the truth !!;)
[Desire HD Android Development] Muikkuman:
Re: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.5 | Kong Birthday Edition

But what about cache?

sent from my Desire HD while waiting for my Nexus 4.
[Desire HD Android Development] Mustaavalkosta:
[jk]Lies. Source: https://plus.google.com/u/0/115049428938715274412/posts/7u9rJsNrYzd[/jk]
[Desire HD Android Development] a user:
Also not needed. Has absolutely nothing to do with the kernel.
[Desire HD Android Development] hadi_xman:
Re: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.5 | Kong Birthday Edition

True.. flash kernel without wiping delvic cache

---------- Post added at 05:44 AM ---------- Previous post was at 05:44 AM ----------

You can leave that too..
[Desire HD Android Development] a user:
just for informations:

dalvik cache and cache wiping is usefull only when apps are affected somehow. wiping dalvik cache is basically needed if you exchange the apk of an installed app to ensure its dalvik cached version will be correctly recached. the normal chache wipe is needed if apps change version to ensure they set up their cached data again and now what to handle that. though there may be other reasons for the cache wiping because there are also other things stored/cached.
[Desire HD Android Development] Raza Qadri:
my phone gets stuck randomly but whenever i try to pull last kmsg it say remote object doesn't exists?

p.s. i am on CodefireX SR5, 2.5 performance
[Desire HD Android Development] humzaahmed155:
Re: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.5 | Kong Birthday Edition

You flashed a performance kernel, this is generally expected.
[Desire HD Android Development] Raza Qadri:
Re: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.5 | Kong Birthday Edition

But my phone could run performance kernel previously

Sent while flowing through space
[Desire HD Android Development] humzaahmed155:
Re: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.5 | Kong Birthday Edition

Mine can't run it at all :P Try using a stable kernel and try again what you were doing before.
[Desire HD Android Development] tommy_xuyijun:
I'm on stable kernel.

Fast charge doesn't work whatever I set 1 or 0 in /sys/kernel/fast_charge/force_fast_charge. Is there anything else I need to modify?

Thanks for the great kernel.
[Desire HD Android Development] joemossjr:
i have a question does this kernel work on inspire 4g i always get black screen or stuck at htc logo?
[Desire HD Android Development] rjand:
If you are trying a performance kernel it is possible your phone may not be able to handle it, try the stable one instead.

I think there are also issues with 2.5 stable, so try 2.4 if you need stable, but 2.5 performance works okay (on capable devices)
[Desire HD Android Development] joemossjr:
yeah i tried the performance one no luck got a black screen and the 2.5 stable and got a black screen not unless a new 2.5 was released
[Desire HD Android Development] rjand:
Try 2.4 stable.
[Desire HD Android Development] notobsessivejustcurious:
Re: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.5 | Kong Birthday Edition

Try setting frequencies lower than stock, then try flashing it.
[Desire HD Android Development] joemossjr:
how? i cant get it on lol

---------- Post added at 01:30 PM ---------- Previous post was at 01:30 PM ----------

ok i will
[Desire HD Android Development] spikey001:
Can confirm problem with 2.5 stable as it gets stuck at HTC logo.

However 2.5 performance Kernel running like a charm :)
[Desire HD Android Development] vliegnerd:
Re: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.5 | Kong Birthday Edition

2.5 stable stuck at boot logo.
[Desire HD Android Development] brandub:
Re: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.5 | Kong Birthday Edition

I'm found 2.5 performance eats my battery pretty damn fast (on syn sr5) so I went back to 2.4 stable.
[Desire HD Android Development] Raza Qadri:
Re: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.5 | Kong Birthday Edition

Can you please read thread it's posted 1 or 2 pages back that's it's a known issue

Sent while flowing through space
[Desire HD Android Development] wachutunai:
Hi synergye,

First of all, thanks for your hard work to keep our phones alive.

And second, I would like to report that the Wifi Power Management in the kernel is causing some problems when the screen is off. A quick example is trying to place a voice chat in Google Talk, as soon as the screen goes off, the audio gets messed up. Mustaavalkosta suggested that there are some kernels that provide some parameters that allow you to change the Power Management policy for the Wifi driver. Check this post: http://xdaforums.com/showpost.php?p=37071535&postcount=380

I don't know if you plan to implement something similar but I must say that this issue is not only causing problems in Google Talk but in other VoIP applications, like Csipsimple, as soon as the screen goes off and you are in the middle of a call. I did not experience this problem while runing AOSPX by existz but I'm sure that the Wifi PM was different since, depending on the router I was connected to, I was getting approximately the same battery life, which in fact is great :fingers-crossed: or a much bigger power consumption.

Please, let me know if you want me to test something or you need any logs to tackle the problem.

Thank you!
[Desire HD Android Development] dbgurudk:
Hi Guru's,

Why is it that the performance works on some DHD's and not on others?

I have obviously one of those that do not work. Never get to the boot logo :(

Thanks in advance.
[Desire HD Android Development] bananagranola:
Re: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.5 | Kong Birthday Edition

Even though they're the same model, each phone is slightly different hardware-wise. Manufacturer's variation in production, I guess. It's also why overclocking limits vary by phone.
[Desire HD Android Development] ygpramod:
Re: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.5 | Kong Birthday Edition

Can i Use 2.4 Stable on Jellytime R31?
[Desire HD Android Development] dbgurudk:
Re: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.5 | Kong Birthday Edition

Anything I can do to get it running?
[Desire HD Android Development] bananagranola:
Re: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.5 | Kong Birthday Edition

Probably not, unfortunately. Just the way some phones are.
[Desire HD Android Development] wachutunai:
Googling a bit I found out that the list of apps suffering this issue with poor Wifi performance when the screen is off is considerable. Here we have another, Spotify: http://community.spotify.com/t5/Spo...i-power-management-streaming-fix/idi-p/170120

Synergye, can you confirm if your kernel supports this? It is a bit weird though, that this does not happen with other audio streaming apps, like TuneIn for example, but that's maybe because they use a different wake lock?

Edit: This is the related functionality pointed out by Mustaavalkosta that I mentioned in the previous post: https://github.com/motley-git/Kernel-Nexus7/commit/982f62e78ff98c460e6ad4c1ba16d0ae8ec96e33
[Desire HD Android Development] t0k0m0k0:
620Mb RAM?

I certainly missed something, but why now with the 2.5 performance kernel I have only 594Mb memory?

Before this, with the 2.0 Kernel I had 620Mb, something is wrong with my phone or is it normal or I did something wrong?

Thanks for the advices
[Desire HD Android Development] Mustaavalkosta:
It's normal, synergye is trying to pin point correct PMEM settings for ace to kill random reboots.
[Desire HD Android Development] ai6908:
Is there a tweak or fix for WiFi to see all channels? My work uses channels, that the current kernel do not recognize. Any help to figure this out will be greatly appreciated. Thanks.
[Desire HD Android Development] WordsworthESP:
Re: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.5 | Kong Birthday Edition

Reading helps.

Sent from my Inspire 4G w/CM10.1
[Desire HD Android Development] ygpramod:
Kernel 2.4 Stable on Jellytime R31

I used 2.2 on Jellytime R 31 and it worked like wonders :) thats why i asked whether if I can use 2.4 or 2.5 on Jellytime.

Thanks anyways :)
[Desire HD Android Development] hnkumar:
Don't install 2.5, there is a problem with wifi. You can install 2.4 stable on JellyTime. Users reported that R31 is a battery drainer, so use R30.
[Desire HD Android Development] iPwn_:
Is it possible to add the FIOPS I/O scheduler from faux's Nexus 4 kernel? I don't know if it has any advantages, but he seems to be pretty confident that it's the best scheduler around for flash devices. (If that's not true, ignore me).
[Desire HD Android Development] wachutunai:
Definitely, it's a Wifi PM issue, I've found some more places where this problem is discussed:

[1] http://code.google.com/p/cyanogenmod/issues/detail?id=2403

[2] http://development.virtuousrom.com/tracker/issues/832

[3] https://plus.google.com/109007983296189609553/posts/BuKDEUG1Shy

[4] https://github.com/thachtunganh/beastmode-1.5/commit/dedc47c8074ec84ad139b6bed4e1478b84b33955

It seems to be implementations that fix it so I don't think it should be too much work to diff the actual driver source code against any of those. Synergye, will you consider it?

Thank you!
[Desire HD Android Development] AMIR-TUTU:
dear dev , PLEASE DO SOMTHING about VPN:(
[Desire HD Android Development] bananagranola:
Re: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.5 | Kong Birthday Edition

C'mon, man - you not only demand something (vaguely and unhelpfully, I might add) from the dev, but you can't even be bothered to look up his name?
[Desire HD Android Development] AMIR-TUTU:
first of all , am i talkin to you ? (i dont think so)

and second,every time i said SYNERGYE and this time i like to call him dear dev .

(which is i dont have to explain this to you and its just for understanding)

SO i think you C'mon man !!

its not your business GOOD GUY !!

is that the way you looking for thanks ?!!

what a shame realy ... !!

just keep your advices for yourself , i dont need them .

anyway ...

its for your information guys , in my country we have very limit internet

and for us the vpn is bread and butter !!

i dont care to somebody who dont knows what is going on here and called what is

my asking is unhelpfull .

let's hope we haven't seen this kind of mis understanding in future.
[Desire HD Android Development] bananagranola:
Re: [KERNEL][3.0.59][AOSP-JB] KangBang-Kernel v2.5 | Kong Birthday Edition

Shrug. Ok. My apologies. Good luck.