• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

FM radio service

Scheduled Pinned Locked Moved OS
fm-radio
30 Posts 9 Posters 6.4k Views 5 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K Offline
      Kaizen
      last edited by 8 Dec 2021, 16:34

      Hey, do you think you would be able to include your post under Links and docs? That way, you get traffic from a relevant place

      Here
      https://devices.ubuntu-touch.io/device/violet/developer/

      1 Reply Last reply Reply Quote 1
      • K Offline
        kugiigi @mardy
        last edited by 8 Dec 2021, 18:50

        @mardy This is awesome. I also already gave up on this since it seems to be technically challenging and FM radio is now a niche. Do you think this could work on different devices with fm radio?
        Last I read, every device has its own implementation.

        M 1 Reply Last reply 8 Dec 2021, 20:09 Reply Quote 0
        • M Offline
          mardy @Guest
          last edited by 8 Dec 2021, 20:05

          @dpitti said in FM radio service:

          @mardy Hi would you please give me the configuration of the Note7? I am not so lucky with the Xiaomi Redmi Note 9.

          What exactly do you mean by "configuration"? I think that the blog post has all the links, but you are welcome to ask.

          What's the output of getprop vendor.bluetooth.soc in your phone?

          ? D 3 Replies Last reply 8 Dec 2021, 20:52 Reply Quote 0
          • M Offline
            mardy @kugiigi
            last edited by 8 Dec 2021, 20:09

            @kugiigi said in FM radio service:

            @mardy This is awesome. I also already gave up on this since it seems to be technically challenging and FM radio is now a niche. Do you think this could work on different devices with fm radio?
            Last I read, every device has its own implementation.

            Yes, you are correct, but some devices have the same chip. There are more details in the blog post, but in short, I believe that all Snapdragon-based devices should either work out of the box, or be supported with some work.

            1 Reply Last reply Reply Quote 1
            • ? Offline
              A Former User @mardy
              last edited by 8 Dec 2021, 20:52

              This post is deleted!
              ? 1 Reply Last reply 8 Dec 2021, 20:55 Reply Quote 0
              • ? Offline
                A Former User @Guest
                last edited by A Former User 12 Aug 2021, 20:58 8 Dec 2021, 20:55

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • ? Offline
                  A Former User @mardy
                  last edited by A Former User 12 Aug 2021, 21:15 8 Dec 2021, 21:00

                  This post is deleted!
                  N 1 Reply Last reply 8 Dec 2021, 22:43 Reply Quote 0
                  • N Offline
                    nero355 @Guest
                    last edited by 8 Dec 2021, 22:43

                    @dpitti
                    Please make smaller screenhosts or simply use code tags for such stuff :

                    #Your code here
                    Or here! :)
                    

                    My phones :

                    • BQ Aquaris E5 HD Ubuntu Phone Edition - Ubuntu Touch 16.04 LTS
                    • ZUK Z2 Pro - ZUI Android 8.x
                    • Xiaomi Mi 9T - Jolla SailFish 3.4.x Community Build

                    P.S. : I am NOT a developer! ;)

                    ? 1 Reply Last reply 9 Dec 2021, 11:35 Reply Quote 0
                    • ? Offline
                      A Former User @nero355
                      last edited by A Former User 12 Sept 2021, 11:39 9 Dec 2021, 11:35

                      @nero355 I would like to apologize for the photo that is a little too large. If my smartphone hadn't been messing around like that, things would have turned out differently. Let's see if I can get these photos even smaller with the PC.

                      Hello as you see in the picture no output. But the funny thing about the thing is that their commands only sound the microphone instead of the radio on Merlin. But it's the right direction. An MTK chip is built in, so much we already know. And also the kernel crash is no more. At least that's how it is with me on the Merlin. Thanks for your work.

                      What does FM radio mean, is it a niche product? Unfortunately for many smartphone owners there is no other alternative to listening to the radio when you are on the go and have no internet. Unfortunately there is no successor to the LG Stylus 2 that Dab + and FM had. I think it's good what the blogger @mardy has done. Maybe you can somehow get the radio to work at the Merlin.

                      Bildschirmfoto zu 2021-12-09 12-36-05.png

                      Bildschirmfoto zu 2021-12-09 12-36-33.png

                      M N 2 Replies Last reply 9 Dec 2021, 16:29 Reply Quote 1
                      • M Offline
                        mardy @Guest
                        last edited by 9 Dec 2021, 16:29

                        @dpitti said in FM radio service:

                        What does FM radio mean, is it a niche product? Unfortunately for many smartphone owners there is no other alternative to listening to the radio when you are on the go and have no internet. Unfortunately there is no successor to the LG Stylus 2 that Dab + and FM had. I think it's good what the blogger @mardy has done. Maybe you can somehow get the radio to work at the Merlin.

                        Can you please paste the output from this command?

                        ls -l /dev/radio* /dev/fm*
                        

                        If you get something, there's hope it will eventually be supported 🙂

                        D ? F 3 Replies Last reply 9 Dec 2021, 16:54 Reply Quote -1
                        • D Offline
                          domubpkm @mardy
                          last edited by 9 Dec 2021, 16:54

                          @mardy Volla OTA-20
                          screenshot20211209_175013546.png

                          1 Reply Last reply Reply Quote 0
                          • ? Offline
                            A Former User @mardy
                            last edited by A Former User 12 Sept 2021, 19:42 9 Dec 2021, 18:43

                            @mardy Xiaomi Redmi Note 9 Merlin OTA 20

                            Bildschirmfoto zu 2021-12-09 19-42-50.png

                            I have an FM app myself to test it, there comes something with Com from time to time in the log. I thank you for your help anyway. In the Xiaomi Group, I made people aware of their blog. Let's see if there might still be radio at some point. Even if you say there should be something in the terminal. Wait until Focal has been ported, better kernel and so I guess.

                            1 Reply Last reply Reply Quote 0
                            • N Offline
                              nero355 @Guest
                              last edited by 9 Dec 2021, 19:34

                              @dpitti said in FM radio service:

                              @nero355 I would like to apologize for the photo that is a little too large.

                              It's not a big deal but it's just soo annoying to see any of my monitors suddenly downgraded to one of those old 14 inch CRT monitors with 640x480 resolution! 😉

                              We have a Terminal app which you can use to copy->paste stuff.
                              You can do the same via ADB and a PC or Laptop while your phone is connected via your USB cable.

                              Let's not waste screenspace together! 😉

                              My phones :

                              • BQ Aquaris E5 HD Ubuntu Phone Edition - Ubuntu Touch 16.04 LTS
                              • ZUK Z2 Pro - ZUI Android 8.x
                              • Xiaomi Mi 9T - Jolla SailFish 3.4.x Community Build

                              P.S. : I am NOT a developer! ;)

                              ? 1 Reply Last reply 9 Dec 2021, 19:47 Reply Quote 0
                              • ? Offline
                                A Former User @nero355
                                last edited by 9 Dec 2021, 19:47

                                @nero355 Sorry, I'm not a professional with UT yet. Ok, that's good about the Adb and the PC. I still need help with that too. But I understand your objections 🙂

                                1 Reply Last reply Reply Quote 1
                                • F Offline
                                  Fuseteam @mardy
                                  last edited by Fuseteam 12 Sept 2021, 20:20 9 Dec 2021, 20:18

                                  @mardy hi, so /dev/fm does exist on the redmi note 9 (merlin) and the redmi 9(lancelot) just like on the vollaphone, however the volla fm radio app crashes the phone whenever the radio is started.

                                  according notkit the crash occurs somewhere in here: https://github.com/MiCode/MTK_kernel_modules/blob/lancelot-q-oss/connectivity/fmradio/core/fm_main.c#L242
                                  no idea why at the moment

                                  @dpitti hear has been tweaking the volla fm radio app to find a way to have it not crash over at https://github.com/1978Enrico/fmradio-volla

                                  it should be noted that the both merlin and lancelot have a shotwave antenna, i am somewhat hoping to build a check somewhere that the app doesn't prompt for the headset. but perhaps this could be a part of the radio service checks, whether an antenna is available, headset or shortwave.
                                  on merlin and lancelot the presence of a shortwave antenna can be queried with getprop ro.vendor.mtk_fm_short_antenna_support

                                  ? 1 Reply Last reply 10 Dec 2021, 08:44 Reply Quote 0
                                  • ? Offline
                                    A Former User @Fuseteam
                                    last edited by A Former User 12 Oct 2021, 08:52 10 Dec 2021, 08:44

                                    @fuseteam Good morning, or could it be that we see the WiFi antenna instead of the FM antenna? Just as a question because in most cases the headset is used as an FM antenna. If the internal antenna will only bring something close to the transmission mast either way. In the rural region you always have to use a headset or an antenna with a 3.5 MM jack connection.

                                    Bildschirmfoto zu 2021-12-10 09-38-32.png

                                    Bildschirmfoto zu 2021-12-10 09-50-20.png!

                                    F 1 Reply Last reply 10 Dec 2021, 12:51 Reply Quote 0
                                    • F Offline
                                      Fuseteam @Guest
                                      last edited by 10 Dec 2021, 12:51

                                      @dpitti hi, no it is really the fm radio antenna. i have no idea what they did physically but the redmi 9 and redmi note 9 do not need the headset to act like an antenna at all. in cases where does not have that antenna that command returns either nothing or 0 i'd imagine

                                      ? 1 Reply Last reply 10 Dec 2021, 14:46 Reply Quote 0
                                      • ? Offline
                                        A Former User @Fuseteam
                                        last edited by 10 Dec 2021, 14:46

                                        @fuseteam Thanks for the clarification 🙂

                                        1 Reply Last reply Reply Quote 0
                                        • 17 days later
                                        • ? Offline
                                          A Former User @mardy
                                          last edited by 27 Dec 2021, 15:29

                                          @mardy can you please tell me which app has to be used on Android for the logs of the radio app? Many many thanks. I went back to Android 10 especially to get the logs. But I have no idea whether a log is the right one. Sent the @Fuseteam.

                                          M 1 Reply Last reply 13 Jan 2022, 17:47 Reply Quote 0
                                          • 17 days later
                                          • M Offline
                                            mardy @Guest
                                            last edited by 13 Jan 2022, 17:47

                                            @dpitti sorry for the late reply, I missed your message. 😞

                                            If you install the official MIUI, you'll find a sub-group of apps (unfortunately I don't remember the group name, but IIRC there are only 3 or 4 groups, so it won't take long to find it) which contains the FM radio app. It's preinstalled, you shouldn't need to download anything.

                                            ? 1 Reply Last reply 14 Jan 2022, 14:55 Reply Quote 0
                                            13 out of 30
                                            • First post
                                              13/30
                                              Last post