Metadata-Version: 2.4
Name: samloader
Version: 0.4
Summary: A tool to download firmware for Samsung phones.
Home-page: 
Author: nlscc
Author-email: dontsendmailhere@example.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: COPYING
Requires-Dist: tqdm
Requires-Dist: pycryptodomex
Requires-Dist: requests
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# samloader

Download firmware for Samsung devices (without any extra Windows drivers).

## Low maintenance warning

Given https://github.com/samloader/samloader was archived and this didn't work I just fixed it.
I'll probably still use it ~ once a year and will try to fix at this point, but don't plan on
supporting much more than my use case.

## Installation

```
$ pip3 install git+https://github.com/martinetd/samloader.git
```

## Usage

Run with `samloader` or `python3 -m samloader`. See `samloader --help` and
`samloader (command) --help` for help.

Check the latest firmware version: `-m <model> -r <region> -i <serial/imei number prefix> checkupdate`

Download the specified firmware version for a given phone and region to a
specified file or directory: `-m <model> -r <region> -i <serial/imei number prefix> download -v <version> (-O
<output-dir> or -o <output-file>)`

Decrypt encrypted firmware: `-m <model> -r <region> -i <serial/imei number prefix> decrypt -v <version> -V
<enc-version> -i <input-file> -o <output-file>`

### Example

```
$ samloader -m GT-I8190N -r BTU -i 355626052209825 checkupdate
I8190NXXAMJ2/I8190NBTUAMJ1/I8190NXXAMJ2/I8190NXXAMJ2

$ samloader -m GT-I8190N -r BTU -i 355626052209825 download -v I8190NXXAMJ2/I8190NBTUAMJ1/I8190NXXAMJ2/I8190NXXAMJ2 -O .
downloading GT-I8190N_BTU_1_20131118100230_9ae3yzkqmu_fac.zip.enc2
[################################] 10570/10570 - 00:02:02

$ samloader -m GT-I8190N -r BTU -i 355626052209825 decrypt -v I8190NXXAMJ2/I8190NBTUAMJ1/I8190NXXAMJ2/I8190NXXAMJ2 -V 2 -i GT-I8190N_BTU_1_20131118100230_9ae3yzkqmu_fac.zip.enc2 -o GT-I8190N_BTU_1_20131118100230_9ae3yzkqmu_fac.zip
[################################] 169115/169115 - 00:00:08
```

## Note

This project was formerly hosted at `nlscc/samloader`, and has moved to
`samloader/samloader`, and is now currently forked on `martinetd/samloader`...
