Author Topic: FlashTool for Linux released  (Read 6036 times)

Varti

  • Administrator
  • Hero Member
  • *****
  • Posts: 1278
    • View Profile
FlashTool for Linux released
« on: April 26, 2018, 05:06:07 am »
Previously released only for Windows, the official FlashTool utility for the Gemini is now available for Linux, too:

http://support.planetcom.co.uk/index.php/F...shTool_on_Linux

Varti
Planet Gemini PDA WiFi/LTE with Mediatek x27
SL-C1000 running Arch Linux ARM May2017, K30225 Wi-Fi CF Card, 64GB SDXC card
and many other Zauruses!

salvomic

  • Sr. Member
  • ****
  • Posts: 290
    • View Profile
FlashTool for Linux released
« Reply #1 on: April 26, 2018, 09:48:35 am »
Quote from: Varti
Previously released only for Windows, the official FlashTool utility for the Gemini is now available for Linux, too:

http://support.planetcom.co.uk/index.php/F...shTool_on_Linux

Varti

Well. Now let's hope a Mac OS X version too

salvo
Gemini, Psion S5 and S5mx, iPhone, iPad, Huawei MediaPad M5, some HP calculators.
Psion Fans Italia moderator

gidds

  • Sr. Member
  • ****
  • Posts: 324
    • View Profile
FlashTool for Linux released
« Reply #2 on: April 26, 2018, 05:08:37 pm »
Roger that!

Lots of Unix stuff will run fine on macOS, either because it's just shell scripts and stuff, or because it's in source form and will compile fine.  Neither of which apply here, unfortunately…

(I really don't want to have to download a full Unix distro, free up a USB drive, install it to that, and boot from that simply to run the Flash Tool.  — Assuming it all works with Mac hardware, of course.)
   Andy/
Psion 3a → Psion 5 → Psion 5mx → Gemini → Astro

jornada720

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
FlashTool for Linux released
« Reply #3 on: April 26, 2018, 10:48:42 pm »
Quote from: gidds
Roger that!

Lots of Unix stuff will run fine on macOS, either because it's just shell scripts and stuff, or because it's in source form and will compile fine.  Neither of which apply here, unfortunately…

(I really don't want to have to download a full Unix distro, free up a USB drive, install it to that, and boot from that simply to run the Flash Tool.  — Assuming it all works with Mac hardware, of course.)

Just download VirtualBox and a Linux ISO and install within your MacOS system. No need to reboot or mess with thumb drives.

salvomic

  • Sr. Member
  • ****
  • Posts: 290
    • View Profile
FlashTool for Linux released
« Reply #4 on: April 27, 2018, 03:42:50 am »
good news, thank you!
Gemini, Psion S5 and S5mx, iPhone, iPad, Huawei MediaPad M5, some HP calculators.
Psion Fans Italia moderator

Adam Boardman

  • Full Member
  • ***
  • Posts: 191
    • View Profile
FlashTool for Linux released
« Reply #5 on: April 27, 2018, 10:13:11 am »
They have released the source for the flash tool, so the rebuild option might be possible:
https://github.com/dguidipc/SP-Flash-Tool-src

graynada

  • Full Member
  • ***
  • Posts: 117
    • View Profile
FlashTool for Linux released
« Reply #6 on: April 28, 2018, 08:39:38 am »
Has anyone tried the Linux Flash Tool yet.  I don't have my Gemini yet but was 'getting ready' however first run produces:

Code: [Select]
error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory
Very happy to find and install this  but is the first of many dependencies I can expect and how do we feed this back in to fix for others?

Varti

  • Administrator
  • Hero Member
  • *****
  • Posts: 1278
    • View Profile
FlashTool for Linux released
« Reply #7 on: April 28, 2018, 09:49:03 am »
Welcome graynada! I had the same error on my Linux Mint install, I have solved it with

Code: [Select]
sudo apt-get install libpng16-dev
which took care of all the other required dependencies. Now FlashTool correctly starts (with a couple of warnings printed in the console), though like you I can't test it yet since I'm still waiting for my Gemini.

Varti
« Last Edit: April 28, 2018, 09:49:29 am by Varti »
Planet Gemini PDA WiFi/LTE with Mediatek x27
SL-C1000 running Arch Linux ARM May2017, K30225 Wi-Fi CF Card, 64GB SDXC card
and many other Zauruses!

graynada

  • Full Member
  • ***
  • Posts: 117
    • View Profile
FlashTool for Linux released
« Reply #8 on: April 28, 2018, 10:20:34 am »
Quote from: Varti
Welcome graynada! I had the same error on my Linux Mint install, I have solved it with

Code: [Select]
sudo apt-get install libpng16-dev
which took care of all the other required dependencies. Now FlashTool correctly starts (with a couple of warnings printed in the console), though like you I can't test it yet since I'm still waiting for my Gemini.

Varti

Thank you, another Mint user here so solved it for me too.

petefoth

  • Newbie
  • *
  • Posts: 41
    • View Profile
FlashTool for Linux released
« Reply #9 on: April 28, 2018, 02:32:30 pm »
Quote from: jornada720
Quote from: gidds
Roger that!

Lots of Unix stuff will run fine on macOS, either because it's just shell scripts and stuff, or because it's in source form and will compile fine.  Neither of which apply here, unfortunately…

(I really don't want to have to download a full Unix distro, free up a USB drive, install it to that, and boot from that simply to run the Flash Tool.  — Assuming it all works with Mac hardware, of course.)

Just download VirtualBox and a Linux ISO and install within your MacOS system. No need to reboot or mess with thumb drives.

Or install the Open Source version of Qt for Mac https://www.qt.io/download and build a Mac version from source

Pete

rogalian

  • Newbie
  • *
  • Posts: 22
    • View Profile
FlashTool for Linux released
« Reply #10 on: May 19, 2018, 03:53:26 pm »
Of course! The FlashTool for flashing Debian won't run on Debian 9 itself due to using some ancient shared libraries not available from apt.

Here's how to cobble together/compile a working version from source. Compiles quickly. My notes - feel free to steal and fix into proper instructions. All as root, because.
Code: [Select]
nano -w /etc/udev/rules.d/20-mm-blacklist-mtk.rules
ATTRS{idVendor}=="0e8d", ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="6000", ENV{ID_MM_DEVICE_IGNORE}="1"
service udev restart

apt-get install libqt4-dev libqtwebkit-dev
git clone https://github.com/dguidipc/SP-Flash-Tool-src
cd SP-Flash-Tool-src
qmake
make
mv flash_tool Lib
cd Lib
./flash_tool.sh
« Last Edit: May 19, 2018, 03:57:37 pm by rogalian »