GithubHelp home page GithubHelp logo

ronrazo / xsofiatweaker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hvdwolf/xsofiatweaker

0.0 1.0 0.0 1.02 MB

Xposed module to adapt functionality of the Joying Sofia 3GR SofiaServer system apk

License: GNU General Public License v3.0

Java 100.00%

xsofiatweaker's Introduction

XSofiaTweaker

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

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.

Beta !!

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!

xsofiatweaker's People

Contributors

hvdwolf avatar gtxaspec avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.