FORUMS

Cyanogen OS Factory Image Downloader

972 posts
Thanks Meter: 2,578
 
By Titokhan, XDA Portal Supporter on 23rd August 2015, 09:04 PM
Post Reply Email Thread
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
The Following User Says Thank You to Titokhan For This Useful Post: [ View ] Gift Titokhan Ad-Free
23rd August 2015, 09:10 PM |#2  
Titokhan's Avatar
OP XDA Portal Supporter
Thanks Meter: 2,578
 
Donate to Me
More
Reserved for future.

3rd November 2015, 11:15 AM |#3  
bartito's Avatar
Inactive Recognized Developer
Thanks Meter: 1,768
 
Donate to Me
More
Great job!

There is a way to get all ROM links for a specific model?
The Following User Says Thank You to bartito For This Useful Post: [ View ] Gift bartito Ad-Free
3rd November 2015, 02:11 PM |#4  
Titokhan's Avatar
OP XDA Portal Supporter
Thanks Meter: 2,578
 
Donate to Me
More
@bartito

Technically yes, but Cyanogen has made the tracking a little bit complicated now for 3rd parties. We also need to develop a database for historic data.
3rd November 2015, 02:12 PM |#5  
bartito's Avatar
Inactive Recognized Developer
Thanks Meter: 1,768
 
Donate to Me
More
Quote:
Originally Posted by Titokhan

@bartito

Technically yes, but Cyanogen has made the tracking a little bit complicated now for 3rd parties. We also need to develop a database for historic data.

I'm refer to a way to locate new uploads.
Really not much interest on history but in the future
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes