yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] curiousrom:
Re: LineageOS 16.0 + Open GApps Fail on Galaxy S5

[MENTION=7474219]smoneck[/MENTION] - I got your PM about you not having solved the problem yet. Sorry I did not get back to you sooner but following that thunderstorm we had a 3 hour power failure which knocked off the time I set aside to check your logs.

Bad news, there are no obvious LineageOS + Open GApps flashing errors in your TWRP & other logs that are included in the open_gapps_debug_logs.tar.gz that you attached in a previous reply.

It could be a problem with Open GApps or a recent change in LineageOS 16.0 that conflicts with Open GApps. :confused:

I saw recently two identical cases of users trying to install LineageOS 16.0 + Open GApps, failing to boot & being thrown back to TWRP recovery.

For both users flashing only LineageOS 16.0 boots properly in System, just like you did as a troubleshooting step.

In the LineageOS subreddit to both Galaxy Note 3 hlte user here and to a Xiaomi MI MIX 2S Polaris user here I suggested to try LineageOS + MindTheGapps instead as a workaround & it worked for them: https://wiki.lineageos.org/gapps.html

For Galaxy S5 klte + variants & LineageOS 16.0 that would be MindTheGapps-9.0.0-arm... in http://downloads.codefi.re/jdcteam/javelinanddart/gapps

That's with the most recent TWRP, bootloader & modem and after a proper Format Data (instead of just wipe Data) + wiping System & both caches & flashing LineageOS 16.0 + MindTheGapps one after the other, in one go without rebooting in between.

If you look in Open GApps Wiki - Package Comparison I have been told that MindTheGapps is comparable to the Nano package.

***

EDIT: Several users reported fail with Open GApps builds 9 & 10 October but success with build 2019-10-06 here in the XDA Open GApps thread: https://xdaforums.com/android/software/pa-gapps-continuation-t3098071/page625

Now if you could try one last time with the most recent LineageOS & Open GApps & if it fails to boot to System then reply & attach your open_gapps_debug_logs.tar.gz that Open GApps created where the package was on your phone when you flashed it before trying with MindTheGapps that would be appreciated.

I am collecting those logs for a bug report in Open GApps GitHub & it's XDA thread & will post links in this thread afterwards.

***

You don't give any details or setup description which makes it impossible to troubleshoot. :eek:

Was this after an update if so how did you update exactly?

Or is it after a new install that included Open GApps like the cases quoted above?

If so try a S5 super clean install including Format Data instead of just wipe Data to eliminate possible problems caused by leftover garbage.

***

I just updated via the built-in LineageOS OTA Updater my Galaxy S5 G900M LineageOS 16.0 klte build 2019-09-28 + Open GApps Pico + LineageOS AddonSU to build 2019-10-10 & everything works fine so it seems the LineageOS 16.0 + Open GApps fail to boot problem is for new installs only.

***
[Samsung Galaxy S 5 Unified Development] cybershot:
Why Miracast is visible in the menu but does not work?
[Samsung Galaxy S 5 Unified Development] Oshuhso:
Thank you so much for all the efforts! No changes using (hash controlled):

lineage-16.0-20191010-nightly-klte-signed.zip
open_gapps-arm-9.0-pico-20191010.zip

The logs are attached.

Currently waiting for MindTheGApps to boot

---

EDIT: ... and also back to TWRP using MindTheGapps-9.0.0-arm-20190615_031401.zip. :( I appended the dmesg and recovery log, if it's of any use.

That means that I now have two possibilities with my phone: LOS16 without a Playstore or LOS15 without security updates, right? :-/
[Samsung Galaxy S 5 Unified Development] curiousrom:
It's funny, last time it was a power failure & now no internet @ home & on my phone as the provider is making repairs in the village.

So I'm outdoor in a parking using the internet of a neighbor with a different provider.

Maybe you miss the edit in my post above: Several users reported fail with Open GApps builds 9 & 10 October but success with build 2019-10-06 here in the Open GApps thread: https://xdaforums.com/android/software/pa-gapps-continuation-t3098071/page625

You did do a Format Data before trying MindTheGapps, right?

The only troubleshooting step I see at this point is to start from the ground up by flashing the most recent stock Samsung ROM as it may fix some partitions & if it fails to boot then you may have a hardware problem.

Edit: [MENTION=7474219]smoneck[/MENTION] - I am starting to wonder if you have the real model number of your S5. If you boot in Download mode what model does it say?
[Samsung Galaxy S 5 Unified Development] Oshuhso:
Yes, I always formatted /system, /data and the two caches. Interestingly I couldn't even boot into plain LOS16 anymore with the current builds ...

It's a SM-G900F.

I now tried LOS16 from 20191010 and LOS15 from 20190225 each with GApps pico from 20191010 and 20191006, LOS16 with MindTheGapps from 20190615 and each combination with the kernels: standard, tuned and intelli, every time formatting the four partitions. Nothing worked. :(

Or more precise: LOS15 at least booted but the GApps crashed constantly even unable to log in.

I already did this before I contacted this thread: Strolling the internet until I found some nice person that provided the appropr. firmware on a server that exceeded 10 kByte/s and obsess my flatmate with his Window$ to run Odin.

But now ... lo and behold *drum roll* I formatted a quadrillionth time and flashed Resurrection Remix (RR-P-v7.0.2-20190915-klte-Official.zip) as the last resort with randomly chosen open_gapps-arm-9.0-pico-20191001 AND IT BOOTS! :highfive:

And afaict it works really well. I'm directly gonna make a backup and will never ever ever ever ever touch the system again. :eek:
[Samsung Galaxy S 5 Unified Development] barcia99:
I installed rom and gapps and it never booted up. Kept booting back into recovery. Wiped everything and just installed rom and booted right into set-up and I setup the rom then rebooted into recovery. Flashed gapps and rebooted. Same thing rebooting back to recovery. I'm at a loss, any help appreciated.
[Samsung Galaxy S 5 Unified Development] kurtn:
Try MindTheGapps
[Samsung Galaxy S 5 Unified Development] curiousrom:
LineageOS 16.0 + Open GApps Fail on Galaxy S5

Several users reported fail with Open GApps builds 9 & 10 October but success with build 2019-10-06 here in the XDA Open GApps thread: https://xdaforums.com/android/software/pa-gapps-continuation-t3098071/page625

Read also the 5th. post above yours: https://xdaforums.com/galaxy-s5/unified-development/rom-lineageos-16-0-t3850840/post80486815

Could you tell me what is your exact S5 model number, TWRP version, which GApps package you installed & also the build dates of both GApps & LineageOS please?

Edit: [MENTION=6957411]barcia99[/MENTION] - Check the steps in S5 super clean install including the links for updating TWRP, Modem, S5's aboot bootloader and Format Data instead of just wipe.

"...just installed rom and booted right into set-up and I setup the rom then rebooted into recovery. Flashed gapps and rebooted." - This will never work & will cause multiple errors & crashes related to GApps.

You MUST first flash LineageOS then the GApps package one after the other, in that order, in one go without rebooting in between then boot to System.

That's necessary for the proper hooks & system app permissions related to GApps.

***
[Samsung Galaxy S 5 Unified Development] cgsjr:
The 'changes' linked to by the updater have not been listed for several days.

Could someone please make a post when the security update has been applied to the latest ROM?

thanks
[Samsung Galaxy S 5 Unified Development] Sobhan Mazaheri:
changes are listed here:

https://www.lineageoslog.com/16.0
[Samsung Galaxy S 5 Unified Development] rankin1:
Does audio FX work since I've been using this rom it never activates I'm using mind gapps by the way thanks
[Samsung Galaxy S 5 Unified Development] kurtn:
Not for stock music app
[Samsung Galaxy S 5 Unified Development] mrfrenzy:
I have the same problem

Phone: SM-G900F

Lineage version: lineage-16.0-20191011-nightly-klte-signed

GApps version: open_gapps-arm-9.0-nano-20191012

Lineage never finishes booting, it just drops back to recovery.

However if I install gapps 20191006 everything works perfectly.
[Samsung Galaxy S 5 Unified Development] HiddenShit:
Lineage 16 (Pee-Pee) and upstream !!

A "free and open source project", which respects your privacy - ha, ha !! :rolleyes:

[MENTION=2693412]haggertk[/MENTION] [MENTION=7759939]Brunowp8[/MENTION] and developers

:(

https://xdaforums.com/android/software/lineageos-microg-t3700997/page164

https://review.lineageos.org/q/If363679650179a0a7fad7b01055760b49caf26ca

:crying:

Is that data sponsoring for Qualcomm the reason for more than 550 Nougat downloads ? Recently !!

https://androidfilehost.com/?w=files&flid=140204&sort_by=date&sort_dir=DESC

or

do we have to spin the ROMs ourselves?

https://github.com/lineageos4microg/docker-lineage-cicd

:good:

However, that recently integrated data sponsoring for Qualcomm gonna be all over soon...

...www.qualcomm.com/site/privacy/services

https://gitlab.com/LineageOS/issues/android/issues/1270

https://github.com/lineageos4microg/android_prebuilts_prebuiltapks/issues/22#issuecomment-539724538

:silly:

"If you're not paying for the product, you are the product"!

Isn't it ?
[Samsung Galaxy S 5 Unified Development] mingi20613:
I don't think it is a good idea to say that in here... It's actually all of lineage os developers fault... Not only [MENTION=2693412]haggertk[/MENTION], [MENTION=7759939]Brunowp8[/MENTION] and other developers... LoL

:confused:
[Samsung Galaxy S 5 Unified Development] HiddenShit:
No worries, I gonna post it all over !!

Lineage is walking at the edge...
[Samsung Galaxy S 5 Unified Development] pmduper:
Maybe you need to think before acting. You may just piss off the wrong people and we all pay the price of no more builds for your bad attitude.

If you feel there is a problem then take a more mature approach, you might be surprised where it gets you! :eek:
[Samsung Galaxy S 5 Unified Development] mingi20613:
Is that a joke that you don't know how to communicate with online people? LoL:confused:

You need to pay attention for your action before you act.

We have to pay the price of "No Build" Just because of your stupid action?
[Samsung Galaxy S 5 Unified Development] HiddenShit:
A frog which lives in a well, will estimate the sky by the border of the well.
[Samsung Galaxy S 5 Unified Development] mingi20613:
You have to know that lineage os' faults and developers faults are completely different. It's bad to say about lineage's faults to developers who say they make builds without any payment.

:eek:
[Samsung Galaxy S 5 Unified Development] HiddenShit:
Definitely, with full agreement, AOSP is the source of all forks !! and

the devs are great people, as long they keep up a certain strengh of "independence"!

Doesn't LOS grow in a country, where "free speech" is backed in the constitution? hard coded!
[Samsung Galaxy S 5 Unified Development] mingi20613:
I didn't mean that. I mean if you want to tell about it, just write about it in lineage os' forum, not specific devices' lineage os post.
[Samsung Galaxy S 5 Unified Development] Reverse-anastomosis:
Free speech is freedom to speak critically of the government, not say whatever you want about an individual and they have to be OK with it and continue to provide a free service to you.
[Samsung Galaxy S 5 Unified Development] jucker:
Hi - same Problem with two pieces S5.

TWRP 3.3.1

lineage-16.0-20191012-nightly-klte-signed or lineage-16.0-20191011-nightly-klte-signed

boot and runs perfect

Then

open_gapps-arm-9.0-nano-20191012

Boot, Lineage logo and back to TRWP

No problem with lineage-15.1-20181224-nightly-klte-signed and open_gapps-arm-8.1-nano-20191012

Then installed lineage-16.0-20191012-nightly-klte-signed and open_gapps-arm-9.0-nano-20191006 --> perfect
[Samsung Galaxy S 5 Unified Development] kurtn:
Why didn't you try MindTheGapps
[Samsung Galaxy S 5 Unified Development] curiousrom:
Defective Open GApps Failing To Boot

Thanks for reporting back with the build dates & file details. :good::cool:

That's with Format Data in TWRP + Advanced wipe of Cache, Dalvik / Art Cache & System then flash LineageOS + Open GApps in one go without rebooting in between, right?

The problem is getting fixed as I post this. See URGENT: Stop Building Defective Open GApps Failing To Boot and the Open GApps dev [MENTION=2010892]Nezorflame[/MENTION] replies below it.

***

Because ;) :

***
[Samsung Galaxy S 5 Unified Development] curiousrom:
Open GApps Fix 2019-10-13 - Boot Success!

Note that it does not matter if your installed Open GApps package is older as it will update itself including Play Store & Play Services after you login into your Google account. So it's not necessary to do what I did as it was just for testing the fix as per the dev's request.

***

Happy to report success:

Downloaded open_gapps-arm-9.0-pico-20191013.zip, checked the MD5 hash for file integrity & copied to external Micro SD card.

Full TWRP backup.

Using TWRP dirty flashed pico-20191013 over Galaxy S5 G900M Official LineageOS 16.0 klte build 2019-10-10 + Open GApps Pico 2019-06-14 + LineageOS AddonSU with TWRP 3.3.1-0.

Wiped both caches & rebooted successfully to System.

Rebooted to System for good measure after 5 minutes. Checked Play Store. All OK.

Attaching open_gapps_debug_logs_20191013_Galaxy_S5_LineageOS_16_curiousrom.tar.gz in case somebody would like to look at it.

Open GApps creates those logs in the same location where the package was when you flashed it.

If you install Open GApps via Sideload the installer script fails to create those logs in the temp folder /sideload/ because it has read only permission.

Thank you to [MENTION=2010892]Nezorflame[/MENTION] & to all the Open GApps team for your support. :good::cool:

***

Waiting for some of you guys' reports about a clean install LineageOS + Open GApps 20191013 or newer. Fail or success we want to know!

***
[Samsung Galaxy S 5 Unified Development] HiddenShit:
I just aspect the contents of a ROM according to its label!

"A free and open source project", which respects your privacy"

That includes the Nlp (Geolocation Service) by choice!

Anything else is sort of a "hidden surveillance"!

Especially when that issue is

not

communicated!

I gonna rip this ROM apart and look at all its details!
[Samsung Galaxy S 5 Unified Development] imarsh72:
"Free" doesn't necessarily mean in monetary terms
[Samsung Galaxy S 5 Unified Development] Gwilides:
Why does the fingerprint not work?or is it just me?
[Samsung Galaxy S 5 Unified Development] bmwdroid:
Thx for your great job.

Made a clean install of the klte 20181016 from haggertk with pico and Magisk.

Can't get the camera working and wifi symbol in status bar is telling me I don't have a connection although browsing and downloading works. Will carry on testing.
[Samsung Galaxy S 5 Unified Development] griz.droidx:
They'res a 19 build on afh by haggertk but it ain't finding any mirrors for me. Maybe it's not Propagated yet. I couldn't find the generic pie thread for dinner some reason. Sorry Bruno
[Samsung Galaxy S 5 Unified Development] Ibuprophen:
I had reported this earlier and the AFH Servers are being worked on apparently that's resulting in limited servers being available.

They should all be up sometime tomorrow. Let's keep our fingers crossed. :eek:

~~~~~~~~~~~~~~~

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my SM-G900V device.
[Samsung Galaxy S 5 Unified Development] TeamAndroid14:
I've been having issues downloading ROMs on AFH for 2 weeks, and it somehow it ends up completing the download about 20-40 minutes.
[Samsung Galaxy S 5 Unified Development] griz.droidx:
Yeah mine finally found a mirror a few hours ago and it finished rather quickly. Haven't flashed yet looking for a change log to see if the data is working for big red. If not l be flashing stock again to fix it.
[Samsung Galaxy S 5 Unified Development] hightension:
Thanks [MENTION=2693412]haggertk[/MENTION] camera is working now.
[Samsung Galaxy S 5 Unified Development] Melovespa:
Can't download latest build. AFH is slower than a few days ago. what the f... is happening??
[Samsung Galaxy S 5 Unified Development] hightension:
Servers are down. Bè patient or download with a download manager.
[Samsung Galaxy S 5 Unified Development] jackson_c:
Any setup or MOD for quick pin unlocking in this rom?
[Samsung Galaxy S 5 Unified Development] hightension:
Use facelock. Mod in prev. Posts
[Samsung Galaxy S 5 Unified Development] fparri:
I hope I am not breaking forum rules: guys, can anyone put the 19/10 build on WeTransfer or similar and share a link? It will last a week, but at least we can get it quickly. I have been waiting for almost 3 hours to download from AFH... ;)
[Samsung Galaxy S 5 Unified Development] clockstoper:
If you have klteduos you can try my link

Its the latest klteduos build by haggartk
[Samsung Galaxy S 5 Unified Development] clockstoper:
Mirrored latest klte build ...

https://drive.google.com/file/d/1mqo2b3-kzinqI1Ezm7nGMWIeypqiHpQS/view?usp=sharing
[Samsung Galaxy S 5 Unified Development] rommy667:
idk what the fu*k AFH are doing lately the dls have gone so bad.,and they were great for yrs,thanks for the new links :)
[Samsung Galaxy S 5 Unified Development] swiftbones74:
They are having problems keeping server's up. I'm told this happens to lots of sites there age and its nothing to worry about.
[Samsung Galaxy S 5 Unified Development] TrancëJay:
Mine is klteduos, 19/10 build.

LTE data worked only in the first boot, after a reboot, no data anymore in both SIMs.

It does not connect to my wi-fi router when the broadcast ssid is set to 'off'. I had to set it to 'on' for the phone recognize and connect to my network.
[Samsung Galaxy S 5 Unified Development] Sebastian505:
Finally found a solution for kltevzw network issue :fingers-crossed:

when you have no network just turn on the airplane mode make a reboot and turn the airplane mode off it works every time i use it :highfive:
[Samsung Galaxy S 5 Unified Development] swiftbones74:
Are you using Magisk for root? The reason I ask is because network problems seem worse with Magisk for some storage reason?
[Samsung Galaxy S 5 Unified Development] Sebastian505:
yes i use it 17.1
[Samsung Galaxy S 5 Unified Development] MagusCoD:
Anyone is having problem with recharge? I plug my phone and it keep reconnecting all the time. Im using the last build and my phone is the 900M.
[Samsung Galaxy S 5 Unified Development] sharktm:
Did you slide down your finger when you tried to record your fingerprint? The fingerprint reader on the S5 works by sliding down your finger on the home button, not just tapping it like on the most recent phones.

---------- Post added at 01:49 PM ---------- Previous post was at 01:45 PM ----------

Are still there issues with the latest version of open gapps? I'm planning a fresh reinstall with the latest klte build and pico gapps, but i saw there is a general issue with the latest open gapps and LOS 16, many phones appear to have the same issue as far i've seen on LOS subreddit.
[Samsung Galaxy S 5 Unified Development] curiousrom:
Fingerprint Sensor & Battery Usage - Open GApps

You don't give any devices info & setup description which makes it difficult to troubleshoot. :eek:

Settings > About phone > what is your exact device model?

Settings > About phone > Android version 9 > what is your Baseband version? Same location > LineageOS version > what is the build date or full file name?

The fingerprint sensor works fine on my Galaxy S5 G900M LineageOS 16.0 klte build 2019-10-10.

***

Settings > Security & location > Fingerprint > when registering the fingerprint the finger must be swiped down starting from the bottom of the screen like in the attachment. Just putting the finger on the sensor will not work which is what LineageOS says incorrectly: "Touch the sensor".

***

In LineageOS 16.0 the fingerprint sensor (a.k.a. scanner) does not work with old S5's Lollipop or KitKat era modems (a.k.a. baseband or radio).

I described here with screenshots how I updated my S5 G900M LineageOS 16.0 klte using haggertk's Odin flashable bootloader & modem combos: S5 Odin Flashable Modem & Bootloader.

Haggertk is the S5 klte + variants LineageOS maintainer & one of the 9 LineageOS project directors.

***

Note that a few S5 users reported here and here a high battery usage @ idle with fingerprint sensor enabled.

It's not the case on my S5 when checked as described in Most Recent BetterBatteryStats & Proper Dump Settings and with GSam Battery Monitor.

It could depend on the hardware revision, specific model & it's baseband, which exact apps have the *Use fingerprint* permission, etc.

***

Open GApps built 2019-10-13 works fine. See my post 1 page back: Open GApps Fix 2019-10-13 - Boot Success!

It's good practice to read at least the last 2 pages of a thread to get up to speed before posting in it IMO. ;)

***
[Samsung Galaxy S 5 Unified Development] xyz_969:
The fingerprint sensor on S5 is iffy at best...

According to my experience, it may work on one phone and not on another. For instance, on mine (a G900T), I cannot unlock the phone with the fingerprint because it always reports an error ("fingerprint could not be recognized" or something like that). Setting up the fingerprints works just fine, unlocking the phone doesn't.

On another S5 in the family (a G900F), fingerprint unlock works, but it is kind of, err, "temperamental"... sometimes it reads the fingerprint OK when unlocking, then next time it requires multiple swipes to register properly.

This is with both phones on the same LineageOS build, so I suspect this may be a hardware issue on mine - but then why is there no problem with setting up the fingerprints?

The phone is on the latest baseband/modem/bootloader, but the behavior was the same with an older one earlier.

So I decided to just remove all registered fingerprints from mine, since it doesn't unlock anyway - and also, as crazy as it may seem, users reported better battery life with no registered fingerprints. Why would that have any effect on this is beyond me :confused:
[Samsung Galaxy S 5 Unified Development] curiousrom:
S5 LineageOS 16.0 Update 2019-10-15 - Security Bump

FYI in the S5 LineageOS 16.0 update 2019-10-15 or newer there is a 260605: Bump Security String to 2019-10-05 patch included with several changes marked under Severity as High or Critical & that page includes some CVE (Android Common Vulnerabilities and Exposures database) links for more details.

Downloaded & installed successfully via the LineageOS built-in OTA Updater & after the automatic reboot as seen in the screenshot: > Settings > About phone > press on Android version 9 > Android security patch level: October 5, 2019.

View attachment 4844877

The Vendor security patch level remains @ August 1, 2017 because the vendor is Samsung & it is not publishing security patches for it's S5 proprietary hardware related blobs anymore since August 2017 & nobody can do anything about it.

Full LineageOS changelog: https://download.lineageos.org/klte/changes/. As that page is updated all the time I attached a screen grab for posterity.

View attachment 4844879

This security patch & several others were made by S5's LineageOS dev & one of the 9 Lineage directors haggertk as you can see in this LineageOS Gerrit search: owner:haggertk@lineageos.org branch:lineage-16.0.

So BIG THANKS :good::cool: to Mr. haggertk & the rest of the LineageOS team for your continuous support of our old devices.

***

That was updating to 2019-10-15 via the built-in LineageOS OTA Updater on a Galaxy S5 G900M LineageOS 16.0 klte running build 2019-10-10 + Open GApps Pico build 2019-10-13 + LineageOS AddonSU, no custom kernel or system mods of any kind.

Note that you can create a direct link to Updater & much more (like to Privacy Guard Advanced for example) with the LineageOS Settings widget instead of navigating to Settings > System > Advanced > Updater.

***

Done! :D

***