A work in progress downloader/installer for Oxygen OS for the Oneplus 5 (Possibly more in the future). This will download the newest Oxygen OS image from https://www.oneplus.com/, extract the firmware and push it to your Oneplus 5 for you to install. Linux only.
Required:
Note: geckodriver, adb and extraction tool must be in the PATH environment variable.
To install dependencies, run pip3 install -r requirements.txt
Run python3 downloader.py
. Make sure that you have internet connection and only one device connected via adb (run adb devices
to confirm)
- Add save point for extracted firmware
- Add more sanity checks
- Enable ADB sideload instead of push and manual install
- Add option to stop backup
- Resume download
Provided as is. No guarantee for correctness or liability for damage.