Another victim...
Igor (BotchedRPR)
Hi, thanks for viewing my profile :)
I break phones, and maybe mainline them as a side effect
Currently working on blackberry key2 series android, mediatek mainline, and other cool stuff :)
Wishing you a great day from Poland
Finally - after some 6 hours of work, and multiple new drivers, fixes to the tree - #uboot with internal storage (ufs), and USB gadget is up on the CMF Phone 1 (MediaTek MT6878).
This was my first attempt at writing some uboot drivers - a learning experience. But I'm glad it all worked out, and now #postmarketOS will have an open bootchain on a modern MediaTek platform! Looking to upstream these patches after I clean everything up.
And if that wasn't enough - yep, that's first stage U-Boot on the CMF Phone 1.
This device has a vulnerability in its secure boot system allowing unsigned bl2 and lk images. I've settled on replacing lk, as bl2_ext initializes clocks, PDs and importantly display (which U-Boot is currently incapable of on this platform). So, the CMF logo is drawn by bl2, after that it's all U-Boot.
Such a simple boot sequence too:
Preloader -> bl2_ext -> u-boot
The Key2 family up to date. January 2026 security patch, Android 15.
Well, almost. There's still some polishing up to do but overall the port is in good shape. The regular Key2 has more issues than LE currently (and that is so sad - much nicer device). Apart from some modem firmware issues (Damn you BlackBerry for not releasing Pie!!!) the rest of the issues are very simple and should be fixed really soon. Feels good.
I've sent off the first one of many #uboot enablement patches for the MT6878/CMF Phone 1
Starting off with: UFS :)
https://lore.kernel.org/u-boot/20251011-mtk-ufs-uboot-v1-0-a05f991ee150@mentallysanemainliners.org/