r/Androidheadunits • • 2d ago

Android 14 First stable boot on PX6 MTCE device

So I have an old android headunit. A PX6 device. It was running a android 10 install and had been locked there with no upgrade path for years.

Together with Qwen and Opus i've been working all week to port a newer android to this head unit. Since support for android 10 ended years ago and slowly apps where no longer available for this device. Also there was a nasty bug that made an old webview mandatory. So the device was very vunerable in this day and age.

I settled on android 14 for now because this was the newest version I could go to with only shims under the hardware blobs. It also still runs a older but supported linux kernel.

The biggest hurdle was not having UART pins or MTP USB port on this unit. So I had to first make a adb over UTP work in recovery. Once that hurdle was taken I made adjusted bootscripts that would reset to said recovery on panics and when the deadmans switch for ADB over UTP was not reached.

From then on it was rapid iteration. It took about 22 attempts to get at this stage.

I am now working on shims for the HCT framework to get bluetooth, physical buttons, GPS and stearing wheel back.

After that I can start work on reverse engenering the 4 blobs used now. Once those blobs are reversed engeneerd there is nothing standing in the way of going to even higher Android versions. Although there is no rush because android 14 is set to sunset in 2030. So don´t know if my car has an horizon that long...

I have a repo with all the steps, results and tools I made with the AI:

https://github.com/switchboy/VibeBakingFirmware

There is no release yet, but the repo can be used as a recipie for your own AI to make you a firmware update!

19 Upvotes

6 comments sorted by

1

u/Revolvenge 1d ago

What if the hardware is too slow to run newer android versions? I was thinking maybe debloat the already os preinstalled ?

1

u/Switchboy1 22h ago

Runs pretty accepable right now.  Got most stock functionality going, except zlink and changing 'factory' settings. (No roadblocks just not tried/shimmed).  Going to work in that now. 

BT WiFi GPS AM/FM Screen audion in and output, CANBUS, physical buttons work.  

Also begon work on a debloated android auto style launcher. Which still needs some polish but is working. Even has a optional valet option. No pin or trusted BT device == just radio

Will strip/hide useless functions like camera app. Playstore and google ecosysteem also just works if you want that. 

Will post some screencapture when a bit more polished. 

2

u/Toczke 2d ago

Good work! I'm currently working on LineageOS 20 for Junsun V1 Plus.

Slowly getting things done. Deepseek v4.1 flash 1017 is actually doing good job on that.

2

u/eliofilipe 2d ago

do you have a repository? I have a junsun v1pro

1

u/Toczke 2d ago

After I got headunit stable with all essentials features I sure will create repo. For now it lives only local as it's still a long way to go.

1

u/samuel-leventilateur 2d ago

Let's work together Have a look at our project: https://libreHU.github.io/