TypeScript implementation of a streaming downloader, decryptor and extractor of Samsung firmware.
Go to file
2022-08-07 03:32:48 -07:00
.github/workflows CI: add a workflow for release 2020-11-10 19:17:40 +08:00
.vscode samfirm: initial commit 2020-11-10 13:46:05 +08:00
types samfirm: initial commit 2020-11-10 13:46:05 +08:00
utils Update dependencies 2022-08-07 03:32:48 -07:00
.eslintrc.json samfirm: initial commit 2020-11-10 13:46:05 +08:00
.gitignore CI: add a workflow for release 2020-11-10 19:17:40 +08:00
index.ts Print newline before exiting 2022-08-07 03:32:48 -07:00
LICENSE README: initial commit 2020-11-10 14:00:04 +08:00
package-lock.json Update dependencies 2022-08-07 03:32:48 -07:00
package.json Update dependencies 2022-08-07 03:32:48 -07:00
README.md README: initial commit 2020-11-10 14:00:04 +08:00
tsconfig.json samfirm: initial commit 2020-11-10 13:46:05 +08:00

SamFirm.js

A streaming downloader, decryptor and extractor of Samsung firmware.

Getting started

Pre-Requisites

  1. Install NodeJS version Current.

Run

sudo npm i -g samfirm and then samfirm.

Or npx samfirm.

Or build from source.

Build

  1. git clone https://github.com/jesec/samfirm.js.git
  2. npm install
  3. npm run build

Example

> samfirm -m SM-F916N -r KOO

  Model: SM-F916N
  Region: KOO

  Latest version:
    PDA: F916NTBU1ATJC
    CSC: F916NOKT1ATJC
    MODEM: F916NKSU1ATJ7

  OS: Q(Android 10)
  Filename: SM-F916N_10_20201028094404_saezf08xjk_fac.zip.enc4
  Size: 5669940496 bytes
  Logic Value: 611oq0u820f7uv34
  Description:
    • SIM Tray 제거시 가이드 팝업 적용
    • 충전 동작 관련 안정화 코드 적용
    • 단말 동작 관련 안정화 코드 적용
    • 단말 보안 관련 안정화 코드 적용

    https://doc.samsungmobile.com/SM-F916N/KOO/doc.html

/home/jc/samfirmjs/SM-F916N_KOO/
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0% | 41774309/5669940496 | BL_F916NTBU1ATJC_C...

License

Copyright (C) 2020 Jesse Chan <jc@linux.com>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.