[Dev] New "NavRadio+" app for TopWay based units: T3 and T8Allwinner, TS9 (intel), TS10(UIS7862) and TS18(UIS8151)

Search This thread

Nini19100

Member
May 15, 2016
7
0
Veuillez publier une image de l'écran d'informations système indiquant le numéro MCU.
THX
Here is the system image with the MCU
IMG20230128232015-min-ConvertImage.jpg
 

Iammythic

New member
Oct 12, 2020
2
0
I am a Canadian user so I chose USA1 in order to get the Canadian logos. However, my speedometer is showing in MPH. Is there anyway to correct this? In the settings it’s showing ‘show KMH’ yet still shows mph. Thanks!
 

Pacjonek

Senior Member
Mar 24, 2010
257
82
Kraków
Hi, @KoTiX2, First of all, thank you for your fantastic work
Secondly, I have a question:
I have an app running in the background that sends short voice messages about speed cameras and police patrols. It's an add-on app next to navigation so I can't set it up on the system as navigation.
The app works fine on a regular phone. Unfortunately, not on a TS10. It looks like system don't allow to respect Audio Focus by other apps and automatic ducking dosn't work. Most apps in background not don't reduce it volume (e.g. Youtube Music, Spotify). While I managed to deal with this problem by writing a simple script that listens to logcat audioFocus request and when a sound of an anti-radar app occurs reduces the volume of the audio media channel, it does not work with the radio :( Could you add support for listening audio focus sent by external app and handle it manually? This could be done by decrasing volume the radio to let's say, 15% when some app send `AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK`
Alternatively, I can try to develop an app/script myself that does this if you direct me on how to programmatically control the radio volume in TS10.
For now, I know only that I will probably have to use "android.tw.john.TWUtil" and the write() method. However, I have no idea what parameters to use to control the volume or at least how to sniff the communication between the Android and the MCU to know that. Also, I don't know what are the additional steps are needed to use this TwUtil.write()

Grazie in anticipo :)

Thank you for ignoring my question. I have dealt with the problem myself.

Just write 1 or 0 in the file /sys/class/tw/misc/navi to start the radio volume ducking or unmute it. Root is not required.

Using this fact and the Automate app (an alternative to the paid Tasker) I have written script which detect Yanosik messages and at this this use /sys/class/tw/misc/navi to duck volume
 

KoTiX2

Senior Member
Jul 10, 2010
2,952
1,972
Realme GT
Thank you for ignoring my question. I have dealt with the problem myself.

Just write 1 or 0 in the file /sys/class/tw/misc/navi to start the radio volume ducking or unmute it. Root is not required.

Using this fact and the Automate app (an alternative to the paid Tasker) I have written script which detect Yanosik messages and at this this use /sys/class/tw/misc/navi to duck volume
I'm sorry i didn't reply you. I didn't mean to ignore you but i cannot handle every user specific requests because my spare time is very little. your questions also where a little far from my knowledge too.
I'm happy that you found your way :)
 
  • Like
Reactions: timido64

Roarza

New member
Jan 14, 2023
1
0
Thanks @KoTiX2 for the app, its definately a massive improvement on the factory app that was on my device when purchased.

One thing I'm finding annoying is the fixed sized for your vertical widget. I'm using Car Launcher Pro and your horizontal one is happy being stretched and skewed in any direction and adjusts to the size I've stipulated, but with the vertical widget is has just 1 fixed sized which either just gets cut off or doesn't fill the size I've set.

Would this be part of the coding for the widget, or something on the launcher side?
 

KoTiX2

Senior Member
Jul 10, 2010
2,952
1,972
Realme GT
Thanks @KoTiX2 for the app, its definately a massive improvement on the factory app that was on my device when purchased.

One thing I'm finding annoying is the fixed sized for your vertical widget. I'm using Car Launcher Pro and your horizontal one is happy being stretched and skewed in any direction and adjusts to the size I've stipulated, but with the vertical widget is has just 1 fixed sized which either just gets cut off or doesn't fill the size I've set.

Would this be part of the coding for the widget, or something on the launcher side?
I believe that the vertical widget is fixed because it was made for the MTC launcher3.
I'll see if I can fix it or add another one that can be resized.
 
  • Like
Reactions: Roarza and timido64

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Hola KoTiX2 Thank you for your work. On my device the app appears as not compatible. Is there a possibility that in the future it could be used to buy the app? Thank you
    View attachment 6085668
    Uhm.. i t seem to be an mtk unit. I can't port my app to these models. sorry.
  • 13
    [Dev] New "NavRadio+" app for TopWay based units: T3 and T8Allwinner, TS9 (intel), TS10(UIS7862) and TS18(UIS8151)

    I have been working since July 2019 on this radio FM application originally created by Omega2008 from 4pda adding. With his permission of course, I started adding many features and customizations and now it support multiple brands of devices.
    Generally it support head units based on TopWay firmware with cpu allwinner T3 and T8, TS9(Intel SC9853) , TS10 ( UIS7862), TS18(UIS8151) , the entire family of MTC/HCT based devices PX3, PX5, PX6, PX30 and S32F0 units, and FYT devices.

    A FREE VERSION FOR XDA USERS IS AVAILABLE TO ACCOMPLISH THE XDA RULES AND TO LET USERS TEST THE COMPATIBILITY BEFORE BUYING IT.
    YOU CAN FIND IT HERE:
    V3.21 DROPBOX LINK
    or
    V3.21 GDRIVE LINK
    IT DIFFER FROM PAYED VERSION JUST IN TERMS OF USER CUSTOMIZATIONS OPTIONS AND NO LOGOS SUPPORT.

    If you are sure that your unit is compatible with the app you can get it on the Google PlayStore, here:
    https://play.google.com/store/apps/details?id=com.navimods.radio
    or on the Huawei Appgallery at this link:
    https://appgallery.huawei.com/app/C107643913

    Here you can see a sample video of my working progresses:
    Sample Video
    Here a demonstration video of the automatic assignment of Logos, station name and alternative frequencies:
    Demo
    and here a review from a friend:
    Review

    It's widely customizable in the graphics and layouts:
    - Wallpapers: Presets (about 30), system wallpaper, solid color, from personal images
    - Color themes (20 predefined or personal adjustments)
    - Night mode on / off, timed or automatic with car lights (MTC only)
    - Resizable text elements and Font choice
    - 4 view modes:
    Vertical List Left or Right (5,6 or 6 buttons)
    Horizontal Grid (1x5, 2x3, 2x4, 2x5, 3x3, 3x4, 3x5)
    Horizontal Carousel (5-11 items)
    Fullscreen (double tap or timed)
    - Selectable inactivity timer for fullscreen activation
    - Toggable StatusBar in fullscreen mode
    - Toggable Clock and GPS speed in fullscreen
    - Toggable Frequency slider
    - Automatic and manual assignement of Logo images to the stored radio stations based on name scraping (note: TopWay MCU cannot read the RDS id so assignement by id is not possible on Alwinners,TS9 and TS10 units)
    - Logos can be downloaded from internet DIRECTLY IN THE APP or sideloaded.
    - Station lists can be sorted by name or frequency and saved/restored in a Json format
    - Improved RDS AF function with automatic storing and merging of alternative frequencies found
    - Notifications Toasts
    - Selectable Radio Region
    - Station editable elements : Position, Frequency, Name, Logo, Favorites
    - 2 Homepage Widgets, horizontal and vertical design
    - Floating widget
    - Autostart on boot option
    - Support 800x480, 1024x600, 1280x720 and 1920x1080 display resolutions
    - Resizable Texts elements
    - App full settings backup/restore function

    List of available Logos by nationality:

    EUROPE: Albania, Andorra, Austria, Australia, Belgium, Bulgaria, Bosnia and Herzegovina, Belarus, Cyprus,Croatia, Czech Republic, Denmark, Estonia, Faroe Islands, Finland, France, Germany, Gibraltar, Greece, Hungary, Ireland, Iceland, Italy, Lithuania, Latvia, Liechtenstein, Luxembourg, Macedonia, Malta, Monaco, Moldova, Montenegro, Netherlands, Norway, Poland, Portugal, Romania, Russia, Serbia, Slovakia, Slovenia, Sweden, Switzerland, South Korea, Spain, Turkey, Taiwan, Ukraine, United Kingdom

    SOUTH AMERICA: Argentina, Brazil, Chile, Colombia, Mexico, Perù

    USA: Alabama, Alaska, Arizona, Arkansas, California, Canada, Colorado, Connecticut, Delaware, Florida, Georgia, Hawaii, Idaho, Illinois, Indiana, Iowa, Kansas, Kentucky, Louisiana, Maine, Maryland, Massachussets, Michigan, Minnesota, Mississippi, Missouri, Montana, Nebraska, Nevada, New Hampshire, New Jersey, New Mexico, New York, North Carolina, North Dakota, Ohio, Oklahoma, Oregon, Pennsylvania, Puerto Rico, Rhode Island, South Carolina, South Dakota, Tennessee, Texas, Utah, Vermont, Virginia, Virgin Island, Washington, Washington DC, West Virginia, Winsconsin, Wyoming

    CHINA, JAPAN, MALAYSIA, PHILIPPINE
    MOROCCO, TUNISIA
    AUSTRALIA, NEW ZAELAND


    Some pictures:
    1S3mHPul.png
    GLZUaNcl.png
    BWakEZHl.png
    sSiu1Otl.png

    9ecxWEI.png
    iCr42okl.png
    vNqsB5zl.png
    0Nyk1grl.png
    zTteN75.png
    C6uCg0y.png
    NQ8eATB.png
    TOgJo5U.png


    The app is now available on playstore:
    https://play.google.com/store/apps/details?id=com.navimods.radio
    or on the Huawei Appgallery at this link:
    https://appgallery.huawei.com/app/C107643913

    ---------------------------------- SOME TIPS ---------------------------------------------
    TOGGLE SCREEN NORMAL/FULL:
    - Double Click on the station information toggle fullscreen on/off.

    NORMAL SCREEN:
    - Long press on the station information popup the "ADD Station" dialog window if the station is not in your station list. If it's already in your list, it will focus the relative station button.
    - Long press on a station button bring up the "EDIT Station" dialog window
    - Single press on screen arrows <> does a small frequency step fwd/back
    - Long Press on screen arrows does a quick search fwd/back

    FULLSCREEN MODE:
    - A Single press of the arrows <> switch to next/previous station
    -A Long press on station information(center of the screen) bring up the "EDIT Station" dialog window.
    - In interface settings you can remove the big frequency in background if a logo is available.
    - In settings you can hide status bar, activate the clock and a speed gauge

    STEERING WHEELS CONTROLS:
    - The steering wheels commands act exactly in the same way as the fullscreen arrows, they just need to be setup in the correct way in carsettings application.

    FAVORITE LIST:
    - The FAV list is the result of merging FM and AM favorites, so you can have both frequencies in the same list.
    - FAV stations can be edited within the fav list but cannot be added. You need to be on fm or am list to add a station and set it to favs.
    - Deleting the FAV list will just remove the fav flag from the fm/am stations but will not delete them.
    - Deleting AM/FM list it will delete the FAV list too.

    LOGOS:
    - you can use your own station logos, you just need to know where you have them stored and browse for them when editing a station.
    - To get the stations Logos from the app you have to set the nationality of the logos in the interface menu, download and extract them.
    Once they are extracted you have to edit each saved station to assign the logo image to it.
    - The automatic assignment of the Logos is based on the RDS id of the radio stations (pi code) and the search of the logo by RDS name.
    The first method (by id) is faster and more precise but it needs that the name of the logo contain the picode of the station and for this purpose i renamed them for some of the available countries. Of course i cannot make them all and the functionality of this method depend of the availability of correctly named logo images for your country.
    The second method (by name) is less accurate and it work comparing the RDS name with all available logos. If the rsult of the comparison is 100% correct the logo is autoamatically assigned. If the result are more then one logo, a dialog window popup asking you to choose it.
    For USA and Canada the assignment of the logo is is done by searching the frequency of the station in the logo file name.

    AF (Alternative Frequencies) handling: (Doubleclick to switch between stored AF)
    The RDS AF function allow the radio tuner to tune in to an alternative frequency when the signal becomes too weak.
    On normal car stereos this function use 2 PLL receivers to hold the old frequency until a new one is found y the second PLL.
    On all Chinese units it's used just one PLL and the function is controlled by MCU and radio chip it self. So when a station become too weak you will notice a frequency scan that will look for another frequency with same station RDS ID code. The scan quality depend on many factors and none of the Chinese units have implemented this function correctly.
    Only the MTC device handle it a bit better than others.
    On FYT units the AF functions is totally wrong and should turned off.
    NavRadio can only switch AF "ON" or "OFF", It cannot improve this function because, as i said,it's handled by MCU.
    Anyway NavRadio can help a bit the users storing the Alternative Frequencies manually: dragging the frequency from middle of the screen and dropping it on to a station button.
    You can save up to 9 alternative frequencies and they can ve selected in the EDIT window or switch between them double clicking on the station button or sliding up/down in the middle of the screen.

    NOTES:
    I'm the only developer of the app and I work on it every single day for some hours a day.
    I try my best to develope the app at best of my possibilities and I wish at evey release that it is bug and crash free.
    This is very hard to achieve, even if I have some very good friends that help me testing it.
    I'm really thankful to them for their help and support.

    Thank everybody who beleive in my work and thanks for understanding. :)
    7
    @KoTiX2 you have an excellent product for the Topway based platform, do not explode your mind trying to port the app to FYT (I'm talking against my own ideas as I have FYT units) keep doit the great job that you do with NavRadio and making happy your customers.

    Anyway many thanks for all the time you spent tryng to find a suitable way to port the app
    I have a little good news:
    Finally I'm now able to set frequency and receive rds infos from my fyt unit and show them in NavRadio+ :D
    I found also a small trick to avoid having all native libs included in the app.
    There is still a lot of job to do but I'm pretty happy that something is finally moving in this unit. :D
    4
    hello, do you have any news?
    The only news is that I now have an 8227L unit and a px5 s32f0 one.
    I'm working on it but it's not an easy job
    4
    @KoTiX2 Do you plan to support UIS8581A?
    Right now i have no plans..
    I will try to add support only to new and very diffuse units.
    I say "TRY" because it's not ensured that i'll be able to do it.
    MTK units for example are a pain in the a** for me because of their use of native libraries that work only on system apps.
    3
    Is it possible to build support in for the FYT Intel Airmont SC9853i units eventually?
    Maybe in a future, right now only TopWay based units with sc9853i are supported.
    I will make a poll of which unit to support next as I need to buy one of these units to start developing sw for it.