yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] omgbossis21:
[ROM] LineageOMS Android 7.x Nougat [KLTE] [UNOFFICIAL]

*** Disclaimer

-- You install these at your own risk! You are responsible for anything that happens from flashing these files to YOUR phone! If your
phone melts into a pile of goo, catches on fire etc. IT IS NOT MY RESPONSIBILTY BUT YOURS!

Introduction

Installation instructions

Downloads

FAQ

Thanks To/Credits

* And any and all users in this thread who contributed or will contribute to making this ROM as stable as possible!
* Esa Laukkanen aka elelinux
* Lineage Team & LineageOMS team
* Garwynn XDA
* MrTrip
* Thescorpion420
* DevVorteX
* albinoman887
* ktonsez
* Hagertk

How Do I...?

How do I report an issue? Please use this format -
Device :
baseband:
BL:
Build:
Issue:
* This will make it easy to follow along common issues,which variants and those with updated firmware that dont have the issue one on a older firmware does can attempt to update for resolution.

What if im not on stock kernel?
*I will not be supporting other kernels so if you report an issue add Kernel: to the issue format. Im anxious to know if boeffla has an issues with it over stock myself as thats what i run but its not my priority!
What do I do , In stuck in a boot loop?
*Under the download section up top is a file for substratum removal. This should remove the overlays and recover from most boot loops if they were to occur.
When will you, how long until ?
* Please dont expect or ask for nightlies,weeklies etc These builds will come in my free time. If an update brings about an issue i will move to resync as quickly as i can when said issue has been resolved.
*DO NOT ASK FOR TIME FRAMES! Please keep in mind us developers have lifes and asking or expecting a timeframe is entirely unreasonable. It may take a few minutes to flash and setup but it takes enourmous time and effort to build and maintain!
[B][U][SIZE="5"]Donations[/SIZE][/U][/B]
Id love an ad free xda account =-) It can really eat some resource when xda is open in both windows and a virtual box Ubuntu browser!
[CODE]

[B][U][SIZE="4"][PLAIN]XDA:DevDB Information[/PLAIN][/SIZE][/U][/B]
[SIZE=3][B]LineageOMS, ROM for the Samsung Galaxy S5[/B][/SIZE]

[B][U]Contributors[/U][/B]
[URL="https://xdaforums.com/member.php?u=5341181"]omgbossis21[/URL]
[B]Source Code:[/B] [URL="https://github.com/LineageOMS "]https://github.com/LineageOMS [/URL]

[B]ROM OS Version:[/B] 7.x Nougat
[B]Based On:[/B] Lineage,LineageOMS

[B][U]Version Information[/U][/B]
[B]Status:[/B] Alpha

[B]Created[/B] 2017-07-28
[B]Last Updated[/B] 2017-07-28
[Samsung Galaxy S 5 Unified Development] omgbossis21:
Reserved

Download the Rom Here :

https://www.androidfilehost.com/?w=files&flid=201806
[Samsung Galaxy S 5 Unified Development] omgbossis21:
Reserved

Screen Shot : (More available by clicking screenshots up top)
[Samsung Galaxy S 5 Unified Development] Szarko:
Hi, forgive me if I am missing something.

I am running latest LOS nightly and run substratum with no issues so far, at least that I can tell.

Just want to understand what this is providing, and if I am missing something.

Thank you.
[Samsung Galaxy S 5 Unified Development] omgbossis21:
While substratum works on lineage your in legacy only mode and many features cant be used or crash. I regularly had to use the substratum removal tool when doing updates on the regular substratum rom then setup my theme again. This provides support for boot animations, sound packs, apply without reboots , fonts, apply & build/update etc. OMS is fully baked into the rom to support each and every feature without issue and without issue while updating.
[Samsung Galaxy S 5 Unified Development] Szarko:
I see, thank you.

I haven't really done much with Substratum besides load my single theme pack that makes things look the way I expect.

So far stability for me has been decent. I usually run an app called 'Twilight' to weak lighting. I notice more crashing when running this combo.

If you are providing these awesome features and the platform to integrate LOS and Substratum correctly, are you planning on opening a PR on LOS repo? Maybe they will merge your good work.

Be well.
[Samsung Galaxy S 5 Unified Development] omgbossis21:
It all depends on the popularity of the ROM and rather it stays close to stock as possible or ventures far away. If things take off I'll use polls to let users decide. As far as you mentioning no issues I'm assuming you were using the swift dark or swift black (forget name) that everyone else was? That was the only stable one I found. Many other themes I absolutely loved but it was only a matter of time before a bootloop, odd issues or an update leading to a bootloop then setting the theme up all over again. You also couldn't use fonts or boot animations as well as required reboots to apply the themes. I'm back on my backup now to get the last of my data to switch to lineageOMS full time and continue to work on it. I planned to build it for myself but felt others may appreciate it shared. I've already synced back up to do a new build as well as I need to make a few small changes.
[Samsung Galaxy S 5 Unified Development] rweidner:
does wifi calling work

Does Wifi calling work with this rom
[Samsung Galaxy S 5 Unified Development] omgbossis21:
No but I'm actually trying to find the ROM (I think its Korean variant?) That it does work on. I found one that says volte works so I'm going to try to merge it. If it looks like I can do it you may see bits and pieces of it in future variants. I'm forking sources over now to have a look at their ims manager. I've looked before and seen different carriers use the same imsmanager, I think its going to be more merging and getting the CSC files right. Its not priority though.

For now the ROM is pure vanilla so it does everything lineage official for klte variants do and don't do anything they don't (except full support for substratum).
[Samsung Galaxy S 5 Unified Development] omgbossis21:
New update posted in download link, all sources synced up and I made a change to make bluetooth file transfer act the way cyanogenmod 13 did. You should now be able to transfer all file types including apk files, or maybe bluetooth is completely broke =-)
[Samsung Galaxy S 5 Unified Development] j1gga84:
Can you tell me how you do that and is sending of all file types supported again by official LOS?

because currently I use ResurrectionRemix 5.8.3 on my KLTE and Samsung Galaxy Tab S device but there I am not able to send any type of files via BT, allthough it worked in older builds (not all type of files but zip files worked for example).

Many thanks

regards
[Samsung Galaxy S 5 Unified Development] omgbossis21:
You should be allowed to send select few files like music on your ROM. I just did a dirty hack to bypass the black filter (not allowed file types). I'm trying to trace back to where we lost the option w the checkbox to send all files but its time consuming and I've only gotten so far. Seems we have the code to support it but lost the GUI part with the option in the 13 to 14 update
[Samsung Galaxy S 5 Unified Development] eurohunter:
is klte the only device uploaded at the moment? I thought i'd give it a try on my kltespr
[Samsung Galaxy S 5 Unified Development] omgbossis21:
If official lineage support so does mine. Kltespr was merged w klte right? I think my first page says it does. You will need to clean flash but I'm may try to make a migration build for dirty flashers like Me. Boeffla runs fine on it, I'm using it.
[Samsung Galaxy S 5 Unified Development] eurohunter:
That's what confused me. kltespr has not been merged in klte in official LOS. So I was wondering if you merged them all in one. Thanks.
[Samsung Galaxy S 5 Unified Development] omgbossis21:
I thought it was? I was building it unofficial before merge it worked fine. I'll look into it and if need be maybe spin a build.
[Samsung Galaxy S 5 Unified Development] eurohunter:
Thank you. I was looking at your list, and maybe I am not understanding what type of merging you are referring to, but there are separate builds in the official LOS website for klte, kltespr, klteduos, kltekor, and kltedv. The ones that have been merged into klte from your list are klteusc and kltevzw. And, using my G900P (sprint variant) as an example, as far as I know, I am not supposed to flash a build other than kltespr. This is a list of the devices that continue to have their own separate builds (latest 08/02):

kltespr: https://download.lineageos.org/kltespr

kltekor: https://download.lineageos.org/kltekor

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

kltedv: https://download.lineageos.org/kltedv
[Samsung Galaxy S 5 Unified Development] omgbossis21:
I'll see what I can do tonight about spinng you a build. I was building for kltespr,kltedv,kltevz and another before lineage was official. Pretty sure I can get one going for you sprint guys but I don't know they move CDMA to klte and leave out sprint . locked BL?
[Samsung Galaxy S 5 Unified Development] sunilpaulmathew:
Good work [MENTION=5341181]omgbossis21[/MENTION]. Though I'm not a big fan of substratum and themes, it will be nice to see more options for kltexxx devices. As [MENTION=4422232]eurohunter[/MENTION] said, I think most of the klte variants need separate builds except kltevzw and klteusc (those are already merged with klte). I don't know exactly about kltespr, klteduos, kltedv etc, but I'm fully sure that the klte build will not boot (instead, directly go to download mode) on my kltekor (due to significantly different device tree as well as a slightly different kernel) unless the users will flash a compatible kltekor stock/custom kernel on the top of the klte ROM. You may probably clarify those things in the op.

What phones will this support?
At the moment these builds should support KLTE,KLTEDUOS,KLTEDV,KLTEKOR,KLTESPR,KLTEUSC & KLTEVZW

Btw, It will be really great, if you add some simple but useful apps (like OmniSwitch, OmniJaws etc.) to the ROM. You can easily find the sources from RR/crDroid github repos. And if possible, may be pixel like blue accent color. Such simple changes make this ROM really unique. These are just my suggestions. Of-course, all these things are up to your choice and decision. Thanks a lot, anyway, and keep up the good work...
[Samsung Galaxy S 5 Unified Development] omgbossis21:
Thanks I appreciate that. I originally made it for my wife and as we like the themes but unless you stratmy far from lineage or use what little theme support it has, you can't do much. I considered changing colors but I think its best to leave it up to selected themed especially since you can mix and match them. As far as app I have some plans for that up my sleeve. My isp is still down after getting home from work so I'll have to build a kltesor ROM tomorrow. I'll do one for any other build requested as well, otherwise other variants come in my free time. I'm still curious if my bluetook hack fix worked, may need to update my phone to find out! I'm also all for boeffla kernel and viper audio so as things pick up more and more I'll let users vote via polls. A few cherrypicks on the other ROMs isn't a bad idea either!
[Samsung Galaxy S 5 Unified Development] j1gga84:
Thanks for information.

Could you explain how you did the dirty hack? Maybe I can forward this to the developer for the unofficial ResurrectionRemix that he can probably implement this in that ROM, that would be great.

And if you have the code maybe this could be forwarded to jira that it will be re-implemented in LOS 14.1

Are you able to send zip or apk files with that hack? Or let me ask different, are there files that you cannot send?

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Samsung Galaxy S 5 Unified Development] omgbossis21:
I am spinning a kltespr build right now so if all goes well I'll have it up today for testing.

The dirty hack is not tested or at least not reported by any users yet, heres a link to my blue tooth system app folder try and replace your bluetooth.apk with mine, reboot and see if you can send all file types. Rename your original bluetooth.apk to bluetooth.apk.bak or similar so you can switch right back in case i broke blue tooth or something. If it doesn't with with the apk try adding the lib file in from the lib directory but just try the apk alone first. Its a very lousy work around and would never get merged into official but im working on doing it the right way. If you have a cm13 build and can screen shot the area it ask if you want to send all types of files that would help, im not sure what menu it was under so i i don't know where to look graphically. All it seems were missing the question and checkbox graphic. This hack *should* just bypass the white and blacklist checks for file transfer types in bluetooth.

edit forgot link :

https://www.androidfilehost.com/?fid=961840155545587036

make sure you back your files up before changing in case it breaks something, it shouldn't but just in case.
[Samsung Galaxy S 5 Unified Development] j1gga84:
[MENTION=5341181]omgbossis21[/MENTION]

Many thanks, I will try that out and report back. I appreciate your work very much.

I can also send you a screenshot of the BT setting where it was possible to choose "send all type of files".

I downloaded the Bluetooth folder but there are 2 Bluetooth folders packed with the same files inside, only different date, also 2 lib folders in each Bluetooth folder, which is the correct one?

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Samsung Galaxy S 5 Unified Development] omgbossis21:
Oh crap I uploaded off my phone yesterday before I remembered I hadn't flashed that build. One should have a newer date w the lib file actually in the lib folder, its that one. The wrong one I uploaded I believe has both files in the Bluetooth folder.

The sprint build broke so I looked at the device tree it says abandoned target unified device. I knoew at one time it was merged in but wasn't sure when or what happened. When I have time ill modify the files as for some reason it didn't merge those abandon tags on its own.
[Samsung Galaxy S 5 Unified Development] j1gga84:
many thanks,

I saw in the CM13 thread that a user has sent you a screenshot with the "sent all file types" setting in CM13.

I hope that it is possible to implement this in the bluetooth.apk under LOS 14.1 and it would be perfect, when everything works, to make a zip that we can flash in recovery, I think that would be much easier to copy and paste files and set the correct rights.

concerning your bluetooth folder, everything is correct now, I downloaded it on my PC and here I only have one folder in the archive but the lib file "libbluetooth_jni.so" is missing/ has 0kb, maybe you could check that because the original lib file has around 130kb ;)

Regards
[Samsung Galaxy S 5 Unified Development] omgbossis21:
The big question is can you send all file types? Yea the picture he sent me tells me where to look in source if I have to go back to cm12 to find it. The lib really shouldn't matter but I can flash my update on my phone and send it in case all file types aren't working. In the end I want this donrme right and added to official, none of this hack crap. This is all just to test though for now, thanks a lot BTW!
[Samsung Galaxy S 5 Unified Development] j1gga84:
Okay I will check it hopefully today evening when I am at home.

I will change the original bluetooth.apk with the one from your archive and try to send file types to my tablet that are currently not working, such as .jpg, .zip or .apk files and I will report back. If that does not work you can send me the lib file additionally but I guess you only changed something in the apk, not the lib.

regards
[Samsung Galaxy S 5 Unified Development] omgbossis21:
Yea it was in the apk file bypassing the blacklist but I'm looking for a real fix now. Too bad i need to sleep lol
[Samsung Galaxy S 5 Unified Development] omgbossis21:
Uploading latest version now, blue tooth hack is reversed with a proper fix that should work. Once we know it works I'll pull it and push it the lineage team and let them review it to incorporate it into official. I've been running my own build now since I put it up and Substratum is incredibly stable, even live build and enabling/updating while switching between themes. Mixing bits and pieces of themes works well, boot animations take with no issues and fonts as well. I'm really trying to get a build up for the sprint guys but the build keeps crashing. I fixed the first error when it crashed but now it crashes when it gets to the kernel so I'll need more time.
[Samsung Galaxy S 5 Unified Development] j1gga84:
Can I test that proper fix also on my unofficial ResurrectionRemix? That would be very cool.

When it is working is it also possible to bring the setting "accept all file types" back?

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Samsung Galaxy S 5 Unified Development] omgbossis21:
https://www.dropbox.com/sh/rbmggk2fo6s3bp3/AADQ8gHcU762N7T5mwf2Txvja?dl=0

I don't plan too bring back the GUI aspect of the setting but this should allow for the majority of common files to be shared. I'd like to work on putting some more features in the ROM when time allows.
[Samsung Galaxy S 5 Unified Development] j1gga84:
[MENTION=5341181]omgbossis21[/MENTION]

Unfortunately it does not work for me.. :(

I replaced Bluetooth.apk (the original one has over 6MB filesize, yours has 3MB), set the correct rights, rebooted but after I did that I am still not able to send apk and zip files for example..

The strange thing is that sending of zip files worked in older builds of LineageOS.. Sending apk files was able in CM13.

Regards

Gesendet von meinem SM-G900F mit Tapatalk
[Samsung Galaxy S 5 Unified Development] omgbossis21:
Alright well I updated my phone to the newest build and will try sending some files to my wife's phone later today. It should send zip files definitely, did you happen to test the hacked version?
[Samsung Galaxy S 5 Unified Development] j1gga84:
I tested the bluetooth.apk you uploaded to dropbox yesterday and with this version it did not work for me..

The older "hack" I did not test yet but I could also test this?

regards
[Samsung Galaxy S 5 Unified Development] omgbossis21:
I don't think I have the hacked one anymore. If it works later on my phone it could be a matter of clearing your Bluetooth app cache/data,dalvik,network settings etc. If it doesn't work then I may go go back to hacked up way, I'd like to be able to send file types when I need too.
[Samsung Galaxy S 5 Unified Development] j1gga84:
This is the error I got when trying to send files, I don't know if that helps..

Gesendet von meinem SM-G900F mit Tapatalk
[Samsung Galaxy S 5 Unified Development] omgbossis21:
Didn't work on mine either and I tried specific file types I added. I matched the send and receive white list which originally only receive has several file types and send has two. I suppose I'll look into how it reads said files and see if the loss is there as it says unknown file type. I'll follow what sends that error. I'd like to get this working and move on!
[Samsung Galaxy S 5 Unified Development] anykill:
SMS Not working on my G900M

Can receive but not send!

Thank you
[Samsung Galaxy S 5 Unified Development] omgbossis21:
Which carrier is that?

I spent a lot of time last night on the Bluetooth issue digging through source code to get a better idea what's going on. I need to review some old source from cm13 to verify but in the meantime I've resorted back to a dirty hack. Provided the dirty hack works (and I believe it will) will help me out meanwhile if at all possible a logcat from original rom of a file or two failing and one passing would be great. The error we seen from my modified apk im curious if we see in a stock ROM log doing the same thing.

Before sending a file it does two things -

1. Checks file type to see if its on the white (OK) or black (no go) list.

2. Checks to see if sending all Bluetooth file types is enabled in cyanogenmod settings

Number 2 seems irrelevant and to be looking for the setting that came from the GUI option we no longer have. Hence needing to review older code since I've not found it in the newer code.

For now I disabled the second check and changed the pre reject settings from true to false when it would normally deny a file type. I also seen I listed 2 file types in the whitelist and corrected that. I really should of disabled the second check, fixes my whitelist and built it but I wanted it to work definitely. Now I'll reenable the pre rejects leaving the second check on for the next build (while hopefully having a good, dirty config to go back too).
[Samsung Galaxy S 5 Unified Development] anykill:
It´s from Brazil, "Oi" Or, ZTO
[Samsung Galaxy S 5 Unified Development] omgbossis21:
Were u using unified klte lineage before or another variant build like sprint? Perhaps a logcat ? Make sure your firmwares are up to date as well.

Last nights build failed, will try again tonight!
[Samsung Galaxy S 5 Unified Development] omgbossis21:
Hey guys sorry haven't been updating but my virtualbox kept crashing with bad block issues (its a separate storage drive my windows is on ssd). My entire repo corrupted and I just got it all going again and synced up now. Counting on the build to finish then plan to look at the bacon camera (one plus 5 I believe w the same chipset) to test various settings on our camera and if possible help out at all with the rebase. A full drive check was able to relocate a few bad clusters so the drive seems OK but I'm still looking for a few drives for a raid 1,5 or 10 replacement to help hang w the ssd.
[Samsung Galaxy S 5 Unified Development] j1gga84:
[MENTION=5341181]omgbossis21[/MENTION]

I hope you are back on the track? :)

Anything new concernig the bluetooth sending "issue" ?

regards
[Samsung Galaxy S 5 Unified Development] omgbossis21:
Sorry guys things have been very busy at work and around every corner of my virtual box awaits corrupt files. I opted for a fresh box setup today and left things syncing while I was gone. I did lose the constants file and Bluetooth I was working on but I have the latest version I did on my phone and suspect the transfer will work though I haven't tested yet. I'll pull my apk tonight after I pull my blobs, make a fresh build and host it for testing. Guess the timing wasn't all bad with the kernel rebase having needed time to work out the kinks. This project is far from dead though!
[Samsung Galaxy S 5 Unified Development] j1gga84:
[MENTION=5341181]omgbossis21[/MENTION]

any news from you on this? :)

regards
[Samsung Galaxy S 5 Unified Development] omgbossis21:
All substratum work on cm14 has been discontinued as they work on Oreo. Unfortunately it has been left to broken builds in any attempt to create an update. Once Oreo is more stable I will begin builds for oms on it. Sorry, Tapatalk didn't notify me of the post tag!
[Samsung Galaxy S 5 Unified Development] Mohammad Abdul Rafe:
What theme are you using
[Samsung Galaxy S 5 Unified Development] omgbossis21:
I've been running lone 4subs theme set to dark theme,both background colors I choose black and lone red as the accent. Also use lone bootup screen,fonts I switch between along w sounds as well.
[Samsung Galaxy S 5 Unified Development] comexx:
Which modem version should I use with android 7.x? Thanks.
[Samsung Galaxy S 5 Unified Development] omgbossis21:
Most people just run the newest, I do.
[Samsung Galaxy S 5 Unified Development] comexx:
Since it is marked for Marshmallow I wanted to confirm if that could brick the device.
[Samsung Galaxy S 5 Unified Development] BeeWall:
Even if it fails, you can uninstall it with the Substratum rescue zip.
[Samsung Galaxy S 5 Unified Development] omgbossis21:
Bump for an upcoming lineageOMS 15.1 on the way! Pure vanilla with oms baked in!

Edit -

Uploaded it just haven't had a chance to test it. If all goes well I can keep up with it and post builds from time to time and edit the first post. Some substratum features do require root!

https://www.androidfilehost.com/?w=files&flid=261226
[Samsung Galaxy S 5 Unified Development] omgbossis21:
If anyone test before I do please post some screen shots [emoji2]