yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] jdrch:
The original reasons are:

1) Gives devs more time to fix issues.

2) Reduces load on build infrastructure.

I much prefer it so far as I don't have to spend every morning updating.
[Samsung Galaxy S 5 Unified Development] milesius:
WAIT - you said G900F though I have a G900V...

I actually mistyped that and corrected before I saw your response. (thanks for the speedy reply!)

SO I should be flashing the files extracted from the Verizon image - not the intl. version - else I brick my phone - correct?
[Samsung Galaxy S 5 Unified Development] jdrch:
Yes. Just make sure you don't include the aboot.mbn file in the archive you're flashing, or you'll be in a world of trouble.
[Samsung Galaxy S 5 Unified Development] eurohunter:
kltespr (G900P) doesn't reconnect to network after service has been lost

A couple of days back, I opened an issue in JIRA bugbash (nr. 792).

https://jira.lineageos.org/projects/BUGBASH/issues/BUGBASH-792?filter=allopenissues

If other users cannot get signal back after turning airplane mode on and off or after completely losing service (showing an X in the signal icon) from other ways such as subway or elevator, please contribute to that issue in the JIRA. So far it seems to be an issue only for the sprint variants.
[Samsung Galaxy S 5 Unified Development] spikeygg:
I looked through the list of supported models and I don't see the SM-G900A (AT&T) listed as "supported" by Lineage OS. Is it supported?

Thanks,

-Greg
[Samsung Galaxy S 5 Unified Development] fitittome:
I maybe wrong, but I think that one as a bootloader that cannot be unlocked.

---------- Post added at 10:32 AM ---------- Previous post was at 10:18 AM ----------

I have been looking at the Official way to contribute to the cause. I concluded it would far easier to spend my time reverse engineering the Exynos chipset. :silly:
[Samsung Galaxy S 5 Unified Development] fipsy:
Thanks for the links! After reading https://wiki.archlinux.org/index.php/Solid_State_Drives#Continuous_TRIM I did some additional experiments and activated the discard option as the default mount option for the /data partition (didn't even know that this is possible before!):

# tune2fs -o discard /dev/block/mmcblk0p26

After doing this

# tune2fs -l /dev/block/mmcblk0p26

showed this option as the default mount option - even after a reboot. But nothing changed! Somehow setting this option seems to have no effect. :eek: I'm quite confused now. So I again removed this default mount option with:

# tune2fs -o ^discard /dev/block/mmcblk0p26

*---*---*---*---*---*---*---*---*---*---*---*---*---*---*---*---*---*---*---*---*

Remounting the internal sdcard with

# mount -o remount /mnt/runtime/default/emulated

accurately shows the free space immediately! So at the moment remounting seems to be the only method to force the OS to properly show the free space. Not very nice! :(
[Samsung Galaxy S 5 Unified Development] 4rz0:
Is it already possible to enable the navigation bar through the device's settings?
[Samsung Galaxy S 5 Unified Development] fipsy:
Oh my! The problem with free space seems not to be discard-related but mount related. The free space normally seems to be retrieved for the mountpoint

/mnt/runtime/default/[..]

But normally you copy your files to

/storage/emulated/[..]

Both directories point to the same device. If you copy your file to

/mnt/runtime/default/emulated/0

and delete it afterwards the free space is properly shown!

Curiously the system seems not to reflect free space for different mount points from the same device. So every mountpoint virtually may have it's own free space though they bind to the same device. That's why remounting the mountpoint from which the system retrieves free space temporarily solved the problem. Finally I must admit that it doesn't seem to have directly to do with discarding free space (discard option). But I still cannot explain why adding this option solved the problem yesterday. Maybe there are positive side effects between this option and different mountpoints.
[Samsung Galaxy S 5 Unified Development] fitittome:
Good work but this was my worry....... What best to do with the BUGBASH? I know how valuable the dev time is and I do not want him wasting time chasing ghosts. Equally, I am fairly certain there is a problem here. We were nearly at a point where were asking the dev just to flick a switch and the problem would be sorted. Now I am not so sure.
[Samsung Galaxy S 5 Unified Development] jdrch:
That works too. I just decided to write blog posts after being frustrated by lack of official documentation and having to trawl multiple forums for hours to find the answer to a single simple question. Lack of documentation and poor, nonspecific explanations/instructions continue to be 1 of the greatest challenges the community faces, IMO.
[Samsung Galaxy S 5 Unified Development] fipsy:
I agree. The whole thing is extremely weird! As long as we do not know what exactly the reason is, we cannot say anything concrete about it. We can only say: FREE SPACE IS WRONG! And please do something against that issue as it even may cause crashes and data loss! This should be enough for everyone.

I think the switch will not help. Because you may set it by default for the filesystem and it didn't help so far. I don't know enough about the LOS14.1 filesystem, the mounts and internal mechanisms to say something substantial. But I can say: There is something wrong and it is reproducible!

As a workaround I have created a batch file for SManager with a shortcut to the launcher that determines a remount. This is a very dirty solution and normally shouldn't be necessary in the 21th century (as you said on bugbash funnily enough). :)
[Samsung Galaxy S 5 Unified Development] fitittome:
OK. I have amended the BUGBASH to reflect. Whilst the free space issue sucks, it is of secondary importance to sd-card corruption but there are no logcats demonstrating it and it's not reproducible.
[Samsung Galaxy S 5 Unified Development] fipsy:
Maybe I'll investigate into a logcat for crashes in the next few days. I'm just repairing a second Galaxy S5 that is dedicated for test purposes...
[Samsung Galaxy S 5 Unified Development] cdrivex4:
Anyone else notice when hovering and cursor are both enabled there is no pointer anymore? Or has it been like that for a while?
[Samsung Galaxy S 5 Unified Development] ToriRobobo:
I've tried again with the same version but on updato

http://updato.com/firmware-archive-select-model?record=AFEA2473191411E7963AFA163EE8F90B

Still got the same "There is no correct record at the end of archive." It doesn't seem to matter which file I use. Tried removing the .md5 part and extracting it as a .tar, still same error message.

Despite the error message everything is still extracted by the way. All files are there and look complete. I don't know if the error message is normal or an indicator something's wrong.

Instead of 7zip, I tried using winrar which doesn't seem to be usable on .md5, but it did work on the .tar that had .md5 removed. For that one, it seemed to work with no error message.

Do you think it's fine to proceed with the following files on that guide?

And a question about step 6-11: I archive the files as a .tar and use that in the AP slot on Odin. But what if the file fails or has an error? Is it not recommended or possible to turn the .tar back into a .md5?
[Samsung Galaxy S 5 Unified Development] jdrch:
Yep, should be!

I've never had that happen, but should it fail you can always overwrite it by trying again. AFAIK as long as Odin is connected to your phone and you feed it the right file format, name, and size the write process will pretty much always succeed. If you have a bad write you're most likely to discover it when you actually try to use the phone. But as long as your download extracted fine (which it did, apparently) you don't have to worry about that.
[Samsung Galaxy S 5 Unified Development] SuperSandro2000:
Maybe getting the latest features and security patches.
[Samsung Galaxy S 5 Unified Development] Vasto_lorde97:
Please add support for the G900R6
[Samsung Galaxy S 5 Unified Development] SuperSandro2000:
Please be a nice person
[Samsung Galaxy S 5 Unified Development] ToriRobobo:
I'm using Odin, but it seems to be stuck on file analysis each time. I've tried setting up Odin first and then starting in download mode, but it still seems to be stuck.
[Samsung Galaxy S 5 Unified Development] jdrch:
That is extremely unusual. ? Try hitting the Odin forums and see what they tell you there.
[Samsung Galaxy S 5 Unified Development] ToriRobobo:
Oh nevermind, managed to get it to work. I used adb reboot download both times so I'm not sure what the difference was. It's been on <ID:0/004> NAND Write Start!! for a few minutes now so I'll wait and see.

edit: Strange, seems to have failed.

<ID:0/003> Added!!

<ID:0/003> Removed!!

<ID:0/004> Added!!

<ID:0/004> Odin v.3 engine (ID:4)..

<ID:0/004> File analysis..

<ID:0/004> SetupConnection..

<ID:0/004> Initialzation..

<ID:0/004> Get PIT for mapping..

<ID:0/004> Firmware update start..

<ID:0/004> SingleDownload.

<ID:0/004> modem.bin

<ID:0/004> NAND Write Start!!

<ID:0/004>

<ID:0/004> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)

Not sure what went wrong here.
[Samsung Galaxy S 5 Unified Development] ToriRobobo:
Ok so I managed to make it work by odin flashing a pre-made modem + non-hlos tar.md5 I found on xda. And now my data works. So that proves that odin can work, that my files weren't working for some reason but the other md5 was, and the cause for the data issue is the firmware.

[MENTION=5909804]jdrch[/MENTION] How important those other 4 files (rpm.mbn, sbl1.mbn, sdi.mbn, and tz.mbn)? I'm not aware of any way for me to create a flashable .tar.md5 on my computer, so I don't think I can create one just for these remaining 4 files. Although I've fixed the main issue, I'm worried that not updating these other firmware files may cause issues down the line. If so, I could revert to stock to update the remaining.
[Samsung Galaxy S 5 Unified Development] thaidroid:
Those file's are only needed if you want to make a Flashable bootloader. If your problem is fixed you probably dont have to update the bootloader. There is a set of instructions in the zip I posted. Use 7Zip to create the files from the latest official ROM if you want to do so.
[Samsung Galaxy S 5 Unified Development] ToriRobobo:
Ah thank you, I didn't know you had instructions in the zip file.

I read from jdrch's guide here about the aboot.mbn. How do I know if my phone originally came unlocked? I don't remember but I think it was unlocked. It's T-Mobile SM-G900T.

Different question but I just updated to the 7/12 nightly and the phone was in the booting animation for a while (over 5 minutes). I don't know if it was pressing the power button for a while or just a coincidence but it did work. How long do these after-update boots usually take? I've had times before where my phone gets stuck on the boot (not boot loop) but gets fixed if I force reboot.
[Samsung Galaxy S 5 Unified Development] thaidroid:
If you wipe dalvik and cache before reboot 5 minutes is nothing out of the ordinary. Same for clean flash. Sometimes it can take up to 15 minutes for certain roms.

The phone normally comes alive just when you are thinking its time to hit the power button;);)
[Samsung Galaxy S 5 Unified Development] jdrch:
The guide I wrote answers that question ☺️
[Samsung Galaxy S 5 Unified Development] Titus_Andronicus:
Here is my problem. I am trying to clean flash the 2017 07 12 nightly. from CWM (PhilZ Touch 6). When I try to Install, I get

E:Can't open /storage/sdcard1/lineage-12.1-20170712-nightly-klte-signed.zip

(bad)

the file was downloaded from the Lineage download site. I tried the two previous nightlies, and same thing.

Then I tried re-installing the previously working March 01 nightly, and that worked fine.

I tired a dirty flash, and that also did not work.

Any ideas?
[Samsung Galaxy S 5 Unified Development] fitittome:
Best to replace your recovery with TWRP first. You sould be OK from there. It would be worth checking/upgrading baseband too.
[Samsung Galaxy S 5 Unified Development] jdrch:
I didn't realize people still used CWM. Yikes.
[Samsung Galaxy S 5 Unified Development] FlexiPack:
I'm going to dirty flash this week's weekly. I haven't dirty flashed before. Aside from Wipe Dalvik/Art is there anything else I need to be aware of? Will wiping the main cache partition be of any use?

I'm running the 12th July build (clean install) with no mods.
[Samsung Galaxy S 5 Unified Development] jdrch:
Just wiping Dalvik/Cache as prompted after dirty flashing will do. That's the update path most of the forum uses.
[Samsung Galaxy S 5 Unified Development] PorchSong:
My data connection in toolbar is no longer showing how it is connecting i.e. LTE, 3G, etc. In the pulldown the type of connection shows, just not on main toolbar.

Anyone else experiencing this?
[Samsung Galaxy S 5 Unified Development] FlexiPack:
For those with camera reboot issues on the 12th July build, it seems to be fixed on the latest weekly (19th). Many thanks to the devs! ?

Thanks for the info. Flashed and wiped successfully.
[Samsung Galaxy S 5 Unified Development] ToriRobobo:
This is very strange, but after I had updated my modem and NON-HLOS yesterday, I used data and found it worked fine for about 40mb. I flashed to the latest July 12 update afterwards.

I didn't notice until today after leaving that my data doesn't work. When wifi is not connected or I've disabled it, after rebooting or at random moments the data will work fine, but most of the time it won't.

My baseband says it's the latest version so I don't know why this is happening. Later I'll try flashing the modem again, and bootloader too without aboot (because I'm not sure whether it started unlocked or not).

Anyone have any idea what's going on? Could this be another cause and not a firmware one? What if it's a hardware issue? I'll probably have to reset to stock by Smart Switch or something, but that may not help if the issue isn't about firmware or OS.
[Samsung Galaxy S 5 Unified Development] aniksha:
File Rename

Since the last nightly (20170719): When a file was renamed, the LOS file manager shows it renamed, but it isn't. Connected via USB to the PC (Linux) still the previous name of the (renamed) file is displayed and the same by the file manager of TWRP (3.1.01). That bug came by the last nightly (haven't seen it before). Thank you for looking into that issue.

---------- Post added at 11:55 PM ---------- Previous post was at 11:54 PM ----------

I forgot to mention that it concerns the external SD Card !!!
[Samsung Galaxy S 5 Unified Development] Szarko:
Hi, I'm interested to know if a stable release is planned and when they may happen, or will LOS for klte always be nightlies?
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
In my opinion, LOS is already stable enough. Isn't it? I personally don't care if the release tag is "nightly" or "stable" or whatever else as long as it did the job.:p
[Samsung Galaxy S 5 Unified Development] thaidroid:
Download the latest FULL rom for your phone from Sammobile and flash the whole thing then you are sure to have everything updated. After that is done you can start over with Lineage again. Make sure you back up all your personal stuff since your phone might get Fully wiped. Also dont try to change anything to F2FS just run as is.
[Samsung Galaxy S 5 Unified Development] ToriRobobo:
Important bit of info I've found recently, but there seems to be a strong connection between my data connection and apps that use location/GPS. I've found that my data connection actually endures (mostly, sometimes it still cuts off completely) until I open an app that has permission to use location and does use it (like Maps or Skype and the white location icon appears).

When that happens the data connection breaks completely until I turn on wifi. I've checked my apn and other settings again and still nothing changed. I don't know if that's an issue with my rom/firmware/software or my hardware. It seems like GPS works when wifi is on though.

I'm not sure what F2FS is. Quick google search mention ext4 and that's one of the file types in the ROM. I'm just wondering but between Smart Switch and odin flashing latest firmware rom, what's more reliable? I'm not sure how Smart Switch or Odin will handle wiping (as long as they don't touch the sd card it should be fine).

Edit: To be honest I'm start to second guess going back to Lineage after revert to stock... I didn't expect all of this trouble would happen and whether the benefits are still worth it.
[Samsung Galaxy S 5 Unified Development] ToriRobobo:
I'm going to flash stock with Odin to update the firmware. I have the md5 from updato and put it in AP slot. Phone is in download mode. What options do I choose? Auto reboot, F-reset time on? Re-partition off? Anything different?
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Better don't touch anything. Just add the Stock ROM in AP, click 'Start' and wait until the flashing process finishes and reboots your system...
[Samsung Galaxy S 5 Unified Development] ToriRobobo:
Well I got the green pass and it rebooted into the white T-Mobile screen... and hasn't left that since 45 minutes ago. Home and menu buttons don't work, haven't tried force restarting or anything else. What do I do now?
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Sometime it happens to me. What I did is

1. Remove battery

2. Reboot to stock recovery (by pressing power + home + volume up)

3. Wipe Cache/dalvik cache (or do a factory reset): forget the exact words...

4. Again restart

It will hopefully work...
[Samsung Galaxy S 5 Unified Development] ToriRobobo:
Did what you said, and wiped cache, factory reset, and wipe cache again. Still at the white logo screen. I don't know if it's gonna go away or not but it's been a few minutes.

If that didn't work, what now?

Edited: Nevermind, it worked some minutes later! My bad. I'll see if things are ok now.
[Samsung Galaxy S 5 Unified Development] fitittome:
It sounds like it may be related to another issue. I think it would help the dev if you could file a bug report. As you know it was working before the latest update I think you can file it as a regression issue.
[Samsung Galaxy S 5 Unified Development] ToriRobobo:
Following this guide:

https://wiki.lineageos.org/devices/klte/install

I'm trying to get Heimdall to work. I installed the driver for MSM8960 and it worked (regular one, not WCID as the WCID still has a red x). There was a Gadget Serial Controller but that disappeared when I chose the former for driver.

I opened the cmd at the heimdall directory and got at the end:

ERROR: Failed to detect compatible download-mode device.

It didn't reboot either, so what went wrong? Am I able to use Heimdall?

Edit: reading that Odin works better. I'll give it a try.

Edit2: Succeeded in installing Lineage! Looks like the issue with data and location is fixed as well. I'll confirm it in the next few days, but for now it doesn't seem to have a problem.

Strangely enough I have 2 of the same name APN after I went from stock to Lineage (just like before) but the two APN slightly differ in some type. I'm not going to touch them even though neither match what T-mobile's Galaxy S5 apn should be like. Data seems to be working now anyways.

Thanks to everyone who helped me!
[Samsung Galaxy S 5 Unified Development] fipsy:
Since the last Update to LOS-Version 2017-07-19 I have an extreme battery drain. BBS always shows 3 kernel wakelocks that hold the phone awake for about 50% of all the time: event2-1282, event13-1282 and event0-1282. These wakelocks are completely new to me. Nothing to find about them on the internet. They fire about 10.000(!!!) times within 15 minutes. Can anyone confirm? Maybe it's not LOS but Boeffla kernel related. I also updated the kernel...

By the way: The spontaneous reboots were not related to undervolting (medium UV is absolutely okay with an ASV / PVS of 5) but related to the governor! Thanks for this hint! After using the interactive governor everything was fine...
[Samsung Galaxy S 5 Unified Development] j1gga84:
[MENTION=2693412]haggertk[/MENTION]

Now it even is not possible anymore to send zip files via bluetooth.. :(

What is the reason for that? Under MM it was possible to send any files.. In my eyes this is a big step back.

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Samsung Galaxy S 5 Unified Development] fipsy:
I came from a Galaxy S3 with KitKat and in my eyes the complete Android 7.1 is a BIG step back in many respects. I LOVED KitKat so much (not only the sweeties but also the OS ;))! But the S3 as well as KitKat OS are discontinued models and so you have to accustom yourself to new things - though they maybe much worse than the old ones and make you unhappy. At least temporary.
[Samsung Galaxy S 5 Unified Development] Atento:
Did you notice any problems with data speed? I also find out my data speed connection (lte) is way slower than previous release.
[Samsung Galaxy S 5 Unified Development] tobymacfreak:
What is the most up to date TWRP recovery to use on an unlocked Verizon S5 bootloader?

I am currently the TWRP recovery provided using SafeStrap.
[Samsung Galaxy S 5 Unified Development] Bobcus Leper:
The latest KLTE version is the most up to date TWRP recovery.
[Samsung Galaxy S 5 Unified Development] Titus_Andronicus:
OK thanks.

Is there an easy way to install TWRP from CWM? Or do I need to use Odin?

Also, upgrading baseband, is that done using this guide

https://jdrch.wordpress.com/2017/01...ions-without-breaking-custom-rom-or-recovery/
[Samsung Galaxy S 5 Unified Development] fipsy:
I didn't notice issues with data speed. Just made a speedtest and had 15.5 Mbps downstream and 2.5 Mbit upstream. These are good values for mobile network.
[Samsung Galaxy S 5 Unified Development] fitittome:
Odin. Just drop the zip into the AP slot. When you get the green pass pull the battery. I think that guide is fine, I have a detailed one here for Windows (just replace the baseband file with the TWRP file)
[Samsung Galaxy S 5 Unified Development] J-Lindo:
Anyone having issues with transferring files to and from Windows 10 (build 1703, if that helps)? ADB works perfectly fine, and the phone shows under Device Manager as "Samsung MTP device" (or close to it-- I'll get the exact wording after work), but no amount of driver installing and reinstalling seems to get Windows to recognize my phone as media/file storage.
[Samsung Galaxy S 5 Unified Development] jdrch:
I haven't used that feature since I had my Motorola Droid; actually thought it was deprecated. You're better off either doing a network transfer or using an SD card or a USB drive with an OTG cable, since all of those methods give block-level r/w instead of only file-level as MTP does.
[Samsung Galaxy S 5 Unified Development] chainzy:
No issues here just swipe down on the phone and choose file transfer as the method. Might be set to usb charging
[Samsung Galaxy S 5 Unified Development] thaidroid:
Or use Airdroid app from the store. It's Free and does almost everything you want to do on your phone over Wifi. The only time I ever connect my phone to PC via cable is for ODIN(and maybe if I want to copy over huge files (Like my TWRP Backup directory) .