Personal tools

Log in

Changes

From Planet Computers

Jump to: navigation, search

Linux for Cosmo

528 bytes added, 11:17, 5 May 2021
Linux News
==Linux News==
'''28/04/2021 - The latest Linux Debian firmware v4 is now available!'''
 
<span style="color: #ff0000;">Please note we are investigating an issue related to not receiving incoming calls with this version of Linux.</span>
 
Thanks to the ongoing support from the open source community, today we are glad to release the latest Linux Debian v4 for Cosmo Communicator!
 
This latest release provides bug fixes and new features:
 
* Support for Camera is now available
* Improved boot screen and lock  screen
* Support for dual keyboard language layout. If you use a dual keybaord layout, such as Japanese, you can press both shift keys at the same time to cycle between the layouts (i.e. english and japanese).
* New installation program allows you to select your keyboard layout and time zone. The information is then stored in phone settings and retained even after Linux reinstallation.
 
Please note that altough it's possible to keep using Linux v3, updating from v3 to v4 using apt is not possible.
 
'''It's therefore recommended to use the guide below to install Linux v4.'''
 
Notes on Linux v4 installation:
 
* The new installer will allow you to select your keyboard layout and time zone
* If you use a dual keyboard layoyut, your settings might not be picked up on the very first boot. For example if you choose Japanese layout, on your first boot the screen and keyboard layout could still be set to English. Simply reboot the unit and both the language and keyboard layout will be fully configured. Remember you can switch between the 2 keyboard layouts by pressing both left and right shift buttons at the same time.
 
For more information about this release, please see [https://gemian.thinkglobally.org/releases/2021-04-22-gemian-release-notes.txt here].
 
 
'''11/12/2020 - Linux update<br />'''
 
Today we released a new update for Linux users! It can be installed by typing the following commands in a terminal:
 
<code>sudo apt update</code>
 
<code>sudo apt upgrade</code>
 
Please reboot the unit after these commands.
 
The update includes a brand new feature which allow users to set the keyboard brightness either by using the key combinations Shift+Fn+B and Shift+Fn+N or by setting its value in the settings (System Settings ->Power Management -> Energy Saving -> Keyboard backlight)
 
The update also contains keyboard improvements and CoDi bug fixes.
 
 
'''18/11/2020 - The latest Linux Debian firmware v3 is now available!'''
==Cosmo Linux installation==
====Existing Before installing Linux installations====If , make sure you plan to update your current Linux installation to have the latest versionAndroid Firmware installed, please make sure that you manually install CoDi firmware v15 ('''Requirement 2''' - see below) and [[Manual Update Linux v3|follow this linkcurrently v25.]]
The rest of this guide details how to perform a fresh Touchpad functionality for Linux installationis added in the latest CoDi, version 1.1.1.16.
====New Linux Installations====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 v4 (latest)====Next, you You will have to download the Linux firmware file, which will need to be installed 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-v3v4.zip http://support.planetcom.co.uk/download/cosmo-customos-installer-v3v4.zip] (MD5: f6a765389913c790174d05dfdcb031d98e5b2ec60d45627e66828f419fe63199)
Older versions:
* [http://support.planetcom.co.uk/download/cosmo-customos-installer-v3.zip http://support.planetcom.co.uk/download/cosmo-customos-installer-v3.zip] (MD5: f6a765389913c790174d05dfdcb031d9)
* [http://support.planetcom.co.uk/download/cosmo-customos-installer-v2.zip http://support.planetcom.co.uk/download/cosmo-customos-installer-v2.zip] (MD5: ba7f88924eb4254ac4c2aeb1c59ce6d6)
* [http://support.planetcom.co.uk/download/cosmo-customos-installer-v1.zip http://support.planetcom.co.uk/download/cosmo-customos-installer-v1.zip] (MD5: 554e8ec1f1c57b0fc3a6140b1ecad3ea)
Whenever new or updated custom operating systems will be available for the Cosmo, you will be able to download them into a micro SD card and install it in your device.
 
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
 
Once you select a custom OS you have to select where to install its boot firmware. Remember that you can install TWRP only on the EMPTY_RECOVERY_BOOT_2 partition, while you can install Debian/KDE and the Rooted android image in either EMPTY_NORMAL_BOOT_3 or EMPTY_NORMAL_BOOT_4 partitions.
==Debian/KDE installation==
Simply follow the installation steps above. The Debian/KDE installer will automatically install the boot image into the selected partition and it will also install the rootfs image into the Linux partition.
 
'''The latest Linux v4 will automatically configure the keyboard layout based on the installation choice. The following guide is obsolete and kept as reference.'''
====Keyboard Layout Configuration====
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====
==Rooted Android installation==
'''Please see [[Rooted Android For Cosmo|this page for instruction on how to install Rooted Android on a Cosmo.]]'''
 
 
The following information is now outdated and kept as reference only.
 
Install the Rooted Android image as per the installation above.<br />After booting the rooted Android partition, complete the installation by downloading and running Magisk Manager ([https://magiskmanager.com https://magiskmanager.com]). The Magisk Manager interface should then be similar to the following screenshot (notice the green OK icon, device IS rooted).