yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Original Android Development] andip71:
Exactly. They for sure did that intentionally after I released a stable yesterday :D

Andi
[Galaxy S 5 Original Android Development] !crazy:
Great it Boeffla started working again, what is good, since I didn't have enough time for clean install.

I have also noticed some lags, but they seem to be temporarily issue. They are gone for now. A few days ago I had terrible lags with stock kernel, and these were especially bad with some applications (for example Maps.). Navigation with maps was nothing less than unusable. But 'Here' worked almost without issues, only small lags. Anyway I'm glad it is over now ☺.
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
Seems so lol. Never saw so many kernel commits in a S5 nightly.
[Galaxy S 5 Original Android Development] theelle:
[MENTION=947981]Lord Boeffla[/MENTION] random reboot here :(

There are last rows of last_kmsg file:

Do you thing is kernel related or rom?
[Galaxy S 5 Original Android Development] andip71:
Cannot be determined with this log.

But my belly feeling tells me, it was triggered by userspace = rom.

I do not see a kernel panic or a memory violation here.

Andi
[Galaxy S 5 Original Android Development] theelle:
[MENTION=947981]Lord Boeffla[/MENTION] There is a log can help you?
[Galaxy S 5 Original Android Development] andip71:
No, 98% of the time the s5 logs do not contain anything useful.

Just see if you face this reboots more often or not.

Andi
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
Is a new kernel necessary for that?

http://review.cyanogenmod.org/#/c/107795/
[Galaxy S 5 Original Android Development] jose13683:
Hello,

I have updated to 27/8 nightly and Boeffla 2.2beta1 this night. I have 2 problems (don't know if rom or kernel related):

1) The cell does not go into deepsleep

2) This morning I had 2 random reboots, the first while trying to make a call, the second during a chat in whatsapp. I was in hurry to get to work so I did not managed to get some log. I will provide them if it happens again

Kernel default setting (interactive, no UV, ext tweaks and dynamic fsync on), no xposed, same apps of yesterday configuration that was rock solid.

EDIT: very strange: the deepsleep state does not even appear in the unused CPU states of CPU spy. Is it normal?
[Galaxy S 5 Original Android Development] !crazy:
Maybe because people deactivate kernel logger? I just looked in Boeffla configuration, and I can tell you, I'm one of those people ☺. But the thing can be turned on, when needed...
[Galaxy S 5 Original Android Development] andip71:
Don't think so. At least not on the kernel code side.

Ramdisk - we will see.

to 1) Not kernel related. An app or rom process keeps your phone awake. Use BetterBatteryStats to find out.

to 2) Had zero reboots so far on my side.

Even with activated logger most of the time nothing useful in the logs.

It seems to be S5 specific, on the OnePlus for instance the log provides more useful information.

Andi
[Galaxy S 5 Original Android Development] festr:
Lord Boeffla: I have long term issue with CPU governor and CPU frequency. I'm using permanent tool for watching the cpu frequency and the frequency is stuck on 1574 Mhz sometimes. If I go back to stock CM kernel I do not see this problem. It does not matter if it is interactive or zzmove governor - this problem is on both. What might be the reason that the cpu is stuck on 1574? I see that the MHZ goes up if I open some application but it will lower only to 1574 again. Only when I enable touch boost (1190) and I touch the display it overrides it to 1190 and then it goes to 300. But as soon as I do something I'm on 1574 Mhz again.
[Galaxy S 5 Original Android Development] andip71:
No idea.

I do not have that here.

Don't know what apps/mods/frameworks/rom you use.

I cannot comment on something I never saw, unfortunately.

I guess you have something creating load sometimes, so the CPU keeps staying up. But really, just some suspicion.

Have you ever tried to completely reset the kernel configuration back? (in the apps settings menu)

Andi
[Galaxy S 5 Original Android Development] felek73:
BBS show in kernel wakelock section that phone doesn't go to deepsleep . There is a msm_serial_hs_dma wakelock almost 100% of time.

But this wakelock is also in stock kernel (I'm on BlissPop now) so it is not related to Boeflla..
[Galaxy S 5 Original Android Development] festr:
No framework no mods. I'm curious how I can completely reset the settings in your application? I tried to find some resets but it did not reset all settings (like usb power tweaks or I still have the same cpu governor)

Besides that - flashing CM (dirty flash) with default kernel does not have this behavior and it lowers to 300Mhz and do not stuck on that frequency.
[Galaxy S 5 Original Android Development] andip71:
As I said... I have no idea and cannot replicate here.

If this is a deal breaker for you, fall back to stock kernel.

The full reset setting is in menu -> settings -> app maintenance -> Reset app.

If this does not reset everything to normal, then something interferes.

Andi
[Galaxy S 5 Original Android Development] festr:
thank you for the hint - reset app - this solved my problem.
[Galaxy S 5 Original Android Development] andip71:
You are welcome :)

It solved the problem of not having a complete reset, or with the hanging frequencies?

Andi
[Galaxy S 5 Original Android Development] festr:
the cpu frequency behaves normally now and it do not stuck on that frequency anymore. I also saw that cpu0 and cpu3 was always ON even when on 300Mhz (before I reset the app). After reseting settings I now see all cpu are off and only cpu0 is on 300Mhz. Which frightens me what might caused the problem since I was seeing this problem on interactive and zzmove as well.
[Galaxy S 5 Original Android Development] jose13683:
Hi,

I just installed BBS to check the deepsleep problem and I can confirm the presence of msm_serial_hs_dma. It's been a long time since my last use of BBS, so I can't say nothing about the wakelock on stock kernel. In any case, the phone is always awake, and no deepsleep for me. The partial wakelock section does not show anything uncommon... :crying:
[Galaxy S 5 Original Android Development] festr:
damn. I turned off touchwake and I still see the problem with frequency stuck on 1574...

edit2: I'm puzzled. I enabled selinux permissive - rebooted and the problem was there. So I did reset again and the problem is gone. I doubt it can cause this but I'm not going to mess with it in near future to see if I can get stable behaviour now :)
[Galaxy S 5 Original Android Development] jose13683:
I just had another reboot during a call. I got last_kmsg right after reboot (but as lord boeffla was saying is probably is useless).

https://dl.dropboxusercontent.com/u/19790906/last_kmsg.txt

I have seen that nightly 28/8 is out, I will install it without boeffla kernel to see if the situation improves.
[Galaxy S 5 Original Android Development] andip71:
Ah, yes. True. I remember... selinux = permissive can cause all sort of weird issues.

Strict is CM default, and people should not change that as long as they have a strong need.

Andi
[Galaxy S 5 Original Android Development] !crazy:
Is this a product of my imagination, or Boeffla did have an intelli-plug hotplugging option? If yes, I don't have it any more... If not... Well, I just made it up.
[Galaxy S 5 Original Android Development] andip71:
No, I never put any custom hotplug implementation in. And will also not.

I guess this is imagination :)

Andi
[Galaxy S 5 Original Android Development] !crazy:
Yup, ☺. Last days I'm bit under stress, in such situations I (unfortunately) really do imagine things, and mix them up.
[Galaxy S 5 Original Android Development] andip71:
Should we be worried about you? ;)

Andi
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
Hope not :D
[Galaxy S 5 Original Android Development] theelle:
[MENTION=947981]Lord Boeffla[/MENTION] kernel update for bluetooth on last nightly. Maybe resolve the stutter issue. Did you take a look and maybe update kernel?
[Galaxy S 5 Original Android Development] felek73:
I hope it will fix BT wakelock draining battery when BT is on
[Galaxy S 5 Original Android Development] andip71:
Not before Monday. I keep away from pc during weekends.

Andi
[Galaxy S 5 Original Android Development] iamnotkurtcobain:
Best thing you can do ?

Have fun in the sun with your family!
[Galaxy S 5 Original Android Development] theelle:
[MENTION=947981]Lord Boeffla[/MENTION] for a clean install, now I have last beta of boeffla kernel.. If I flash last nightly without reflash kernel, i'm ok? Or I have to do something for completely remove your kernel?

Thanks for response :)
[Galaxy S 5 Original Android Development] djdana:
Does not resolve stuttering here ?

Verstuurd vanaf mijn SM-G900F met Tapatalk
[Galaxy S 5 Original Android Development] theelle:
It's normal if you have reflashed Boeffla after nightly....
[Galaxy S 5 Original Android Development] djdana:
Nope this is with the cm kernal
[Galaxy S 5 Original Android Development] theelle:
stutter in bluetooth right? i'll try and report in few hours....
[Galaxy S 5 Original Android Development] !crazy:
Stock kernels, or something related to CM running with its stock kernel sometimes causes stuttering system wide, which influences all apps.

Does it happen with Boeffla to, and under which circumstances? Do you tune your system for battery saving, which settings you use for CPU and governors?

Does it happen only when your WiFi is on?

I don't have any stuttering with boeffla and Bluetooth, but I always have wifi off, because I'm streaming stuff only when I'm in my car. At home I only copy a thing or two occasionally and that works without issues.
[Galaxy S 5 Original Android Development] djdana:
Original and boeffla kernel clean install and clean install no gapps still stuttering.

Circumstances I explained allready but here we go WiFi 5g on no stuttering with 2g on stuttering.

When I search for other bluetooth devices my bluetooth headset goes wild.

Tested with multiple headsets.

Verstuurd vanaf mijn SM-G900F met Tapatalk
[Galaxy S 5 Original Android Development] phoberus:
Since I use boeffla I have problems with my microphone. In loud recordings (e.g. at a concert), it overturns the microphone and you can only hear a noise. (Don’t know how to say it in English correctly, in German it would be: “Das Mikrofon überschlägt”)

How can I fix this?

I need to film much concerts of my band :)
[Galaxy S 5 Original Android Development] andip71:
Sorry, can't believe that it is not the same with stock kernel.

Microphone signal path is not changed by me as I even do not know where to change it (missing documentation).

So I am sure it is the same with stock kernel. And yes, it is known the S5 with its wdc9320 audio hub is everything but ideal for that recordings.

Andi
[Galaxy S 5 Original Android Development] !crazy:
Sorry you had to reset yourself.

No issues with headset here. Also no issues when discovering other devices like car, or phone. What happens sometimes is a reboot, when I reconnect to the same Bluetooth connection after being disconnected for a while. This issue got better, because before the reboot would happen every time after reconnecting, but in the last time it happens only sometimes. I used to work around the issue by rebooting device myself.
[Galaxy S 5 Original Android Development] j1gga84:
[MENTION=947981]Lord Boeffla[/MENTION]

This is no feature request, I only want to know if it is a ROM related thing if the microphone settings are not visible under boeffla sound? At the moment I am on an AOSP ROM and Boeffla Kernel is running great but the volume of recorded whatsapp messages is quite low in comparison to my old Galaxy S2 so my idea was to increase mic gain in kernel settings but they are not visible. So I guess the ROM developer has to implement this in his ROM, correct? Otherwise I have to switch to an CM12.1 ROM alltough I am not a big fan of that derivate ;)

regards
[Galaxy S 5 Original Android Development] ZaneZam:
:) may u precisely read again last post from Lord boeffla, he didn't change anything regarding microphone in boeffla sound (because he can't without sound chip documentation) for the S5 so that's the reason why u can't find any settings for it in sound tab of configuration app. boeffla sound has nothing to do with any rom implementation and/or rom settings. ;)
[Galaxy S 5 Original Android Development] andip71:
Also the different settings in Boeffla Sound section between s5 and older devices like s3 are covered in the faq on the homepage m

Please take the time to read.

Andi
[Galaxy S 5 Original Android Development] j1gga84:
Thanks for clarification :)

So that means it is impossible at the moment to raise the microphone volume for recording?

Sound quality is good and no compression like at the Note 4 but very low in comparison to older devices ;)

Regards

Sent from my GT-I9100 using german Tapatalk 4
[Galaxy S 5 Original Android Development] andip71:
Yes, nobody found a working way so far to do that. No documentation available, that is the main reason.

Andi
[Galaxy S 5 Original Android Development] thejester123:
Here is my modified mixer paths file with boosted sound and mic gain that I did due to low sound and mic gains > http://d-h.st/Vhai

Enjoy

Remember to backup original file first then copy to system\etc and set permissions.

P.s

Tested and confirmed working over in Blisspop thread ;)
[Galaxy S 5 Original Android Development] andip71:
Hi all,

maintenance update for the cm12.1 kernel:

CM12.1 -- Version 2.2-beta2

31.08.2015

Updated with latest official CM kernel commits as of 39.08.15

Ramdisk updated to official CM12.1 version of 31.08.15

Enjoy

Andi
[Galaxy S 5 Original Android Development] j1gga84:
Sorry for OT,

is it working also for WhatsApp Voice Messages and Skype, did you test it? WhatsApp is the main reason why I want to raise mic gain.

And is there a tutorial or what did you change in this file?

You can also write me a PM because of OT, would appreciate it very much :)

many thanks & regards
[Galaxy S 5 Original Android Development] thejester123:
It improves gain for apps and camera/voice recordings. Also VoIP :)
[Galaxy S 5 Original Android Development] j1gga84:
So if this works I ask myself why there is no app that can change the values of that file :confused:

Ok, nevertheless, I will test it and if I don't like it I can simply copy the old xml file back :good:

regards
[Galaxy S 5 Original Android Development] djdana:
Copied it as you write sound is gone.What did i do wrong??

Never mind set to system file did the trick and enable all write permisions

Verstuurd vanaf mijn SM-G900F met Tapatalk
[Galaxy S 5 Original Android Development] j1gga84:
For me it works and there is an improvement :good:

It would be better if we could adjust via an app to raise or lower the gain..

I don't know [MENTION=947981]Lord Boeffla[/MENTION] if this helps you, that all settings are in this xml file and [MENTION=3974390]thejester123[/MENTION] obviously found a way to raise mic gain..

[MENTION=403304]djdana[/MENTION]

you have to set the permissions correct to 644 equal to the original file :)

regards
[Galaxy S 5 Original Android Development] dyval:
Is this the same with the one on OP of Blisspop forum thread? Thanks.:good:
[Galaxy S 5 Original Android Development] thejester123:
No its modified to completely different values than the one in that thread, if you want to know how link in my sig or search in general. Now lets all get back on topic please :)
[Galaxy S 5 Original Android Development] !crazy:
Maybe try installing Alsa Mixer and see if it helps (has an option for increasing the mic volume.), but probably won't if LB says so.
[Galaxy S 5 Original Android Development] andip71:
No, everything is worth trying.

I was only commenting from kernel (driver) point of view.

Andi
[Galaxy S 5 Original Android Development] j1gga84:
Alsa Mixer does not work, anyway thanks for the tip :good:

something different: when navigating with Sygic the screen stucks sometimes, with stock kernel everything is ok, what settings are recommended for fluid navigation? :)

Many thanks

regards
[Galaxy S 5 Original Android Development] andip71:
Maybe it is the lowered GPU min frequency. Stock is 200, in my kernel it is 27.

Put it on 200 again for a test.

Andi
[Galaxy S 5 Original Android Development] j1gga84:
Many thanks Andi :good:

And one last question: why is Android Logger greyed out on CM kernel but activated?

regards
[Galaxy S 5 Original Android Development] ZaneZam:
because they moved it from kernel into rom area some time ago and there its not switch-able ;)

andi kept the switch for compatibility with older kernel versions where it is still possible

(maybe something to completely "hide" for newer versions?)
[Galaxy S 5 Original Android Development] andip71:
Well explained, thank you ZaneZam :)

Andi
[Galaxy S 5 Original Android Development] Solvin:
Hi Andi. Is it possible to improve Camera2 API in the CM12.1 S5 Boeffla Kernel?
[Galaxy S 5 Original Android Development] andip71:
What would you like to improve, based on which basis?

Please explain a bit more in detail.

Andi
[Galaxy S 5 Original Android Development] Solvin:
I hope you know the Camera2 API. I thought you can coding drivers for the S5. If not than sry for the question.

But at least: Why I should use SE Linux in permissive mode? Do you have some good reasons for it?
[Galaxy S 5 Original Android Development] j1gga84:
In Boeffla SELinux strict is standard, I don't know what the differences between activated and deactivated are because I am really new to LP ;)

What problem do you have with Camera2 ?

I only have the problem that front camera is sometimes over saturated in some apps (Twitch streaming app or Skype) but only in video mode, but could also be ROM related, I am no specialist ;)

regards
[Galaxy S 5 Original Android Development] Solvin:
Camera2 API is a new feature from Android Lollipop: http://m.gadgets.ndtv.com/mobiles/n...atures-include-burst-mode-hdr-and-more-553085

But the phone manufacturers have to implement it into their phones with drivers. Samsung says that the S5 don't receive the New Camera2 API features. The S6 has it already.

I run CM12.1 but I don't have the New API.

You can test that with an app:

https://play.google.com/store/apps/details?id=pl.vipek.camera2_compatibility_test
[Galaxy S 5 Original Android Development] andip71:
Well, I can code drivers. Camera driver I do not know, never tried. Camera is not in my focus as the S5 is not my main phone. So rather do not expect something by me here. This looks like more something forthe CM team where the camera blobs (part of the rom) must match as well.

SELinux permissive - I do not need it ever. But here are some cases like some xposed modules and add ons like viper4android (I believe) require it.

Andi
[Galaxy S 5 Original Android Development] Solvin:
Ok bad to hear. I hope Samsung implement the drivers after so much complaints. The S5 is one year old....that's a ****ty company policy.

Samsung Galaxy S5 - G900F

CP/BL: G900FXXU1BOH4

Kernel: Boeffla 2.2-beta2

Recovery: TWRP 2.8.7.0

ROM: CM12.1 Nightly
[Galaxy S 5 Original Android Development] !crazy:
Sygic? That app hardly works on lolipop devices. You have any reason (except you paid money.) you prefer Sygic over...... Say Here navigation app?

Here is free, and my experience is that it wipes a* with Sy...

Sygic lags probably have nothing to do with system.

In case when such app (apps which use lot of saved offline data.) stutters, tuning scheduler, or changing it could help.
[Galaxy S 5 Original Android Development] j1gga84:
I also have Navigon and Google Maps on my device so no problem at all, I read much good things of Here so I think I will try it out soon :good:

Something different:

I know from older kernels on my S2 that it was possible to adjust the vibration strength inside the configurator app of the kernel and because of that you could get a stronger vibration on your device. For me the vibration of S5 is very low, even if I set it in ROM to 100%.. Maybe the vibration module is weaker than on older phones but if not, would it be possible to implement this to kernel (control)?

EDIT: Here are my CPU States overnight in BBS:

==========

CPU States

==========

2,46 GHz (): 1 m 14 s 0,4%

2,27 GHz (): 2 m 3 s 0,7%

1,96 GHz (): 0,0%

1,57 GHz (): 2 s 0,0%

1,5 GHz (): 0,0%

1,27 GHz (): 4 s 0,0%

1,19 GHz (): 6 s 0,0%

960 MHz (): 0,0%

652,8 MHz (): 4 s 0,0%

300 MHz (): 1 m 19 s 0,5%

Deep Sleep (): 4 h 46 m 2 s 98,3%

What I see is, that device was on maximum CPU for a few minutes while I was not using it. I think also in usage it goes up to maximum, allthough device is not to fully load.

Is there anything I can do because I think this behaviour is a big battery killer.

I use pegasusq/deadline combo, have the donation version of the app, so maybe there is a good tweak for governor? ;)

EDIT2:

Is there a way to keep boeffla kernel installed after a dirty flash (update) of a custom ROM? every time I dirty flash I have to install the kernel again.. :confused:

I know from KK times that there were special files for init.d folder but I did not find something like that for LP..

EDIT3:

Sometimes my device stuck while scrolling or typing a message, sometimes also after unlocking when coming from Deep Sleep !?

What could cause this? maybe a wrong setting in Configurator..? I am running the latest beta build.

regards and many thanks
[Galaxy S 5 Original Android Development] Solvin:
Yes. Go to settings - various settings - survive Rom update
[Galaxy S 5 Original Android Development] j1gga84:
Sometimes Screen freezes completely and phone reboots.

for example while scrolling, coming from Deep Sleep or opening a menu.. What could be the reason for that? GPU set to 27 MHz as minimum frequency maybe? Beside of that the kernel runs superb :good:

regards
[Galaxy S 5 Original Android Development] andip71:
Not likely. Can have thousands of reasons.

What is your governor?

Andi
[Galaxy S 5 Original Android Development] j1gga84:
gov: Pegasusq, profil: standard

Scheduler: noop/noop (but no difference, even if I use bfq, row or deadline) - what can you recommend?

buffer 1024/1024 (use a 64GB SD Card)

Ext4 Optimisations: on

hotplug profile: optimized

multicore powersaving: off

no UV

GPU Governor: msm-adreno-tz (I do not know the differences)

GPU max: 578, mix: 200 (had it at 27 MHz before)

Touch boost status

Frequency: 883 MHz

system optimierungen: off

Vnswap & Swappiness off

rough, that are my current settings, maybe there is something wrong :confused:

regards
[Galaxy S 5 Original Android Development] andip71:
No, not wrong. But I would use interactive governor for some time to check if it is governor related.

I guess you are not overclocking though.

Just a hint.
[Galaxy S 5 Original Android Development] HorstiG:
Boeffla and TWRP

Tip:

Boeffla and TWRP

https://plus.google.com/+HorstGeorgThiel/posts/VJhK5Jz8kKr
[Galaxy S 5 Original Android Development] :
My charger just died and I got it replaced. I was informed that the actual charging unit died, but the cable was fine. Is it possible that this was caused by high charging rates? I was charging my phone at 1100 mAh for the last month.
[Galaxy S 5 Original Android Development] SnowFire:
No. Chargers are designed for charging ur device with its given specs of output mAh's. If it died, then because of low quality or long lifetime. When u used original Samsung charger, which will work up to 2300 mAh, then 1100 mAh cannot be a high charging rate :D
[Galaxy S 5 Original Android Development] :
That's what I thought. And I was using the original Samsung charger, but that's the one that died. Now, I'm using an unofficial charger. I hope it won't die soon.