yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] curiousrom:
S5 SM-G900V & Stock Samsung

Normally yes but [MENTION=9763966]wdfitzpat007[/MENTION] has a an unlocked S5 SM-G900V & flashing a stock unmodified Samsung for that model comes with a locked bootloader.

Read the OP of the thread I linked above: [ROM][VZW_Stock _QL1_Deodexed][DEV aboot Magisk Rooted][Locked Bootloader Safestrap].

Flashing that special firmware for S5 SM-G900V once it has an unlocked bootloader would be the step before resorting to that troubleshooting step you are suggesting.

[MENTION=1949695]jrkruse[/MENTION] is one of the most knowledgeable person on that subject & is given thanks & credits in the OP's of many bootloader unlocking threads.

***
[Samsung Galaxy S 5 Unified Development] Borsti666:
Thanks for your Help, I found a solution for me:

Deleted gatekeeper and lockscreensettings files via TWRP, that let me (I don't really know why) pull down the statusbar and enter the settings... Initial problem solved, not data lost!
[Samsung Galaxy S 5 Unified Development] curiousrom:
Re: Restore Google Backup 3x3 Pattern Problem

Thanks for reporting back. :good: Happy for you that you solved it.

Of which setup? Did you restore the one w/ the black screen?

Or the last one with Google Backup only offering the 3x3 pattern?

More details with the exact steps you did could be useful for the next user with a similar problem.

***
[Samsung Galaxy S 5 Unified Development] wdfitzpat007:
Time to SMASH the Thanks button!!! Now I have mobile!!! So happy!!! 10,000 thanks!
[Samsung Galaxy S 5 Unified Development] skyrail01:
Fix black scren after reboot LineageOS

May be you could fix it via adb?

- Black screen after startup

w**.reddit.com/r/LineageOS/comments/81hdqv/black_screen_after_startup/[/url]

- Lineage OS Fix: After reboot phone not usable anymore (Only back button/statusbar visible)

w**.nico-maas.de/?p=1537
[Samsung Galaxy S 5 Unified Development] dezraj:
Hello super developers! I'm having the following issues with the official build:

- the embedded music player won't recognize my music in my external SD card. It shows the playlists with 00 files. The same happens with Google Play Music too. I also had this problem with Lineage 15.1 but I suppose it got eventually fixed there because the music started showing.

- the rotation button cannot keep the phone in landscape mode. If I toggle the rotation, then turn the phone to landscape, then turn off the rotation to always keep it in landscape mode, phone returns to portrait mode. Also, home environment is not shown in landscape mode.

This is the build I currently have installed:

lineage-16.0-20190313-nightly-klteduos-signed.zip

Thank you so much for any help. :good: :highfive:
[Samsung Galaxy S 5 Unified Development] kurtn:
Rotation bug confirmed. Homescreen Rotation can be enabled in launcher settings.
[Samsung Galaxy S 5 Unified Development] Ibuprophen:
I don't personally have this variant but, if you look at the following link...

https://download.lineageos.org/klteduos/changes/

... You will see fixes that may apply to the issues your experiencing since the build released you had installed (dated on 20190313).

Try to see if today's build (lineage-16.0-20190318-nightly-klteduos) has all/some of those issues addressed/fixed.

I'm not stating that it does but, when you report any issues, I would recommend that you should report them based upon the most recent build.

Good Luck! :)

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Samsung Galaxy S 5 Unified Development] curiousrom:
16.0 How-To Keep Screen in Landscape Mode

"...the rotation button cannot keep the phone in landscape mode..." - Display > Advanced > Rotation settings > with lock screen & degrees options. (Or search Settings with rot. Or press the Auto-rotate icon in Status bar to open the Display panel.)

If you disable 0, 180, 270 degrees & keep only 90 selected & rotate the phone to landscape then it will stay in landscape mode until you re-enable 0 degrees or toggle Auto-rotate screen off either in that panel or in the Status bar's curtain.

So with this setup the Auto-rotate icon becomes in effect a portrait/landscape switch.

***

"Rotation bug confirmed..." - I'm pretty sure that [MENTION=2693412]haggertk[/MENTION] would say it's by design & not a bug. :)

"...home environment is not shown in landscape mode..." - [MENTION=8031265]kurtn[/MENTION] is right: press an empty space on the Home screen like in either side of the Apps drawer ^ to access Home settings > Allow Home screen rotation.

One annoyance: in Home settings > Show icon labels on desktop works in portrait but not in landscape mode.

***

[MENTION=4828250]Ibuprophen[/MENTION] is right it's good practice to update to the most recent build before reporting an issue. That's especially true because we are in the early stage of the official 16.0 so with more changes than later in the firmware's life cycle.

***
[Samsung Galaxy S 5 Unified Development] kurtn:
Aosp is made for pixel device without physical navigation button. In pie there is a new rotation related feature. I bet this feature behaves buggy with physical buttons. Unofficial moto e2 ROM with navigation bar doesn't show the fix landscape bug.
[Samsung Galaxy S 5 Unified Development] dezraj:
It's not working in here. When I turn on auto rotate and turn off 0, 180 and 270, it will indeed stay in landscape mode whatever I do with the phone. But if I turn off auto rotate it will return to portrait mode and turning it on again and rotating the phone will not rotate the screen, so the toggle button is not working yet.

Nevertheless this is very unintuitive. I really would appreciate if it worked as all other previous Android versions worked.

But thanks for the tip anyway. And I have already enabled the "rotate home screen" function and home is now showing in landscape.

I should install a newer build asap. ?
[Samsung Galaxy S 5 Unified Development] dezraj:
More bugs

Guys, I think I've found more bugs:

- if you're running out of battery and turn on the battery saver mode, and your phone dies (it shut downs) when the battery runs out, then if you turn it on with a good amount of charge in the battery, it will still be in battery saver mode. I suppose it had to automatically turn it off as soon as it detected a good amount of charge, no?

- also, the clock widget will never load when the thing above happens. It will always be in "loading widget..." state.

- I'm not being able to download any attachments from the Gmail app. I touch the download button but nothing seems to happen. I don't know if it's a bug in the app or in the system though.

I'm still using the build from March 13th anyway. Thank you for any help. ?
[Samsung Galaxy S 5 Unified Development] curiousrom:
Afraid to Update...

Updating S5 Official LineageOS 16.0 ;)

***
[Samsung Galaxy S 5 Unified Development] NeuesS5:
Update lineage-16.0-20190318-nightly-klte-signed.zip broke my phone

-My phone is encrypted.

1. TWRP no longer asks for a password, the message "successfully decrypted with the default password" appears, and i can access all data.

2. When I start my phone comes the password. When I enter it

"The password you entered is correct, but your data is corrupted"

(even if I enter a wrong one)​
[Samsung Galaxy S 5 Unified Development] curiousrom:
Encrypted S5 LineageOS 16.0 Update Fail

That's bad. :eek: Could you provide more troubleshooting info please?

What is your exact phone model? Bootloader & modem? TWRP version?

What was the exact build date that you had before updating? That's for looking at merged commits that could have caused the problem.

Did you update manually or via OTA & the built-in Updater?

"The password you entered is correct, but your data is corrupted" - Is that 100% exactly the full error message you get?

Did you have previous successful updates?

Did you use "Format data" in TWRP before installing LineageOS & not just wipe?

Did you install Magisk (version)? Magisk Modules? Xposed? Any other System mods like kernel? GApps version?

"1. TWRP no longer asks for a password, the message "successfully decrypted with the default password" appears, and i can access all data." - That could point to a TWRP bug: https://github.com/TeamWin/Team-Win-Recovery-Project/issues or an error in the OpenRecoveryScript that the Updater is using in TWRP to apply the OTA update (screenshot). Hopefully [MENTION=2693412]haggertk[/MENTION] read your post & mine.

Can you use TWRP > Advanced > File Manager > and copy to external Micro SD card the last TWRP log: /cache/recovery/last_log & /cache/recovery/log as well?

Also the last kernel log: /proc/last_kmsg

Maybe you could submit a bug report: https://wiki.lineageos.org/bugreport-howto.html

***
[Samsung Galaxy S 5 Unified Development] NeuesS5:
g900f, BL_G900FXXU1CRH1, CP_G900FXXU1CQK3 and twrp-3.2.3-0-klte

lineage-16.0-20190315-nightly-klte

manually Updater (But I think that already when TWRP start, not after the password was asked)

98% exactly the full error message

yes

i use wipe TWRP before installing LineageOS

Magisk 18.1 and Manager 7, Magisk Modules NO, Xposed NO ? Any other System mods like kernel NO, open_gapps-arm-9.0-nano-20190317
[Samsung Galaxy S 5 Unified Development] cdrivex4:
Searching "sensi" reveals 3 matches as pictured... But "high sensitivity touch" is not in the "display " section and cant therefore be toggled.

Oh and "wireless display" cast is no longer an option or just plain doesn't work.
[Samsung Galaxy S 5 Unified Development] NeuesS5:
I have completely rebuilt the g900f.

The same mistake.

I boot into twrp, no password query.

system reboot "The password you entered is correct, but your data is corrupted"

rebuilt:

Odin G900FXXS1CPI6_G900FDBT1CPE2_G900FXXU1CPC9_HOME.tar.md5

boot recovery wipe data

boot download mode

Odin twrp-3.2.3-0-klte.img.tar

boot recovery TWRP

wipe extends everything

install lineage-16.0-20190318-nightly-klte-signed.zip, Magisk-v18.1.zip, open_gapps-arm-9.0-nano-20190317.zip and

TitaniumBackup-8.3.2.zip

Start system

phone encrypted

SD card formatted as internal

install and set up all apps

turn off

start twrp

I boot into twrp, no password query.

supplement

password query at lineage-16.0-20190315

numbers

at the lineage-16.0-20190318

qwerty
[Samsung Galaxy S 5 Unified Development] J-Lindo:
I've just had an interesting experience. I was on the 03/13 build on my G900V and decided to do my routine Substratum updates (Swift Black theme). I began the Build and Update function when all of a sudden, my screen blacked out for a moment, SystemUI restarted (had to enter my pattern instead of fingerprint), and I had encountered the No Service bug for the second time! I did a reboot—no fix. I went on with my Substratum update—successful, but no luck. Another reboot? Still no service.

I tried updating to the 03/19 build, but without most of my usual mods: Pixel 2 Dark bootanimation, Mi Camera for S5, and Tuned Kernel. The only things that stayed were Magisk (18.1, Manager 7) and Gapps (MTG). After hanging around a few minutes on the Lineage boot animation, the screen dimmed, and I was kicked back into recovery (3.2.3-0).

Re-wiping dalvik and cache didn't help. Simple "try again" reboot didn't work. Then, on a hunch, I flashed the Substratum Rescue zip. Voilá! My phone booted!

...But still no service. Went back to recovery and restored my EFS, and service came back. Glad that still works, but have any of my Verizon kin had this issue twice now? :eek:

To follow up, I tried reinstalling my Substratum theme. As soon as I hit "Enable selected", my screen went black and back into recovery. Flashed Substratum Rescue, and she booted like normal. Flashed my boot animation, camera, and kernel mods, all still good.

So, for those who use Substratum, it evidently isn't cooperating with the 03/19 build. I'll see if I can't get a log on that later (if I'm feeling generous, I might back up my system, do a clean barebones install, and get logs from that :) ).
[Samsung Galaxy S 5 Unified Development] Myhand:
Not the Update broke the system. This happens when "secure start" in display lock is deactivated.
[Samsung Galaxy S 5 Unified Development] curiousrom:
Re: Encrypted S5 LineageOS 16.0 Update & Clean Install Fail

Thanks :good::cool: for reporting back & the additional troubleshooting info.

Sorry but I don't understand that part.

Manual update: you download the firmware, boot in TWRP & flash the firmware.

OTA update > using the LineageOS 16.0 built-in OTA Updater: System > Advanced > Updater after you check for update & click Download, the Updater verifies the completed download & if you click Install & OK then it automatically boots in TWRP, installs the update & reboots to System.

Which updating method did you use?

"boot recovery TWRP wipe extends everything... - From S5 LineageOS Super Clean Install: Then after backing up the internal sdcard, in TWRP use Format Data which rebuilds the entire file system of the Data partition including the internal sdcard instead of using wipe that only deletes files of Data without affecting the internal sdcard (screenshot).

See TWRP FAQ: What is a data/media device? for detailed explanations:

"...In TWRP we also have a wipe internal storage option that rm -rf's the media folder and a "Format Data" option that formats to recreate the entire file system in case something goes completely wrong or to remove device encryption."

IMO you MUST Format Data if you plan to encrypt your phone which create a space at the end of the Data partition for the encryption data & avoid errors like you have: "...I boot into twrp, no password query".

Did you check the TWRP Github issues I linked in the post above? There are several reports related to encryption. Maybe you could contribute & post a report there too?

***

Edit: [MENTION=7372760]NeuesS5[/MENTION] - I just noticed that in your last post quoted above you wrote: "G900FXXS1CPI6_G900FDBT1CPE2_G900FXXU1CPC9_HOME.tar.md5" with 2016 modem & bootloader but in a previous post you wrote "...g900f, BL_G900FXXU1CRH1, CP_G900FXXU1CQK3 and twrp-3.2.3-0-klte..." which is 2018 so more recent.

Why go back? If you want to flash a Samsung firmware then why not get the most recent for your region: SM-G900F or just a S5 Odin Flashable Modem & Bootloader?

The higher the last 4 alphanumeric characters, the more recent the modem & bootloader are.

***

"...TitaniumBackup-8.3.2.zip" - Titanium Backup is known to not restore all the necessary files & libraries for certain apps in recent Android versions and may cause some errors.

***

"...SD card formatted as internal" - That's an other complexifier that may cause some errors. See SD Card as Internal Storage - Adoptable Storage

***

"...password query at lineage-16.0-20190315 numbers at the lineage-16.0-20190318 qwerty - That's interesting, thanks for the info. :cool:

***
[Samsung Galaxy S 5 Unified Development] Myhand:
If you have a backup from your /data partition restore it. The phone will start normal. And next time you want to update, start the updater, download, press install, in TWRP swipe to allow changes, encrypt /data, chose install, go to /data/lineageos_updates/, chose the .zip and install.

... this is my workaround so far without problems
[Samsung Galaxy S 5 Unified Development] Vini69:
Can someone be kind to please explain to me how to keep the wifi alive when the phone goes to sleep ?

This has been driving me absolutely crazy since I moved from LOS 15.1 to 16 a few weeks ago.

With LOS 16, every time my phone goes to sleep, the wifi gets disconnected and the phone switches to my data plan, although wifi is always available.

So I started to manually turn off the data when I get back home, when I don't forget, so it doesn't try to use it when the wifi is available.

But every time my phone goes to sleep, the wifi turns off, and now I don't receive my messages or emails... until I turn the screen back on and the wifi reconnects!
[Samsung Galaxy S 5 Unified Development] Vini69:
Already tried it, but it didn't make any difference. Still getting wifi disconnected when screen is turned off...
[Samsung Galaxy S 5 Unified Development] curiousrom:
WiFi Disconnecting or Going To Sleep?

This info is correct, right? "SM-G900FD (klteduos) Lineage 16.0 Baseband G900FDXXU1CQA4 Bootloader G900FDXXS1CQD2 twrp-3.2.3-0-klteduos."

You can keep on stabbing in the dark or attach a logcat to a reply + the info above and maybe one of us can spot the cause of your Wifi problem.

Reboot & reproduce the problem then:

"how do I make a log..." - The free, quick & easy SysLog Play Store page explains how to give permission via adb if you don't have root.

Also in Syslog > 3-dots > FAQ > manually enable access which links to https://github.com/Tortel/SysLog > Readme.md.

The LineageOS Wiki - How to submit a bug report links to LineageOS Wiki - How to capture logs (logcat) without root using adb.

***

View attachment 4727087

Just to nag you a little bit here is a screenshot of GSam Battery Monitor & the nice solid bar is my Wifi connection. The white break is when I rebooted in TWRP & flashed a small minor mod. That's with LTE Data & sync enabled.

One caveat is that in the GSam current version 3.37 the data Sent & Received is not working & shows 0 bytes on Pie.

I had the same results on a dirty flash from unofficial 16.0 + Magisk > official & now on S5 G900M Super Clean Install LineageOS 16.0 klte build 2019-03-18 + Open GApps Pico + LineageOS Addonsu.
[Samsung Galaxy S 5 Unified Development] Vini69:
Info is correct.

For LOS 16, I did a full wipe clean install,with Open GApps Pico + LineageOS Addonsu. Then I flashed Magisk with TWRP so I could use substratum.

The wifi disconnection problem has been happening since the 1st day, as reported in my previous post from March 7th.

I'll try to do the logs, but here is the screen shot from gsam just right now that shows the wifi disconnection issue
[Samsung Galaxy S 5 Unified Development] curiousrom:
Substratum Woes & Boot loop - Capturing Logcat

In GSam > Chart > after running the app for more hours you can pinch to zoom in/out and slide the graph to the right/left to remove the dotted lines of your screenshot which is a guestimate of your future battery use. Try to test for several hours including not touching the phone for deep Doze shown in very dark orange in my screenshot.

GSam uses very little RAM & GPU & must have all the permissions enabled in Privacy Guard to work properly including Start at boot.

"...so I could use substratum" - Why? That's so 2018. I use in LineageOS 16.0 > Settings > Display > Style > Dark and Dark Mode > Black. Also Display > Wallpaper > No wallpaper without the need of using any third-party theme engine like Substratum or whatnot.

And many apps these days have their own dark mode option in their settings.

That eliminates overhead & possible source of problems especially when updating.

Did you see [MENTION=7567847]J-Lindo[/MENTION]'s post here for the full story. Extract:

He should get some Thanks :good: IMO for taking the time to write this report for our benefit.

***

"I'll try to do the logs..." - Lol, that's a one click thing in Syslog since you have root. The attachment shows capturing kernel & logcat but in your case logcat is enough.

You can open a logcat in WordPad or Notepad++ for example to keep the formatting & search it with wifi.

Or use an app on the phone like MatLog that can do a bunch of stuff. My friend [MENTION=4828250]Ibuprophen[/MENTION] likes Logcat Extreme which I also use sometimes.

It could be a wifi bug specific to SM-G900FD (klteduos) & [MENTION=2693412]haggertk[/MENTION]'s who is roaming this thread in the shadows & striking a post once in a blue moon out of nowhere may pickup your logcat.

If you make an official bug report, the LineageOS devs tend to disregard setup which includes Magisk because it makes system mods including modifying boot so that's why I clean flashed w/ LineageOS Addonsu.

That setup fails in the SafetyNet Test app as seen in the attachment so users w/ banking & some other apps who need to pass it can only use Magisk if they want root.

Note in Privacy Guard you can disable "Keep your device awake" for that SafetyNet Test app.

More S5 16.0 optimization tips here including Privacy Guard Advanced: Remove Animations UI Speedup Test - Taming Google & Apps.

***
[Samsung Galaxy S 5 Unified Development] J-Lindo:
Update: haven't done a clean install to test with, but I got a logcat from reproducing the Substratum bug. Further investigation shows the reboot to recovery actually only happens when applying the theme to Android System.

Now, here's a very interesting development with both good and bad news.

The Good News

[MENTION=2693412]haggertk[/MENTION] when I first reproduced this issue for a logcat, I flashed Substratum Rescue and rebooted to discover my third encounter with the No Service bug, which flashing my backed up EFS resolved once again.

The Bad News

Unfortunately, I'm repeating the Substratum failure and rescue again and again, but the No Service bug hasn't reappeared for me to logcat post-reboot (should've thought to on the first try—d'oh!). I'll try a few more times tonight and see if I can't get it to come back, but I like to hope something in my attached logcat might be helpful tracking it down.
[Samsung Galaxy S 5 Unified Development] Fly_7113:
Wow, that's a very long battery life!:eek:

TBH I could never manage to make it last so long.

Do you use this S5 as a daily driver?
[Samsung Galaxy S 5 Unified Development] Vini69:
Substratum : Of course I have been using the android native dark mode + black wallpaper, and I dream of the day I won't need substratum and tricks like that. Although numerous apps are still not providing a dark mode (Whatsapp, Instagram, google voice...) thus resulting to substratum.

I hate to have to use magisk only to be able to use substratum, and I still don't understand what's the difference in the SU that makes it work, instead of the regular SU-addon :confused: (mentioned in one of my earlier posts too)

Back to the wifi issue when my phone is switching to sleep mode. I ran gsam all night long to get a better picture of what's happening... although I didn't get much disconnection!

I realized that during the night I am further away from the router and my phone switch from 5Ghz to 2.4GHz for the wifi connection.

It appears that the disconnection happens when I am connected at 5GHz and there is no disconnection when I am connecting at 2.4GHz (I had to setup a different access point). By the way, I can't seem to find anymore the option to select the operating band for wifi in the settings.

I never had any issue with the 5GHZ band and LOS15.1, and all my other devices work perfectly without being disconnected too. My S5 connected forcibly to a 2.4GHz today didn't get disconnected so far...
[Samsung Galaxy S 5 Unified Development] Eclipse1991:
[MENTION=4122877]curiousrom[/MENTION] Thanks for your in depth guide, I could successfully flash the newest LineageOS 16 on my old s5. Works like it should ! Thanks a lot !

To be honest I dont know If ive installed the official or unofficial build, as ive just downloaded the newest build available on the page for my klte.
[Samsung Galaxy S 5 Unified Development] Eclipse1991:
Its okay [MENTION=4122877]curiousrom[/MENTION] , ive installed the latest LineageOs 16 official build for my s5 klte g900f. Now after reviving my s5, im pretty much interested in reviving my s2 but I havent any experience with it.