OESF Portables Forum

Model Specific Forums => Cosmo Communicator => Cosmo Communicator - Linux => Topic started by: caeleron on January 11, 2023, 08:17:15 pm

Title: Cosmo Communicator Linux Debian v4 firmware installation help
Post by: caeleron on January 11, 2023, 08:17:15 pm
Hello!

I am trying to install Linux Debian v4 for the Cosmo Communicator. I've followed the instructions at https://support.planetcom.co.uk/index.php/Linux_for_Cosmo, but various attempts to load the firmware have failed.

When trying to use the SD Card method they provide, the following message appears when selecting the 'Install Custom OS on your COSMO' option:
Code: [Select]
Supported API: 3
Detecting custom installers, please wait...
E:/bin/sh failed with status 127
Can't find custom installers in SD card - Error 127!
Error:Error: can't open error log file!

Noticing that the firmware was outdated (It shipped with firmware version 19.6 and CoDi version 13), I attempted to update the firmware with the pre-installed Android OS via Settings->System->Wireless Update. However, it is listing that the version it shipped with is the latest version despite several locations on the support site saying that version 25 is the latest. I tried to manually install the latest firmware with the image provided here: https://support.planetcom.co.uk/index.php/Latest_Cosmo_Firmware. Recovery Mode did not recognize any of the files provided in the firmware zip as valid firmware updates when going through the 'Apply update through SD Card' menu.

When selecting the 'Apply update through ADB' option, sending the zip file with either the android firmware update or the debian install gives the same message:
Code: [Select]
Finding update package...
Opening update package...
Verifying update package...
E:footer is wrong
Update package verification took 0.1 s (result 1)
E:Signature verification failed
E:error: 21
E:Failed to open driver control: No such file or directory
Installation aborted.

I did see the post here: https://www.oesf.org/forum/index.php?topic=36822.0, but it didn't cover the actually firmware flashing process, so I'm still stuck.

Any help on this would be greatly appreciated!
Title: Re: Cosmo Communicator Linux Debian v4 firmware installation help
Post by: wiml on January 18, 2023, 01:10:25 am
I'm not sure if it's the same issue, but when installing the firmware via sd card I had to be sure that the card was unpartitioned ... not even a single DOS partition covering the whole device, but just mkfs.fat directly on the sd card device.
Title: Re: Cosmo Communicator Linux Debian v4 firmware installation help
Post by: flamehaze on February 03, 2023, 09:20:47 pm
Is there a tool that would help format the SD card that way?
I have spent hours formatting different SD cards trying to resolve the same issue.  Every time I get that it can't find custom installers in SD card - Error 127!

On the website's support, it says to just use the files application to extract the files. I've had the android side format it for both android extension and for file storage with the same results.  From my linux desktop, I have tried formatting it with fat32 with a single partition.  As well as trying to use Rufus to format it as well

There must be a "simple" instruction for getting a SD card prepped to make this work.
Title: Re: Cosmo Communicator Linux Debian v4 firmware installation help
Post by: flamehaze on February 04, 2023, 06:59:51 am
I also wanted to add that it does mount the sd card. I can see the folder when I select the option to install custom firmware.
So there must be something off with either the folder or the contents. I've redownloaded the linux zip on different files and their md5 always checked out before I tried
Title: Re: Cosmo Communicator Linux Debian v4 firmware installation help
Post by: flamehaze on February 06, 2023, 10:18:42 am
I gave up trying v4 and downloaded v3 instead.  V3 was recognized and was running the custom installer.  I don't know what is wrong with v4.
Title: Re: Cosmo Communicator Linux Debian v4 firmware installation help
Post by: wyzellak on February 07, 2023, 05:18:41 am
I just got a new Cosmo Communicator (the 30% off for the JP keyboard version was a really good way to convince me, PlanetCom  ;D ).
I spent most of the evening I got it trying to install Linux, and it was... clunky. I suppose it must've been easier for the users who had got the device closer to the release date, and had received the OTA updates in time.
Anyway - here's what I've done.


TL;DR:

Update incrementally from v19 to v22, then from v22 to v23.
This will give the recovery menu the ability to read 'new' OS image formats.
Remember to always unpack ZIPs carefully into a clean SD card root (do not merge two install zips into one folder).
Once on v23, repartition the device, reboot, and install Debian v4 from the SD card.

BTW, does anyone know where can I get Android v25 update? That still doesn't show up for me as OTA.
Title: Re: Cosmo Communicator Linux Debian v4 firmware installation help
Post by: rigid on May 03, 2023, 12:34:12 pm
Quote
BTW, does anyone know where can I get Android v25 update? That still doesn't show up for me as OTA.

I has write to support about it, and this is answer:

Quote
We're sorry to hear about the issue with firmware updates. We have escalated the matter to management as this affects all devices at the moment. We will update you once we have a solution.