Request: Kernel with FM radio functionality - Xiaomi Mi A1 Questions & Answers

Dear Dev,
Kindly provide custom kernel with FM drivers so that FM Radio could be used on Mi A1.
I installed Spirit FM but it throws error of drivers and kernel required.
Thanks,
Mukesh Mahla

There is FM support already there .Dial *#*#6484#*#* .All it needs is an FM app. Can the mi 5x radio app be ported to A1
Sent from my Mi A1 using Tapatalk

I've tried and failed to find a true FM tuner app on the Play Store and I've tried to side load an LG FM tuner app, but with no success.

please radio app
We want fm radio app for mi a1 !!!!!!1 thanx

To access FM Radio on stock, use the below code..scroll down to the bottom and you will see FM Radio..select that and connect a headset and you will have FM radio ...no app required
Code : *#*#6484#*#*

radio without any app turns off when come back to main screen
The problem is that you cant go back to main screen as the radio turn off.
Is there any way to solve that?
Thanks

Related

No radio app

Hello, i just got my m3 lte today, but i can't find the built-in radio app. Am i missing sthg ?
EDIT : answering to myself, there's no built in fm module in mediapad m3

ZE552KL FM Radiohi

Hi,
I just finished installing lineage 14.1 but am unable to get the FM radio to work. Can someone point me to the app or instructions on his to access the radio?
Thank you

How can I get a FM Radio App for Xiaomi MI A1?

Hello,
I have tried this
Dial *#*#6484#*#* on your Xiaomi Mi A1, and it will open Hardware Test Mode on Your Device,
Now Just Scroll Down to the Bottom and Your will find FMRadio option, Just tap on that, and it will ask to insert earphone, just plug in the earphone and navigate the channels with the backward and forward button appeared on your device.
But this is a temporary method, is there any application for FM Radio available?
Mumbai Tiger said:
But this is a temporary method, is there any application for FM Radio available?
Click to expand...
Click to collapse
This app works. You need to be rooted.
Cheers
It's such a shame Xiaomi are withholding the Kernel as it's slowing down mods
It's work but no such app for using inbuilt radio
Yes we need the kernel source from this device . And personal think that Xiaomi have a problem with the kernel.
(And as always Xiaomi is really late with it)Than maybe we can port the X5 FM app to the A1 . Till now no legally app is available for the a1.
And maby Xiaomi will add the FM radio in the future . Is all to Xiaomi at the moment.
Keep in mind that we are lucky with this buget phone . Xiaomi is hard working on this device . On the 8.0 stable version. And we get enough updates in relative sort of time. Buy a Samsung or other brand and you can wait for weeks and weeks to get a proper update.
Please give Xiaomi a bit of time. I see alot of topics with people shouting about little things.
Spirit2 2015_12_12 it is NOT working on oreo (rooted, of course)
Spirit2 FM 2015_12_22 not working here too (oreo rooted).
ERROR: Tuner API did not start or stop.
This device may need a kernel with a working FM driver.
Have to wait for the kernel source code and a talented developer to make a patch I think.
carmeloamg said:
This device may need a kernel with a working FM driver.[/I]
Have to wait for the kernel source code and a talented developer to make a patch I think.
Click to expand...
Click to collapse
Till then subscribed to this thread.
Nizamani said:
Till then subscribed to this thread.
Click to expand...
Click to collapse
Flash latest Lineage 15.1... it has working radio.

working FM tuner for AOSP (Lineage)?

Hi
Could anyone get a FM radio working under Lineage?
I installed SpiritF and I get:
SpriritF 2015_03_17_beta
ERROR: Tuner API did not start or stop.
This device may need a kernel with a working FM driver.
Click to expand...
Click to collapse
although I set Menu>Set>Service>Audio Plugin to LG2
I also found the original LG G5 radio but it closes on launch...
Should I use another app - which?
Thanks
(H870, NO google, no gapps - only F-Droid, Yalp and XDA Labs)
[BUMP] Can anyone please recommend a FM radio tuner apk that they use else could anyone please upload the apk from the OPEN EU LG-H870 11G ROM?
Thanks a lot!
Hey,
Its not that easy, maybe someone could help me to build this together,
I found so far in /system :
A library for fm services, .. /lib,lib64
Apk for fm services
Apk fm radio...
Dont know exactly in wich way the kernel is involved
All apks and librarys have to be deodexed... Which means that i have to complete pull the whole system deodexing and then make some trys,
I think this app could be installed when the lg framework is some kind of present
Working on stock rom... : Nextradio... In germany i have to download the app via browser as apk
Hi
Thanks @MartinIrrelevant
Would anyone with an H870 with working FM radio mind posting their build.prop from /system please?
Let me explain: I now have a H930DS / lineage 16 - although LG states it comes with FM radio, it would not work on mine and other people's phone; @xda_nz provided me with the solution:
https://forum.xda-developers.com/showpost.php?p=79977031&postcount=1457
basically, someone compared the build.prop of an H930 with working radio with the build.prop of an H930 without working radio and found out that the difference was a line:
HTML:
vendor.bluetooth.soc=cherokee
Adding the line to the non working radio build.prop solved the issue
so maybe it is worth doing the same comparison on an H870 so that I could get FM radio working on the H870 I passed down to my son.
Thanks in advance.
BenG7 said:
Would anyone with an H870 with working FM radio mind posting their build.prop from /system please?
Click to expand...
Click to collapse
Attached.
Build.prop is not a valid file to be uploaded, so I have posted it as build.prop.text.
Hey,
To get FM radio working on Lineage is not easy. The entire rom + kernel needs to be rebuilt with the proper driver for FM to work.
Currently, Lineage (on these LG phones) doesn't use a driver which supports FM radio. So any app or whatever will not have anything to communicate with. It's the same as if the hardware wasn't even there.
askermk2000 said:
Hey,
To get FM radio working on Lineage is not easy. The entire rom + kernel needs to be rebuilt with the proper driver for FM to work.
Currently, Lineage (on these LG phones) doesn't use a driver which supports FM radio. So any app or whatever will not have anything to communicate with. It's the same as if the hardware wasn't even there.
Click to expand...
Click to collapse
@xda_nz: Thanks! So you have an H870 Lineage too, but yours has FM radio working?
@askermk2000: well, when i added the entry in the build.prop of Lineage 16 for my H930DS, that did the trick - no kernel recompiling whatsoever!
[EDIT] @xda_nz: I think you posted the build.prop for the H930DS, without radio enabled:
Code:
ro.product.device=joan
BenG7 said:
@askermk2000: well, when i added the entry in the build.prop of Lineage 16 for my H930DS, that did the trick - no kernel recompiling whatsoever!
Click to expand...
Click to collapse
WOW isn't that brilliant. You go ahead and do that then, on your LG G6. It sure will work nicely, and I sure don't know what the **** I'm talking about
askermk2000 said:
WOW isn't that brilliant. You go ahead and do that then, on your LG G6. It sure will work nicely, and I sure don't know what the **** I'm talking about
Click to expand...
Click to collapse
@askermk2000: I did not mean to be offensive in any way - sorry if you felt I was not considering your reply, sorry also as I did not know who you are; I just found out you worked on an H870 kernel so indeed I would assume you known what you are talking about when it comes to kernels and I understand what you said about recompiling a kernel to include the required module.
What I was just saying is something i could see for myself as a fact: in the Lineage 16 that is currently installed on my H930DS, FM radio was not working:
the FM radio app provided in the Lineage 16 would not work without a headphone (requirement for all such apps) but when I plugged my headphones, i got
"FM operation failed"
Click to expand...
Click to collapse
the stock LG FM radio would just fail on launch
By following @xda_nz instructions, FM radio now plays, with headphones attached of course.
From this, I would deduct the kernel in the Lineage 16 for the H930DS does includes the FM module, unlike the kernel of the current Lineage 16 for H870 and merely adding the line to the build.prop won't do.
BenG7 said:
From this, I would deduct the kernel in the Lineage 16 for the H930DS does includes the FM module, unlike the kernel of the current Lineage 16 for H870 and merely adding the line to the build.prop won't do.
Click to expand...
Click to collapse
Yes, you could say that.
When I wrote "on these LG phones" above, I meant (since this is the G6 forum) these: G5/G6/V20 - since all these are based on msm8996 platform and shares the same Lineage source.
I guess it was construed as meaning all LG phones on LOS.
and I understand what you said about recompiling a kernel to include the required module.
Click to expand...
Click to collapse
It's a bit more complicated than that. Because there is no separate module one can simply enable and compile in. This need an entirely different driver than what is used now, a driver which also controls
bluetooth and gps, in addition to fm radio. It also interfaces with the wifi driver. And there are changes needed in android system, to tell it how to use this driver, which currently there seems to be no standard
way of doing. At least none that anyone has successfully implemented (for this specific platform).
I've been thinking of looking into this as part of my new LOS kernel effort. I need to compile the rom myself with appropriate changes to test it out, though I'm totally new to Rom stuff so it will take a while
to get into.
askermk2000 said:
Yes, you could say that.
When I wrote "on these LG phones" above, I meant (since this is the G6 forum) these: G5/G6/V20 - since all these are based on msm8996 platform and shares the same Lineage source.
I guess it was construed as meaning all LG phones on LOS.
It's a bit more complicated than that. Because there is no separate module one can simply enable and compile in. This need an entirely different driver than what is used now, a driver which also controls
bluetooth and gps, in addition to fm radio. It also interfaces with the wifi driver. And there are changes needed in android system, to tell it how to use this driver, which currently there seems to be no standard
way of doing. At least none that anyone has successfully implemented (for this specific platform).
I've been thinking of looking into this as part of my new LOS kernel effort. I need to compile the rom myself with appropriate changes to test it out, though I'm totally new to Rom stuff so it will take a while
to get into.
Click to expand...
Click to collapse
Hi @askermk2000
Maybe people who developped LOS for H930DS could help you / provide insight?

LineageOS No FM Radio

So i recently installed LineageOS on my Huawei and noticed the lack of an fm radio app, is there a way to add it back?
I followed this tutorial: https://forum.xda-developers.com/t/...i-p9-lite-honor-5c-update-2023-02-26.4272129/

Categories

Resources