yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Just download the firmware of choice from https://www.sammobile.com/firmwares/database/SM-G901F/ and extract boot.img from there. It's the stock boot image by definition :)

I doubt this will work with a LOS 14.1 ROM, though. First, there's the difference in SELinux requirements between MM and N, second, the stock boot image will expect different services which are not all available.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] ruchern:
Yeah as i thought. I wanted to try magisk if this device is able to pass SafetyNet on LineageOS.
[Galaxy S 5 Android Development (Snapdragon)] stanley.tweedle:
Strange behaviour of top

I have a strange problem. I'm using top on Android a lot recently, because I'm debugging a problem with my Google account. I used to have top similar to the Linux version, with a fixed header and a table of processes dynamically updating.

When I flashed the unofficial 20170301 LineageOS version, I suddenly had a version of top which simply dumps a list of all processes to the screen periodically. I had to limit the number of lines by command line options to get something useful.

When I flashed the 20170319 version, everything was back to normal and fine again.

Today I switched to the offical branch, and I have the ugly version of top again.

I feel a little dumb :silly:. What is happening here? I already thought I have a problem with busybox, but that seems to be where the ugly version comes from.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Actually, no. I wonder if that's supported by LOS at all. I can't test this, though for lack of a BT headset as well as lack of a car with these abilities at all.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
In theory the ugly version is from toybox and full featured busybox isn't installed. Try to install the latter.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] stanley.tweedle:
Strange. I had and have busybox installed, but as you mention it, I see that top was still symlinked to toolbox. I couldn't even convince the installer to replace the symlink, had to delete and recreate it myself.

How come that this behaviour changes from OS version to OS version?

:confused:

Thank you for the advice!
[Galaxy S 5 Android Development (Snapdragon)] samuelcheng74:
Im using G906K in Hongkong with LTE. However,there is no sound when calling sometimes. I have no solution even i changed my service provider in setting. Whats the solution?Salute to your work!

Samuel
[Galaxy S 5 Android Development (Snapdragon)] Krapotke:
Call with Headphones

I got ahead in this topic:

Like Corinna said, it has to do with the kind of headphones: i sticked in a headset and headphones with 3 contacts. The headset worked, the headphones didn't. Then i mask the lower part (where the 4 contact is) of the headphones. But it has no effect.

So you definitely need a headset with 4 contacts. And the aux-cable even with 4 contacts will crash the phone. Because the aux input is unidirectional, and inside the radio it is reduced to 3 contacts. (Never seen a bidirectional aux input).

There's may a mechanism that the phone recognize the electrical flow between third and fourth contact. But in stock rom i made calls even with normal headphones. Then the microphone of the phone was chosen instead of headset micro.

Difficult to fix, but would be nice, if anyone can solve it. ;D

Greetings,

Krapotke
[Galaxy S 5 Android Development (Snapdragon)] stanley.tweedle:
Ignoring geofence alert

Sorry if this question is off-topic, but the problem started when I switched from stock to LOS :D Maybe somebody here can help me.

Sometimes Google Play Services get hung, in a way that the process "com.google.android.gms.persistent" uses 140% CPU, the phone gets hot and battery drains immediately.

When that happens, the log is spammed with the following message over and over:

W Places : Ignoring geofence alert, no matching place found for alert

and sometimes

W Places : ?: The PlaceGeofenceListener is not registered.

When I kill the process, Play services restart themselves and everything goes back to normal.

I didn't find a pattern on when that situation occurs.

I tried googling the error messages but didn't find a comprehensive explanation. Who is trying to geofence my phone? Is it Play services or an app? Couldn't imagine which one could be that. Can it come from the Smart lock feature?

Any hint is greatly welcome.
[Galaxy S 5 Android Development (Snapdragon)] satcom886:
No, Google Smart lock does not cause any of these problems. I am using it for a long time now on 2 devices and I did not experience any of the problems, that you have.
[Galaxy S 5 Android Development (Snapdragon)] ruchern:
A quick Google search seems to tell me that this is related to Google Maps and the way the API is called when location changes. Correct me if I am wrong.
[Galaxy S 5 Android Development (Snapdragon)] stanley.tweedle:
Thank you for taking your time. Which search term did you use? I had tried it too and seemed to find only garbage (like log file uploads on pastebin) :rolleyes:
[Galaxy S 5 Android Development (Snapdragon)] ruchern:
PlaceGeofenceListener

And it brought me to Android Developer's Guide.

---------- Post added at 10:02 PM ---------- Previous post was at 10:01 PM ----------

Exact URL: https://developer.android.com/training/location/geofencing.html
[Galaxy S 5 Android Development (Snapdragon)] stanley.tweedle:
Either I'm too stupid (may well be) or I am on Google's fokus to prevent me from finding out. A search on "PlaceGeofenceListener" for me yields only five results, all of them logcat.txt files uploaded to jira.lineageos.org and one to another server. Strange.

Great and interesting article. I'll read through it in the evening. Thank you very much!
[Galaxy S 5 Android Development (Snapdragon)] The Child of 13th:
Anyone else experiencing problems with dimmed brightness on lock screen after receiving any kind of notification, for example after receiving whatsapp notifications when display should show notification at 80% brightness, it's displayed very dark at most 5% brightness maybe even less and it can be fixed by locking screen again. It's not that big of an issue but it can get kinda annoying after a while. I'm using latest nightly build but also happened on 20170321 build
[Galaxy S 5 Android Development (Snapdragon)] ruchern:
No problem for me for the latest builds but it did happened to me once. A reboot fixed the problem for me so there was nothing major to note from my part.
[Galaxy S 5 Android Development (Snapdragon)] The Child of 13th:
What modem and bootloader are you using?
[Galaxy S 5 Android Development (Snapdragon)] ruchern:
Both on CPE1. I have no successes with other higher versions.
[Galaxy S 5 Android Development (Snapdragon)] The Child of 13th:
I'll try with latest version of Nordic modem and bootloader maybe it'll fix itself -_-
[Galaxy S 5 Android Development (Snapdragon)] THErealYoDa:
Yeah, I also have this problem on the 3/30 build. Why though would the bootloader and modem be the cause?
[Galaxy S 5 Android Development (Snapdragon)] Stamgastje:
That's a known (minor) issue. And not related to the boot loader (but probably the kernel, or Lineage OS).
[Galaxy S 5 Android Development (Snapdragon)] numnutss:
Yes happens to me occasionally but haven't taken note on what might be causing it, i will try to be more observant:silly:
[Galaxy S 5 Android Development (Snapdragon)] The Child of 13th:
Dunno, thought it might help to check
[Galaxy S 5 Android Development (Snapdragon)] 00edi00:
it happens to me every time..
[Galaxy S 5 Android Development (Snapdragon)] velimir0xff:
The same here, it's very annoying :\ Build from 2017-03-29
[Galaxy S 5 Android Development (Snapdragon)] Stamgastje:
There's a new build available:

https://download.lineageos.org/kccat6
[Galaxy S 5 Android Development (Snapdragon)] Knowbody42:
Anyone had any issues with the Google Clock app?

I installed Lineage OS 14.1 (kltedv 2017-03-29) on a G900I, installed the mini gapps package, and then tried opening the clock app. It immediately crashes.

So I removed it from /system/app, and try to install it from the Play Store. Error 505.

So then I try to download and install the apk manually. Error parsing the package.
[Galaxy S 5 Android Development (Snapdragon)] samuelcheng74:
May you talk about the changes in the latest build?Thanks!
[Galaxy S 5 Android Development (Snapdragon)] getNovsky:
I can confirm the Problem with headphones.

When get called with headphone inside, Boone hears me and only a reboot fix it.

If i plug the before answering the call, everytjing is fine.

3 pol headphone

Another bug i have is Videos in facebook vor twitter. They randomly "zoom in" . netflix and amazon is find.
[Galaxy S 5 Android Development (Snapdragon)] samuelcheng74:
Which phone are you using? You are in 0406build or 0330bulid?
[Galaxy S 5 Android Development (Snapdragon)] mindwarper:
VoLTE - NL KPN

Sorry for getting back so late on this...

busy with other "life"-stuff :) lol

I have tried different calendar apps, and issue is the same still even if I move some mp3 notification sounds to internal storage... the built-in ones work fine the "custom/downloaded (by me)" do not...

Oh well, I can give up on this matter... I can live with it, no problem...

Now some other interesting thing I might try...

I have the operator Telfort here in NL, which is in fact a sub-licensor of KPN... i.e. uses the KPN network...

for what I have read on the net: KPN has enabled VoLTE on it's 4G-network...

Can we actually use VoLTE in the Galaxy S5 4G+ (SM-G901F) using LineageOS 14.1 builds ?

is there some extra setting required by the user ?

or is it not (yet) implemented in the LineageOS builds so far ?

according to this URL, VoLTE is supported on SM-G901F :)

https://forums.oneplus.net/threads/volte-working-for-you.480660/

I would like to try that actually perhaps in futiure... will try it with my brothjer who has an iPhone 6 or 7 (iCrap to me lol :P)
[Galaxy S 5 Android Development (Snapdragon)] The Child of 13th:
What changes are in new build?
[Galaxy S 5 Android Development (Snapdragon)] getNovsky:
Screenshot
[Galaxy S 5 Android Development (Snapdragon)] mindwarper:
new PHN stock rom

Just in case I am going to flash new stock ROM with CSC code PHN for my region and operator :)

Modem is now also upgraded to CPJ1 as I am using it from NEE one now lol on LineageOS 14.1

this is it's main info:

PDA Version: G901FXXU1CQC2

CSC Version: G901FPHN1CQB1

PHONE Version: G901FXXU1CPJ1

Region: PHN

Country: Netherlands

what is TPD for a code?, seems also NL, but unsure...

PDA Version: G901FXXU1CQC2

CSC Version: G901FTPD1CQB1

PHONE Version: G901FXXU1CPJ1

Region: TPD

Country: Netherlands

seems like a CQC3 of other FW series also exists, will m aybe try that too, but for now whatever PHN/TPD comes with is okay for me :)

seems no difference in versions of Bootloader, Modem and CSC between the two...

Just unsure what to use now...

Had already made a nandroid backup in TWRP, so when I flash the stock rom here and check/test it's info, then I will revert back to my backup copy
[Galaxy S 5 Android Development (Snapdragon)] samuelcheng74:
There is a newest version for today
[Galaxy S 5 Android Development (Snapdragon)] ruchern:
Oh well, this is an early farewell.

In about 6 months time, October, I am moving to the iPhone 8.
[Galaxy S 5 Android Development (Snapdragon)] bxalex:
Hello there,

after flashing the last nightly, my gapps were gone. a known issue or a single problem? any ideas how to solve it? or do i have to flash gapps with every new nightly now?

thanks!
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Problem is clear, but I don't have a solution yet. There's a value which is supposed to define the brightness value for the ambient display in doze mode, but for some reason I can use whatever value there without the brightness changing at all. There's at least one other device affected by this problem, too, so I look into hopefully fixing this together with the maintainer of that device.

Just look for yourself on the download site. It contains a link called "ChangeLog".

This has been fixed for a while. Your ROM is too old.

I think this is supposed to be supported by LOS, but I have no way testing that. I also don't know yet if this requires a device-specific change or if that works OOTB.

See above.

No idea. If you don't have a branded device, it shouldn't matter much. I'm using NEE from Germany and Germany, despite its weather, is not a "Northern Country"...

I'm sad to read that, but I wish you much fun with your new phone. No more hacking on the OS, though :eek:

Never encountered that myself and, naturally, I'm installing ROMs like crazy. Whatever happened there, I doubt this will occur every time.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
New lentislte build is available too now.

Please note that we have weekly builds which are spread over the entire week to keep the load on the build systems reasonable. For that reason, kccat6 builds are always created on Wednesday, lentislte builds on Thursday.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] THErealYoDa:
About the ambient display problem, would there be any solution by looking at the klte build? Are they similar in any way, or even in that respect totally different?
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
klte works fine with exact same settings. We suspect a kernel problem and the kernels are pretty different (3.4 based on klte, 3.10 based on kccat6/lentislte)

Corinna
[Galaxy S 5 Android Development (Snapdragon)] THErealYoDa:
Ah, I see. And I assume rolling back the kernel is always a bad idea.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Not just a bad idea, it's next to impossible. Given the way drivers, firmware and other proprietary components of a device are written, you're basically stuck with the kernel version the vendor used for the port in the first place. On Qualcomm hardware the kernel version is the one Qualcomm used for the chipset port, which is then just developed (hopefully) further by the vendor for their specific hardware.

So MSM8974 devices like klte are basically all on 3.4.x, APQ8084 devices like ours on 3.10.x.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] D D H:
Awesome rom for my phone !

Thank you very much about official rom for Galaxy S5 LTE-A !

This rom is very smooth. But i have one problem, it's random. When i turn on the screen, the screen have very low light, turn off and turn on again to solve this problem.

Aptive brightness and Active display is turn off.

Is this fearture of rom ? please help me to solve it.

Lasted build 6-Apr.

Thank cvxda, thank developers !
[Galaxy S 5 Android Development (Snapdragon)] bud7dha:
A known bug with no fix ATM. My workaround is double tap to sleep and turn on the screen again. The low light occasionally returns when I get a text message. On a side note, I use the ForceDoze app, and there is supposedly a fix for adaptive brightness, but I can't get it to work even though I've granted the app root privileges.
[Galaxy S 5 Android Development (Snapdragon)] mksamanes:
Battery Drain

Wow I just installed the ROM and although really surprise by how responsive and fast it is. I really regret installing it, and is because the battery consumption is asful, it last 7 hours and even connected to my PC USB it drains the battery instead of recharging it.

Don't know if I did something wrong, but I come from the last bootloader and samsung stock version, did a clean install and only installed a few app from my titanium backup.

Any ideas how to solve this issue?
[Galaxy S 5 Android Development (Snapdragon)] armaghedon1927:
impressive battery consuption

Thank you very much about your official Rom for galaxy s5 g901f!

I really appreciate it, rom is smooth, and quite stable except for some google play service crashes.

However I have a serious problem with the battery consumption. I tested for three days the last official realise and the consumption was impressive respect to the last unoficcial realises, so i decided to reinstall the last unofficial build.

Any solutions? Thanks.
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
I share your respect for the development for Lineage for the S5 kccat6 .

But about your problem (thinking in solutions) maybe greenify app helps?
[Galaxy S 5 Android Development (Snapdragon)] armaghedon1927:
I've already installed it with root features, waiting for the xposed features support on Nougat. Greenify helps to cut down the battery drain for sure, however I think the main problem is in something in the new official rom.

During the test of the official realise battery last 6-7 hours, while with the unofficial realises it last 16-18 hours on average with normal usage. It's a big difference.
[Galaxy S 5 Android Development (Snapdragon)] Klaass:
When I tried to make the latest ota update (official) , there came a message "can't open the recovery". So my question is, how can the Phone open automatically the recovery? The update won't install unfortunately
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
Do you have latest TWRP 3100 installed?

https://dl.twrp.me/kccat6/ <<<< = for the SM-G901F !!!!
[Galaxy S 5 Android Development (Snapdragon)] Stamgastje:
One of my apps (this one) has problems accessing the camera. I captured the warnings and error messages (using 'adb logcat *:w') and the log shows that the camera daemon (/system/bin/mm-qcamera-daemon) even crashes.

Not sure what's going on... but I attached the log file for analysis.

(I'm running the latest official build: lineage-14.1-20170405-nightly-kccat6-signed.zip)
[Galaxy S 5 Android Development (Snapdragon)] LOLO-Sbd:
Hi, [MENTION=3419717]cvxda[/MENTION]

I'm running the latest official build: lineage-14.1-20170405-nightly-kccat6-signed.zip.

I've used lineage updater to download the ota update.

Once downloaded i'll touch install.

And says: lineage updater can't restart into recovery mode
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
This is a bug in the device configuration. Unfortunately, to fix this we need patches to LOS and TWRP.

I pushed the patches to the official repos. We just have to wait for the next official LOS and TWRP builds. New LOS builds will be today (kccat6) and tomorrow (lentislte). New TWRP builds hopefully later this week.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
Hi Corinna,

I saw the new LOS from today but if you speak about the new TWRP you mean the official site https://dl.twrp.me/kccat6/ to be updated from now version 3.1.0.0 wich came out earlier?
[Galaxy S 5 Android Development (Snapdragon)] Azakhan:
Edit: Nevermind I fixed it.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Read again...

Corinna
[Galaxy S 5 Android Development (Snapdragon)] Klaass:
Yes, I iinstalled the latest twrp. In this topic I see more people with this problem, hopelfully will it be fixed soon.
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
Sorry still not clear to me :confused:
[Galaxy S 5 Android Development (Snapdragon)] mindwarper:
It's not easy to use it this way...

But oh well, I can live with it, no problems...

For now I just download it from website on my PC then transfer it from there via cable to my phone's (external) SD card...

This I will do this weekend in combi with flashing new bootloader and modem and CSC first :)

It is so nice to see now that this (un)common S5 variant (SM-G901F) has now good support from the community and for that I have already donated :)

Thanks!

Ah and concerning notification sounds for calendar events, it seems there is a compeletely different issue then I originally thought it was...

it turns out that: if phone is in

standby mode (i.e screen off)

the notification seems to start playing, but only very very shortly (for a millisecond) and then gets killed off...

So in that it might seems to user (me) that calendar event notification sounds do not work... Just seem to get silenced almost immediately after event is triggered...

Sometimes also happens when screen is on, i.e. not in doze mode

Oh well I can live with this :)
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Bad news for kccat6 users: The yesterday's weekly build didn't pick up the patch, so functional OTA update will only be available after updating to the next week's build.

Good news for lentislte users: The build already picked up the patch enabling OTA.

The new TWRP builds have been scheduled but testing and uploading might take a day or two.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
I made a few changes to the Notes posting. I clarified a misconception on my part in terms of .tar.md5 files and I added a section explaining how to dirty flash an official weekly over an unofficial build and (because I had this problem myself) vice versa.

Have fun,

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Well, what am I supposed to say? It was a bug and it will be fixed.

You can just download it directly with your phone and install in TWRP. No reason to add an extra hop via your PC.

I skipped the last one. The modem is still CPJ1 and the CQB3 bootloader works fine for me.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] DienoX:
[MENTION=3419717]cvxda[/MENTION]

I installed your ROM and these are my suggestions & opinion:

[Kernel][Dont work] DriveDroid cant mount img as USB disc, only work CD (We need a patch to work, ( https://xdaforums.com/showthread.php?t=2196707 ).
[Kernel][Dont work] I installed the Archlinux in chroot to try mount "USB 3" disk and it dont work (only work USB 2.0 mode) --> dmesg ( https://pastebin.com/txwctdgv ).
---
[Android?][Dont work] Some sensors are not working compared to stock.
[Android?][Dont work] Missing some codec (like hardware VP9).
[Android?][Dont work] WiFi sharing on 5Ghz dont work.
[Android][Dont work] If we turn on HDR (not only HDR) in camera then camera will crash.
---
[Suggestion] It was nice to update kernel to the latest version.
[Suggestion] Add a Android Keyboard Gadget ( https://github.com/pelya/android-keyboard-gadget ) , Is even ready patch for Snapdragon 805.
[Suggestion] Update adreno blob from Nexus 6 (Offical Android 7.1) to ours LOS G901F.

---

[question] AOSP/LOS support USB 3 filetransfer like stock?

TL;DR

Thanks Corina for the good port of LineageOS. I'm a bit sad that Lineage OS does not support external media with EXT4 (CyanogenMod does do). This ROM need some work on the quick decline of the battery (and a few other things) then this ROM will be the best ROM for G901F.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
https://review.lineageos.org/168710

USB3.0 isn't supported, I think.

All sensors recognized by the OS are working. If you think one isn't working, it might be prudent to mention which one, what you get as result and what you expect.

I don't think this codec is supported. Patches welcome.

Indeed, and kccat6/lentislte are not the only devices affected by this. You get an error trying 5GHz AP on klte and d2 as well. It sems the AP channel on our devices is fixed to channel 6 for some reason (more so than just be being specified in /data/misc/wifi/hostapd.conf).

Not for me, using the system-provided Camera2. Problems with Snap and, perhaps, other cameras are known, but I just don't know why the underlying (proprietary) camera server process is so finicky.

What the heck? Do you think I'm not working on the device? Did you take even a single look on https://review.lineageos.org/ or https://github.com/github-cygwin/android_kernel_samsung_apq8084 to see what happens?

[Stopped reading here]
[Galaxy S 5 Android Development (Snapdragon)] hupo224:
I don't have "camera2" and same for me with HDR crashing the camera
[Galaxy S 5 Android Development (Snapdragon)] Stamgastje:
Do you have any clue what's going on here, [MENTION=3419717]cvxda[/MENTION]? Anything I could/should test?
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
You have Camera2 since it's the camera you get with the ROM. I'm just testing it while typing and HDR works fine for me.

Corinna

[IMG="Camera2/Snap"]https://cygwin.de/Screenshot-Camera.jpg[/IMG]