FM Radio not working on /e/ OS?

Hey, so this is just my 2 cents on the FM Radio issue:

You require a proprietary MediaTek Java Native Interface (JNI) in order to actually connect/interact with the FM radio hardware, and that does not automatically “register” on AOSP which is what /e/ and Lineage use as its base. These can be manually added to AOSP, and what we did internally was to remove such classes that were of no use, but then the entire registration functionality didn’t work at all.
On the unified firmware (11.0.0-11.0.2 for zirconia) we faced the same issue, but then we ported over the interfaces and libraries required successfully, and STILL did not get FM radio working. Turns out, MediaTek requires a few routing quirks to the audio output devices and we didn’t have those hooks.
We then used this patchset https://review.lineageos.org/q/topic:eleven-mtk-fm and got it working on unified. This, in the same way, will be shimmed out and ported to AOSP very soon.

About @ecs 's question, yes you can root with the boot image method.

2 Likes

I just posted the steps I used to root my Murena Teracube 2e (1st batch). If you decide to give the instructions a try with the 2nd batch phone, let me know if it works, or if you need any help.

1 Like

I will give this a try. I will first see if I get a response in another thread, asking if it has been done already

1 Like

I am also missing a lot FM radio! Internet radio disconnects all the time, my browser eventually stops the music, it drains a lot of battery… And on the other hand FM is so simple and lightweight! It’s a lot more resilient and ecological, and local!

Please keep up your efforts on this :smiley:

Btw @Gagan , is there any progress or blocker on this? What does “very soon” mean? Thanks!

1 Like

Hi! It’s been a couple of updates more, is anybody working on FM Radio? I am really missing this feature. Looking for the equivalent online radio is slow and buggy, and consumes so much more energy…
Just to know if I should keep some hope for this or assume we won’t have it :confused:

1 Like

I’ll check internally. Expect a reply here in 2 weeks’ time (primarily due to holidays).

1 Like

cat

any updates?

1 Like

tumblr_n0anroY2bA1rdu90go3_500

I’m using one of these. I wish I could also use my Teracube for that :confused:

1 Like

Have you tried the FM Radio APK someone extracted and shared?

3 Likes

I just did it, thank you!
However, it crashes with

05-15 21:07:54.469 10216 10216 W System.err: java.lang.NoSuchFieldException: No field sHasPermanentMenuKey in class Landroid/view/ViewConfiguration; (declaration of 'android.view.ViewConfiguration' appears in /system/framework/framework.jar!classes3.dex)

and

05-15 21:07:54.558 10216 10216 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: library "/system/system_ext/lib64/libfmjni.so" needed or dlopened by "/apex/com.android.art/lib64/libnativeloader.so" is not accessible for the namespace "classloader-namespace"

Something missing…

1 Like

What version of /e/OS are you on?

I was using the last version back then, and I am now using the current last version too, 1.15.
I think that I need to flash that native library, as the app keeps crashing, but I don’t know why it isn’t packed and don’t want to make experiments without proper advice.

PS: i totally missed your same day reply, I hope it’s ok to retake this to you.

1 Like

oh, I see now, I wasn’t “tracking” the topic and you didn’t reply nor mention me, @Saijin_Naib :slight_smile:

1 Like

Hi, one teracube 2e owner here too, with e/OS. Is anybody working on this? Is it in any to-do list? It’s been one year and a half and many releases since that “very soon”.

If you are not making fm radio into this supposedly eco and free-libre smartphone please just say it, the inactivity here already suggests it.

And of course, if I can be of any help, please say it.

2 Likes

I’ve upstreamed the request to Sharad and the Dev Team, and they are looking into it, but the available information has not changed at this point.

They are looking into it, and are aware that it is a wanted feature, but there is not currently a timetable other than hopefully soon.

Other tasks have taken priority, which understandably has lead to some frustration around this issue.

1 Like

Was there ever any update on this? Wow almost 3 years later ? I’m looking into getting a e2 due to ethical and non toxic materials.

I believe from what Gagan said in May 2022, it was up to the /e team to choose to actually properly support the MediaTek JNI hooks, and that it can be supported on AOSP or /e if they do actually apply those patches. Whether or not they’ve included them would probably be a question for the /e team though.

El 11/5/26 a les 19:40, Maymne via Teracube Community ha escrit:

I believe from what Gagan said in May 2022, it was up to the /e team
to choose to actually properly support the MediaTek JNI hooks, and
that it can be supported on AOSP or /e if they do actually apply those
patches. Whether or not they’ve included them would probably be a
question for the /e team though.

That’s alright, but if /e has hundreds of devices to support, and
Teracube half a dozen OS at most to be supported for. So in my opinion
it’s on Teracube to go after the OS maintainers to kindly apply those
patches they need for their phones to be a better product.

I was stolen my Teracube long ago, a friend who bought it with me
already changed phone because it became very unstable, and the other
friend is keeping it but mad at this company to arbitrarily stop keeping
their promise of 5 year warranty if you’re in the UE and need a new battery.

I don’t know why I trusted an american shiny start-up to begin with,
it’s always the same.

I am on /e/OS 4.0 Beta (Android 15) on a Zirconia, and there is a bundled FM Radio app that does work.

I am unsure of exactly when this was included in the /e/OS ROMs for Zirconia/Emerald/Sapphire, but I believe during the /e/OS 3.x period, so the last year or so.

1 Like

That device only has 4GB of RAM correct?