yashsingh1/xdaforums huggingface dataset:
[MTCB Android Head Units Q&A] Malaysk:
Yes is checked in two versions - 1.9 and 1.10

After creating install-recovery.sh Root access is lost !!!

I will check out the other version. I removed from the firmwares install-recovery-2.sh.

and then I have a firmware install-recovery.sh

#!/system/bin/sh
/system/xbin/daemonsu --auto-daemon &

#dsa
lsd () {
to=$1
shift
for i in $*; do
if [ -d $i ]; then
i=${i%/}
j=${i##*/}
if [ "${j#com.tomtom.*}" != "$j" ]; then
k=$((k+1))
j=$to/$j
if [ -n "`ls $j`" ]; then continue; fi
mkdir -p $j
if mount | grep "$j "; then umount $j; fi
mount -o bind $i $j
else
lsd $to $i/*/
fi
fi
done
}

{
IFS=${IFS#??}
while ! mount | grep "/mnt/internal_sd "; do sleep 1; done
ck=0
while true; do
k=0

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

if [ $k -gt 0 ]; then
ck=0
sleep 20
continue
fi
if [ $ck -ge 90 ]; then
sleep 30
else
ck=$((ck+1))
sleep 1
fi
done
} >/dev/null 2>&1 &

getpid () {
ps | busybox sed -n "/busybox sed -n/! s/[^ ]* *\([0-9]*\).*$1.*/\1/p"
}

while true; do
pid=`getpid petrows`
if [ -z "$pid" ]; then
while ! am startservice com.petrows.mtcservice/.ServiceMain; do sleep 1; done
sleep 2
fi

pid=`getpid maxmpz`
if [ -z "$pid" -o "$pid" != "$pap" ]; then
om=0
st=0
while true; do
st=$((st+1))
nm=`mount | grep usb_storage | busybox wc -l`
if [ $nm -ne $om ]; then
om=$nm
st=0
else
if [ $st -gt 3 ]; then
if [ $nm -gt 0 ]; then
usb=1
break
fi
if [ -z "$usb" ]; then
break
fi
st=0
fi
fi
if [ $nm -gt 0 ]; then
sleep 1
else
sleep 3
fi
done
while ! am startservice -a com.maxmpz.audioplayer.API_COMMAND --ei cmd 3; do sleep 1; done
sleep 2
pap=`getpid maxmpz`
fi

sleep 20
done &

After creating the program new install-recovery.sh disappears Root access.

Maybe wrong permissions on the file are 755 ????
[MTCB Android Head Units Q&A] devilsoft:
When I build install-recovery.sh, i use "/system/xbin/su" and not "/system/xbin/daemonsu --auto-daemon". Maybe this could be the reason the root is lost ?
[MTCB Android Head Units Q&A] OneCheekyDevil:
My car is at the panel-beaters atm and I'm hoping to get it back next weekend. I'm still running a factory stock BN ROM and more than happy to run a few tests for the crew here regarding rooted ADB. Unless there's anybody impatient and wants to do the tests ahead of me. Either way, I'll still be conducting the tests to see if I can get my HU rooted and backed up before flashing custom ROMs.
[MTCB Android Head Units Q&A] sekoco:
Hi Friends.

How can I backup and upgrade firmware to this part. "http://www.aliexpress.com/snapshot/6308502373.html?orderId=64316333264633"

Thanks...
[MTCB Android Head Units Q&A] Malaysk:
I think that is the problem !!!

Can you give me a version? Now I'll go check?
[MTCB Android Head Units Q&A] 4stimpy:
Could this explain my problem with my usb camera?

Can not initialize camera is what daily roads shows.

Car record just shuts down after a few seconds.
[MTCB Android Head Units Q&A] honzicek:
Buttons color

Hi guys,

I just bought my new Ford Android radio and have some questions I didint find anywhere.

In setting is written MCU KYD and it doesnt fit for any MCUs on first page.

Next: on my custom ROM i cant find how to change color of backlight of buttons and they do nt turn off with lights turned off.

Las: What is function in factory menu CANbus and other options? T

Thank you!
[MTCB Android Head Units Q&A] devilsoft:
Yes, but this copmplicates the things a little. For instance, if I write by adding and not replacing, next time the user tries to add/remove services, I need to replace the existing code previously added.

I just released a new app which detects what su command is already in install-recovery.sh, and use that instead. [MENTION=3590033]Malaysk[/MENTION] is testing the new app now and he will come back to say if works.
[MTCB Android Head Units Q&A] :
Have a look at Malaysk Post for the right MCU version.

Colors for backlight can be changed in the (factory) settings menu IIRC (password: 126). There are three sliders to adjust the RGB values for the LED backlight.

Not turning with light switch depends on your car. I belive if the CANbus is setup correctly, it should work if there is an appropiate message on the CANbus. I dont have the unit in front of me, but isn't there a wire to hook up to the lights as an alternative?

Please search for Ford and CANbus to find which is the right settings. Or just try each setting. For my BMW it has to be set to "none" to work. ^^ Its basically how the radio gets info from the car, like speed, temperature (?) and what else the OEM decided to put on the bus and is useful to have a good integration of the unit into the car. Also a Ford board on the internet might have a thread for this kind of device and help with OEM-specific stuff.
[MTCB Android Head Units Q&A] mike.s:
"/system/xbin/daemonsu --auto-daemon" should only be used when SuperSU is installed - and, it's already part of the /system/etc/install-recovery.sh which SuperSU installs.

If /system/etc/install-recovery.sh contains "install-recovery-2.sh" then you should create install-recovery-2.sh, with no call to either "/system/xbin/su --daemon &" or "/system/xbin/daemonsu --auto-daemon". If /system/etc/install-recovery.sh does NOT contain "install-recovery-2.sh" then you should create /system/etc/install-recovery.sh like you used to, and include the call to ""/system/xbin/su --daemon &".

http://xdaforums.com/showthread.php?p=61592445#post61592445

---------- Post added at 08:31 AM ---------- Previous post was at 08:30 AM ----------

No, you suggested that rebuilding it was the same as adding to it. You were wrong then, and you're wrong now.
[MTCB Android Head Units Q&A] hadjistyllis:
I test the latest Malaysk Rom (30 june) for rk3066 1024x600. Now BT phonebook sychronization works ok (problem fixed).

Here is my latest music mod for the latest rom.

2 versions see pictures.
[MTCB Android Head Units Q&A] javlada:
I just installed latest Malaysk's ROM for my RK3066 800x600 unit. I used the version with Next Launcher. But it seems to be very slow and I have a feeling that the whole device is not as fast as it used to be. Is this normal? Is the Next Launcher so resource-heavy?

Can I replace it with a different light launcher? Do you have any suggestions? I have only used Next and Nova launchers in the past couple years and they are both not very light.
[MTCB Android Head Units Q&A] nrjdgn:
it is possible to respond at sms on car unit ? api ?
[MTCB Android Head Units Q&A] Nova8316:
I think it depends on your phone. On my Lumia, I can respond directly. I think all modern os are doing that.
[MTCB Android Head Units Q&A] devilsoft:
[MENTION=2471548]mike.s[/MENTION], i released a new version of the app (v 1.11), which comes with the fix for lost root. I followed your instructions regarding install-recovery-2.sh, and it's correctly builded now. Thank you, and thanks to [MENTION=3590033]Malaysk[/MENTION] for taking the time to test it on the HU!
[MTCB Android Head Units Q&A] doctorman:
What does the MOD do different than the original JY?

Does that Background change with the music?
[MTCB Android Head Units Q&A] Malaysk:
I checked and testing done!! It works just fine !!! 1000 Thank you !!! I'm happy :):):)
[MTCB Android Head Units Q&A] pk313:
Nice work! i like it!

Do you think is possible a mod that use and change at any song the background with ID3 tags ?
[MTCB Android Head Units Q&A] doctorman:
NOW that is the BEST news for this community for a while!

Looking forward to the new ROM for RK3066 1024x600 now with these changes!
[MTCB Android Head Units Q&A] xrapidx:
I find this very interesting,that's exactly the same problem I've had from the beginning.
[MTCB Android Head Units Q&A] dark alex:
Hi [MENTION=236264]1-2-Hak[/MENTION],

You were optimizing the fist (initial) ROM. And you offered to create a new rooted system.

Are you able to create a complete optimized and rooted update to flash using the original bootloader?

That would be really cool. Just having a "ready to use" community firmware

//Edit: @ all App Devs, Modders and other uploaders:

I would love if you would upload your data to my FileMirror, too as you can find it faster again when organized there.

Nearly anyone can get access. Of course if it's your first post we will think twice about it.

Just feel free to PM me or pakidermo5000 for getting access.
[MTCB Android Head Units Q&A] Tap82:
Did you find a way to fix your radio? I tried to browse through all your posts but not sure what the resolution was.

Any image I could use to restore?

Thanks
[MTCB Android Head Units Q&A] xrapidx:
Unfortunately not - my dispute has been escalated to Paypal.

I see you've tried the original img - have you tried contacting your seller for another img?
[MTCB Android Head Units Q&A] Tap82:
I don't have the original image. I used to have version 1.72 or 1.73 as I remember. The Radio worked fine finding all the stations.

I updated with the images 1.77 and 1.86 I found on this forum and it looks like the radio app is not working anymore. Just simply can't find any stations. In the factory settings I have 2 options to choose for the Radio chip, but non of that works. I guess this MCU doesn't support my radio chip. If I had another image that supports my radio everything would be fine. Btw the bluetooth and the GPS work fine. If you have similar issues you might have a wrong mcu installed on your device as I had the radio app working fine before the update.

I have not tried contacting the seller yet. I purchased on ebay and he is selling a different unit on the same name now. Previously when I contacted him I couldn't even get a manual so he looked like someone who is just selling but has no idea what this thing is.

I remember I read something about the HuiFei contact person on this forum who could provide the images.

Anyone knows if there is any chance I can contact that guy?
[MTCB Android Head Units Q&A] dark alex:
Yes try to contact Keylo (just search on the thread)
[MTCB Android Head Units Q&A] blankers:
Btw, Keylo is a girl:o
[MTCB Android Head Units Q&A] dark alex:
I know.
[MTCB Android Head Units Q&A] 1-2-Hak:
I have thought about creating a custom rom that is flashable that is prerooted and has the carservice app and powertoast and anything else people might want. The rom 1.77+ is fairly optimised now, dont think I can squeeze any more boot speed out of it.

Still trying to find anyone who knows about the MCU. If we can get some coding changes here we will make some more good features.

Can upload to you fileserver (have details you pm'ed) its just easier to copy my mods to my google drive already attached ;) Happy if you want to move any there you think worthwhile.

Oh BTW still waiting for someone to give me a link to the other firmware with the new launcher. Might be able to get some goodness out of that too,
[MTCB Android Head Units Q&A] parazit26:
What's the boot speed your head unit?
[MTCB Android Head Units Q&A] 1-2-Hak:
around 20s with xposed installed

---------- Post added at 10:29 AM ---------- Previous post was at 10:23 AM ----------

anyone test the rooted system image yet?

If not I might have to go out side and load it....
[MTCB Android Head Units Q&A] dark alex:
Well unfortnately I don't know any way to copy the gdrive content over directly... else I would install a script.

You have to know that google limits downloads per timespan... Dont know the exact values.
[MTCB Android Head Units Q&A] 1-2-Hak:
My apologies to parazit26 and kwalsh24. They had indeed sent me the link - I forgot to check my message :( doh

Will have a look at the image
[MTCB Android Head Units Q&A] kwalsh24:
Parazit26 gets all credit on the firmware, I was just trying to help out when I can :)
[MTCB Android Head Units Q&A] 1-2-Hak:
:)

hopefully get some time to look at this over the next few days. See what we can use
[MTCB Android Head Units Q&A] typos1:
The picture you posted is a Shenzhen Klyde unit (you can tell by the menu), ie very, very similar, but with SIRF GPS chip, a different radio chip, different MCU software and a different launcher. Youre lucky that you have not bricked your system, someone recently did an MCU update meant for KGL/HuiFei MCUs on their RoadMaster unit (another very, very similar variation) and totally bricked their device. Go into revcovery and downgrade the "update" as it was not meant for your unit. Wait for Klyde's update. And in future read the thread properly !!

Take it youve tried the usual Android power + vol up/vol down combos ?

If they dont work, there are apps, but I m sure you knew that already :)
[MTCB Android Head Units Q&A] Tap82:
Wow. Thank you for reply! It really helped to make things clear. It really looks like I have the Klyde variation. I did read like 70 pages of all the comments here but probably didn't realize I have a Klyde unit (Probably Klyde KD-7212). Even the radio and the music app looked the same. My bad.

How can I downgrade without having an image of the original Klyde firmware?

Can't seem to find it anywhere. Shall I contact Klyde to provide me an image to do a recovery?
[MTCB Android Head Units Q&A] parazit26:
great. thank you very much for your help. if you need the whole content of the image, just let me know. I will try to help!

Still haven't got my unit so i can't test.
[MTCB Android Head Units Q&A] typos1:
I do realise it is a nightmare to read so many pages and there are so many things to take in and that the thread goes off on lots of tangents !

I have suggested modifying the title to reflect that there are at least 3 types of very very closely related unit.

I havent actually got one yet, so cannot tell you exactly how to downgrade, I can only assume you load the Android update onto an SD card, go into recovery and install it, for more acurrate details, do a thread search or look in the wiki.
[MTCB Android Head Units Q&A] agentdr8:
Yeah, but I'm either doing it wrong, or my timing is off, cause my Vol knob is the power button, which when held and then rotated CCW, just sends it to standby :confused:

I just figured since the Settings screen had a section for screenshots in particular, there would be a relatively easy way of actually doing it. I guess I'll resort to a widget for now.
[MTCB Android Head Units Q&A] giornistrani:
Hello friends. How can I change the file system? When I try it tells me "the Fyle system is read-only." thanks
[MTCB Android Head Units Q&A] pauloxx:
Hello All,

You doing great job here. I have Erisin 9401A android unit with 4.4.4 RK3066. Its work great.

I connect USB dongle modem with 3G SIM card and modem work good. So i change Sim card to other GSM opertator where i cannot turn off PIN verification for SIM CARD. When i turn on station Modem doesnt connect to internet becouse I cannot put PIN for Sim card. I cannot turn off this security becouse my operator block this function (!! really)

Is there any option to change this situation ? meyby some script for connect with PIN? Can somebody help me with this issue?

Next question is for CAN BUS.

Now i have MCU 2..06 and on my car VW Polo 2010 doesnt show information on screen when I open door. On menu inside android i can read battery status, KM, Parking breakm, this function work good. Sombody have this KG station on VW Polo 6r and show this info on screen?
[MTCB Android Head Units Q&A] agentdr8:
No problem. :good:
[MTCB Android Head Units Q&A] -=Gerner=-:
HU & Bluetooth TPMS ...

Hi Guys!

The question of Bluetooth TPMS support, again....

I did find this adwertise: http://www.ebay.com/itm/8-android-4...979?pt=LH_DefaultDomain_0&hash=item3aacbf764b

If You read, You can see , that this unit has a TPMS Bluetooth support ( explain, by the pure text ...) and it shows a picture from the "supported" TPMS device.

So, my friend have that type of Bluetooth TPMS system, which I did tried to pairing with my HU, but without any success...

How could we get that, or same HU's firmware to try it is true. Moreover, if it is true, use them, etc... ???
[MTCB Android Head Units Q&A] markcm:
Memory Partition help needed

Can anyone PLEASE help me understand how the partitions work on our nav units?

I have a KGL 3188 with MCU 2.55Musik and a fairly recent Malaysk ROM which created a 2GB Internal memory and a 12GB Internal SD partition.

My problem is that the two primary Apps I am trying to use for music, Slacker Radio and Amazon Prime Music, both have the ability to cache music for offline storage but I cannot direct where the unit creates the directories to cache the files for offline playback. By default, both apps are using the 2GB Internal partition which fills up immediately while the 12GB stays essentially unused. I have contacted support and they have both told me the the ROM dictates the storage location for DATA.

I can "move application to SD" but this will only move the application, not the DATA.

For example, I believe Slacker radio is caching its offline music files to: data/data/com.slaker.radio/files/slacker/cache/slacker/offline/cache/media/shared

I have used the FolderMount app to try mount a folder on my External SD (second SD card) which works for the Amazon Music app but it is not working for Slacker. The FolderMount app also has a utility that seems to point you right at each app's Data although it is not showing any content in what it thinks Slackers Data should be.

Can anyone either help point me to a resource to better understand partition usage, or guide me in getting the data relocated either to my Internal SD 12GB partition or to my External SD (which I have a 64GB card installed)?
[MTCB Android Head Units Q&A] MayfairDROID:
Awesome!!

Any way you could do a re release of your most recent firmware with the KLD launcher? Thanks!
[MTCB Android Head Units Q&A] doctorman:
we are all rejoicing Malaysk recent decision to convert to the Joyous launchers and apps.. almost everyone agrees it is nicer and smoother, but the KLD launchers are available and you can install them on any ROMs you like.

it would be unreasonable to ask for 16 different ROMs

as is we have 8 ROMs

RK3066

RK3188

HD 1024

LD 800

with original launcher

without original luncher

If the recovery could handle Aroma installer for the ROM this would have been so much easier to implement with 1 or 2 ROMs only instead of 8 to 16 different editions.
[MTCB Android Head Units Q&A] agentdr8:
Basically you have a single chunk of nand flash, that gets segregated at install time like so:

- /system (holds Android OS files)

- /data (holds application binaries and their associated preferences, libraries, databases, etc)

- /data/media (user files, also known as /sdcard, or /mnt/sdcard, or internal sdcard)

- /cache (holds system cache files)

- /oem (holds some apks provided by the mfg)

- /misc (miscellaneous files as provided by the mfg)

I can't remember what the default size of the /data partition is, but I remember it being rather small. Most of the 3rd-party firmwares have adjusted the /data partition to either 2 or 3GB, to account for lots of apps and their data. Not all apps support storing their files on the internal sdcard (/data/media), as you're discovering. That poses a problem for apps that only keep their offline caches in the /data partition. If the app itself has no means of choosing where to put its downloaded files, then you've got to come up with your own solution to the problem. FolderMount is fine, as that creates a bind mount to another directory or filesystem. Of course not all apps like accessing their files over a bind mount (not that they should get into the file read/write at that layer, but ya never know).

So what it boils down to is the apps you're using, and whether or not they support sdcard storage, and if not, how you can work around it.

---------- Post added at 10:14 AM ---------- Previous post was at 10:02 AM ----------

I'm unaware of any stock recovery on any device that natively supports Aroma. Unfortunately, the stock recovery is necessary for our headunits if using the standard rk3*-based update images. I haven't tried it yet, but I have a feeling that TWRP for our units could run Aroma. The problem is you can't get TWRP onto the unit until it's rooted, and if something goes wrong with the Android OS, you can't flash the stock recovery back, which means you can't restore a factory image to start over fresh.
[MTCB Android Head Units Q&A] doctorman:
-thank you for the detailed info on the partition, this info should be in the OP.

-is there a way to have the ROM customized in the first run after installation perhaps then?

2 versions of dual core vs quad core

then they can be customized in the first run with 1024 vs 800 res screen and launcher and apps options then restart
[MTCB Android Head Units Q&A] markcm:
Thank you for the explanation.

I don't work much with android but the file structure baffles me and seems to cause issues for me as my primary use is music players with caching for offline playback. I cant understand why the partitions are fixed and control of where content goes is fixed as well. I'm surprised more people are not interested in using these NAV units for use with Music apps with OFFLINE playback. For example, if you have an Amazon Prime account, you can download ANY album in their catalog for offline play.

So on to my next question, maybe directed [MENTION=3590033]Malaysk[/MENTION]? Since the partition sizes were adjusted in your recent ROM releases, would it be possible to adapt for a larger internal /DATA partition? I am running update_4_4_4_1024X600_3_RK3188 which I downloaded on 06/18/2015, this ROM works REALLY well on my KGL1 3188 1024x600, I don't have any significant issues, the software power button works well for me, it is all good except I cannot seem to manage my Internal /DATA for my two music apps. FolderMount almost works for Amazon Music but it takes 30+ seconds to mount after boot and doesn't seem to be a very clean solution and it is not working for my favorite app, Slacker Music.

I would be willing to pay for a customization to make this work, my KGL is meeting my expectations aside from this partition problem which is the most important feature for me.

Thank you in advance for any help anyone can offer, and thanks again to all the excellent contributions from so many of you.
[MTCB Android Head Units Q&A] giornistrani:
Hi
[MTCB Android Head Units Q&A] hadjistyllis:
I just extent the song list and you can also see the whole song playing playing name.

On the second i just change the background. The background is not changing.

---------- Post added at 06:15 PM ---------- Previous post was at 06:02 PM ----------

Not sure if its possible but i may try this in the future as it seems a good idea.
[MTCB Android Head Units Q&A] grahamwright1:
One suggestion - Download your Amazon Music to a 64Gb SD card and keep that mounted to play your music from.......
[MTCB Android Head Units Q&A] markcm:
Hi,

I'm not sure I understand this suggestion. I do have my personal .MP3 files stored on my external 64GB SD card which the Amazon Prime Music app sees and integrates into it's player without issue.

The way Amazon Prime Music works is that you can access all Music in the Amazon catalog for playback via their App/Music player while you have an active internet connection; you can also select to download the music for offline playback although the cache location is not optional and the files are not traditional MP3 (likely encrypted). Support from both Amazon and Slacker tell me that the cache target directory is dictated by the OS.

My ultimate goal is to expand the internal /DATA partition, it seems like that would be the cleanest solution for people trying to use Music App's with offline playback. As it is now, I have 12GB of unused memory on my Internal SD that I "cant utilize" while my 2GB Internal partition is full so I can't load anymore app's either.