yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Android Development (Snapdragon)] ruchern:
LineageOS 23 Jan build. Alternatively, you can flash [MENTION=3419717]cvxda[/MENTION]'s RR port.

Edit: People are reporting that there is no root on the 23rd Jan build. I do not know this problem because I am using SuperSU 2.79 root by Chainfire.
[Galaxy S 5 Android Development (Snapdragon)] RootNightmareX:
So this are more stable and better battery than stock custom roms?
[Galaxy S 5 Android Development (Snapdragon)] ruchern:
Relatively stable and the latest Android OS version by Google.
[Galaxy S 5 Android Development (Snapdragon)] schwatter:
Whoop, no root with build 23? Am i wrong?
[Galaxy S 5 Android Development (Snapdragon)] Stamgastje:
No, same here.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
http://lineageos.org/Update-and-Build-Prep/:

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
I think that was the intention of this fix.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] schwatter:
OK, thx. But it looks like the root.zip isn't available till yet. Or someone get it?
[Galaxy S 5 Android Development (Snapdragon)] girtsn:
Again no problems in the weekend both using wifi & mobile network.

Arrive in work, bam 2-3 hours and the phone did shut down. Then again after 1 hour or so.

I installed an applicaiton that keeps on storing the log file, attaching maybe someone can see something fishy.

For me it seems the phone just stops at one point based on the half-output last timestamp?

Any suggestions how to debug it further knowing that it happens at some unpredicictable moment? Verbose logging would help?
[Galaxy S 5 Android Development (Snapdragon)] girtsn:
please, won't be upgrading until we get the root.zip :(
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
404

File not found

The site configured at this address does not contain the requested file

[emoji22]
[Galaxy S 5 Android Development (Snapdragon)] schwatter:
Ok, tested this SuperSu with luck --> https://plus.google.com/+Chainfire/posts/27xToSqi5em

For lineageOs and root, i can understand why they do it.

[MENTION=5156684]andreoide[/MENTION]

http://lineageos.org/Update-and-Build-Prep/

just minus ":" and you get the real link. Cvxda was a bit fast by providing the link.

edit:

here are more infos about the new root-mentality:

https://xdaforums.com/lineage/general/lineage-to-ship-root-access-default-t3540423
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Indeed. Fixed in the OP.

Thanks,

Corinna
[Galaxy S 5 Android Development (Snapdragon)] Stamgastje:
Ah okay, clear - thanks. I also understand their reasons (security & app compatibility) -- only a pity that the flashable zip file for re-gaining root is not yet available.

Would be great! Unfortunately I cannot verify it now myself, as I currently cannot risk rendering my phone (temporarily) useless...
[Galaxy S 5 Android Development (Snapdragon)] ruchern:
Yes. SuperSU 2.79 is working perfectly fine on this ROM.
[Galaxy S 5 Android Development (Snapdragon)] TonyTeoTeo:
Yeah, my phone has the issue, too
[Galaxy S 5 Android Development (Snapdragon)] bobby_sixkiller:
I'm not alone. The only solution I have found for now is to remove the battery at night ...
[Galaxy S 5 Android Development (Snapdragon)] dudoedu:
AudioFX

First thanks a lot to Corinna for porting Oreo to our device. It's so fast and smooth now!

I'm programming an application for learning languages. For controlling your pronounciation you can listen to a sentence, record your own voice and then listen to the record and the original again.

Unfortunately after some rounds the app seems to crash. Only shutdown is possible anymore.

In logfile I found also E/ActivityManager(517): ANR in org.lineageos.audiofx.

It only happens on G901F with lineageos 15.1.

After disabeling audiofx no more ANRs.

With stock rom app works like expected.

Also no problems on Nexus 4 with official 15.1 and S4-mini (serranoltexx) with unofficial 15.1 by arco68.

My question: Is there a known issue with audiofx?
[Galaxy S 5 Android Development (Snapdragon)] andropest:
Flashed latest Modem and BL but phone shows old baseband version

I used heimdall to install the latest Modem and Bootloader (G901FXXU1CQJ1_G901FDTM1CQJ1_DTM.zip). Everything seems to be all right, no errors, all operations successful.

But when I look at "Settings - System - About The Phone" it shows:

Baseband-Version

G901FFXXU1CQC1

I repeated the flash process, but with the same result.

So it seems that my phone stuck on its old firmware. And despite this and the fact that I did a dirty upgrade from LOS 14.1 (06-15), I detected no malfunction. SIM works flawless since I put it in a few hours ago, Bluetooth works with my Jabra headset, batterie is fine, no overheating.

I wonder if I should try to install the modem firmware again using an older version of Heimdall or even Odin (I don't like it to use windows). But because everything seems to work, I am not sure if it is worth the trouble.
[Galaxy S 5 Android Development (Snapdragon)] lx07:
Since upgrading to 15.1 I get this issue too occasionally. Unlike other people reporting it here I *do* have a flip cover but sometimes opening the cover leaves the half blue screen and I have to remove battery. I could disable it but haven't as it only happened twice so far.

This was very useful, thank you - much faster than downloading the whole thing from sammobile. I am having problems with battery use by "Mobile network standby" on 15.1 so perhaps this will help.

I notice you have free.fr address for the download. If you use a free sim did you ever get FreeWifi_secure to work (uses EAP-SIM authentication)? I never did on lineage - not on 14.1 nor 15.1.
[Galaxy S 5 Android Development (Snapdragon)] thubi:
I did the same exercise until I had a closer look in the firmware package. If you extract it to the .tar.md5 you´ll see it... G901FXXU1CQJ1_G901FDTM1CQJ1_G901FXXU1CQC1_HOME.tar.md5

Latest baseband is G901FFXXU1CQC1
[Galaxy S 5 Android Development (Snapdragon)] Néocray:
No. The latest (and surely the last) bootloader is CQJ2, not CQJ1: https://xdaforums.com/showpost.php?p=76876745&postcount=1544

You're welcome. I've made this package available because, like you, it has bothered me to download the whole firmware just to keep the bootloader and modem packages. At that time, my connection was quite bad so one firmware was taking almost 2 hours to download. And it took me several attempts before finding the right firmware, so the time I've lost should be put in good use for the others. :p

But I think it won't improve your issue, because it seems to be related to the ROM. It also shows from time to time on my device, with the latest RR build.

About the EAP-SIM authentication, I don't use Free as a mobile provider since quite a long time, so I won't be able to help you. In my area, the Orange roaming is quite aggressive, so I was spending too much time on Orange antennas, and therefore with a restrained throughput or even no working data at all.
[Galaxy S 5 Android Development (Snapdragon)] andropest:
THX a lot.

Now I'm relieved and know that this method is working and that I can use it also to upgrade BL/Modem on my Note4.

---------- Post added at 12:30 AM ---------- Previous post was at 12:08 AM ----------

THX for the link.

I noticed that there is a newer firmware but someone told me that it is better to flash a firmware that matches the country and provider that I use. So I thought it's better to download the German DTM file.

Can I use Modem/BL firmware from any country/provider without problems?

Sorry for my noobism. :silly:
[Galaxy S 5 Android Development (Snapdragon)] PhilCapron:
Using the 0703 build on both my 901f's, I've restarted my phones a couple of times with no simcard missing problems and with no loss of network signal during use. So for me the 0703 build seems to be a step in the right direction. With debloat this rom is very smooth and fast.Battery drain "overnight" about 0.75%/hr..........

HTH.
[Galaxy S 5 Android Development (Snapdragon)] pwarz:
Hmmm... Sim problem is disturbing but does the ir Blaster work for anyone? My doesn't work with 15.1? Anyone?
[Galaxy S 5 Android Development (Snapdragon)] Krapotke:
My IR Blaster works as usual (with irplus).

Baseband: CQC1, Bootloader: CQJ1, Latest 15.1 build.
[Galaxy S 5 Android Development (Snapdragon)] andropest:
It works on my phone.
[Galaxy S 5 Android Development (Snapdragon)] pwarz:
Thank you, tried with irplus and it works. Must be any mote which is struggling.

Other question : I habe the same bootloader and baseband and have to restart the phone 3 times a day for the Sim card problem. Do you have the Sim problem as often as I?
[Galaxy S 5 Android Development (Snapdragon)] Krapotke:
Sometimes yes! If you want to have sim card involved directly after booting, I suggest you to clear "dalvik cache" and "cache" in TWRP everytime you reboot. (Boot into TWRP, clear cache, and then restart again). That may save some time, instead of leaving it to chance.

(Like mentioned from Neocray and Moto1987)

EDIT: does not happen while running. Only when reboot is necessary.
[Galaxy S 5 Android Development (Snapdragon)] andropest:
Did you mean that your phone lost SIM while it was up and regular running or did it lost SIM during reboot?

I'm using this ROM for about three days. It never lost SIM while it was up and running. I tested some substratum themes and therefore it had to restart it at least two dozens time. It never lost SIM while I did this. But on the next day I had to reboot it one time and it lost SIM. I tried to fix this by reboot but even after about a dozen reboots it didn't recognize the SIM card. After all I removed the battery for some seconds and this "fixed" it. Since then I also had a couple of reboots and it lost SIM only after one of these reboots and found it immediately after the next one.

I'm using Modem and BL CQJ1 and Baseband CQC1.
[Galaxy S 5 Android Development (Snapdragon)] pwarz:
Hmmm... No I losing SIM card while the system is normally running. And than I clear the cache and reboot so it's back again. I have the same bootloader and modem and did a clean flash but now I will give CQJ2 a chance.
[Galaxy S 5 Android Development (Snapdragon)] andropest:
I'll keep my fingers crossed for you. But the NoSIM issue is a well known problem on LOS 15 based ROMs, at least for Samsung devices. And AFAIK it cannot be cured by upgrading the bootloader and modem firmware. But I'm just a noob, so maybe I'm wrong.
[Galaxy S 5 Android Development (Snapdragon)] rommy667:
I to have all the issues described above it got so bad i had to go back to 14.1 :( might also go back to my old g900f it has no problem regarding "lost" sim for some reason.
[Galaxy S 5 Android Development (Snapdragon)] Néocray:
In some cases, you may have issues with a different baseband, but not in this case. And for the bootloader, it won't change a thing.

If I should stick with my country and provider, I would still be using an obsolete firmware. :p
[Galaxy S 5 Android Development (Snapdragon)] moonboy2:
Any solution?

[MENTION=9270624]bobby_sixkiller[/MENTION]

Hi, I´ve got the same battery drain over night.

Did you find any solution?

Thanks in advance!

Fred

---------- Post added at 11:12 AM ---------- Previous post was at 10:57 AM ----------

Hi,

here the same battery drain over night (S5+ shut down)

with LineageOS 15.1 about 40%, with RR same drain.

My solution:

Went back to original Samsung Android 6.0.1 = NO drain.

But I would prefer LOS 15.1

If any solution found for that problem please give me a hint.

Lots of thanks!
[Galaxy S 5 Android Development (Snapdragon)] andropest:
As a workaround I suggest that you don't shut down the phone. Just activate air plane mode. That is what I would do in this case.

BTW I never shut down my phone. So I don't know if I would have the same problem.
[Galaxy S 5 Android Development (Snapdragon)] Tanjaja:
Never worked with me: SIM card not found. I spent 2 days on this, what a waste of time. Could you please fix this bug?

fyi: I tried EVERYTHING I read online to make the simcard work, deleted profiles, flightmode, reboot, battery out and it, version 14.1, etc. All without success. Today I checked irc. They pointed me back here. :(
[Galaxy S 5 Android Development (Snapdragon)] moonboy2:
Thanks for the workaround! :cool:

I will test it overnight hoping it works well and waiting for a solution with shutting down the phone. ;)
[Galaxy S 5 Android Development (Snapdragon)] TonyTeoTeo:
Hi, Have anyone here installed xposed? It can work with latest firmware, right?
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
Hi folks

I have latest TWRP installed for the kccat6 smG901F. When updating the nightly, in have to manually do that in twrp.

So i select the nightly, and than the latest GAPPS 8.1 file MINI. When that one has done installing TWRP fails to unmount /system.

It just "hangs" there saying unmounting /system and nothing happens.....

How can i solve that? Why does it happen anyway?

Pls help, thank you.

Edit

Fixed somehow

I dunno what I did but all is normal now

Still if someone recognise the prob and can explain how this can occur I'd be pleased to read. Thank you
[Galaxy S 5 Android Development (Snapdragon)] Moto1987:
I think with the battery drain it's the Kernels fault, because i installed kernel auditor and I saw minimum CPU frequency was set on 1700 etc MHz and one core is already mostly over 1500 MHz.
[Galaxy S 5 Android Development (Snapdragon)] andropest:
Just FYI

Phone: G901F

ROM: 15.1-20180709-NIGHTLY-kccat6

SIM still sometimes not available after reboot.
[Galaxy S 5 Android Development (Snapdragon)] moonboy2:
Yesterday I returned my s5+ to lineage 15.1 and put it into flight mode.

All apps & processes were off.

This morning there was a battery loss of 4%.

Ok, it is much fewer than in shutdown mode (about 40%) - but I liked to have a loss free LOS solution for shutdown.

Thanks!

---------- Post added at 11:06 AM ---------- Previous post was at 10:38 AM ----------

Hi Corinna,

lots of thanks for your great work!

Fred
[Galaxy S 5 Android Development (Snapdragon)] rommy667:
[MENTION=6299135]TonyTeoTeo[/MENTION] yes is the answer to your question, at least i had no problems with it when i was on this rom.
[Galaxy S 5 Android Development (Snapdragon)] Moto1987:
Core 1 most time running 300 MHz, core 2 most time running 1574 MHz, core 3 and 4 deactivated most time.

When i activate core 3 an 4, core 1 and core 3 are running most time on 300 MHz but core 2 and 4 are running always on 1574 MHz while the CPU is running between 2% and 25%.

Only solution for the day is für me to deactivate two cores and limit the other cores at maximum 1574 MHz, then I have an good battery life.

While I text this in 5 minutes I lost 7 percent of my battery :confused:
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
I think you screwed up somehow.

Clean install should help I guess

You mess with switch on/off of CPU cores because you THINK they r the cause of your drain but I think you should look beyond that what you see by observing the cores. Ask yourself WHY they do what you see, instead of shut them down.

Maybe by messing in settings you screwed up so bad no one here can give an answer how to repair your phone from slurping power.

I mean ... Come on! A 7%in 5 minutes lost.... You really made a mess .

Format c uhhh.... You should perform a Clean install wipe all partitions first and don't mess with settings you don't know about what they do.

Kernel audieutor is no program for fooling around without knowledge.

Goodluck :cowboy:
[Galaxy S 5 Android Development (Snapdragon)] mxz55:
I did a completely clean flash (even erasing NAND before setting stuff up again) on the day I started using the build 2 revisions back.

Result: some of the issues described here, such as intermittent No-SIM detected, and draining when you turn the phone off with a good power level in it.

It is good as a daily driver (much faster than LOS 14.1; ive "passed" the station of ever feeling like going back, no matter these issues) given that you grab the chance of a non-bugged boot.

Which means to avoid further SIM issues, you will let the phone stay on once it's for a time, not bugged and does detect SIM. No matter what uptime that makes.

Basically, I can always ensure a boot without SIM issues, in the following way:

- Boot up into recovery, wipe Dalvik cache and cache partition. Shut down the phone, don't reboot after ("shut down" reboot type from recovery)

- Take out the battery, wait for 10 seconds and power drain it (this may be unnecesary, just my personal preference/belief) by holding down the power button for 20 secs without battery.

- Put back in the battery, boot up. No SIM issues.

The absence of SIM issues is now just guaranteed for aslong your device is up and running in this session. If you keep the phone on for weeks at a time, taking these resolution steps will not be much of a hassle or make you feel it cannot be a daily driver.

Small note: I also have times where it detects SIM but "No service - providername".. aka a blank reception icon, this may be an issue on my side and tends to resolve after a while or searching/registering for network. Just saying, maybe others have had it too? more than on LOS 14.1 or exclusively now?

Also, my honest opinion; don't get me wrong, I really appreciate the work [MENTION=3419717]cvxda[/MENTION] is putting into this rom to make our phone interesting again, but.. how can this, with these issues threathening the status as a feasible daily driver phone, be even an official LineageOS build? I mean, besides that, she also hasn't posted on this topic again for weeks, not responding to the issues everyone is reporting, not acknownledging or even adding the battery drain into main topic post "known issues". I'd say it can remain a LOS official nightly/build, if there are progress updates on recognizing and attempts to fix the most bothersome bugs that are seen by plenty of users. I really don't hope that there's no further attempts to fix it, maybe she needs to ask some other experienced Android devs to jump in?
[Galaxy S 5 Android Development (Snapdragon)] Moto1987:
I have made an clean install after the upgrade from 14.1 to 15.1 and I have no other apps than before running. Now I activated all cores but the max core speed is locked at 1500 MHz for each core and I have good performance and good battery life till the failure is repaired (others have battery drain too not me alone) and I know what I do I began with the good old Motorola Defy and I am not a noob.

I wanted to share some informations nothing more.
[Galaxy S 5 Android Development (Snapdragon)] TobiPeter:
[MENTION=3419717]cvxda[/MENTION]

First of all, thanks for your great work on this device!

But I have a problem. After I made a clean install, I set up everything and it was fine.

But after a week I updated LOS and the fingerprint reader wasn't working afterwords. :(

Do you know why?

Is there a fix?

And I can't delete fingerprints. :(

But I never had the Missing - SIM - Bug. :D
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
Salem alikum. (Meaning: may peace be upon you)

Switching off cores to avoid battery drain is fighting symptones and not fight the cause of battery drain.

All I said is you fckd up having 7% battery loss in 5 minutes. Everybody will understand that.

So clearly you do not know what you r doing and just because owning some dusty old phone whatever does not make u a pro. But understand me well, I never used the word noob towards you.

It is something you brought in here yourself. You never have and will never read any of those words from me to anyone. I hope you are adult and can handle critics.

My guess is after a clean install you have some altered setting or power consuming app which eats battery. You should investigate that instead of switching on and off CPU cores and fighting windmills which make your phone slowwwwerrrrrrrr and more power consuming.

:cowboy:
[Galaxy S 5 Android Development (Snapdragon)] Krapotke:
This is still a leisure project. Everyone can participate in Github. Of course, it is desirable to fix the issue, but the one must sacrifice his free time.

I started a few attempts for Sim Card issue. If I delete those files before reboot:

/data/dalvik-cache/arm/system@framework@boot-telephony-common...

the sim card is recognized.

Maybe that has something to do with the changes with Dex in Oreo, but possibly I'm wrong:

https://source.android.com/devices/tech/dalvik/configure

Hopefully it helps someone, good luck.

Krapotke
[Galaxy S 5 Android Development (Snapdragon)] tentator:
Hi Guys,

question about modem ROM (also I would wonder if the ones that have the issue about sim not recognized could rather be tied to the modem ROM more than to the LOS from [MENTION=3419717]cvxda[/MENTION] to be honest..):

is the last one available the one linked here: https://www.sammobile.com/firmwares/galaxy-s5/SM-G901F/TNL/download/G901FXXU1CQJ2/197419/ ? (I guess to find the latest one should check the release data and/or the biggest characters in alphabetical order of the PDA, not CSC string, correct? So basically CQJ2 from 28 Nov 2017 is the last available)

Thanks in advance!!

Tent.
[Galaxy S 5 Android Development (Snapdragon)] Not-Aus:
You are right! :good:
[Galaxy S 5 Android Development (Snapdragon)] tentator:
Thank you very much!

Also then I would wonder if [MENTION=8070530]Krapotke[/MENTION] also has this modem version on his mobile?

And I would be curious to understand how came up to this specific file /data/dalvik-cache/arm/system@framework@boot-telephony-common.. as well..

KR,

tent
[Galaxy S 5 Android Development (Snapdragon)] Krapotke:
As I mentioned earlier, I have following modem:

I noticed that Sim is recognized when deleting Dalvic cache only, so I went to dalvic cache folder and tried out which files have influence on the issue after rebooting. So this is just a quicker way to fix the sim card. The problem is probably somewhere else. But I wonder why it plays a role that telephony is already compiled to dex code... Only a guess. I never created / modified a rom.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Thanks, maybe that's a hint for a solution.

Instead of multiple replys to other mails (if it sounds like a rant, it's certainly not directed at you [MENTION=8070530]Krapotke[/MENTION]):

I wrote this more than once: I'm using this device as daily driver myself and sassmann is, too. Should be pretty obvious that we're not happy with this RIL problem, either.

Basically, what happens is that rild calls RIL_init() inside the proprietary Samsung lib libsec-ril.so and sometimes it just doesn't start up correctly with no hint whatsoever to the cause. Rather than returning the expected RADIO_OFF at one point, it never gets to that point and continues to return RADIO_NOT_AVAILABLE. It's not even visible why this was never a problem with the Nougat RIL.

To aggravate the issue, the differences between Oreo and earlier systems disallows to use the former Nougat RIL lib, as well as the even earlier proprietary RIL lib.

You may have noticed that this is a really tricky problem. We're working on that literally for months now and we don't have a solution yet. I'm not going to apologize for that. There isn't more we can do, especially given that we're doing this all in our spare time, not for money (as [MENTION=8070530]Krapotke[/MENTION] kindly outlined above). We didn't give up, but another developer interested in diving into this problem may have a new perspective. We're a bit out of ideas.

If you can't live with that, use stock or RR 5.8.5.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
To clear up potential misconception: CQJ2 is not newer than CQJ1. As a matter of fact, CQJ1 has been release 2 days after CQJ2.

CQJ1 and CQJ2 are the same firmware, just for "different" providers. Actually, all three available CQJ versions are T-Mobile versions: CQJ1 German T-Mobile, CQJ2 Netherlands T-Mobile, CQJ2 Greek Cosmote, a 100% daugher of German T-Mobile.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] moonboy2:
Battery loss

[MENTION=3419717]cvxda[/MENTION]

Hi Corinna, are you working on a solution against the battery loss during shutdown of the S5 / kccat6?

Thanks.