yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Android Development (Snapdragon)] :
I'm sorry for posting. I need help with this, I'm really sorry. I've used CyanogenMod/LineageOS for the Samsung Galaxy S2, S4, and S7 as old backup phones. They die, I get another - and I got a Samsung Galaxy S5. I'll give as much detail as possible. The summary is I've never had a problem because instructions are always really good for us non-technical people, unfortunately, for the S5 I'm not being booted into the environment and instead it's stuck on the boot screen.

I hit a problem immediately because:

- The sticker under the battery states SM-G900F

- The internals tell me it is a SM-G901F

What I did without a problem following this thread's instructions after fully charging the phone using the internals SM-G901F (which I can't display now after installing TWRP):

1 Rooted;

2 Installed TWRP 3.2.3.0

3 Installed ROM from front page

4. Installed Gapps

5 Cleared cache and davik

6 Rebooted

7 Stuck at boot screen

I thought hmm interesting, waited a while, but nothing. I repeated steps 3-6. Not working, repeated again and didn't do step 4, 5, in different tests. Same issue.

Wondered whether it was a SM-G900F/901F issue, downloaded the G900F ROM, went to install, and was reported it is it the wrong ROM for the device. This gave me some peace of mind! But it didn't fix the problem.

Tried some other ROMS: older LOS16, RR, and a Pie ROM from https://community.e.foundation/t/unofficial-build-samsung-galaxy-s5-plus-kccat6/8308/8 (1Aug21 release). Same issue.

The above was all on a 64GB Samsung SD. I tried most of the above after removing the SD and using the install ROMS on the device's internal memory.

I also extracted a couple of the LOS into separate directories and packaged them in a .tar for Odin, but Odin crashed with all versions I have.

Did a lot of Googling. This is beyond me.

I've never had to install a bootloader before, so I thought - good opportunity to learn. Unfortunately, the SAM mobile site doesn't have my model/country - Australia

(https://www.sammobile.com/samsung/galaxy-s5-plus/firmware/#SM-G901F).

If it did exist, I don't know how to extract the bootloader to a .tar for flashing.

I got the phone second hand. It's possible somebody has already tinkered with it.

Used Odin version 3.12.13 for flashing, no issues. Have legacy ones from older phones (3.07, 3.09). Haven't had issues before.

Any ideas - in non-technical language? Treat me as if a child wanting to understand :)

Thanks for any help.
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
You just can use any region firmware, as long as it is g901f, its only the provider rom thats why.

I have used this one

Samsung Galaxy S5+ (SM-G901F) - DTM - G901FXXU1CQJ1 firmware

Fast download latest Samsung Galaxy S5+ firmware SM-G901F from Germany (T-Mobile) with G901FXXU1CQJ1 and Android version 6.0.1

www.sammobile.com

as stated in the first post

"

For kccat6, use bootloader CQJ1, CQJ2 or later."
[Galaxy S 5 Android Development (Snapdragon)] ripee:
What is your phone's CSC? This is the 3-letter country and carrier code that Samsung invented. For the purpose of simplicity, you can flash the original one based on where your phone was sold.

Better yet, can you post a photo of the sticker in the battery compartment. This will give us some information about what your phone actually is.

Edit: Nevermind, this bit of info narrows it down:

Anyway, flash stock and install the DevCheck app. It will tell us the original CSC of your phone. I will attach a .tar file with the properly matched bootloader and modem for your CSC here.

@Marvin732 , the bootloader listed in the OP is a rough guide and by no means an absolute requirement. If a newer bootloader/modem are available, there's no reason not to flash it.
[Galaxy S 5 Android Development (Snapdragon)] :
Thank you for talking plain English. I'm really not very technical!

- I couldn't download from Sammobile without a subscription so I downloaded stock from the link below, in case anybody has this problem too. I downloaded the Marshmallow version

Samsung Galaxy S5 Plus SM-G901F Stock Firmware - Samsung Firmware

This is the official Android 4.4.4 Kitkat, 5.1.1 Lollipop and 6.0.1 Marshmallow stock firmware/ROM(F

samsungfirmware.net

- Was easy to flash.

- The Devcheck application gives this code:

CSC: DBT

- I've enclosed a picture without the bottom part giving the IMEI. You can see it says SM-G900F and not SM-G901F, which is what I flashed. I don't know anything about this.

Thank you. It's interesting to learn how these things work.

EDIT

====

I thought I'd go through the process again and download the most recent build for this phone, but the LineageOS page does not exist - https://download.lineageos.org/kccat6

EDIT2

=====

Out of interest, I went through the process with the new stock ROM installed after rooting and TWRP, flashed lineage-16.0-20210211-nightly-kccat6-signed and it booted to the environment. Ooh it worked.
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
Your phone is G900f the Samsung S5

It is not the S5+ (plus) wich has better hardware and called S901f

So I expect one of these days you run in trouble flashed S901f on a S900f hardware model.

I can't understand how you got this working anyway, but no need answering that question, you have put the wrong ROM on the wrong model now
[Galaxy S 5 Android Development (Snapdragon)] ripee:
@Fluffybrain , I ran a kccat6 build in July with the latest security updates, see my Google Drive in my signature, but you probably can't dirty flash it on top of the official build.
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
He's using your ROM for g900f he don't own the kccat6 g901f
[Galaxy S 5 Android Development (Snapdragon)] ripee:
So why did he mention having flashed the kccat6 build and it's having booted for him?
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
Like the French say:

Je ne sais pas ;-)

But he showed a picture of the inside of his phone wich sit under the battery

It says his phone is the g900f not the g901f

He might be the first one in the world flashing the wrong ROM working ever, I don't know what he did.
[Galaxy S 5 Android Development (Snapdragon)] ripee:
The sticker being inconsistent with what the system reports the hardware as being, is the fault of a shady device vendor, but of course you have to flash what can be flashed.
[Galaxy S 5 Android Development (Snapdragon)] :
The correct ROM wouldn't flash. I found a square peg for a square hole and don't see the point trying to hammer in a round one. You don't have to understand.
[Galaxy S 5 Android Development (Snapdragon)] :
Thanks so much. I'll keep an eye on alerts for it. It's been interesting and I appreciate the tutorial. I will download the file in the signature and prepare the phone. I'll write up what works so others can see what to do.
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
I think your answe is way beyond a form of arrogance , as if you did not post a picture if the inside of your phone telling its the model g909f, so whatever you say, it is there in posting 2810

What you flashed I don't even want to know, you yourself are the one causing confusion here.

I hope you have a mirror at home, I suggest you go practice a friendly face.
[Galaxy S 5 Android Development (Snapdragon)] ripee:
The 18,1 branch is almost ready, just need to work on sepolicy before I post builds. At first selinux will be permissive to catch as many avc denials as possible and fix them in sepolicy, then I will enforce the kernel and collect more logs to finish up with sepolicy, but this will take a few builds over a number of days.
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
ooh love it!!!

Gonna try it out definitely :D
[Galaxy S 5 Android Development (Snapdragon)] maanteel:
Hello @Fluffybrain

if you install e.g. https://play.google.com/store/apps/details?id=ru.andr7e.deviceinfohw&hl=de&gl=US

the device should be an SM-G901F.

View attachment 5377227

I am interested in how your story continues - from official lineage-16.0-20210211-nightly-kccat6-signed to ripee unoffical build.
[Galaxy S 5 Android Development (Snapdragon)] ripee:
To be honest, you kept telling him that he should flash klte not kccat6/lentislte, then you told me with a degree of certainty that he has a klte, meanwhile I read in his original description in which he clearly wrote that klte failed but kccat6 flashed.

I'm not a mod but before you talk back to someone, please first take care to read what they write carefully. Maybe you noticed your error but kept digging deeper not to make yourself look bad. It does no one any good to turn discourage people from asking for further help. The more users are willing to test any future work, the better.
[Galaxy S 5 Android Development (Snapdragon)] Badger50:
Thread cleaned of all recent drama. Let us please return to on topic, non accusatory discussion. Thank you, and a pleasant day to all.

-Regards: Badger50
[Galaxy S 5 Android Development (Snapdragon)] ripee:
18.1 builds

kccat6

lentislte

The kernel is permissive so any boot problems won't be related to it. All the usual R changes are there so I would be a little surprized if it failed to boot on any supported variant.

If it boots on your variant, test everything, including but not limited to, the camera, gps, and the fingerprint sensor. Please root the rom, install the SysLog app, generate all logs, and post them here. I will need these logs to revise sepolicy for the purpose of enforcing the kernel.
[Galaxy S 5 Android Development (Snapdragon)] ElroyJx:
Lineage os 18.1 kccat6 build fails to boot for me. Stuck on galaxy splash after direct upgrade. I also tried formatting data.
[Galaxy S 5 Android Development (Snapdragon)] Not-Aus:
Would it make sence if you open a new thread for the 18.1 builds for these devices?
[Galaxy S 5 Android Development (Snapdragon)] ripee:
Boot into TWRP, use its terminal to navigate to /sys/fs/pstore and extract any files in it.
[Galaxy S 5 Android Development (Snapdragon)] ElroyJx:
Here you go
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
stuck on here too with the samsung galaxy s5 boot logo
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
tried to flash the rom and also use it without any gapps but still stuck :/
[Galaxy S 5 Android Development (Snapdragon)] ripee:
Please no one else write that it doesn't boot. I don't need 20 people to say the exact same thing. Check for build 0806 in a few hours.
[Galaxy S 5 Android Development (Snapdragon)] ElroyJx:
New build 20210806.

Not sure if this helps but I did notice the length of the log is reduced to 443 lines compared to the previous output.
[Galaxy S 5 Android Development (Snapdragon)] ripee:
I took a fresh look at my 18.1 sources, and it seems I did more than I should :P So I have to revert some of the changes from the Note 4 that the S5 Plus doesn't need, as well as bring up the 18.1 vendor from the official vendor source, not the very old source which I had picked when I first started working on 18.1.

Oh well, you live and you learn...
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
oh 😆 things happen lol :) but its alright :D
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
I hope its okay to tag you...

How is the progress going :) ,found the culprit in the code 😃?
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
Build 20210809 still stuck at splash screen, how to extract the pstore folder? i have no idea how to use the terminal in twrp
[Galaxy S 5 Android Development (Snapdragon)] ElroyJx:
Don't need terminal.

Use the file manager and navigate to the folder, copy it to root storage then transfer to a pc for upload.
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
problem is that the folder is always empty, since i cant turn off the phone, i have to remove the battery and then go into twrp
[Galaxy S 5 Android Development (Snapdragon)] ripee:
Force reboot with volume down and power buttons.
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
Okay rebooting it this way worked, here is the file:
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
Was worried for a second after i saw both 18.1 builds being gone in the kccat6 folder.

Hope everything is alright with the troubleshoot
[Galaxy S 5 Android Development (Snapdragon)] ELOIAS:
Hi there!

I tried your 18.1 build (kccat6), sadly got into a boot loop. Btw the 16.0 version runs without any issues (except fingerprint for some reason). Since the 18.1 files vanished from your drive folder, have you planned another build? I just wanted to thank you very much for your work! Can I help you with any logs from the 16.0 version?

Greetings, Elias
[Galaxy S 5 Android Development (Snapdragon)] ripee:
Check in around a hour. Logs for 16.0 don't help with 18.1. I have a few more ideas about getting it to boot, but if they don't work, I won't bother.
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
the 9th august build doesnt work :/ is it the same as before?
[Galaxy S 5 Android Development (Snapdragon)] ELOIAS:
Hi!

To my knowledge it is. I tried it a second time but as expected - it failed. Anyway, thanks and let's hope for future updates :)

Greetings Elias
[Galaxy S 5 Android Development (Snapdragon)] ripee:
If you expect it to fail, why should I bother? If anyone here cared about more recent versions, they would have started work on the sources already.
[Galaxy S 5 Android Development (Snapdragon)] ELOIAS:
You probably misunderstood me. I already flashed the version of the 9th of August and like for the others, it throws me into a boot loop. As I downloaded the file from today, it was marked as a copy in my download folder. This is why I expected it to fail, nevertheless tried I everything to get it working. Unfortunately, I'm kind of a newbie and never compiled any OS into a flashable zip. I really appreciate your work and thank you for your quick replies. Of course, I understand that you have a lot of work in front of you and if you don't bother I can understand this too. I don't wanna urge you in any way, so take your time and work on this if you want to. Again thanks and have a great day!

Greetings Elias
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
If i could understand code i really would love to fix the bug but sadly i have no idea besides trying to fix things
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
one thing i noticed in the 20210809 version is, that charging while turned off works now, before it would go straight into recovery but now it shows the charging screen normally, so that's a good thing
[Galaxy S 5 Android Development (Snapdragon)] ripee:
That's cuz I fixed that bug in the Note 4, and since it uses the same kernel as the S5 Plus, this is an added bonus.

I will go over my commits again and the next builds will be eng rather than userdebug, which means adb should work so that you guys can get adb logcats while trying to boot. These logcats will help figure out why it's not booting more so than the files in the pstore folder you can only access in twrp.
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
alright perfect :) can't wait :D
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
Okay, here's the 20210815 release pstore, its different now!,

going into cmd and starting adb logcat and turning on the phone and connecting it to the PC, the phone wont get detected by the PC sadly

EDIT +reupload of pstore: One change also is ,the phone will now reboot into recovery by itself, if it fails to boot, which is also reported in the pstore, very recommended to check.
[Galaxy S 5 Android Development (Snapdragon)] ripee:
Ahh ya I forgot to make the builds eng not userdebug. I'll replace the current builds with eng builds probably later today.
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
Its fine!

Lots of respect and thank you for doing this work on the G901F

Much appreciated!!
[Galaxy S 5 Android Development (Snapdragon)] ripee:
New builds in a couple hours. They will be eng builds so that you can get adb logcats on your computers, but I also made a change to fstab as advised by Inkypen based on @Marvin732 's ramoops log.
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
Oh what is the change :) ?

EDIT:

okay saw it :)

"apq8084-common: fstab: Remove errors=continue,commit=20"
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
Ran it for a while, 6mb

some looks the same though towards the end
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
Okay, here is something as logcat.

Keeps being stuck on vendor, something with DRM, keymaster, WiFi etc
[Galaxy S 5 Android Development (Snapdragon)] ElroyJx:
Here is my logcat for kccat6, I used 'adb wait-for-device shell logcat' to start capturing the first few minutes as the device was detected.
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
I saw that there is a 20210818 release, its still at bootscreen and the eng is missing :/
[Galaxy S 5 Android Development (Snapdragon)] robla1000:
Is ripee still in town? I followed this thread curiously, how it developed.

I can imagine that Ripee got a bit pissed off by all those negative comments here.

Still hoping he will continue with kccat6-development.
[Galaxy S 5 Android Development (Snapdragon)] ripee:
I'm not pissed off but my interest in the S5 Plus is limited to my enjoyment of facing challenges and solving puzzles. I have no sense of urgency to get 18.1 to work.
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
I am very sorry to hear that, if i can somehow help let me know anytime!
[Galaxy S 5 Android Development (Snapdragon)] robla1000:
Well, if you enjoy challenges than we might have the fun of it .

It makes me coming back in this thread :)
[Galaxy S 5 Android Development (Snapdragon)] ripee:
New builds.
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
currently i only see lineage-18.1-20210818-UNOFFICIAL-kccat6.zip as the newest :/
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
sadly it still didnt work and the logcat wont pick up the device, i think the eng is missing so i only could upload ramoops
[Galaxy S 5 Android Development (Snapdragon)] robla1000:
As long as @ripee works on it, we have to be patient and hope it turns out right.

Or else that he tells us: I quit with this %@&#-ing kccat6.
[Galaxy S 5 Android Development (Snapdragon)] Badger50:
Greetings to all. I certainly hope everyone is doing well. Just dropped in for a little ETA/update request cleaning. While there is no formal rule prohibiting this, it is considered "uncouth" to ask for ETA's and updates directly, or indirectly. Please be respectful of our Developers time and RL demands, as they do this for free for all of us. Thank you for your cooperation, and a pleasant day to all.

-Regards: Badger50
[Galaxy S 5 Android Development (Snapdragon)] Advanced Android User:
Hi ripee, I there don't seem to be any more builds for lentislte (G906K), have you stopped making them? Thanks for your time!
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
Probably because 18.1 are a bit of a pain to work on G906K and G901F so i am glad we got some 16.0 updates :)
[Galaxy S 5 Android Development (Snapdragon)] Advanced Android User:
Oh, I was perfectly happy with LineageOS 16 (Android 9), for which ripee used to release new builds with the latest security patches. But when I just had a look, I noticed there were no more builds for lentislte at all.

Well, I'm glad it lasted as long as it did, 906K was an awesome phone.

The only somewhat comparable modern device is Samsung Galaxy Xcover Pro from 2020 (still in production), which has expandable storage, a headphone socket, a user replaceable battery, several physical buttons and is water proof. Unfortunately it's a bit bulky/heavy. I actually have one here but haven't migrated to it because I much prefer the size and weight of the good old S5, which was perfect, in my opinion.
[Galaxy S 5 Android Development (Snapdragon)] ripee:
I ran a new 16.0 lentislte build yesterday.
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
LineageOS - Google Drive

LineageOS

drive.google.com

there's a lineage-16.0-20210926-UNOFFICIAL-lentislte.zip :)

I really want to thank you alot for your hard work!!
[Galaxy S 5 Android Development (Snapdragon)] Advanced Android User:
Thank you, very much ripee!
[Galaxy S 5 Android Development (Snapdragon)] cayard:
Hello there,

is there some place where i can download the latest official (or updated unofficial) lineage 16 for kccat6?

I could not find it anywhere. At the moment I'm using 'lineage-16.0-20210211' and want to update it as far as possible.
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
LineageOS - Google Drive

LineageOS

drive.google.com

There's a 16 build from September
[Galaxy S 5 Android Development (Snapdragon)] cayard:
Thank you.

Is this the build from ripee and if yes why isn't it under his link with the twrp and lte builds?

I appreciate your reply and I can trust a known dev from xda with an unofficial build but I think I need some verification.

xda is a great place. Thank you guys for all the work, I love the lineage project.
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
because there were 18.0 builds planned and they were made in extra folders, but since its a bit difficult to do for g901f and G906S/K/L, it was stopped at that point