yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Android Development (Snapdragon)] tomasz86:
I've been experiencing random reboots using the ROM. I was unable to reproduce them for a very long time, but I've accidentally managed to do it recently. They seem to be related to su execution. This is how a typical logcat looks like leading to a system crash.

14:06:48.657 3167 3167 D su : su invoked.
14:06:48.657 3167 3167 D su : starting daemon client 10103 10103
14:06:48.659 3174 3174 D su : remote pid: 3167
14:06:48.660 3174 3174 D su : remote pts_slave:
14:06:48.660 3174 3174 D su : waiting for child exit
14:06:48.661 3175 3175 D su : su invoked.
14:06:48.661 3175 3175 E su : SU from: u0_a103
14:06:48.662 3175 3175 D su : Checking whether app [uid:10103, pkgName: ch.gridvision.ppam.androidautomagic] is allowed to be root
14:06:48.665 3175 3175 D su : Privilege elevation allowed by appops
14:06:48.665 3175 3175 D su : Allowing via appops.
14:06:48.665 3175 3175 D su : 10103 /system/bin/app_process32 executing 0 /system/bin/sh using binary /system/bin/sh : sh
14:06:48.666 3175 3175 D su : Waiting for pid 3176.
14:06:48.715 3175 3175 D su : pid 3176 returned 0.
14:06:48.715 3175 3175 D su : Finishing su operation for app [uid:10103, pkgName: ch.gridvision.ppam.androidautomagic]
14:06:48.717 3175 3175 W IPCThreadState: Calling IPCThreadState::self() during shutdown is dangerous, expect a crash.
14:06:48.717 3175 3175 W IPCThreadState: Calling IPCThreadState::self() during shutdown is dangerous, expect a crash.
14:06:48.718 3174 3174 D su : sending code
14:06:48.718 3174 3174 D su : child exited
14:06:48.718 3167 3167 D su : client exited 0
14:06:48.721 1503 1503 I AM_ao : [Syncthing] Action 'Execute Root Command: killall syncthing in ' stdout=
14:06:48.721 1503 1503 I AM_ao : [Syncthing] Action 'Execute Root Command: killall syncthing in ' stderr=
14:06:48.721 1503 1503 I AM_ao : [Syncthing] Action 'Execute Root Command: killall syncthing in ' exit_code=0
14:06:48.721 1503 1503 I AM_e : [Syncthing] End executing action 'Execute Root Command: killall syncthing in '
14:06:48.722 1503 1503 I AM_e : [Syncthing] Flow ended.
14:06:49.217 2569 2569 D su : pid 2572 returned 0.
14:06:49.217 2569 2569 D su : Finishing su operation for app [uid:10103, pkgName: ch.gridvision.ppam.androidautomagic]
14:06:49.219 2569 2569 W IPCThreadState: Calling IPCThreadState::self() during shutdown is dangerous, expect a crash.
14:06:49.219 2569 2569 W IPCThreadState: Calling IPCThreadState::self() during shutdown is dangerous, expect a crash.
14:06:49.220 2568 2568 D su : sending code
14:06:49.220 2568 2568 D su : child exited
14:06:49.220 2551 2551 D su : client exited 0

Have you got any idea whether the problem is related to the ROM, or whether it is something more generic? One thing that I should add is that I'm using the official LineageOS root package, not Magisk (edit: the crashes occur with Magisk too).

This is happening on lentislte using the v16.0 version of the ROM, and I haven't tried the v18.1 yet.
[Galaxy S 5 Android Development (Snapdragon)] csowp:
How is it going on building ths rom? Thank you
[Galaxy S 5 Android Development (Snapdragon)] ripee:
It isn't, I have no time to continue working on it. In the meantime I ran updated 16.0 builds.
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
Still thank you very much for caring about the g901f ☺️
[Galaxy S 5 Android Development (Snapdragon)] wuko:
What is the difference between the 16.0 from ripee and the

LOS 16.0-20210211-NIGHTLY-kccat6
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
LOS 16.0-20210211-NIGHTLY-kccat6 is from the 11th of February 2021

ripee's Rom is lineage-16.0-20211113-UNOFFICIAL-kccat6.zip

which is from the 13th of November 2021, i don't know how different they are in terms of features since LineageOS 16 is from March 2019 and LOS 17 and 18 are the current official supported versions.

LineageOS - Wikipedia

en.wikipedia.org

19 is not announced yet
[Galaxy S 5 Android Development (Snapdragon)] ripee:
My build has the November security updates in it, but it's not signed by Lineage, if that matters to you.
[Galaxy S 5 Android Development (Snapdragon)] robla1000:
Nice work done with latest kccat6, Ripee.

Runs smoother than before.
[Galaxy S 5 Android Development (Snapdragon)] robla1000:
Noted also better battery performance....

(there exist a '17' version of /e, don't know if you are familiar with it....Maybe it could serve as a basis for you to make Lineage 17 for kccat6).

Added: I had this version 17 /e working on my kccat6, and it worked not bad...
[Galaxy S 5 Android Development (Snapdragon)] tomasz86:
F2FS support for /data seems to be broken in the newer builds. It works fine in the last official release from February 2021, but starting from the unofficial builds, formatting /data to F2FS results in the OS complaining about "encryption unsuccessful" (even when not actually using encryption) and refusing to boot straight away. Changing the /data filesystem back to EXT4 gets rid of the error, and the system boots normally.

Edit: Encryption also seems to be broken in the same builds. It works fine up to the last official release, but trying to enable it in the newer builds results in a bootloop. The device restarts, but then it gets stuck on the LineageOS logo, never booting into the OS again.
[Galaxy S 5 Android Development (Snapdragon)] bege10:
I am using latest TWRP images from this Google drive:

.TWRP - Google Drive

drive.google.com

I think it was announced in this thread but I don't find that post any more. Currently I use 3.5.2.

Now I saw that there is the new 3.6.0 but when I try to install it there is the error message that the image is too big.
[Galaxy S 5 Android Development (Snapdragon)] maanteel:
Merry Christmas @bege10

Please have look at the signature of @ripee

He has his Google drive linked.

In folder TWRP you find the kccat or lentislte.

Here is a link to a post in this thread:

https://xdaforums.com/t/rom-officia...e-g901f-lte-a-g906s-k-l.3534283/post-84389231
[Galaxy S 5 Android Development (Snapdragon)] bege10:
Merry Christmas to you, too! That is a nice Christmas present! I downloaded it and will try it out tomorrow.
[Galaxy S 5 Android Development (Snapdragon)] bege10:
@maanteel It worked well!
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
sorry to bother you but could you reupload them again?

Google links are dead
[Galaxy S 5 Android Development (Snapdragon)] bege10:
Three posts above you can find the hint to ripee's profile. There in the About tab is the link to his Google Drive page.

In the .TWRP folder you find the latest version 3.6.0.

Samsung - Google Drive

drive.google.com

Don't forget to backup everything with TWRP before.

After my first attempt to flash the image within TWRP the phone looped only until the TWRP splash screen. No system, no recovery available any more, only download mode. That looks like I have chosen the wrong partition but I am pretty sure that I flashed the image to the recovery partition. So I had to flash TWRP with Odin, installed the system and then restored the backups.

Good luck.

Would you, please, post here how it worked for you?
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
flashed twrp.tar with odin, selected AP,everything fine here :)

Sadly no LineageOS 18 :/
[Galaxy S 5 Android Development (Snapdragon)] wuko:
Is there a simple way to change (clean or dirty flash) from LOS to ripee's build
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
dirty flash would be I think by wiping cache and flash the zip

or wipe system, flash rom and the same gapps you use on your current one.

Otherwise for clean flash, backup things, wipe system, cache, format data and then flash rom and gapps
[Galaxy S 5 Android Development (Snapdragon)] Not-Aus:
Just read the first post:

How to dirty flash an official weekly over an unofficial build (and vice versa)?

When trying to update an unofficial build to an official weekly build, I get an error message in TWRP saying

"Can't install this package on top of incompatible data. Please try another package or run a factory reset". How do I fix that?

At the start of an installation the installer checks the build keys. They differ between unoffical and official builds, and the installer refuses to overwrite builds with different keys. To fix this you have to install the official keys before trying to install the official build:

Run this script called lineage-migration-signed.zip in TWRP.

Then install the official ROM zip.

You only have to do this for the first switch from unoffical to offical build.

There may be reason to dirty flash an unofficial build over an official build, for instance, if you're developing or testing new stuff. The problem is the same, just in the other direction: You have to install the unofficial build keys:

Run this script called lineage-migration-unsigned.zip in TWRP.

Then install the unofficial ROM zip.
[Galaxy S 5 Android Development (Snapdragon)] Pencee:
i cant download for kccat6 :( anyone send me updated build or should i use a different rom?
[Galaxy S 5 Android Development (Snapdragon)] RainbowMixed:
Does anyone still have lentislte model the official one?

Pls i need it
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
LineageOS - Google Drive

LineageOS

drive.google.com
[Galaxy S 5 Android Development (Snapdragon)] Pencee:
which gapps do i use' can you link me
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
The Open GApps Project

OpenGApps.org offers information and pre-built packages of The Open GApps Project. The Open GApps Project is an open-source effort to script the automatic generation of up-to-date Google Apps packages. All Android versions and platforms supported.

opengapps.org

ARM android 9 nano, pico or micro

Comparison:

Package Comparison

The main repository of the Open GApps Project. Contribute to opengapps/opengapps development by creating an account on GitHub.

github.com
[Galaxy S 5 Android Development (Snapdragon)] maanteel:
Dear @ripee ,

finally I am lucky today, I successfully flashed your "lineage-16.0-20211224-UNOFFICIAL-kccat6.zip", opengapps, Magisk-v24.3.

I think the clean install without SDcard and 1st flashing this file (lineage-migration-unsigned.zip) before Rom my kccat6 is up and running :)

Thank you very much also for the latest TWRP version "twrp-3.6.0_9-0-kccat6.img".

Best regards,

maanteel
[Galaxy S 5 Android Development (Snapdragon)] wuko:
I agree to that. But when I try to adopt a SDcard,starting to format it I geht a repeating bootcrash ???
[Galaxy S 5 Android Development (Snapdragon)] maanteel:
@wuko

If I put again the "old" adopted sdcard in, bootloop/crash. I dont know why.

Worth to say, the sdcard was formated as SD mixed mode into 2 partions, one as mobile and one as interal (adopted) space.

This config runs smooth for 2 years with cvxda official one, but I was not able to flash the unofficial rom with this card. Even I format the internal partion, no luck.

If you like the extewnede space :) , maybe you can try to format your SD as SD Mixed mode. I did it successfully with that (german) wiki: https://www.droidwiki.org/wiki/HowTo_SD-Karte_Partitionieren

Other thought, the unofficial is not able to use an adoptable storage, due to lack of beeing an LineageOS official?
[Galaxy S 5 Android Development (Snapdragon)] RainbowMixed:
Could someone please explain why camera can only shoot at maximum quality of 1080p ,even though it can shoot 4k?(Both cvxda and ripee version,stock camera,lentistle model)

I'm new to this

Thanks!
[Galaxy S 5 Android Development (Snapdragon)] a safe haven:
Can someone please help me out? Where can I get lentislte roms?
[Galaxy S 5 Android Development (Snapdragon)] bege10:
lentislte
[Galaxy S 5 Android Development (Snapdragon)] Nachtbaron:
Guys, I need your help!

I installed Lineage 16 for kccat6 (the last official nightly build of Feb. 21) following the instructions of a youtube video. What I did: Activated USB-Debugging -> Download Mode -> flashing TWRP 3.2.3-0 via Odin 3.13.1 -> Wipe to factory reset -> installing Lineage and Gapps (ARM 9.0 Pico)

Everything worked like in the video, but Lineage was stuck in the booting screen. So I did a complete wipe and installed Lineage again (maybe that was a mistake). Everything worked out fine, but some time after I did all the settings and installed all of my apps, I tried to make a restart and suddenly I was stuck in a boot loop. So I redid everything, but after a while my phone just turns off and the boot loop appears again. Till that point Lineage is working fine btw.

Of course I did backup of Stock ROM with TWRP before starting the process, but it didn´t help. Then I downloaded and flashed Stock ROM with Odin, but after the Samsung logo there is a boot loop again...

I´m really desperate now. Any ideas how to escape this issue?
[Galaxy S 5 Android Development (Snapdragon)] maanteel:
@Nachtbaron

I would try to flash it from TWRP. 1st upgrade to the latest TWRP available from GoogleDrive of ripee ("twrp-3.6.0_9-0-kccat6.img") https://xdaforums.com/m/ripee.6005084/#about (google drive link see his Signature). Flash it in your TWRP (install from image, flash into recovery)

Then follow a clean install by cvxda https://xdaforums.com/t/rom-officia...e-g901f-lte-a-g906s-k-l.3534283/post-70452245
[Galaxy S 5 Android Development (Snapdragon)] Nachtbaron:
Thanks for you quick answer, but I´m a little bit confused. I flashed Stock ROM with Odin, but Lineage with TWRP.

So you recommend to flash Stock ROM with TWRP now?
[Galaxy S 5 Android Development (Snapdragon)] Nachtbaron:
Update: I tried everything again and now I don´t even get in recovery anymore (neither TWRP nor official one). Only Download Mode is working. So it´s getting worse every time I try, though I didn´t do anything differently or wrong! Even reflash of Stock ROM and/or TWRP doesn´t work.

I´m waiting now and hope there´s somebody, who can help me out.
[Galaxy S 5 Android Development (Snapdragon)] maanteel:
New Version:

lineage-16.0-20220418-UNOFFICIAL-kccat6.zip (463M)

Thank you @ripee
[Galaxy S 5 Android Development (Snapdragon)] ripee:
You're welcome! I started a new job last December which has given me next to no time to work on custom roms. Next month I will be even more busy, but I'd hate to forget how to work on all this fun hacky stuff, so I'll be posting new builds whenever possible.

I'll run twrp-3.6.1_9-0-kccat6 as well but no promises when it'll be available.

Edit: twrp-3.6.1_9-0-kccat6 is up, both img and tar, in the .TWRP folder on the Google Drive linked in my profile. I didn't run a new twrp for lentislte as teamwin managed to build it from the official sources.
[Galaxy S 5 Android Development (Snapdragon)] Marvin732:
Even though it is "only" LineageOS 16, i am very thankful for the dedication to update the ROM :)

I think there hasn't been much progress in finding the culprit for the boot problem in LOS 18.1?

Even so, thank you for the update :D
[Galaxy S 5 Android Development (Snapdragon)] ripee:
That's right, there has been no progress as I have zero time to work on it.
[Galaxy S 5 Android Development (Snapdragon)] JustJamesDev:
I just built the latest LOS 16 source for kccat6, and all seems fine but the fingerprint scanner doesnt work/respond. Has anyone else had this issue or any ideas?
[Galaxy S 5 Android Development (Snapdragon)] maanteel:
Fingerprint Sensor works.
[Galaxy S 5 Android Development (Snapdragon)] JustJamesDev:
Thanks, I'll install a new fingerprint sensor, I think its probably faulty!
[Galaxy S 5 Android Development (Snapdragon)] bege10:
Thank you very much for maintaining TWRP for this device!

With 3.6.1 OTA updates of /e/OS (based on LineageOS for microG) fail. When booting to recovery the TWRP UI opens and nothing more happens. No update, no error, nothing.

After reflashing 3.6.0 the update works as it did before.
[Galaxy S 5 Android Development (Snapdragon)] bege10:
I don't know whether you still search for an answer.

On my kccat6 this works if nothing else works:

- install stock ROM in download mode with ODIN, boot into system

- install TWRP in download mode with ODIN (immediately reboot to recovery)

- flash LineageOS-based ROM with TWRP

Note: TWRP 3.6.1 doesn't work here.
[Galaxy S 5 Android Development (Snapdragon)] m6rcomoto:
I´ve got the same problem as Nachtbaron with twrp-3.6.1_9-0-kccat6, lineage-16.0-20220418-UNOFFICIAL-kccat6.zip and open_gapps-arm-9.0-pico-20220215

Everything works fine at first, getting through Google and LineagOS menus. The LineageOS desktop appears fine, but then after a few seconds the phone gets into a bootloop.

-- EDIT 18:36

Tried MindtheGapps in stead of Open GApps, and got the same problem. However I found out that the bootlooping started after I tried to assign a 32Gb SD card as internal memory. So I did the above mentioned install again and took the SD card out, and now it´s working fine.

Not of much use though with just 16Gb internal memory. Hopefully this problem gets adressed in a future update.

-- EDIT 21:57

As External Storage the SD card doesn´t cause bootloops. On this phone apps aren´t transferable to SD unfortunately, even when forced through developer options. The camera app and my navigator app do allow data to be stored on the external SD, so the phone might be usable after all.

-- EDIT July 16th

The phone just rebooted during a call. That happened once before. Battery was about 70%. It also rebooted once after waking it up and starting an app. This compromises usability.
[Galaxy S 5 Android Development (Snapdragon)] Rp38g:
Hello, i got this rom and i have some problems with sim network. I would like to know if i'm the only one.

- Sometimes the phone just loses 4g signal and i cannot get it back until reboot my phone

- "Antenna switch" happens a lot and takes about 10s. during those 10s i lose signal

- My phone often reboot during calls
[Galaxy S 5 Android Development (Snapdragon)] Not-Aus:
Please use the latest firmware. (Firmware is not LineageOS Version!)
[Galaxy S 5 Android Development (Snapdragon)] c341:
What do you mean? Latest stock firmware?

Currently I have the last stock firmware on it, there I constantly lose the network (Vodafone) and takes forever until the kccat6 connects again or must restart it.

My main question now would be:

Which combination would now be the best for a successful and working LineageOS installation?

Firmware from ripee and especially TWRP ? Read that the current TWRP from ripee makes problems. Get to this unfortunately not the previous version.

Thanks!
[Galaxy S 5 Android Development (Snapdragon)] user815:
What problems do You mean? The chapter with problems using the sd-card as internal memory is not a fault of ripee's lineageos-build, imho. Samsung never supported this function and I made the exact same experiences with other LineageOS-Builds:

1.) 2 pcx. Samsung S5 (G900F),

2.) Samsung Galaxy Note 8.0 (N5110) and

3.) Samsung Galaxy Tab Pro (T520)

I actually have another effect with ripee's build: When I shutdown the G901F and reboot it 10 hours later, it has lost about 20% of its akkuload. When I shut it down and reboot it immediatly and let the display off, the akkuload drops only 3% 10 hours later. That is some kind of suspect. ;)
[Galaxy S 5 Android Development (Snapdragon)] c341:
The issue with the SD card (as internal memory) is known to me and I did not mean.

Basically I just want to know the following:

Is it possible to install the latest "TWRP 3.6.1_9-0" from 'ripee' in conjunction with the firmware "lineage-16.0-20220418-UNOFFICIAL-kccat6" also from 'ripee' without hesitation? Or does the "TWRP 3.6.1_9-0" make problems here?

If so, can someone provide the previous version of "TWRP 3.6.1_9-0" for kccat6?

---------------

Currently I have the last stock firmware on it, there I constantly lose the network (Vodafone) and it takes forever until the kccat6 connects again or I have to restart it.

Are the problems also known with LineageOS ?

Thanks!
[Galaxy S 5 Android Development (Snapdragon)] ze7zez:
Did you mean twrp-3.6.0_9-0-kccat6.tar or twrp-3.6.1_9-0-kccat6.tar?
[Galaxy S 5 Android Development (Snapdragon)] c341:
I am looking for the twrp-3.6.0_9-0-kccat6 - version. Unfortunately only the newer version is online, which is supposed to be buggy.

Will also recompile the firmware itself. Some small changes came yes until 18.05.2022. After that, unfortunately, nothing more came.
[Galaxy S 5 Android Development (Snapdragon)] c341:
Thank you very much!
[Galaxy S 5 Android Development (Snapdragon)] bege10:
This is a very old issue of the official ROM versions which has never been fixed. If you want to shutdown the phone without the battery drain you must do that from TWRP.
[Galaxy S 5 Android Development (Snapdragon)] ze7zez:
Many models are affected by this problem. I did not think that there is official information about it. Do you know the source of this information?
[Galaxy S 5 Android Development (Snapdragon)] oldbear3:
Does that mean that I have to reboot to TWRP and shutdown my smartphone under TWRP ?
[Galaxy S 5 Android Development (Snapdragon)] maanteel:
exactly @oldbear3
[Galaxy S 5 Android Development (Snapdragon)] Alex-71:
Hi,

i have tried to compile a new LOS16-build according to the official guide but without success.

repo sync was successful but the result of breakfast kccat6 is:

alex@alex-virtual-machine:~/android/lineage$ breakfast kccat6
including vendor/lineage/vendorsetup.sh
build/make/core/product_config.mk:234: error: Can not locate config makefile for product "lineage_kccat6".
13:34:53 dumpvars failed with: exit status 1
/usr/bin/env: ‘python’: No such file or directory
build/make/core/product_config.mk:234: error: Can not locate config makefile for product "lineage_kccat6".
13:34:54 dumpvars failed with: exit status 1
build/make/core/product_config.mk:234: error: Can not locate config makefile for product "lineage_kccat6".
13:34:55 dumpvars failed with: exit status 1

** Don't have a product spec for: 'lineage_kccat6'
** Do you have the right repo manifest?

Then i tried to extract proprietary blobs but there is no ~/android/lineage/device/samsung/kccat6 folder and no extract-files.sh file.

Do you have any ideas or suggestions?
[Galaxy S 5 Android Development (Snapdragon)] bege10:
If you search this thread you will find it.
[Galaxy S 5 Android Development (Snapdragon)] bege10:
I do it this way:

- Create a text file "openrecoveryscript" with this contents

reboot poweroff

- copy this file to /cache/recovery (this must be done before every shutdown)

- reboot to TWRP

- if the data partition is not encrypted you need to do nothing else, if it is encrypted you must unlock it in TWRP, then the phone shuts down.

I do this procedure with a little Tasker task. So I just need to tap the shortcut of this task and the phone shuts down with no more action.
[Galaxy S 5 Android Development (Snapdragon)] maanteel:
@ze7zez

https://xdaforums.com/search/49013927/?q=drain&t=post&c[thread]=3534283&o=relevance
[Galaxy S 5 Android Development (Snapdragon)] ze7zez:
Do you know the official source of this information?

Provide a direct link instead of a search suggestion. I know about the problem from my own experience and theoretically from lineageos threads for i9100. The only thing missing is the dot over the "i": the source.
[Galaxy S 5 Android Development (Snapdragon)] ripee:
kccat6.xml

Use this manifest. It includes our kernel with a couple of changes that are now required to build the kernel. This is purely a clerical thing that the kernel on Lineage doesn't have.
[Galaxy S 5 Android Development (Snapdragon)] Alex-71:
Thank you ripee!

I should have mentioned that this is my very first try for an own build. I'm not familiar with the build-tools, i'm just following step by step the official guide.

So i have absolutely no idea where to put this kccat6.xml file..