yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Android Development (Snapdragon)] derlechhauser:
Hi Corinna, hi all,

regarding my music issue I just want to summarize my findings and let you know the current status. 1st of all what Corinna wrote

•	Open "Settings" -> "Battery".

•	Open the three-dot menu in the top right corner. Choose "Battery optimisation".

•	Switch view from "Not optimised" to "All apps".

•	Scroll down until you find the "Music" app or your 3rd-party app.

•	Change app setting from "Opimise battery use" to "Don't optimise". Press "Done".

Is the most important. You really need to do this. Since for me it didn’t help I bought a new battery and with this it is not solved but music now just stops occasionally. I read a lot about this and it has to do with Samsung power management but I really don’t understand why a lot of people with the Galaxy S7 and stock Android 8.0 have issues with this. So, if anybody of you has an Idea what else to try please let me know. Besides this the only issue I noticed with 8.1 is, If you turn off the phone overnight it loses ~40% battery. If you take out the battery when it is off it is fine. If you leave it on it loses ~4-5 percent what is great. That’s all and besides this it is working great!!!

[MENTION=633777]Corinna[/MENTION]: With your last rom you wrote “OTA is working” How can I do this? I don’t find it in the settings…

@ Néocray: Thx a lot for the links from the latest bootloader and modem.

Have a nice weekend,

Stefan
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Huh, I had the same problem. I was absolutely sure I had OTA activated in the build. I checked the RR repos for any changes necessary to make it work, everything I could think of... but the darn "Updates" setting wasn't available.

:confused: :confused: :confused:

Until I noticed that the RR-specific "Configurations" settings comes in three different flavours: Marshmellow, Nougat, and Oreo, and then found that "Updates" are only available under Settings -> Configurations -> Miscellaneous" if you switch to the Oreo layout...

If you use the N or MM layout, no more "Updates" settings :p. Which was exactly what I did earlier on (switching to MM layout) since the Oreo layout is a confusing waste of display space, IMHO.

Switching the "Configurations" layout is easily done by using the arrows in the top right corner.

Note that OTA is only available after switching to the latest build. The previous builds don't have this configured at all!

Corinna
[Galaxy S 5 Android Development (Snapdragon)] derlechhauser:
Found it !!!

Thnaks so much for everything!!!
[Galaxy S 5 Android Development (Snapdragon)] 10thDmenxn:
Are these working on a S5 LTE-A G906S? I am trying to restore my G906S, and can't seem to find an updated Modem/bootloader download for it, so I can flash this rom. I've not paid this device any attention for a long time, so I'm a little out of practice for updating it. Thanks for any information you can give to help me make sure I have the proper base in place to flash this rom.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
No, you can't use kccat6 firmware on lentislte. You can't even interchange G906S, G906K and G906L firmware freely between those three devices, albeit they only differ by original provider.

You can find CPL1 firmware for G906S at SamMobile.com. For the URLs see the flashing guide at https://xdaforums.com/showpost.php?p=70452245&postcount=2

Corinna
[Galaxy S 5 Android Development (Snapdragon)] Néocray:
[MENTION=3419717]cvxda[/MENTION] : To find the OTA section, I had to switch to MM layout and then back to Oreo. Because the default layout on my device was the Nougat One and it was not possible to use the Oreo layout without switching to MM first.

You're welcome. You can also use the "thanks" button. ;)
[Galaxy S 5 Android Development (Snapdragon)] 10thDmenxn:
I didn't state my question very well. I see how it looks like I was talking about the kccat6 firmware, as I was replying to that post. But I just meant how to get the cpl1 firmware, which you answered. And thanks for the download links for firmware CPL1.

Everything seems so alien to me on this S5 right now, as I haven't used it in a very long time. So I put a sd card in this phone, and formatted it. The phone reads the card in settings, but will not write to it for Titanium Backup. Also, when I connect my S5 to my pc, it makes the noise that it connected, but does NOT show up in This pc. I looked in dev options, and checked usb debugging. But still it does NOT show up. My S7E shows up fine, so I'm not sure what the deal is. Any help is appreciated, as I feel like a noob again with this older phone. I am very much out of practice with this device.
[Galaxy S 5 Android Development (Snapdragon)] 10thDmenxn:
NM.

Cheers!
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Did you really read the guidelines

carefully

? The file you download from sammobile is zipped. You have to unzip it to a single tar file, then extract the FW files from that tar file.

With heimdall, you can just flash the required FW files now, with odin you have to repack the required FW files into a new tar.md5 file and give that to odin. It's all in the guidelines. It's not really complicated.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] 10thDmenxn:
Yeah, sorry. Already got it done, was slow to come correct my mistake on here. Thanks for you help.
[Galaxy S 5 Android Development (Snapdragon)] 10thDmenxn:
UPDATE: I did have one last question, however. Which Gapps version should we use with this rom, as there are several versions of gapps. On the OP it says under version Oreo 8.1, so I loaded the latest Oreo 8.1 gapps, but it is FC all the time. Mostly it's google play services continually stopping, and giving message every two seconds. I included a pic below. Thanks!

UPDATE: I went back and downloaded a forth time, and chose aroma. I left out all vr things, but still FC google apps all the time.
[Galaxy S 5 Android Development (Snapdragon)] 10thDmenxn:
Oh screw it!!!! I don't know why I thought maybe I could stomach it. But I freakin hate ASOP roms. I gave it a shot. But they are just horrible roms. I'd rather have stock android 6, than asop android 8.1. So the hell with it. I'm out.
[Galaxy S 5 Android Development (Snapdragon)] swiftbones74:
Beat it!!
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
Like we would miss somebody leaving frustrated just because he can't lurk a ready made perfect ROM and therefor leaving screaming swearing like some spoiled brad.

Who cares about what you wrote/think/want/dislike

There is nothing in your message that would make the world a better place besides your wining and complaining ....
[Galaxy S 5 Android Development (Snapdragon)] swiftbones74:
Yeah saw that yesterday morning before coffee..... Some peoples children :eek:
[Galaxy S 5 Android Development (Snapdragon)] Minebot.:
Why there is no update for kltechnduo, there are only some old ROMs for my device. Could you please build the latest version of the ROM for kltechnduo.I have been looking forward to eating Oreos for a long time.

Thanks.
[Galaxy S 5 Android Development (Snapdragon)] Néocray:
Dude, if you have ended up here, you definitely should have learn to use Google (or any other search engine) by now.

Protip: try finding the official Lineage download page for your device in the first page of results.
[Galaxy S 5 Android Development (Snapdragon)] maanteel:
Hi, I am using MHL to HDMI. With stock 6 video and audio is working on TV. But with RR build 16.06. video is displayed, but audio plays on S5.

Where is/is there an button in RR to switch audio output from S5 speaker to MHL-HDMI cable?

Thanks :)
[Galaxy S 5 Android Development (Snapdragon)] Bagwahn:
Hi,

the last days i had a issue with my SIM Card.

I did a dirty flash with the new ROM RR-O-v6.1.0-20180616 and it worked i think for min. 3 weeks.

Yesterday suddenly over night my S5 did no more recognize the SIM.

No Sim :confused:

First i thought my SIM Card Reader is broken but then

I tried a reflash, it worked for one time, after reboot it was the same ... No SIM :confused:

Now i installed my backup with the latest version RR-N-v5.8.5-20180413-kccat6-Unofficial.zip and all is OK.

Did somebody has the same problems like me ?

Is this a known issue ?

Any idea

Greetings.
[Galaxy S 5 Android Development (Snapdragon)] sanj00k:
thats a known issue, you dont need to flash it every time, just reboot it until it works
[Galaxy S 5 Android Development (Snapdragon)] Néocray:
Since a couple days, there is an "Android System WebView" error popping every 2 minutes or so.

Any idea of what is going on?
[Galaxy S 5 Android Development (Snapdragon)] mkgrage:
Hi, I would compile your lineage 15.1 kernel, using toolchain arm-linux-androideabi-4.9, but shows error like below:

make apq8084_sec_lentislte_skt_defconfig

HOSTCC scripts/basic/fixdep

HOSTCC scripts/kconfig/conf.o

SHIPPED scripts/kconfig/zconf.tab.c

SHIPPED scripts/kconfig/zconf.lex.c

SHIPPED scripts/kconfig/zconf.hash.c

HOSTCC scripts/kconfig/zconf.tab.o

HOSTLD scripts/kconfig/conf

arch/arm/configs/apq8084_sec_lentislte_skt_defconfig:112:warning: override: reassigning to symbol LEDS_MAX77828

KCONFIG_SELINUX((null))

KCONFIG_LOG_SELINUX((null))

KCONFIG_TIMA((null))

KCONFIG_DMVERITY((null))

KCONFIG_VARIANT((null))

***

*** You must specify VARIANT_DEFCONFIG !

***

/home/kernel/scripts/kconfig/Makefile:130: recipe for target 'apq8084_sec_lentislte_skt_defconfig' failed

make[1]: *** [apq8084_sec_lentislte_skt_defconfig] Error 1

Makefile:514: recipe for target 'apq8084_sec_lentislte_skt_defconfig' failed

make: *** [apq8084_sec_lentislte_skt_defconfig] Error 2

Any suggest to resolve those problem?

Thank you
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
I'm usually never building the kernel standalone, only as part of a bootimage build. But you can try this:

$ make ARCH=arm CROSS_COMPILE=arm-linux-androideabi- apq8084_sec_defconfig \
VARIANT_DEFCONFIG=apq8084_sec_lentislte_skt_defconfig \
SELINUX_DEFCONFIG=selinux_defconfig
$ make ARCH=arm CROSS_COMPILE=arm-linux-androideabi- -j

Corinna
[Galaxy S 5 Android Development (Snapdragon)] sunirmalya:
i just wipe the cache, reboot and it's ok for a week or two

---------- Post added at 07:54 AM ---------- Previous post was at 07:52 AM ----------

wipe the cache, reboot and ok for a week or two
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Resurrection Remix 6.1.0 20180711

I made new Resurrection Remix 6.1.0 builds available for kccat and lentislte.

Changes from 20180711:

Update to security level 2018-07-05.

Latest RR updates.

Fix a RenderScript failure.

Kernel component updates to improve system behaviour: futexes, adsprpc, interactive governor, cpufreq stats, uid sys stats.

Smaller under-the-hood changes (not user visible).

Have fun,

Corinna
[Galaxy S 5 Android Development (Snapdragon)] mkgrage:
Hi Corinna, thank you for all of your hard work, for two days its more stable than previous one.

Btw, is it possible using this rom and flash original boot image from stock rom (which is MM as latest one)? It become my curiousity.

Thanks.
[Galaxy S 5 Android Development (Snapdragon)] tentator:
Hi,

which cache to wipe?

which modem version are you guys using?

did the issue got fixed in last build from Corinna of the 11th July?

KR,

Tent:wq
[Galaxy S 5 Android Development (Snapdragon)] sunirmalya:
go into recovery twrp - advanced - wipe cache

RR-O-v6.1.0-20180711-lentislte-Unofficial.zip

not sure i have only had it in 1 day - no problems yet
[Galaxy S 5 Android Development (Snapdragon)] tentator:
thanks!

ok let's see and hope the no sim card error got fixed.. [MENTION=3419717]cvxda[/MENTION]: can you confirm something in the OS/kernel could have fixed it in your last build?

but actually what I wanted to ask is which "modem ROM" you are using? like this: "G901FXXU1CQJ2_G901FTNL1CQJ1_TNL"? (should be last one I hope..) because my reasoning was that a "no sim" error looks more like related to Modem than OS..

KR,

Tent
[Galaxy S 5 Android Development (Snapdragon)] sunirmalya:
G906SKSU1CPI1 ?? but i dont think you are right cos it just started happening after oreo for me and wiping the cache was the workaround that worked straight away. To me, if it was a hardware error it would be broken for good but let me know how you go
[Galaxy S 5 Android Development (Snapdragon)] tentator:
Ah I see, you have a G906S S5 LTA-a! because I have a G901F one.. who knows maybe it's that the reason that some experience the no sim card and others not??

Anyway I'm going to flash it later and will let you know.
[Galaxy S 5 Android Development (Snapdragon)] andreoide:
Wrong post. Removed. Sorry.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
No. It still occurs occassionally on boot. In my case it depends a lot on the device. Of my 3 kccat6 and 1 lentislte it occurs rather often on only one kccat6. On one kccat6 and the lentislte it occurs only once in a while, and it basically occurs never on the other kccat6. The lentis has CPL2, all kccat6 CQJ1 firmware.

This is very unlikely to be a kernel problem. See my comment on the Lineage thread describing what happens:

https://xdaforums.com/showpost.php?p=77065535&postcount=1621

Corinna
[Galaxy S 5 Android Development (Snapdragon)] sunirmalya:
i have the problem after 4 days with the latest ROM

---------- Post added at 11:05 PM ---------- Previous post was at 11:01 PM ----------

Wiped cache, reboot all ok
[Galaxy S 5 Android Development (Snapdragon)] xMandy:
[MENTION=3419717]cvxda[/MENTION] thx again for this rom! :)

I have RR-6.1.0-0711 now runing for a couple of days. All fine, fast and nice (beside the sometimes-no-SIM-thing).

But two things are missing/not working:

1. magisk hide is not working properly. It passes the safetynet-test with "true" but my mobile banking app will not start... Any ideas?

2. I'm missing omniswitch, to which I get used since RR.5.8.5. Is it somewhere hidden or is it not available any more? The setting-page also changed - or is this a thing from substratum and I should re-install that stuff?

Any hints are wellcome if someone knows how to get it working.

thx :fingers-crossed:
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Did you try any other Magisk feature like Core-only mode or hiding Magisk Manager? Apart from that you may want to raise the issue on the XDA Magisk forum. This is hardly device-specific.

I think Omniswitch was a OmniROM thingy. But either way, it's not part of RR anymore. Only "Slim Recents" is still available, afaics.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] xMandy:
Tried all functions and settings, even some modules. It's the "hvb-banking"-app that will not work. The last time (RR-5.8.5) magisk hide did the trick.

what a pity, I liked the combination of recent apps and settings in one hand. Thanks anyhow.

btw, there's a new version of twrp (3.2.2), shall we update?

greetings to all kccat6-users ;)
[Galaxy S 5 Android Development (Snapdragon)] mkgrage:
Hi Corinna [MENTION=3419717]cvxda[/MENTION],

I just try patching Lineage OS 15.1 kernel using android keyboard HID patch (https://github.com/pelya/android-ke...-soc/samsung___apq8084______kernel_3.10.patch), using toolchain 4.9.

Patching process itself resulting success.

When i try compile (make), everything going smooth except one file (f_hid.c) which showing error:

drivers/usb/gadget/f_hid.c: In function 'f_hidg_read':

drivers/usb/gadget/f_hid.c:269:4: error: implicit declaration of function 'free_ep_req' [-Werror=implicit-function-declaration]

free_ep_req(hidg->out_ep, req);

^

cc1: some warnings being treated as errors

scripts/Makefile.build:308: recipe for target 'drivers/usb/gadget/f_hid.o' failed

make[3]: *** [drivers/usb/gadget/f_hid.o] Error 1

scripts/Makefile.build:455: recipe for target 'drivers/usb/gadget' failed

make[2]: *** [drivers/usb/gadget] Error 2

scripts/Makefile.build:455: recipe for target 'drivers/usb' failed

make[1]: *** [drivers/usb] Error 2

Makefile:818: recipe for target 'drivers' failed

make: *** [drivers] Error 2

I know it show improper declaration of one function inside f.hid.c file after patching process, but I cant configure how to change to proper way (as Im noob on C)....

Do you have any suggestion regarding above matters? (like edit f_hid.c file itself or edit patch file)

Thank you so much...:D:D
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
You can, you don't have to.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Probably some header missing.
[Galaxy S 5 Android Development (Snapdragon)] mkgrage:
Could you suggest me how to fix this?
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Look for the header defining the function and include it in the affected C file.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] mkgrage:
Okay thanks. Its because a patch for f_hid.c kernel regarding prevent access releasing memory patch. I need to remove those patch from your kernel to make HID patch works well, though I didnt realize what is the future effect by removing prevent access memory patch.

Have a nice day...:D
[Galaxy S 5 Android Development (Snapdragon)] DienoX:
Could you share the kernel with the patch?
[Galaxy S 5 Android Development (Snapdragon)] mkgrage:
Very sure...but I'm still outside now, btw do you have a same device like me?
[Galaxy S 5 Android Development (Snapdragon)] DienoX:
I have G901F. I used to try to compile Kernel with that patch but I had the same problem as you. And then I gave up because it was too difficult for them.
[Galaxy S 5 Android Development (Snapdragon)] mkgrage:
I sent you a pm regarding the file, hope it will not intrude this thread as Corinna still have a big masterpiece for our device.

Let me know whether it works or not.
[Galaxy S 5 Android Development (Snapdragon)] xMandy:
[MENTION=3419717]cvxda[/MENTION] I know it is hot... But, by any chance, is there a way to get a new update before weekend? :confused:

In the LOS-updates the last weeks were many changes that affects our g901f - so if it is not asked too much... :D

And again, thx for your work!
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Bad timing. My build machine broke hard end of last week. The temporary replacement is a pretty undersized machine which needs ages to build a full Android. If all goes well, the final replacement should be ready this weekend. Problem: The vendor delivered the wrong DIMMs :p I'm still waiting for a reply from them and the right DIMMs. Knock on wood...

Apart from that, the August ASB should be published pretty much now. Wouldn't you want at least the kernel patches?

Corinna
[Galaxy S 5 Android Development (Snapdragon)] xMandy:
So I have to wait. No matter. I was thinking about a clean install during this weekend because I was playing and testing with some launchers to get back omniswitch functions... And somehow now something is :silly:

Good luck with your new engine/machine!

news: I just installed OmniSwitch (https://xdaforums.com/android/apps-games/app-omniswitch-oreo-t3750499) with the corresponding magisk module and it works great!
[Galaxy S 5 Android Development (Snapdragon)] derlechhauser:
Hi Oswald,

welcome to this threat. You are right, the ROM is really working great. Ping times are a little bit faster, GPS fix is super fast and the brightness sensor is working way better than with previous Android versions. The only issue i have and also a lot of other people are reporting on Corinnas Lineage threat, is the battery drain if the phine is off. e.g. 49%, turned phone off for 2 hours, then 36%.. Maybe you can test if you have this too and i hope it will get fixed one day. Besides this i hope Corinna is building ROMS for this phone for a long time :):):)

Cheers,

Stefan
[Galaxy S 5 Android Development (Snapdragon)] aelfinn:
*thread
[Galaxy S 5 Android Development (Snapdragon)] Oswald Boelcke:
Stefan, thanks for the warm welcome; however, unable to proceed as requested as I've already changed to the Official LOS (setup procedure as explained in my post above). Reason is pretty simple: Currently RR cannot become my daily driver as I had no ringtones or sound when playing songs. I apologise that I couldn't dig deeper into this issue and didn't record a logcat but a from my perspective usable device is of utmost importance to me. Issue didn't occur on stock Sammy or currently on LOS i.e. at least no hardware failure.

If possible I'm occasionally going to flash RR again and will test whatever is necessary.
[Galaxy S 5 Android Development (Snapdragon)] derlechhauser:
Hi Oswald,

no problem. I think you can also test with LOS. It should be the same. As Corinna said once “RR is LOS with sugar on top”. If you are looking for an RR build as daily driver I can warmly recommend RR-N-v5.8.5-20180413-kccat6-Unofficial.zip from Corinnas download page. I know it is based on Android 7.1 and security patch is from April but I had it running very smooth without issues for months.

Cheers,

Stefan
[Galaxy S 5 Android Development (Snapdragon)] Oswald Boelcke:
@derlechhauser: Stefan, thanks for the advice but first allow me a little hint, maybe related to the fact that you haven't posted on XDA too often yet while already being a member for more than a year. Unless you want to quote it's benefial to at least "mention" somebody you address. This way, the other one will receive a notification and becomes aware about that post.

There are two ways to "mention" pending on the browser used.

As described here i.e. with user ID and name.

Or @ and copy paste the username (with the embedded link) immediately after the @ as I did above at the beginning.

And RR-N-v5.8.5 is not only plan B if Oreo doesn't convince me really. Using currently RR-N-v5.8.5 by @rodman01 on all of our i9305 since it was released and actually it's not only the very best RR version but the very best ROM I've experienced so far. Actually, I don't mind very much about the "latest" security patches as I've implemented a lot of privacy feature, don't maintain any confidential information or really private data of pictures on the device, don't use the device for banking or payments (i.e. don't require a postive SafetyNet check), very "carefully" surf the web, only install apps after thorough investigation (as mentioned in my "security thread") etc. etc.

To be honest I haven't recognised an advantage of Oreo over Nougat yet; however, I still give Oreo a few more days. My main concern is that I haven't found a custom kernel yet for the G901F with Oreo but I believe to have found one for Nougat when I first searched the GSG5 forum for a suitable ROM a few days ago.
[Galaxy S 5 Android Development (Snapdragon)] derlechhauser:
[MENTION=7408621]Oswald Boelcke[/MENTION]: thx for the tips. I hope I did it right this time. I am thinking of going back to RR-N-v5.8.5 since I don’t see big benefits of Android 8 and RR-N-v5.8.5 was running so smooth. If you know a good Kernel for g901f RR-N-v5.8.5 please let me know.

Cheers,

Stefan
[Galaxy S 5 Android Development (Snapdragon)] Oswald Boelcke:
@derlechhauser: Well done, Stefan.:good: If I recognise any sutiable kernel I'll certainly let you know.

Decided to give RR-O another try and flashed RR and Magisk v16.7 beta minutes ago. Haven't proceeded any further yet but at least looks promising. Baseband is available and I hear ringtones and music i.e. for whatever reason far than the last time. My wife is currently hospitalised, I hate and can't stand temperatures above 25°C i.e. setting up a device while watching sports is the best I can do.:D
[Galaxy S 5 Android Development (Snapdragon)] derlechhauser:
[MENTION=7408621]Oswald Boelcke[/MENTION]: Thx a lot for your very detailed summary of what you did and what your problems are. I also went back to RR-N-v5.8.5-20180413-kccat6-Unofficial. I like Oreo a lot and I really like Corinnas RR-O-v6.1.0 Rom but if you need to use the phone as daily driver RR-N-v5.8.5 is for me the way to go. Therefore I want to ask Corinna:
[MENTION=633777]Corinna[/MENTION]: Since I don’t think it is just Oswald and me running the latest RR-N-v5.8.5 Rom available, would it be possible for you to release an update with the latest security patches? Believe me I want to upgrade to Oreo but specially the battery drainage when the phone is off makes it impossible for me.

Thx a lot,

Stefan