yashsingh1/xdaforums huggingface dataset:
[MTCB Software Development] pounce:
You can use a timer like they sell from the shop below. You use acc as the trigger and 12v switched. That way you can delay for hicups and delay for shutdown with a delay you set.

http://timers.shop/
[MTCB Software Development] Johny DJ:
Thank you very much for explanation.
[MTCB Software Development] dsa8310:
Thanks to testing performed by [MENTION=7432048]warata[/MENTION] who noticed the issue, and [MENTION=5228031]Johny DJ[/MENTION] who indicated the correct version of gms core, I was able to release the MicroG KK version of firmware to the OP of the KK thread.

Please [MENTION=8303854]thivamero[/MENTION] & [MENTION=5228031]Johny DJ[/MENTION], remove the wrong links quoted earlier in your respective posts.
[MTCB Software Development] warata:
However, LP version of mtc-movie still has the problem that background playback can not be done(There is still a problem with editing buildprop). Would you mind repairing that?:(
[MTCB Software Development] dsa8310:
Hey, you are in the wrong thread! :)

I don't know anything about mtc-movie... What should I do?!

But please check out again MicroG KK taken from the official OP. I (may) have fixed it.

===

Oh, you mean line:

ro.product.backgroundvideo=false

that should read:

ro.product.backgroundvideo=true

in /system/build.prop?

Please fix it with a root editor, for now.
[MTCB Software Development] warata:
Thank you and congratulations for new build ROM:laugh:

Yes I can edit build prop as you mentioned. But that is not a problem.

However, It's OK I will not return to LP anymore. KK's mtc-movie4 works perfectly and your ROM is definitely the best firmware.

I sincerely thank you dsa,you are the best!
[MTCB Software Development] elyl:
What is the Xposed solution? I am finding many times when I start the car, the MTC service stops, and sometimes PowerAMP stops playing and doesn't start automatically again. I have a brand new battery, just replaced a few weeks ago. It's strange, I'm almost certain on the stock ROM, when I started the car, there would be no interruption. Now I get the "Powering off..." briefly.

Also, I have a rear view camera, and sometimes when I put the car into reverse, and the rear view pops up, after I take it out of reverse, TomTom restarts (rather than just resuming). Any idea on that one?
[MTCB Software Development] Johny DJ:
Xposed solution for me is: xposed mtc manager.

You have to replace mtc manager installed on priv app with modified one. (I can upload later if you want.)

and install xposed mtc manager 1.13 because everything works incl. mtc keys, mode config, poweramp media buttons from sw etc.

Search forum and you will find how to config mtc manager and you won't have this problems again.
[MTCB Software Development] dsa8310:
Sure, please do publish it.

Since the xposed part, in mtcxp, is now separated from mtcservice, mtcservice may be replaced with something else.

However, mtcservice still plays the important role of HU dialer, and also controls sound volume with speed, but being a configurable app, all overlapping features could be disabled.
[MTCB Software Development] warata:
Another question:cowboy:

Why have you stopped including yalpstore in your microG ROM?At least it was possible to install free app.
[MTCB Software Development] dsa8310:
Yalp Store is in the OEM partition. Use APKInstaller (included) to access it.

Blank Store is also in the OEM partition.

===

Next time I should test the system before release...
[MTCB Software Development] warata:
Unfortunately it does not working:(

But mostly I do not use playstore so it is not a big problem.

Yalp was in OEM!Sorry I didn't see it.

Thanks:fingers-crossed:
[MTCB Software Development] dsa8310:
Play Store works, updates nicely to v8.*. But:

The MicroG version is kind of useless, because People/Contacts does not work.

And with a 7.1 phone, Bluetooth cannot sync contacts either.

So placing a call isn't possible from HU, just from phone.

Furthermore, Hangouts cannot see contacts. And neither can Google/Voice search.

There is a problem with MicroG core and KK. They don't work together.

I will place a warning in the OP or even withdraw the KK MicroG firmware... It's still there, just struck.
[MTCB Software Development] dsa8310:
See whether you did not update the gsf (Google Services Framework) app, inadvertently.

Try to uninstall it from Settings/Apps;, then reinstall it, with a root explorer, from /system/preinstall.

(I may have done it too, but now I am with KK Open GApps, not going back)
[MTCB Software Development] Johny DJ:
Here it is all in one place (xposed modules work with KK or LP).

MTC Manager (system/priv-app) for KK and LP

Disable service app

xposed modules

- mtc-keys

- disablefullscreenkeyboard

- mtc_manager_1.13

- VolumeBar

- mtc-bt-2.3

- mtc-music-2.8

- mtc-poweramp-1.4

- mtc-radio-1.11

https://www.dropbox.com/sh/bv68au97w2gf5ec/AAC-pc2BB5aX4qkRdJqQ6taba?dl=0

I also have version with all this apps preinstalled in system image if someone is interested or dsa8310 can make one.
[MTCB Software Development] djgus74:
If it were possible they were pre-installed it would be perfect. I have no idea how to make it possible. Thanks for the input
[MTCB Software Development] dsa8310:
I cannot... I had enough of checking things out for one day.

But, anyone could use a root explorer - e.g. X-plore - to move out (just in case) and replace corresponding apps, eventually one by one, to better gauge their effects, in their respective folders.

Feel free to publish new firmware images - perhaps in a thread initiated by you, so to be in control of its OP, and maybe more appropriate?

Or make a dedicated app, that would make the transplant, regardless of firmware?

(the root execution part is included, for instance, in [MENTION=6114030]Petrows[/MENTION]' mtcservice/headunit app source)
[MTCB Software Development] thivamero:
It works perfectly, thank you very much
[MTCB Software Development] warata:
I tried reinstall gsf but it was the same result:(
[MTCB Software Development] dsa8310:
Then my warning from the OP stands, there is an issue with MicroG and KK...

But good picture, with a nice icon in the background! :)
[MTCB Software Development] Johny DJ:
Last time I tried I had no issue on KK. Will try again and report.
[MTCB Software Development] dsa8310:
Thanks.

For me it went smoothly, no Play Store issue at all, until I opened Google Voice Search. It warned that a GSF update is needed, and I might, in a hurry to finish testing, have clicked it. But I don't think that it happened, the GSF update - the notification stayed in the top bar. Because when I said (searched) to dial a contact, it was not able to find it. And the GMS self check was still OK.

Then the GMS error screen when I opened True Contacts/People.

Then Hangouts, without any error screen, is not able to select any contact, for calling (via the mtcservice dialer) - I think I recall that this issue is present under LP, too.

Anyway, why bother, when the Open GApps version is 100% working...
[MTCB Software Development] elyl:
Hi, so just to be clear, I am disabling MTC Service, and installing all of these additional items to take over the functionality, with MTC Manager taking care of the ignition shutdown issue?
[MTCB Software Development] warata:
LP was also the same.Maybe I missed something?
[MTCB Software Development] Johny DJ:
No, to take care of shutdown issue you have to install Mtcmanager and xposed mtcmanager and put config files on sd card (gps).

In one or 2 days I will release rom with all this functions and apps preinstalled.

It will be based on latest KK and LP from [MENTION=6041319]dsa8310[/MENTION]
[MTCB Software Development] dsa8310:
Make a wipe all, in recovery, and start from scratch:

Install the Xposed framework, enable all modules (fake signature), configure GMS core, (enable SU during boot, for mtcsound), reboot.

Then add your Google account from Settings, and Play Store will work OK.

The issue is the one mentioned in a few posts above, and in the warning from the OP, not Play Store.

Recommended is, for both KK and LP, the Open GApps version.
[MTCB Software Development] dontpannic:
Hi All,

I'm using the RK3XXX tools v 5.99.07 to try to modify this firmware and include the blank startup screen kernel.img (and strip out stuff I don't need - calculator/calendar/email etc, and maybe even Google Services.

I can extract the img, extract the system.img, replace the kernel.img, build the system.img, but when I try to build the firmware_new.img, it just hangs on the please wait screen and does nothing. I can't find any log files to find out what is going wrong.

Is this something that is a ROM issue, or something else?

I've done this in the past with one of dsa's ROM's, but I've tried on two VM's now (7 x86, XP) and a physical machine (7 64bit).

Any ideas?

Cheers!

Nick
[MTCB Software Development] dsa8310:
You don't have to do it, just use the "black" ( or dsa :) ) kernels from the OP, they install swiftly over the KK images.

===

Look at the parameter file, you will see version 0.0.0 there, replace it with 4.4.4, maybe this is causing trouble?

(I put version 0.0.0 for all my images, in order to have the same parameter file and avoid waste of time when switching between images)
[MTCB Software Development] Johny DJ:
I had the same problem then I replaced kernel and recovery from other rom and the problem was solved temporary...

Dsa8310 where can I find parameter file ?
[MTCB Software Development] dsa8310:
├── backupimage
│ └── backup.img
├── Image
│ ├── boot.img
│ ├── kernel.img
│ ├── misc.img
│ ├── oem.img
│ ├── recovery.img
│ └── system.img
├── package-file
├── parameter
├── recover-script
├── RK3188Loader(L)_V2.19.bin
└── update-script

That is the content of update.img, after unpacking it with the RK tools.

I think that a better set of mtc apps is indeed needed.

(I don't care too much, because my regular combination of Poweramp & TomTom GO works OK, but once Radio is considered, then one notices that there are some issues, for instance Radio is not switched off during TT GO's messages, or is mixed poorly.)

The sooner, the better! :)
[MTCB Software Development] warata:
When I changed microg settings and suddenly the playstore problem was solved.

There is nothing wrong with the dsa's ROM,sorry.

Thanks
[MTCB Software Development] Johny DJ:
Oh yes I forget on this one as I always did automaticly... and if the playstore doesn't open just clear the recents...

KK works without problems with open gaps, on LP there is a must MicroG and disabling all apps you don't need to get everything working without sound glitches.
[MTCB Software Development] dsa8310:
What about Contacts/People, Hangouts, Google/Voice search lack of access to contacts, because of GMS Core issues? My warning in the OP, can you confirm that it is valid?

Or changing "Google Cloud Messaging" to OFF solves it, too?

===

What sound glitches?!
[MTCB Software Development] Johny DJ:
I just use contacts in bluetooth app that sync automaticly not contacts from google so other has to report that...

Sound glitches if I use google maps or iGo and poweramp sometimes there is a glitch ( I hope I used correct word).

But if I disable all the apps I don't need then I get rid of that.

On KK I never had this problems.

And if you want maximum performance of LP then I also checked what google play uses in background while not opened and disabled almost all of the services. That speed up my unit for 30% and made it usable with 1gb ram on LP.

Dsa, you don't have this problems because you are on 2gb ram.
[MTCB Software Development] dontpannic:
Thanks for the swift reply - I'll have another play today. Noted on replacing the kernel.img - I'll just install it over the top.

I've since discovered that Waze doesn't actually require the Google Play Services, so I can indeed try to modify the firmware for personal use and remove a few more bits and pieces that I don't require - including the gmscore.

I've been using the version of the ROM in this thread for a couple of days now - it's fantastic, by far and away the best ROM available for these units. I just need/want to do a little customisation for myself (including build.prop tweaks to set the language and timezone) then it's perfect for me. The blank kernel does make the unit feel more 'oem' in it's boot up and operation.
[MTCB Software Development] dsa8310:
I have to use Contacts instead of Bluetooth because I cannot sync via BT with my 7.1 phone. Under both LP & KK.

Hangouts, good to have, does not see contacts - for calling via phone/mtcservice - either (free calls to USA).

And Google Voice Search, also good to have, cannot resolve a "dial someone" from your contacts, because it cannot see them either.

All related to MicroG GMS Core incompatibilities.

While there is no issue at all with Open GApps, 100% compatibility.
[MTCB Software Development] Johny DJ:
Did you try enabling all the settings in gms core? Google device registration, safety net etc?
[MTCB Software Development] warata:
I verified only two apps.

True Contacts didn't work but I think this may be because I deleted some system applications already.

Google App(Velvet) works!This was unexpected:eek:

And it's more responsive than opengappsver, it sounds like an ordinary android phone,great!!!
[MTCB Software Development] dsa8310:
Yes, all. In MicroG self check, all but the last two boxes are checked.
[MTCB Software Development] dsa8310:
I did not delete anything, just installed firmware, configured MicroG Settings, added my Google account, and True Contacts did not work. While it works with Open GApps.

I mean, can you say or write "dial X" where X is one of your contacts, and Google will call that contact (via mtcservice/your phone) ? This did NOT work under MicroG. Of course, it works under Open GApps.

And the Hangouts "call phone" tab, while writing a phone number and calling it is possible, just selecting a contact is NOT possible. While it works with Open GApps.

For full compatibility, only the Open GApps versions are valid. KK for 1GB units, either LP or KK for 2GB ones (though if wanting LP, even with regular 1GB units, it's possible).

I wish I was wrong here...
[MTCB Software Development] elyl:
Thanks, I installed MTC manager and the Xposed and it seems to fix things. The screen turns off during ignition, but everything comes back on as normal. No "Powering off..."

Is there a link to all the .ini config options for MTC Manager somewhere?

---------- Post added at 02:02 PM ---------- Previous post was at 01:58 PM ----------

How do I get the voice recognition working on the GApps version? I don't have the option to download offline voice recognition stuff, like on the normal ROM. I'm guessing the GApps installation is missing the particular apps/services for this and I need to install them. I looked on the GApps site, but it's talking about flashing stuff under CWM which I'm sure doesn't apply to this ROM. Ideally, I would like Google Now or even Google Assistant working.
[MTCB Software Development] dsa8310:
You install the Google app.
[MTCB Software Development] Johny DJ:
There is an update maybe this could help:
[MTCB Software Development] dsa8310:
The Google Sync add-on, it sounds promising. Identify that part (app?) from whatever package it comes with, install it by hand, and check it out...

If it works, let me know, and I will add it to the KK/MicroG version.
[MTCB Software Development] Johny DJ:
Will check after 2 days or so, because I'm doing sound mod and fan installation at the moment :)
[MTCB Software Development] dsa8310:
Ouch, it seems that I have missed, in both my MicroG images, LP & KK, the so called GoogleContactsSyncAdapter app (which is part of Open GApps).

Let me see if adding it, from the original firmware, the Open GApps firmware, or that Google Sync add-on beta, makes any difference.
[MTCB Software Development] dontpannic:
Worked perfectly. Thanks for that. Wouldn't have thought to check there!
[MTCB Software Development] dsa8310:
A palliative for KK/MicroG/True Contacts:

GoogleContactsSyncAdapter.apk

Install it, and True Contacts will run, badly, of course, but then contacts could be imported from a vcard file(s) on the internal SD (including all contacts, eventually), owner profile could be set up, and henceforth calls could be placed, via mtcservice/headunit, from HU directly.

No chance of Hangouts or Google/VoiceSearch seeing contacts, but it's better than having to use the handset/phone for making calls.

I have updated the MicroG firmware versions in the OP, too.

(MicroG LP is next, just in case)
[MTCB Software Development] dsa8310:
La Precaution inutile, ou La Fille mal gardée... :)
[MTCB Software Development] dsa8310:
Good luck with that!

Next time, perhaps:

Consider also the Radio Mod, it's a must for decent radio sound.

I have also replaced the wifi internal card with an extra external USB port - but a +5V (USB) power feed is needed instead of +3.3V on existing pin; the two data pins & ground are good. That would be rather excessive (but see post #353, EDIMAX EW-7612UAN v2 is my wifi USB adapter).

What else? The separate USB power supply, maybe (I did it).
[MTCB Software Development] Josoft:
Always this problem of Alternative Frequency not supported :(
[MTCB Software Development] Johny DJ:
Thanks for info. I allready have quite decent radio sound and reception.

If I will gain more quality with this mod I will perhaps do it now.

Did you allready done it?

Yes if I have connected just one usb there is no problem but if I connect 2 one drop off because of power failure.

Will think about that or just use thyristor one one leg 12 and other 5 for usb power.

I just use Wifi hotspot with my phone so I just installed extra wifi antenna, I hope I will gain signal.

Do you maybe know what are these 2 socket on my KLD board.

One has 7 volts and 2 pins is probably for fan but don't know the other with 3 pins??
[MTCB Software Development] pounce:
It's probably a spdif for a cd/dvd drive.
[MTCB Software Development] dsa8310:
Yes, I made the Radio Mod.

I supplied my separated USB power from the red accessories/ignition wire (it gets powered off when I cut/remove the car key).

The rightmost (3 pins) is audio L/R/Ground input. On my unit it has an extension to the front panel.

The other should be the fan connector, I can't recall for sure.
[MTCB Software Development] Johny DJ:
Now I figured out why usb is so low powered, because it only has 3.3 V, shame.

I made the sound mod and sound really improved a lot, my question is about gps mixing, why its not lowering radio or video sound just poweramp works perfect the latest 7.3.

I also play around with alt. gps etc.

And one more question... I made switch for switching between original and sound mod, can this affect the sound mod or not or its better without this modification?

What did improve with radio mod? Just gain or sound etc?

Thank you in advance.
[MTCB Software Development] dsa8310:
Separate +5V USB supply...

Yes, poor switching/mixing on radio, except for Poweramp, indeed - but I only use Poweramp... :)

Preserving the original sound mode, it makes no sense, unless you still hope for Android 7.1 with not fully working Xposed...

Radio, well, perhaps low and high frequency better passing through.
[MTCB Software Development] typos1:
Ask him to do an RK3066 version, he used to, RK3066 users are now pretty neglected.
[MTCB Software Development] mike.s:
This is much cleaner and faster than the Malaysk firmware I was using before. Thanks for putting this together.

Just one nagging issue - it seems to start the media player before access to the external sdcard is allowed. I use dsub, and point it to a directory on /mnt/external_sd2/ (where I've got a 64GB card). When it gets started at boot time (either because it was running when shutdown, or it's set as the custom player to run at boot), it will complain that it doesn't have access to the directory, and resets to a directory on /mnt/internal_sd/. If I wait a minute for the boot to settle down, I can set it back to point to the external sd and it works fine. No problem when waking from sleep, only on a cold boot.

I've tried changing permissions in /data/system/packages.xml. I've tried an xposed module which fixes the Kit-Kat external sd issue. I've even tried the Foldermount app which apparently symlinks an external directory to an internal one. No difference. It's like the media player gets launched before sd card access is setup (possibly before it's even mounted?).
[MTCB Software Development] dsa8310:
I am taking care of song USB storage and Poweramp already, so it's possible.

You may use existing code in script /system/etc/install-recovery.sh to ensure your external storage is mounted in a desired point of the file system, without other apps. Code it's already used for an early mount on behalf of TomTom GO. Mounting happens really early in the boot process, before your player starts.

Look at this code:

##########################################################################
### lsd syntax: ###
### First argument is the target (internal) folder. ###
### Second argument is the source directory prefix name. ###
### Remaining arguments make a list of source (external) storage paths.###
### If any prefix* folder is found in any source path tree, ###
### it will be (bind) mounted under the target folder. ###
##########################################################################
lsd /mnt/internal_sd/Android/data "com.tomtom.gplay.navapp" /mnt/external_sd*/*/ /mnt/usb_storage*/*/

Add another lsd line for your needs.

The existing lsd line will create an empty folder called /mnt/internal_sd/Android/data/com.tomtom.gplay.navapp and the real external com.tomtom.gplay.navapp folder content will appear inside that folder, which is exactly what you want.

Since you keep stuff on SD, not on USB, erase the "/mnt/usb_storage..." part from your lsd line. And since you know your SD exactly, put /mnt/external_sd2/ (for the SD card)[, or /mnt/external_sd/ (for the GPS card)] as the last argument; you may even write exactly your full path SD/GPS folder, end it with a "/".

While instead of "com.tomtom.gplay.navapp", put the inner name of your folder (enclosed between double quotes).

E.g.:

lsd /mnt/internal_sd/<your parent target directory path, no ending "/"> "<short name of your directory source>" /mnt/external_sd2/<rest of path to your real external directory, ended with a "/">

Note that the external short folder name is replicated inside the internal parent folder, so arrange for the desired name, convenient to your player. Of course, the parent directory must exist.

Use a root explorer/editor to alter file /system/etc/install-recovery.sh ; keep its mode and ownership!

===

Here is a better example:

lsd /mnt/internal_sd/foo "bar" /mnt/external_sd2/blah/bar/

(content of /mnt/external_sd2/blah/bar will also be content of /mnt/internal_sd/foo/bar)
[MTCB Software Development] vvarick:
To use the car logo animation from the factory settings on boot, just rename:

/system/mtc/bootanimation.zip

to

/system/mtc/bootanimation.old
[MTCB Software Development] vvarick:
How do I keep poweramp from starting up on boot? I do not always want to listen to music when I get in my car. I'd like no audio app or radio to auto load on boot. What do I need to edit to accomplish this?

Thanks!
[MTCB Software Development] dsa8310:
See post #260.
[MTCB Software Development] Johny DJ:
No I think I gave up on 7.1., because we are a bit forgotten when MTCD units took place and upgrade soms available for them.

I just made a swith if something goes wrong I have a backup, but now for 3 days no problems at all on LP and KK.

I just think that LP handles this mod better than KK but KK has no sound glithes when other apps are opened.

Xposed is a must for these units because of the sound mod and other modules that are quite handy, so no android update unless xposed fully works :)