Cyanogen OS Factory Image Downloader

Search This thread

SkandaH

XDA Portal Supporter
Jun 8, 2013
1,035
2,670
Xiaomi Poco F1
OnePlus 7T
Introduction

If you get your hands on a device with Cyanogen OS preinstalled and there is no factory image for it published by Cyanogen Inc. yet, then this script is for you. It constructs download links of factory image from a device running Cyanogen OS.

There are different files for a factory image: signed fastboot flashable zip, signed zip & boot-debuggable image.

Signed fastboot flashable zip: It contains the complete rom and can overwrite everything including your data partition. These cannot be flashed via recovery - extract their contents and flash via fastboot. An unlocked bootloader is required.

Signed zip: Normal recovery-flashable zip that contains just the system and kernel (they won't overwrite your data partition).

Boot-debuggable image: It is boot image/kernel that enables adb root and the developer menu options.

Requirements

1. Windows Vista or newer. 2000/XP should also work if choice.exe is present. Linux & OSX users should check the Python port.
2. Properly installed adb driver; see here.
3. Properly configured adb_usb.ini (optional); see here.
4. A device with regular Cyanogen OS (testing versions aren't supported) installed; list is here.

Download

https://github.com/Titokhan/cosfid

Usage

Download all of the files using "Download ZIP" option, extract somewhere (path with no space is recommended), connect the target device using USB cable & execute COSFID.cmd.

COSFID.py is intended for Linux & OSX users, though Windows users can run it too if Python for Windows is installed. The Python port is a quick-and-dirty one; it needs more refinement.

Don't confuse it by Cyanogen OS OTA trackers like the original one; read carefully to spot the difference.

Credit

1. qewlpal for inspirations in scripting
2. Jernej Simončič for providing Windows builds of GNU wget
3. Google for providing adb binaries under Apache license
4. Cyanogen for making Android more beautiful
 
Last edited:
  • Like
Reactions: CBpbxEcmecmBeH
D

Deleted member 267841

Guest
Great job!

There is a way to get all ROM links for a specific model?
 
  • Like
Reactions: Titokhan

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Introduction

    If you get your hands on a device with Cyanogen OS preinstalled and there is no factory image for it published by Cyanogen Inc. yet, then this script is for you. It constructs download links of factory image from a device running Cyanogen OS.

    There are different files for a factory image: signed fastboot flashable zip, signed zip & boot-debuggable image.

    Signed fastboot flashable zip: It contains the complete rom and can overwrite everything including your data partition. These cannot be flashed via recovery - extract their contents and flash via fastboot. An unlocked bootloader is required.

    Signed zip: Normal recovery-flashable zip that contains just the system and kernel (they won't overwrite your data partition).

    Boot-debuggable image: It is boot image/kernel that enables adb root and the developer menu options.

    Requirements

    1. Windows Vista or newer. 2000/XP should also work if choice.exe is present. Linux & OSX users should check the Python port.
    2. Properly installed adb driver; see here.
    3. Properly configured adb_usb.ini (optional); see here.
    4. A device with regular Cyanogen OS (testing versions aren't supported) installed; list is here.

    Download

    https://github.com/Titokhan/cosfid

    Usage

    Download all of the files using "Download ZIP" option, extract somewhere (path with no space is recommended), connect the target device using USB cable & execute COSFID.cmd.

    COSFID.py is intended for Linux & OSX users, though Windows users can run it too if Python for Windows is installed. The Python port is a quick-and-dirty one; it needs more refinement.

    Don't confuse it by Cyanogen OS OTA trackers like the original one; read carefully to spot the difference.

    Credit

    1. qewlpal for inspirations in scripting
    2. Jernej Simončič for providing Windows builds of GNU wget
    3. Google for providing adb binaries under Apache license
    4. Cyanogen for making Android more beautiful
    1
    D
    Deleted member 267841
    Great job!

    There is a way to get all ROM links for a specific model?