yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] Apathetik:
Interesting, like I said though. It's just that I hadn't heard about anyone on kltevzw having the problem (entirely possible someone posted they did, and I just missed it lol).

Very good info to have though. I was thinking in a previous post that deleting the /data/data/com.google.android.gms folder, then reflashing gapps might alleviate the problem temporarily. But I think one or two people tried and it didn't work. Looks like deleting the com.google.android.gms.setup folder was the missing piece of that puzzle.

Well, armed with this information. Looks like I'm going to be trying to break my phone here in a little bit. :)

Hopefully, if I can recreate this problem. I'll be able to do it while dumping a logcat and get some more useful info for haggertk. I think the fact that this bug just comes out of nowhere and blindsides people is the biggest problem. So far I don't think anyone has been able to get a logcat before, and during one of these crashes. Fingers crossed! :D

Edit: Also, [MENTION=2693412]haggertk[/MENTION] any idea if it's possible, and if it is how to enable ADB root access prior to the first boot? Going to start up a logcat, then try and get the crash to happen by letting the play store update everything. If that works, I'm going to try and reproduce the initial install crashes. But it'd be incredibly useful if I could have a logcat running from adb during the first boot setup process for when it hangs (assuming I can get it to break in a predictable manner.)
[Samsung Galaxy S 5 Unified Development] Swiss Cheese:
On kltespr I was running 1/25/17 Lineage with 12/17/16 Gapps which updated Play even though auto update was disabled but I had zero issues.

I did a clean install of 1/31/17 Lineage with 1/19/17 Gapps and I have zero issues.
[Samsung Galaxy S 5 Unified Development] vinura kithmal:
31st official build heats alot :(

I think unofficials are better for atleast now
[Samsung Galaxy S 5 Unified Development] limeaide:
Ive stated Im on the 900v and having this problem. Here is my experience.

I was using twrp when this started to happen and with the other problems I thought maybe it was a twrp issue so I flashed a older copy of philz touch. I was still experiencing the issues but I got everything to work. It happened again when I tried to update to the first official weekly 01/25. But a clean flash and patiently waiting about 8 hours to restore anything via titanium backup it was all good. When I updated to 01/25 the su addon was posted but I did not see it. So I uses supersu and everything was fine. I seen the su addon posted and unistalled supersu then installed the su addon. The phone froze after I enabled root and via the developer options. It did not reboot just sat with the screen dimly lit until I pulled the battery.

I then just flashed the supersu in recovery and everything was fine. Yesterday when I attempted to update to the 01/31 build I was stuck at the boot animation for about an hour (I fell asleep waiting for it to boot). Then once I pulled the battery and clean flashed the same build the freeze crash started and nothing I did would fix it. I thought once I had it beat but after about 20 apps restored via titanium backup the phone froze again and nothing I did could get it to not hang up. At one point yesterday I reflashed twrp via odin and then [MENTION=2693412]haggertk[/MENTION]'s version of twrp. After that I reflashed this firmware that haggertk posted for us vzw users.

so TL;DR?

Im up to date with firmware.

Ive tried both of the official releases and on unofficial builds from the 01/19 and had same freeze ups .

Ive used multiple versions of open gapps but the go to version is one I had on my phone from 11/11/2016. Currently Im using the stock version 11/11/2016 with a custom install script.

Ive skipped wifi setup and fingerprint setup.

Ive tried to skip it all but it will never let me skip the google account setup.

One more thing I think somebody posted about not installing gapps and turning on root then flashing gapps and running logcats and found it was the cpu going nuts from the amount of calls google play services is making while trying to update.

Furthermore in my experience it doesnt matter what version or release date of open gapps used once Im setup the play store will attempt a update. Thats when I start to see problems. Outside of turning off all data whether it be wifi and/or mobile there is nothing you can do to stop this. Once you connect your account to google it will update certain core apps like playstore automatically even with auto updates turned off. Also if you restore from backups any google app it appears it will try to ninja update or verify and that also seems to be causing a issue but so far its not caused a phone freak out freeze.
[Samsung Galaxy S 5 Unified Development] mpower25:
Gallery freezes when used to open a screenshot right after it is taken. Still haven't found an app that opens screenshots and gives option to forward it through social media.
[Samsung Galaxy S 5 Unified Development] raylogic:
I'm waiting for the random question :cool:

---------- Post added at 07:27 PM ---------- Previous post was at 07:26 PM ----------

No issue with open Gapps here.

---------- Post added at 07:35 PM ---------- Previous post was at 07:27 PM ----------

I use the Sony 'album' app that came in included courtesy of the ARISE audio mod team.

It's all good!
[Samsung Galaxy S 5 Unified Development] raylogic:
So I'm confused. Com with all the people having issues with Gapps.

I installed the unofficial / nightly, then without rebooting flashed the official weekly, then again flashed all this lot (see screenie) then I used the open Gapps app to flash that...

.... Simple just like me!

Oh yeah I also flashed arise audio mod etc but doubt that has any bearing!

Anyway now I just keep hitting update in all apps and still working here!

Yeah I know, no help at all right!!

?
[Samsung Galaxy S 5 Unified Development] derAndroidler:
I only use 19.01.2017 gapps Nano with everything updated. No problems. Newer gapps freeze.
[Samsung Galaxy S 5 Unified Development] nictabor:
It seems like a ticking time-bomb. Eventually, certain conditions will cause the play store to update and at that time the phone is useless.
[Samsung Galaxy S 5 Unified Development] derAndroidler:
I run it for days without problems. I update everything and click in play store on version. I get the message play store version is newest. everything working with Nano gapps.
[Samsung Galaxy S 5 Unified Development] haggertk:
You need an engineering boot image for insecure adb to be default started on boot.

I'm pretty sure that it will boot a fully release-keys signed system image. I can build one, which klte variant?
[Samsung Galaxy S 5 Unified Development] EmilRodSalvador:
The problem is Google Play Services auto updates silently, it does not go through the Play store.
[Samsung Galaxy S 5 Unified Development] nialloshea:
This problem persists on RR 7.1.1, along with any nougat custom ROM based on LOAD
[Samsung Galaxy S 5 Unified Development] Apathetik:
I'm on kltevzw. And that would be awesome. But I don't want you to waste your time. So hold off on doing that if you don't mind, until I can actually reproduce these bugs reliably.

Right now though, progress isn't looking good. Apparently the Android gods are smiling upon me (and probably laughing), because I can't seem to get my phone to break. lol

I've let it update all of the google services and apps. With no change in behavior from the phone after like 2 hours. I think next I'm going to try flashing a newer version of gapps over my current and see if that does the trick. If not, clean flash and try from there.

Do have a question for you though. In regards to testing various gapps packages. Rather than downloading all of the individual packages. I was planning on using 2 aroma installers, one from 1-19, the other 2-03. And just selecting the appropriate packages that would correlate to each gapps package (nano, micro, mini, etc) and going through it that way. As far as testing methodology goes, would this suffice? Or should I download each package separately and go about it that way? (I'm not sure if there's some fundamental difference that would make the aroma method incompatible for testing purposes).
[Samsung Galaxy S 5 Unified Development] Mattyboii87:
All sorted [MENTION=4792943]raylogic[/MENTION]
[Samsung Galaxy S 5 Unified Development] limeaide:
Download the super then use a script to change it to each smaller one. There is a good example on the open Gapps site. I'm on mobile or I would post it.
[Samsung Galaxy S 5 Unified Development] Apathetik:
Yeah I knew doing scripted installs with the super package was an option. Was just trying to be lazy. lol Didn't feel like searching for, or writing my own scripts to do the installs. Figured the aroma packages would be the laziest method. :P
[Samsung Galaxy S 5 Unified Development] limeaide:
I would do copy paste multiple scripts and just rename between. I've never had luck getting the aroma installer to be reliable. I had a couple in a separate folder and while the ROM was installing I would drag from one folder to the other. Then there is minimal you have to do on the phone.
[Samsung Galaxy S 5 Unified Development] Apathetik:
If the aroma installers give me any hassle. I'll definitely go this route. Thanks. :)
[Samsung Galaxy S 5 Unified Development] born4trance:
I have a couple of devices here but the SM-G900F (international/non-branded Galaxy S5) hasn't yet updated silently on me. The 01/19 build with version 10.0.84 of Play Store Services still works for me :S
[Samsung Galaxy S 5 Unified Development] HulkSmashBurgers:
Installed 1/31 build with gapps 2/3. I had to disable signature validation.

It booted and I got to the "Set up your SM-G900T" screen and the buttons and touchscreen became unresponsive. Phone rebooted itself after a few minutes.

I wiped data and cache/dalvik in recovery and tried again. This time I let it sit at the welcome screen for a few seconds. Screen animation was still active but it did not respond to touch and buttons did not work. Phone became super warm, which I've never felt on this phone before. Pulled battery and restored backup of unofficial 01/19.
[Samsung Galaxy S 5 Unified Development] haggertk:
You described the cause of your problem in the first line. For now, make sure to install an opengapps builds dated no later than 19 Jan.

If I get time this weekend, I'll purposely try to break my phone.
[Samsung Galaxy S 5 Unified Development] Bubka3:
Just skimmed thru the last few pages, and didnt see any solution to this issue. Has anyone been able to stop Google Play Services from updating? Flashing open gapps 01192017-mini.
[Samsung Galaxy S 5 Unified Development] square_eyes:
Thanks :) Just remember though it's happening to people (like me!) with older Gapps too :(

See my previous post.
[Samsung Galaxy S 5 Unified Development] haggertk:
Yes, I forgot the "and pray you don't get pushed the update soon" part.
[Samsung Galaxy S 5 Unified Development] brianinmaine:
Just don't understand - Play services 10.2.97 working fine here. I just updated to 2/3 mini opengapps and it worked fine also. Maybe it's a klteusc version thing? Maybe tomorrow I'll try an Aroma installer version to get the new Android Assistant thing to try out...
[Samsung Galaxy S 5 Unified Development] Amirk365:
Updated all my apps since Monday and no problems since...Flashed the Gapps package from 19/11/16 and updated directly to the latest updates available....Using the 31/01/17 Official Lineage on the SM900V
[Samsung Galaxy S 5 Unified Development] born4trance:
On https://www.cmxlog.com/14.1/klte/ i read the following change fo the upcoming build:

"Remove Google Play Services dependency (android_packages_apps_SetupWizard)"

Which brings me to https://review.lineageos.org/#/c/158142

Will it solve the problems people are having with certain Galaxy S5 models?

Could one line of code possibly fix the crashing/rebooting horror?

I love Lineage OS but i'm worried something eventually updates the Play Store Services without me even knowing it.

If only someone would know how to make it all work again (i.e. not having to worry about breaking updates) would be such a relief.
[Samsung Galaxy S 5 Unified Development] papei:
I wonder if the fact that you flashed the gapps from the OpenGapps app has anything to do with your success. I going to try it just for the fugg of it. :D
[Samsung Galaxy S 5 Unified Development] Pailak:
I'm using LOS 31/01

Google photoscan app does not work and lock the camera.

I have to restart so the camera works again.
[Samsung Galaxy S 5 Unified Development] philiptibbs:
I'm on kltespr running LOS 1/31 and Mini Dynamic gapps 1/21 and it runs fine so far except I can't install the Viper4android 2.5.0.5 by Guitardedhero it freezes my phone and I've tried RR remix and LOS and CDroid and soon as I install Viper4android it freezes. Anyone get Viper4android to work on Naugat ?
[Samsung Galaxy S 5 Unified Development] haggertk:
Don't know why it didn't explode for me.

open_gapps-arm-7.1-mini-20170204.zip flashed over a working installation. There was a good long bit of dex2oat crunching on things and gms was running hot for about 10 minutes, but then everything calmed down. I guess I'll monitor things for a while and then maybe clean flash.

Of course, one more variable is this is my own build from a sync run last night, so this is much closer to what you would see in next week's nightly. If I have time, I'll try this over the last official release.
[Samsung Galaxy S 5 Unified Development] Apathetik:
Hmm, is it possible for the phone to hit thermal limits and if throttling doesn't bring it down, to power off or reboot the device? Wondering if that could possibly be the cause of the boot loops. It's trying to crunch through a bunch of stuff, and overheating. Causing a reboot before it finishes. So it starts the process again. I did notice one time when I went back into TWRP, that my CPU was sitting at about 70c. At which point I put it on a towel with an ice pack under it lol.

I've actually had passively cooled SFF computers do something similar before, due to thermal safety limits restarting the device before it was done with what it was doing. Basically causing a boot loop as well. But I'm much less familiar with mobile devices. So I'm not sure if this could happen as well on a phone. If it is possible, lemme know and I'll try throwing my phone on an ice pack for the initial boot after google services update and just leave it be for a while. See if it pushes through.
[Samsung Galaxy S 5 Unified Development] haggertk:
Our throttling is set at 75C since this, we would go over 80 before it, which has seemed stable enough and consistent with the other msm8974 devices. Maybe the unbounded setting (I don't know if there is a default in thermal-engine) from before my time caused some kind damage and with the several years on our processor it is showing its age.

If thing press through with cooling, maybe we need to pull the top-end back to 70C...
[Samsung Galaxy S 5 Unified Development] PartimusPrime:
Have you tried this method?

https://www.google.com/amp/www.thea...4android-nougat/amp/?client=ms-android-google

I had used it when I was running cm and it worked great...Haven't tried it on official lineage yet though.
[Samsung Galaxy S 5 Unified Development] Bubka3:
I just flashed that version of opengapps with the official nightly. On an ice pack (since someone said something about overheating). The phone booted to a setup wizard that didnt look like lineage OS. I pressed Start and it went to the Setup your phone screen and froze. If I reboot the phone it appears I have about 30 seconds before it freezes.

I did a second test, flashed nightly and set it up, then flashed opengapps. Same results. Freezes 30 seconds in and eventually bootloops.

Do you have an unofficial klte build with the last changes I could try? Maybe a recent commit has fixed this freezing.
[Samsung Galaxy S 5 Unified Development] haggertk:
I uploaded a klte build to my AFH. Note that this cannot be flashed over an official without wiping data.

I did just walk through a whole clean setup and had no issues... Maybe it was fixed in one of the changes over the last week and will be resolved in the next build.

/shrug
[Samsung Galaxy S 5 Unified Development] Apathetik:
I'll try that one after my current tests get done. Phone is sitting to see if it comes back to life atm. Going to give it ~30 minutes. Then try again with a few things different. After that, I'll wipe and try your new build. :) So, hopefully I'll be able to provide some more feedback within the next few hours. :)
[Samsung Galaxy S 5 Unified Development] Bubka3:
All my flashing are clean installs :)

Sigh. Flashed your latest build with opengapps -> freeze

Flashed your lastest build -> setup -> opengapps -> freeze

Is there anything more that can be done to help you narrow down the problem? I recall you posting that it works fine on your device.
[Samsung Galaxy S 5 Unified Development] nialloshea:
On the open Gapps site scroll down to older builds. Install any build from January 9 and below. But it's still like a ticking time bomb, because once Google Play Services updates (an update you can't stop) your phone will start bootlooping and freezing again.
[Samsung Galaxy S 5 Unified Development] Bubka3:
The last working build is actually 01192017 -- unfortunately whenever I flash this it auto updates even on LTE. I literally cant stop it.
[Samsung Galaxy S 5 Unified Development] nialloshea:
Forgot to type the 1. And yeah, idk then. I've gone back to Resurrection Remix Marshmallow because all the nougat Roms at this point are unstable.
[Samsung Galaxy S 5 Unified Development] Vicky_666:
Working for G906S?
[Samsung Galaxy S 5 Unified Development] Apathetik:
I came up with what I think may be a possible way to prevent it from ninja updating in the background that I posted Here. Unfortunately, I don't have the auto update issue. So the only testing I can do requires me to manually flash a new google services onto the phone to intentionally break it. So the method in that post (like it says) is still just a theory, and untested (waiting on someone to try and report the results).
[Samsung Galaxy S 5 Unified Development] haggertk:
I just realized that I accidentally uploaded my "latest" into cm-14.1. I just moved it to the proper place. Which unofficial date did you just flash? The klte is dated 20170204; if you tried the 20170121 do you mind trying again?

I also just uploaded a kltevzw.
[Samsung Galaxy S 5 Unified Development] Bubka3:
I went to your user profile and downloaded lineage-14.1-20170204-UNOFFICIAL-klte when it wasnt in the proper place :)
[Samsung Galaxy S 5 Unified Development] dollardollar:
updated the latest Play services 10.2.97 from apkmirror and seems the freeze issue is sorted out.

Google Play services 10.2.97 (438-146062190)

anyone wanted to try on their already freezing phones ;)

try it on your own risk, plz don't blame me for your data loss.
[Samsung Galaxy S 5 Unified Development] Bubka3:
Yes this stops auto-updating, but it also means the Play Store won't work which kinda defeats the purpose.

This is included with the latest opengapps build (20170204 at time of writing) which is what I've been using to test.
[Samsung Galaxy S 5 Unified Development] haggertk:
And it still froze? What the actual F?

I went to TWRP and wiped system, cache, data. Flashed my 20170204. Flashed open_gapps-arm-7.1-mini-20170204.zip. That's it.

Booted ROM, went through setup wizard, profited...

(And yes, I know that my email address is displayed in the screenshot, but it's literally in every single commit I merge.)
[Samsung Galaxy S 5 Unified Development] siegesoldier:
I have had success using this method after installing gapps 1/14/2017.

https://xdaforums.com/showpost.php?p=67528139&postcount=44

I would go up to gms-3 just to be safe, I have had that folder created and bootlooped after doing only the above. You may skip the commands for the playstore or 'vending' as that is not our issue.
[Samsung Galaxy S 5 Unified Development] Bubka3:
Just did this again. Still freezes. I have about ~30 seconds from boot to go as far as I can before the phone freezes and eventually boot loops.

I am literally using the same zips you are (with md5 checks) and wiping everything thru TWRP first as you do as well.

I see you have the F variant, I have the T variant -- though these are both klte and shouldnt make any difference....

*head-desk*
[Samsung Galaxy S 5 Unified Development] Apathetik:
I actually tested that before I posted that method. And it doesn't prevent the play store from working. I was still able to search for, install, update, and uninstall apps. Granted, there may still be other side effects (only did basic testing). But at least now I have a confirmation that disabling data for those two services does in fact prevent them from updating in the background. :)
[Samsung Galaxy S 5 Unified Development] SuperSandro2000:
I tried now two ROMs that are Los based and I am pretty sure that it is LOS's fault.

Since a couple of days I have weird bugs with the front camera of my device. Some apps show a really dark image like houseparty and I mean that you can barely see anything while other show the image in normal brightness like Google camera. Any idea why? Or is it the apps fault?
[Samsung Galaxy S 5 Unified Development] RemusW:
substratum theme engine ?

has anyone tried substratum theme engine with this rom does it work ?
[Samsung Galaxy S 5 Unified Development] firefds:
The guys who have the freeze problem. What TWRP version are you using?

I'm using the one by [MENTION=2693412]haggertk[/MENTION] and I don't have a freeze problem.
[Samsung Galaxy S 5 Unified Development] philiptibbs:
Yes I Tried that way too. I installed without Viper4android and it still freezes. I've tried clearing cache and different TWRP's and the longest I've got is 24 hours and then it just freezes. I'm done for now and getting a LGV20 in a few days just ordered it today.
[Samsung Galaxy S 5 Unified Development] Dany00:
Why don't you try dynamic gaps? I also had the freeze problem with open gapps..
[Samsung Galaxy S 5 Unified Development] limeaide:
He is trying to help the devs figure out the problem.

Haggertk and others I've had the phone freeze and I have just been deleting the gms files from recovery and reflashing Gapps. So far that fixed it until my android watch refuses to work until I update.
[Samsung Galaxy S 5 Unified Development] cedouic:
Tried it yesterday, I got a bootloop at the reboot...

Hopefully I did a backup :p

Maybe I have done something wrong... I didn't go further...

I miss my full black themed phone :crying:
[Samsung Galaxy S 5 Unified Development] Apathetik:
Just got done testing your 2-04 kltevzw build, with 2-03 gapps mini install (installed from super package, using script). Same boot loop still though. I pulled a logcat (attached below), and it rebooted pretty quick. So the log contains from boot to crash. But it looks like even though 2-03, and 2-04 gapps are using the same gms version. There might be some differences in options used (just glanced over the version logs real quick). So I'm downloading 2-04 now, and going to try again with that and see if it behaves differently.