yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S9  Guides, News, & Discussion] invmini:
Duplicate thread closed

https://xdaforums.com/s10-plus/how-to/tool-frija-samsung-firmware-downloader-t3910594

Hey Guys :)

Frija is a new tool (successor of now depreciated tool SamFirm) which allows users to download latest firmware for their device which can be flashed with Odin.

Frija can download Firmware for any Samsung Devices at High Speed.

Auto mode detects any Samsung Phone Model and CSC and finds all the required information directly from Samsung Server.

Frija downloads firmware directly from Samsung FUS (Firmware Update Server) without any third party websites being involved. It can pause/resume firmware downloads, even after network interruption, or app restart (if download was interrupted).

Frija comes with built in Support form, through which you can reach out to developer about any issues or bugs. Frija has built in App Updater, whenever new release of Frija is available users will be able to update to

latest

version of the app.

Frija does not have any Background or Startup services, which some users might be concerned about.

It also comes with Night theme, for those who prefer Night Mode on the app

Fun fact about Frija: Frija is named after wife of Odin who can see future (In Norse Mythology) can download latest firmwares which can be flashed using Odin which uses Heimdall (A protocol that connects to a mobile device over USB) and Loke (low-level software running on the device). It kinda added a missing piece to the naming convention Samsung has.

This tool was created by wssyncmldm with contribution from CrazyApe and eragon5779. Devs receive all the support message directly and they are actively working on the app to fix any bugs or issue. :p

Updates:

NOTE: Auto Update has bug in version 1.1.1 and will need to manually update by using the new zip file posted today

Changelog:

1.1.2

* Improved firmware search.

* Fixed issue where firmware was not available for valid Device and CSC.

* Updated some message strings displayed to user

1.3.0

* Fixed decryption issue of enc2 type encrypted firmware

* Auto updater finally fixed, will not require downloading update manually after this update

1.4.1

* Added error message if Microsoft Redist packages are missing

* New Settings option

* Removed support message feature and added new Issue Tracker URL

* Overall UI improvement

* Added setting to disable CRC check
[Samsung Galaxy S9  Guides, News, & Discussion] shaggyskunk:
Awesome - We need this! ?
[Samsung Galaxy S9  Guides, News, & Discussion] .::Alien::.:
Awesome app! You rock.
[Samsung Galaxy S9  Guides, News, & Discussion] MedoooMedooo:
Great work, i would suggest this features too:

- minimize button.

- download percentage.

- showing device name, after typing the model number, Ex: SM-G960F -> Galaxy S9.

Thanks
[Samsung Galaxy S9  Guides, News, & Discussion] *Detection*:
1. ...

2. It has a progress bar....

3. Why? Pretty sure you know what phone you're downloading for if you know the model number

----

I would only suggest removing the need to add "SM-" to the start of the model number, but that's just nitpicking, it does what we need it to do
[Samsung Galaxy S9  Guides, News, & Discussion] SlackingVeteran:
You sure there are no devices without "SM-" ? just asking
[Samsung Galaxy S9  Guides, News, & Discussion] *Detection*:
Samsung Mobile?
[Samsung Galaxy S9  Guides, News, & Discussion] SlackingVeteran:
There are older devices with something other than SM
[Samsung Galaxy S9  Guides, News, & Discussion] *Detection*:
Devices with G960F as their model name? or any other conflicting device name after something other than SM ?

Makes no difference, just quicker to type, but I don't think there are any other G960F Samsung devices other than the SM-G960F, and same with other models. so you will not download the wrong firmware by missing out SM-
[Samsung Galaxy S9  Guides, News, & Discussion] SlackingVeteran:
Older model had other initials for example Sprint S3 was SPH-L710 and Sprint S4 was SPH-L720T
[Samsung Galaxy S9  Guides, News, & Discussion] androfan1:
It's not working for me. Just gives me error unable to fetch firmware for everything,
[Samsung Galaxy S9  Guides, News, & Discussion] *Detection*:
Yes, my point was there won't be another model with L710, there will be only one L710 regardless of what it says before it

For example there will not be an SPH-L710 and an SM-L710, just like there will not be an SPH-G960F and an SM-G960F

So adding the section before it really should make no difference at all, unless it is required to find the firmware on the servers, for the user (us) we should not need it either way

How many Samsung devices are called G960F? Only 1

How many Samsung devices are called L710? Only 1
[Samsung Galaxy S9  Guides, News, & Discussion] jaeck:
I've got the same errors as with SamFirm:

as a pop up and in the log:

Of course Microsoft Visual C++ 2008 Redistributable Package (x86) and Microsoft Visual C++ 2010 Redistributable Package (x86) are installed and the only reason I can think off is that I try to run it on a Windows Server 2016 maschine.
[Samsung Galaxy S9  Guides, News, & Discussion] SlackingVeteran:
You have all these files in same directory right? Just to confirm

Because the actual error is app not being able to find AgentModule.dll

AgentModule, CommonModule and GlobalUtils must be on same directory as exe file
[Samsung Galaxy S9  Guides, News, & Discussion] SlackingVeteran:
Looks like you answered It yourself, so you cant just remove SM and make it default because there other devices with some other initials than SM and it cant be predicted for each device, unless you'd want devs to make database of huge number of uncountable devices
[Samsung Galaxy S9  Guides, News, & Discussion] jaeck:
afirm, all in place
[Samsung Galaxy S9  Guides, News, & Discussion] *Detection*:
Any searchable database index could be set to bring up a list of results based on "Contains" rather than "Exact", so typing G960F would then bring up SM-G960F as it "Contains" that sequence of characters, client coding would decide if that worked or not, hence my suggestion

For example Sammobile, not only searches model database, but also firmware database

https://i.ibb.co/wKNHjBF/Capture.jpg
[Samsung Galaxy S9  Guides, News, & Discussion] jaeck:
The reason for the trouble was indeed the Windows server edition and its default settings, therefore the solution was:

1. Installing SmartSwitch to prevent any missing dependencies

2. Running SmartSwitch and acknowledge that it has trouble running because of a missing "wlanapi.dll"

3. Enabling Wireless Networking Details on how its done

4. Deinstalling SmartSwitch

5. Enjoy

Many thanks to [MENTION=5187994]suyash1629[/MENTION] for the support!
[Samsung Galaxy S9  Guides, News, & Discussion] SlackingVeteran:
I am glad things worked out for you
[Samsung Galaxy S9  Guides, News, & Discussion] SlackingVeteran:
Would you like to make contribution by implementing it? Frija is not dependent on third party website to pull up firmware information at all, which means same thing has to be kept in mind while implementing what you are thinking of, which requires to populate a huge database of all the Samsung devices and their models.
[Samsung Galaxy S9  Guides, News, & Discussion] *Detection*:
This is your project? You know how this app works?

What you are doing is called trolling and you changed your name lol

Quit or you will be reported, you are on ignore
[Samsung Galaxy S9  Guides, News, & Discussion] SlackingVeteran:
Go back and check username of "that argumentative member". If it was all clear whatever you are trying to say. All the devs and contributors read it, they have no idea what exactly you were saying. SM cannot be removed because there are other Initials as well. Device name search is stupid. You should already know which device you are trying to download for.

This came from another contributor:

Also "Galaxy S9" is not nearly specific enough.

N, F, U, U1, and 0 are all valid variants for which we could grab firmware.

Which one do you want? If you're not smart enough to type your model, then you won't be smart enough to pick it out of the list, because you dont know which one you are looking for.

People who dont know device model will have hard time for what they are doing anyways.
[Samsung Galaxy S9  Guides, News, & Discussion] SlackingVeteran:
Lol, wondering if you need these as proofs.
[Samsung Galaxy S9  Guides, News, & Discussion] action294:
Virustotal report for the zip
[Samsung Galaxy S9  Guides, News, & Discussion] rikipy:
Works nice, the UI/UX look fine 10/10
[Samsung Galaxy S9  Guides, News, & Discussion] dcoolArne:
Where do i find the phone code for a specific firmware?

Can't find it on sammobile :(
[Samsung Galaxy S9  Guides, News, & Discussion] DARK892:
info

J710FXXU3AQD4 i dont find this region firmware why??
[Samsung Galaxy S9  Guides, News, & Discussion] MalharB:
Is it going decrypt automatically *.zip.enc4 file ?
[Samsung Galaxy S9  Guides, News, & Discussion] SlackingVeteran:
Yes it decrypts automatically

---------- Post added at 10:47 PM ---------- Previous post was at 10:44 PM ----------

Are you trying auto or manual mode?

---------- Post added at 10:48 PM ---------- Previous post was at 10:47 PM ----------

For manual mode?

Is auto mode not working for you?
[Samsung Galaxy S9  Guides, News, & Discussion] dcoolArne:
Auto mode is working, but i want a very specific firmware and not the last one.
[Samsung Galaxy S9  Guides, News, & Discussion] *Detection*:
These tools only download the latest, you need to download it manually from a site if you want an older firmware
[Samsung Galaxy S9  Guides, News, & Discussion] SlackingVeteran:
You can only get latest version. That is limited from serverside. Samsung doesnt allow to get non latest version
[Samsung Galaxy S9  Guides, News, & Discussion] missk1126:
i am stuck at 0 kb/s at approximately 95% of the download,anyone experienced this?
[Samsung Galaxy S9  Guides, News, & Discussion] tys0n:
Thanks for this "tool". Just wanted to report that it doesn't seem to decrypt right for older firmwares, like "GT-I8190_NEE_1_20140930105150_jn2oo56rwi.zip.enc2". Tried another one for GT-i8150 as well and same issue there.
[Samsung Galaxy S9  Guides, News, & Discussion] Ckesery:
Nice tools and claims being made again.

As usual, I am skeptical.

How can we be sure that the files are actually being pulled from the Samsung server, and more importantly, how can we be sure, that the files are not altered in any way?

It's not like Samsung is releasing any md5 hashes is it?

If we can't validate such things, why do we bother using "official" this "official" that?
[Samsung Galaxy S9  Guides, News, & Discussion] Cr4z33:
Nice tool although it keeps saying there's a (app) update at launch, but when I press the button the popup closes and nothing happens.
[Samsung Galaxy S9  Guides, News, & Discussion] SlackingVeteran:
There was a bug in v1.1.1 where update button was disabled. There should be a link available to download new zip file. That was a bug that got skipped during test of v1.1.1 and has been fixed in v1.1.2. I know the link is not clickable so I will post it here as well:http://goo.gl/idXAkQ

---------- Post added at 09:40 PM ---------- Previous post was at 09:38 PM ----------

Thanks for reporting the issue. I will look into it and will work on fixing it

---------- Post added at 09:49 PM ---------- Previous post was at 09:40 PM ----------

You can try to use wireshark or fiddle to check where Frija downloads firmware from and compare it with Samsung SmartSwitch source url with the same tools. They are 100% identical links. And for your concern of files being altered, Samsung bootloader does not take files that are altered. Phone compares signature of the file (all firmware files are signed by Samsung) and if signatures are not valid they wont be flashed. Signing a file is complicated where file signer take sha256 of each file, make manifest of it and sign that again to make sure if any files are altered without altering signature sha signature wont match. If you can Google process of how ota packages or firmwares or even apk files are signed you will have an idea of how it works.

---------- Post added at 09:51 PM ---------- Previous post was at 09:49 PM ----------

That issue is either related to your internet connection or Samsung's server downtime. But nothing related to app
[Samsung Galaxy S9  Guides, News, & Discussion] Cr4z33:
Thanks it's working fine now.
[Samsung Galaxy S9  Guides, News, & Discussion] SlackingVeteran:
Your issue has been resolved in v1.3.0, you can open app to check for new update now. Still waiting on [MENTION=8955347]invmini[/MENTION] to update OP
[Samsung Galaxy S9  Guides, News, & Discussion] tys0n:
Thanks, that was fast :) Updated and tested, and working fine :good:
[Samsung Galaxy S9  Guides, News, & Discussion] Indyultra:
Won't decrypt the downloaded file for SM-G960U.
[Samsung Galaxy S9  Guides, News, & Discussion] SlackingVeteran:
Post a log please? Filename is called Frija.log

And need to know what version you are running currently
[Samsung Galaxy S9  Guides, News, & Discussion] partcyborg:
Sure! I might. Where is the source posted?
[Samsung Galaxy S9  Guides, News, & Discussion] guastucci:
Did not find any firmware for g9650
[Samsung Galaxy S9  Guides, News, & Discussion] Indyultra:
Sorry was gone for the week, I'm using 1.3.0

Here is the log

31/03/2019 14:29:30

Error reading config file: Object reference not set to an instance of an object.

Error reading config file: Object reference not set to an instance of an object.

Error: Please specify model

Checking latest firmware for SM-960U/VZW/G975USQU1ASBA/G975UOYN1ASBA/G975USQU1ASBAG973USQU1ASBA

Error: Could not send BinaryInform. Status code 200/400

Request was invalid. Are you sure the input data is correct?

Checking latest firmware for SM-960U/VZW/G975USQU1ASBA/G975UOYN1ASBA/G975USQU1ASBAG973USQU1ASBA

Error: Could not send BinaryInform. Status code 200/400

Request was invalid. Are you sure the input data is correct?

Error 102: Unable to find Firmware for SM-960U/VZW

Please make sure all fields are correct or use Manual Mode

Checking latest firmware for SM-G960U/VZW/G960USQS3BRK2/G960UOYN3BRK2/G960USQS3BRK2

Latest Firmware available for SM-G960U is: G960USQS3CSAG/G960UOYN3CSAG/G960USQS3CSAG

31/03/2019 15:53:45

Error reading config file: Object reference not set to an instance of an object.

Error: Please specify model

Error: Please specify CSC

Checking latest firmware for SM-G960U/TMK/G960USQS4CSC3/G960UOYN4CSC3/G960USQS4CSC3

Latest Firmware available for SM-G960U is: G960USQS4CSC3/G960UOYN4CSC3/G960USQS4CSC3

Checking latest firmware for SM-G960U/TMK/G960USQS4CSC3/G960UOYN4CSC3/G960USQS4CSC3

Latest Firmware available for SM-G960U is: G960USQS4CSC3/G960UOYN4CSC3/G960USQS4CSC3

Filename: C:\Users\Chris\Desktop\Phone\SM-G960U_1_20190312132414_06sqbqinzk_fac.zip.enc4

Trying to download SM-G960U_1_20190312132414_06sqbqinzk_fac.zip.enc4 to C:\Users\Chris\Desktop\Phone\SM-G960U_1_20190312132414_06sqbqinzk_fac.zip.enc4

Firmware successfully downloaded

Checking CRC32...

Success: CRC match!

Decrypting firmware...

Checking latest firmware for SM-G960U/TMK/G960USQS4CSC3/G960UOYN4CSC3/G960USQS4CSC3

Latest Firmware available for SM-G960U is: G960USQS4CSC3/G960UOYN4CSC3/G960USQS4CSC3

Firmware download aborted by user.

31/03/2019 17:03:33

Error reading config file: Object reference not set to an instance of an object.

Checking latest firmware for SM-G960U/TMK/G960USQS4CSC3/G960UOYN4CSC3/G960USQS4CSC3

Latest Firmware available for SM-G960U is: G960USQS4CSC3/G960UOYN4CSC3/G960USQS4CSC3

Filename: C:\Users\Chris\Desktop\Phone\SM-G960U_1_20190312132414_06sqbqinzk_fac.zip.enc4

File Deleted

Trying to download SM-G960U_1_20190312132414_06sqbqinzk_fac.zip.enc4 to C:\Users\Chris\Desktop\Phone\SM-G960U_1_20190312132414_06sqbqinzk_fac.zip.enc4

Firmware successfully downloaded

Checking CRC32...

Success: CRC match!

Decrypting firmware...

Checking latest firmware for SM-G960U/TMK/G960USQS4CSC3/G960UOYN4CSC3/G960USQS4CSC3

Latest Firmware available for SM-G960U is: G960USQS4CSC3/G960UOYN4CSC3/G960USQS4CSC3

31/03/2019 17:14:01

Error reading config file: Object reference not set to an instance of an object.
[Samsung Galaxy S9  Guides, News, & Discussion] SlackingVeteran:
I tried your model and CSC, I do not seem to have any issue decrypting it. I tried all version of Frija (from v1.0.0 to v1.3.0) non of them had any issues

And your log doesnt say anything either. All it says is decrypting firmware which is never completed. If there was any issues while decrypting it would have spit out error there. I dont kow how to help you since I cant reproduce your issue.

Is the program closing out itself?

Do you see progress bar moving while decrypting?

Are you closing the app before decryption has finished?

If you didnt close the app how were you able to search for firmware again without decryption process being completed? Does that mean update button is available right after decryption starts (this is logically not possible either)?
[Samsung Galaxy S9  Guides, News, & Discussion] mamamost:
I have a very similar problem. First of all the download will automatically stop/get interrupted before finishing, unless I pause it every 600MB or so. Secondly, even when the download finishes it will not decrypt because CRC mismatch.

I can understand the reason why it does not want to decrypt; what has me puzzled is why I cannot download the firmware in one go nor why there is a sum mismatch when I pause and resume the download process a dozen or so times.

I have tried on three different internet connections (completely independent of each other) and all show the same behavior.

This is the latest trial when I let it download more than 600MB and it failed:

08/04/2019 09:37:49
Error reading config file: Object reference not set to an instance of an object.

Checking latest firmware for SM-G960U/TMB/G960USQS4CSC3/G960UOYN4CSC3/G960USQS4CSC3
Latest Firmware available for SM-G960U is: G960USQS4CSC3/G960UOYN4CSC3/G960USQS4CSC3
Filename: C:\Users\M\Downloads\Galaxy_S9\U\SM-G960U_1_20190312180527_47y5r6dc2f_fac.zip.enc4
Trying to download SM-G960U_1_20190312180527_47y5r6dc2f_fac.zip.enc4 to C:\Users\M\Downloads\Galaxy_S9\U\SM-G960U_1_20190312180527_47y5r6dc2f_fac.zip.enc4
Firmware download paused
Firmware download resumed
Trying to download SM-G960U_1_20190312180527_47y5r6dc2f_fac.zip.enc4 to C:\Users\M\Downloads\Galaxy_S9\U\SM-G960U_1_20190312180527_47y5r6dc2f_fac.zip.enc4
File exists. Resuming download...
Firmware download paused
Firmware download resumed
Trying to download SM-G960U_1_20190312180527_47y5r6dc2f_fac.zip.enc4 to C:\Users\M\Downloads\Galaxy_S9\U\SM-G960U_1_20190312180527_47y5r6dc2f_fac.zip.enc4
File exists. Resuming download...
Firmware download paused
Firmware download resumed
Trying to download SM-G960U_1_20190312180527_47y5r6dc2f_fac.zip.enc4 to C:\Users\M\Downloads\Galaxy_S9\U\SM-G960U_1_20190312180527_47y5r6dc2f_fac.zip.enc4
File exists. Resuming download...
Firmware download paused
Firmware download resumed
Trying to download SM-G960U_1_20190312180527_47y5r6dc2f_fac.zip.enc4 to C:\Users\M\Downloads\Galaxy_S9\U\SM-G960U_1_20190312180527_47y5r6dc2f_fac.zip.enc4
File exists. Resuming download...
Error: Connection interrupted

When I see the download bar with 0kB/s, the "Check Update", "Pause", and "Stop" buttons are all active. Nothing happens when I press "Pause" followed by "Resume" and this is what is reported in the log:

Firmware download paused
Firmware download resumed
Trying to download SM-G960U_1_20190312180527_47y5r6dc2f_fac.zip.enc4 to C:\Users\M\Downloads\Galaxy_S9\U\SM-G960U_1_20190312180527_47y5r6dc2f_fac.zip.enc4
File exists. Resuming download...

However, the download does not continue.

I am using version 1.3.0 on Win10-1809
[Samsung Galaxy S9  Guides, News, & Discussion] partcyborg:
This is not a valid firmware version.

Notice how you have SM-G960U in the front, then at the end you have G975U? Those are two different phones, the s9 and the s10+ respectively, both usa snapdragons.
[Samsung Galaxy S9  Guides, News, & Discussion] Indyultra:
Thanks, didn't see that. Wonder why frija, was trying to pull that file? But I ended up downloading 4csc7. Because I Odined csaa which is a ver 4 bootloader, boot loader, and now a can't go back to 3.
[Samsung Galaxy S9  Guides, News, & Discussion] SlackingVeteran:
Firmware not downloading correctly is your network issue. and CRC not matching is because of you trying to pause and resume a lot. When app is downloading file and you pause and later try to resume, what it does is sends a request to download partial file starting from what you already have. Multiple pause and resume causes issues with partial downloads.

If you connect to proper network with better download issue you wont have any trouble.
[Samsung Galaxy S9  Guides, News, & Discussion] tommy_riley:
Kudoa to the author of this app. It works very well. No more guessing games where I'm going to get my firmware, is it legit, and will it take 20 minutes or 20 hours to download. :)
[Samsung Galaxy S9  Guides, News, & Discussion] lemoninter:
Frija stopped working

Frija 1.3.0 - it gives me error when i'm trying to launch

Windows 7 64bit

Can anyone help?
[Samsung Galaxy S9  Guides, News, & Discussion] c_86:
cant download, keep getting 102 error, even tho all the information i have entered is correct, and i KNOW there is an update
[Samsung Galaxy S9  Guides, News, & Discussion] stpf77:
Might there be an linux equivalent of this amazing sounding mod? (trembling down the barrel of a gun at nearly 10g of stock downloads....) TIA
[Samsung Galaxy S9  Guides, News, & Discussion] RushGetsItDone:
Fixed Frija 102 Error

I was having the same issue, but I figured it out!

Make sure you have both installed on your computer:

2008 Microsoft Visual C++ (Redistributable x86)

and

2010 Microsoft Visual C++ (Redistributable x86)

After I corrected this, Frija is working perfectly fine. Hope it helps!
[Samsung Galaxy S9  Guides, News, & Discussion] AmINoS007:
damn right, after installing thoose two the tool worked again like a sharme thanks very much
[Samsung Galaxy S9  Guides, News, & Discussion] peterkef:
Hi There,

Thank you for this app.

After that the download is finished I have the message : checking CRC32

But it stays there with a little turning wheel.

I installed the 2 above programs, but no difference.

How long will the checking take?

It is like this for the last 50 minutes.

Thank you
[Samsung Galaxy S9  Guides, News, & Discussion] SlackingVeteran:
It should normally not take more than 5 minutes, either its a bad file download or something else happened which I cannot tell without log. If log file doesnt have anything I wont be able to figure out what happened unless I can replicate it
[Samsung Galaxy S9  Guides, News, & Discussion] fOmey:
I would recommend using: https://github.com/Fody/Costura to bundle all the .dll's into the .exe for a cleaner distribution experience.. beside that this is great! :good:

You can find costura on nuget.

EDIT: Another cool idea might be a background service that runs in the tray, automatically checks for updates periodically.. I know I would definitely appreciate something like this!
[Samsung Galaxy S9  Guides, News, & Discussion] Administr4tor:
How to download older version of firmware? any help with this? I want to download 6month old versions.
[Samsung Galaxy S9  Guides, News, & Discussion] *Detection*:
sammobile.com

updato.com
[Samsung Galaxy S9  Guides, News, & Discussion] xyh101:
66666666666

6666666666
[Samsung Galaxy S9  Guides, News, & Discussion] shaggyskunk:
666 is sufficient ?
[Samsung Galaxy S9  Guides, News, & Discussion] hero000:
Error. Unable to find firmware! Any advise ?