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

Search This thread

surfer63

Senior Member
May 4, 2010
5,736
3,063
Zwolle
github.com
Hi,

i ordered an EKIY T7 just to have it here as a test head unit. It should arrive in the next few days.

I also asked EKIY for the latest firmware and MCU.

They gave me this (uploaded it to GDRIVE): https://drive.google.com/file/d/1FYhu-YlEA5-O23aA3Y29wfOnmEcUznzr/view?usp=sharing
I downloaded it twice and twice I get a corrupt zip.
When I list the contents I still get the files insize, so maybe it is bacuse zip can't read some chinese signs.
I get the error "245760 extra bytes at beginning or within zipfile"
 
New release today:

2023-06-06
  • Added: Application Settings -> Run previously started applications on wake-up (disabled by default)
  • TYPE: FMC-UPDATE
Why that ?, I explain, sometime I found that some apps (like CamSam Plus) was dead after system wakeup from a long sleep time (the NOKILL is supposed to keep in in memory but.... for some reason the app passed away), so, when you enable this option, when FMC detects the ACCOFF signal, it stores the active applications and relaunch them (if not already running) on system wake up.

Voilà

Cheers fellows !
 
New release today:

2023-06-06
Thanks much, Mario - and good to see you keep your head up and are afloat again! Best wishes that these bad things get sorted soon and stop bothering you!

One question if I may: Joying has released a new FW on 15 May (https://www.joyingauto.com/blog/category/updated-files-released/) that comes with a new kernel also and they say no downgrade possible - am I right to assume that your latest version is not yet compatible? Would it be sufficient to use the attached Isec6315update extracted from the new Joying FW to flash your kernel? Or should I wait? Thanks!
 

Attachments

  • lsec6315update.zip
    854.2 KB · Views: 10
Would it be sufficient to use the attached Isec6315update extracted from the new Joying FW to flash your kernel? Or should I wait? Thanks!
Hi fellow, thankns for the kind words, about the latest joying kernel May 2023 and lsecxxxxupdate, let me check that prior to use their updater !

Thanks
 

ps3shitshow

Member
Jan 10, 2023
7
0
result.jpg
Hi, I have Mekede 600s purchased from official store on alibaba, Android 12, 128/6gb model. This is the error I get after trying to flash 06 - 06 rom on it, it just rebooted normaly after this screen, also same thing happened when I attempted to do backup with script that is provided in guide, anyone got guidelines or I missed something? And here is link from cpuz verification in case you need more information http://valid.x86.fr/a/a2y5lg
 

surfer63

Senior Member
May 4, 2010
5,736
3,063
Zwolle
github.com
View attachment 5928579Hi, I have Mekede 600s purchased from official store on alibaba, Android 12, 128/6gb model. This is the error I get after trying to flash 06 - 06 rom on it, it just rebooted normaly after this screen, also same thing happened when I attempted to do backup with script that is provided in guide, anyone got guidelines or I missed something? And here is link from cpuz verification in case you need more information http://valid.x86.fr/a/a2y5lg
You have downloaded the wrong firmware (it is not a ROM). Is it from 06-06-2022 instead of 06-06-2023? As far as I know the last/latest firmwares are from May.
After July 2022 they switched to another lsec6315update (lsec6316update for 8581a). That is the only reason why you get an error like this.

I was put on the wrong foot due to you using the name "ROM".
I assume they changed the lsec6315update and lsec6316update again. And you unit is so new that it requires this new version.
@mariodantas : I assume you need to use the lesec6315update from the latest Joying firmware or the latest FYT public firmware.
 
Last edited:

ps3shitshow

Member
Jan 10, 2023
7
0
You have downloaded the wrong firmware (it is not a ROM). Is it from 06-06-2022 instead of 06-06-2023? As far as I know the last/latest firmwares are from May.
After July 2022 they switched to another lsec6315update (lsec6316update for 8581a). That is the only reason why you get an error like this.

I was put on the wrong foot due to you using the name "ROM".
I assume they changed the lsec6315update and lsec6316update again. And you unit is so new that it requires this new version.
@mariodantas : I assume you need to use the lesec6315update from the latest Joying firmware or the latest FYT public firmware.
I am sorry for not mentioning "custom rom", I was trying to give as much information as possible, while I forget to use correct terms. Any way, should I wait for Mario to update something or no? Here is my hwinfo from app, and I also made fyt backup through app, I manualy installed it.

EDIT: If I can install this modification on my unit, can I change default radio and music app in default launcher? I dislike randomizer in music player and I am using NavRadio+ app, seems there is no option to choose default app for those things in settings
 

Attachments

  • HWget_info.zip
    222.6 KB · Views: 5

marchnz

Senior Member
Nov 26, 2012
6,000
1,292
NZ
I am sorry for not mentioning "custom rom", I was trying to give as much information as possible, while I forget to use correct terms. Any way, should I wait for Mario to update something or no? Here is my hwinfo from app, and I also made fyt backup through app, I manualy installed it.

EDIT: If I can install this modification on my unit, can I change default radio and music app in default launcher? I dislike randomizer in music player and I am using NavRadio+ app, seems there is no option to choose default app for those things in settings
RTFF
 

surfer63

Senior Member
May 4, 2010
5,736
3,063
Zwolle
github.com
I am sorry for not mentioning "custom rom", I was trying to give as much information as possible, while I forget to use correct terms. Any way, should I wait for Mario to update something or no? Here is my hwinfo from app, and I also made fyt backup through app, I manualy installed it.

EDIT: If I can install this modification on my unit, can I change default radio and music app in default launcher? I dislike randomizer in music player and I am using NavRadio+ app, seems there is no option to choose default app for those things in settings
Yes, Mario should check this first.

This modded kernel as such does not help you with that altering radio and music player (afaik).
For that you should use either @seb21 's modded syu.ms apk, or my FytHWOneKey apk (in my signature below my posts).
NavRadio comes with its own script to remove the default radio and replace it with Navradio. I do not know though whether it replaces/aliases the radio calls from the launcher. @seb21 's apk and mine do.
 
Last edited:

dishe2

Senior Member
Dec 2, 2020
198
50
Mario! Good to see you around again! Any chance you took a look at that app restore function?

Can't wait to see what comes next!
 
  • Like
Reactions: 1991-W201

Top Liked Posts

  • 2
    I had already done that, but magisk doesn't recognize root.
    if you already messed up your system before applying root script, you have to factory reset your device and install INCLUDED magisk manager for it to recognize root
    1
    Unfortunately I cannot confirm that. The script is executed but because /dev/block/dm-2 does not exist, the rooting process fails.
    Firmware: iying_7862-9863-_-720-1280-w8-dab-360_-_20230814he_2023-08-15_0035
    Can you explain what is going wrong?
    And if you refer to the last "Failed to open .." message, then first do your homework and read through this forum about what it means.
    1
    Unfortunately I cannot confirm that. The script is executed but because /dev/block/dm-2 does not exist, the rooting process fails.
    Firmware: iying_7862-9863-_-720-1280-w8-dab-360_-_20230814he_2023-08-15_0035
    That does not cause the rooting process to fail.
    The "/dev/block/dm-2 does not exist" error appears on every single firmware flash. It is an irrelevant error and can be safely ignored.

    There are dozens, if not hundreds, of mentions of this across multiple threads.
    1
    there was no error, boot patched, just install included magisk manager 23.0 and update magisk if you need for some reason. if you used some other version of magisk manager or smthing - do factory reset and install included version
  • 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 !
    4
    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
    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
    Is it possible to make the root rights check normal, and not check for the presence of SuperSu? To make FMC work with Magisk.
  • 21
    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.