Personal tools

Log in

Changes

From Planet Computers

Jump to: navigation, search

Linux Flashing Guide

679 bytes added, 11:30, 26 February 2019
Backup the NVRAM partition
<div style="margin: 0.4em 0px 0.5em; color: #252525;" source="" sans="" pro="" sans-serif="" font-size:="" 15="" 008px="" font-style:="" normal="" font-variant-ligatures:="" font-variant-caps:="" font-weight:="" 400="" letter-spacing:="" orphans:="" 2="" text-align:="" start="" text-indent:="" 0px="" text-transform:="" none="" white-space:="" widows:="" word-spacing:="" -webkit-text-stroke-width:="" background-color:="" ffffff="" text-decoration-style:="" initial="" text-decoration-color:="">These steps are detailed in the next sections.</div>
==Download and Install FlashTool on Windows==
<div style="margin: 0.4em 0px 0.5em; color: #252525;" source="" sans="" pro="" sans-serif="" font-size:="" 15="" 008px="" font-style:="" normal="" font-variant-ligatures:="" font-variant-caps:="" font-weight:="" 400="" letter-spacing:="" orphans:="" 2="" text-align:="" start="" text-indent:="" 0px="" text-transform:="" none="" white-space:="" widows:="" word-spacing:="" -webkit-text-stroke-width:="" background-color:="" ffffff="" text-decoration-style:="" initial="" text-decoration-color:="">The first step to install FlashTool on a Windows PC is to install the flash tool drivers. The drivers are needed for your Windows PC to communicate with your Gemini, the minimum requirement is to have a 64bit Windows operating system(Windows 7 or later supported).</div>
You can find the latest drivers here: [http://support.planetcom.co.uk/download/FlashToolDrivers.zip Windows Flash Tool Drivers]
<div style="margin: 0.4em 0px 0.5em; color: #252525;" source="" sans="" pro="" sans-serif="" font-size:="" 15="" 008px="" font-style:="" normal="" font-variant-ligatures:="" font-variant-caps:="" font-weight:="" 400="" letter-spacing:="" orphans:="" 2="" text-align:="" start="" text-indent:="" 0px="" text-transform:="" none="" white-space:="" widows:="" word-spacing:="" -webkit-text-stroke-width:="" background-color:="" ffffff="" text-decoration-style:="" initial="" text-decoration-color:="">Once downloaded the Windows FlashTool, please unzip it to reveal the '''FlashToolWindows''' folder. Next, run the flash tool by double clicking on '''flash_tool''' (flash_tool.exe) file in the '''FlashToolWindows''' folder.</div>
 
==Download and Install FlashTool on Linux==
'''The following procedure has been tested on Debian 9.0, Ubuntu 18.04 (see notes below) and Fedora 28 (see notes below).'''
On Ubuntu you will need to install the following dependency:
<code>sudo apt-get install libjpeg62</code> 
'''Notes - Fedora 28'''
Finally, you will need to install the following dependency:
<code>sudo yum dnf install nas-libs-1.9.4-13.fc28.x86_64</code>
You can also build the flash tool by yourself, the code is hosted on github: [https://github.com/dguidipc/SP-Flash-Tool-src Flash Tool Source]
 
 
==Customise your Gemini partition table==
<span style="color: #252525; font-family: 'Source Sans Pro', sans-serif; font-size: 15.008px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">Next, just click the </span><strong style="color: #252525; font-family: 'Source Sans Pro', sans-serif; font-size: 15.008px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;">Read Back</strong><span style="color: #252525; font-family: 'Source Sans Pro', sans-serif; font-size: 15.008px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"> button, connect your Gemini PC to the left end USB-C port on your PC Gemini and restart the Gemini. Once bootingbooted, the flash tool will detect the unit and will write the NVRAM partition on a file on your hard disk called NVRAM0 (see screenshot below). It’s a good idea to keep this file as a backup, together with the customised Scatter file.<br /span<span style="color: #252525; font-family: 'Source Sans Pro', sans-serif; font-size: 15.008px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">[[File:Screen_Shot_2018-06-21_at_10.51.50.png|800x527px|center|border]]</span>
==Flashing the Gemini Linux firmware==
<div style="margin: 0.4em 0px 0.5em; color: #252525;" source="" sans="" pro="" sans-serif="" font-size:="" 15="" 008px="" font-style:="" normal="" font-variant-ligatures:="" font-variant-caps:="" font-weight:="" 400="" letter-spacing:="" orphans:="" 2="" text-align:="" start="" text-indent:="" 0px="" text-transform:="" none="" white-space:="" widows:="" word-spacing:="" -webkit-text-stroke-width:="" background-color:="" ffffff="" text-decoration-style:="" initial="" text-decoration-color:="">Be sure to follow the previous step to store a copy of the NVRAM partition as backup.Now click back on the '''Download''' tab.</div>
<div style="margin: 0.4em 0px 0.5em; color: #252525;" source="" sans="" pro="" sans-serif="" font-size:="" 15="" 008px="" font-style:="" normal="" font-variant-ligatures:="" font-variant-caps:="" font-weight:="" 400="" letter-spacing:="" orphans:="" 2="" text-align:="" start="" text-indent:="" 0px="" text-transform:="" none="" white-space:="" widows:="" word-spacing:="" -webkit-text-stroke-width:="" background-color:="" ffffff="" text-decoration-style:="" initial="" text-decoration-color:="">Select the '''Firmware Upgrade''' option from the drop down menu. This will automatically select all the partitions in the table.</div>
<span style="color: #252525; font-family: 'Source Sans Pro', sans-serif; font-size: 15.008px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">To start the flashing process, just click the big </span><strong style="color: #252525; font-family: 'Source Sans Pro', sans-serif; font-size: 15.008px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;">Download</strong><span style="color: #252525; font-family: 'Source Sans Pro', sans-serif; font-size: 15.008px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"> button, connect your Gemini PC to the left end USB-C port on your PC Gemini and restart the Gemini. Once booting, the flash tool will detect the unit and will start flashing the device with the selected firmware.</span>
<span style="color: #252525; font-family: 'Source Sans Pro', sans-serif; font-size: 15.008px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">The following screenshot shows a successfully completed flashing process:</span>
<span style="color: #252525; font-family: 'Source Sans Pro', sans-serif; font-size: 15.008px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">[[File:Screen_Shot_2018-06-21_at_12.08.02.png|center|799x602px|border]]</span>
 
 
 
 
==Troubleshooting==
# Allow the installation of unknown applications<br />[[File:Screenshot_20190212-124142.png|center|800x400px|border]]<br /><br />
# Navigate to https://magiskmanager.com<br />[[File:Screenshot_20190212-123531.png|center|800x400px|border]]<br /><br />
# Scroll down to 'Download Magisk Manager'. Click on the download button and install the application.<br />[[File:Screenshot_20190212-123546.png|center|800x400px|border]]<br /><br />
# Open the application. If you arre running the app in a non-rooted Android you will see the error 'Magisk is not installed'.<br />[[File:Screenshot_20190212-123732.png|center|800x400px|border]]<br /><br />
# When asked about Additional Setup, Tap on Yes and let the process complete.<br />[[File:Screenshot_20190212-123822.png|center|800x400px|border]]<br /><br />
# Congratulations, you are running rooted Android on your Gemini!<br />[[File:Screenshot_20190212-123849.png|center|800x400px|border]]