Software Development [KERNEL] FYT 7862 and 8581 kernel MD-EDITION with FMC

Search This thread

03hdfatboy

Senior Member
Sep 4, 2009
295
72
New release today:

2023-05-09
  • Added: Norwegian language
  • TYPE: FMC-UPDATE
Other than language added, is there any reason to update?
My ATOTO S8 G2 Ultra is almost perfect thanks to your 2023-04-03__FYT7862_FW. Only issue I have is occasionally Apple Carplay doesn't always connect when I start the truck, shows it waiting to connect but never does. After I press reset, it's good for a few days. Is there something I can do or not do to prevent it? Not a big deal at all, just don't know what causes it.
Thank you For all your hard work.
 
Last edited:

03hdfatboy

Senior Member
Sep 4, 2009
295
72
Just to confirm: My system is stable again. Definitely worth checking on apps and configs as those caused my problem.
I have discovered with the Atoto HU, third party launchers and apps caused nearly all the issues I had. Got rid of them and HU was more reliable. Now running Mario's FW and other than occasionally not connecting to Carplay it's perfect.
 

surfer63

Senior Member
May 4, 2010
5,717
3,045
Zwolle
github.com
I have discovered with the Atoto HU, third party launchers and apps caused nearly all the issues I had. Got rid of them and HU was more reliable. Now running Mario's FW and other than occasionally not connecting to Carplay it's perfect.
Normally in systems that deal with underlying hardware, you have a HAL (Hardware Abstraction Layer), that is an layer with standardized interfaces that allow all software on top of it to access the hardware in the same standardized way, even on different hardware as that is exactly where this HAL is for (Android apks on Intel/ARM/mips/etcetera, or Linux on top of intel/arm/etcetera) .
The "problem" with these FYT units is that their HAL is actually the MCU. As such that is a good approach for your own closed system and is used in many embedded software environments, but a 3rd party launcher or app doesn't know about this MCU layer and trusts on Android HALs between the android layer and hardware.
The FYT launchers do have some own intelligence built in to deal with the MCU.

And I am afraid these Chinese unit builders will never switch to Android Automotive.

Edit: And when it comes to standard HALs on Android like Bluetooth and USB, they cripple it.
 
Last edited:

labkos

Member
Oct 8, 2007
31
0
Hello. Is it compatible with this device?
 

Attachments

  • Lumii_20230421_214649743.jpg
    Lumii_20230421_214649743.jpg
    2.2 MB · Views: 56

gaur7v

New member
Nov 3, 2016
2
1
@mariodantas Thanks for amazing work.

I flashed MD-EDITION today on my 11.6 Inch Joying HU (JY-UQS11N8G-H) and the process was smooth.

My primary goal to install this firmware was to increase font size and this firmware helped it but not completely. I increased the Font scale factor but font of some text fields is not getting affected. Android settings generally have separate setting for Font Size and Display Size but in the FYT app there is only Font scale setting, could this be the issue?

Attaching before and after images
 

Attachments

  • Before_1.jpg
    Before_1.jpg
    3.3 MB · Views: 102
  • After_1.jpg
    After_1.jpg
    2.3 MB · Views: 103
  • After_2.jpg
    After_2.jpg
    2.2 MB · Views: 100
  • Like
Reactions: 03hdfatboy

03hdfatboy

Senior Member
Sep 4, 2009
295
72
@mariodantas Thanks for amazing work.

I flashed MD-EDITION today on my 11.6 Inch Joying HU (JY-UQS11N8G-H) and the process was smooth.

My primary goal to install this firmware was to increase font size and this firmware helped it but not completely. I increased the Font scale factor but font of some text fields is not getting affected. Android settings generally have separate setting for Font Size and Display Size but in the FYT app there is only Font scale setting, could this be the issue?

Attaching before and after images
See you got Tom & Jerry, one of my favorites 😎👍 I have every one of them. Watch the very first 1. The lady calls Tom “Jasper” not Tom.
 
  • Like
Reactions: gaur7v
Sorry fellows, I'm not a professional that can provide a 5 stars after sales service to all of you, but you deserve it I have no doubt.

My personal live is just now rolling down the stairs.

From lowest to highest level of mental disaster I'll list the facts below:

1-) Car paintshop in the court
2-) I lost y job
3-) Mother with cancer in advanced stage (I pray I swear)

All of this is obviously personal but I don't have problems sharing with all of you.

In fact I'm away from XDA (and other sites) due to all the probles to handle and my mental going weaker and weaker every day.

Now about FMC:

I've seen some crashes while rebooting device from FMC, someone here can confirm that crashes when you need to reboot the device from FMC ?

Thanks fellows !
 

mrchloo

Senior Member
Jun 25, 2008
74
21
New to this, can someone verify for me, is kernel compatable with the hardware ?. tq
 

Attachments

  • Screenshot_20230601_230210.jpg
    Screenshot_20230601_230210.jpg
    275.8 KB · Views: 50
  • IMG_20230601_225450.jpg
    IMG_20230601_225450.jpg
    1.6 MB · Views: 49
  • IMG_20230601_225335.jpg
    IMG_20230601_225335.jpg
    1.4 MB · Views: 35

louforgiveno

Senior Member
Jun 24, 2010
3,964
2,500
Sorry fellows, I'm not a professional that can provide a 5 stars after sales service to all of you, but you deserve it I have no doubt.

My personal live is just now rolling down the stairs.

From lowest to highest level of mental disaster I'll list the facts below:

1-) Car paintshop in the court
2-) I lost y job
3-) Mother with cancer in advanced stage (I pray I swear)

All of this is obviously personal but I don't have problems sharing with all of you.

In fact I'm away from XDA (and other sites) due to all the probles to handle and my mental going weaker and weaker every day.

Now about FMC:

I've seen some crashes while rebooting device from FMC, someone here can confirm that crashes when you need to reboot the device from FMC ?

Thanks fellows !
Sorry to hear.
Take care of yourself and your Mother and keep your chin up.
 

[email protected]

Senior Member
Sep 28, 2013
194
40
45
SÃO PAULO
Sorry fellows, I'm not a professional that can provide a 5 stars after sales service to all of you, but you deserve it I have no doubt.

My personal live is just now rolling down the stairs.

From lowest to highest level of mental disaster I'll list the facts below:

1-) Car paintshop in the court
2-) I lost y job
3-) Mother with cancer in advanced stage (I pray I swear)

All of this is obviously personal but I don't have problems sharing with all of you.

In fact I'm away from XDA (and other sites) due to all the probles to handle and my mental going weaker and weaker every day.

Now about FMC:

I've seen some crashes while rebooting device from FMC, someone here can confirm that crashes when you need to reboot the device from FMC ?

Thanks fellows !
Be strong brother, all of this is to see how strong you are and you won't lower your head because of it, Faith friend, all of these are life's challenges....
 
Be strong brother, all of this is to see how strong you are and you won't lower your head because of it, Faith friend, all of these are life's challenges....
Thanks fellow, I appretiate your encouragement, I'll not fall down, in a few days I'll be back to FYT affairs !
 

shavenne

New member
Aug 10, 2011
3
1
36
Paderborn, Germany
Just installed the MD-Edition on my Joying JY-UQD80N6G-DA.
First unexpected thing: FMC is not there after install. The other thing: I don't have any audio after that. Can't even open the volume control (just stuck at 18).

So it doesn't seem to be compatible (yet?). Is there anything we could do?

1685819008629.png


Link to the original firmware if neccessary: Link
 
Last edited:

surfer63

Senior Member
May 4, 2010
5,717
3,045
Zwolle
github.com
Just installed the MD-Edition on my Joying JY-UQD80N6G-DA.
First unexpected thing: FMC is not there after install. The other thing: I don't have any audio after that. Can't even open the volume control (just stuck at 18).

So it doesn't seem to be compatible (yet?). Is there anything we could do?
Show us a listing of the usb-stick you used.

the kernel has nothing to do with how the volume is arranged. That is the Android layer talking to the MCU.
 
  • Like
Reactions: shavenne

shavenne

New member
Aug 10, 2011
3
1
36
Paderborn, Germany
Your post made me skeptical so I formatted the usb stick and extracted the files to it again (on a windows machine this time instead Mac) and it seems to work now. Audio is working, volume control ist working, FMC is installed.

Either there was something wrong on the usb stick (even I also formatted it before on the Mac, so actually it should have been clean) or it's working now because I installed the new Joying firmware which was released in May 2023 before that. I had something from October 2022 before.

Anyway, thank you :). I'll now investigate if everything else is working.
 
  • Like
Reactions: surfer63

mrchloo

Senior Member
Jun 25, 2008
74
21
just sharing fyt official release 7862s no 360 1280x720 20230510 firmware.

"公版7862S_国内横屏_非360全景倒车_1280x720_20230510. rar"

 
Last edited:

Top Liked Posts

  • 2
    I have installed the version for 8581 for my new multimedia. It has been installed and upon restarting I got the message "encryption IC authentication failure code 2". Could someone tell me why he says this? thank you.
    Errors in the status bar are different.
    "UI and MCU does not match" - change the identifier in the config.
    "Plugin serial port/dev/ttyS1 was used" - disable BSP Serial Debug in developer settings
    "Encryption IC authentication failure CODE :2" - return native MS.apk
    2
    Hi, @mariodantas I was looking at your website and I saw something called by you (Upgrade Bundles) maybe because I don't have much experience but I don't know what it is or if it matters to install.
    I still searched the post but didn't find anything on the subject.
    thanks
    Just download them and read the instructions inside the ZIP, I'll explain in a near future in the website !
  • 8
    New release today:

    2023-09-17
    • New kernel from Aug 05th, 2023
    • Kernel level: Nothing new (as per my research)
    • FMC: Added: Restart USB hub on system wake up option (FMC settings)
    • FMC: Added: Automatically check and fix /oem/ files/folders permissions ONLY if FYTBackup failed.
    • TYPE: MD-EDITION-UPDATE or FMC-UPDATE
    6
    Many thanks to @LLIyT_HuK who is testing my apk (that will be) capable of coupling with magisk rooted kernels !
    3
    the link is broken can you give new one
    No. I removed it already..We are 3 months further now.
    Check the "Stock Firmware post (AliExpress uis8581a) post"
    2
    Hi, @mariodantas I was looking at your website and I saw something called by you (Upgrade Bundles) maybe because I don't have much experience but I don't know what it is or if it matters to install.
    I still searched the post but didn't find anything on the subject.
    thanks
    Just download them and read the instructions inside the ZIP, I'll explain in a near future in the website !
    2
    Is it possible to make the root rights check normal, and not check for the presence of SuperSu? To make FMC work with Magisk.
  • 20
    Hi community

    I'm happy to introduce Kernel MD-EDITION for FYT 7862 units.
    This firmware is built into the latest kernel released on 2022-12-09.

    Internal mods:
    • Improved SPRD parameters to use more GPU to render instead of consuming CPU for these tasks.
    • Added detailed memory support for units with 8Gb of ram (Original kernel takes config from 6Gb section to be applied to 8Gb units), specially the kernel panic limit has been adjusted.
    • Improved memory handler for 6Gb RAM units and 8Gb RAM units (Below 6Gb the memory handler has not been improved)
    • Includes "su" machanism always disabled (commanded by the provided Fyt Control Center application).
    • Removed "Google Digital Wellbeing" application.
    The firmware is provided with an application named "Fyt Management Center" which exists in both User or Platform builds. The version provided with firmware is obviously the Platfom build, the application is flashed as a system-app automatically after firmware install.

    What can you do with Firmware MD-EDITION coupled with FYT Management Center Platform app ?
    • You can do FYTBACKUPS (OEM application backups) on the fly, delivered in ZIP format the you can use any app (i.e. Amaze or CX File explorer or SYU Filemanager) to send the backup to an USB pendrive or your google drive account, this is at your choice.
    • You can do Backups of your /data/{data,app} folders and, as for the FYTBACKUP, you can download it to an USB pendrive or store it wherever you want.
    • You can change the font scale factor (useful as most of the new chinese modified com.android.settings don't provide access to Font section).
    • You can handle FYT Launchers, add, backup, remove, on the fly whitout using the lsec flash procedure.
    • You can handle OEM apps, backup, replace, on the fly whitout using the lsec flash procedure.
    • Special handler for file "pwctl_config.xml" stored in /oem/app, this file contains all the applications that chinese developpers consider that they should start when BOOT_COMPLETED broadcast is sent by the system (i.e. some TEYES apps, and other chinese apps), now, if you install an application that has (in the app manifest) the "RECEIVE_BOOT_COMPLETED" permission, the package name of your app will be automatically whitelisted in this file, allowing the app to obey to the BOOT_COMPLETED system broadcast.
    • You can Enable and Disable Root Schema. When enabled, Fyt Management Center puts "supersu app" in the system as an User apk and installs it silently, then reboot the system automatically to enable root privileges, when you disable Root Schema, the opposite happens, supersu.apk is removed silently and the Fyt Management Center app reboots the system automatically to disable the root schema.
    • You can set autolaunch applications at system boot time (whatever app installed in the system) you can also chose to autostart every selected app in background.
    • You can access embeeded Bluetooth settings. (latest chinese modified com.android.settings doesn't include the Bluetooth menu anymore).
    • You can lock the system (i.e. you leave your car in the mechanic and don't want to leave open access to your device)
    • You can set day or night UI system mode
    • You can enable / disable NOKILL function (only available in MD-EDITION WITH MAINSERVICE)

    I require your attention for the following:


    You MUST uninstall (il already installed) FYT Management center user edition before flashing the Firmare MD-EDITION (as it comes with a different version intended to run as system user)

    From 2023-04-01, Kernel MD-EDITION (not FMC updates) will be released

    based on Kernel 2023-02-27 with the latest lsec6315update file.
    You WILL NOT BE ABLE TO ROLLBACK to kernels released before November 2023.


    • Not suitable for TEYES units (FYT=95)
    • Not compatible with UDT software
    • Not compatible with ROOTED WITH MAGISK Kernels

    From 2023-01-27, MD-EDITION will be shipped in 2 flavours:
    Original and with a custom "com.syu.ms" apk to avoid killing apps before going into sleep mode.
    This behaviour also maintain accessibility apps running and does not allow accessibility setting going OFF.

    FYT_7862_FIRMWARE_MD_EDITION.zip
    FYT_7862_FIRMWARE_MD_EDITION_WITH_MAINSERVICE.zip

    FMC_UPDATE.zip will be always delivered without custom com.syu.ms

    If you already use another custom com.suy.ms file, you should use the "NO_MAINSERVICE" flavour.


    I can't be taken as responsible for any damage caused to your unit, you're supposed to know how to flash a FYT 7862 based unit and I'll not talk about "how to flash a 7862 FYT unit or woh to flash my original kernel back" here.


    By installing Firmware MD-EDITION with FMC embedded app, You will NOT loose any of your third party installed apks, apk updates, settings and data.

    You should have a copy of your 6315_1.zip, your AllAppUpdate.bin and your config.txt in case you want to roolback your installation (even if the AllAppUpdate apps and config.txt will not be modified in the MD-EDITION installation.
    The installation procedure is like any normal kernel upgrade (FAT32 USB Pendrive, firmware in root of USB and plug it to unit, that's all).

    This firmware and the FYT Management Center App are both based on mutual trust, the FYT Management Center App is a system app using System as user to perform the embeeded tasks (services / activities)

    Obviously the source code isn't available in Github or other public places, but you can use apktool to backsmali and analyse the app, even I encourage you to do that if you think (or doubt) about the app doing "tricks" that aren't meant to be done.

    At first boot, when opening the App and only if internet is reachable from your headunit you'll be asked for registration, with email, first and last name, and a password, this will automatically register you in my fytfactory website as a user (more advantages to come in the near future), then after registration you can use the app.

    In the second boot, the app will check your system for previously installed apks that may have "RECEIVE_BOOT_COMPLETED" permission in their manifest, and will auto whitelist that apks in the "pwctl_conf.xml" file to be sure that your apps will receive the BOOT_COMPLETED and act normally without chinese restrictions. This second boot may bring your unit slow for a couple os seconds (in 6Gb or 8Gb units) or a minute or two (in 4Gb or less RAM units) while whitelisting your applications. Anyway every process running by FYT Management Center will be notified to you by a colored Toast message.

    Fellows, I whish that you will enjoy the firmware as I enjoyed the creation and test period.

    The firmware is available as BETA eve if it's stable (tested in me 4 different FYT units with 2, 4, 6 and 8Gb of ram)

    New updates will come alive with time, you will be notified by email (that's also why the App requires registration).

    If you enjoy the firmware with the FYT Management Center App, just think about how many cofees, coca cola and other stuff I drunk not to mention the white nights passed behind the screen surrounded by a bunch of FYT 7862 units to test the Kernel and the FYT Management Center App, you can be generous and donate for a single cofee, of course this is NOT MANDATORY at all.

    IMPORTANT: I seek every file on the kernel to find out some eventually functions/programs sending our data to chinese servers and I didn't find anything, it seems to be safe at kernel level, but I'm concerned about apks inside AllAppUpdate, but AllAppUpdate is out of my firmware's scope.

    You can read more about the firmware and download it in my FYTFACTORY website: Fyt Management Center MD-EDITION

    FYT Management Center App is available in English, French, German and Russian, other languages to be added in the near future.

    If you have ideas to be implemented they are welcome.

    Sorry for the lack of screenshots/images here, you'll find them in FYTFACTORY.

    FYT one day, FYT everydays !

    If anyone needs a language that is not included in FMC, you can get the attached strings.xml and provide it back translated in your language named as the following pattern: "strings-xx.xml" where "xx" is the ISO code of your country.

    DONATIONS: (Pay me a coffee ?, a beer ?, a McDonnalds ?, other thing ? encourage me ?, all types are welcome !, anyway MD-EDITION remains FREE !)​

    BTC: 3AhqT2LmE6Z9NsDNL3UEV4757mX5M7kFXL

    PAYPAL: [email protected]

    BOOSTY: https://boosty.to/mariodantas

    N'joy fellows .

    Cheers from France
    13
    @surfer63 you can do whatever you want with MD, also share in your own github (kernels and even my scripts, no worries about that)

    I'll be out of business for a while, too many personal problems this year to allow enough time to try to improve things.

    P.S. If you need my scripts to compare with yours, I can feed them to you, no probs !
    10
    New version released today:


    2023-08-21
    • New kernel from Jul 24th, 2023
    • Kernel level: Nothing new (as per my research)
    • FMC: Fixed error while backing up /data/{data,app} dirs
    • TYPE: MD-EDITION-UPDATE or FMC-UPDATE

    P.S. Sorry for the slow work, but things take priority in my life now !
    10
    IMPORTANT:

    I'm not here to manage stuff like config.txt, AllAppUpdate.bin or even how to recover my unit if i I messed up a thing.

    No more question out of MD-EDITION scope, you're alll supposed to know how to flash a unit and what you CAN'T DO that can damage your unit !

    Cheers !
    10
    Fellows, sorry for the upcoming out of scope message (not MD-EDITION related)

    In the past days I was victim from the Paintshop garage who literally destroyed my car, not only the paint is a shame but also some internal components (dashboard, plastics, glovebox and other stuff) have been damaged seriously

    This is only to flush my soul as I feel the need of cry like a child even if I'm 48 years old

    Now, I've paid a lawyer to assign the Paintshop in the penal court and civil court as the owner also made threats against me and my family in the event of a summons to court, I also requested a removal measure for him and all his family or social entourage outside my municipality of residence.

    My vehicle is in automotive expertise because the damage is so important that it no longer complies with the French highway code

    Allow me to step away from MD-EDITION for at least a month because this matter occupies all my mind, but I promise you not to abandon this project, as soon as I get out of this nightmare, I will come back with new ideas for our platform, please excuse me this, I tell you, see you soon my dear friends.

    FYT one day, FYT Everydays !

    Mario DANTAS
    France.