4

I know that premium version of ROM manager allows OTA updates to the nightly builds and there is also the old(deprecated) cyanogen updater on google-code. Is there any way to do an OTA without using ROM manager? How does an OTA work? Does it actually just replace the existing firmware.

2 Answers 2

3

Of course you can do OTA updates manually, without ROM Manager Premium.

  1. On the handset open up a browser of your choice and navigate to http://download.cyanogenmod.com/
  2. On the left column, under the "By Device" section tap on the codename for your device (e.g. "passion" for Nexus One)
  3. Optionally, you can filter the download list by type (Stable Vs. Nightly) by tapping on the type right above the list of downloads.
  4. Tap on the filename to begin download. Obviously a WiFi connection is recommended because the ROMs are fairly large, at around 100 MB.
  5. Once the download completes, reboot into Recovery (Clockworkmod, Amon-RA, etc.)
  6. Perform a NANDroid backup, so that you can do a restore in case something goes wrong in subsequent steps.
  7. Wipe Cache and Dalvik-cache partitions (you'll need to find the relevant menu entries in whatever recovery image you are using.) This step is not mandatory, but can help resolve stability issues, so always I perform it.
    [Edit] 7.a. Note that if you are upgrading to the same ROM (i.e. flashing a newer nightly of CyanogenMod) you don't have to wipe data. This way all of your current apps and settings are retained. Only if you change to a different ROM altogether (i.e. going from CM to a Sense port) would you need to start over by wiping the /data partition.
  8. Select to flash a Zip from SD Card from the "download" folder (could be a different directory, depending on the browser you are using.) This can take a while, and the progress bar might appear to be stuck, but don't cut power to the phone or you'll risk corruption. Once the "success" message appears you can move forward.
  9. Optionally flash an alternate kernel image (for overclocks, etc.)
  10. Reboot your phone. This step will take longer than usual, since the caches are being rebuilt.

ROM Manager Premium automates most of these steps so that you don't have to muck around the recovery too much, but you can always to this yourself. It's still Over-The-Air, since you're not hooking your phone up to a PC to transfer the files.

[Edit]
Furthermore, you can even automate the notifications of new builds being posted for CyanogenMod via RSS feeds. The trick is that the CM download page doesn't provide its own RSS feed, so you have to create your own via one of the free services:

  1. Get your device's link (e.g. http://download.cyanogenmod.com/?type=nightly&device=passion for Nexus One Nightly builds.)
  2. Go to one of the free RSS-from-website creation services and create an RSS feed for the link above. You might need to tinker with advanced settings to get the listing. For example, I created this RSS feed for Nexus One nightly builds.
  3. Subscribe to the newly generated feed in your favorite RSS reader (e.g. Google Reader
  4. Use an Android RSS reader app that has notifications feature (e.g. NewsRob) and set up a notification for this feed.
4
  • I know how to do it manually. But I guess the method you mentioned requires reinstalling all the apps and syncing back all the settings (which is a huge pain) . Though Titanium Backup Pro might help speed it up , but a "true" OTA update would be completely seamless.
    – BlankVerse
    Commented Jun 3, 2011 at 3:21
  • 1
    With the method I posted there would be no need to re-install anything. All of the apps, data and settings are retained. In step 7 you are only wiping the caches that get rebuilt on first boot-up. Only if you wipe data (or do a full factory reset) would you need to re-install and restore settings. If you are just installing a new Nightly build, there is no need to wipe data. You only need to wipe data if you switch to a completely different ROM (e.g. CM to Sense, for example.)
    – Chahk
    Commented Jun 3, 2011 at 3:41
  • Oh that was a new piece of info ...if I am upgrading to same ROM , i dont need to wipe data!!! Thats awesome man, thanks for the info.
    – BlankVerse
    Commented Jun 4, 2011 at 7:34
  • I'll edit my answer to add this note.
    – Chahk
    Commented Jun 4, 2011 at 13:31
5

If you want to update CyanogenMod nightly builds Over The Air you'll need the premium version of ROM manager, this is the way to obtain donations to the project.

An OTA update is basically a download of a full ROM or a patch of some files that is saved to the storage of your phone and once it’s downloaded it installs automatically the full ROM or the patch to the phone. This system is used in many Android phones to deliver updates without the need to connect the phone to a computer to update the system.

2
  • So I guess whether its a full ROM or patch , I can write a script using ASE or even a full app similar to ROM Manager Premium which will take care of OTA? Since the phone is already rooted , updating the ROM over the fly wont be a big trouble perhaps? Or are there some checks to prevent me from doing an OTA update?
    – BlankVerse
    Commented Jun 3, 2011 at 3:24
  • As I understand the process, all you have to do is download the new file (a ZIP file) and save it to the SD Card, once you have the file you reboot the phone into recovery mode an flash the new ROM or patch. So, yes, it'll be possible to do this by your own means.
    – Doliveras
    Commented Jun 3, 2011 at 14:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .