yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] RDS5:
correct

depends what you mean by "third-party one"

if im not mistaken we'd have to bring over quite a few modules into the AOSP kernel to make things like ufw work (android uses different network stack than most distros iirc)

the problem here is that these are frontends for the underlying firewall of the kernel

iptables was the firewall 'framework' of sorts that apps would need to hook into, or hook into through android's api

same goes for ebpf

but android's frameworks no longer support iptables, so many of these apps likely wont even work on a12+

a viable solution would be to use a newer kernel than this legacy 3.4 garbage that requires so much care and attention to not break down (khavalt's doing god's work maintaining this 2013 kernel with 2023 OS)

klte is blessed to have its device trees and most drivers already in mainline linux and therefore in newer android common kernels!!

klte is able to boot regular linux distros, and booting mainline kernels with android has already been done (here).

if i had a spare klte i would try some of this (by no means am i remotely an expert but i have worked on similar things before), but its currently my daily driver so i cant do dev on it (i dont wanna lose my data)

klte dts in android common kernel

device tree for sdm845 mainline aosp
[Samsung Galaxy S 5 Unified Development] Hasan1122behj:
hi i install the 2023-02-15 version plus bitgapps 1.8 and magisk and it was very very slow . then after changing some kernel setting and noticing that nothing happend just befor i decide to change the rom and go back to older roms i just then remove the google play store and google play services then things get alot smoother 😃

is there anything wrong that i did ?

is there anyway to have both google and lineage 20?
[Samsung Galaxy S 5 Unified Development] craP_cillA:
use the stock kernel that comes with the rom, do a clean flash and don't change any kernel settings and you should be fine! :)
[Samsung Galaxy S 5 Unified Development] pda4wham:
make me mad,my phone SM-G900FD,bluetooth still cannot work,
[Samsung Galaxy S 5 Unified Development] kurtn:
tried official 18.1 ?
[Samsung Galaxy S 5 Unified Development] pda4wham:
in official 18.1,the BT is unstable,always stop the connection & reconnect Automatically,but can work.

in LOS19.1&20.0,the BT can't work normally.
[Samsung Galaxy S 5 Unified Development] bersem:
Anyone has 5ghz wifi issue ? My phone doesn’t see my 5ghz Wi-Fi hotspot.

G900F klte latest bootloader and modem.

Thanks in advance!

Regards !
[Samsung Galaxy S 5 Unified Development] JeyC79:
Hi!

Thanks a lot for the work for this ROM!

Coming from a 18.1, I wipped the SYSTEM, DALVIK and CACHE partitions. Then I installed the LOS 20 ROM + NikApp.

The system booted well, I found my app and settings. Then I noticed my SIM card was not seen. I powered off the phone, removed/replaced the SIM card, than I power on the phone, and... boot loop on the LineageOS animated logo + reboot of the phone.

So I remove the battery, tried again.

Then, I wipped the SYSTEM, DALVIK, CACHE and DATE partition to reinstall it again.

But now, TWRP 3.7.0_9.0 doesn't work. I see the TWRP logo, and... nothing more.

Sometimes the screen becomes black during less than 1s, then the logo...

It's like that since 30 minutes.

Please, do you have any idea?
[Samsung Galaxy S 5 Unified Development] JeyC79:
My phone is not working since 2 days.

I don't understand why. Please, do you have an idea? :)
[Samsung Galaxy S 5 Unified Development] kurtn:
Clean Install 18.1
[Samsung Galaxy S 5 Unified Development] JeyC79:
I can't go in recovery, TWRP doesn't finish his boot.
[Samsung Galaxy S 5 Unified Development] kurtn:
Go in bootloader and odin/heimdall twrp.
[Samsung Galaxy S 5 Unified Development] JeyC79:
I flashed TWRP, but the phone is still stuck on the logo of TWRP.

If I boot normally, the phone go itself on the DOWNLOAD MODE.

I just wiped SYSTEM, DATA, CACHE and DALVIK. No error, I'm sure.

So why it's impossible to go in recovery mode ? :(
[Samsung Galaxy S 5 Unified Development] JeyC79:
I tried with twrp-3.7.0_9-0-klte.img.tar then twrp-3.5.1_9-0-klte.img.tar

Same problem
[Samsung Galaxy S 5 Unified Development] kurtn:
How can you wipe partitions when twrp doesn't boot?

You can try flashing lineageOS recovery or stock rom
[Samsung Galaxy S 5 Unified Development] JeyC79:
How I explained in a previous post, TWRP is stuck SINCE I wiped System, Data, Cache and Dalvik.

Do you have an explanation about why TWRP is stuck? I never saw this since 12 years I use android.

Lineage is a ZIP archive, ODIN accepts only TAR, GZ and TGZ.

How do you flash LOS with Odin?
[Samsung Galaxy S 5 Unified Development] JeyC79:
Ok, I converted the recovery.ig in TAR and I successfuly flash the lineage recovery. Now I try to flash LOS 20 + Nikapp.
[Samsung Galaxy S 5 Unified Development] vlad3647:
recovery.ig in TAR,how you did it?
[Samsung Galaxy S 5 Unified Development] kurtn:
Wiki.lineageOS.org : Open a Command Prompt in the folder where the file was downloaded, and TAR the file by running tar -cvf recovery.tar recovery.img.
[Samsung Galaxy S 5 Unified Development] JeyC79:
I used 7Zip on Windows, "make an archive", "choose TARE format", done.
[Samsung Galaxy S 5 Unified Development] JeyC79:
So :

- My LOS 20 was dead (boot stuck on the Lineage OS)

- I wiped SYSTEM, DATA, Cache, Dalvik

- TWRP was stuck on the logo boot

- with Odin, I flashed different TWRP, nothing better

- with Odin, I flashed a Lineage Recovery ( from here https://download.lineageos.org/devices/klte/builds ), then recovery was working

- from the Lineage Recovery, I flashed the LOS 20

- I reboot and configure LineageOS. The SIM card is not working (but working in a different phone)

- With Odin, I flashed the same (and last version) of TWRP

- Now TWRP is working

- I'm restoring a backup from 3 days ago. I hope the SIM CARD will work

Thanks for your help :)
[Samsung Galaxy S 5 Unified Development] JeyC79:
Los 20 doesn't detect my Sim card 😬

Do you know why?

Is there anything to do?
[Samsung Galaxy S 5 Unified Development] t5-driver:
Have you flashed the latest modem/boot/...?

See:

https://xdaforums.com/t/sm-g900-f-k-l-w8-a-t-m-s5-firmware-thread.2715487/post-84499977

https://xdaforums.com/t/sm-g900-f-k-l-w8-a-t-m-s5-firmware-thread.2715487/post-84502561
[Samsung Galaxy S 5 Unified Development] DarkSteve:
Silly question, but I'm thinking of the basics - In TWRP, have you checked the "Mount" section to ensure the SD card is mounted?

I had a similar issue with my tablet. It wasn't booting after I installed an unofficial LOS, instead it would just hang at the animated Lineage logo indefinitely. It turned out not all the partitions were mounted. Once mounted, everything worked just fine. (It took me WAY longer than it should have to discover the issue.)

Hopefully you're experiencing something really easy to fix, too!

EDIT: Crap, sorry, I misread sim card as SD card. Brain fart.
[Samsung Galaxy S 5 Unified Development] khalvat:
Remove sim pin befor flash this rom
[Samsung Galaxy S 5 Unified Development] JeyC79:
I wiped ant installed again.

I putted back the sim card, and LOS 20 still says "SIM Card not valid".

The card works well in LOS 18 and others phones.
[Samsung Galaxy S 5 Unified Development] kurtn:
The idea is to use lineageOS 18 or other phone to remove pin from sim card
[Samsung Galaxy S 5 Unified Development] JeyC79:
It was this!

Thanks 😁
[Samsung Galaxy S 5 Unified Development] JeyC79:
Ah, it's not possible to put the Pin code back after, because the problem comes back.

Do you will fix that?
[Samsung Galaxy S 5 Unified Development] RDS5:
thats unlikely since im pretty sure alot of the modem stuff is proprietary and vendor code thats hard to work on
[Samsung Galaxy S 5 Unified Development] ssamurai:
same issue it doesnt detect the sim card
[Samsung Galaxy S 5 Unified Development] khalvat:
Build 2023-04-18

Merged APR security patch

Updated Lineage-20.0 recovery
[Samsung Galaxy S 5 Unified Development] kurtn:
Thank you. I lost magisk with that update. Had to flash it again. Now network traffic and clock overlap in status bar.

Oh. No more clock center position.
[Samsung Galaxy S 5 Unified Development] t5-driver:
Thank you for the Update

The Update in recovery has also patched the boot with magisc.

But after reboot and starting the magisc-app - she would reinstall (bootpatch)?

i had cancled this popup - and first tests with root in fileexplorer mixplorer is normal.
[Samsung Galaxy S 5 Unified Development] t5-driver:
After stopping the magisc-app and restart the app - the popup "alternate install"? comes back.
[Samsung Galaxy S 5 Unified Development] craP_cillA:
just reflash magisk as ask and you're done. :)
[Samsung Galaxy S 5 Unified Development] bizzzang:
In the previous version, I could hear the sound of the Bluetooth phone call, but now I can't hear it. Only media is available. Thank you for always
[Samsung Galaxy S 5 Unified Development] mordantly:
So.. this is a twrp flashabke zip? I've been on A/B devices for so long, I am still on an M rom on my trusty S5.
[Samsung Galaxy S 5 Unified Development] pda4wham:
The bluetooth bugs is better than previous version, but BT is random restart often, [klteduos+klte]
[Samsung Galaxy S 5 Unified Development] mordantly:
Flashed it just fine. Lol.

Kltedv Bluetooth has strange connection issues as well.
[Samsung Galaxy S 5 Unified Development] nopahc:
I have just installed the latest version of this ROM on my S5, the only thing i found not working is just 5GHz Wi-Fi connections, it just connects and then says an error occured while connecting to the network, then the network dissapears from the list forever. You could also port like GCam because IMO the stock camera app is bad. But still keep up the good job
[Samsung Galaxy S 5 Unified Development] mordantly:
As to BT, bone stock with mind the gapp. Every 3 or 4 hours BT unpairs, repairs, but won't work until I turn off and on BT on phone. Maybe a power save or something in 13 I'm not familiar with?
[Samsung Galaxy S 5 Unified Development] bizzzang:
There's definitely a problem with the sound. I can't separate the notification sound and I can't hear the Bluetooth phone sound. Please take a look.It's kitektor
[Samsung Galaxy S 5 Unified Development] brt4722:
Thanks for the update Khalvat.
[Samsung Galaxy S 5 Unified Development] greatninja:
Payment via nfc is not working.

You can setup payment app by default and everithing looks fine, but when u try pay with it - is nothing happen. No errors or something just nothing.

Same problem with khalvat`a 12 version (and crdroid based on android 12 too).

But reading nfc tags is working well.
[Samsung Galaxy S 5 Unified Development] greatninja:
this "holes" in battery statistics happens sometimes when you not use device (on screenshot device idling for about 6 hours, not charging)
[Samsung Galaxy S 5 Unified Development] Abøú:
"ex-kernel" manager always force-stop when i try to open it.and some browsers apps too...,why:-\
[Samsung Galaxy S 5 Unified Development] Abøú:
- kernel bugs;

does too scheduler "bfq","test-ioscheduler" doesnt seem's work when i switch to them.

(the phone frezze for about 10sec and restart it self).

_ vdd-restriction always on?…

_ entropy read capped 1024?.
[Samsung Galaxy S 5 Unified Development] RealSalva:
Question guys, anyone uses the stock kernel or custom kernel? Which of them performs better? How often do you charge your cell phone? What does the SoT say? Do you have Google Play Store or Aurora Store on it? Did you leave your system the way it was or modified it? I intend to buy the S5 as a second device, hence the questions.
[Samsung Galaxy S 5 Unified Development] greatninja:
-stock kernel with gapps, no root, no modifications

-battery life about 20+ hours (or 6-7 if use it actively), charge once a day

i found 5Ghz wifi drain battery for me (about 10% in hour when idle) and device always slightly warm even when idling

and no problem with 2.4
[Samsung Galaxy S 5 Unified Development] Tuddynumnums:
Had some lockups on occasion before that caused me to miss important phonecalls coming from sleep I think its with the Wifi On not sure if it was my phone or the OS that was a while ago does it still do it?
[Samsung Galaxy S 5 Unified Development] joe_g1702:
Does anyone know if there will still be updates or if an android 14 rom can be made? Thanks
[Samsung Galaxy S 5 Unified Development] RealSalva:
delete
[Samsung Galaxy S 5 Unified Development] Abøú:
_the custom kernels perform much-better than stock ones,trust me my friends,but our Mr.khalvat doesent give us an options to change or flash a custom on this rom,i really think that it would be great and helpful if we have a support for "custom-kernels"....
[Samsung Galaxy S 5 Unified Development] Abøú:
i hope so
[Samsung Galaxy S 5 Unified Development] Abøú:
---Smart move mr.khalvat by deleting unessesary "debug" files on the kernel
[Samsung Galaxy S 5 Unified Development] n0rt3l:
Hello some last days, i update google chrome and catch bug, when i am go to url, content of any site not showing.

com.android.chrome 114.0.5735.58

lineageos 20-20230215-UNOFFICIAL-klteduos

logcat:
[Samsung Galaxy S 5 Unified Development] DarkSteve:
While it's good you provided the log, it makes it look like it's just a broken chrome install.

Have you installed gapps? Chrome likely won't function without it. (But Chromium probably will.)

Do other browsers and apps connect ok? If so, uninstall chrome and download a new apk from a source you trust.

You probably shouldn't be using chrome anyway. It's a closed source browser, packed with spyware, distributed by the world's largest advertising company.
[Samsung Galaxy S 5 Unified Development] n0rt3l:
I am have two galaxy s5 klteduos with MindTheGapps and without it, and on first installed from google play and second, chrome not work propertly as i describe in upper message.
[Samsung Galaxy S 5 Unified Development] DarkSteve:
Then chrome can't work on that phone.

I also have two Galaxy S5 phones (klte and kltedv), and neither have gapps. There are some apps that just won't function without google play services, since the play services are a core part of how the apps function. Chrome is closely tied to google's ecosystem, so it requires play services to work.

I switched to LineageOS (originally Cyanogenmod a decade ago) to get away from google's panopticon, so I'm used to working without play services.

If you really want chrome, it needs play services. Personally, I'd recommend you switch to almost anything other than chrome, but you have to work within the limitations you've set for yourself.

Keep in mind, google adds it's spyware everywhere. They even tried to sneak it into Chromium back in 2015. Be aware of the consequences of choices you make.
[Samsung Galaxy S 5 Unified Development] greatninja:
just chrome related problem (have this with v113 or something with android 13 and 12) just install chrome dev - this is working fine

or wait for update
[Samsung Galaxy S 5 Unified Development] kurtn:
Did you compare 18.1 vs 20.0 ?
[Samsung Galaxy S 5 Unified Development] DarkSteve:
What kind of question is that? "Run fast"? Run what fast?

Have you tried thoughts and prayers?
[Samsung Galaxy S 5 Unified Development] mostafa3bdou:
What are the Magisk modules you use?
[Samsung Galaxy S 5 Unified Development] Abøú:
i found that no one never talked about this "5Ghz" Wifihotspot bug since android 7" to 13" lol.....
[Samsung Galaxy S 5 Unified Development] Abøú:
same samsung g900f klte kltex kltexxx (s5 "the original")
[Samsung Galaxy S 5 Unified Development] DarkSteve:
Android 7 inch to 13 inch?

I've never talked about it because I've never had an issue connecting to 5Ghz with either my klte or kltedv (or Galaxy Tab A gta3xlwifi). I've been using LOS on my klte from version 15 to 20, both official and unofficial, and I've never had a 5Ghz issue. I just checked, and my kltedv is connected to 5Ghz as I write.

What's your router set to? There's a broader bug where you can't connect if the router is set to "WPA/WPA2". It has to be set to one or the other. This also impacts Raspberry Pis.

Does that solve your problem?
[Samsung Galaxy S 5 Unified Development] Abøú:
-i didnt say connecting to a 5Ghz wifi.like public or cybercafe....etc.

,but i mean sharing your phone ( data ) by enableing a '2.4 or 5 ghz "hotspotWifi"...did u understand now.
[Samsung Galaxy S 5 Unified Development] khalvat:
try chrome dev. this issue related for vulkan graphic driver which our device Hrdware dos not support
[Samsung Galaxy S 5 Unified Development] Abøú:
there is too many browser to try bro why this people focus only on google?
[Samsung Galaxy S 5 Unified Development] khalvat:
Build 2023-06-23

Synced with Latest googele jun (QPR3) security and LineageOs patchs

Fixed Nearby share issue completely

Fixed Bluetooth connect&Audio issue completely

Fixed Ril issue for some region

Improved battery life

Fixed other minor bugs

Added klteaio support

Added klteactivexx support

Added kltechnduo support

Note: This build selinux is permissive for now
[Samsung Galaxy S 5 Unified Development] DarkSteve:
I just installed it, and it appears to be working flawlessly so far, thank you :-)

But as you've noted (and I overlooked at first!), I'm getting the "SELinux is not enforcing" message.

Is there anything in particular I should be aware of security-wise? I mean, does the lack of SELinux make me vulnerable in any particular way that I should be mindful of?
[Samsung Galaxy S 5 Unified Development] ProcyonNova:
Awesome! I dug my old Verizon GS5 out of a box and decided to tinker with it (after replacing the battery) and came across this thread. I Installed it and I'm very impressed. I haven't tried making a call or anything (I'm on TMobile now) but I have noticed a couple things. It seems like the fingerprint sensor only works about half the time. And the Chrome browser won't work. I don't know if that's related to the Google Apps I used, or whatever. I haven't read this entire thread either so I don't know if these have been addressed yet.

With this new build, what's the update process look like? Would we have to do another clean wipe, or can we keep our apps and data intact? Or is it as simple as using TWRP?

Overall this is great! What's preventing this from being the official version?
[Samsung Galaxy S 5 Unified Development] DarkSteve:
When you first install a khalvat build (or anybody's build), you should be doing a wipe and clean install with the latest TWRP.

From there, you can install a newer khalvat build over the top without wiping. I was already running the Feb build, and I was able to use TWRP to simply install this latest version over the top, keeping my apps and settings.

I skipped the previous build because everyone was complaining about various bugs, but this build is working well for me so far. I was able to install this build over the Feb build without needing to install the April build first.
[Samsung Galaxy S 5 Unified Development] ProcyonNova:
And I'll need to reinstall gapps as well, right?
[Samsung Galaxy S 5 Unified Development] DarkSteve:
No idea, I don't use gapps!

When I got my first smartphone, a Galaxy S4 Mini (serranoltexx), on first boot it asked me to agree to google's privacy policy and terms of service. I read them, was disgusted, and clicked "no".

Almost nothing on the phone worked beyond making calls and sending SMSs. It was reduced to being a dumbphone with a fraction of the battery life. I was forced to find alternatives, such as F-Droid and Aptoide, to restore functionality. Then I discovered Cyanogenmod.

The battery life doubled once I ditched google's spyware. The phone was more responsive too. I was able to replace all the functionality I wanted or needed using F-Droid and Aptoide (later Aurora Store or APKpure). I've also integrated my Nextcloud, so I have contacts and calendar services, and I can take a photo and it will simply appear on my desktop and laptop, too.

You don't need gapps, you really don't. Google is toxic, free yourself from the panopticon.
[Samsung Galaxy S 5 Unified Development] kurtn:
If you have the right combination of GApps-installer and recovery, the GApps will survive flashing an update.
[Samsung Galaxy S 5 Unified Development] kurtn:
Some new fearures from upstream. Be warned: charging control will kill your battery faster! All it can do is disable charging while phone is plugged in. As a result battery gets drained or cycled in situations where it could already sit at 100%.
[Samsung Galaxy S 5 Unified Development] greatninja:
yep for some reason it getting worse like on los18 works well - on los19 it "less sensitive" - on los20 less sensitive + some app even cant use fingerprint at all
[Samsung Galaxy S 5 Unified Development] ProcyonNova:
Well I've only been using it to unlock the phone, and sometimes it works. But usually after not using the phone for a few hours, I'll pick it up and try to unlock it and it just refuses to work until I unlock it with a password and lock it again. Then it works fine.
[Samsung Galaxy S 5 Unified Development] RealSalva:
MicroG support?
[Samsung Galaxy S 5 Unified Development] kurtn:
No signature spoofing. Use magisk + LSPosed + fakegapps (whew inc)
[Samsung Galaxy S 5 Unified Development] ProcyonNova:
I'm having trouble running PokeMMO on my phone with this firmware. It'll let me play for a little while, but then I'll get a message saying "Sorry, this application cannot run on this platform." I didn't get this problem on the stock Marshmallow firmware, nor on my Pixel 3aXL using Lineage 20. Just something odd I thought I'd point out.
[Samsung Galaxy S 5 Unified Development] Ben Garp:
Got the same problem with Zynga poker.
[Samsung Galaxy S 5 Unified Development] greatninja:
Maybe this problem with safetynet certification?

Upd. Last update improves overall smoothness, feels great

But battery drains really fast
[Samsung Galaxy S 5 Unified Development] Dieexe:
amazing work, thank you SO much. i've noticed that wifi speed is a little slow and it cannot detect 5ghz networks anymore but apart from that it's almost perfect
[Samsung Galaxy S 5 Unified Development] Labad Shabawar 142:
Hello all , forgive me in advance if I'm posting in the wrong place . I just wanted to ask if anybody has a copy of the files twrp and lineageOS needed to root the RCA Tablet Viking Pro 2 model number RCT6a03W12 ? It's running android oreo , I've searched all over this forum and all over the web for the files , but no luck . And there seems to be absolutely nothing on XDA about this particular model tablet whatsoever . I tried rooting it with kingo root and corrupted the firmware , now the tablet has very poor performance . Such a bad experience , I'm not in a position to just trash it and replace with a better one so I'm hoping someone has the files I need to salvage this one . I also tried rom manager , iroot but none helped . Any advice or help would be greatly appreciated . Thanks in advance
[Samsung Galaxy S 5 Unified Development] DarkSteve:
You are posting in the wrong place. You really, really are.

It doesn't appear that anyone has built LOS for that model. The closest I could find was for a similar (but different) model, the Viking Pro RCT6303W87DK.

But this is not the forum for it, this thread is for khalvat's build of LOS20 for the Galaxy S5 (the klte family). I don't mean to be rude, but this really isn't the discussion for your device.
[Samsung Galaxy S 5 Unified Development] Ridu59:
I have Problems to format a SD Card 128 GB to internal memory.

Now I find a known bug in 18.1 19.1 20.0

https://review.lineageos.org/c/LineageOS/android_system_vold/+/360547

vold: fix failing to format zero-ed out SD card

Can be reproduced with

1. adb shell sm set-virtual-disk true

2. Format from UI

3. Observe fake "success" message with SD still unformatted

Is it possible that this is the reason why I can´t format SD Card to internal memory ?

With adb I have the feeling that the command sm format privat is to fast for a format command

After a few seconds I get a prombt back so it seams that it is done , but format needs at least 3-5 Min on a 128 GB SD Card.

If it is so can someone please fix it ?