Veyron2K / Carlinkit-CPC200-Autokit-Reverse-Engineering

Carlinkit CPC200-Autokit
GNU General Public License v3.0
42 stars 4 forks source link

2 big issues of CPC200-CCPW and WinCE #4

Open RogVE opened 5 months ago

RogVE commented 5 months ago

Hi guys! I really need help someone who can help with modifying a firmware and/or WinCE app.

In general WinCE users have 2 major issues. I will try to briefly explain both of them.

1st issue is a work WinCE app and Android phones (AA doesn't work anymore). Starting from the mid of 2022 all Android phones stopped connecting to the Dongle (It stucks on "Connecting" stage only if you will enable USB Debug). So, Android Auto and Android phones (I've tried many different models and brands) doesn't work with the dongle on WinCE anymore.

I think it could be somehow connected with the AA update on the phones or Android Ver. But I’ve tried to downgrade AA to 6.6 and use different Android versions (from 7 to 13) no success.

I can assume that the problem is somewhere in AA connection protocol on WinCE app (last ver. from 2021 and it won't upgrading, because Carlinkit stopped WinCE support)

2nd big issue is a Black screen issue on WinCE app and IPhones IPhones and Carplay work well from the begging. But starting from mid-2023 new dongles have a strange Black screen issue. When you closing Autokit app (using radio, phone call or rear camera) and come back to the app, you getting a black screen instead of interface. Music still playing and you also can use touchscreen, but the screen is black. After a few minutes you will getting an Windows error and app crush.

I have found a solution by installing old firmware (ver. 2022.04.25.1323). I was working perfectly without Black screen issue like it was. But I have order a new dongle. It comes with the updated firmware and hardware version and for now after installing old firmware (ver. 2022.04.25.1323) or later you will get a bug. Dongle stop showing WIFI and Bluetooth networks. So, you can't connect to the dongle anymore. Only one way to restore it again is installing latest Firmware.

I've found that new dongles have a different Hardware version (AC2035890. and AC2010 on latest dongles). Basically, it was AC2033500 and you can install old firmware to this version. But you can't install it to the new dongles anymore.

**Of course, Carlinkit Engineering team can't help with both issues and give only general advices.

Maybe anyone can suggest something or try to help WinCE users or even give an advice?

renanmadeira commented 3 months ago

@RogVE I'm using AA version 11 and wince with CCPW, initialy don't work even using debuging usb mode, freeze in connecting screen. i tryed to install a new firmware on dongle, the wince firmware folder. the dongle dies.... I tryed install all firmwares of this repository, and the dongle still dead. i sent an email for carlinkit support asking for the newest version of CCPW dongle and they replay with the firmware, now dongle is working and the AA is working also.

NOTE: I uninstall all updates of Android Auto from my mobile(settings->apps->manage apps->android auto->uninstall all updates), and i pluged in dongle usb, he connected and ask for update AA, i did the updated and now is working...

IDK if was the firmware update or the mobile uninstall updates, but now it's working fine.

PS: the screen of AA start a dancing, when you open the AA configurations click 5 times on version, he enabled the developing mode for AA, click on 3 dots on the top of screen, and click on develop settings, go to video resolution and check the option "allow car and phone to negociate", solve the problem

follow the last version of CCPW: https://drive.google.com/file/d/1CcGDw92sw1e9MGbgF2wREgpomnDAByFj/view?usp=sharing

RogVE commented 3 months ago

@renanmadeira Many thx. for the soultion and firmware attached. I tried to install this version to my CCPW dongle and looks like this version is the same that i have had installed. It's 2023.10.11.1035.

I will also try to uninstall updates of AA from mobile and install them again and let you know does it make sense or not.

May i ask you to check what version of firmware you have installed on your dongle. It's written in the lower left corner of the Autokit app screeen (together with App version) when you opening the app and before your phone connected to the AA. Or you can check firmware version by conncting to the WiFi network of the donge by your phone (pass. 12345678) and then opening http://192.168.50.2/ in phone web-browser. Then open "Box info" tab.

It would be great if you can send a screenshot of the Box info tab together with Hardware Version.

renanmadeira commented 3 months ago

@RogVE follow the images IMG_20240403_184411 IMG_20240403_184336 IMG_20240313_165111

RogVE commented 3 months ago

@renanmadeira thx for very fast reply ;)

I’ve found only one difference in firmware version

You have ver. 2023.10.11.1035.CAYW

I have

2023.10.11.1035.CMYW

Can you also send me the screen with your Hardware version? You need to connect to your dongle by WiFi and open settings page as I mentioned above.

here is my information: IMG_1452

renanmadeira commented 3 months ago

@RogVE inside of the wince app files have one folder "CAY", try to install the file on your dongle, I tried it on mine, before I recovery with the img that I shared before, idk, follow the PS of my hardware Screenshot_2024-04-03-19-48-27-493_cn paplink boxsettings

RogVE commented 3 months ago

@renanmadeira Thx! I found CAY file, maybe it helped, but i've tried to connect Samsung S23 Ultra and it works well with CCPM and CCPW adapter as well.

Can you please tell what phone do you use?

renanmadeira commented 3 months ago

@RogVE I'm using Xiaomi 11 ultra. So the problem was solved?

RogVE commented 3 months ago

@renanmadeira Thx! It solved with Samsung phone, i will try the others.

dotnetmaniac commented 2 months ago

I've an issue where WinCE head unit detects the device and asks me to connect phone. However when I try to connect to Bluetooth of dongle nothing happens on phone. It never gets connected. I've Samsung s22+ running on latest Android and latest Android auto. Any guess? 20240501_162208 20240501_190158

renanmadeira commented 2 months ago

@dotnetmaniac this dongle only accept AndroidAuto cable connection, the Bluetooth is for CarPlay (Iphone) only...

dotnetmaniac commented 2 months ago

@renanmadeira, many thanks for your response. I tried connection using cable as well. Nothing happens even if I wait for too long.🥲 I've tried removing all updates on android auto like you suggested as well.

Finally it's working now after I used samsung provided data cable. Thanks guys 🙏