• Stars
    star
    103
  • Rank 333,046 (Top 7 %)
  • Language
    C#
  • Created about 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

SamFirm_Reborn

Based on https://github.com/ivanmeler/SamFirm_Reborn

Bug fixes:

  • Fixed resume of download, when downloaded file has passed 2 GByte in size. Workaround for .NET HttpClient bug for Range header.

Changes:

  • Switched to newAuth=1 => removed dependency to AgentModule.dll, CommonModule.dll and GlobalUtil.dll
  • Switched to build for AnyCpu (since no need for 32-bit Samsung dll's)
  • Builds with Visual Studio 2019 and .NET Framework 4.7.2
  • Changed phone model and region to ComboBoxes, to have dropdown lists of previous downloaded firmwares.
  • Downloaded models and regions stored to SamFirm.xml, to populate combo boxes.
  • Auto unzipping while decrypting downloaded firmware file
  • Saving metadata file FirmwareInfo.txt to folder for unzipped firmware files

Usage:

Windows GUI program Start without arguments

Console mode program: Start with command line arguments Usage:

Update check: SamFirm.exe -c -model [device model] -region [region code] [-version [pda/csc/phone/data]] [-binary]

Decrypting: SamFirm.exe -file [path-to-file.zip.enc2] -version [pda/csc/phone/data] [-meta metafile] SamFirm.exe -file [path-to-file.zip.enc4] -version [pda/csc/phone/data] -logicValue [logicValue] [-meta metafile]

Downloading: SamFirm.exe -model [device model] -region [region code] [-version [pda/csc/phone/data]] [-folder [output folder]] [-binary] [-autodecrypt] [-nozip] [-meta metafile]