MTCB/MTCC rk3188 (4.4.4) Firmware

Status
Not open for further replies.

dsa8310

Senior Member
Sep 21, 2014
2,007
1,016
193
Another mtcservice update, to:

mtcservice-2.42.apk

This version will warn to reboot ASAP, via a toast message, about either an initially generated ro.serialno parameter, or a subsequent change of it (in preferences), whenever the service is (re)started (this happens at activity start as well, if enabled) or its activity gets paused (hidden).

No change of ro.serialno, no toast at all, as before.

I will upgrade the LP version of mtcservice, too, with this feature.

===
I have just double checked that a different ro.serialno than that set at TT GO first run will prevent internet access for downloading map/voice updates. So, parameter ro.serialno matters, after all, thankfully.

However, another condition that I have overlooked is, apparently, to be registered as a TT GO installer in the Play Store.
Since I have been using TT GO for a long time, I have most certainly at least once complied with this requirement... while using LP or/and an earlier version of TT GO, perhaps.

I will look at the Device Faker xposed module, maybe there is something to be ported into mtcservice as well.

===
For convenience, firmware in the OP has been updated, too, albeit a simple update of mtcservice will do.
 
Last edited:
  • Like
Reactions: djgus74 and elyl

StSt123

New member
Jan 13, 2017
1
0
0
3G USB-Stick reconnect

Hi,
first, thank you for this incredible fast rom! :)

Unfortunately, I noticed a small problem:
If the 3G USB-Modem is connected and i switch off the unit by ignition for a short while (for example at a Gas Station),
Mobile Data will not be reconnect. Same happens if i use the powerkey of the unit to switch it off.
The only way to reestablish the connection is resetting the device by long pressing the power button.
Wifi isn't enabled and should not be cause.

Does anyone have a solution for this?
Thanks!
 

Thhhza

Member
Jul 9, 2017
8
4
3
Melbourne
I have to say this is the fastest ROM I have tried and has finally made my unit actually usable. Apps can be used immediately after starting the unit and switching between apps is really fast too. Can't believe it was the M ROM that was the problem all along, what a resource hog!

Question, what is the difference between the mtc-service that comes with the ROM and the app made by petrow that is available from the app store? The one that comes with the ROM doesn't support media keys with Spotify whereas the one on the app store does.
 

dsa8310

Senior Member
Sep 21, 2014
2,007
1,016
193
Hi,
first, thank you for this incredible fast rom! :)

Unfortunately, I noticed a small problem:
If the 3G USB-Modem is connected and i switch off the unit by ignition for a short while (for example at a Gas Station),
Mobile Data will not be reconnect. Same happens if i use the powerkey of the unit to switch it off.
The only way to reestablish the connection is resetting the device by long pressing the power button.
Wifi isn't enabled and should not be cause.

Does anyone have a solution for this?
Thanks!
In short, no.
My solution is described somewhere in the original firmware thread... in post #253.
It uses an intermediary (small) router that understands even LTE modems, solving all issues. The Ethernet USB adapter is not mandatory since router can act as an wifi access point, too.
 
  • Like
Reactions: StSt123

dsa8310

Senior Member
Sep 21, 2014
2,007
1,016
193
I have to say this is the fastest ROM I have tried and has finally made my unit actually usable. Apps can be used immediately after starting the unit and switching between apps is really fast too. Can't believe it was the M ROM that was the problem all along, what a resource hog!

Question, what is the difference between the mtc-service that comes with the ROM and the app made by petrow that is available from the app store? The one that comes with the ROM doesn't support media keys with Spotify whereas the one on the app store does.
Good question, @Petrows app is available in source, so I will see what was lost in my transition...
Wow, he went further away with his original development, which explains the extended support. I will try to (re)merge the code.

===
Since we run under KK, with no dark display issues (that required my xposed intervention), I will check out his app, to make sure that it acts as a dialer; if not, I will add minimal support in the manifest; if OK, I will leave it alone and make the (bigger) LP xposed module and (small) KK xposed module a separate app, respectively (or one app maybe).

On the other hand, piggybacking on his app seems easier to me...

===
Another approach, for KK only, is to find other xposed modules that handle ro.serialno and the other parameter left, config_voice_capable, to be set to true, and use his original app - if it acts as a dialer correctly.

For LP, the extra spoofing of the MCU name, combined with install-recovery.sh support are mandatory.

===
I checked it out: it needs merging some code I had added: an AndroidManifest adjustment to make it a dialer (easy); the menu item that would start True Contacts is unnecessary, but does not hurt either; a change to avoid two icons in the top bar when powering off and on (before complete power off); the miles/kilometers per hour gimmick, maybe; menu for starting other/player apps on boot is nice, but probably ineffective because when mtcservice/headunit is early started from script install-recovery.sh, other apps won't start quickly without retries (I will see source, add them if not there).

Otherwise it is a remarkable improvement!
 
Last edited:

dsa8310

Senior Member
Sep 21, 2014
2,007
1,016
193
For KK and LP - if the new LP firmware is installed:

mtcservice-2.60.apk

It's @Petrows' latest, plus: dialer for the HU, "clean" one icon at a time in the status bar (even after power off/on), and the miles per hour alternative to kilometers per hour gimmick.

I also assume all supported players are now properly handled (Spotify included).

People having the mtcsound (hardware including) setup, can use the "Alt..." choice in the MTC Sound's settings screen in order to have radio playing in the background (of the navigation app), under KK, although I don't recall about such issue under LP.

The app is not tainted with any xposed module. I plan on making a separate common xposed module/app, for use under both KK and especially LP. Then this mtcservice app will also be good for both LP and KK, as its author had planned.
 
Last edited:

Johny DJ

Senior Member
Apr 19, 2013
392
139
0
Does anybody know why on kitkat and latest mcu kld 9 or 6 which can store stations after a (hard) reset the stations are not there anymore.
It worked under lollipop but on kitkat not.
Is this maybe mcu - kernel related if anyone know or noticed ?
 

Oldpapa49

Senior Member
Nov 27, 2011
900
176
0
Eagle Mountain
Hello ,
How to make the car radio not turn off when I start the engine of my car (it restarts immediately after) ??
If I recall, they remove power so not to lower voltage to accessories that might damage electronics.
Lets say, while starting, instead of having the radio on and when you start, the voltage drops to 10.5 volts while cranking, then back up to 12v when in run.
This will be like a brown out and can be unsettling to the electronics.

It also allows to have that extra power that might be needed for starting. The Starter can do some back EMF
 

dsa8310

Senior Member
Sep 21, 2014
2,007
1,016
193
Good news, the separate xposed module app is ready an working as expected. I am still chiseling the corners of its icon... :) Choosing its name.
I will release it for KK immediate use, ASAP, while the LP firmware, although it will use the very same module/app, it also needs extra changes to have it taken into account.
 

dsa8310

Senior Member
Sep 21, 2014
2,007
1,016
193
The separate xposed module:

mtcxp-1.0.apk

It's readily good for KK.
LP needs an extra setup that will be accompanied by a new firmware release, by tomorrow, hopefully.
Done.

It's a basic preference app & module that after an eventual reconfiguration (followed by reboot), one can safely forget about.

Firmware has been updated in the OP, although installing mtcservice-2.60.apk & mtcxp-1.0.apk is enough.

===
I remind that all visible, disabled and even not listed at all parameters in this app, they were all "xposed" in the older versions of mtcservice.
Parameter ro.serialno, editable, is important for apps like TT GO.
While the inaccessible, but nonetheless present parameter sta_mcu_version handles under LP 5.1 the Klyde's "dark" display issue, their botched attempt at selling MTCC devices as incompatible with our MTCB ones.
The third, disabled parameter under KK, but configurable under LP, TYPE_WIFI returned by all calls to NetworkInfo.getType(), when set, will let apps like, again TT GO, to use wired and other kinds of networking, beside wifi, for downloading map/voice updates.
Less significant is parameter config_voice_capable, could have either value, good, I think, for configuring other dialers, when true.
 
Last edited:
  • Like
Reactions: djgus74

dsa8310

Senior Member
Sep 21, 2014
2,007
1,016
193
I have released the new LP firmware, so from now on, both KK and LP could use the same pair of apps, mtcservice-2.60 & mtcxp-1.0.

From testing it, I can tell that indeed LP can switch between apps better than KK...
(yes, I am under LP right now :) )
 
Last edited:

Johny DJ

Senior Member
Apr 19, 2013
392
139
0
I have released the new LP firmware, so from now on, both KK and LP could use the same pair of apps, mtcservice-2.60 & mtcxp-1.0.

From testing it, I can tell that indeed LP can switch between apps better than KK...
(yes, I am under LP right now :) )
Wooow nice, so I suppose if I have kitkat all configured I can just install mtcservice-2.60.apk & mtcxp-1.0.apk or I have to flash whole firmware again?
I read about five times but cannot fully understand what new xposed module does :) Probably extra permissions for TT GO working correctly...

P.s. just for info: for poweramp there is updated xposed module that handles poweramp media keys and also can bus items displayed like ordinary MTCmusic app. And also when opening mtc app poweramp stops itself and also conflict while using meda keys when radio is opened is solved that poweramp doesn´t skip songs etc. in background.
 

dsa8310

Senior Member
Sep 21, 2014
2,007
1,016
193
KK people should only upgrade mtcservice to v2.60, and install mtcxp.

LP users should firstly update mtcservice to v2.60, then immediately, without another reboot should update, from recovery, the respective firmware fully without "clear all" or "wipe all", preserving so their configurations -- if they update my previous version of firmware, otherwise they should install the new LP firmware and then "wipe all".

Under KK & LP, mtcxp spoofs/configures two parameters, notably ro.serialno, for TT GO use mainly.
Under LP, it also spoofs/configures a third one, to TYPE_WIFI, letting again TT GO to access the internet via other types of network than wifi (e.g. wired). But the main spoofing, under LP only, is of an invisible parameter, namely sta_mcu_version, without which the dark display issue would happen.

Under both KK and LP, mtcservice-2.60 is the recommended app for handling media keys, including Spotify, and Radio. It also is the main dialing app, via BT, HU wide. It also controls sound volume with car speed variation. Everything is done elegantly without xposed.
 
Last edited:

thivamero

Senior Member
May 27, 2017
103
5
0
bourges
I do not know why, but after 2 weeks, the unit starts after 34 seconds ... it's very slow ... (I've done this twice). I prefer Lp but with open gapps and 1gb ram, it's not fast, and with micro gapps I can not record poweramp
 
Status
Not open for further replies.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone