yashsingh1/xdaforums huggingface dataset:
[Sprint Galaxy S 5 Android Development] miked63017:
I will have to leave that up for others to answer, I introduced a problem in my last build that is now fixed, but not 100% sure if there are any issues with it still. It works great for making calls for me, but haven't done any audio streaming in a while. FWIW I only use the BT calls rarely too, so I may not be the best person to give any opinion on BT functionality. Hopefully someone else can chime in, or if you have a few mins to test please let me know. I do have some new BT firmware files that I want to test that I pulled from a chrome os build, but haven't gotten to it just yet.

**Unrelated to your question:

New S5 Sport test builds in OP
[Sprint Galaxy S 5 Android Development] dricacho:
Thanks, I'll probably go ahead and try it anyway. I can always restore the latest nandroid backup of my current setup which is the Moar ROM.
[Sprint Galaxy S 5 Android Development] miked63017:
FWIW I put the new firmware blobs on my phone and had my daughter listen to spotify and watch some YouTube with her BT headphones connected to my s5. I tested walking away and reconnecting a few times. Everything went fine, I will put up a flashable zip with the new blobs either later tonight or tomorrow. Not sure if you wanna wait till then or test both, but I have a hunch the new firmware blobs may help. Either way I will get a zip up as soon as I can and roll them into the next build along with the WiFi scan tweak I have talked about a few times.
[Sprint Galaxy S 5 Android Development] dricacho:
Thanks for the update. Will keep an eye out on the next zip.
[Sprint Galaxy S 5 Android Development] Minor723:
Thank you would love to test that Bluetooth fix, always have problems streaming Bluetooth audio.
[Sprint Galaxy S 5 Android Development] 1991mustang50:
[MENTION=3585663]miked63017[/MENTION] hate to be bearer of bad new but both sport builds no boot

build 6 - again act like it boots and can see a line across screen like the end of crt then boot loops

build 7 - boots straight to odin/bootloader mode and tried it twice

thanks for trying

may be a pain in the butt might be why we have no offical yet if we get it

can i get +1 if someone else has same problems?
[Sprint Galaxy S 5 Android Development] StormyTheWolf:
Yeah I tried it as well with the same outcome
[Sprint Galaxy S 5 Android Development] miked63017:
Yeah sry guys, I still got a few more things to try, I already started building the device tree from scratch and I guess next is to go through the kernel and proprietary libs. Depending on how much time I have I will try to get another test build for tomorrow.
[Sprint Galaxy S 5 Android Development] Remesar:
Testing the latest build...

down to 90% battery life after unplugging at 8AM EST and making a few calls and toilet browsing. Looking good so far, haven't been able to connect to the car yet to see if bluetooth share crashes.
[Sprint Galaxy S 5 Android Development] miked63017:
I will be making a flashable zip with some new BT firmware blobs today, would be interested to know before and after results. I tested yesterday, but only after new blobs and things seemed good.
[Sprint Galaxy S 5 Android Development] Remesar:
I get off work around 4~ today. Will pair then and let you know how my commute home works out with it.
[Sprint Galaxy S 5 Android Development] dricacho:
Flashed the current build last night, used BT as usual on my commute home from work. The device connected to my BT car stereo w/o any issues. Music streaming was greatly improved, less choppiness, a lot less! Made a few stops to the grocery store and to get gas, so far no issues reconnecting. BT hasn't crashed yet. Hopefully this isn't going to jinx it!

One thing I noticed is battery consumption. From when I disconnected my cellphone from the power charger at 7:30AM til now, 11:18AM, battery power is down to 49%! Between that time, I texted, checked my email, downloaded a couple of small documents from dropbox, navigated to my job interview in the morning, then streamed audio through BT during my commute to work, which usually takes 1 to 1.5 hours. Hopefully, battery consumption will improve because I have gone 19 hours on 65% battery power on Moar ROM.

BTW, does anyone know how to make Viper4Android work on CM12?
[Sprint Galaxy S 5 Android Development] miked63017:
Here is a zip with the new blobs. It does not back up the current ones so you may need to reflash the current build if they make BT worse.
[Sprint Galaxy S 5 Android Development] dricacho:
Thanks, going to try this right now.
[Sprint Galaxy S 5 Android Development] dricacho:
Tested BT during my lunch break, went through the usual paces, so far so good. No bluetooth share crashes so far.

BTW, I really missed the smoothness and responsiveness of CM12!
[Sprint Galaxy S 5 Android Development] Minor723:
Will try these tomorrow. Do these need flashed after every new build, if they are better?
[Sprint Galaxy S 5 Android Development] miked63017:
If the consensus is that they are good then I will bundle them in the build. Just waiting for a few people to agree they are good or better than previously.
[Sprint Galaxy S 5 Android Development] Remesar:
I tried the latest build on my commute home with BT. It was being horribly choppy, cutting out every 30 to 45 seconds of play back... which makes me wonder if the BT buffer is being cleared and populated correctly in system memory. I'm not familar with Qualcomm chips, but SoC methodology would dictate that they allocate a certain portion of the addressing space to the bluetooth IP and core would write to that memory space when processing BT Apps. If there is not enough space allocated I can see it cutting out like that. .. anyways...

Trying your BT blobs now. Will test with my bluetooth headphones for now, and car in the morning... its too cold to go back out and sit in the car...

Thanks for the builds, If this BT thing works and WiFi scan interval can be reduced, this will be a pretty solid ROM. Battery life seems to be good as well. I see some pretty good deep sleep intervals. Battery is now at 12 hours, 47%.

This included browsing in the morning, talking on the phone several times throughout the day, BT testing, light browsing, ... If I could take a screenshot I'd post my battery usage.

Keep up the good work! and Congrats!

---------- Post added at 02:18 AM ---------- Previous post was at 02:05 AM ----------

No chop on BT headset so far.

Also, turned off bluetooth in the middle of playback and saw everything disconnect and reconnect when BT was turned back on, old firmware would hang and crash bluetooth share at this point.
[Sprint Galaxy S 5 Android Development] dricacho:
BT with new blobs seems to be working well too. It still hasn't crashed on me yet. During the 1.5 hr commute home, audio streaming on my car stereo was just as good with the occasional choppiness, no big deal as it happens when I was on Moar occasionally. BT disconnect/reconnect worked well. One strange thing that happened tonight was that the phone rebooted while streaming music right before I was going to stop the audio player and turn the car stereo off. The system didn't completely boot so I had to pull the battery.
[Sprint Galaxy S 5 Android Development] miked63017:
Out of curiousity how often would you say wifi is scanning, and are you talking about while you are already connected? I see a few places to change some intervals, some of them seem sane and some of them are pretty low. I only ask because I was watching a logcat yesterday and I didn't notice as many scans as I did a few builds ago. I just want to make sure I change something that isnt going to effect performance.

AFAICT its either set to 15 seconds or 10 seconds depending on whether you are already connected or not, what do we think it should be set to?
[Sprint Galaxy S 5 Android Development] miked63017:
What system firmware are you on? I know this happened to me alot on NKD, have you upgraded to OA6 yet?
[Sprint Galaxy S 5 Android Development] Remesar:
I have to run BBS in the latest build. I'm wondering if nightlys may have reduced it, but I was seeing 1 wake up from android system every 30 seconds or so for WifiStateMachine.START_SCAN
[Sprint Galaxy S 5 Android Development] dricacho:
I'm on AO6 .
[Sprint Galaxy S 5 Android Development] Remesar:
Audio is still choppy with in car music. At least it doesn't crash when I disconnect so I can still use it for phone calls.
[Sprint Galaxy S 5 Android Development] dricacho:
This morning, while streaming music in my car, the phone froze up. Turns out the audio player FC'd. Still no BT crash though. I decided to flash the latest KT kernel for LP 5.0 - AOSP. We'll see how this goes.
[Sprint Galaxy S 5 Android Development] dricacho:
Bluetooth performance has stabilized, no more application crashes. I forgot that I had installed Viper4Android and that may be causing issues. I have AudioFX turned off since it wasn't really doing anything to improve bluetooth sound on my phone. I'm also on KT kernel. Overall, BT has been reliable for me. :)
[Sprint Galaxy S 5 Android Development] miked63017:
I guess, unless anybody objects, I am gonna add the new chromium os BT blobs into the next build.
[Sprint Galaxy S 5 Android Development] dricacho:
Is anyone experiencing lag on Facebook, Facebook Video, or Page Manager? I know this is plaguing the guys on Moar ROM. I had the same issues when I was using Moars. I noticed that it is also happening on this ROM but the lag is not as bad but on the other hand, it can get bad at times.
[Sprint Galaxy S 5 Android Development] dricacho:
I went for a walk during my lunch break and decided to stream music to my bluetooth headset. Had no issue connecting to it, it actually connected instantly. Streaming, however, is another story. I continue to loose audio the second I put the phone in my pants pocket or jacket pocket. If I put the phone in my shirt pocket or hold the phone up to chest-level, music streaming continues. If I hold the phone in my hand while walking, the music stops streaming depending on my hand movement. Too bad I left my wired headset on my office desk. If it's any consolation, BT never crashed.
[Sprint Galaxy S 5 Android Development] miked63017:
I did notice the same thing on the wireless headphones, the weird thing is I can take the phone about 5-10 ft away before it disconnects but too far down caused static and skips. I thought my beer gut was in the way lol. Not really sure if there's anything that can be done about it, did you notice if the same thing happened before flashing the new blobs?

As for the video thing, I am on WiFi like 99% of the time and haven't really noticed any lag on fb or YouTube. Maybe network congestion? Assuming you were on 3g/4g, if you suspect its software you might try changing the nuplayer settings in developer options to see if that helps. I wonder if it could be kernel related too, you said your on KT right?
[Sprint Galaxy S 5 Android Development] dricacho:
Hahaha, I was starting to wonder about my beer gut as well, it's also in the way. I didn't notice this prior to flashing the new blobs. I can restore my most recent CM12 nandroid backup , without the blobs, and test it out. I'm also on wifi almost all the time and get the FB lag. As a matter of fact, while I was typing my last post, I was at my workstation and my phone was connected to our work wifi. It was lagging pretty badly. I'd get the white screen for about 20-30 seconds before anything would appear. Sometimes, the whole phone would freeze up so, I just put it down on the desk and let it catch its breath. I'm on KT now and the lag issue was worse when I was on the repacked Galaxy S5 kernel. I will try changing the nuplayer settings in developer options to see if that helps.
[Sprint Galaxy S 5 Android Development] Remesar:
BT Crashes seem to be resolved with the default blobs. However, buffering rate seems to be broken for certain streaming protocols. Not sure what my Mazda 3 is using... probably AD2P or whatever.
[Sprint Galaxy S 5 Android Development] miked63017:
So what do you guys think we should run with as the default blobs?
[Sprint Galaxy S 5 Android Development] 1991mustang50:
how work on sport going? just wondering
[Sprint Galaxy S 5 Android Development] miked63017:
I got the device tree setup, and new proprietary dir, new compiler, just adjusting kernel stuff still. Hoping to get a new test up soon, should be a completely different base than the previous tests so hopefully it will be for the better.
[Sprint Galaxy S 5 Android Development] avenger666:
Is it a bug that I can't factory reset ? , I keep pressing it and nothing happens.
[Sprint Galaxy S 5 Android Development] Remesar:
What recovery are you using?..
[Sprint Galaxy S 5 Android Development] miked63017:
New builds in OP, pulled upstream and changed wifi scan interval. Didn't have a chance to personally test them yet, but they should be good.

Still working through kernel build problems for the sport models, sorry guys...Gonna try to get a build out for it this week, just want to have it done right and hopefully it will work. I have gone through everything and tried to pay closer attention to detail on everything, just having problems getting a good kernel/ramdisk build.
[Sprint Galaxy S 5 Android Development] dricacho:
Did you include the new BT blobs in the new build? I had to revert back to my nandroid backup, w/o the new BT blobs, because BT share started crashing on me during the last couple of days.
[Sprint Galaxy S 5 Android Development] miked63017:
I did not, was waiting for a more definite yes or no from you guys before I did that. Will roll with the standard ones for now.
[Sprint Galaxy S 5 Android Development] dricacho:
Sorry I wasn't able to provide any feedback sooner. I had to have my dog put to sleep this past weekend, what an ordeal! I'm glad you kept the standard ones with the recent roll-out. I haven't had any issues with that from the last build so far. Dirty flashing this new one is still ok I pressume?
[Sprint Galaxy S 5 Android Development] Hasseo:
I tried to encrypt my device this morning with the 02/24 build, but then CM wouldn't boot and it's been quite a headache getting everything back up and running. Any reason why the encryption would do this?
[Sprint Galaxy S 5 Android Development] miked63017:
Dirty flashing should still be ok. Sorry to hear about your dogs, thats a rough thing to go through.

Really not sure, encryption is one thing I haven't messed with in cm. Did you do a full wipe prior, including internal SD?
[Sprint Galaxy S 5 Android Development] Hasseo:
Ah, that might have been it. I just did a factory reset. I'll try some more things later this week and report back. Thanks!
[Sprint Galaxy S 5 Android Development] Remesar:
Did you pick up all the BT changes by chance from the latest changes?
[Sprint Galaxy S 5 Android Development] dricacho:
Thank you. I flashed the latest build this afternoon. I did a clean flash as I wanted to start with a completely clean slate. So far BT is working beautifully again. Audio stream to my BT car stereo is smooth. I didn't notice any choppiness during my 1.5 hour commute home tonight. Disconnecting and reconnecting was a cinch.. No crashes so far. I have not had a chance of testing audio streaming to my bluetooth headphones. I'll try that tomorrow during my mid-day walk. The rest of the ROM has been working well also. We'll see how it goes for the next few days and I'll report back again.

Thanks for your continuous work in bringing us more CM12 goodies. :good:
[Sprint Galaxy S 5 Android Development] miked63017:
Not 100% sure I got all of them but I pulled in all changes on the repos i dont have forked, and a few in my forked repos that i havent commited yet.

Glad to hear it :)
[Sprint Galaxy S 5 Android Development] dricacho:
Audio streaming through my bluetooth headphones is ok now, no choppiness, and the issue I have reported before has not occurred. Put the phone in my front pants pocket and jacket pocket, audio streaming was continuous, no choppiness. This one is a keeper!
[Sprint Galaxy S 5 Android Development] Remesar:
Still choppy when connecting to my car. Every 20 seconds. There's alot of fixes in the changelog for BT, but looks like they haven't made it into a nightly yet, maybe they will fix it.

Keeping an eye on the wifi scanning

---------- Post added at 06:17 PM ---------- Previous post was at 06:15 PM ----------

from CMX log:

bluetooth: a2dp: Property account pcm.counter

Every tick we account that there is now pcm_bytes_per_tick *

number_of_ticks (since last accounting).

The existing code would be right with infinite precision floating

point math but with integer math undercounts the amount of PCM

data that is available.

For example, if we have 20ms ticks and we have two ticks that occur

at intervals of 20543 us and 39457 us (a total of 3 ticks) and we

generate 3528 bytes of PCM data per tick (44100 * 2 channels * 16bit)

then we should determine that there is exactly 10584 new bytes of

PCM data available. It actually computes that there are

3528 * 20543 / 20000 = 3623.7852 = 3623 bytes +

3528 * 39457 / 20000 = 6960.2148 = 6960

-----

10584

Which means that on average we are undercounting about half a byte

per actual tick that occurs.

In practice if you assume 25ms per tick when we are asking for

20ms then we are losing 1 byte of data about every 50ms, 20

bytes per second or 1200 bytes per minute. 1200 bytes is about

7ms of audio is lost every minute.

imo, The math is sound.. and may fix my issue.
[Sprint Galaxy S 5 Android Development] Hasseo:
Went ahead and did a full wipe and then tried to encrypt. Same thing happened - encryption took ~6min and then it would be stuck on an infinite boot cycle. Not a huge deal that encryption is broken, but something to file as a bug :)
[Sprint Galaxy S 5 Android Development] blksith0:
Quick Question

I lost my root after wiping and flashing. Is this normal?
[Sprint Galaxy S 5 Android Development] Hasseo:
If you flash the supersu binary and install supersu you should get root back :)
[Sprint Galaxy S 5 Android Development] blksith0:
Thank you. I can't tell how much of this ROM is CM and how much is Lollipop, but either way I'm mostly liking it so far.
[Sprint Galaxy S 5 Android Development] Hasseo:
Not a problem! Compared to stock Lollipop on my Nexus 7, there are a ton of enhancements from Lollipop. Honestly, it's how Lollipop should have been.
[Sprint Galaxy S 5 Android Development] miked63017:
FWIW you should not need to flash supersu, you should be able to go to settings->developer options->root access and turn it on. Supersu will most likely also work but I have ran into binary issues with it on this ROM, its safer to use the built in one.
[Sprint Galaxy S 5 Android Development] miked63017:
Do you have a link to that so I can see which files and/or commits to have a look at?
[Sprint Galaxy S 5 Android Development] Remesar:
http://review.cyanogenmod.org/#/c/89832/

---------- Post added at 02:33 PM ---------- Previous post was at 02:33 PM ----------

http://review.cyanogenmod.org/#/c/89832/
[Sprint Galaxy S 5 Android Development] Remesar:
Also realized from the numerous missed calls that phone calls work, however, ring tones are not working... not sure what's going on with that.
[Sprint Galaxy S 5 Android Development] dricacho:
So last night, during my commute home, audio stream to my car stereo suddenly became choppy. It did get better in time but it seemed like there might have been something running in the background that is hogging system resources causing this audio choppiness. I did close all the apps I had open on the phone, and restarted the audio player. Audio streaming got better after a while. The choppiness seems to reoccur sporadically. :confused:
[Sprint Galaxy S 5 Android Development] avenger666:
Philz , but what does that has to do with factory resetting it :o? I keep pressing it and nothing happens...

By the way any advice for GPS to work ? On high accuracy and it can't find me
[Sprint Galaxy S 5 Android Development] Remesar:
your recovery is what does the reset to factory settings...

Also, the solution to your GPS issue is to flash the Stock firmware, let your GPS lock and then reflash..
[Sprint Galaxy S 5 Android Development] avenger666:
Sorry for the noobie question but stock firmware = stock ROM lollipop?
[Sprint Galaxy S 5 Android Development] Smyc151:
Yeah, or a stock-based ROM. I'd do a nandroid backup, flash MOAR (it's stock-based), get a strong lock using GPS Test from the Play Store, then while it's got a lock, restart to recovery, wipe & restore.
[Sprint Galaxy S 5 Android Development] blksith0:
Anyone else having problems with Messaging Service maxing out their CPU?
[Sprint Galaxy S 5 Android Development] miked63017:
You using messaging or hangouts? Haven't had a prob with hangouts but have heard mixed reviews about messages app.
[Sprint Galaxy S 5 Android Development] blksith0:
It's the messaging app. I ended up having to freeze it and install a 3rd-party one.

Can someone enable the CPU Usage Overlay option from Developer Settings and tell me what 3 numbers appear at the top of that? (After running for about 5 min). I'm getting ~16% and not sure if that's normal for idle CPU usage on Android.
[Sprint Galaxy S 5 Android Development] R0axet:
3-2 moving apps to external SD fails

Attempted to move several apps to my 64 gig external. Fails with the message:

"Couldn't move app. Not enough storage space." I have 58 gigs free.

Apparently this is a known issue with no current work around.

Has anyone found a solution?

Thanks,

Frank
[Sprint Galaxy S 5 Android Development] haggard-zero:
Disable Lights On Capacitive Buttons ?

update... fixed...im a dumbass..... running this now after leaving moar 6.1 bc of not being able to change boot animations ... this one is smoother though i cant wrinkle out how to add sound to it.... oh well will keep looking , this is smooth as butter and if i suddemly find a use for the pedometer and heartrate sensor as well as other samsung stuff that i rarely used then i guess i can revert to moar or stock until the s6.... then repeat .... has makings of a solid daily driver and i have been doing this rinse and repeat crap since the s2
[Sprint Galaxy S 5 Android Development] R0axet:
Automatic time zone hosed

Observation - Automatic time zone fails to hold correct time zone.

Flashed 3-2.

MDT Salt Lake City here, but the defaulted selection of "Automatic time zone" adds 6 hours?

Under settings, just toggling automatic time zone from off to on defaults the time zone to GMT+00:00?

Work around is to manually set your time zone.:D
[Sprint Galaxy S 5 Android Development] miked63017:
Yeah sorry I really gotta put that in the known bugs section. I have looked around on several occasions but I am not able to find a fix ATM. This is also affecting official cm12 builds AFAIK.

I am not sure why you are having no sound, did you do a complete wipe when you flashed, including internal SD? I have not heard or had a problem with sound, other than BT related stuff.

Yeah I mentioned this a few pages back, and should probably put this in the issues post on the first page. I noticed there is something weird that samsung does in its official builds that might or might not fix this, it basically sets the time and date on every boot, feels hackish but probably better than having to manually set the time zone. I might try to add this in the next build or two.
[Sprint Galaxy S 5 Android Development] miked63017:
I will be building another sport test build today, and standard and Boost builds to follow. Will update OP when they are done, will be a few hours but I am re-syncing repos now for a clean build. Bumping version and changing name to be weekly instead of nightly since it fits the timeframe that I have been building more accurately.