yashsingh1/xdaforums huggingface dataset:
[Android Head-Units] Edgaras7777:
Maybe whats have touchscreen.idc file? and mcu update?

My version 4.2.2 2.9.4-20150316 Mcu version is 4.3.14-6-14-450101-150722

My dvd is from Glenda Shi (dual core) http://www.aliexpress.com/item/For-...b201644_2_79_78_77_82_80_62,searchweb201560_4
[Android Head-Units] darkromance:
I have your same problem

Did you have any news?

Have you tried to replace that file?
[Android Head-Units] striker1211:
So today I was playing around in the Activities list trying to find something that the unit might be launching to turn off the screen during 10-minute delayed shutdown (so I could pause Poweramp) and I found out a way to show the backup camera without actually shifting into reverse. I really didnt' want to wire a switch and do diodes like I had read in this thread so I am glad I found this. Just in case this helps anyone... Enjoy!

http://www.youtube.com/watch?v=cvDfev5Cv-A

[edit] Why does the youtube insert button not work? Hmm...
[Android Head-Units] dragoescu:
RedMod has this option in settings menu. Also this will work as long as you have always powered backup camera. In my care the backup camera is powered on by the reverse light wire so even if I start the reverse camera app I will have no signal.

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

For the colleagues that have problems with screen calibration, maybe you can try this tutorial: http://xdaforums.com/showthread.php?t=2263582

I copied the usr* folder and took a look, there is no information in idc related to screen calibration. As I know there is not calibration method for the capacitive screens (because the way they work) so If you opened the unit maybe you can check again the connectivity between front panel and main board.

There is also an internal calibration mechanism (but again I think only for the resistive touch):

SSH into the box or use a terminal emulator. At the command line, enter the following commands:

su (this gives you permission to modify the system files)

getprop ro.calibration (this checks that the android calibration property is enabled, it should reply with a value of 1, if it does not STOP HERE!! )

cd /data/system (this is the location of the calibration file)

mv calibration calibration.backup (here you are saving your old calibration file, you can call it backup1, backup2, etc if you're doing this multiple times)

reboot (or turn off your device via the power button and restart it)
[Android Head-Units] striker1211:
Yeah I have mine hooked up to the ACC wire in every installation I've done for this reason and didn't even think about mentioning that. My old pioneer had a dedicated reverse camera power lead and that was nice.... but you say RedMod has this feature built in? Are you referring to the Reverse camera toggle or the pausing third party media app at "sleep"? Maybe I should check this mod out...
[Android Head-Units] Edgaras7777:
No, i dont solve problem, dont find file :(((

---------- Post added at 06:35 PM ---------- Previous post was at 06:33 PM ----------

Maybe anything have video with touchscreen calibration? becouse sorry, i dont understand whats need to do :((((
[Android Head-Units] dragoescu:
Redmod has in settings an option to start Reverse camera activity.

Regarding detecting shutdown or sleep mode, I posted some time ago: It seems that android poweroff intent or reboot intent is not sent by the system. The part of the android that receives shutdown notice from mcu is an21service. If you install logcat or any syslog message reader you will see that the an21service will log the message "SHUTDOWN 2000" just before poweroff. 2000 I think it means 2000ms. But I did not noticed any intent so you can not register any broadcast receiver to listen. I think I will write an app to monitor syslog and when detects that shutdown message from an21service it will perform some action(s).

Anyway, here in Romania is almost Christmas time. So for all of you who are celebrating I wish you Merry Christmas and for all of you peace and love ;) !!!!

---------- Post added at 06:38 PM ---------- Previous post was at 06:37 PM ----------

Did you tried the method I posted?
[Android Head-Units] striker1211:
Yeah I had tried logcat (using app CatLog) before but did not find anything to indiciate shutdown. I had every verbose level checked too. But today I got smart and decided to use timestamps to my benefit. So what I did on my unit is wait until the minute changed and then turn the key off. Doing this a few times I found the only message in logcat that was there every time was:

12-24 12:08:04.862 I/ActivityManager( 1101): START {flg=0x10000000 cmp=com.tw.service/.SRActivity u=0} from pid 1300
12-24 12:08:05.152 I/ActivityManager( 1101): Displayed com.tw.service/.SRActivity: +138ms

So now after finding that TW service yesterday I found what SRActivity does. It turns out it pushes everything to the background and runs garbage collection. This is why it would kill TomTom every time I parked, or so I assume. I could be wrong. Unfortunately I could not get Llama to differentiate between activities inside of "TW" so it also pauses when I go into reverse. Not a big problem since I don't like distractions while backing up anyway, and I can hear for screaming kids being crushed under my tires.... :| ...Anyways, I created a Llama profile to pause and resume poweramp depending on if music was playing when the SRActivity is launched and it works really well. I could add a few extra conditions for when Waze is running (so if it slept, and waze is the foreground app all the sudden, play music) but I think I've spent enough time on it. I made a youtube video explaining it because I'm a visual person. I hope it helps someone:

http://www.youtube.com/watch?v=WM7UH8oOu2E

PS:

If you are using logcat to determine sleep and wakeup it seems this is always output when the unit wakes up (makes sense):

12-24 10:19:57.850 I/wpa_supplicant(1198): [CTRL_IFACE]wlan0: DRIVER BTCOEXSCAN-START
12-24 10:19:57.860 V/PhoneStatusBar(1205): setLightsOn(true)
[Android Head-Units] dragoescu:
Can you test somethings for me? Let's say you are listening music. When you turn off ignition I want to automatically switch to radio(so that next time when I start the unit radio is playing) . Using the setup you described can you make this behavior to happen?
[Android Head-Units] striker1211:
Yeah you would take what I did and have it launch the radio app in the first llama event instead of just setting "slept" to "yessir". Everything else would be the same. If you turned the unit back on with the key within the 10 minute sleep time it would have the variable "slept" in memory still and the unit would resume. If the unit lost power (off more than 10 minutes) "slept" would be null and the radio would be running during boot because it was running when the MCU totally killed power. This is assuming the radio always opens again if it was open when the unit lost power. I seem to remember it doing this since a friend of mine always hits the "radio" button before he turns his key so he doesn't have silence for the first 30 seconds while his unit boots up. I'll try to do this when I have some down time after xmas events.

[edit] Blah I'm tired, just woke up. You would have to set the unit to watch for the radio app AND slept in the second trigger as well, instead of watching for the media_player_app (poweramp).

So:

IF hasslept=yessir AND app_in_foreground=radio_app

LAUNCH media_player_app

SET slept=nossir

Rewind

Send "Play" media button command

}

Pretty sure that is right now.
[Android Head-Units] dragoescu:
I wrote and app the monitor syslog and it seems that shutdown is happening to fast. Even if i look for shutdown message in log, it will not switch to radio since the power is cut too fast. I will try with llama.
[Android Head-Units] striker1211:
Just wanted to check if you are using delayed shutdown, because I am always using a delayed shutdown of 10 minutes. I did notice the TW.SRActivity run EXACTLY 5 seconds after the key is turned off.
[Android Head-Units] dragoescu:
I am not using delayed shutdown because I am afraid of car battery drain. Today i tested and I saw that this will turn off display and audio but somehow android board is still powered on. Do you have some information about delayed shutdown works? Thanks
[Android Head-Units] striker1211:
Delayed shutdown flushes any foreground processes to background to lower power usage (i am pretty sure that's why) and kills the amplifier, bluetooth, wifi, (though not GPS apparently), buttons, and screen output. Background applications will continue to run but wont use GPU resources because they are in the background. I like delayed shutdown because I can get out of my car, run into the store, and come back and I don't have to wait the 30 seconds for it to boot up. I have never came out to a dead battery because of it. I have mine set to 30 minutes now that I think about it. I do also have a little jump pack though in my spare tire well for emergency jump starting so even if it did I wouldn't care :) I will say the radio uses less power to stay on than a dash cam it seems because if I leave me 12V 1A dash cam powered on recording in parking mode it WILL kill my battery in about 24-30 hours. The dash cam is so warm it defrosts a circular spot in my windshield in the winter haha. If a powered-off android tablet (our headunits with amp circuits off) uses enough power to kill a car battery in a half hour I would say you need a new battery anyway... considering the radio (while off) for a half hour probably draws an amp it would only draw 0.5 amp hours of juice out of a car battery which is usually AT LEAST 24 Amp hours (Ah).
[Android Head-Units] dragoescu:
Maybe someone on this forum checked the power drain when MCU is in power save mode?!

---------- Post added at 05:30 PM ---------- Previous post was at 05:29 PM ----------

Radio will drain 1-2 amps when booting and the usage increase when you increase the volume.
[Android Head-Units] striker1211:
Apparently 0.9 amps while sleeping:

http://xdaforums.com/showthread.php?p=49057240#post49057240

and

http://xdaforums.com/showpost.php?p=49057394&postcount=916

But I kind of doubt it to be honest. The testing shown includes the cars ECM being powered as well, they could have an alarm or something else draining the battery. But even with a worst case scenario it drawing 2.5 Amps at no volume sleeping for 30 minutes would only use 1.25 amp hours in a 24 amp hour battery. I did read that some people have problems where the radio sleeps and does not power off after the configured shutdown delay, if this was the case however just leaving your car for 24 hours would be enough to kill the battery to the point you would notice slower cranking. Either way, jump pack ftw.
[Android Head-Units] lindin34:
Hi..i know this is an old post..but im having issus whith my 6.2 android sytem..th8685gn.../ an21n second gen i beleive..the problems im having

Are after a bad flash the touch screen is off almost like backward..i lost funtion of the three .. bottoms how ever i can use a pc mouse..i dont know if is the same issues u had ? My unit had the same mcu..4.3.10....? You found a fix to that problem...
[Android Head-Units] dragoescu:
If you need more details about an21service here is some code:

https://github.com/d51x/com.tw.service_a5a4/tree/master/com/tw/service
[Android Head-Units] roystervi:
USB stick size

merry Xmas everyone, quick question... I did my search so please don't kill me and say do a search before posting. I was wondering what the biggest USB stick(gig) we can use on this head unit. I am currently using a 32gig stick to add my mp3 music and my music videos. The closest answer to my question is from post #7473, the guy had to do too much tinkering before he got 64gig usb stick to work.. Anyone using a ext. usb stick on their head unit without no problems?

thanks in advance
[Android Head-Units] Hisma:
I have a 2nd gen version of this unit and verified this works, but I am almost positive it will work on any of these units.

Use the tool & instructions on this page to format your 64GB USB stick as fat32 -

http://www.ridgecrop.demon.co.uk/index.htm?guiformat.htm

Then your unit will read it just fine.
[Android Head-Units] MoonPie2000:
lindin34

I am not sure if I had the same issue you are asking about. In my case I had written over my original MCU with an incorrect MCU and my HU was functioning incorrectly until I replaced the wrong MCU with the correct original one. Also while I have not experienced this there are other posts mentioning that fact of a reversed or backwards screen. This might be what you are experiencing either because of the wrong MCU or the bad firmware flash. Furthermore I had an issue, bad firmware flash, awhile back and had to do a reformat of my HU. Please be aware that you will need to disconnect the DVD prior to doing this or you could loose the use of the DVD. If you search this thread you can find info on the partition format. Good luck and hope all turns out well. :fingers-crossed:
[Android Head-Units] roystervi:
[MENTION=3097369]Hisma[/MENTION] thank a lot I will surely give it a try and let you know if it did work for me..Again thanks
[Android Head-Units] lindin34:
Hey kid2 ..do you know whats the mcu # for the th8685...this is the silver variation of the unit shown in the front page..i did a bad flash to the unit..and now the 3 buttoms in the fascia of the radio lost the funtion.and the touch screen is completely off like backward..i like to know the exact info..or a link that takes me to the files that i need..?...thanks
[Android Head-Units] Edgaras7777:
I try it, but not help it, or maybe i something do wrong :((
[Android Head-Units] lindin34:
Question is the above inf for th8685 silver variation...?..
[Android Head-Units] lindin34:
Just wondering what unit is the one in the picture..i have th8685..silver face 1 knob..and i have been looking for the right mcu..and system files since my unit got screwup..when i flashed a different firmware..now 3 main buttoms dont work, and the touch screen is off like by 2 inches the scroll bar comes down if u touch the bottom of the screen..anybody knows how to fix this..
[Android Head-Units] gpmg762:
I have the an-21u from page 1, the mcu is 4.1.0-1-10-2101 and http://an21u.coldzone.ru will explains the features.
[Android Head-Units] lindin34:
Where can i get that mcu file?..its not in my mcu folder..
[Android Head-Units] dragoescu:
It's too old, it may brick the unit
[Android Head-Units] gpmg762:
https://www.dropbox.com/s/cqgbazdgzy5gu3y/4.1.0-1-10-2101.zip?dl=0
[Android Head-Units] Hisma:
does anyone understand the equalizer on this thing? I don't understand what I am adjusting when I adjust the "baseF" "middleF" "trebleF". I know f is for frequency... but is it some highpass/lowpass filter values? And how do you know what the actual frequency is since it is not shown?

When I use the "normal" pre-set on the EQ my sound is HORRIBLE. It seriously sounds like a AM radio... mids are way too high it seems. I am running premium audio w/ a external amplifier and everything. I even went as far to install viper4android, but nothing I seem to do is able to get decent sound out of my system.

Anyone that owns one of these units and has managed to get it to sound good, please help!!! I need help understanding the stock EQ and how to adjust it to not sound like ****. Thanks
[Android Head-Units] lindin34:
You think this file here could work with my th8685 silver..?...having the wrong could it be the reason why the touch screen working backward...off by 2 inchs..?...
[Android Head-Units] mado123:
Thanks

Thanks
[Android Head-Units] gpmg762:
Your best bet is to use the original mcu for your th8685 if you know it is else ask your seller or someone with the same radio.
[Android Head-Units] Need4Camaro:
Although I can make Bluetooth calls on my internal Mic, my android OS doesn't seem to be able to see the internal Mic. When I go on Skype or other Mic dependent apps it's telling me I have no Mic installed.
[Android Head-Units] NMR2D2156:
Can't install supersu after root...

I cannot install supersu after I rooted my system using Baidu root. The system roots fine, even root checker says everything checks out, but when I try to update the binary in supersu it says failed. I get the pop up from Baidu root and select grant root to supersu but it will not install the binary. Does anyone have any suggestions please?

:(

[MENTION=6863837]Need4Camaro[/MENTION],

My understanding is that the mic is linked to the car andtoid thru the mcu unit and will not be seen by the Android os portion of the system, thus only the mcu application for phone works... I could be wrong... I know I could not get the mic to work with Skype or other applications myself...
[Android Head-Units] srfairhurst:
I have something similar what i need is the radio apk as the installed one on my system is curupt if anyone has it
[Android Head-Units] brouer:
Hi

Did you ever get the steering wheel control working?

I have the same problem in my peugout 308
[Android Head-Units] dragoescu:
Hello,

If someone needs to understand what MCU version means this website will help: http://an21u.coldzone.ru

Or this information (i got it from 4pda forum):

MCU Model Choose:

This function looks for *.zip files in "/system/etc/mcu"

Translates zip names into various information for model choose list.

When selecting a model in the list, it unpacks the MCU file from the corresponding zip to "/data/tw/4bf18a00-297a-11e3-ab19-000c29ba27c0"

... and flashes it, I presume

File naming scheme:

v.v.v-a-bb(b)-ccde.zip

Translates to:

"Car model(Version, Features, Audio chip, Tuner chip)"

v = Version

Used "as is" in building the model choose list.

a = ?? (hardware revision perhaps ?!)

(During model choose dialog creation, it looks like some value in the mcu is queried, and checked to be between 1 and 9999 (otherwise model choose aborts). Additionally [a] must match this value for the file to be included in the model choose list.

bb(b) = Car model (default "Normal")

Two or three digits. The two first digits are translated to the list below. A third optional digit translates to some additional feature.

10 = VW

20 = CRV/CIVIC

22 = CRIDER

30 = Camry/RAV4

40 = Mondeo

41 = Focus

42 = F350

50 = Mazda

51 = CX5

60 = IX35

61 = IX45

70 = Teana 2012

71 = Teana 2013

81 = Opel

90 = PSA508

F0 = V5

F1 = X80

xx1 = add "RZC" to features

xx2 = add "HC" to features

cc = Features (binary bitmask)

bit 0 (.......1) = RDS

bit 1 (......1.) = Sleep

bit 2 (.....1..) = AD

bit 3 (....1...) = 2Din FZ (bit 3 and 4 are mutually exclusive and mapped to some string array, no value exist if both bits are set)

bit 4 (...1....) = 1Din FZ (bit 3 and 4 are mutually exclusive and mapped to some string array, no value exist if both bits are set)

bit 5 (..1.....) = Color

bit 6 (.1......) = BC6 (most likely code for BlueCore6 module, supporting OBDII - thank you [MENTION=5835326]julsn[/MENTION]; ref. #4009)

bit 7 (1.......) = NODVD

d = Tuner chip (default 0)

0 = TEF662X

1 = SI47XX

2 = TEF665X

e = Audio chip (default 0)

0 = TDA7415

1 = Rohm37534

2 = TDA7719

Some examples:

4.2.15-1-10-2101 = "VW(4.2.15, RDS, Color, Rohm37534, TEF662X)"

4.2.15-5-30-8001 = "Camry/RAV4(4.2.15, NODVD, Rohm37534, TEF662X)"

4.2.15-8-10-E501 = "VW(4.2.15, RDS, AD, Color, BC6, NODVD, Rohm37534, TEF662X)"

4.2.15-11-902-4501 = "PSA508(4.2.15, HC, RDS, AD, NODVD, Rohm37534, TEF662X)"
[Android Head-Units] Edgaras7777:
hi, maybe whats have weather and clock program? i need whats this program allways show me in desctop weather and time info, program somethink like this
[Android Head-Units] dragoescu:
https://play.google.com/store/apps/details?id=com.devexpert.weather&hl=en
[Android Head-Units] Edgaras7777:
this program dont show me info in desctop
[Android Head-Units] dragoescu:
Hello,

I think you may want yo say "desktop". To show info on "desktop" you need to add it as a widget. Use google and search for "android widget" .

To help you...please do this. After you installed the program, go to app drawer and select widgets. Long press on the widget and place it on your desktop.
[Android Head-Units] Need4Camaro:
That was my first thought aswell. It actually DOES appear to work through the OS however. I downloaded and installed Google Now and Google Now CAN hear me through the internal MIC but it cannot understand what I'm saying at all.

[MENTION=1512498]dragoescu[/MENTION]

I purchased a USB Soundcard that didnt require drivers but my Android cannot see it. My laptop can see it and use it no issues but I cannot use the external mic through it from my Head Unit. Do you have any ideas of which I may beable to get my headunit to operate with the sound card? or is my only hold the solder method? Speaking of, what IS the solder method anyway?
[Android Head-Units] dragoescu:
Hello,

You need drivers on android for that sound card. Also you need to find a way to change the audio input source for the entire Android system. I know that Android 5.0 supports USB cards out of the box but are running Android 4.2.2.

Check system messages when you connect the USB card and see if the system is detecting the new card.
[Android Head-Units] Need4Camaro:
It is a C-Media Sound Card. Basically a USB device with 2 ports: http://www.amazon.com/Sabrent-Exter...qid=1452063169&sr=8-3&keywords=USB+Sound+Card

It loads like its trying to initialize the sound card then it says "Disconnect"

I did some additional testing. I used the app "USB Audio Tester" and it was able to connect to the sound card and play the MIC and relay it to my car's speakers, but Android / Google Now cannot. It was also able to tell what kind of device it was.

For the drivers, is there any was possible to obtain a driver and install it? If not, is it possible to upgrade to Android 5?
[Android Head-Units] dragoescu:
Hello,

No and no. Since you can use the card then drivers are ok. As I said you need to find a way to change the mic input for the entire Android OS to usb mic.
[Android Head-Units] Emil Borconi:
H264 hardware decode.

Hi guys, I have just tried to play some H.264 file on the head unit, and wasn't to successful. The default player did not even open the file, 3rd party players did open the file but al I could see was a nice green screen :)

By reading about it and so I understood that H.264 encoding/decoding is not supported by the OS, the SoC has the capabilities to do hardware enc/dec of H.264 but the drivers are not properly implemented in the OS.

Does anybody know of any hacked/patched/moded firmware which can enable H264? To my understanding even RedMod is just a skin re-design of the default OS without any real modification, or am I wrong?

Thanks for the answer.
[Android Head-Units] dragoescu:
Hello,

As far as I know there is no source code of the firmware for this unit. Because of this you can not recompile kernel and do more advanced "hardware" teaks. RedMOD (at least latest) is a variation of firmware 2.9.5 with some visual improvements , configuration tweaks and some app modification (like the an21 service, radio, music, eq, etc). Also in RedMod you have new drivers installed.
[Android Head-Units] jmh89:
I did some searching, but couldn't find and answer on this thread. What is the largest micro SD card tolerated by this head unit? I had a 32gb, but ran out of room for my music. I purchased a Transcend 128gb on Amazon ($40) but it can't mount it. The 32gb card is formatted as FAT32, the 128gb is exfat (Fat32 isn't an option) Does anyone know if there is a size limit? Would a 64gb card work?
[Android Head-Units] dragoescu:
It is discussed on this forum. Search again.