yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S 5 Unified Development] Huckleberry88:
@ssamurai

I just came across your post and don't know if you have been able to solve your issue in the meantime.

Actually, on one of my S5 the plastic power button is missing and I used to use a little "tool/stick" to push the underlying "button". Seems it was not a good idea as this "contact bridge" (?) is now worn out and broken, i.e. cannot turn on at all.

However, recently, I found a work-around to turn on the S5 without any power button (probably you are aware of it as well):

in an off-state connect the S5 to an USB

hold the [volume down] + [home] buttons will boot it into download mode

in my case (kltechn), I get a dialog to confirm or exit from this mode:

push [volume down] to exit and the S5 will reboot to normal mode :giggle:

alternatively, holding [volume up] + [home] will bring you to the recovery mode

in order to turn off I use a shutdown app/soft-button

Cheers!
[Samsung Galaxy S 5 Unified Development] fakezorlend:
Hi, how can I get only-WCDMA mode to work? If I try to use it the data mobile doesn't activate. It's all set right with APN, modem, etc, but it doesn't work. LTE works sometimes with weak signal but where I live the 3G signal works better with full signal and it's stable, LTE change briefly to WDCMA if I make a phone call then change to LTE again.

3G mode activate normally and is working fine on last Lineage official build for klteduos.

Is there any build.prop change I can try or something ?

Thanks in advance!
[Samsung Galaxy S 5 Unified Development] fakezorlend:
You can fix this factory reset problem by using the "Format Data Data" option and then swiping the "Swipe to Factory reset" option on TWRP after the first boot try. I was flashing Lineage 16, waiting first boot then upgrading as a workaround. It worked for me yesterday, try it when you have time. I also removed SIM and sdcard.
[Samsung Galaxy S 5 Unified Development] Redalike:
Hi there, thanks for the reply. Yes magisk plus hide would be the way, or just don't root the phone and see if it works anyway. Special apk of the bank app from the PlayStore? Mmm that s interesting. Would be great if my app could make payments without Google pay. I have Ing Direct. Idk if it can work. If you could try to use Google pay with another card and los 18 you could give us confirmation that it works and avoid me another reinstall ty
[Samsung Galaxy S 5 Unified Development] fakezorlend:
Hi @khalvat !

I can't use mobile data, 3g or 4g. But I can make calls!

On phone info test the current network is Vivo (my provider).

I normally use WDCDMA-Only as it's stable and LTE has poor network here.

If I change to GSM-Only or WDCDMA-Only or Both or GSM+WDCDMA+LTE it says:

Data Service: Disconnected and Data Network Type: Unknown

If I use LTE-Only it says: Data Service: Disconnected and Data Network: LTE

I don't use SIM Pin, have the last modem and everything works on stock or up to last build from official Lineage for KLTEDUOS.

I remeber only 4G was working on your Lineage 19 after applying "persist.sys.fflag.override.settings_provider_model=false" on build.prop but it was fixed after.

Same thing for any CRDroid build.

I don't know what else to do, can you help me please?

Thanks in advance!
[Samsung Galaxy S 5 Unified Development] fakezorlend:
Try this: Go to Mobile Network settings and on APN (Acess Point Names) select the APN you're using then change the APN protocol to: IPV4/IPV6. Tap on 3 dots (TOP right side of the screen) and save the change.
[Samsung Galaxy S 5 Unified Development] Buggen82:
I get no internet warning to my 5GHz wifi router.

This is after clean install with format data and latest

modem firmware on my klte-phone

It was working fine on the los19 version.
[Samsung Galaxy S 5 Unified Development] fakezorlend:
Hi @khalvat !

On A19 2G and 3G/WDCDMA Mobile Data didn't work, 4G Worked after your build.prop edit suggestion. (2G 3G 4G works on Stock or any Lineage Official builds)

Tried your CRDroid version, but 2G and 3G didn't work either.

The Last build for KLTEDUOS of your A20, using the same working APN Config, 2G, 3G or 4G didn't connect like @bersem said but I could make phone calls and etc.

The fix I found was after going into APN Protocol option and changing from IVP4 to IPV4/IPV6 and saving it.

After this, 4G connected instantly! But 2G or 3G still doesn't work, can you check this please?

Thanks in advance!
[Samsung Galaxy S 5 Unified Development] ARDV:
successfully installed. thank you.

the dialer doesn't have dark mod when calling. i hope that you can add dark mod in the dialer.
[Samsung Galaxy S 5 Unified Development] Huckleberry88:
I experienced this warning about no internet with previous versions of LOS before.

In all cases it was related either to the WAN connection, the router or the WiFi connection between the S5 and the AP/router and not related to LOS itself. Were able to solve, e.g. by forget and reconnect to the WiFi, restart router, etc.

No problems to connect my kltechn @LOS20 to a 5Ghz WiFi so far.

Good luck!
[Samsung Galaxy S 5 Unified Development] Buggen82:
Turns out my firewall was blocking google connectivity checkup.

Wierd that los19 was working tho.

Everything is good now, good rom thanks a lot.
[Samsung Galaxy S 5 Unified Development] Huckleberry88:
Great that you solved it! Yes, sometimes the root cause seems weird.
[Samsung Galaxy S 5 Unified Development] RDS5:
nope

android 12 improved performance and ive been using my klte with FDE for a long time now, it doesnt change performance much.

for me, encryption is practically a must, so this is a little sad that my klte finally is no longer suitable for daily drive (at least, by my standards)

maybe we should think about ditching this ****ty, unstable and outdated kernel 3.4 that we've been reliant on for msm8974 when theres pretty good close-to-mainline support for it, and look at maybe making that work with android

just a thought tho..
[Samsung Galaxy S 5 Unified Development] Buggen82:
Video performance seems a bit lower. In los19 I could play 1080p videos in Newpipe without stuttering, now only 720p.
[Samsung Galaxy S 5 Unified Development] Hasan1122behj:
excuse me . sorry for my amateur question 🙏

what does it mean that no custom kernel supported ? does it mean that i cant change cpu governor by app like FKM?

i can't manipulate kernel , like cpu and memory?

sorry again for this question 🙏
[Samsung Galaxy S 5 Unified Development] Huckleberry88:
Hi @Hasan1122behj ,

my understanding is that it is out of scope of this thread and no support provided for fixing any related issues if they appear.

It does not necessarily mean that it won’t work with it.

Yet at your own risk and responsibility.

(But then I am not a native English speaker.)
[Samsung Galaxy S 5 Unified Development] khalvat:
Build 2023-02-15

Merged Feb security patchs

Fixed network monitor indicator

Fixed reboot when use nearby share
[Samsung Galaxy S 5 Unified Development] kurtn:
V

Crazy. The network traffic status bar is back. And it is no longer in center. It is now left or right. App network usage is still broken.
[Samsung Galaxy S 5 Unified Development] Zotho:
Thank you for keeping an eye on our bug reports and trying to fix them! Really appreciated !! (y)
[Samsung Galaxy S 5 Unified Development] brt4722:
Thanks Khalvat
[Samsung Galaxy S 5 Unified Development] khalvat:
Oh i noticed nearby share issue not fixed completely. Will try later again
[Samsung Galaxy S 5 Unified Development] TheTechnoGuy18:
Yayyyy, just dug out my old S5 today and with this I now have another reason to install android 13 on it!
[Samsung Galaxy S 5 Unified Development] bizzzang:
Thank you always for your hard work. It has stabilized a lot. I look forward to the next rom.
[Samsung Galaxy S 5 Unified Development] Tuddynumnums:
^Thank you for your continued support OP.
[Samsung Galaxy S 5 Unified Development] bizzzang:
There is a serious error in this ROM. If you look at YouTube, it reboots alone every once in a while. The model sound is SM-G900S
[Samsung Galaxy S 5 Unified Development] bizzzang:
I solved it. It works now. I use minor bugs, but there is no problem. Even if I shut down in the power menu, it reboots. Is it just me? Thanks
[Samsung Galaxy S 5 Unified Development] Ben Garp:
Anyone get Viper4FX to work, and when how, thx?
[Samsung Galaxy S 5 Unified Development] traversone:
hi all, can anyone confirm that - when connecting to wireless display - KLTE resets?

(standard google casting work well)
[Samsung Galaxy S 5 Unified Development] Hadrian08:
Is there a way to encrypt the phone? Or make it seem encrypted to an app? Work apps are not working because the phone is not encrypted and when i try to encrypt with company portal, it is not going throught.
[Samsung Galaxy S 5 Unified Development] kurtn:
Use18.1
[Samsung Galaxy S 5 Unified Development] RDS5:
the galaxy s5's msm8974-3.4 kernel was only ever made to work with FDE (full disk encryption, where the entire data partition is encrypted and is decrypted via a dmcrypt key, available on most linux distros)

android 13 dropped support for FDE in favor of FBE (file based encryption, less documented and seems to be android-only as far as i can tell, but instead it encrypts certain files and those are then decrypted in a similar way after your password is entered)

there's likely a way to bring back FDE support into android 13, or backport FBE to 3.4, but that's not the developer's focus at the moment (and these legacy kernels are garbage anyways, it'd be much more effective just to bring over a newer kernel or the mainline kernel and work with that instead, as this device already is well supported in mainline linux)
[Samsung Galaxy S 5 Unified Development] traversone:
hi all,

I cannot use ADB over WIFI. my usual app for this purpose (WADB) seems working but actually PC cannot connect to mobile

EDIT: solved with pair code

but how to use in more friendly way ?
[Samsung Galaxy S 5 Unified Development] bersem:
Tried to flash dirty last build on my klte. Formated dalwik Cache, Cache and System. Error: Couldnt mount Data ? Now stucks on recovery Logo🙈🙃

Any solution ? Don’t have pc to flash recovery cause I’m abroad.

Thnx in advance

Regards !
[Samsung Galaxy S 5 Unified Development] kurtn:
Wiping system is not part of dirty flash. If you had installed GApps, flash those again.
[Samsung Galaxy S 5 Unified Development] bersem:
Yes I had gapps. How to enter to the recovery now.

It stucks on recovery logo

Thnx in advance

Regards !
[Samsung Galaxy S 5 Unified Development] mostafa3bdou:
- Guys who installed the latest version of LineageOS 20.0, did we reach a stable version of this OS yet?

- Also, can you please give us your impression and feedback about this build generally and the device performance, battery life, camera performance & quality specifically?

Thanks in advance
[Samsung Galaxy S 5 Unified Development] kurtn:
The ROM is OK. Nearly as good as 18.1
[Samsung Galaxy S 5 Unified Development] thorti1:
Is it possible to change the memory of the sd card from portable to internal expansion?
[Samsung Galaxy S 5 Unified Development] craP_cillA:
sure. but you have to format it then of course.
[Samsung Galaxy S 5 Unified Development] x2k13:
Be aware that adopting external storage, sdcard, to internal storage will slow down i/o speed to that of the sdcard (reader). From my experience, adopted storage is like russian roulette. It may work for months, just a week or a few days or it breaks after the next rom update.
[Samsung Galaxy S 5 Unified Development] kurtn:
And you will have to factory reset for repair.
[Samsung Galaxy S 5 Unified Development] x2k13:
Probable sd-card corruption or even death due to heavy wear leveling when writing constantly to it is a free bonus.
[Samsung Galaxy S 5 Unified Development] RDS5:
VS running all your apps on the internal storage and wearing it down

imo id rather deal with slow speeds and unreliability than kill my internal storage..

maybe someone outta make some kinda sd booting for these devices, after all it is possible (change boot.img, clone internal storage partitions to sdcard, modify twrp and android fstab to point to sdcard partitions)

and also, klte is literally supported in torvalds linux, this phone will literally work with mainline kernels..

a more long term solution would be to switch to that instead of relying on the horrible 3.4 kernel (its the source of ALL our problems, besides the overheating of msm8974) so we could get something far more feature rich and considerably more stable (not sure if IOMMU works tho, if it doesnt it could potentially be a security hazard)

EDIT: after more digging, klte's dts is even supported in android common kernels (after all, they're based off mainline kernels) so bringing it over with a newer kernel seems doable (and far more sustainable than relying on the miserable kernel 3.4 from however many years ago. bless this dev for putting up with this kernel, it really must've been frustrating)
[Samsung Galaxy S 5 Unified Development] x2k13:
The difference is not only speed but the flash memory used for internal memory - it is much more durable than sd-cards.

I have never had internal storage of a device fail on me and I used to flash roms on a weekly basis just for fun. Restore backups, all that.

In the same period of time I had 3 unrecoverable RAW sd-cards, 2 with serious slowdowns (good indicator that it will die soon) and iirc 4 that didn't even made a beep when inserted.

Just to show how much difference there is.
[Samsung Galaxy S 5 Unified Development] thorti1:
I don't see a way to format the SD card as an expansion of the internal memory only as a portable one.
[Samsung Galaxy S 5 Unified Development] craP_cillA:
if you got a pc/laptop: format it there and put it back in your phone.
[Samsung Galaxy S 5 Unified Development] x2k13:
That won't work for adopted storage...
[Samsung Galaxy S 5 Unified Development] craP_cillA:
i don't know, cause i'm using my sd as external storage. but when i formatted the card on my pc and put it back in the phone, android asks me if i want to format it as external or internal storage.
[Samsung Galaxy S 5 Unified Development] craP_cillA:
is anyone else having this statusbar bug with icon(s) on the left?! (nevermind the blue line, it's from an app.)
[Samsung Galaxy S 5 Unified Development] thorti1:
Thank you craP_cillA. Unfortunately it doesn't work for me. I only have the option to format the memory as external memory.
[Samsung Galaxy S 5 Unified Development] jeremywh7:
I have that bug on my Moto X4 (payton) running LOS20...because I also have my time set to be centered. If you toggle it left and center again, it'll be fixed for a while. Never had this issue on Android 12.
[Samsung Galaxy S 5 Unified Development] mostafa3bdou:
Guys... any other opinions?
[Samsung Galaxy S 5 Unified Development] rgrapow:
maybe you can try by your own, someone may say that it's unstable other may say it's stable, it's very subjective, so try it yourself
[Samsung Galaxy S 5 Unified Development] Gh3ttoKiLL4:
Hello Sir, first thanks for your effort on this old device. My gf uses klte mostly for Disney+ and listening to podcasts.

The build runs relatively well, although theres only so much you can do with 2 GB RAM.

Every now and then there is a random hot reboot where all of a sudden the boot anim plays for a few minutes. After it booted, theres no internet access on connected wifi until you reboot manually.

Logs in attachments, happened around 14:50.

I dont really understand them but I see a lot of lmk killing system apps and a lot of fatal exceptions
[Samsung Galaxy S 5 Unified Development] retiredtab:
@Gh3ttoKiLL4 , Logs attached as a .txt (text) file, for whatever reason, never appear on xda. Zip the logcat and then attach the zip file.
[Samsung Galaxy S 5 Unified Development] bizzzang:
There is a serious error while using it. I can't hear the phone call through Bluetooth. The previous ROM was fine, only this ROM
[Samsung Galaxy S 5 Unified Development] mostafa3bdou:
- Hello guys, Just I'd like to share my thoughts with you regarding not releasing of the next official version of this ROM to our device after 18.1 due to the AOSP’s removal of IPTables in favor of eBPF which is much more efficient kernel side implementation as stated before.

- As per my knowledge, the IPTables is a firewall program that is built into the Linux kernel and it is a default module in AOSP.

- So, what if we disabled this default firewall and use a third-party one, can this solve the problem or even part of the problem?

- Generally, we can do that in Linux servers but I am not sure if this is applicable in AOSP or not and what will be the impact.

- I can see many firewall applications (free or paid) that can help for your reference:

The 5 Best Firewall Apps to Secure Your Android Phone

An Android firewall helps monitor and control the internet connections your phone makes. Here are the best firewalls for Android.

www.makeuseof.com

- Please correct me if there is something wrong/unclear with my understanding and thanks in advance.
[Samsung Galaxy S 5 Unified Development] DevisG79:
Can someone tell me if the Galaxy S5 klte is an A/B device, so that I have to flash it twice in twrp? I don`t own this device but must know it. Can someone help me please? Problem is that if I flash only LOS it boots into system. But if I flash LOS and bitgapps afterwards it boots but not into system but in twrp.
[Samsung Galaxy S 5 Unified Development] kurtn:
Klte is a only. You do something wrong with gapps.
[Samsung Galaxy S 5 Unified Development] DevisG79:
I understand configuration file is optional, so I didn't flash it. Setup wizard is now already included. These were the steps I made:

- In TWRP wipe everything except micro SD card and usb storage

- flash twrp latest img and reboot recovery

- allow modifications then install LOS and then install bitgapps standard package (arm version)

- reboot system. What the hell is wrong with it?
[Samsung Galaxy S 5 Unified Development] kurtn:
Why standard? In OP there is linked

BiTGApps-arm-13.0.0-v1.4_signed.zip

Why lineageOS 20? If it's not for you, use official 18.1 - less claims.
[Samsung Galaxy S 5 Unified Development] DevisG79:
Sorry that I didn't mention this. Of course I used lineage OS 18.1. I think I found the problem. It's because it installs twrp app. Thank you guys for your help and sorry for spamming here. Keep up the good work.
[Samsung Galaxy S 5 Unified Development] mostafa3bdou:
Hello guys, any feedback on this?👆
[Samsung Galaxy S 5 Unified Development] kurtn:
You propose a workaround. We already have a workaround for building unofficial lineageOS. I don't see a reason why lineageOS directors should accepted your workaround for official status. - they gave us another year with official 18.1
[Samsung Galaxy S 5 Unified Development] Andresine:
Everyone has an opinion and can comment and propose, that's what the forums are for. then the directors of lineageos will do what they think is convenient and we will thank them and enjoy it. it is my opinion. greetings to all fellow members
[Samsung Galaxy S 5 Unified Development] brt4722:
Happy with the rom, but sometimes it reboots and wifi isn't working. Have to reboot again.
[Samsung Galaxy S 5 Unified Development] retiredtab:
To help troubleshoot random reboots, see post #1 below for how to gather logs to help developer.

https://xdaforums.com/t/troubleshoo...rs-running-any-version-of-android-10.4308203/
[Samsung Galaxy S 5 Unified Development] mostafa3bdou:
- Thanks for your reply.

- Its just thoughts to discuss, not more!

- Yes, I know that the support has been extended for one year for version 18.1, but one day it will come to an end of this year, so we will need to discuss the alternatives/workarounds.

- I'm not talking about the official build of LineageOS 18.1 which is working fine with all of us, I'm talking about the next versions 19.1 and 20.0 which have the problem of removing the IPTables in favor of eBPF.

- If the eBPF causes problems and show much errors in the log files due to it's incompatibility with our devices, so I suggest to disable the default firewall and use a third-party one, that's all.

- Finally, I've mentioned "Please correct me if there is something wrong/unclear with my understanding and thanks in advance.", and this will be much appreciated as I'm not an AOSP kernel developer.
[Samsung Galaxy S 5 Unified Development] mostafa3bdou:
Sure, it's pleasure for me to collaborate
[Samsung Galaxy S 5 Unified Development] Gh3ttoKiLL4:
Exact same issue here, I updated my post with proper logs in attachment @khalvat
[Samsung Galaxy S 5 Unified Development] retiredtab:
Looks like surfaceflinger crashed due to null pointer (from your logs). I don't know what would cause this.

03-11 14:50:54.176 518 663 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x17 in tid 663 (TimerDispatch), pid 518 (surfaceflinger)
03-11 14:50:55.026 25665 25665 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-11 14:50:55.026 25665 25665 F DEBUG : LineageOS Version: '20.0-20230215-UNOFFICIAL-klte'
03-11 14:50:55.026 25665 25665 F DEBUG : Build fingerprint: 'samsung/kltexx/klte:6.0.1/MMB29M/G900FXXU1CSA1:user/release-keys'
03-11 14:50:55.026 25665 25665 F DEBUG : Revision: '14'
03-11 14:50:55.026 25665 25665 F DEBUG : ABI: 'arm'
03-11 14:50:55.026 25665 25665 F DEBUG : Timestamp: 2023-03-11 14:50:54.482702441+0100
03-11 14:50:55.026 25665 25665 F DEBUG : Process uptime: 143979s
03-11 14:50:55.026 25665 25665 F DEBUG : Cmdline: /system/bin/surfaceflinger
03-11 14:50:55.026 25665 25665 F DEBUG : pid: 518, tid: 663, name: TimerDispatch >>> /system/bin/surfaceflinger <<<
03-11 14:50:55.026 25665 25665 F DEBUG : uid: 1000
03-11 14:50:55.026 25665 25665 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x00000017
03-11 14:50:55.026 25665 25665 F DEBUG : Cause: null pointer dereference
03-11 14:50:55.026 25665 25665 F DEBUG : r0 a292d110 r1 00000001 r2 00000000 r3 00000000
03-11 14:50:55.026 25665 25665 F DEBUG : r4 a292d0f8 r5 a292d110 r6 a6f1fd18 r7 00000003
03-11 14:50:55.026 25665 25665 F DEBUG : r8 00000000 r9 00000001 r10 a292d098 r11 a6f1fd00
03-11 14:50:55.027 25665 25665 F DEBUG : ip a523556c sp a292d048 lr a5227b09 pc a7729b32
03-11 14:50:55.027 25665 25665 F DEBUG : backtrace:
03-11 14:50:55.027 25665 25665 F DEBUG : #00 pc 00429b32 /system/bin/surfaceflinger (void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, android::scheduler::Timer::Timer()::$_0> >(void*)+434) (BuildId: 2b3b46d628dd456df4afba3c69de492a)
03-11 14:50:55.027 25665 25665 F DEBUG : #01 pc 000ac637 /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40) (BuildId: ce53a0580fb2dd3478c0227726171fb4)
03-11 14:50:55.027 25665 25665 F DEBUG : #02 pc 0006255b /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: ce53a0580fb2dd3478c0227726171fb4)
[Samsung Galaxy S 5 Unified Development] joe_g1702:
abandoned project?
[Samsung Galaxy S 5 Unified Development] kurtn:
No

Commits · LineageOS-UL/android_vendor_lineage

Contribute to LineageOS-UL/android_vendor_lineage development by creating an account on GitHub.

github.com
[Samsung Galaxy S 5 Unified Development] RDS5:
while yes, sdcards do have less endurance, they're also alot cheaper and easier to swap out than the BGA soldered on nand on our phones

especially for me who films alot of video on my phone, i need some extra storage and endurance, i dont want my phone of 9 years to fail on me suddenly.

but it depends on how much data you store and how much you've already written to the phones internal storage (this phone's a hand-me-down from my parents and hasnt had a break longer than 5 months at a time, its always been in heavy usage and therefore i presume the nand isnt doing as well as it could be)
[Samsung Galaxy S 5 Unified Development] mostafa3bdou:
@khalvat