How to Install CyanogenMod on the LG Optimus One ("p500")

From CyanogenMod
Jump to: navigation, search

WARNING: Incomplete page

This page has been tagged INCOMPLETE by the moderators. We feel that the page is incomplete and hence the instructions should not be followed by users at the moment. Brave users might proceed at their own risk. However if anyone knows the correct instructions they are welcome to edit the template or ping the moderators on the CM wiki IRC channel. Reason: There are no instructions to install recovery.

This guide will walk you through the process of taking the Optimus One from stock to having a custom recovery image and the ability to flash the latest version of CyanogenMod.

Note: DISCLAIMER

Modifying or replacing your device's software may void your device's warranty, lead to data loss, hair loss, financial loss, privacy loss, security breaches, or other damage, and therefore must be done entirely at your own risk. No one affiliated with the CyanogenMod project is responsible for your actions. Good luck.




Installing CyanogenMod from recovery

  1. Make sure your computer has working adb.
  2. Download the CyanogenMod package for your device that you'd like to install to your computer.
    Optional: Download 3rd party applications packages, like Google Apps which are necessary to download apps from Google Play.
  3. Boot to recovery mode, and connect the phone to your computer through USB.
    • Volume Down + Power + Home
  4. In ClockworkMod Recovery, use the physical volume buttons to move up and down. On most devices, the power button is used to confirm a menu selection, but for some devices a physical home key acts as a selector. Some devices have touch enabled ClockworkMod Recovery, in which case you may be able to swipe to, or touch, menu selections.
  5. Optional (Recommended): Select backup and restore to create a backup of your current ROM.
  6. Select wipe data/factory reset.
  7. You have two options for transferring and installing the installation packages. The sideload method is more universal across devices, whereas the push and install method is more commonly used:
    • Sideload method: select install zip > install zip from sideload. Follow the on-screen notices to install the package. The installer does not necessarily display an "Install complete." message. You can tell the install is complete if there were no fatal error messages and you have regained control over the menu.
    • Push and install method: Open a command prompt (or Terminal on Mac and Linux) and navigate to the directory holding the package(s) you would like to install. On the device, navigate to the mounts and storage menu. If you see /storage/sdcard0 or /sdcard as a mountable volume, go ahead and mount it. If you do not see one of these partitions, then instead mount the /data partition. Take note of which volume you mounted. Now, push the package(s) to your device (also, see tip below):
    - If you mounted /storage/sdcard0, then: adb push update.zip /storage/sdcard0/
    - If you mounted /sdcard or /data, then: adb push update.zip /sdcard/
    where update.zip should be replaced with the package filename. Go back to the main menu and select install zip. Choose to install from the same directory where you pushed the package(s). If you are installing multiple packages, install CyanogenMod first and then install any subsequent packages on top of it.
  8. Once installation has finished, return to the main menu and select reboot system now. The device will now boot into CyanogenMod.

Helpful Tip– SD card folders

CyanogenMod 10.1 and newer have multi-user support (introduced in Android 4.2). If your device has storage on the /data partition, then Android actually looks in /data/media/0/ for the first user's /sdcard/ storage. ClockworkMod recovery symlinks /sdcard/ to /data/media/ though. So, if you are pushing files to internal storage in recovery and want them to be visible in Android, you should push them to /sdcard/0/ or /data/media/0/. Here's the most frequent scenarios:

  1. If you're coming from a ROM with Android 4.1 or older to CyanogenMod 10 or older: adb push update.zip /sdcard/
  2. If you're coming from a ROM with Android 4.1 or older to CyanogenMod 10.1 or newer: adb shell "mkdir /sdcard/0/" followed by adb push update.zip /sdcard/0/
  3. If you're coming from a ROM with Android 4.2 or newer to CyanogenMod 10.1 or newer: adb push update.zip /sdcard/0/

Helpful Tip

See something wrong on this page? Report it here.

Before you start

  1. Backup all your data as this will wipe everything on your phone
  2. Make sure your battery is fully charged
  3. This can take as little as 30 minutes and as long as 3 hours

Installing Recovery Mode

On a rooted device

  1. Go to Google Play Store
  2. Install "ClockworkMod ROM Manager"
  3. Follow instructions when you open it
  4. Confirm your model and select Clockwork Recovery mode
  5. Wait for download to complete
  6. It'll flash your device with the ROM manager

Rooting

It is easy to root this device, so root the device before trying to install cyanogenmod.

Use SuperOneClick : http://forum.xda-developers.com/showthread.php?t=803682

First:

  1. Settings > SD Card and Storage: make sure "Mass Storage" in unchecked
  2. Settings > Applications > Developers Tools: check USB Debugging
  3. You will need to have the LG USB driver installed on your computer

More on Recovery Mode Install

In some cases (encountered at least with LG P500 with Android 2.2.1 and 2.3.3), the current (2014) ROM Manager does not install the ClockworkMod Recovery image correctly. The manager does not report any error, however, on attempt to boot ClockworkMod Recovery, stock recovery is displayed and factory reset takes place afterwards (behavior described e.g. here http://androidforums.com/optimus-one-all-things-root/465761-clockwork-mod-reboot-into-recovery-factory-resets-phone.html). This issue can be fixed using the LGMDP tool (process described here http://forum.xda-developers.com/showthread.php?t=1318750), it might also be necessary to try multiple versions of the ClockworkMod Recovery images. (Note: use the MENU button (on the left) to select in this recovery.)

Another issue to pay attention to is the phone baseband version (especially if the installed CyanogenMod image does not connect to the mobile network at all).

Accessing Recovery Mode

  1. Power off phone
  2. Press and hold VOLUME DOWN + HOME + Power until you see LG Logo




Troubleshooting

VOLUME DOWN + HOME + POWER just resets the phone

If you enter the key combination and you see a white box, yellow arrow and a green droid, this means that you have not installed ClockworkMod Recovery mode. Install ClockworkMod Recovery mode and try again

Backup failed 'error while making a backup image of /sdcard/.android_secure

If you see an error running a backup of your phone and it says 'error while making a backup image of [ insert folder name here ]', you do not have enough free space on your sd card. Free up space on your SD card and try again

Here is a page that talks about => .android_secure

  1. Go back into recovery mode
  2. Wipe/factory reset your phone
  3. Reinstall the Cyanogenmod image


I don't have Android Market/Google Play Store anymore

To get Google Play Store, you must install Google Apps. Download the ZIP file to your sd card, reboot into Recovery Mode and install the ZIP. It'll add Google Play Store to your install. This also installs GMail and some other basic Google apps.