Personal tools

Log in

Changes

From Planet Computers

Jump to: navigation, search

Linux for Cosmo

2,929 bytes added, 13:46, 19 November 2020
Debian/KDE installation
==Linux News==
'''18/11/2020 - The latest Linux Debian firmware v3 is now available!'''
This release contains a Cover Display (CoDi) implementation for Linux which provides a number of new features, such as: * Mouse Control - you can now use the CoDi display as a trackpad when the unit is open* Phone Control - you can browse contact and place/accept calls from the Codi screen while the unit is closed* Device Control - you can switch OFF/reboot Cosmo from the CoDi display* Contacts can be updated by the gka-contacts-qt application or directly from the dialer app <br /> A big thank you to the Cosmo Communicator open source community for supporting Linux on Cosmo Communicator! [[File:Screenshot_20201118_110844.png|left|422x211px|border]] [[File:Screenshot_20201118_111109.png|right|422x211px|border]]                To see some of the new features, please take a look at this Cosmo Communicator update video [https://youtu.be/aljMVuzT5-Y https://youtu.be/aljMVuzT5-Y]  Older Linux Debian v2 firmware The latest Linux Debian v2 firmware has numerous bug fixes and supports the following new features:
* Phone Calls
* Open/Close power save support
==Cosmo Linux installation==
====Existing Linux installations====
If you plan to update your current Linux installation to the latest version, please make sure that you manually install CoDi firmware v15 ('''Requirement 2''' - see below) and [[Manual Update Linux v3|follow this link.]]
Many thanks for the Cosmo Communicator open source community for supporting The rest of this guide details how to perform a fresh Linux on Cosmo Communicator!installation.
====New Linux installationInstallations====The first step to install Linux on your Cosmo is to make Before starting the installation, please be sure that you are running the latest Android firmware, currently '''V23(Requirement 1)'''.  ====Requirement 1 - Latest Android firmware v23====You can check the Android version by tapping Settings -> System -> Advanced -> About Phone and scrolling to the end of the page (see Build number detail, in the screenshot below).
[[File:24_43.jpg|center|800x400px|border]]
  ====Requirement 2 - Codi firmware v15====To take full advantage of the latest features (such as CoDi trackpad control) you will need to manually install CoDi v15. Flashing this firmware is a relatively quick process, because it does not contain the (big) resource file. However, you should make sure you have the latest v14 CoDi firmware and resources before starting this update. Once your CoDi is running v14, you can proceed to manually flash version v15. You will need to download the firmware from this location: [http://support.planetcom.co.uk/download/Cosmo_firmware-stem_ospi2_mouse15.bin http://support.planetcom.co.uk/download/Cosmo_firmware-stem_ospi2_mouse15.bin] (save it to the internal memory into the root directory) and install it manually using the Cover Display Assistant app on Android. The flashing process does not need the second resource file but it assumes that the v14 firmware is installed. [[File:IMAGE2020-11-18.jpg|center|800x400px]] Select "Advanced" and then "Flash Image Manually" and then select the<span style="color: #000000;"> Cosmo_firmware-stem_ospi2_mouse15.bin. To update the CoDi firmware click on the "FLASH NOW" button. '''After flashing, please ignore any over-the-air Cover Display assistant notifications to update firmware as this is a custom build.'''</span> ====Download and Install Linux firmware v3 (latest)====Next , you will have to download the Linux firmwarefile, which will need to be installed into onto the microSD card on your Cosmo. Insert a microSD card on your Cosmo and make sure it is formatted as MS-DOS(FAT32).
The Linux firmware is part of an archive that also contains TWRP and rooted Android.
You can download the latest archive file at this URL: * [http://support.planetcom.co.uk/download/cosmo-customos-installer-v3.zip http://support.planetcom.co.uk/download/cosmo-customos-installer-v3.zip] (MD5: f6a765389913c790174d05dfdcb031d9) Older versions:
* [http://support.planetcom.co.uk/download/cosmo-customos-installer-v2.zip http://support.planetcom.co.uk/download/cosmo-customos-installer-v2.zip] (MD5: ba7f88924eb4254ac4c2aeb1c59ce6d6)
* The older v1 version is available here: [http://support.planetcom.co.uk/download/cosmo-customos-installer-v1.zip http://support.planetcom.co.uk/download/cosmo-customos-installer-v1.zip] (MD5: 554e8ec1f1c57b0fc3a6140b1ecad3ea)
Alternatively, you can also purchase a Linux Media Installation Card with the firmware already preloaded onto the a micro SD card. This can be purchased from [https://store.planetcom.co.uk/collections/media-books https://store.planetcom.co.uk/collections/media-books/]
Once you downloaded the zip archive you will have to extract its content onto your microSD card:
# Open Using the Files by Google and app (do not use File Manager app) locate the ZIP archive# Tap the archive file to reveal the cosmo-customos-installer folder# Long tap on that folder, select Extract to... and finally select the root folder of the microSD card as destination. # Complete the ZIP extraction process.# Your microSD card should now contain a folder named cosmo-customos-installer with several files inside it.
At the moment we have initial support for the following:
* TWRP (Team Win Recovery Project)'''Please use caution when using TWRP as it can brick your device.TWRP support is limited for Cosmo Communicator (you can't access the encrypted user data partition) and its usage is discouraged. Use it at your own risk.'''
* Debian using KDE/Plasma - beta
* Rooted Android
Using this method you will be able to install a custom OS such as Linux on your device without the need for a laptop or a desktop computer. All you need to do is to download the installer in a micro SD card and use the recovery mode to start the installation.
 
You can watch a Cosmo Communicator How-To video detailing the Linux installation process from SD card at this address [https://youtu.be/7guqI4nA8CU https://youtu.be/7guqI4nA8CU]
==TWRP installation==
'''Please use caution when using TWRP as it can brick your device. '''
 
'''TWRP support is limited for Cosmo Communicator (you can't access the encrypted user data partition) and its usage is discouraged. '''
 
'''Use it at your own risk.'''
 
Follow the installation steps above and just remember that TWRP can only installed in the EMPTY_RECOVERY_BOOT_2 partition.
====Keyboard Layout Configuration====
The default keyboard layout is American English. To , to configure a different keyboard layout, click on see the menu icon and select System Settings. Inside System Settings select "Input Devices" and set the Keyboard Model under Hardware to "Planet | Planet Computers Cosmo Communicator" as in the screenshot example command below. '''Tap the Apply button'''. [[File:55.jpg|center|640x480px|border]]  Next, go to the Layouts tab where you can select your own Cosmo keyboard layout. For example, to select the British UK keyboard layout, tap on "Configure layouts" and specify the English (GB) keyboard layout, as in the following screenshot. [[File:23_04.jpg|center|800x600px|border]]  
You can also use command line to set the keyboard hardware model and layout. The following command can be used to set the keyboard layout to English (GB):
<code>setxkbmap -model planetgemini planetcosmo -layout gb</code>
To restore the layout to English (US), use the following command:
<code>setxkbmap -model planetgemini planetcosmo -layout us</code>
====WIFI Configuration====