[MTCB Software Development] Malaysk:
Edit and create files *****.ini only the program Notepad ++ and put it in the section ENCODING - ENCODE in UTF-8 without BOM !!!!!​

Installing the Xposed Framework

Download the latest version of the apk file Xposed Installer on your UNIT, and set it by running using any file manager. After installation, start the application Xposed Installer, buyout you will find among other programs in the application bar of your device.

What is Xposed Framework for Android and how to install it on a Unit Xposed Framework for Android and how to install it on your unit

After starting the application, open the item Framework and click on «Install / Update». Do not worry if you find that your application is frozen - it will take some time, and eventually you should see a request for the provision of Super User Xposed Installer root rights, you should give it.

What is Xposed Framework for Android and how to install it on your unit

Then you will see a window in which to display the installation process. After installation, you will need to reboot your tablet or phone, that you can do right from the app by pressing the "reset".

What is Xposed Framework for Android and how to install it on your unit

All installation is complete. By itself, the Xposed Framework does not bear any new functionality to your device. All changes in the system are made by setting the individual modules, which provide you with new opportunities.

Activation of the module Xposed Framework

Once installed, you will be notified that the module is not active. Clicking on it will take you to a section in the application modules Xposed Imstaller. The same can be done through the application itself. Now, in order to activate the module, you must put a tick in front of him. In some cases, you may need to restart. To switch to the module, just click on it.

Xposed-mtc-manager ( author MVG-V70 )

Capabilities:

1. The module functionality moved xposed-mcu, not allowing the radio to go to sleep while scrolling starter.

When you receive a signal to shut down the unit produces a delay of 5 seconds, if at this moment reappears food, nothing happens in the absence of power cassette player goes to sleep.

Because of the implementation of inclusion in our MCU, for the period of voltage loss goes off the screen.

2. The module is implemented whitelist applications that do not allow the system to cover the necessary services and applications in the care to sleep and when you press the "Acceleration" in the curtain. Thus, the module eliminates the need for mtc-wakeup-service.

File exceptions must be on the outside of the map in the catalog mtc-manager. Filename whitelist.ini

The file should list the names of the application packages whitelist.

example

add to the white list MTC-Volume and MapCamDroid:

/external_sd/mtc-manager/whitelist.ini

com.mvgv70.mtcvolume

info.mapcam.droid

The names of packages and services can be taken from the application manifest file or with a program like Package Viewer.

3. Alternative screensaver with a list of exceptions that runs in any (even abnormal appendix). Staff alternative mechanism is activated screensaver.

screensaver

Settings in settings.ini file in the directory mtc-manager on the outside of the map.

settings.ini

# Including an alternate screen saver, if you specify false mechanism will work full-time:
screenClock=true
# Time off the screen when not set will be used the value of the full-time settings:
screenTimeout=60
# The name of the software package screensaver
screenPackage=com.microntek.screenclock
# Name aktiviti screensaver
screenClass=MainActivity
# If the name of the package and Activiti not specified, will use the standard screensaver

The list of exceptions is in the file ss_exceptions.ini - should list the names of the packages, for example:

ss_exceptions.ini

com.microntek.music
ru.yandex.yandexmaps

Also, the screensaver does not start when talking on the phone, rear view camera, navigation, and turn off the radio.

If instead of a beautiful clock screensaver MTCSreenClock.apk called conventional digital clock on a black background, it is necessary to make sure that the application is installed MTCScreenClock.

If the application is installed, you can try to set the parameters and screenClass screenPackage in settings.ini

4. Also in the module has a "backup" for the correct adjustment of sound in the MTC-Volume and MTC-Service.

volume adjustment in the firmware to Android 4.4.4

These insertions Chinese programmers take the current when adjusting the volume of the settings are not, but from a local variable that does not change when you change the sound third-party programs - and therefore the sound jumps occur when trying to adjust the sound of regular buttons.

6. Forwarding OBD-device bluetooth.

Device names must be listed in settings.ini file parameter obd_device a comma in the form in which they are visible in normal application speakerphone. You can not specify names, part names, such as:

settings.ini

obd_device=OBD,DUAL-SPP

7. Install the program list, to switch the MODE,

In settings.ini set

modeSwitch=true

Programs are switched one after the other.

For correct audio switching, applications should be managed (play / pause) programmatically via Intents. If the player does not support the start and stop of the external intent, the need to manually switch the sound.

Pressing the MODE button is searched in the list of active applications running. Further, the application is sent to the team (configured in mode.ini) to close or To pause the audio stream. Then Activiti runs by default for the next application, and the application sends a command to start the playback (also configurable in mode.ini)

mode.ini

# a list of selectable applications to be listed package names
[apps]
# original radio
com.microntek.radio
# PowerAmp
com.maxmpz.audioplayer
# music factory
com.microntek.music
# PCRadio
com.maxxt.pcradio
# factory DVD
com.microntek.dvd

# closing the regular application Radio
[com.microntek.radio:stop]
# name of intent
intent=com.microntek.bootcheck
# parameter name
extra=class
# parameter value
value=mode

# closing staffing Music app
[com.microntek.music:stop]
# name of intent
intent=com.microntek.bootcheck
# parameter name
extra=class
# parameter value
value=mode

# closing the regular application DVD
[com.microntek.dvd:stop]
# name of intent
intent=com.microntek.bootcheck
# parameter name
extra=class
# parameter value
value=mode

# including playing in PowerAmp
[com.maxmpz.audioplayer:start]
# service name
service=com.maxmpz.audioplayer.player.PlayerService
# name of intent
intent=com.maxmpz.audioplayer.API_COMMAND
# act: startService
send=service
# parameter name
extra=cmd
# parameter type
extra_type=int
# parameter value
value=3

# off playing in PowerAmp
[com.maxmpz.audioplayer:stop]
# service name
service=com.maxmpz.audioplayer.player.PlayerService
# name of intent
intent=com.maxmpz.audioplayer.API_COMMAND
# act: startService
send=service
# parameter name
extra=cmd
# parameter type
extra_type=int
# parameter value
value=2

# pcradio: start playing
[com.maxxt.pcradio:start]
# action: on behalf of the command root
send=cmd
# command root
command=am startservice -n com.maxxt.pcradio/.service.RadioService -a com.maxxt.radio.ACTION_PLAY_STREAM

# pcradio: stop playing
[com.maxxt.pcradio:stop]
# action: on behalf of the command root
send=cmd
# command root
command=am startservice -n com.maxxt.pcradio/.service.RadioService -a com.maxxt.radio.ACTION_STOP_PLAYBACK

View attachment 3738660

Xposed-mtc-volume ( author MVG-V70 )

1 Installation of regular player on pause for incoming / outgoing calls;

2 safe volume setting when switched on, based on a preset volume;

3 increase the volume depending on the speed. The steps are adjusted as the adjustment in the mtc-service;

the ability to turn on / off mute by pressing the play / pause;

4 setting the volume level adjustment for each full-time application. When you switch to the application volume will be increased by the amount of compensation, while output decreased. So I decided the problem of insufficient volume applications, "Music" compared to the "Radio";

5 change the screen brightness according to the time of sunrise and sunset. Brightness levels are adjusted. Time of sunrise and sunset is automatically determined with the possibility of correction. The brightness is also adjusted when exiting the Rear Camera and service settings;

6 Navitel clean shutdown when you turn off the radio. Broadcasted intent under which the service Navitel goes reboot.

View attachment 3738659

Xposed-mtc-bt ( author MVG-V70 )

Replacing the standard search the contact name for a phone number in the address book of an incoming / outgoing call.

Search on the following algorithm:

of contact numbers it is released for all symbols except numbers;

taken last 10 characters;

compared with the last 10 characters of the incoming / outgoing number;

in case of success returns the name of the contact.

View attachment 3674623

Xposed-mtc-radio ( author MVG-V70 )

xposed- module slightly improves the appearance of original radio. The idea was inspired by requests for increasing the number of saved stations :)

When switched off RDS in Settings - Factory settings - Other - disable RDS, RDS messages is displayed instead of the name of the radio station, which is taken from the configuration file mtc-radio.ini.

Also, the name is displayed on the buttons of your saved stations.

mtc-radio.ini

The file must be on the inside of card catalog mtc-radio. Utf-8 encoding without bom. If there are doubts about bom, leave the first line in the file is empty.

Directories and files you need to create your own module does not create them automatically!

example file

[Controls]
# Radio show names in the header RDS
title=true
# Radio show short names on the buttons
buttons=true
# Auto search button works on a long press
search=true
# Show pop-up notifications when the app is not active Radio. default false
toast = true
# Font size pop-up notifications
toast.size=22

# to display the names of the stations in the information RDS
[title]
90.80=Relax FM
101.70=Наше Радио
88.30=Ретро FM

# short names for display stations in buttons
[buttons]
90.80=Relax
101.70=Наше
88.30=Ретро

The format is the same frequency as in the show in the appendix.

If the label on the button found a short name in the [buttons], it will take a long name from the section [title]

Warning: Radio appearance of the application does not change! Only shows the name of the radio station, if the full configuration file.

View attachment 3738662

Xposed-mtc-keys ( author MVG-V70 )

Program that allows action to remap the buttons radio.

It adds the ability to run programs and perform various actions by pressing the buttons on the front panel of the radio.

The configuration file must be a redefinition of the buttons on the inside (/mnt/sdcard or /mnt/ internal_sd depending on the version of Android), or on the outside of the map external_sd directory (folder) mtc-keys and called mtc-keys.ini

Loading a configuration file takes place at the start of the recorder.

At the touch of a button, you can run:

Program

app_xx=package name

xx-button code, the package name, the name of the package installed program.

eg:

app_42=ru.yandex.yandexmaps

is assigned to the DVD program Yandex.maps

If you press when you run the program is already running, it is inactive.

Activiti

activity_xx= the name of the package / class name

xx-button code, the package name, the name of the package installed program, the class name, the full name of the class Activiti.

Activiti have triggered should be set sign exported = "true", or present a list of <intent-filter>.

eg:

action_51=com.estrongs.android.pop / com.estrongs.android.pop.view.FileExplorerActivity

Navi button on the main window is assigned to the call ES-Explorer.

Action

action_xx= action

xx-button code, the effect is one option from the list: home, menu, back, apps, screenshot, sleep.

eg:

action_51=apps

Navi button is assigned to access the list of applications.

Intent

intent_xx= Intent

sending a broadcast Intent.

Management of third-party player

media_xx=play/next/prev

Pressing the standard softkey

keyevent_xx=button code

Full list of possible codes, see. Constants KeyEvent.KEYCODE *

Maybe not all codes will work on our devices.

Launch of shell-command as root

command_xx=command shell

Remapping the button code

event_xx= button code

Visual settings there, so the names of the packages offered and Activiti determined using PackageViewer:

one two Three.

+++++++++++++++++++++++++++++++++++++++++++++++

Code List buttons

2 MODE, switch between regular applications ("Radio", "Music", etc.)

27 VOL-, Decrease Volume

19 VOL +, Increase the volume

4 MUTE, Mute / unmute

23 Calling the configuration modes and sound equalizer

42 DVD, Launch Application "DVD"

43 RADIO, BAND, Running the application "Radio" (second pressing - range switching)

When running the radio

5, 43 - Next Range

88 - On. / Off. TA

87 - On. / Off. AF

77 - Auto without saving (Intro) with increasing frequency since the beginning of the range

62 - Next Channel

61 - Previous channel

22.63 - Search the frequency decreases

24.64 - Search with increasing frequency

29 - Switch to Channel 1

30 - Switch to Channel 2

31 - Switch to Channel 3

32 - Switch to Channel 4

33 - Switch on Channel 5

34 - Switch on channel 6

18 - On. / Off. ST (stereo)

21 - On. / Off. LOC

44 LOUD, Enable / disable LOUDNESS

45 PREV, Previous track, previous tuned radio station, the previous DVD chapter

46 NEXT, next track, the next radio station tuned, the next DVD chapter

58 TUNE DOWN, rollback ago, the search for radio frequency step downwards

59 TUNE UP, Preroll ahead, search for radio frequency step upward

69 BLUETOOTH, Running Applications "Handsfree"

70 HANGUP, Put up the phone and end a call

80 PICKUP, pick up the phone to answer the call

When the application is running "Handsfree"

69 - Go to the dialer

70 - Hang up

80 - Off-hook

3 - Play / Pause music

6,22,45,61 - Previous track / the beginning of the track (music)

14,24,46,62 - next track (music)

13 - Stop (Music)

59 - Preroll (music)

58 - unwinding (music)

38 - Press the digit 0

29 - Press the digit 1

30 - Press the number 2

31 - Press the number 3

32 - Press the number 4

33 - Press the number 5

34 - Press the number 6

35 - Press the number 7

36 - Press the number 8

37 - Press the digit 9

49 EQ, switch between preset equalizer

50 Disable application "Speakerphone" (in fact does not work)

51 GPS, Starting the navigation application

72 AUX, Running Applications "External power" (AV-In)

57 HOME, go to the home screen

73 DTV, Running Applications "Digital TV"

67 (presumably) Run the screen calibration (for resistive screens)

74 SETUP, Run "Settings"

84 MUSIC, Launch Application "Music"

85 Switching between the screen brightness settings

3 PLAYPAUSE, Play / Pause

13 PLAYSTOP, Stop

View attachment 3674624

Xposed-mtc-music ( author MVG-V70 )

Module xposed-mtc-music, correcting the shortcomings of Chinese programmers and add new features in the staffing Music application.

- Automatic playback begins only when the automatic setting enabled, playback and playlist absence;

- At the start of the module waits to mount the carrier (where it was stopped), and then plays music with the right moment;

- Activate random playback of tracks ;

- Playing the next folder ;

- Return play at a specific time;

- Distribution of information about the currently playing file for music widgets (emulated Google Player);

- Control the media player using the standard commands from third-party widgets.

- Featuring mp3-tag in the modified Annex Music (utf8 encoding tags);

- If there is no title tag takes the file name;

- If there is no tag album folder name is taken;

- Showing the cover of the currently playing file in the directory, if there is a tag with a picture to your mp3-file;

- Hiding frequency visualizer;

- Show a popup notification when switching tracks;

- Display of tags in a modified screensaver

Options normally stored in a file on the gps-map: /external_sd/mtc-music/mtc-music.ini

File and directory you want to create your own.

basic settings

# Внимание! Это файл настройки для модифицированных плееров JY и KGL. На плеерах KLD функция просмотра тэгов с обложкой альбома работать не будет.

# Менять можно только параметры после знака =

# Attention! This is the configuration file for the modified players JY and KGL. On players KLD viewing function tag with album art will not work.

# Change the settings can only be after the = sign

[music]

# Название картинки из папки с музыкой, для отображения в плеере в качестве альбома и проекции на фон

# Name of the images from a folder with music, to display in the player as the album and the projection on the background

album_cover=cover.jpg

# Время перемотки в секундах, назначенное на виртуальные кнопки слева и справа от временной шкалы проигрывания файла. Вперед и назад

# Rewind time in seconds assigned to the virtual buttons on the left and right of the time scale of file playback. Forward and backward

fwdpress.time=20

backpress.time=20

# Настройка всплывающего сообщения о треке в плеере, если он не активен. Разрешение (true или false) и размер шрифта.

# Configure the pop-up messages on the track in the player if it is not active. Resolution (true or false) and font size.

toast=true

toast.size=22

# Формат всплывающего сообщения. Можно использовать %title% %artist% %album% %filename% и %fullfilename%. Можно комбинировать и вставлять свои символы и слова.

# Format pop-up message. You can use the %title% %artist% %album% %filename% and %fullfilename%. You can combine and embed their characters and words.

toast.format=%artist% - %title%

# Желаемый уровень прозрачности проекции обложки альбома на общий фон плеера (в десятых долях от 1). Если пусто, то по-умолчанию будет уровень 0,25. Чтобы убрать проекцию, поставить =0.

# Desired level of transparency of the album cover on the projection of the general background of the player (in tenths of 1). If empty, the default will be the level of 0.25. To remove the projection, put = 0.

background_alpha=

[screenclock]

# Выключение скринсейвера только при касании экрана. true - да, false - штатный режим работы.

# Turn off the screensaver only when you touch the screen. true - yes, false - normal mode of operation.

touch_mode=true

# Выключение скринсейвера при входящем звонке. true - да, false - панель телефона появляется на фоне скринсейвера.

# Turn off the screen saver when an incoming call. true - yes, false - of the phone appears on the background of the screen saver.

bluetooth.close=false

# Цвет информационных строчек скринсейвера. Можно писать =red, =green, =blue, либо в hex-коде =#ffff0000 (см. Googl). Если пусто, то по-умолчанию будет цвет от автора.

# Color information strings screensaver. You can write a = red, = green, = blue, or hex-code = #ffff0000 (see. Googl). If empty, the default will be the color from the author.

color=

# Формат даты скринсейвера, если задать, будет свой, если пусто, то по-умолчанию - EEEE d MMMM yyyy (вторник 2 февраля 2015)

# Format screensaver date, if set, will be your if empty, the default - EEEE d MMMM yyyy (Tuesday February 2, 2015)

date_format=

# Цвет и прозрачность фона скринсейвера. Сделать черным и не прозрачным так =#ff000000, или так =black, или любой цвет. По-умолчанию чёрный с прозрачностью 0.75.

# The color and transparency of the background of the screen saver. Make black and not transparent as = #ff000000, or so = black, or any color. By default, black with transparency 0.75.

background_color=

# Прозрачность проекции обложки альбома в Скринсейвере (в долях от 1). Ложится сверху фона (прозрачного, или черного). Чтобы убрать её совсем, поставить =0.

# Transparency projection album cover in the screensaver (in fractions of 1). It lies on top of the background (transparent or black). To remove it completely, put = 0.

cover_alpha=0.25

View attachment 3738661

Xposed-mtc-pcradio ( author MVG-V70 )

Small xposed-module to display information in a modified screensaver currently playing PC-Radio Station

View attachment 3738663

TO BE CONTINUED....