the-modem-distro / pinephone_modem_sdk

Pinephone Modem SDK: Tools to build your own bootloader, kernel and rootfs
GNU General Public License v3.0
591 stars 63 forks source link

Mudita Pure #166

Open sarahspock opened 1 year ago

sarahspock commented 1 year ago

Mudita pure is a dumb phone with an open source OS and a Quectel EG25-G modem. I am wondering if it is possible to flash the firmware onto this phone instead of the PinePhone. The instructions for flashing the firmware are specific to the linux OS on the PinePhone and as such will not work on the open source muditaOS.

dogtopus commented 1 year ago

It seems like their OS is not linux based (and why would it). So you might need to find the USB test points for the modem and do it manually from a computer with ADB installed. If it's not provided you might be out of luck.

Biktorgj commented 1 year ago

Mudita OS is based on FreeRTOS, so flashing from the phone itself would probably be impossible. Furthermore, I'm not even sure if USB is connected to the main SoC at all, it could be wired to only use the serial port so flashing that way would be impossible. Only chance I could think of is building some FOTA package, but if it breaks or fails your modem would be dead. Totally not recommend it unless you have a recovery method of some sort

Funny enough if pads are exposed as in the photos here (https://forum.mudita.com/t/pure-disassembly-pictures/4814) and you're good with a soldering iron you could put the modem in edl mode though. Fun experiment but a dangerous game

dogtopus commented 1 year ago

Mudita OS is based on FreeRTOS, so flashing from the phone itself would probably be impossible. Furthermore, I'm not even sure if USB is connected to the main SoC at all, it could be wired to only use the serial port so flashing that way would be impossible. Only chance I could think of is building some FOTA package, but if it breaks or fails your modem would be dead. Totally not recommend it unless you have a recovery method of some sort

Funny enough if pads are exposed as in the photos here (https://forum.mudita.com/t/pure-disassembly-pictures/4814) and you're good with a soldering iron you could put the modem in edl mode though. Fun experiment but a dangerous game

It does seem to have tethering support so I assume it would have full USB connectivity? Again not sure unless there's a schematic available.

Biktorgj commented 1 year ago

Oh I didn't know that! I guess making Linux run on that imx SoC to flash the modem would be a little bit overkill though :)