Skip to content

Xposed module to adapt functionality of the Joying Sofia 3GR and PX5 FYT units

License

Notifications You must be signed in to change notification settings

hvdwolf/XSofiaTweaker

Repository files navigation

XSofiaTweaker

!!! DISCONTINUED !!!

This Xposed module is discontinued. It was written for the FYT based Joying Sofia 3GR Intel car head unit. With some minor modifications it can run on an any FYT based car head unit running Android 6.0.1 or 8.0.0.

Development continues in the XFytTweaker Xposed module.




For releases see the "Xposed Module Repository or use the Xposed Installer on your Joying unit.

This Xposed module would not have been possible without the excellent Xposed framework by rovo89. Thanks a lot.
This Xposed module would not have been possible on Android 8 without the great RemotePreferences library from apsun.

This xposed module:

  • captures the hardware keys from the Joying unit and allows you to reprogram them. This must/can be configured from the Settings (sub)screen.
  • allows you to switch on/off the nokill.
  • allows you to unmute channel 4, which is used for Google voice feedback.
  • can act on the ACC_ON, ACC_OFF and Resume events.
  • has an option to prevent the Bluetooth app from staying full screen on top (thanks to @gtxaspec)
  • has an option to prevent the CANbus overlays popping up on heat/airco change or door(s) opening
  • has an option to run system calls as root (Know what you do!)
  • has an option to display the CPU temperature in the status bar next to the time
  • has an option to disable the yellow MCU errors overlay (in case this happens to you) (thanks to @RoNeReR)
  • supports a usb dac where volume control will be rerouted to stock android volume control (thanks to @RoNeReR)
  • eliminates feedback during the call if you have OK Google anywhere enabled (thanks to @gtxaspec) This must/can be configured from the Settings (sub)screen.

This module can replace the custom key mod mod from Gustden.

Please help to translate in your own language: see bottom of this page.

Working:

  • ACC_ON/ACC_OF (key 97 and 98)
  • Wake_up/resume (key 99)
  • NAVI (key 9)
  • Phone/BT(key 27) (confirmed by gtx(aspec))
  • BAND (radio) (key 34)
  • DVD (key 31) (confirmed by gtx(aspec))
  • Eject (key 32) (confirmed by gtx(aspec))
  • MEDIA (key 33)
  • SRC/Mode (key 37) (confirmed by gtx(aspec))
  • EQ button (with side effects: see below)
  • HOME (key 3)
  • double tap/triple tap of keys, meaning that you can "rotate" keys. For example: Your steering wheel BT or Mode/SRC button, can start the radio app on 1 tap, start a media player on 2 taps, or start the phone app on 3 taps.

Works with strange side effects:

  • EQ(ualizer) button: hardware keys disabled for 1-2 minutes, unit mutes and 1-2 seconds later unmutes andhardware keys work again.

ToDo list:

  • BACK (key 4)
  • ....

Note w.r.t. the NoKill function: Some apps prevent the unit from going into deep-sleep. The old SofiaServer simply killed these apps. This module doesn't do that if you enable the skipping/bypassing of that "kill" function. Some apps keep a "wakelock" preventing Android from going to sleep. The MCU detects the apps keeping the CPU awake and will completely switch off the unit, resulting in a cold-boot upon switching on the contact. That is not the fault of this module. It is the fault of these "bad behaving" apps. A way to overcome this is to kill this specific bad behaving app(s) on ACC_OFF event (key 98), and to start them again on the ACC_ON event (key 97).

Some preliminary images

Main settings screen Image of main settings screen Miscellaneous Settings Image of Miscellaneous Settings

Application Key Mod Settings Image of app key mods settings Call Method Image of app key call method String to be used Image of app key mods text string

What to do when the contact/unit is switched ON or OFF Image of acc_on_off_resume text string

System Key Mod Settings Image of System Key Mod Settings System Key Mod Settings modified Image of System Key Mod Settings modified

Info screen Image of System Key Mod Settings

Translations

You can help to translate this app into your own language.

See https://github.com/hvdwolf/XSofiaTweaker/tree/master/app/src/main/res You will see a folder values. In this folder you will find a strings.xml file. In this file you will find lines like: <string name="app_settings">Application preferences</string> and <string name="misc_settings">Miscellaneous Settings</string> The second part "Application preferences" and Miscellaneous Settings are the strings to be translated.

Note: Do use an editor that can handle unix linefeeds. Do NOT use windows notepad. Instead use a tool like Notepad++ (if you are on Windows)~~

If you are ready, create an issue (top menu of this page) and call it something like "Finnish translation" (or whatever your language is). Attach your file and again: specify which language it is!

!!! DISCONTINUED !!!

This Xposed module is discontinued. It was written for the FYT based Joying Sofia 3GR Intel car head unit. With some minor modifications it can run on an any FYT based car head unit running Android 6.0.1 or 8.0.0.

Development continues in the XFytTweaker Xposed module.

About

Xposed module to adapt functionality of the Joying Sofia 3GR and PX5 FYT units

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages