yashsingh1/xdaforums huggingface dataset:
[Sprint Galaxy S 5 Android Development] vinman12:
NVR=never

Have you tried different recovery twrp
[Sprint Galaxy S 5 Android Development] 1991mustang50:
I was think recovery might be a problem cause the sports is an old cm because that's only that thing been built and that was back cm11 or 10. I never could get anything built when I tried!

---------- Post added at 01:21 PM ---------- Previous post was at 01:18 PM ----------

Sport cm recovery version 6.0.5.1
[Sprint Galaxy S 5 Android Development] vinman12:
Could be. What about your toolchain,

---------- Post added at 04:28 PM ---------- Previous post was at 03:34 PM ----------

Is this kltekdi
[Sprint Galaxy S 5 Android Development] miked63017:
Kltesprsports, using my device tree from cm12, ported all patches to clean cm13 source. Haven't had a ton of time to look through the logs, but it was looking like an audio driver was causing a kernel panic. If you scroll back a few posts I have a repo with my build that runs in docker, it also has a kltespr build and an rpi2 aosp build script. They all run in a docker container but if you look at the script you can find the corresponding manifest repo if you wanna poke around.
[Sprint Galaxy S 5 Android Development] 1991mustang50:
I pretty much gave up on trying to building for the sport I couldnt even get official s5 cm12 to build . that's why I am trying to help [MENTION=3585663]miked63017[/MENTION] with pulling logs as much as I can.

you can take a look at my logcats if you want and give mike some pointer being you have vm13 built for s5. if you have free time might try to flash mikes regular s5 build to see if its all good!

here the linkhttps://www.androidfilehost.com/?fid=24351979186683954
[Sprint Galaxy S 5 Android Development] miked63017:
I don't think this is going to fix the problem, but I built this s5 sport build the other day, so its worth a test. I think I see the issue, it looks like selinux or seandroid(whatever its called on android) is blocking rmt_storage from reading some partitions. It fails early and kills a bunch of other procs, possibly causing the entire init to fail. I am going to try to find where its perms are set and get another build up soon.

In the meantime if you could test the build above it would be appreciated, assuming it still bootloops it will rule out a few things for me that I suspect were false positives.

I wanted to also ask, when you dirty flash next time can you wipe the dalvik too, I seesome dalvik errors, but I suspect they are also false positives.
[Sprint Galaxy S 5 Android Development] miked63017:
If anyone currently has cm12 installed on their s5 sport, can you find rmt_storage file on the device and post it here?

can run:

find / -name rmt_storage

in adb shell to find it
[Sprint Galaxy S 5 Android Development] 1991mustang50:
here you go! [MENTION=3585663]miked63017[/MENTION]

if something doesnt queit look right let me know this is my work computer on windows that i install adb on. ihave been using my home computer that running linux!

i flash you new build when i get a chance!
[Sprint Galaxy S 5 Android Development] Zade_xSniper:
I'll try flash the new build when I get out of school
[Sprint Galaxy S 5 Android Development] miked63017:
You might have to run it as root, I need the actual file though not just the output of the find command. So after find finds it do an adb pull of that file and upload it. I don't think I am using a bad copy of it, but trying to rule out that possibility by getting a known good copy from someone. rmt_storage is the service that keeps dying, and could possibly be causing the bootloop, I think I am using the same one from my previous cm12 builds but was unsure so wanted to grab a copy from someone. I honestly think its dying because vold is getting selinux denies for accessing one of the partitions, I believe /efs but could be wrong.

[MENTION=4406894]vinman12[/MENTION] , you get a chance to look at any of those logs? If you have any input that could help it would be appreciated.

BTW I still haven't had a chance to flash the first kltespr build lol, so if anybody has a few mins to test that please lemme know.
[Sprint Galaxy S 5 Android Development] 1991mustang50:
here you go! the text is my adb log and the other is the file i pulled that i got from adb log! let know if this is it or not! if its not let me know what i did wrong thanks!
[Sprint Galaxy S 5 Android Development] Zade_xSniper:
I need to learn how to do this lol
[Sprint Galaxy S 5 Android Development] miked63017:
Thats what I needed, thanks!

I got a build uploading now, should be done soon, obviously it doesn't include this but I will add this on my next build.

The build uploading now has a few permissions changes, and I would really be interested in seeing the same logs you have been providing if you have the time to do so. Will post a new post when its done.
[Sprint Galaxy S 5 Android Development] 1991mustang50:
Did u add it to where I can pull logcat without dirty flashing?
[Sprint Galaxy S 5 Android Development] miked63017:
Also [MENTION=4378723]1991mustang50[/MENTION] if you are really interested in building don't give up. I would strongly suggest using docker to build, its easier than trying to make your daily driver system into a build system and maintaining all deps to keep it working. Docker is a great tool, and IMO a little easier to work with than doing things in a VM, plus its version controlled. IDK if you looked at the link to my repo, but I have a docker image that would serve as a good starting point to any CM build: miked63017/cm13 its on docker hub. If you want directions on how to use it I can walk you through it, its pretty easy and all the needed build dependencies are already installed and setup.
[Sprint Galaxy S 5 Android Development] miked63017:
New build here

Made a few things permissive, may not be super secure in the long run, but will hopefully get things working and we can go from there.
[Sprint Galaxy S 5 Android Development] miked63017:
No I couldn't find how to do that, though admittedly I didn't look too hard since you already figured out a way to do it(by dirty flashing). I think once we get past the bootloop things will be a lot easier to troubleshoot without dirty flashing.
[Sprint Galaxy S 5 Android Development] 1991mustang50:
here you go! still boots then bootloops! you disabled the setup part by the way! still not enough time to enable adb had to dirty flash over clean cm12 without gapps!
[Sprint Galaxy S 5 Android Development] miked63017:
Alright I think I see the problem now, probably wont have time to fix and build today, but I think we will get a lot further tomorrow. Does anybody have a download link to the sport factory firmware?
[Sprint Galaxy S 5 Android Development] Zade_xSniper:
https://www.dropbox.com/s/y8rtm9kx4brexm3/Flashing Stuff.rar?dl=0

It's in the .rar

"G860PVPU2BOC5_G860PSPT2BOC5_G860PVPU2BOC5_HOME.tar.md5" is the name of the file
[Sprint Galaxy S 5 Android Development] miked63017:
Thanks, errors show some missing libs so hopefully I will find the in there, if not will try to sub in the lib from kltespr.
[Sprint Galaxy S 5 Android Development] Zade_xSniper:
Ok, that file also has everything for lollipop on our phones. So anything you need is most likely in there
[Sprint Galaxy S 5 Android Development] 1991mustang50:
[MENTION=3585663]miked63017[/MENTION] there's also this site for open software! http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=Sm-g860p

---------- Post added at 08:07 PM ---------- Previous post was at 08:05 PM ----------

Boh1 is the latest on there!
[Sprint Galaxy S 5 Android Development] victor1g:
Really wish I could help. Unfortunately I do not currently have access to a computer!
[Sprint Galaxy S 5 Android Development] miked63017:
Sorry guys samsung-firmware.org tries to charge me to download and the opensource site takes all day for a download. I am downloading from the dropbox link and samsung opensource at the same time, but both of them look like they are gonna take all day. I have a copy of NG2 on my HDD so I am going to use that, and possibly use one of the newer ones for a later build. Will hopefully have another test build up in a few hours.
[Sprint Galaxy S 5 Android Development] Zade_xSniper:
I won't be able to test till I get out of work

---------- Post added at 09:20 AM ---------- Previous post was at 08:27 AM ----------

The download is fast for me, not sure why it'll take a long time for you to download it

https://gyazo.com/ab284c8e1f1ff5a20fec8e9036f05dca
[Sprint Galaxy S 5 Android Development] miked63017:
Not sure, my repo sync is taking forever today, maybe ISP problems. I have 100m down usually so it shouldn't be an issue unless the cable co is having probs.
[Sprint Galaxy S 5 Android Development] miked63017:
New build here here
[Sprint Galaxy S 5 Android Development] Zade_xSniper:
Gonna make a backup first and then I'm gonna test it. (I don't know how to pull logs tho)

---------- Post added at 06:51 PM ---------- Previous post was at 06:07 PM ----------

It was booted up for a little bit, I almost got to turn on wifi before it rebooted. After it rebooted I was able to turn on wifi, but couldn't do to much before it rebooted once more. I'd like to help with the logs, but as I said before, I just don't know how.

--Edit--

I forgot to mention, it's not detecting my sim card
[Sprint Galaxy S 5 Android Development] 1991mustang50:
getting closer! but the same :( logs below if i am reading right look there is still 1 lib missing/not right? am i right?

look up how to install adb for what ever os(win,linux,etc) it really easy i can tell you how to pull and what comands to use!
[Sprint Galaxy S 5 Android Development] Zade_xSniper:
Maybe Sunday I'll pm you for some help, I'm just gonna be too tired tomorrow.
[Sprint Galaxy S 5 Android Development] Zade_xSniper:
Anyone know what this star on the notification bar next to the alarm means? It just randomly showed up when I restored my backup
[Sprint Galaxy S 5 Android Development] victor1g:
You're in priority mode
[Sprint Galaxy S 5 Android Development] Zade_xSniper:
Wtf is that lol?

--Edit--

Never mind lol
[Sprint Galaxy S 5 Android Development] victor1g:
You're in the second toggle

Edit: Didn't read your edit.
[Sprint Galaxy S 5 Android Development] Zade_xSniper:
Lmao
[Sprint Galaxy S 5 Android Development] miked63017:
I don't see the logs attached, can you re-upload?
[Sprint Galaxy S 5 Android Development] 1991mustang50:
sorry must of been dropped when i edited that post. but like i said looks like missing one lib am i right?
[Sprint Galaxy S 5 Android Development] 1991mustang50:
[MENTION=3585663]miked63017[/MENTION] how is it looking?

and if you get a chance would send me pm of a detail how to build of cm13 via docker be trying to figure it out and not geting anywhere. and when you need to modify stuff where do u do that at?
[Sprint Galaxy S 5 Android Development] miked63017:
Yeah as far as I can tell its dying here on this lib: libgps.utils.so

That is a similar error to the last build, just a different lib. Hopefully this is the last one that chokes the system, going to adjust and run a new build now.
[Sprint Galaxy S 5 Android Development] miked63017:
I would rather just do it here if you don't mind, maybe it will answers questions other had as well. So it should be setup that you just clone the repo, and then run the script for your device build-kltespsports. That script should do everything.

As for making changes...that is a complex question on its own, even outside of building in docker. I would suggest forking the manifest repo, then making your changes there and passing it in as the build manifest to the docker build script. If you open one of the build- scripts in a text editor you can see where the manifest repo is set, the CM build system uses that to pull in a bunch of other repos and then runs the build.

If you only want to make changes locally, you can change the docker run command in the build script by adding /bin/bash at the end instead of runBuild. This will make docker open up an interactive shell rather than running the scripted build. If you do this before you run the build you will have to do all the steps in runBuild manually, if you do it after you have already ran the build then at least the repos will already be synced for you.

My workflow is usually:

Make changes to any repos or source code included in the build

Commit and push those

Run the build script for appropriate device

Upload or copy and output files you want to keep

Run cleanup script

start over

This workflow takes a little while, but ensures a clean build everytime, you could skip the cleanup part and rebuild over and over again without cleaning. Also, if you skip the cleanup you could make changes either inside the docker container by making it run /bin/bash or inside the out dir from your host system.

I can get into more detail if you are running into a specific issue, just let me know.
[Sprint Galaxy S 5 Android Development] miked63017:
New build here

Added more libs and a few conf files
[Sprint Galaxy S 5 Android Development] 1991mustang50:
i am new to docker i installed it on my computer and setup a docker hub account and limked it to git hub . What do you have to do or commands have to make to pull repositories from github and build? thanks

downloading and will try to flash and grab log if needed i am still at work try to do it in my down time!
[Sprint Galaxy S 5 Android Development] victor1g:
Status bar does not show quick toggles. It shows notifications and brightness adjustment

Cellular network does not work

WiFi scanning works. Connecting to a network does not.

Camera works

*Will use as daily driver once cellular network and WiFi is fixed
[Sprint Galaxy S 5 Android Development] miked63017:
git clone https://github.com/Androiddork/cm_docker_builder.git
cd cm_docker_builder

start build

./build-kltesprsports

After that the flashable zip will be in the out directory, one of the last lines of output should show you the path

If you look in the script build-kltesprsports you can add /bin/bash to the end of the docker run command and it will put you in a shell inside your build env. From there you couls make manual changes and rebuild, without pushing to a repo.

After your all done cleanup the out dir

./cleanup

Then the next time you run it it will be a clean build everytime

One of my favorite things about it is that your starting with a clean build box everytime, and that you don't have to worry about breaking build dependencies on your main machine by adjusting things for a different project. I build alot more than just CM from source so it has been a problem for me in the past...
[Sprint Galaxy S 5 Android Development] miked63017:
Well its booting at least I take it?

Will look into the network problems, hopefully someone can post some logs again, I'm looking at you [MENTION=4378723]1991mustang50[/MENTION] :)
[Sprint Galaxy S 5 Android Development] vinman12:
Tiles are a bug in cm13 nightly today.

Its due to commits regarding tiles on a secure lockscreen.

Revert this and test. http://review.cyanogenmod.org/#/c/128300/
[Sprint Galaxy S 5 Android Development] 1991mustang50:
Boots and stays but not reading sim card! logcat below what else do u need!:D
[Sprint Galaxy S 5 Android Development] 1991mustang50:
WiFi connect I am on via WiFi on cm13

---------- Post added at 02:24 PM ---------- Previous post was at 02:11 PM ----------

@miked63017 let me know what else you need by 2:45 I will check then and then o will go back to cm12 OR I try to pull later cause i need my phone back to usable before my travel home in this weather!
[Sprint Galaxy S 5 Android Development] miked63017:
Looking through the logs now, but can you get /data/tombstones/tombstone_00 along with the dmesg and kmsg you were getting before. The cell network may be a tricky one to track down, hopefully I can get it figured out. In CM12 with the changes I made cell service just worked, so have to dig around and see what I can find. If you have time try turning the cell service on and off after it boots so I can see it in the logs, also dig around in settings and see if anything stands out as looking obviously wrong.
[Sprint Galaxy S 5 Android Development] miked63017:
Thanks [MENTION=4406894]vinman12[/MENTION], hopefully they will revert that commit themselves for tomorrow. I am going to focus on getting cell service up for now and worry about the tiles after that. Anything you can think of that would cause the sim to not be recognized? I briefly recall having a similar issue on kltespr in the early days of cm12 but I don't remember what the fix was.
[Sprint Galaxy S 5 Android Development] vinman12:
Got to think its a ril related, I believe there is a fix for that somewhere, check ril version also in system_prop I think its needs to be to

ro.sec_ril.version=50 or check github for shim library I no a lot had to be done for sim card on a lot of the S5 devices when we started building cm13.
[Sprint Galaxy S 5 Android Development] 1991mustang50:
i pulled afterreboot and toggled network if i go into it it grayed out and toggles back off!
[Sprint Galaxy S 5 Android Development] victor1g:
Well, to be fair, I only had about 5 min or so to test. It could've just been that the sim card wasn't recognized, as stated above, and I didn't get a warning that stated so, as I usually get when it isn't detected. The WiFi kept reconnecting but maybe that was just my own WiFi acting up? since it worked for 1991Mustang
[Sprint Galaxy S 5 Android Development] 1991mustang50:
[MENTION=3585663]miked63017[/MENTION] & [MENTION=4406894]vinman12[/MENTION]

heres the rest!:D and for what its worth notice under about phone it so bandbase unknown!
[Sprint Galaxy S 5 Android Development] miked63017:
Thanks guys, will dig through the logs and look at a few other devices. Done for today though, will pick up in the morning
[Sprint Galaxy S 5 Android Development] 1991mustang50:
mike will you push your fixes that you have so far to git so i can try something? :D

man you doing that docker build makes that so easy thanks:good:
[Sprint Galaxy S 5 Android Development] miked63017:
All changes I have are already pushed. If you find anything good let me know, or do a pull request if its a repo I maintain.
[Sprint Galaxy S 5 Android Development] 1991mustang50:
Noticed that the system.prop on kltespr had a line that kltesprsports didn't have.
[Sprint Galaxy S 5 Android Development] miked63017:
Looks like the only thing still crashing in the logs is NFC, I am going to leave that alone for now because I don't think it ever worked in cm12 either(correct me if I am wrong). I pulled in a lot of changes that were committed upstream for cm13 on kltespr, and adapted them to kltesprsports. Running build now, should have a new one up in a few hours.
[Sprint Galaxy S 5 Android Development] Zade_xSniper:
NFC has never worked ?
[Sprint Galaxy S 5 Android Development] victor1g:
Hanging up calls in CM12 never worked with the stock dialer.. is that something you can maybe look into in CM13?
[Sprint Galaxy S 5 Android Development] 1991mustang50:
works here what build you on ?
[Sprint Galaxy S 5 Android Development] victor1g:
There you go
[Sprint Galaxy S 5 Android Development] miked63017:
Latest build here
[Sprint Galaxy S 5 Android Development] victor1g:
Think you fixed the sim card detection?
[Sprint Galaxy S 5 Android Development] miked63017:
Possibly, I pulled in a lot of changes that CM made to RIL and a few telephony ones. Also I put the setup back, and probably a few other small changes I don't recall ATM. Cross your fingers and flash lol
[Sprint Galaxy S 5 Android Development] victor1g:
Status bar fixed. Sim detection was not, unfortunately.
[Sprint Galaxy S 5 Android Development] miked63017:
Alright, will wait for more logs to look around for anything else I can find, thanks for testing
[Sprint Galaxy S 5 Android Development] miked63017:
I know this is a different phone, but this forum post is interesting. I wonder if we need a new recovery for the sport.

NM thats probably not the issue since I don't think a modem is being built and flashed here. Though it would be interesting if one of you guys could try to reflash your modem.img,using odin or dd, after flashing cm13.
[Sprint Galaxy S 5 Android Development] victor1g:
Actually, never mind. The status bar only showed the quick toggles when I dirty flashed it. It doesn't when it's clean flashed. The SIM still isn't recognized in a clean flash tho. That's going to be a pain in the ass to get. Nobody gives the SM-G860P any love :/

EDIT: Nevermind AGAIN. The toggles seem to suddenly start working after a while o.o

EDIT #2: The camera app is really ****ed up. It's sluggish and it's adding a lot of nonsense on top of the actual image

---------- Post added at 05:23 PM ---------- Previous post was at 05:02 PM ----------

I can flash it if you give me the file
[Sprint Galaxy S 5 Android Development] 1991mustang50:
same here logs below:D
[Sprint Galaxy S 5 Android Development] miked63017:
If you have a minute, can you turn off NFC and Location services, then try to toggle cell service radio on and off a few times. One of your previous logs has some of the info I was looking for, but not these ones. I am looking in the logcat files specifically, for a string "phoneSubId". I am pretty sure I found what is causing the problem, but not sure how to fix it yet. I tried reverting the telephony libraries to a commit before the change, but that breaks everything else lol. It looks like they changed some logic that determines the network you are on based on how many sim slots there are and a few other things. This is definitely gonna take some time to work out, but if I could see the output I am looking for in the latest logs from this build it would help. So after you turn off GPS and NFC, cycle the cell/data network a few times while getting the logs. It might take a few mins to actually see the log entries while you are cycling the data toggle.
[Sprint Galaxy S 5 Android Development] miked63017:
BTW did the setup application run on a clean flash?
[Sprint Galaxy S 5 Android Development] 1991mustang50:
nfc wont turn off gray out in the on position and you can turn cell data on but have to exit that screen and then go back and toggle will be off(cant just toggle it off!) i get logs when i can again:) and how do i to pull phoneSubId?:confused:

yes
[Sprint Galaxy S 5 Android Development] miked63017:
You don't need to pull phoneSubId, it should be a word in the logcat I am looking for. It was in your logs from yesterday(or the day before, I don't recall for sure), but not today. I am pretty sure that the error messages in the logccat that contain the word phoneSubId are related to no cell service. I just built another build for today with a few small tweaks here. I suspect that we are not getting the right subscriber id for sprint, and in the logs you gave me previously phoneSubId was -2 and it should be 10 I believe. The new build sets it to 10 as a build prop, just trying to work around the new logic that was added to the telephony classes for now. Hopefully the build prop will make cell service work, otherwise I will have to dig pretty deep in the new telephony code.
[Sprint Galaxy S 5 Android Development] miked63017:
New build for today here
[Sprint Galaxy S 5 Android Development] victor1g:
Someone please test this. I need my cell service atm and can't afford to go without it. I can flash it later this night if somebody doesn't before me.
[Sprint Galaxy S 5 Android Development] 1991mustang50:
here the logcat from today first build! dowloading new build now but proably wont flash till i get home and will pull logs!
[Sprint Galaxy S 5 Android Development] victor1g:
So, I actually was able to flash it. Still no sim card recognition :(
[Sprint Galaxy S 5 Android Development] 1991mustang50:
same here:(

[MENTION=3585663]miked63017[/MENTION] logs for build 2
[Sprint Galaxy S 5 Android Development] 1991mustang50:
[MENTION=3585663]miked63017[/MENTION] found this is there a way to disable encryption !http://forum.cyanogenmod.org/topic/120364-bug-cm13-no-sim-card/page__st__20