5

[Tool] Frija - Samsung firmware downloader/checker

 1 year ago
source link: https://forum.xda-developers.com/t/tool-frija-samsung-firmware-downloader-checker.3910594/page-44#post-88653649
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
nope...didnt help

You'll need ms redistributables 2008 & 2010

Microsoft Visual C++ 2010 Redistributable Package (x86)

Download Microsoft Visual C++ 2010 Redistributable Package (x86) for Windows to install the runtime components of Visual C++ libraries.
download.cnet.com

Note the 2010 SP1 doesn't seem to work but I used the version above ^

AnonVendetta

Senior Member
After more tests, I have succeeded in running Frija on a recent version of Ubuntu LTS, and downloading works too. I didnt let the DL finish due to being concerned about using too much of my hotspot/tethering allotment. It was able to fetch the latest firmware for my tablet, select a folder to save to, and begin downloading. I also verified that the file exists in the location I selected. So I'd say that the core functionality and the GUI *APPEAR* to be fully functional. Need more testing to be sure.And I'd like to write a short guide.

Briefly, you need to install WINE and winetricks. At first I got alot of errors about .NET Framework, and Visual C redists, which I eventually managed to install, after a few hrs of trying. And I also got an error from Themida about globalutil.dll not being found. After I got all the needed dependencies installed, Frija started working without issues.

I've attached a screenshot as proof.

Edit: After clicking the Paypal donate button, it opens the Firefox Web browser. But when I go back to the Frija window, it is not responding and I'm given the options to either wait, or kill the task. Continually clicking "wait" just brings up the same message again and again, so killing it is the only viable option. Frija can be restarted just fine. I think it's better to keep the Frija window in focus/on top when downloading, to reduce the possibility of instability. In other words, don't switch to other windows if you don't have to.

This could be specific to Ubuntu, or hardware related, or just a quirk of running Frija on an OS it wasn't designed for. I don't think it's a big deal, as long as downloading works.

Edit: Here's a video link too. It's not edited in any way (I don't know how to do that anyway), just a simple screen recording. I probably could have made it shorter by speeding up the downloading part, but whatever. There's no ads.

Frija on Ubuntu LTS Via WINE

@SlackingVeteran: I have posted a follow-up video, showing the how-to of getting Frija to run in Linux. The previous video was just a demo to show that it works, without instructions. It is about 30 mins long, a bit too long if you ask me, but I'm new to creating videos and have very little editing experience. It's just a straight-up unedited screen recording.

It took me awhile and alot of fails to get this right. As it turns out, installing the official .Net Frameworks within wine is a huge pain, and is time-consuming. So I opted to use Wine Mono instead, an open source replacement for .Net Framework. Your program works great with it.

I cover running Frija in both 32 and 64 bit wine prefixes, just to ensure that the largest # of wine/winetricks combos are accounted for, since there are different distros out there, and different versions of these softwares. More and more distros are defaulting to creating 64 bit wine prefixes, so I figured it would be better to cover both.

I have also tested in Manjaro and Fedora, even though the video was created in Ubuntu LTS.

It may even be possible to run Frija on other OSes like Mac OS X, FreeBSD, etc. These OSes also have wine available to them. I don't have a Mac to test, so I'll never know unless someone tries and reports back.

It's also possible to back up the prefixes, once they are created and working. Just compress the top level prefix directory into a zip/tar/etc file. These can be restored later, so as not to repeat steps. And should be transferrable across distros, as long as they have wine/winetricks installed.

I've also briefly covered how to run Windows in a virtual machine within Linux, so that firmware flashing can be done without rebooting the entire PC into a real Windows install.

It seems that YT is cutting off the ends of some of my URLs, until my verification is complete. Currently they are unclickable. Hopefully they will be clickable within the next day or 2, but for now some of them will go to invalid locations.

The links I've used are:

Frija:

github.com

Releases · SlackingVeteran/frija

Contribute to SlackingVeteran/frija development by creating an account on GitHub.
github.com
Wine Mono installer main downloads page: Wine Mono v8.0.0 installer: Visual C 2008 (32 and 64 bit): Visual C 2010 (32 and 64 bit): Tutorial for running Windows within VirtualBox, so that you can use Odin to flash firmwares:
forum.xda-developers.com

[GUIDE] Odin on Linux [VirtualBox]

Odin 3 running inside VirtualBox on PureOS, a Debian-based Linux distribution: I found a way to get Odin running on Linux! It uses a virtual machine (VM), but it works better than heimdall for newer devices, and is much better than dual booting...
forum.xda-developers.com forum.xda-developers.com
I noticed that the original post of the thread isnt by you, but I'm guessing it's an alt account. I was hoping to get the OP updated with links to my video, so that Linux/Mac users can prominently see them.

@invmini: I'd appreciate it if you would do this, please (updating the 1st post). Assuming that you and @SlackingVeteran are different users. Feel free to test my instructions if you wish, I think it will work for you too.

How-to video/instructions:

Edit: It seems that Frija runs fine on Ubuntu LTS. And also on Manjaro/Fedora on my gaming laptop. But On an older Dell XPS ultrabook, Frija wont launch on either Fedora or Manjaro, despite using the same steps that worked. I think it's because this laptop has a crappy graphics chip and cant handle high end graphics stuff, it can't do gaming. I see lots of errors in the terminal log that are graphics-related, when trying to launch Frija. Which makes me suspicious that it's a graphics driver issue, or the lack of the appropriate driver being installed/available for use. I'm confident that my steps are correct, since it works in 3 distros on 1 PC, but not in any distros on another PC.

Edit #2: If Frija looks frozen when you run it, just be patient and wait. This happened to me several times when Frija was decrypting firmwares. Decrypting uses alot of system resources.
Last edited: Jun 4, 2023

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK