Skip to content
This repository was archived by the owner on Dec 15, 2024. It is now read-only.

Releases: ethical-haquer/Galaxy-Flasher

Alpha v0.5.1

05 Aug 15:57
c2e376c

Choose a tag to compare

Alpha v0.5.1 Pre-release
Pre-release

This release has a few noticeable changes:

  • The flash-tool setting has been re-done. Now, clicking on the flash-tool setting expands the list of flash-tools to choose from. Clicking on a flash-tool selects it, and if you haven't selected an executable file for that flash-tool yet, it will also open a file-picker. You can see what executable file a flash-tool is using by looking at the subtitle. If there is no subtitle, you haven't selected a file to use for that flash-tool yet. Clicking on the "select file" icon will open a file-picker for you to choose an executable to use, and clicking on the "info" icon will give you a short description of the flash-tool, along with info on where to download the executable for it.
  • There is a new setting: "Keep Log dark". It will keep the Log Tab dark, regardless of the theme.
  • The Options Tab has been redone. However, it still has some bugs which will need to be fixed.
  • The "Run Thor with sudo" setting has been removed.

The following bugs were fixed in this release:

  • #15 The "Run Thor with sudo" setting doesn't work when Galaxy Flasher is a flatpak.

Full Changelog: v0.5.0-alpha...v0.5.1-alpha

Alpha v0.5.0

17 Jun 16:01
c703579

Choose a tag to compare

Alpha v0.5.0 Pre-release
Pre-release

Last release, I said the partition selection implementation would probably be re-written in this release.
It was re-written, along with the whole app!
That's right, Galaxy Flasher v0.5.0 is a complete re-write of Thor GUI in GTK4.
It started with @IverCoder opening issue #12, "Porting to LibAdwaita and publishing to Flathub", almost four months ago. At the time, I didn't really see why I should port Thor GUI to GTK4. Then, @justaCasualCoder started porting Thor GUI to GTK4 on his own. Eventually I started working on it as well. Anyways, you can read through that issue if you'd like, it has over sixty comments. 🤣
In short, Thor GUI was renamed Galaxy Flasher and was completely re-written.
It was renamed because it now supports Thor and Odin4!
Be sure to re-read the readme, as it is in the process of being re-written as well.
Galaxy Flasher needs a logo! If you'd be interested in making one, please open up a new issue.

Let me know what you think!

What's Changed

New Contributors

Full Changelog: v0.4.6-alpha...v0.5.0-alpha

Alpha v0.4.6

19 Feb 15:19
42de24c

Choose a tag to compare

Alpha v0.4.6 Pre-release
Pre-release

Minor release.

Fixed the following bugs:

  • After using Thor GUI on different devices, I've realized that I need to just specify a padding for text in windows, instead of specifing the exact size in pixels. Currently you may notice that the bottom part of certain message windows gets cut-off, and the text in the About Tab may be slightly too low.

Changes:

  • Thor GUI now supports translations for other languages! All of the strings (aka text) used in Thor GUI are now stored in the JSON file "en.json" in the "locales" directory. So currently there's only support for English, but anyone who wants to can translate Thor GUI into their own language.
  • The ToplevelWindow class has been improved, and is used in more places now. Hopefully v0.4.7 will use it exclusively.
  • There is now a setting to use tk file dialogs, because there is a new alternative: zenipy. This adds a new prerequisite, zenipy. pip install zenipy. If "Use tk file dialogs" is unchecked, zenity file dialogs will be used. There are pros and cons to both; the tk file dialogs have a weird side-scrolling interface, but allow opening to a default directory and specifying a certain file-type; and the zenity file-dialogs look more native, but are missing some features. Other options for file dialogs may be added in the near future, as well. (BTW, on the latest Raspberry Pi OS, my hack for getting the dark theme tk file dialogs working suddenly stopped working after an update)
  • Also, this release will not contain a "TheAirBlow.Thor.Shell" file. You can still find my self-contained builds of Thor here, or download the latest Thor release from GitHub.

I also realized that my code for flashing Odin archives was very buggy. Not like the actual flashing part, but the partition selection implementation was just unusable. Due to this, I've decided to remove "Flashing Odin archives" from the list of Implemented Thor features. It was disappointing, but I've learned a lot since I wrote that code, and plan to re-write it in the next release.

Full Changelog: v0.4.5.1-alpha...v0.4.6-alpha

Alpha v0.4.5.1

20 Jan 18:45
ec99d24

Choose a tag to compare

Alpha v0.4.5.1 Pre-release
Pre-release

A really minor release.

Changes:

  • Fixed an issue where clicking the Start button resulted in an error due to me putting quotes around the directory used in the flashTar command (e.g. "flashTar '/home/ethical-haquer/Firmware'").
  • Also, the "Please select at least one file" message-window now uses the new Toplevel class.

Alpha v0.4.5

19 Jan 14:31

Choose a tag to compare

Alpha v0.4.5 Pre-release
Pre-release

Minor release.

Changes:

  • The check-buttons in the Settings tab now show as checked if a setting is enabled, instead of just changing their text.
  • The way you select a "TheAirBlow.Thor.Shell" file to use has changed. Instead of selecting either an "internal" or "external" Thor build, you can now "build your own" command used to start Thor.
    First you select what "TheAirBlow.Thor.Shell" file to use, by selecting or pasting a file-path into the first entry. Then you can choose if you want to run Thor with sudo by toggling the "Run Thor with sudo" check-button. The "Command used to start Thor" entry will automatically update to reflect the changes you make. You may also choose to simply paste or type the command you would like to use directly into the "Command used to start Thor" entry.
  • There is a new class used for creating Toplevel windows. Currently it is used only if the "TheAirBlow.Thor.Shell" file you chose doesn't exist and for the start-up window, but it will eventually be used to create all of the Toplevel windows. The only visible difference this makes is that there are no issues with padding, aka the bottom of the windows won't get cut-off.

BTW, I know it's not Monday. I'm going on vacation for 3 weeks starting next Sunday, and won't be releasing anything during that time, so bye for now! 👋

Alpha v0.4.4

08 Jan 17:14
f7b3053

Choose a tag to compare

Alpha v0.4.4 Pre-release
Pre-release

Minor release.

Fixed the following bugs:

  • On Debian 12, clicking the "Connect" button results in "cannot show selection prompt since the current terminal does not support ansi escape sequences". What causes this error is is currently unknown.
    (This was a serious issue, yet was fixed with a one-liner: os.environ['TERM'] = 'xterm')

Other changes:

  • Settings are now saved as JSON instead of Pickle, which means the name of the settings file has changed again, it's now "thor-gui-settings.json". Also, your settings will not be able to be transferred between different versions of Thor GUI; if Thor GUI finds a "thor-gui-settings.json" file that was made by a different version, it overwrites it. I could re-implement transferring settings, but honestly I don't think anyone used it (I didn't), and it made the code more complicated.

The next release should have more changes than this one, but there's no set release date.

Alpha v0.4.3

01 Jan 16:08

Choose a tag to compare

Alpha v0.4.3 Pre-release
Pre-release

Happy New Year!

Although this release won't look much different than v0.4.2 on the outside, Thor GUI is starting to be re-written with classes. There are still a couple noticeable changes though:

  • There is now a setting to always use a dark Log, regardless of the theme. It is located at "Settings - Appearance - Keep Log dark".

Fixed the following bugs:

  • Using the dark theme on X11, the file picker text is white, a well as the background. This is a known Sun Valley issue. The work-around is to click and drag the pointer over the files and directories displayed, which will turn them blue, and therefore readable.

Other changes:

  • The name of the .py file has been changed from "Thor_GUI.py" to "thor-gui.py", and the name of the settings file has been changed from "thor_gui_settings.pkl" to "thor-gui-settings.pkl". (BTW, I hope to switch to using JSON instead of Pickle for storing variables)

I plan to have another release ready for next week, so let me know if you have any features you want implemented!

Alpha v0.4.2

20 Nov 19:19
6c57fb9

Choose a tag to compare

Alpha v0.4.2 Pre-release
Pre-release

Minor release.

Fixed the following bugs:

  • On aarch64 (such as Raspberry Pi OS 64 bit), clicking "Start Thor" results in a continuous string of error messages, and Thor GUI has to be force stopped. This issue can be fixed with a one-liner.

Other changes:

  • Previously, if your architecture wasn't x86_64 or arm64, Thor GUI would display a string of error messages and would have to be force stopped. Now Thor GUI will let you know that your architecture isn't supported.
  • There is now a setting to use an external Thor build. It is located at "Settings - Thor - Use an external Thor build".
  • When Thor GUI asks for your password to run Thor with sudo, the Command Entry will now take focus. This should help users figure out where to enter their password. Thanks to Not_Rich@XDA for this suggestion.

Not_Rich@XDA has reported that with Thor GUI v0.4.1, trying to connect to a device results in this error: "cannot show selection prompt since the current terminal does not support ansi escape sequences". Connecting to the same device with v0.3.2 worked fine though.
I will look into this more and hopefully figure out what's causing it soon.

Using Thor GUI v0.4.1 or this release on Debian 12, drag-and-drop doesn't work. It shows a "+" when hovering a file over one of the Odin Archive Entries, but dropping the file doesn't display the file path in the entry. I'll have to do more testing to figure out what's causing this issue.

Alpha v0.4.1

06 Nov 14:37
2658f13

Choose a tag to compare

Alpha v0.4.1 Pre-release
Pre-release

Minor release.

Changes:

  • Added a setting which allows you to change what directory the file picker should open to. The default value is "~", your home directory. It is located at Settings - Flashing - Initial file picker directory.
  • Removed the "True/False" output, it was for debugging. ("True" on first run, "False" otherwise)
  • This is also the first release where your settings will be able to be transferred from a previous version of Thor GUI, in this case only v0.4.0. Simply extract this new release, and before running it, copy/paste the "thor_gui_settings.pkl" file from v0.4.0 in with the newly extracted files. Then run this new version. It will detect the settings file, figure out what version of Thor GUI created it, in this case v0.4.0, and act appropriately. You should see the following message in Thor GUI's output if you did it properly: "The found 'thor_gui_settings.pkl' file was not created by this version of Thor_GUI, so Thor GUI is updating it."

Alpha v0.4.0

31 Oct 19:03
6ce7c5d

Choose a tag to compare

Alpha v0.4.0 Pre-release
Pre-release

Thor GUI Alpha v0.4.0 is here! The main focus with this release was to make Thor GUI more user-friendly, and that meant removing dotnet as a prerequisite. Yep, you don't need dotnet to run Thor GUI any more!

Changes:

  • A self-contained, single file build of Thor is bundled in this release. This means you don't need dotnet to run Thor (and therefore Thor GUI) now. The binary Thor builds were built from Thor's source code with these commands: "dotnet publish -r linux-x64 -p:PublishSingleFile=true -p:DebugType=embedded --self-contained -o /output/directory" and "dotnet publish -r linux-arm64 -p:PublishSingleFile=true -p:DebugType=embedded --self-contained -o /output/directory". These two binaries are located in the "Thor" folder of the attached file. It will work on x64 and arm64 computers running Linux, currently.
  • Dragging and dropping Odin Archives is now supported. Just open a file manager, drag the file you want over the corresponding Odin Archive Entry, and drop it. This adds a new prerequisite, tkinterdnd2. pip install tkinterdnd2-universal Thanks to Not_Rich@XDA for this feature request.
  • Apparently, on certain distros or configurations, there would be a "Failed to open the device for RW: Permission denied (13)" error when connecting a device from Thor GUI even though connecting with Thor itself worked fine. Having Thor GUI run Thor with sudo solved this issue, so there is now a setting to run Thor with sudo. Thanks to DokiDokiYandere@XDA for reporting this and helping find a fix.
  • Removed the ugly border around the ScrolledText widget in the Log tab. Eventually the scrollbar will also have to be changed.

Although allowing Thor GUI settings to transfer over to later versions was supposed to work in the last release, it won't. However, transferring settings from this release to newer ones should work.