yashsingh1/xdaforums huggingface dataset:
[Sprint Galaxy S 5 Android Development] miked63017:
I looked around a little, and I don't think we are using encryption. I could still be wrong and will search more but AFAIK everything is set to encryptable but not actually encrypted.

On a different note, since no baseband version is showing up in settings, I really think someone needs to try to flash the modem.img for the sport after flashing cm13. I read this suggestion for other phones in several places. It can be done via odin, using the factory image. You have to extract the factory image and find just the modem.img and flash it. You may need to recompress the modem for odin to recognize it. If you are having trouble let me know and I can probably make an odin package containing just the modem, not sure how feasible it is to make a flashable zip ATM. My thinking is that either CM messes up the modem, which happens on a lot of other devices, or the sport is very different from any other device and the new code completely breaks things. Anyway, the easiest way to test this is to flash the modem after flashing cm13, so flash like normal and reboot to download mode afterward, followed by flashing the modem.img via odin.

If the odin thing works I will try to find a way to flash the modem via recovery, but there has been mixed reviews on whether or not this works on samsungs using a custom recovery, it may only work in stock recovery.
[Sprint Galaxy S 5 Android Development] 1991mustang50:
no go on flashing modem still doesnt show up! all show good in odin! i know it easier said then done but maybe we need TWRP version: v2.8.6.0 cause ours recovery is way out of date!
[Sprint Galaxy S 5 Android Development] 1991mustang50:
logcat after flash modem via odin!
[Sprint Galaxy S 5 Android Development] miked63017:
Yeah unfortunately I was thinking the same thing yesterday
[Sprint Galaxy S 5 Android Development] miked63017:
Can anyone try this http://xdaforums.com/lg-g3/help/cm-13-mobile-network-problem-t3267849/ ?

In their original thread they said the problem was that baseband showed as unknown. http://xdaforums.com/general/xda-assist/baseband-unknown-lg-g3-d855-cm13-t3268178
[Sprint Galaxy S 5 Android Development] 1991mustang50:
I will try when I get a chance got work to do at work but I dont think it will work I think its either recovery or programing not seeing sim card and it not activating network controls! But I am not a developer!
[Sprint Galaxy S 5 Android Development] victor1g:
I don't think this'll work. The OP mentioned losing his signal, not that the SIM card wasn't being read. I guess it doesn't hurt to try

EDIT: Did not work

---------- Post added at 04:44 PM ---------- Previous post was at 04:20 PM ----------

https://forums.oneplus.net/threads/no-sim-detected-after-installing-cm13-help.420628/
[Sprint Galaxy S 5 Android Development] miked63017:
I just wanted to look for simple things to try as I do not have too much time today to either build a recovery or re-engineer the source code. I will try to make some time tomorrow morning to dig around the source code more.
[Sprint Galaxy S 5 Android Development] victor1g:
I've looked around a bit and it seems everybody is saying that we need to upgrade our recovery
[Sprint Galaxy S 5 Android Development] miked63017:
Anybody remember who built the recovery you guys are currently using? was it [MENTION=2740879]815turbo[/MENTION]?
[Sprint Galaxy S 5 Android Development] Zade_xSniper:
This is the forum:

http://xdaforums.com/sprint-galaxy-s5/development/recovery-cwm-s5-sport-sm-g680p-t2907945
[Sprint Galaxy S 5 Android Development] 1991mustang50:
Are u looking for repsitory if so its on bitbucket!
[Sprint Galaxy S 5 Android Development] miked63017:
Yes! That and I have a question about the make commands used, but I can figure that out myself with trial and error. Do you have the link?
[Sprint Galaxy S 5 Android Development] 1991mustang50:
Here u go https://bitbucket.org/1991mustang50/kltesprsports_bootable_recovery
[Sprint Galaxy S 5 Android Development] miked63017:
Hrm, I had no idea that bitbucket even supported git, I though it was mercurial only and stash was git, interesting.

Any idea where the device tree is for building the recovery?

I haven't ever built a recovery from source, just hacked together versions using prebuilt kernels and precompiled binaries lol. Do you know if you have to make recoveryimage and make bootimage for samsung devices, followed by manually merging the 2 outputs, or is make recoveryimage sufficient?
[Sprint Galaxy S 5 Android Development] 1991mustang50:
https://bitbucket.org/1991mustang50/android_samsung_kltesprsports

---------- Post added at 03:38 PM ---------- Previous post was at 03:37 PM ----------

Here's kernel too https://bitbucket.org/1991mustang50/kltesprsports_kernel

---------- Post added at 03:39 PM ---------- Previous post was at 03:38 PM ----------

But I have no idea that's why I got nowhere with hours of trying might ask [MENTION=4406894]vinman12[/MENTION]

---------- Post added at 04:24 PM ---------- Previous post was at 03:39 PM ----------

Check this out! U might understand this more or might help u?

---------- Post added at 04:25 PM ---------- Previous post was at 04:24 PM ----------

http://xdaforums.com/showthread.php?t=1943625
[Sprint Galaxy S 5 Android Development] 1991mustang50:
[MENTION=3585663]miked63017[/MENTION] really checkout that last link!
[Sprint Galaxy S 5 Android Development] 1991mustang50:
[MENTION=3585663]miked63017[/MENTION] do you still have everything for last build in the out folder? if so does that out folder get everything that get puts in it when you build cm the regular way?
[Sprint Galaxy S 5 Android Development] miked63017:
Yeah
[Sprint Galaxy S 5 Android Development] 1991mustang50:
Is there a recovery.img in there?
[Sprint Galaxy S 5 Android Development] miked63017:
I'll check, but Fwiw if there is its CyanogenMod recovery which I don't think anybody is using. A few days ago when we first brought up the old recovery I definitely made one but never posted it because I don't think anybody is using cm recovery lol. The output said it built but it was missing a recovery fstab according to the output. Made me think it wouldn't boot, and it was cm recovery so I didn't upload it. If someone can give me the fstab file/files that are there when your in recovery they would probably be good to have. Should be able to adb pull it while in recovery, after you find its location, I think its in /
[Sprint Galaxy S 5 Android Development] 1991mustang50:
here you go! i unpack our recovery and pulled it out!
[Sprint Galaxy S 5 Android Development] 1991mustang50:
[MENTION=3585663]miked63017[/MENTION] will you send me sports dt.img please

should be in out/target/product/kltesprsports
[Sprint Galaxy S 5 Android Development] 1991mustang50:
[MENTION=3585663]miked63017[/MENTION] i also found this in ramdisk/etc of the recovery.img
[Sprint Galaxy S 5 Android Development] 1991mustang50:
[MENTION=3585663]miked63017[/MENTION] any luck? i switched my os on my laptop to ubuntu! i run the build and it actually built(thanks mike). so i got everything in the out file how do i make changes and add a xml to local_mainfests? everthing shows locked!:confused:

dont bother trying to sending me anything i tried my idea off my build still no go!:(

---------- Post added at 07:46 PM ---------- Previous post was at 07:16 PM ----------

ok i figured out how to mod the files but i do i run builder to repo sync?
[Sprint Galaxy S 5 Android Development] miked63017:
Sorry have been away from my PC, should return tonight and try a recovery build tomorrow. If you make manual changes and want to build afterward, look in the build script at the docker run line. Add /bin/bash to the end of that line and it will drop you into a shell in the build environment. From there you can do all the manual steps to build, I would not repo sync if you are making manual changes it will probably fail. When your in the manual shell you can run the build manually, you can cat out /cm13/runBuild to see the commands that are ran for an automated build, basically they line up with any instructions on the net for building. If you are trying to build the recovery I would probably run something like the following in the /cm13 dir:

export USER=`whoami`
source build/envsetup.sh
breakfast kltesprsports
make recoveryimage

The export user line is because docker containers don't have that variable set by default, where most interactive linux shells already do. So its not something you usually need to do in any other build environment, but if you don't set it a few scripts will fail during the build and throw some weird error messages.

For a local manifest, take a look at the build script I have for the rpi2, and the script it runs inside docker runAOSPPiMallowBuild. It sets up a local manifest and does a few other things that the CM builds don't do. Hopefully I wrote it cleanly enough that anyone can understand it with some basic Linux knowledge.

BTW congrats on switching to Ubuntu, I encourage everyone to use Linux :). My favorite distro is OpenSuse, and its my daily driver and only OS I use on my personal PCs. I wish that I never had to switch to windows but Heimdall doesn't work for the S5 like it used to work for my S3, crazy phone utilities are the only thing I fire up a windows box for like Odin. I highly suggest giving OpenSuse a try, but any distro is usually better than windows :). Presumably you like working in the GUI, since your fresh from Windows, KDE really lets you unlock some power and is pretty user friendly(Its the default desktop for OpenSuse).

Anyway...will try to get a recovery built in the morning tomorrow, let me know if you get one working before then.
[Sprint Galaxy S 5 Android Development] miked63017:
Sorry guys, got a lot of stuff to catch up on at work, not sure when I will have a chance to dive it. If anybody has any productive merge requests I will definitely pull them in and run a build, but I don't have the time to dig around the source right now.
[Sprint Galaxy S 5 Android Development] 1991mustang50:
As far as making chances what exact file do I add /bin/bash too and do I do it before or after building?
[Sprint Galaxy S 5 Android Development] dgr581:
Got the sound also when stopping a video I was trying to record. Got a logcat, maybe it will help.
[Sprint Galaxy S 5 Android Development] Remesar:
I got that noise while in the bathroom at my office... its the sound of a million locusts attacking. Haven't gotten it since, not sure what caused it.

Battery drain seems to be a bit more linear, rather than a parabolic decay. I unplugged at 8AM, its 3PM now, have made several phone calls in the last hour and am at 63 percent. Mix of texting and browsing throughout the day. Would really like to know what causes the Miscellaneous power drain...

Biggest pain so far has been the ear piece noise cutting out during phone calls when the keypad opens. Getting around it by switching to speaker phone and back seems to work. Haven't tried to record videos
[Sprint Galaxy S 5 Android Development] miked63017:
Yeah I have had it come back once since I thought I fixed it. I did notice CM pushed a lot of changes to the Kernel build scripts, and I am thinking they are overriding a variable somewhere. Only an assumption though considering I have not changed anything in the kernel and it has been working thus far. I will try to track it down, but if I can't I might remove there changes to the kernel build system to see if it eliminates the problem.
[Sprint Galaxy S 5 Android Development] Remesar:
I haven't had it come back yet... its been 2 days, really curious as to what causes it.
[Sprint Galaxy S 5 Android Development] miked63017:
I noticed that too, it seems like something may need time to "settle in" as others have put it before for other roms and kernels. The sound has not come back for me since the first night either. I looked around a little in some of the kernel config overrides that CM recently pushed and didn't see anything that immediately stood out. Is anybody using a different kernel with this build? I am curious to know if they experienced the sound as well?
[Sprint Galaxy S 5 Android Development] Remesar:
just heard it again today while using hangouts... can I go back to the 1/12 build w/o wipe?
[Sprint Galaxy S 5 Android Development] miked63017:
You should be able to, but I haven't tested personally.
[Sprint Galaxy S 5 Android Development] miked63017:
There has been some audio related commits over the past few days, I am running another build now but most likely wont be available till morning. I was reading around and saw some people having similar sounding issues, someone suggested turning off NuPlayer in developer options. I just tried turning it off, but I couldn't tell you if it worked yet, since its such a sporadic problem that there could be days in between the noise. Anyway...will post new build ASAP.

***Update*** [MENTION=3673824]dgr581[/MENTION] also posted his logs and these few lines makes me think NuPlayer might be related:

D/NuPlayerDriver( 289): seekTo(0xb3512100) 0 ms
D/NuPlayerDriver( 289): start(0xb3512100)
I/NuPlayerDecoder( 289): [OMX.google.vorbis.decoder] resubmitting CSD
I/NuPlayerDecoder( 289): [OMX.google.vorbis.decoder] resubmitting CSD
W/SoftVorbis( 289): vorbis_dsp_synthesis returned -135
W/SoftVorbis( 289): vorbis_dsp_synthesis returned -135
I/NuPlayer( 289): audio discontinuity (formatChange=0, time=1)
D/CameraSource( 289): reset: X
I/MediaCodecSource( 289): puller (video) stopped
D/MPEG4Writer( 289): Video track source stopped
D/MPEG4Writer( 289): Audio track stopping
D/MPEG4Writer( 289): Audio track source stopping
I/MediaCodecSource( 289): encoder (audio) stopping
D/audio_hw_primary( 289): start_output_stream: enter: stream(0xb605f880)usecase(0: deep-buffer-playback) devices(0x2)
D/audio_hw_primary( 289): select_devices: out_snd_device(2: speaker) in_snd_device(0: )
W/msm8974_platform( 289): Codec backend bitwidth 16, samplerate 48000
I/msm8974_platform( 289): platform_check_codec_backend_cfg Codec backend needs to be updated. new bit width: 16 new sample rate: 192000
W/msm8974_platform( 289): New codec backend bit width 16, sample rate 192000

[MENTION=6324941]Remesar[/MENTION], [MENTION=3673824]dgr581[/MENTION] since you guys seem to be having this problem as much as me could you try to turn off NuPlayer in developer options as well and let me know if it helps?
[Sprint Galaxy S 5 Android Development] dgr581:
Will do
[Sprint Galaxy S 5 Android Development] miked63017:
So the NuPlayer thing didn't help me, but I do notice that the sound happens a lot when I have Bluetooth turned on. Still digging
[Sprint Galaxy S 5 Android Development] ToeJullar:
I haven't heard it a single time while using the 1/15 build. I test the new builds but otherwise I stick with my backup of the 1/15 build.

Edit:

Nvm, just got it again and it scared the hell out of me. The shut down and went into panic mode =(
[Sprint Galaxy S 5 Android Development] miked63017:
The 1/16 build thats in my androidfilehost works without the noise, it also has my attempt at getting the CRT animation to work, there is no link for it in OP but its the last build without the noise. I am uploading a new build now, and also flashing it, hopefully the CM team put a fix in place. Will update OP when the link is ready.

1/16 build

https://www.androidfilehost.com/?fid=95897840722644111
[Sprint Galaxy S 5 Android Development] miked63017:
New build in OP, so far so good with the noise from hell, I turned NuPlayer back on before the flash and I haven't heard it yet. I have tried everything to make it happen and so far no noise :fingers crossed:. Generally speaking the sounds sound louder and clearer and the whole system feels snappier and less laggy. I can't really put my finger on it, it just feels more solid. Please let me know if anyone else notices the noise on this one.

**Update**

2 things I noticed so far

CM camera seems to be less stable, Google camera still seems good.

YouTube does not want to play a video while active navigation in maps is on. Probably wouldn't want to watch YouTube and navigate at the same time, but just saying

Still no noise so far...
[Sprint Galaxy S 5 Android Development] miked63017:
I don't get the chance to test Bluetooth streaming usually, but I drove my wife's car today. I used spotify for about an hour, got 1 stutter each way on my trip in the same spot where I lost 4g. Not an extensive test and YMMV but a test none the less.

**Update**

Been test driving the hell out of this all day and can't make the crazy noise happen. Everything else seems fine AFAICT. Anybody else having any issues? I think I will add the AudioFX app back in on the next build.
[Sprint Galaxy S 5 Android Development] miked63017:
Off topic question: Anybody have any interest in desktop/laptop chromium os builds?

http://xdaforums.com/showthread.php?t=3012062
[Sprint Galaxy S 5 Android Development] ToeJullar:
All about that windows 10 right now man. Other than that I run Linux mint on my netbook as I learn how to use Linux more. Chromium never peaked my interest for some reason.
[Sprint Galaxy S 5 Android Development] miked63017:
Personally I am all about the Linux, its my job after all :), chromium os is basically like chrome os in developer mode, which is Linux minus X11. I have tried every version of windows except 10, honestly I lost any little bit of respect I had for windows after trying vista. Is 10 really any good? I didn't like 8, I tried to be objective but it was still a no go. With a few hours of tweaking, and installing cygwin, I can use win 7 but don't really like it. I think my biggest quarrel is that it feels like it gets in my way and I cannot be productive.

I tried chrome os when I bought my wife her chrome book and I really liked it, albeit a minimal os IMO. But things like crouton and being able to run android apps have made it feel more like home to me.

What's the big draw for you for windows 10? No trolling or anything, I promise, I just like to know what the appeal is for people toward anything tech related. For example, things you can't live without on it, why it feels like a better fit for you etc.
[Sprint Galaxy S 5 Android Development] ToeJullar:
In all honesty. 10 is windows 7 with a windows 8 theme. They did keep all the performance tweaks that made 8 good too. I've only really used Chromium OS in a school scenario so I suppose that my opinion is heavily biased on it as far as capabilities. If there is a good amount of dev work for chromium I would be willing to give it a shot. But I don't much care for the stock OS. It seems like I can get all the functionality of apps and whatnot through chrome itself already.
[Sprint Galaxy S 5 Android Development] miked63017:
You definitely could get it all in the browser. My thing with it is that you don't need to worry about user management, package management, updates etc. To me it kind of feels like the simplicity of a mobile os like android, but made for a desktop or laptop. I might give 10 a try, I gotta keep my knowledge current anyway.
[Sprint Galaxy S 5 Android Development] Remesar:
Hey Mike.

Thanks for the new build. Testing now. Haven't heard any noise but battery drain is a bit rediculous. Its predicting about 3 hours of screen time. I burned about 25% in one hour...are you seeing anything similar?
[Sprint Galaxy S 5 Android Development] miked63017:
In the docker repo look in the build kltesprsports script, that's where you add /bin/bash to the docker run command. You can do it before or after, but if you do it before you have to manually sync all the repos and everything, will be completely manual.
[Sprint Galaxy S 5 Android Development] 1991mustang50:
looks i like i am not doing anything github is down! :(
[Sprint Galaxy S 5 Android Development] victor1g:
Don't give up guys ?
[Sprint Galaxy S 5 Android Development] 1991mustang50:
[MENTION=3585663]miked63017[/MENTION] i switched to opensuse leap 42.1 i get this error "make: *** No rule to make target `/cm13/out/target/common/obj/JAVA_LIBRARIES/uicommon_intermediates/classes.jack', needed by `/cm13/out/target/common/obj/APPS/CMFileManager_intermediates/with-local/classes.dex'. " is this cause iam running java version 1.8.0.72-b15 if so can you give me a link to the java version i need thanks!:confused:

i havent gave up yet just trying to build on other linux versions kept getting errors about repo failure. i think it was timing out cause i wasnt staying there but opensuse seems better!
[Sprint Galaxy S 5 Android Development] miked63017:
That is the make failure, there is probably another error message somewhere further up in the output, sometimes they are hard to spot or happen 5 mins or so before make croaks. If you cannot find it try doing a pastebin link of your entire build output.

Opensuse is my favorite, but if you were having repo syncing issues previously I would have to say you either had really bad timing and github was down, or your ISP and/or Home Network was having problems. I would not suggest changing to any other distro, but I am biased and love Opensuse, but most likely it was a network problem before, either on your end or githubs end.
[Sprint Galaxy S 5 Android Development] victor1g:
After searching around for a while, I found out that the issue with my dialer(CM12.1) is because this phone is CDMA and I am using it as GSM with T-Mobile. The person calling me will hear a ring until it hits the voicemail but it won't alert me that they're calling me on my end. I will immediately receive the voicemail though. Also, I can't hang up calls. Apparently it all works fine when using CDMA. Is there a fix to this? It's a bummer I had to downgrade to CM11.. :(
[Sprint Galaxy S 5 Android Development] victor1g:
I searched all over and changed build.prop but apparently that only works for CDMA Global phones.
[Sprint Galaxy S 5 Android Development] Zade_xSniper:
I wish I could help you, but I don't really know much about that stuff. Which rom were you using before you switched to cm11?
[Sprint Galaxy S 5 Android Development] victor1g:
I was using CM12.1 for about a month or so before switching to CM11 about 2 days ago. I was on the stock 5.0 ROM before CM12.1. I rarely talk over the phone, so I didn't really mind the dialer not working as intended. I actually thought the only thing that was wrong with it was being unable to hang up, until I noticed a trend of getting voicemails WHILE using the phone, even though I never received a call. Long story short, I was waiting for a call 2 days ago and decided to downgrade to CM11.
[Sprint Galaxy S 5 Android Development] Zade_xSniper:
What phone do you have cause I'm sure that the SM-G860P versions won't work on a regular s5. But I'm not 100% on that
[Sprint Galaxy S 5 Android Development] victor1g:
Sm-g860p ?
[Sprint Galaxy S 5 Android Development] Zade_xSniper:
Then I'm not really sure how to help, Mike or someone else who have to help you. Sorry
[Sprint Galaxy S 5 Android Development] victor1g:
[MENTION=3585663]miked63017[/MENTION] anything you can modify to make this CDMA ROM work properly on a GSM network?
[Sprint Galaxy S 5 Android Development] 1991mustang50:
If you have the sport(sm-g860p) i not sure what u can do as its for sprint!

U can try cm hidden menu and try to change to gsm I think I don't remember the dialer code!

---------- Post added at 06:48 PM ---------- Previous post was at 06:37 PM ----------

try this go to dailer punch in *#*#4636#*#* and try to change "set preferred network type" to gsm or somthing like that and you might have to put a new apn too for data and sms to work?
[Sprint Galaxy S 5 Android Development] victor1g:
Believe me, I've tried everything.. this is definitely a bug with CM12+ because it works flawlessly on CM11
[Sprint Galaxy S 5 Android Development] Zade_xSniper:
Is there even any cm12 rom that actually has working nfc?
[Sprint Galaxy S 5 Android Development] 1991mustang50:
Not on the sport

I don't know then sorry
[Sprint Galaxy S 5 Android Development] victor1g:
Hopefully there are some under-the-hood changes in CM13 that fixes the dialer issue for CDMA phones using GSM..