yashsingh1/xdaforums huggingface dataset:
[MTCD Software Development] typos1:
A good observation - [MENTION=8200720]herb77[/MENTION] can I suggestion that you make the app, or at least a version of it, a replacement for the stock radio, so it replaces that ap entirely rather than running alongside it ?
[MTCD Software Development] randycorcoran:
Hi, did you have any special configuration with ubiquity music widget? I have installed and selected GMRadio as app by default, but the logos don't appear. Did you create the folder logos on the sdcard? I understood that the ubiquity widget downloaded the logos instead you. Am I wrong? Thanks!

Edit. Ok, I got it! I hadn't put the logos folder before try widget... Now it works!
[MTCD Software Development] themissionimpossible:
To disable the factory radio app:

Settings -> CAR -> Factory settings + password (ex. 126) -> APP -> Radio -> NO -> APPLY
[MTCD Software Development] ric69:
Thanks but with this method player is working with FM each other. Impossible to switch. I selected GMradio and Player in Hal9k mod that not work each other (with FCC its simply not recognized and not switching too)
[MTCD Software Development] typos1:
That wont help, the head unit will think theres no radio tuner.
[MTCD Software Development] themissionimpossible:
This is likely an issue with the Hal9k's ROM, no problems with the stock ROM.

---------- Post added at 13:23 ---------- Previous post was at 13:11 ----------

Sorry but this is not true at all!

Sound like you don't understand what "APP" means in the factory settings menu...;)

It's about APPs and not modules!

Actually the radio module still works perfectly with any custom radio apps, at least with the stock ROMs.

Anyway it's easy to test, don't be lazy and check by yourself!:););)
[MTCD Software Development] typos1:
Lol, cant test it myself as my car is off the road and the stereo disconnected at the mo, but the other poster seems to back me up on this, at least on a custom ROM (no one in their right mind would use the factory ROM, would they ??! ;))

Happy if I m wrong here though.
[MTCD Software Development] ric69:
So how do you enable GMradio on stock factory rom with radio off in settings? I'm not sure but how should it work with FCC or any other media widget control ?
[MTCD Software Development] herb77:
Currently there is no way to remotely start or stop radio playback. It starts playing when the app is opened and stops when it is closed or when an other app starts playback. Selecting a preset station should work thrid party widgets.

Maybe I'll add a start / stop function in a future version.
[MTCD Software Development] krebsi:
Hello. The app does not start on Android 10! Is there a solution?
[MTCD Software Development] Luk@7:
Good Morning.

Is there any chance that the app will work on a 8227l mtk?

Thank you.
[MTCD Software Development] elalvaro19:
Good work [MENTION=8200720]herb77[/MENTION], my px3 unit works fine. I have some kind of error when changing with the seek button that sometimes doesn't do its function. Everything else seems to work just like the stock one. For me it would be totally perfect if the station image assignment were automatic with some kind of algorithm like vw radios.
[MTCD Software Development] randycorcoran:
Hi [MENTION=9458543]elalvaro19[/MENTION], I have a px3 radio too and last weekend I was testing during a trip. I noticed a few things:

- If you put the logo's folder in your unit, when RDS identify the station, I think the program try to get the icon automatically, but getting the file logo by the name of RDS station. For example, in my case, in Spain there is a station called CADENA 100 but in some areas RDS information shows it as C100 or CAD 100 ... so GMRadio try to get the logo which name starts by CAD... with the inconvenience that if there are more than one.. get the first one. You must press the station icon to edit the name or select the icon manually (or change the name of the icon's image in the folder).

- Sometimes the icon doesn't appear automatically but when enter in the editor's station, the icon appear well. Then, I accept and the icon appear in the list of stations.

- There was a only case that the icon showed automatically when RDS information appeared. That was with RADIOLE radio.. Maybe because there no is another radio with the same name, and the logo was perfectly identified.

[MENTION=8200720]herb77[/MENTION] I have a question, an offer and a suggestion to improve the app that works flawless.

I don't know if didn't understand well the AF function. As far as I am concerned, the station collected the alternative frequencies but I don't see that the station change using them. I must hold the station to select the frequency. When the alternative frequencies are learned, will work then? (the AF button are selected).

I offer to translate the interface into spanish.

Suggestion. Is there any way to add a station if you seek manually without make an autoscan? For example a new station that appear (by pressing on the name or something else).
[MTCD Software Development] elalvaro19:
[MENTION=10899807]randycorcoran[/MENTION] I am also from Spain. In my area, for example, the cadena dial has no rds, I imagined that was why. Anyway, I will try to clean the images folder and leave the ones that interest me, even duplicate them with the correct names of the main stations.
[MTCD Software Development] randycorcoran:
I will recommend to edit the station when you push in the icon and fill the field "Display Name". Put the name "DIAL" and you will see that works.
[MTCD Software Development] elalvaro19:
OK thanks. That would be another option then that searches by station name just as it does when searching manually. It does not cost to put it manually but when you do an auto search and all the stations come out it would be great if most of them already come out with their icons.
[MTCD Software Development] herb77:
I have not tested it on Android 10. If it is an MTCx unit and the app does not work, there may have been changes in the communication with the MCU and then there ist no way at the moment. I think the same thing happened on PX3 changing from android 5 to 7. I'll have a look at it.

There are two ways in which the station logo is searched:

The first one in the main screen must be an exact match, only spaces are removed. For example, if RDS text is "SWR 4", the file name must be SWR4.png. If the RDS text is "SWR 4 Ulm", the file swr4.png will not be used. This is because I don't want to show a wrong logo on the main screen.

The second way is used in the when a station is saved or edited. Here it is tried to "guess" the logo from the name, but this is only a suggestion. If it is wrong, it can be changed by the user.

I will add a way to detect the logo by the station identifier (PI) in a later version. This is a pretty safe way to detect the correct logo, but all files will have to be renamed to contain the PI of the station for this to work.

AF is handled by the MCU, there is not much you can do from the APP. Alternative frequencies are transmitted with RDS, but never delivered from the MCU to the app. The app gets an alternative frequency when a station is tuned in an the frequency is recognized as an alternative of a saved radio station. There is no way to get alternative frequencies simply by tuning into a station. So alternative frequencies known by the app may differ from alternative frequencies of the MCU.

If t the signal of a tuned in station is getting weak, the MCU tries to switch to an alternative frequency that has a stronger signal. There is no (good) way to get signal strength by the app, so this cannot be handled by the app. These points make it impossible to have AF done by the APP.

So even if the app has a list of alternative frequencies, the MCU may not. It then won't change the frequency, even if it has weak signal. You can do this yourself by double clicking on a station button and selecting an alternative.

Adding a station should be possible by selecting "Edit bouquets".
[MTCD Software Development] elalvaro19:
I think it may be a good option that they are also obtained by PI identifier, even if it involves renaming images with these identifiers. If you add this option, I will rename the images for the main stations in Spain.
[MTCD Software Development] krebsi:
Yes, it is an MTCE PX5 device. Thank you
[MTCD Software Development] randycorcoran:
Thank you [MENTION=8200720]herb77[/MENTION] for your explanation. I have learned a bit more about your app. So, the AF function depends by MCU although radio collect alternative frecuencies pretty well. But MCU doesn't change it...

Sounds good the system of PI for identifying logos but I think it's a very difficult if it doesn't exists a great list of PI on the net... Anyway, we will be here, you know.
[MTCD Software Development] elalvaro19:
For Spain, for example, it found a listing, https://fmscan.org/net3.php?r=f&m=s&itu=E
[MTCD Software Development] typos1:
This isnt actually the case - Android 5 RK3188/PX3 units can run Android 7 with the radio working and vice versa.
[MTCD Software Development] herb77:
Does the Android 7 PX3 stock app run on an Android 5 PX3? I started development on a PX3, and at some point it did not work anymore because the MCU communication had changed. But this might as well have been when switching from PX3 to PX5, so I may be wrong here.
[MTCD Software Development] ric69:
Just to confirm in android 10 : apk is installed correctly, app starts 1sec (with blank screen) and close immediately
[MTCD Software Development] typos1:
No, it wont work on different Android versions - the 7 app on a 5 unit for intance, but if you flash the 7 ROM onto 5 it will work (I wouldnt recommend this as theres not enough RAMbut the radio will work).

I have installed your app on a friends RK3188/PX3 Nougat unit and it works.
[MTCD Software Development] randycorcoran:
Yes, [MENTION=456516]typos1[/MENTION], you're right. I have a RK3188/PX3 with Android 7.1.2 Malaysk ROM and works perfectly. But the problem is the radio module which doesn't have very good reception and AF function doesn't work properly.. In spite of the upgrading MCU (MTCE_GS_V3.44 in my case). I will try changing the factory options.. but this app would be a highlevel in our radios..

---------- Post added at 06:15 PM ---------- Previous post was at 06:13 PM ----------

C' mon! I took a look but didn't find it! This is great!
[MTCD Software Development] herb77:
So I was wrong talking about MCU communication (I'm pretty sure the commands I send don't go directly to the MCU - there is probably something in between). But the way the commands are sent has changed from 5 to 7. Android 5 uses Android Intents and AudioManager class for communication, Android 7,8,9 use a custom Microntek class for this. So maybe something has changed in Android 10, though it is the same hardware.

If somebody has the stock Android 10 app it would be great if he could send it to me so I'll have a look at it.
[MTCD Software Development] typos1:
Right, I see what you mean, so yeah it sounds like theye changed something again in 10, hopefully anyone else who has tried it on 10 with (or without?) problems will comment to help shed some light . . .
[MTCD Software Development] krebsi:
There is nothing to comment on. The app does not start on Android 10 ...

I have tested it. [emoji4]
[MTCD Software Development] typos1:
It might work on some versions of MTC 10 units (there are 30+ manufacturers of MTC units, each with their own MCU code), you never know, hence my comment. :)
[MTCD Software Development] krebsi:
You're right. It may work on some devices. I tested two versions of Android 10 without success. Unfortunately, I cannot change the MCU ...
[MTCD Software Development] herb77:
Hi, what exactly does "does not start" mean. Doesn't it start at all or is there a short start with a crash? I have had a (very quick) look at the android 10 stock app, I did not see any significant changes - but I may have overlooked something.

If it is a crash, there should be a folder "/sdcard/carsh" with logfiles inside. If it is there, it would be great if you could send me the last logfile.

To me, this does not sound like a problem with commands sent to the radio. If this would be the case, the app should start and the do nothing. Maybe there are other changes in Android 10 (premissions etc.) that prevent the app from running at all.
[MTCD Software Development] ric69:
Short start with a crash :

com_bulleratz_gmradio.log :
[MTCD Software Development] krebsi:
The app tries to start, but you don't even see the GUI interface. This is such a quick jerk on the display. Unfortunately I cannot provide the "crash" file because I flashed ROM from Hal9K again. It was just a test of whether Android 10 can be used. 50 users took part in the test.
[MTCD Software Development] typos1:
I m confused - what sort of "test" was this, why "50 users" took part and why you would be testing something that is known to work because its specifically designed to work on MTCE head units.
[MTCD Software Development] ric69:
Test was about apk mod installer (android 8 / 9/ 10 in one app) and even if android 10 is specific for MTCE, it allowed us to know that there is a BIG bug with GPS for px30 :silly:
[MTCD Software Development] krebsi:
The test actually has nothing to do with the GmRadio app. Android 10 was tested for various functions. It is important to switch from Android 10 to Android 9.0; 8.0 and 6.0 can return. In addition to, some users also tested the GmRadio app. Of course, it only affects the MTCx devices.
[MTCD Software Development] typos1:
All that app does is boot you into the relevant recovery so you can install an Android update.

So youre saying that theres a bug for [MENTION=5092263]Hal9k_[/MENTION]'s RK3326/PX30 ROM that isnt mentioned in his thread ? One that he and all his users didnt know about ?

Seems very bizarre - [MENTION=5092263]Hal9k_[/MENTION] is a very well known developer on here whos ROMs have been known about for years, when you think of all the time and resources needed to get 50 people together to "test" something that been around for a long time, by a developer whos very well known (and easily contactable) whos opened multiple threads (with 1000s and 1000s of posts) on his ROMs. Mind boggling, would have been far, far easier to just message him and ask him or post in one of his numerous threads about his ROMs. Plus MTCB/C/D/E/P units with SoMs made by MTC have been around for 6 years and each SoM has always been updatable (and downgradable) to at least one (but often more) versions of Android, not just with [MENTION=5092263]Hal9k_[/MENTION]'s app but by using a bootable sdcard to boot into the recovery of the later Android version and flash it. Seems like a massive waste of time to me. :silly:
[MTCD Software Development] ric69:
No don't worry, he is a great dev and I tried to send him all logcats et dsmeg to search about this problem by email :good: Not all px30 are concerned (Hal9k own a px30 and has no problem with gps) Only 2 or 3 members has the problem in his thread ...

Hope we will find the solution as the GMRadio bug :silly:
[MTCD Software Development] krebsi:
Have you ever done that yourself with a botable SD card? Works, unfortunately, not always ... :)
[MTCD Software Development] typos1:
In the 6 years I ve been using MTC head unit I ve used bootable sdcards more times than I can remember, it always works if you do it correctly.
[MTCD Software Development] krebsi:
If you do it right ... With the ModInstaller it always works! ;)
[MTCD Software Development] typos1:
It always works if you always do it the right way. Why would you even do it the wrong way ? :)
[MTCD Software Development] krebsi:
I would have done it right, I hope. But there are people who have no idea about it and then it is difficult. I have been dealing with radios from China since 2008 (China-rns.com). At that time it was WinCe devices that (not all) could be flashed. There were also enough radios that broke. What Hal9K does can only be rated positively, thinking otherwise would be stupid ...
[MTCD Software Development] typos1:
WinCE units and radios that break really have no bearing to this subject. I was one of the first people to recommend Hal9k_'s ROMs on here years ago I m fully aware how good his stuff is and in no way am I criticising his app, but that has nothing to do with using a bootable sdcard which is very easy if you follow basic instructions. People who have no clue should just read instructions so that the have a clue, instead of trying to make out there is something wrong with the established process. It seems even madder, now that youve praised [MENTION=5092263]Hal9k_[/MENTION]'s work and are fully aware of how good it is, that you felt the need to get together with 50 other people on here and test something that was already tested and proven. :silly:

Still we re rather off topic for [MENTION=8200720]herb77[/MENTION]:s thread, we should stay on topic.
[MTCD Software Development] krebsi:
Right, too much offtopic.
[MTCD Software Development] herb77:
Thanks. At the moment I don't know what exactly goes wrong, but at least this is a hint where I have to search for the problem
[MTCD Software Development] submarinerfan:
this app looks amazing, but I cannot get it to work on my new android headunit?

unit is pumpkin AA0495B, when I check it tells me my MCU is CSN_12272019_115005 so I do not know if it is compatible?

the app installs, but when I open it it does nothing - the app comes on, but there is no sound and I cannot make it tune to any stations

please help as this app looks like everything I ever needed from an FM tuner
[MTCD Software Development] typos1:
Your MCU does not start with "MTCD" or "MTCE" so you dont have an MTCD/E unit and therefore you are not only in the wrong thread but also in the wrong forum - this forum is for MTD/E units only.
[MTCD Software Development] submarinerfan:
hence my question as it was not obvious to me
[MTCD Software Development] ric69:
Hello, I'm not sure it help but here is what I found in logcat :

06-26 15:01:00.368 E/AndroidRuntime(26536): FATAL EXCEPTION: main

06-26 15:01:00.368 E/AndroidRuntime(26536): Process: com.bulleratz.gmradio, PID: 26536

06-26 15:01:00.368 E/AndroidRuntime(26536): java.lang.NoSuchMethodError: No direct method <init>()V in class Landroid/microntek/CarManager; or its super classes (declaration of 'android.microntek.CarManager' appears in /system/framework/framework.jar!classes2.dex)

06-26 15:01:00.368 E/AndroidRuntime(26536):	at com.bulleratz.bradio.A.<init>(Unknown Source:8)

06-26 15:01:00.368 E/AndroidRuntime(26536):	at com.bulleratz.bradio.ma.a(Unknown Source:9)

06-26 15:01:00.368 E/AndroidRuntime(26536):	at com.bulleratz.bradio.RadioService.onCreate(Unknown Source:7)

06-26 15:01:00.368 E/AndroidRuntime(26536):	at android.app.ActivityThread.handleCreateService(ActivityThread.java:3953)

06-26 15:01:00.368 E/AndroidRuntime(26536):	at android.app.ActivityThread.access$1500(ActivityThread.java:219)

06-26 15:01:00.368 E/AndroidRuntime(26536):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1875)

06-26 15:01:00.368 E/AndroidRuntime(26536):	at android.os.Handler.dispatchMessage(Handler.java:107)

06-26 15:01:00.368 E/AndroidRuntime(26536):	at android.os.Looper.loop(Looper.java:214)

06-26 15:01:00.368 E/AndroidRuntime(26536):	at android.app.ActivityThread.main(ActivityThread.java:7356)

06-26 15:01:00.368 E/AndroidRuntime(26536):	at java.lang.reflect.Method.invoke(Native Method)

06-26 15:01:00.368 E/AndroidRuntime(26536):	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)

06-26 15:01:00.368 E/AndroidRuntime(26536):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)

06-26 15:01:00.599 I/chatty ( 542): uid=1000(system) Binder:542_D expire 3 lines

06-26 15:01:00.818 I/chatty ( 542): uid=1000(system) android.display expire 1 line

06-26 15:01:02.583 D/vold ( 205): Remounting 10134 as mode read

06-26 15:01:02.658 D/vold ( 205): Remounting 10134 as mode write

06-26 15:01:07.350 I/chatty ( 542): uid=1000(system) Binder:542_7 expire 1 line

06-26 15:01:07.601 I/chatty ( 542): uid=1000(system) Binder:542_20 expire 3 lines

06-26 15:01:13.153 I/chatty ( 542): uid=1000(system) ActivityManager expire 21 lines

06-26 15:01:16.326 I/chatty ( 542): uid=1000(system) Binder:542_9 expire 3 lines

06-26 15:01:16.365 I/chatty ( 542): uid=1000(system) ActivityManager expire 14 lines

06-26 15:01:16.384 I/chatty ( 542): uid=1000 system_server expire 10 lines

06-26 15:01:16.687 I/chatty ( 542): uid=1000(system) android.io expire 11 lines

06-26 15:01:16.989 I/chatty ( 542): uid=1000(system) Binder:542_C expire 3 lines

06-26 15:01:17.413 I/chatty ( 542): uid=1000(system) ActivityManager expire 20 lines

06-26 15:01:17.415 I/chatty ( 542): uid=1000(system) android.ui expire 10 lines
[MTCD Software Development] simone81:
Hi guys, im gonna change my android head unit, so i wanted to know which brand and model should i look for so that i can use your mod. MTCU is not always known so im asking to have an idea. Thanks
[MTCD Software Development] typos1:
Open a new thread and post links of units youre considering, I ll be able to tell you if theyre MTCD/E or not.
[MTCD Software Development] con_ritmo:
Thank you for developing this app, it is the best radio one out there!

1. Could someone post an example of AM stations in the bouquet.json? While I've been able to get the full fm range with logos/appropriate-names by editing the bouquet.json...I haven't yet been able to create one for the AM stations...when I hit autoscan it only scans the FM stations. I figure if I see an example of an AM station in the bouquet.json, I can manually construct the AM range.

2. Is there a way to input the station frequency manually with numbers?

Thank you!
[MTCD Software Development] herb77:
At the moment, autoscan only scans the FM range, I will adress this in the next release. Entering a frequency manually is not possible, but I think this could be a nice feature for a future release.

You can mix FM and AM channels in a bouquet, so you can add an AM station by adding a new entry with the correct frequency to any bouqet.

I do not have much time work on the app at the moment, so it may still take a while until the next update will be released...
[MTCD Software Development] H4MZ4:
Crashes when I open it on Android 10 PX30
[MTCD Software Development] herb77:
There seems to be a problem with Android 10. I'll try to fix it in one of the next reeases but I cannot test it because I am still on Android 8:)
[MTCD Software Development] typos1:
I m sure you know, but you can upgrade to 9 as well as 10, no custom ROMs out for 10 yet AFAIK, at least not [MENTION=5092263]Hal9k_[/MENTION] 's.

I m sure plenty of people with 10 would be willing to test it for you. :)
[MTCD Software Development] Albatros2605:
Confirm, PX5 also... I can test it for you, I'm on 10 right now ?
[MTCD Software Development] herb77:
I am still on HAL9K Android 8. I have it in everyday use and It still works fast and stable, so for me there is no need to update (Maybe when there is HAL9K Android 10).

I'll try to fix it after (or with) the next release, but as mentioned I have a lot of other things to do at the moment so it may take some time:(
[MTCD Software Development] lolloxda:
A request for Android auto version YT9216b:

I can't understand why you can't get the RADIO app with RDS and various functions without necessarily having to root the device ...

Would some pious soul be able to put a Radio app with RDS, station names etc ... to be installed without root?

Thanks in advance!
[MTCD Software Development] typos1:
What ?

All radios on MTCD/E devices have RDS without root, I think youve misunderstood something somewhere, what is the MCU of your head unit ?
[MTCD Software Development] VladimiroCampus:
Hi Everybody.

First of all, Herb77 Thank you for your great job.

Some advice or request: if possible, could you insert the possibility of inserting more than 5 icons for the stations, reducing their size? Maybe with 2x5 grids.

The arrows could be modified with: advance to the next saved station / automatic advance to the next stable frequency. I will definitely make a donation to you, regardless of whether you can make these changes. Thanks in advance. Bye.