Here's another random example of using adb every day for something... I just checked if I have an FM radio app on my A32-5G (USA-spec). adb shell pm list packages | grep radio package:net.programmierecke.radiodroid2 package:com.yuriy.openradio package:com.liveradio.fmradio.radiotuner.radiostation.amradio Those are Internet streaming apps, so let me check for a ALSA PCM devices also. Drat. I don't have the permissions. adb shell cat /proc/asound/pcm cat: /proc/asound/pcm: Permission denied adb shell cat /proc/asound/cards cat: /proc/asound/cards: Permission denied Checking for drivers, I found the most useful clue there is. adb shell ls -l /dev/ | grep -i fm crw-rw---- 1 system audio 475, 0 2026-11-26 23:08 fm That says the MediaTek FM driver char device is owned by system:audio, implying the FM driver is present and has been loaded in my kernel. Checking if the audio routing knows about FM adb shell grep -i "fm" /vendor/etc/audio_policy_configuration.xml <devicePort tagName="FM Mic" type="AUDIO_DEVICE_IN_FM_TUNER" role="source"> ... sources="Built-In Mic,Built-In Back Mic,Wired Headset Mic, Bt Sco Headset Mic,Aux Device In,Voice Call Mic,FM Mic"/> Note that the audio policy lists AUDIO_DEVICE_IN_FM_TUNER as an input device and routes it like a microphone. That is the Android-standard plumbing for an FM tuner and it is present in the vendor image. Checking if the FM driver is alive in the kernel. adb shell ps -A | grep -i "fm\|radio" root 1318 2 0 0 0 0 S [fm_timer_wq] root 1319 2 0 0 0 0 S [fm_eint_wq] Those are kernel worker threads named for the FM driver, the timer and external-interrupt work queues. The brackets and the pid 2 parent are the tell that they are kernel threads, not user processes. If the driver were not loaded they would not exist. Together with the /dev/fm device (owned by system:audio) the driver is definitely active. Checking which chip is doing the tuning. adb shell getprop | grep -i fm [persist.vendor.connsys.fm_chipid]: [mt6631_6635] [ro.boot.fmm_lock]: [48] The FM receiver lives in the MediaTek MT6631 connectivity chip (the Wi-Fi/BT/FM combo chip). That is identified by name in the vendor properties, not just inferred from the SoC. Note that ro.boot.fmm_lock is Find My Mobile, unrelated to FM radio. Checking if the userspace glue (JNI library) shipped. adb shell find /system /vendor /product -iname "*fm*" 2>/dev/null The system cannot find the path specified. adb shell ls -l /vendor/lib64/ | grep -i fm libaudiofmtconv.so (unrelated - audio format conversion) No libfmjni.so or similar in /vendor/lib64. Did Samsung strip the JNI library that apps normally use to talk to the tuner. Given the chip is present and identified, driver loaded and running, audio routing configured, but no FM app but I can't yet find the JNI glue. This radio feature may be removed from the software, but it is not missing from the hardware. Doublechecking, Samsung did not strip the JNI library or firmware blobs from the ROM. Everything beneath the Android app layer is already installed on this SM-A326U. Checking if anything FM-related exist in the read-only partitions. adb shell "find /system /vendor /product -iname '*fm*' 2>/dev/null" /system/priv-app/Fmm /system/priv-app/Fmm/Fmm.apk /system/priv-app/Fmm/Fmm.apk.prof /system/fonts/NotoSerifMalayalam-VF.ttf /system/fonts/NotoSerifMyanmar-Bold.otf /system/fonts/NotoSerifMyanmar-Regular.otf /system/etc/permissions/privapp-permissions-com.samsung.android.fmm.xml /system/bin/fmt /system/bin/init.perfmond_atrace.sh /system/lib/android.hardware.common.fmq-V1-ndk.so /system/lib/libcfms.ssrm.samsung.so /system/lib/libfmq.so /system/lib/libfmradio_jni.so /system/lib/libnativecfms.so /system/lib64/android.hardware.common.fmq-V1-ndk.so /system/lib64/libcfms.ssrm.samsung.so /system/lib64/libfmq.so /system/lib64/libfmradio_jni.so /system/lib64/libnativecfms.so /vendor/etc/init/init.fmradio_drv.rc /vendor/etc/audio_param/FMVolUI_AudioParam.xml /vendor/etc/audio_param/FMVolUI_ParamUnitDesc.xml /vendor/etc/audio_param/FMVol_AudioParam.xml /vendor/etc/audio_param/FMVol_ParamUnitDesc.xml /vendor/etc/audio_param/FM_AudioParam.xml /vendor/etc/audio_param/FM_ParamUnitDesc.xml /vendor/lib/libaudiofmtconv.so /vendor/lib/modules/fmradio_drv_mt6631_6635.ko /vendor/bin/fmt /vendor/lib64/libaudiofmtconv.so /vendor/firmware/mt6631_fm_v1_coeff.bin /vendor/firmware/mt6635_fm_v1_patch.bin /vendor/firmware/mt6635_fm_v1_coeff.bin /vendor/firmware/mt6631_fm_v1_patch.bin /vendor/firmware/fm_cust.cfg Most of that list is noise. Fmm is Find My Mobile, the NotoSerifMyanmar fonts matched on Myanmar, libfmq is Fast Message Queue, libcfms and libnativecfms are Samsung CFMS, and init.perfmond_atrace.sh matched on perfmond. The real FM files are libfmradio_jni.so, the .ko, the four firmware blobs, fm_cust.cfg, init.fmradio_drv.rc and the FM audio_param tables. Both /system/bin/fmt and /vendor/bin/fmt need a closer look before they count as the tuning daemon. Checking whether any FM service or app is registered, including uninstalled-for-user packages. adb shell "service list | grep -i fm; pm list packages -u | grep -i fm" package:com.halfmilelabs.footpath package:com.samsung.android.fmm package:com.liveradio.fmradio.radiotuner.radiostation.amradio package:fm.a2d.sf package:com.fmsys.snapdrop Drat. No FM binder service is registered at all, as every package hit is noise, e.g., Footpath (hiking), Find My Mobile, an internet radio streamer, Spirit2 (fm.a2d.sf, already installed), and Snapdrop. The Samsung FM app (com.sec.android.app.fm) is absent even with -u, which includes uninstalled-for-user packages. So it was never shipped, not disabled. Sideloading it without root would fail on the platform signature check before permissions ever came into it. Checking what /vendor/bin/fmt actually is, before trying to run it. adb shell ls -lZ /vendor/bin/fmt lrwxr-xr-x 1 root shell u:object_r:vendor_file:s0 13 2008-12-31 07:00 /vendor/bin/fmt -> toybox_vendor Drat. It is a toybox symlink. "fmt" here is toybox's text formatter, the Unix paragraph re-wrapper, not MediaTek's FM tuning daemon. The earlier find hit was this same symlink, so the daemon the .ko and the JNI library expect is simply not on this build. Checking the security posture that would have to be defeated anyway. adb shell getenforce Enforcing adb shell id uid=2000(shell) gid=2000(shell) groups=2000(shell),1004(input),1007(log), 1011(adb),1015(sdcard_rw),1028(sdcard_r),1078(ext_data_rw),1079(ext_obb_rw), 3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats),3009(readproc), 3011(uhid),3012(readtracefs) context=u:r:shell:s0 Drat. SELinux is enforcing and the shell user is not in group audio (gid 1005), so the Unix mode bits on the FM device block it before SELinux is even consulted. There is also no FM-specific exec label on fmt, only vendor_file, so there is no domain to transition into. Confirming the device node, the JNI library location, & build type. adb shell "ls -lZ /dev/fm; ls -lZ /vendor/lib64/libfmradio_jni.so; getprop ro.build.type" crw-rw---- 1 system audio u:object_r:fm_device:s0 475, 0 2026-11-26 23:08 /dev/fm ls: /vendor/lib64/libfmradio_jni.so: No such file or directory user That implies the device node exists & is labelled fm_device, owned by system:audio. The JNI library is not in /vendor/lib64 at all. The copy that exists is in /system/lib64, which is why the earlier vendor-only grep missed it. And ro.build.type is user, a retail build, so adb root is unavailable and there is no way to disable enforcement or start a daemon as root. Overall, it seems Samsung did not strip the FM support from this build as the kernel module, firmware, init script, JNI library and audio routing are all intact. What is missing is the privileged front-end app and the service that would drive the tuner. Because /dev/fm is crw-rw---- system:audio, an unprivileged third-party app is blocked by both Unix permissions and SELinux from opening it directly, which is why Spirit2 cannot use the tuner here without root or a privileged install. Three walls, any one of them fatal. No audio group membership, no FM SELinux domain, and no FM daemon binary on the image (the fmt hit was toybox). There is an XDA thread on exactly this SELinux wall. <https://xdaforums.com/t/selinux-module-to-open-fm-radio-application-access-to-dev-fm.4710525/> Root might clear all three at once but apparently nothing short of root clears any of them. On this USA-spec SM-A326U the FM chip is present and its kernel driver is live, but the software route to it does not exist. Internet streaming is the only software answer for listening to radio on this phone, and an external SDR is the only route to real FM . See also Newsgroups: comp.mobile.android Subject: How to listen to an Internet radio station with privacy from Google? Date: Mon, 13 Apr 2026 03:29:36 -0600 Message-ID: <10ri…@nnrp.usenet.blueworldhosting.com> [Apps] What no root free real FM/AM radio tuner app do you use that has no ads & do you know how to build the Spirit1 no-root source code? <https://xdaforums.com/t/apps-what-no-root-free-real-fm-am-radio-tuner-app-do-you-use-that-has-no-ads-do-you-know-how-to-build-the-spirit1-no-root-source-code.4641228/> Nov 13, 2023 Is there any way to get the hardware FM radio on the non-known-to-be-rootable USA-spec Galaxy SM-A325U A32-5G to work without adding a dongle? <https://xdaforums.com/t/is-there-any-way-to-get-the-hardware-fm-radio-on-the-non-known-to-be-rootable-usa-spec-galaxy-sm-a325u-a32-5g-to-work-without-adding-a-dongle.4810582/> Nov 28, 2026
-- On Usenet, some people are kind, helpful and they're knowledgeable too!