yashsingh1/xdaforums huggingface dataset:
[Sprint Galaxy S 5 Android Development] miked63017:
Can somebody with the s5 sport give this a try:

Flash one of the builds, preferably test 4 or 5, wait for it to bootloop then boot into recovery and connect to a PC. Once connected:

adb shell
cat /proc/last_kmsg

And put the output of the cat command into a pastbin so I can take a look. Its possible this would contain kernel logs of the previous boot cycle which could help sort things out a little more.
[Sprint Galaxy S 5 Android Development] robak1965:
I will give it shot tonight after work, unless someone else beats me to it.
[Sprint Galaxy S 5 Android Development] Fester9977:
Great job on the build and the updates, wanted to say thanks for the efforts. Also that CM12 is working great and I have no issues day to day other then a few very minor and tolerable issues.

I have posted this question in the CM12 Dev thread and I figured I would send it up here as well. I just want to know if there is a way when using the hotspot / tether to have the NAT type set to open? I am just trying to understand if that is set by Sprint or is it something that can be changed in the hotspot during the next update or on my end. Thanks
[Sprint Galaxy S 5 Android Development] miked63017:
I am not sure if the carrier blocks NAT'ing but the only way I know of to allow it at the OS level would be to run a few iptables commands as root. Doing this would allow NAT'ing but they might need to be re-ran after every reboot. There may be an app out there to do it, I know there is a few firewall apps on the play store. AFAIK the hotspot buy default will only allow outbound traffic and response to the allowed outbound traffic. I am assuming you want to be able to like ssh to your device over the internet or similar? If I have a better idea of what your trying to do I might be able to give a better answer.
[Sprint Galaxy S 5 Android Development] miked63017:
So while troubleshooting this AOKP build I realized that during the boot animation I can open an adb shell, I was wondering if any of the S5 Sport users could give this a try? I gave it a minute and then repeatedly ran 'adb shell' until I got one open. If you can get a shell we can get some logs for sure. FWIW AOKP is a bit further away from booting than I though, getting lots of permissions errors and services dying. But at least me troubleshooting it gave me some insight on ways to troubleshoot the S5 sport probs.
[Sprint Galaxy S 5 Android Development] miked63017:
Ok I got AOKP Lollipop to boot, but I had to remove libsecnativefeature.so to make it happen which breaks RIL and audio and a few other things. This is important, but after looking around the ROM it doesn't look like AOKP Lollipop is any different from a very basic CM or AOSP at the moment. I don't think their Lollipop is ready yet, there was no pink unicorn boot animation and nothing in the ROM that would indicate an AOKP build, other than the name. Does anybody know if there are any AOKP Lollipop builds for any device? I see mention of it on their site, but can't actually find any Lollipop download links. I think I might table AOKP for a later time, or build a 4.4.4 kitkat build. Let me know if anybody finds an AOKP Lollipop build somewhere.

**Update**

Looking at the AOKP G+ community it appears the are done, or at least on Hiatus until they get a good dev to replace the one that went to work for CM :( . RIP AOKP I guess.
[Sprint Galaxy S 5 Android Development] TheChiZ:
But your CM Rom still works fine right? I got a VM Gs5 Rooted on Lollipop with Chainfire auto root, whats the best way to install your CM rom?
[Sprint Galaxy S 5 Android Development] miked63017:
Yeah its still fine. I am honestly not sure what's needed for VM to work. You should be able to flash my build from any custom recovery, just wipe everything first. Figure out what works and what doesn't and report it back here and I will try to get a fix for anything broken. AFAIK, it should just work, but may need some fine tuning.
[Sprint Galaxy S 5 Android Development] robak1965:
Well, unfortunately while I can adb shell while in the CWM recovery, this CWM recovery is not SU root enabled and all commands are permission denied. Going to need a different recovery with the correct secure setting to do this, and as of today, there is only this one CWM recovery for the Sport. :(
[Sprint Galaxy S 5 Android Development] _superman:
Still no Incoming calls :(

I'm on OA6 baseband none of the cm 12 is working for me :'( !!!
[Sprint Galaxy S 5 Android Development] miked63017:
Did you try a shell while booting the rom? You wont have root there either but you should be able to do a logcat and dmsg.

What's not working with them?
[Sprint Galaxy S 5 Android Development] robak1965:
I did try while booting also, shell does not open, just asks to authenticate on the phone, which of course is not possible.
[Sprint Galaxy S 5 Android Development] miked63017:
OK when I get back I will look into what allowed adb without auth for AOKP, and try to put that in the sport build temporarily so we can get some logs
[Sprint Galaxy S 5 Android Development] JasonKnight:
I don't know about anyone else but on the 2/14 build I can't hear the person who called or called me unless they are on speakerphone on my 5S
[Sprint Galaxy S 5 Android Development] 815turbo:
[MENTION=3585663]miked63017[/MENTION] email me the s5(most recent working), and s5 sport kernels, please. I don't have enough data left to download both full ROMs. ekylypse [at] your favorite gmail provider. I'll see what I can do.
[Sprint Galaxy S 5 Android Development] miked63017:
Will do, at the hospital all day today though . will send them when I get a few mins in front of the pc
[Sprint Galaxy S 5 Android Development] SeanRinVA:
I haven't used AOKP for quite some time, but I'd be interested. I'm on an SM-G860P.

In the mean time, I'm going to give this CM12 a go.
[Sprint Galaxy S 5 Android Development] stanggt1313:
I'm on the 2/14 release and am having issues with the clock as well. As a side note I posted issues with MMS a couple days ago and it appears to have resolved itself so it must have been a sprint issue after all. Thanks for your hard work. Very stable so far!
[Sprint Galaxy S 5 Android Development] miked63017:
AOKP appears to be dead :(

Sport build is not booting yet, but still being worked on. Please hold tight, unless you would like to attempt to grab some logs, but keep in mind that nobody has been able to get it to fully boot yet. I don't have the device so its a little slow going passing info back and forth via xda.

Glad you are liking it, and got the issue resolved. I always use google hangouts instead of the built in messages app, I have not had a problem with it so far but if Sprint is screwing up obviously they pass that problem down to all users :).

I do have some plans in the pipeline, I have been wanting something different and that is why I was wanting to build AOKP. Since AOKP seems to be dead, I am thinking I will just make something different. It's probably a few weeks away, but it is in the works. For a little hint of what I will be trying to do, I always found this appealing. It never got off the ground, but I really like the idea of having my phone be a portable pc and just being able to plug it into a monitor to change the way it behaved. I have always been a fan of OpenSuse, so I will probably start there but Ubuntu would not be out of the question. I am thinking android in phone context, OpenSuse(either lxQT or enlightenment) in desktop monitor context, and XBMC maybe for TV context. Work is just beginning on it so no guarantees but it seems like something I would like to use, and hopefully you guys will too. I got a few HDMI adapters for my s5 from ebay for real cheap, anybody that intends to give it a try if and when its ready I suggest ordering one, its handy to have even if this new project of mine completely vaporizes.

Thoughts?
[Sprint Galaxy S 5 Android Development] Remesar:
lots of wake ups from

com.android.server.WifiManager.action.START_SCAN whenever WIFI is on. I'm wondering if it is possible to increase that interval, or find out what app is calling the startScan() API ... probably something in google :)
[Sprint Galaxy S 5 Android Development] miked63017:
Just sent a few your way, any help would be appreciated. I am pretty good at scripting so even if I have to set something up outside the standard build env I can still get it into my scripted builds, just lemme know what you think needs to be done.
[Sprint Galaxy S 5 Android Development] miked63017:
Yeah I noticed that too back when I was trying to troubleshoot battery usage, I thought about changing the interval but fixing a few other things seems to help the battery usage alot. If you guys think adjusting the scan time would help just lemme know.
[Sprint Galaxy S 5 Android Development] SeanRinVA:
No worries with AOKP being dead.

I'll wait the S5 Sport edition of CM12 is ready to be a daily driver.

Not sure how I feel about either Ubuntu phone or OpenSuse phone.
[Sprint Galaxy S 5 Android Development] Remesar:
Oh yeah dude. Please increase that scan time. Was at like 60 wake ups an hour from android system because of that. Maybe scan once every 10ish minutes. 5 minutes maybe. I think its doing one a minute now.
[Sprint Galaxy S 5 Android Development] miked63017:
Well its not really Ubuntu phone, its Ubuntu for android. Looking at the phone would be CyanogenMod, when you plug it into an external display would be the only time you would notice anything different. You would see either XBMC or a full Linux desktop on the external monitor. I tried Ubuntu phone and didn't really like it, this was a completely different project that failed to raise enough money on its kickstarter campaign.
[Sprint Galaxy S 5 Android Development] miked63017:
New builds on OP, sorry no test build for the sport on this round, and the request for bumping the wifi scan interval will be in the next one. This is one I ran this morning after tweaking a few things to get ready for my next project.
[Sprint Galaxy S 5 Android Development] miked63017:
I will take a look when I get to a PC, not sure why its needed in [MENTION=1167226]vinman[/MENTION]'s build but AFAIK all root apps work fine and its not needed in my cm build. If you are getting kernel panics a lot it may be related, I have only gotten 1 since the day before I posted my first build.
[Sprint Galaxy S 5 Android Development] T3chMan1:
Cyanogenmod has always been bad with battery consumption.
[Sprint Galaxy S 5 Android Development] ToeJullar:
Finally a stable well rounded CM rom for GS5 that is not only working flawlessly, but is running the most up to date android version and was 1/8th the size of most other roms for this phone. Much Appreciated OP and sources. :highfive:
[Sprint Galaxy S 5 Android Development] Prince_Basil:
I just got this also...

I'm gonna download the other version and flash all over. This time, I won't flash the third zip.
[Sprint Galaxy S 5 Android Development] ToeJullar:
Not sure if it is known, but screenshot button combo doesn't work. (Power + Home). Gonna look for a .zip with screenshot function to flash.
[Sprint Galaxy S 5 Android Development] miked63017:
I was not aware of the screenshot thing, but I have honestly never tried to take one. Looks like there is quite a bit of commits upstream over the last couple days, including some su changes. I will try to merge in their changes to android.git, the rest should come down automatically, and do another build later today. Maybe the commits will help with some probs, although I didn't see any messages specifically regarding the camera or the screenshot functionality, although it does look like there were some changes for our chipset.

As a side note, I did see mention that screenshot in CM12 is Power + Vol Down + Home, but I couldn't get it to work either.
[Sprint Galaxy S 5 Android Development] Prince_Basil:
To take a screenshot, you press Power + Volume Down. It will take a screenshot for you.
[Sprint Galaxy S 5 Android Development] miked63017:
You are right sir!! I wasn't holding it long enough I guess lol.

Starting build now, assuming there are no errors I should have a new zip up in about 2-3 hours.
[Sprint Galaxy S 5 Android Development] ToeJullar:
Thanks, forgot CM changes the bindings.
[Sprint Galaxy S 5 Android Development] miked63017:
New Build in OP, should include all of these changes http://review.cyanogenmod.org/#/q/status:merged+branch:cm-12.0+-age:3d,n,z
[Sprint Galaxy S 5 Android Development] Prince_Basil:
Can we flash this over the 12/30 build?
[Sprint Galaxy S 5 Android Development] miked63017:
Should be able to, however I am unsure if you will need to reflash gapps. In my experience sometimes you do and sometimes you don't. If its not working I will have to do some work on the updater script part which makes it harder to keep in sync with upstream cm. Let me know if gapps sticks for you or if you need to reflash, I will fork the repo and do the updates if need be.
[Sprint Galaxy S 5 Android Development] _superman:
Still have that bug :'(

Incoming calls not working
[Sprint Galaxy S 5 Android Development] ToeJullar:
Idk if this is an overall CM12 bug (or Android L bug) but I can't use my Micro SD to store Apps/Android Data. The phone views files, pictures, and videos on there fine, but Moving apps or anything else results in

"Couldn't Move app. Not Enough Storage Space"

I have 20 GB available so It's not the Capacity. Not a huge issue, but It's one I have noticed.

Yes, ReFlash Gapps. Tried without and you get spammed popups about GooglePlay Services and tons of other Google Errors.
[Sprint Galaxy S 5 Android Development] miked63017:
I heard about the SD thing, and it kind of sounds like a permissions thing, but honestly my last SD card went corrupt last week and I haven't looked into the problem at all. I will try to make time to look at the updater script today, I have ran into the problem before on other cm builds and it wasn't that hard to fix, I just don't remember off hand how to do it. If I find it today I will try to put up another build to test.
[Sprint Galaxy S 5 Android Development] miked63017:
What exactly is not working about them? Nobody else is reporting this, and I have been using this rom as my daily driver and have made and received phone calls daily. Please let me know what you are experiencing.
[Sprint Galaxy S 5 Android Development] miked63017:
I think I have a fix for the updater script, building a new build now, should be up in OP in a few hours.
[Sprint Galaxy S 5 Android Development] miked63017:
Posted new version in OP, no need to reflash GAPPS when updating from one of my previous builds. Re-tested incoming calls from several phones and in several levels of service, no problems AFAICT. The phone rings and I can answer, not one call didn't ring through. Next build I promise to bump the version number up lol
[Sprint Galaxy S 5 Android Development] ToeJullar:
Still having the same issue with SD after flashing the new build. Still, everything else works flawlessly. I really appreciate the day to day updates OP.
[Sprint Galaxy S 5 Android Development] miked63017:
I still don't have an SD to test :(, but I will dig around tomorrow and see what I can find. Also want to work on OTAs.
[Sprint Galaxy S 5 Android Development] Remesar:
Thanks for the new build! Testing it
[Sprint Galaxy S 5 Android Development] Remesar:
Oh man! don't flash the latest build! Bluetooth is totally hosed, keeps crashing on me even with a clean install.

2-14 build was probably one of the most stable/best.
[Sprint Galaxy S 5 Android Development] miked63017:
Sorry to hear its crashing on you. O haven't tested BT at all yet this build, is there something specific I can try to make it crash?
[Sprint Galaxy S 5 Android Development] miked63017:
I meant to put this here too, and I'll probably jinx it by saying this but, for anyone having time problems I have time zone manually set and date and time on automatic. It hasn't changed on me yet for a few days now.
[Sprint Galaxy S 5 Android Development] miked63017:
[MENTION=2740879]815turbo[/MENTION] any ideas yet?
[Sprint Galaxy S 5 Android Development] Remesar:
I didnt' have to do much. I was working when I noticed my watch disconnected from BT (an hour or so after updating). Looked at my phone saw that BT was off, went to turn it back on, wouldn't turn on. Rebooted, still wouldn't turn on, Bluetooth Share was crashing. Decided to do a clean install. Cleared the partitions cache, dalivk. and installed the new build. Booted and when it got to the setup screen where it asks to connect to WIFI I got a message saying bluetooth share has crashed. Rebooted again, same message. Cleaned again and went back to old build so I have functional phone for work (Don't like to cut into work time when my work time gets hampered you guys don't get CPUs that you so dearly love).
[Sprint Galaxy S 5 Android Development] miked63017:
Yeah look at that, I can't turn it on at all either. I turned off "paranoid networking" in the kernel so not sure if that's related, I will turn it back on on the next build.
[Sprint Galaxy S 5 Android Development] Remesar:
What is paranoid networking?
[Sprint Galaxy S 5 Android Development] Fester9977:
I am trying to use the hotspot with my PS3/ PS4 and I am getting a NAT type error. I want to get it opened up so I am able to use voice while gaming.
[Sprint Galaxy S 5 Android Development] 815turbo:
Mike, i emailed you, but i had a minute so I threw together a kernel zip. anyone on the Sport:

1. Download Attached ZIP

2. Flash Mike's Sport ROM(any version)

4. DON'T REBOOT

5. Flash Downloaded ZIP (cm12sportkerntest.zip)

6. Reboot.

Note, this is a TEST. It may not work. Please keep your backups.
[Sprint Galaxy S 5 Android Development] 815turbo:
I've heard this doesn't work. I'll look a bit more.
[Sprint Galaxy S 5 Android Development] miked63017:
Honestly not 100% sure but i know it makes using network sockets more strict.

I have heard that with some consoles you turn off auth, does it connect at at all as is? Try running it open with no password.

Appreciate the help, still back and forth to the hospital, my wife should be coming home tomorrow and I should have more time to look this weekend. I think our best bet is to run an open adb so we can at least get a little debugging.
[Sprint Galaxy S 5 Android Development] sickfate7:
No SuperSU

Hi, when I flash the cm12 rom i don't have superSU anymore. Can anyone tell me why this is and how to fix. Thanks
[Sprint Galaxy S 5 Android Development] miked63017:
Look in settings->Developer options->root access. You should be able to set it there without any extra apps needed.
[Sprint Galaxy S 5 Android Development] 1991mustang50:
cm12 sport

Yeah not working hanging s5sport screen. Thanks for helping

---------- Post added at 10:54 PM ---------- Previous post was at 10:48 PM ----------

Mike i too am back and forth to hospital and workhad baby too and hes in the nicu and will be for weeks to come. He was born eight days ago. So i know how u feel. i was able to contribute some to cm11 for sport but with the baby i just d9nt have much time but i can try to help when i do get a chance
[Sprint Galaxy S 5 Android Development] miked63017:
Well I wish him the best and I am sorry to hear he is in the icu, luckily my son seems to be 100% healthy so far just the standard few days for observation.

I don't know the details, and i am not a doctor so i cant really speculate. But I have always been under the belief that what doesnt kill us makes us stronger. With that said I am sure you and him are troopers and will come out even stronger.

I can't do much across the internet but let me know of there's anything I can do to help. You guys are in my prayers.
[Sprint Galaxy S 5 Android Development] 1991mustang50:
He in the nicu because he wanted to come out 3 months early but he doing really good thank
[Sprint Galaxy S 5 Android Development] sickfate7:
I'm running the 2/14 built and YouTube isn't able to play videos. Is this related to the ROM and is there a way to fix this? Thanks.
[Sprint Galaxy S 5 Android Development] miked63017:
Did you wipe everything before flashing? My daughter uses my phone all the time to watch YouTube so I don't think its ROM related. What errors are you getting?
[Sprint Galaxy S 5 Android Development] sickfate7:
Yes I wiped everything before flashing. It keeps saying "there was a problem while playing."
[Sprint Galaxy S 5 Android Development] miked63017:
Try changing the resolution for s + g's. I just checked to make sure, I can play at all resolutions, maybe its specific to the video your playing or possibly a network problem like FW or MITM of some sort. Try on WiFi and LTE, do they both have the same prob?
[Sprint Galaxy S 5 Android Development] 1991mustang50:
Hey [MENTION=5509823]Mike63[/MENTION]017 and [MENTION=2740879]815turbo[/MENTION] I wonder if the G860pvpu1ank2 update that the sport got may have to do with problems we are having. What is everyone coming from when flashing sport build or if someone that has the sport Odin back to ng3,& recovery androot ,then flash the sport build? I would but at hospital without laptop.
[Sprint Galaxy S 5 Android Development] robak1965:
I've tried ng3 and nk2, no change.
[Sprint Galaxy S 5 Android Development] 1991mustang50:
Thanks for trying did u try spor build+kernel or just build. I wonder if flashing 900p build(might have to remove some scriptif possible), gapps,then kernel. [MENTION=3585663]miked63017[/MENTION] is it possible to do this and is there part of the script we must modd?
[Sprint Galaxy S 5 Android Development] miked63017:
You would have to unzip it, add kltesports to the edify script and then re-zip. Honestly, I forget which bit one of the tests I put up was just the standard s5 build with a sport kernel.

Once I get back in the swing of things I am going to build the sport kernel from Samsung source and try to bundle it into a build.

Sorry for the delays guys just got a lot going on.

I did find a new firmware for the s5 Bluetooth chip too, from chromium, that I would like to try also. Its just a matter of making some time...
[Sprint Galaxy S 5 Android Development] magoo5289:
Looks like we might get offical nightlies back in the form of klte tomorrow

http://review.cyanogenmod.org/#/c/89579/
[Sprint Galaxy S 5 Android Development] miked63017:
That change is for klte-common, so it should still be a kltespr specific build since all klte variants pull in common. That's good news though we might get more upstream patches specific to kltespr.
[Sprint Galaxy S 5 Android Development] magoo5289:
Some of the new commits have me thinking it's back to being a unified build which would explain why the CM12 kltespr official builds have disappeared. I'll give it a go once the new official nightly is compiled to confirm my theory.
[Sprint Galaxy S 5 Android Development] biship:
Does the kernel on this ROM work with /cache as F2FS?
[Sprint Galaxy S 5 Android Development] magoo5289:
Nope that did not work. Still no sprint nightly through official CM12. Same behavior as the older builds. Sorry to derail the thread haha
[Sprint Galaxy S 5 Android Development] miked63017:
Sorry not really sure, I think you can use the ktoonz kernel if needed though.
[Sprint Galaxy S 5 Android Development] doubledragon5:
Question I downloading the Sport test 5 file to try.. Do you have to download gapps to? and does it come with a kernel already.. Sorry if these are dump questions..
[Sprint Galaxy S 5 Android Development] 1991mustang50:
It doesnt work i wouldnt try it has kernel built in but having problems with booting
[Sprint Galaxy S 5 Android Development] miked63017:
Will try to put in some time tomorrow and get a new test build up for the sport, and new builds for the regular.
[Sprint Galaxy S 5 Android Development] miked63017:
New builds in OP, new sport test build is still building and should be up sometime today.
[Sprint Galaxy S 5 Android Development] dricacho:
Is bluetooth working any better with AO6 firmware?