OESF Portables Forum

Model Specific Forums => Gemini PDA => Gemini PDA - General Discussion => Topic started by: Varti on April 26, 2018, 05:06:07 am

Title: FlashTool for Linux released
Post by: Varti 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 (http://support.planetcom.co.uk/index.php/Flashing_Guide#Download_and_Install_FlashTool_on_Linux)

Varti
Title: FlashTool for Linux released
Post by: salvomic 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 (http://support.planetcom.co.uk/index.php/Flashing_Guide#Download_and_Install_FlashTool_on_Linux)

Varti

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

salvo
Title: FlashTool for Linux released
Post by: gidds 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.)
Title: FlashTool for Linux released
Post by: jornada720 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.
Title: FlashTool for Linux released
Post by: salvomic on April 27, 2018, 03:42:50 am
good news, thank you!
Title: FlashTool for Linux released
Post by: Adam Boardman 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 (https://github.com/dguidipc/SP-Flash-Tool-src)
Title: FlashTool for Linux released
Post by: graynada 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?
Title: FlashTool for Linux released
Post by: Varti 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
Title: FlashTool for Linux released
Post by: graynada 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.
Title: FlashTool for Linux released
Post by: petefoth 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 (https://www.qt.io/download) and build a Mac version from source

Pete
Title: FlashTool for Linux released
Post by: rogalian 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