harman-f / MHI2_MIB2_AIO_FW_Update_Template

Harman MHI2 MIB2 AIO FW template
GNU General Public License v2.0
34 stars 6 forks source link

Android Auto does not work #11

Open Attelah7 opened 1 year ago

Attelah7 commented 1 year ago

Hello!

I installed this AIO firmware, everything OK almost, but the Android Auto does not work. When I connect my Samsung A51 phone via USB cable, does not happen anything in the cars display. The phone starts to charge and ask the USB mode. I allow to connect as file transfer and Andorid Auto, but nothing happen in the car.

Can you help me?

Thank you in advance!

20230608_113006 20230612_092338

harman-f commented 1 year ago

Do you have the right USB port in your car? Old once do not support CP

Attelah7 commented 1 year ago

How can I identify that the USB port is a right one? Before the update I have only Mirror Link and the unit recognised the USB connected phone, just can not connected. So I think the USB port is correct.

20230501_193732 20230501_193918 20230501_193935

Chmiking commented 1 year ago

Hello! I have exactly the same issue with my Passat 2015. At the start I had no access to the USB port at all. Then I went to carplay_check/usb_settings and activated the USB ports one at the time for testing and now I can access my media files via USB. My car only have 1 USB port in the armrest and the setting that works is USB_2. However I can not not get Android Auto to work. Not even MirrorLink is working with my old phone even though it worked before.

Thanks!

harman-f commented 1 year ago

https://mibwiki.one/doc/usb-port-carplay-android-auto-GOvU5Ji0LN

You need the one with green connector

Chmiking commented 1 year ago

Doesn't the green connector only apply to those who want CarPlay? MirrorLink was working before the update, so it seems illogical that a new connector is needed now.

harman-f commented 1 year ago

Please share your LOG file from SD.

Check if AA FEC is active, also coding has to be OK, which you can also check in GEM

Chmiking commented 1 year ago

Hi again!

Sorry for hijacking this thread. Hopefully this can solve the problem that @Attelah7 is also having.

FEC 00060900 is valid. Under "/carplay_check/check_coding", everything is set to on. "Baidu CarLife" is not activated. USB configuration is set to "iPod - CarPlay & Android Auto"

I have a feeling that the USB configuration needs to be changed due to the old USB port, but the values are locked.

Here is the log from the backup folder, file MU1427-JTB-07411.12.141166034D.log:

 __  __     ___           ___  
|  \/  |   |_ _|         | _ ) 
| |\/| |    | |          | _ \ 
|_|  |_|ore|___|ncredible|___/ash - V1.0.0 - 20230318 "M.I.B VWG11 AIO FW update version"
______________________________________________________________________

NOT FOR COMMERCIAL USE - IF YOU BOUGHT THIS YOU GOT RIPPED OFF

Logging_MU1427-MHI2_ER_VWG11_K3342-JTB-07411.12.141166034D:
HW Number: H41 - PN: 3G0035043A
Variant: FM2-H-N-EU-VW-MQB
EEPROM Variant: MU-H-N-EU
Dataset Version: V03935214QN
Model ID: 028402 - Car Model: VW Passat Variant/Wagon (3G5) 
VIN -> CAR:  - MIB: 

 ls --> total 1021
      16 drwxrwxrwx 29 root      root           8192 Jan 01  1970 .
      16 drwxrwxrwx 29 root      root           8192 Jan 01  1970 ..
      16 drwxrwxrwx  2 root      root           8192 Jun 13 19:27 .System Volume Information
       1 -rwxrwxrwx  1 root      root            246 Mar 18 01:23 AIO Wiki.url
      16 drwxrwxrwx  3 root      root           8192 Aug 03  2022 CINTERION
      16 drwxrwxrwx  3 root      root           8192 Aug 03  2022 DAB
      16 drwxrwxrwx  3 root      root           8192 Aug 03  2022 DUV101
      16 drwxrwxrwx  3 root      root           8192 Aug 03  2022 DUV211
      16 drwxrwxrwx  5 root      root           8192 Aug 03  2022 DVB-DTV
      16 drwxrwxrwx  3 root      root           8192 Aug 03  2022 DVD
      16 drwxrwxrwx  3 root      root           8192 Aug 03  2022 GPS
      16 drwxrwxrwx  5 root      root           8192 Mar 08 00:29 Gracenote2
      16 drwxrwxrwx  3 root      root           8192 Aug 03  2022 IOC
      16 drwxrwxrwx  3 root      root           8192 Aug 03  2022 LTE-ALS6
      16 drwxrwxrwx  3 root      root           8192 Aug 03  2022 MIBLite2_APN
      16 drwxrwxrwx 10 root      root           8192 Aug 03  2022 MMX2
      16 drwxrwxrwx  3 root      root           8192 Aug 03  2022 MUConsistency
      16 drwxrwxrwx  3 root      root           8192 Aug 03  2022 MuINIC
       0 -rwxrwxrwx  1 root      root              0 Dec 09  2020 NOT FOR COMMERCIAL USE - IF YOU BOUGHT THIS YOU GOT RIPPED OFF.txt
      16 drwxrwxrwx  7 root      root           8192 Mar 06 22:28 RCC
       3 -rwxrwxrwx  1 root      root           1447 Mar 18 01:34 README_AIO.txt
      16 drwxrwxrwx  4 root      root           8192 Aug 03  2022 RadioStationDB
      16 drwxrwxrwx  5 root      root           8192 Aug 03  2022 SpeechAppRes
      16 drwxrwxrwx  5 root      root           8192 Aug 03  2022 SpeechRes
       0 -rwxrwxrwx  1 root      root              0 Jul 30  2022 Swdlautorun.txt
      16 drwxrwxrwx  3 root      root           8192 Aug 03  2022 Tuner
       1 -rwxrwxrwx  1 root      root             55 Mar 18 01:34 VERSION
      16 drwxrwxrwx  3 root      root           8192 Aug 03  2022 VW_MIB2_AMP
       1 -rwxrwxrwx  1 root      root            296 Jan 01  1980 WMPInfo.xml
      16 drwxrwxrwx  3 root      root           8192 Mar 16 01:08 apps
      16 drwxrwxrwx  4 root      root           8192 Jan 01  1980 backup
      16 drwxrwxrwx  3 root      root           8192 Aug 03  2022 common
      16 drwxrwxrwx  2 root      root           8192 Mar 06 23:13 config
      16 drwxrwxrwx  3 root      root           8192 Mar 06 22:21 esd
     551 -rwxrwxrwx  1 root      root         281894 Mar 16 00:49 metainfo2.txt
      16 drwxrwxrwx  5 root      root           8192 Mar 06 22:21 mod

RCC-aio_generic---->
[finalScriptSequence] running...
-- Swdlautorun.txt disabled
-- ExceptionList restored and SWDL cleaned
-- Illegal and withdrawn FECs removed
-- CarPlay, AndroidAuto, Mirrorlink and Development Mode activated
-- Write coding to persistence
-- M.I.B link to GEM installed
[finalScriptSequence] completed

RCC-wlan---->
WLAN is activated now
02840201ff00000011110001000808001f0100c4012001009e

RCC-aio_special---->
Change skin and screening

RCC-backup---->
ifs-root-part2 (ASCII): 00f0
3 image type=2(IFS     )  ba0000...1a8a3a3 (15639460)|93...213 (120):LOCKED
0x00ba0000 - A4A3EE00

Found JTB-07411.12.141166034D Backup, will check if all complete...
Version info..... -> done :-)
FEC folders...... -> done :-)
Shadow files..... -> done :-)
Dataset's........ -> done :-)
EEPROM........... -> done :-)
storage1......... -> done :-)
storage2......... -> done :-)
backing up backup -> part 1 done
ls -als /net/mmx/mnt/boardbook --> total 256
      64 drwxrwxrwx  4 root      root          32768 Jan 01  1970 .
      64 drwxrwxr-x  5 root      root          32768 Jan 01  1970 ..
      64 drwxrwxrwx  3 root      root          32768 Jan 01  1970 MU0343
      64 drwxrwxrwx  3 root      root          32768 Jan 01  1970 MU1427
Free space on /net/mmx/mnt/boardbook 909M

RCC-addfec---->
AIO detected
FECs from /net/rcc/mnt/efs-persist/FEC
FECs currently used by unit
00060400
00060800
00060900
00040100
09300008
00070200
00050000
00030000
00060300
00060100

FECs from /net/rcc/mnt/efs-system/backup/FEC
FECs from factory
00040100
09300008
00070200
00050000
00030000
00060300
00060100

RCC-addfec---->
AIO detected

add FECs to FEC file from M.I.B backup folder
Existing FecContainer parsed
no patch folder there, FEC File build is done in /tmp...
AIO detected - copy FEC file from /tmp -> done :-)

RCC-addfec---->
AIO detected
FECs from /net/rcc/mnt/efs-persist/FEC
FECs currently used by unit
00060200
00060400
00060800
00060900
00040100
09300008
00070200
00050000
00030000
00060300
00060100

FECs from /net/rcc/mnt/efs-system/backup/FEC
FECs from factory
00040100
09300008
00070200
00050000
00030000
00060300
00060100

RCC-svm---->
Fix SVM Error (Note: The process can take some minutes...)
extract build version...
SvmInfo - Compressing... /net/rcc/mnt/efs-persist/SWDL/Log/SvmInfo.bin CfgAckRand - Uncompressing...
 /net/rcc/mnt/efs-persist/SWDL/Log/CfgAckRand.z to /net/rcc/mnt/efs-persist/SWDL/Log/CfgAckRand.bin

Key: 7134 - CHKSum: B8E6

CfgAck - Compressing... /net/rcc/mnt/efs-persist/SWDL/Log/CfgAck.bin Wait for DSI to connect ...
DSI Connected role1.DSIE2PAccess
responseWriteE2P address 0x3f0 status 0 len 0x03
0x3f0   00 00 01 
DSI Disconnected
clear SVM done!

Reboot Unit...
Attelah7 commented 1 year ago

MU1427-JTB-07405.03.15116610F8.log

Attached the log file.

Today I set the USB port at carplay_check/usb_settings and selected the #2 USB port. I have only 1 USB port in the center armrest like Chmiking. Now the unit can see the pictures and music on the phone at the Pictures and Media menu.

Android Auto still doesn't work.

Chmiking commented 1 year ago

Problem solved! Android Auto works in my car! A friend helped me change the USB configuration from "USB & iPhone Functionality.." to "USB functionality.." in module 5F - byte 19. Just as the image shows from this thread: https://forums.ross-tech.com/index.php?threads/5474/#post-52666

For me this will work for so long as all family members only have Android phones, but eventually I will replace the USB port to get full functionality.

I hope this info will help @Attelah7. Thank you! 🙂

Attelah7 commented 1 year ago

Thank you, i will check as soon as possible. I am on abroad now. I have a "cheap" VCDS and last week I have tried to read the 5F section but my VCDS could not show the titles at the Long Coding Helper menu. But now I know that the 19th byte is what I have to search, thanks to you.

Attelah7 commented 1 year ago

I checked the 5F section again. Long coding helper is not available. This happened because of the AIO firmware is installed?

Could you please send me a screenshot from your 5F long coding?

This is mine:

5F long coding

Chmiking commented 1 year ago

I'm sorry, but I don't have any screenshot from the event. When I got help, I think it looked like the one in the picture from ross-tech forum with the labels. Anyway, I don't think the AIO version have something to do with it.

Doesn't the lower right on your screenshot show the long coding helper, but without labels? Have you tried to update your software to the latest VCDS? If that's not possible, I think you can install the latest version on a different PC and copy the label folder to the one you're using to diagnose your car. This is just speculation, but it might be worth a try?

Chmiking commented 1 year ago

I also found this: https://sidicer.lt/vcds/

harman-f commented 1 year ago

AIO is not touching LC in any bad way, just changiung bytes to enable CP/AA and change USB port setting.

Missing label file is mostly related to wrong/unkonw PN. Was the unit converted?

Attelah7 commented 1 year ago

I just updated the unit from MHI2_ER_VWG11_S0259 and MU0199 to MHI2_ER_VWG11_K3342_1_AIO_MU1427.

"Missing label file is mostly related to wrong/unkonw PN." - What does it mean: PN?

harman-f commented 1 year ago

part number

Should be: 3G0035 and some more depending on HW configuration

Attelah7 commented 1 year ago

Success! Thank you very much for your help! I flashed my VCDS cable to the 22.10.0 software and than I could see the labels in 5F and changed the USB settings as you mentioned. Now it's working!

Dear harman-f, Thank you very much for the AIO firmware as well. Maybe you should add this method to the end of the installing process if the AA do not work after the installation.

I can not test the CP because I don't have iPhone. As soon as I have an opportunity to test with iPhone, I will write.

THANK YOU AGAIN MY FRIENDS!

20230621_232212

Chmiking commented 1 year ago

I'm glad it worked out for you! I think you will need a new USB port for CP to work, but you can always try when you get the chance.

Now that AA works, my next step is to get a dongle to connect AA wirelessly.

I also want to say thank you @harman-f for the awesome AIO firmware!🙂