yashsingh1/xdaforums huggingface dataset:
[FYT Android Head Units] Rogerio Prazeres:
I don't know if it was discussed here before, but I did remove the radio package using the adb command <adb shell pm uninstall --user 0 com.syu.radio>

First I did disable it using the disable option <adb shell pm disable --user 0 com.syu.radio> to see how it would work.

Maybe I can still reinstall the package if I want cause I think this command do not erase the apk from the system (did not test).

Anyway, I still have the original firmware USB files in case I want to go back, but I don't think I will =)

The major problem to me was to find the way to enable the USB debugging, but I found a thread talking about a small three dots USB chinese menu on the development options and it worked.
[FYT Android Head Units] boatbluejay:
Thanks for that tip I tried to use adb and could see the head unit on the PC even with USB bugging turned on a little more info on which thread or steps how to do this would be appreciated
[FYT Android Head Units] Rogerio Prazeres:
Depending on your unit, when you enter the Config -> System -> Development Options (password 3368) you will see the 3 dots menu on the up right corner. Click on it, click " USB computer connection" and maybe it will show a little chinese menu.

Choose the second option and the unit will appear on the windows as a regular phone (I'm imagining you already have the cables, if not, you can DIY a male to male usb cable, is very easy).

After that, just enable the USB debugging and you can run adb as normal.

Tip: go slow with adb. It is easy to use but is very powerful and can brick your unit. =)

Without the original radio and using Naviradio+ the unit will work way better in the sense of integrating another music apps, notifications, steering wheel commands etc. If the free version works well for you, the paid version is way nicer in appearance and extras functions.
[FYT Android Head Units] Rogerio Prazeres:
BTW, I did uninstall only te radio app (.radio). There are two more radio related system apps that are not supposed/needed to be removed.

Try disable first, It will have the same effect as uninstalling but will last only until you restart the unit.
[FYT Android Head Units] Rogerio Prazeres:
Since we are talking about FYT units, mine is a non branded Chinese and came with a very old and simple launcher with only one ugly fixed homepage that do not support widgets. (why? I don't know)

You can try any launcher from http://fytfactory.mariodantas.com , If is not compatible it will just not install or not work well.

One in specific was the updated version of the one in my system, so it installed as the system launcher update and is working flawless, with widgets and multiple pages, like it should be. I still can run aftermarket launchers, but now the system launcher is nice too. Good luck!
[FYT Android Head Units] boatbluejay:
Thank I will proceed with caution and don't like to uninstall just disable for user that way if I run update file it all come back or on factory reset .

I have tried the Naviradio free it works well but on start up on acc the original radio app starts playing in the background and I have to open the original radio app then close it to switch it off or alternatively open the Naviradio app select a station then close app I know it's the original radio app because it goes quiet for a second then start playing the station I have just selected on Naviradio app. I guess using the back up script and radio disable/enable script people have been kind enough to create and share just makes it easier to do in vehicle as I only have desktop.

I do like to have the adb option
[FYT Android Head Units] DexterMorganNL:
I installed one last time, the only one labeled as API Level 29 and after the install the launcher was no where to be found. So I'm still sticking with one of the stock launchers, that features a speedometer.
[FYT Android Head Units] surfer63:
Only uninstall the radio app if you install thew navradio+ app. Otherwise you have no control at all over the radio when it starts. That is non-Android hardware. Without an app there is nothing you can do. And actually it is not the app but the MCU who controls the radio.
[FYT Android Head Units] jawbraeka2:
Infinity Chinese Miracle-2 SP2/SPD-UniSoc v2.10 - New year means new features - GSM-Forum

Infinity Chinese Miracle-2 SP2/SPD-UniSoc v2.10 - New year means new features ! CM2SP2 v2.09 with SPD unlock enabled List of SPD unlock supported

forum.gsmhosting.com

If anyone wants to have a look at these tools.. seems our chipsets are supported (uis7862 and others)..

Might be a flashing/diagnostic tool.. not totally certain but anyone who's techminded and not scared to break/restore a headunit if something goes a bit haywire.. be my guest.. might be worth a write-up if someone is inclined to do so to explain it to the rest of us.
[FYT Android Head Units] ffh2303:
Hi everyone, I currently have a FYT UIS7862 unit that was flashed with Teyes CC3 firmware by the seller. Unfortunately the firmware doesn't support dark mode so for example Google Maps stays in white background (with dimmed screen) at night. Will I have proper dark mode switching if I reflash this unit with another firmware like from Joying? Or is this a flaw for all UIS7862 units?
[FYT Android Head Units] jawbraeka2:
I thought this was a time based thing??
[FYT Android Head Units] ffh2303:
On the firmware I have it does not react with time or the headlight switch.
[FYT Android Head Units] DexterMorganNL:
In Google Maps on my Mekede M500s it is, but when I run Android Auto it will switch to dark mode when I turn on my headlights.
[FYT Android Head Units] daviddosa:
You have option for both. You can configure your unit to switch to dark mode based on time. This can be a fix time, like 20:00, or can be based on sunset/sunrise(which makes more sense). You can also make it to switch to dark mode based on headlight.

Spoiler content hidden.
[FYT Android Head Units] BeeFGee:
Good day all, thanks to all the information posted here, I was able to understand how to backup my generic branded FYT 7862 unit. (Managed to figure out how to "splice together" the old scripts and the 'updated post 2nd Jul 2022 binary' for use in my unit.

However, try as I may, despite reading the forums here as well as at 4pda, I am unable to find any solution to my set up issue.

I have a RAISE CANBUS attached to my system which allows my steering wheel controls to continue working.

The function of one of the buttons, operates as a "scroll through" pages button.

Ie. On my original Headunit, it would cycle through "Radio-> Android Auto->usb music player"

However now, on the Android based interface, it cycles through "Radio->built in music player->default map application"

Whilst I understand at this stage that because I have used CANBUS, the function of the button cannot be changed,

Is there a way that I am able to modify this sequence of apps being cycled through instead?

There is a way to define the "default maps" programs on the unit, but there is no way for me to redefine the "default music player" program to Spotify, for example, and so the current sequence of applications is not useful to me.

Thanks!
[FYT Android Head Units] mariodantas:
Check this out: FYTHWOneKey

Then say thanks to @surfer63
[FYT Android Head Units] Petarkco:
Does anyone have a recommended app that shows bluetooth metadata and cover art?

The default app on Joying just has the metadata.
[FYT Android Head Units] BeeFGee:
Thank you @mariodantas for pointing me in the correct direction!

After some fiddling with the software, I realised that the default installed applications have default behaviours when the "mode" key on my steering wheel was pressed! ie. when pressed initially, it goes to

1. Radio

2. Bluetooth settings ( Phone )

3. Bluetooth settings ( Music )

4. Music Player

5. Video Player

6. Default Navigation software

IN THAT exact order.

Using FYTHWOneKey, if I were to change the No 2. position "Bluetooth settings(Phone)" app to one defined in FYTHWOneKey, I would then only have up to 2 app changes.

eg.

1.Radio

2.FYTHWOneKey defined "BT app".

If would not continue further to the rest of the applications in the "carousel". What I thought was an app carousel in which each app could be designated, turned out to be a situation whereby each individual application calls the hardcoded next app in the sequence via the hardwarekey!

This is a limitation of the way it was designed, not the software however!

So big shout out and thank you to @surfer63 for the wonderfully easy to use app.

Next to find out how to go beyond this limitation!
[FYT Android Head Units] jawbraeka2:
Has there been an update for your unit?
[FYT Android Head Units] jawbraeka2:
Is this through the canbus? Ie, head unit responds to light sensor? Very clever I must say as I have a Kia Rio and I hope the same thing happens.. would be great.
[FYT Android Head Units] Solvin:
@mariodantas

I can't find newer kernels on your website, only a old kernel 2022-06-27. You don't share new kernels anymore?
[FYT Android Head Units] DexterMorganNL:
My car doesn't have canbus, it works by switching on the car headlights ( dimlicht we call it in the Netherlands) and that would also light up the headunit touch buttons. So this is how Android Auto knows, to switch to dark mode ( although I don't really want this in daytime hehe ).

Surprisingly with Google Maps straight on the headunit, it only switches the brightness down. But not dark mode on.
[FYT Android Head Units] mariodantas:
Updated fellow, please check !
[FYT Android Head Units] gordgelin:
01.10.2022 firmware doesn't look like original. If it is that modified version which was posted on 4pda i wouldn't call it original and personally i would avoid using it until the person who posted it clears why it looks like mix of 27.06.2022, 22.09.2022 and 10.10.2022
[FYT Android Head Units] mariodantas:
Yes will remove from kernels section indeed !

Do you have origina 2022-10-10 ? I can post it as original and also Magisk rooted
[FYT Android Head Units] gordgelin:
no :( i do not have any kernel dated october 2022 at the moment. only september
[FYT Android Head Units] Solvin:
22.09.2022 or 13.09.2022?
[FYT Android Head Units] mariodantas:
Both available here: Mario DANTAS GDrive
[FYT Android Head Units] Rogerio Prazeres:
I do not remember exactly how, but after some tinkering on this very nice app I could have Radio->BT phone -BT Music -Spotify -> Radio again.

I think it worked changing only the event after the BT Music to Spotify, and since the Spotify do not call anything, it goes back to the radio.

But I gave up to use the "carousel" mode. I did realize that the carousel makes more sense in the original radio when you have few options and the radio do not choose the CD or the MP3 player if you do not have the media into the unit.

In the Android unit there are so many options for playing music that the carousel mode became more distracting then useful for me.

In fact, mine has now the <home> function on the mode key and <back> if you press V+ and V- together. In the home screen I have all the main apps.And if the unit has small capacitive buttons like mine, is safer and more practical to have those two functions on physical buttons. May you want to try and give-me the feedback. =)
[FYT Android Head Units] BeeFGee:
Thanks for the good idea!

Unfortunately in my case, the cars SWC are all through CANBUS and so I haven't connected the KEY1/KEY2 inputs to the HU at all. In so doing, I am relying on the CANBUS manufacturer to intepret those button presses as "mode, vol +, vol - ", which is unfortunately unable to be remapped at the moment.

I may just install a simple aftermarket remote to the KEY1/KEY2, to use my current SWC controls, AND the after market ones in parallel. Then I will remap the after market buttons, to whatever I want, eg. Button 1 = Spotify, Button 2 = Tidal etc ".

Will update if I manage to get the parts off Aliexpress soon!

Cheers!
[FYT Android Head Units] seb21:
Hi.

Maybe i have solution for you.

I have modded the ms.apk to add some extra functionality. One of the extras is to modify Canbus based Steering Wheel Controls. The mod is two part : modded ms.apk and settings app.

All info is in explanation.txt file.

You must replace your syu.ms.apk with this modded apk. Mod Config App.apk is normally installed as every apk.
[FYT Android Head Units] Petarkco:
I've found an issue where if I ask Siri on my Bluetooth connected iPhone to play a song the Bluetooth dialler app appears instead of the music one.
[FYT Android Head Units] Rogerio Prazeres:
Welcome to the bugs. =)

That is why so many people are trying mods to workaround those problems.

The worst ones are that the Radio and BT apps.

Sincerely, if you are used to use Siri voice commands, I believe the best way is to use Carplay.
[FYT Android Head Units] BeeFGee:
Fantastic!

Replaced the modded com.syu.ms apk and installed the "mod config app.apk" and yes, managed to "remap" my "mode" button to a home button".

Thanks @seb21 !
[FYT Android Head Units] BeeFGee:
@seb21

I'm facing some issues now. I believe I have not set the "block write to mcu" correctly.

Can u explain what is it I am supposed to block in the parameters field?

Cheers
[FYT Android Head Units] seb21:
Blok write to mcu Has nothing to do with steering wheel controls.

If you do not will to send your own commands to the mcu just don't turn it on.
[FYT Android Head Units] deadeye920:
Can this be used when using a no kill ms.apk?
[FYT Android Head Units] wowa-07:
Hallo,

ist es möglich die Antenne G5 zu tauschen?

ich habe sehr schlechtes empfang

Hello,

is it possible to exchange the antenna G5 (5Ghz)?

I have very bad reception
[FYT Android Head Units] daviddosa:
So nice. I was looking for something like this. I will try this out shortly.

I'm mainly using my headunit for Android Auto / Carplay, so I'm not worried about changing to different sources of media or apps. Is it possible to change the button what switches apps to send Play and Pause on Android Auto / Carplay with short press and trigger the assistant with long press / double press?

Edit:

I have got this to work. At first I tried updating it via AllAppUpdate.bin file, just replacing the original apk, which resulted in a corrupt firmware. I had to relash the whole firmware and after I was able to get the mod working with a simple replace script using the 7862lsec.sh file.

I was able to install the config app too and it let's me assign alternative actions to the steering wheel stalk on my Peugeot 308 with 1 exception.

When I open the app, and press the button which switches between apps, the config app shows what button I pressed, which is "Mode". If I change it's primary action(Assigned) to "Play Pause", the long press action to Voice Assistant, the Play Pause action doesn't work while I'm using CarPlay(I didn't test with an Android device). Voice Assistant works, and every single other action(except the normal Play, Pause, Play/Pause) which I've tried.

Would you be able to take a look at this, maybe there's something missing from the app?

Also what did you use to do the modifications on the com.syu.ms.apk?
[FYT Android Head Units] seb21:
The logic to use "no kill" is implemented, but the settings switch in config app is disabled. In few days i will put that switch back on the settings app.
[FYT Android Head Units] seb21:
To the Carplay problem.

All the mod is doing is to serve ms.apk new key code. Play/Pause is working at least in Spotify and others players.

Carplay is part of the firmware or do you use third party app?

apktool - decompile ms.apk to smali and compile it back

Android studio with "compile to smali" plugin - write new code

jadx - browse ms.apk code to find the right place to put my methods

2 versions of ms.apk. First is old, before obfuscation - the code is readable, classes,method and variables have names that are pointing to its purpose.

Second is new ms file (obfuscated), where i must find the same place in code as i chose in the old one.

If you want to try it for you self i can make you step by step guide.
[FYT Android Head Units] daviddosa:
I will try other options then. I tried setting Play/Pause on different buttons and even for double or long click, but it doesn’t work in CarPlay.

I use the same Carlinkit app for CarPlay as I used for Android Auto before, just recently switched to iPhone to try it out as I never had one before.
[FYT Android Head Units] seb21:
The place where you set Play/Pause does not matter, it still calls the same method. This method is used for all sources of buttons : analog SWC, canbus SWC and unit physical buttons.

The Carlinkit app with Android Auto wors normally or have the same issue ?
[FYT Android Head Units] daviddosa:
I’ll try tomorrow with my old android phone and report back. Also I’ll check what method is needed for music control in CarPlay.
[FYT Android Head Units] surfer63:
@seb21 Nice work (again. You already did it with the BT apk as well on a previous unit). I added your post to the end of the first post of this thread under "Mods, useful software, tweaks for your system, etcetera."

Do you agree?
[FYT Android Head Units] seb21:
Of course . Thank you.
[FYT Android Head Units] mariodantas:
Hi @seb21 jst a question, where can I find the compile to smali plugin for Android Studio please ?
[FYT Android Head Units] deadeye920:
Thank you.
[FYT Android Head Units] gordgelin:
directly in the plugin search in Android Studio
[FYT Android Head Units] mariodantas:
Hello @seb21 , this is what we needed for our FYT units, TS10 RedMOD firmware already implements that for the MODE button, and now you did it for FYT based firmware, CONGRATULATIONS you're my new hero !
[FYT Android Head Units] marchnz:
Yes please.

So good to read real development and developers sharing their skills for other to learn. I salute you.
[FYT Android Head Units] jawbraeka2:
I've got auto headlight and it works..

I set the headlights setting on and restarted the unit by pulling the notification bar from the top and resetting. Next thing I know, headunit reset and display was stsrting to show maps in night time mode, etc..
[FYT Android Head Units] Solvin:
Hey seb21. Very nice app!

But it's not working on my FYT UIS7862 unit. I replaced your modded ms.apk with a script and than installed the config app, so far so good. But the config app don't recognize a pushed button :-(
[FYT Android Head Units] seb21:
Your SWC is using canbus or Key1 and Key2 wires ?
[FYT Android Head Units] Solvin:
Canbus
[FYT Android Head Units] seb21:
Try manual selecting a button , for example let's take MUTE (if have it on your SWC) and assign another function to it.

What car and what can box do you have ?
[FYT Android Head Units] Solvin:
My Car is a Renault/Dacia Duster 2021 and the box is from SimpleSoft. I recorded a video (send via PN).

I've cleared all data and cache from MainSever app and restarted the unit.
[FYT Android Head Units] mickchip:
Trying to backup the firmware for this joying head unit and all I get when it restarts is the following. Any suggestions.
[FYT Android Head Units] daviddosa:
@seb21 Since I replaced the modded apk, my headunit shows the UI and MCU doesn't match(not 360 UI) message. I used the ChangeFYTManufacturer to set it to 116 which is Mekede, but the message is still there. Can you tell me what manufacturer the modded apk is from or what is the manufacturer code so I can replace it?
[FYT Android Head Units] seb21:
i took it from joying website . My unit Manufacturer is 124
[FYT Android Head Units] surfer63:
You mean when it boots from the usb-stick? Or after you made the backup?

If it is when you insert the USB-stick and then getting this on reboot: please give the listing on your USB-stick.

If it is after you have made the backup, I really don't understand. The script does nothing to your unit, only copy things off your unit.

Also: if it is your USB-stick, try with an lsec6316update from the latest 8518a firmware. We have seen that the latest lsec6315update for the uis7862 after 2nd of July firmwares. Maybe FYT did the same with the lsec6316update for the uis8518A firmwares.
[FYT Android Head Units] daviddosa:
Thank you, I'll try that number and report back.

Update: Used the script to change my ID to 124 like yours. The problem is still the same. "UI and MCU does not match (Not 360 UI)". I'll download the full firmware again tomorrow, and do a full reflash with "twipe_all" to start afresh.

My unit is Mekede (116) and up until this point I never had an issue with it, I hope it solves it. If not, I'll have to look for ways to disable the actual message without fixing the ID.
[FYT Android Head Units] BeeFGee:
Hi, I've installed the modded apk and have been using it.

My ro.build.fytmanufacturer=1

The model I have is a generic Chinese made model.

I have not encountered the "mismatching MCU" issue? Perhaps if you change the manufacturer to 1, the issue might go away?
[FYT Android Head Units] mickchip:
Yes when it boots from the usb stick it just says no command.
[FYT Android Head Units] seb21:
Probably you have older/newer MCU firmware installed.

Try this. I disabled MCU version check,
[FYT Android Head Units] seb21:
I started to write the guide , it will take some time . And not, I'm not a developer, my knowledge of Java and Android is at beginner level. The words that a real developer would use to describe my code would be : " what the hell is that"

But i don't care. It works and that's all what matter to me.

Every time i open Android Studio i'm learn something new.

So don't expect that this guide will be professional.
[FYT Android Head Units] daviddosa:
Before I have reflashed the whole system I gave this one a go. The message disappears which is good, but the CANBUS controls are broken completely. I am no longer able to change anything in the CANBUS menu and select different decoders.

After reflashing the whole ROM, the message disappears. Then changing the app again causes the message to come back. No changes were made to the manufacturer info this time. I have not tried replacing the number with various other numbers.

For my other problem with the pause button. It seems like there's something wrong on my car side. I realized that none of the Peugeots I've driven has a Plas/Pause button on the steering wheel. Bear in mind, mine doesn't have buttons at all on the wheel, but I have controls on a stalk. The stalk has 2 buttons facing the driver, each of those have another button facing backward, a scroll wheel to scroll between radio stations or seek the next station and a push button which pushes towards the steering column.

My car's original radio had the 2 driver facing buttons as Previous / Next, but on newer version of Peugeot cars (with the same looking stalk) those buttons have different functions and the track selection is now done by the scroll wheel.

Basically every option with a distinctive name(Radio, AUX, Navi, Dim...) works, except the Play/Pause, Play or Pause options. I even tried setting it to Mute to see if muting the music would stop it, because in some cars it does.

As a temporary fix, I can ask Siri to pause the music.
[FYT Android Head Units] seb21:
I have suspected that, but is was worth the try.

Send me your ms.apk. Will see how big the difference is.
[FYT Android Head Units] daviddosa:
Here it is.
[FYT Android Head Units] ludditefornow:
Hi Seb or others, do you have a step by step on installing this mod?

Would like to try it but don't have a great deal of time to reinstall full ROM if it goes astray.

What is the best method for backing up the original apk?