Can you plaease port it to Galaxy a3 2017 it has the same CPU and GPU.You can usw Astrakos Device Tree
Can you plaease port it to Galaxy a3 2017 it has the same CPU and GPU.You can usw Astrakos Device Tree
I have had working radio code, i never could get someone to explain the audio routing to get the last step working. But the radio works and i get radio text displaying with it. Without the proper audio routing it will never work. Also Samsung toggles a hidden kernel flag that can be easily exposed through an ioctl to be toggled by the app which is related to digital/analog audio. I have posted the code on github a long time ago if anyone wants to give it a try.
Sorry, I didn't know how to help you there, I would have. Guess it's on you if you really want to get it working.I have had working radio code, i never could get someone to explain the audio routing to get the last step working. But the radio works and i get radio text displaying with it. Without the proper audio routing it will never work. Also Samsung toggles a hidden kernel flag that can be easily exposed through an ioctl to be toggled by the app which is related to digital/analog audio. I have posted the code on github a long time ago if anyone wants to give it a try.
Can you give the link to the repo? I would like to have a look at it.I have had working radio code, i never could get someone to explain the audio routing to get the last step working. But the radio works and i get radio text displaying with it. Without the proper audio routing it will never work. Also Samsung toggles a hidden kernel flag that can be easily exposed through an ioctl to be toggled by the app which is related to digital/analog audio. I have posted the code on github a long time ago if anyone wants to give it a try.
I know, i've also asked other more experienced devs and no one can be bothered to even tell me to bugger off let alone answer my questions.Sorry, I didn't know how to help you there, I would have. Guess it's on you if you really want to get it working.
All that I know is that our audio hal is open source: https://github.com/LineageOS/android_hardware_samsung/tree/lineage-17.1/audio.
https://github.com/draekko/android_packages_apps_FMRadio_silab not sure i still have the ioctl patch to expose the toggle for the kernel function to toggle analog/digital audio function but its not hard to modify the kernel for an extra ioctl call.Can you give the link to the repo? I would like to have a look at it.
while checking the battery optimization list i found out this weird numbered PID. Is this a part of the system or a malware itself.
First of all thank you for your hard work to bring Lineage OS for this phone. I bought a used A5 2017 (dual sim version) last week, and tested with stock ROM, then installed the latest Lineage OS 17.1.
I have only one problem. If I connect a headset to jack connector and use it for Telegram/Duo call, the sound is crackling. I can reproduce the problem: start LOS stock Music app, play some music (the sound is OK), then start Recorder app and record (the sound output is crackling).
It was OK with stock Samsung ROM, and it is OK with LOS + Bluetooth headset.
Has anyone run into the same problem? If yes, then how was it resolved?
Thank you. Unfortunately turning off OK Google Now and disabling mic permission for Google app, didn't solve this problem for me.We have no definite solution for now. But I have described a workaround in FAQ in second post, if that is of any help to you.
https://github.com/draekko/android_packages_apps_FMRadio_silab not sure i still have the ioctl patch to expose the toggle for the kernel function to toggle analog/digital audio function but its not hard to modify the kernel for an extra ioctl call.
Edit: also the code is over 2 years old and probably needs to be update for newer versions of LOS.
Edit 2: If you'r feeling adventurous all the FM radio control code for Samsung is in the Crane.apk if you need to deep dive, their FM app is mostly just a UI frontend and does nothing special. All the magic is in the Crane.apk
Edit 3: that's where i found the reference for the extra hidden kernel io call to toggle the audio between digital/analog
Yes, the workaround didn't work for me either. At the moment this is the most annoying bug of lineageos on this phone for me.Thank you. Unfortunately turning off OK Google Now and disabling mic permission for Google app, didn't solve this problem for me.
What did you change to the device/kernel/vendor to get it compiling? Is there a patch or new code trees i can tinker with?Heads up! LineageOS 18.1 preview builds are now up in the third post of this thread.
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/