Caution
Samsung has implemented CAPTCHA protection on their Opensource Releases website. osrc_download hasn't implemented a bypass mechanism for this yet, so this tool can't be used. As such, the repository is archived until the development is continued.
Most of the time it's frustating that we need to download a releases from Samsung OSRC, especially Kernel sources. And if we have a server that we build the source on, we need to upload it into there first. What a time-wasting, right?
Well, this script solves it! With this script, you can download the release directly from your Terminal! No need to download-reupload anymore. Just run, choose the release, and download 😎
First, we need to install Python 3, PIP, and Git in order to run the script.
For example, for Debian-based Linux distribution:
# apt install python3 python3-pip git -y
Then, clone the repository:
$ git clone https://github.com/hendramanudinata03/osrc_download.git
Cloning into 'osrc_download'...
...
$ cd osrc_download/
Before running the script for the first time, please install required dependencies:
$ pip install -r requirements.txt
Now you can run the script:
$ python osrc_download.py
It will ask you to choose device model and the specific source you want to download. Soon after that, the download will start. Enjoy some snacks or a coffee, because it will take some time.
- Allow uninteractive usage, useful for automation processes (e.g. CI)
- Require user to choose download directory and/or target file name
@fourkbomb for his Gist and @Linux4 for his SamsungFirmwareBot component. Really, thank you for the references!