Install CM for d2vzw

From CyanogenMod
Jump to: navigation, search

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.

WARNING:

This guide is for advanced users and does not come with support. It is provided as a means to install CyanogenMod. A working adb connection as well as adb being in your PATH is required for this guide and users should not proceed without this. Additionally, you must be a 4.2.2 or older build or this will not work. In fact, if you try to use this method on a newer revision, you will almost certainly brick your device. Seriously don't try it. Downgrading won't work either. If you've updated, a qfuse is already tripped and any attempt to downgrade will also result in a brick.

Flash alternate bootloader and custom recovery

Samsung devices come with a unique boot mode called Download Mode which is very similar to Fastboot Mode on some devices with unlocked bootloaders. Heimdall is a cross-platform, open source tool for interfacing with Download Mode on Samsung devices. The preferred method of installing a custom recovery is through this boot mode. Rooting the stock firmware is neither recommended nor necessary.

In order to use CyanogenMod on the Verizon variant of the Galaxy S3 you need to load an older bootloader.

  1. Download the following files:
  2. Download the Heimdall Suite:
    • Windows:
      • Heimdall Suite 1.4RC2: command-line binary: download
        NOTE: The Heimdall Suite requires the Microsoft Visual C++ 2012 Redistributable Package to be installed on the computer, which can be downloaded here.
    • Linux 32bit:
      • Heimdall Suite 1.4RC1 command-line binary: download
    • Linux 64bit:
      • Heimdall Suite 1.4RC1 command-line binary: download
    • Mac OS X:
      • Heimdall Suite 1.4RC1: command-line binary: download
    • Building From Source: The source code for the Heimdall Suite is available on Github. For more details about how to compile the Heimdall Suite, please refer to the README provided on Github.
  3. Boot to download mode on the Galaxy S3 (Verizon) by holding Volume Down, Home, & Power. Connect device via USB.
    • Optional: Once in download mode, verify Heimdall can detect the device and read its PIT file:
      • heimdall detect
      • heimdall print-pit
  4. Flash the aboot.mbn file from VRALEC.bootloader.tar.md5 with Heimdall:
    • heimdall flash --ABOOT aboot.mbn
  5. Flash the older kernel from VRALF2.boot.tar.md5 with Heimdall:
    • heimdall flash --BOOT boot.img
  6. You should now be able to download and flash recovery:
    • koush's ClockworkMod Recovery: download
      • md5sum:2f9f9013cfc76613d1144a72592b3886
    • heimdall flash --RECOVERY your_recovery_image.img
  7. Unplug USB cable. Boot to recovery mode on the Galaxy S3 (Verizon) by holding Volume Up, Home, & Power.
    • Flash the VRALE6.bootloader.zip in recovery
      • Install zip from sdcard
      • Choose zip from external sdcard
      • Select VRALE6.bootloader.zip
      • Confirm installation
      • Reboot

The device is now ready to flash CyanogenMod.

Installing CyanogenMod from recovery

Note:

Some devices do not have removable SD cards. Regardless, there should still be a partition on the device named "/sdcard" that can be used for flashing purposes, even though the contents of /sdcard may actually be in internal storage.

  1. Download the prebuilt release of CyanogenMod you wish to install. (Or if you've built CM yourself, look in the $OUT directory for the .zip.)
    Optional: Download any supplemental 3rd-party applications packages for the device you wish to use.
  2. Place the CyanogenMod rom .zip file on the root of the SD card using adb:
    • Transfer your file(s): adb push YOURROMZIP.zip /sdcard/
      • If you boot directly to recovery and have an internal sdcard, you may need to run adb shell mount /sdcard or mount data through the recovery menu before transferring.
      • If you see "error: device not found" there is likely a driver issue on the PC.
      • If you see "error: insufficient permissions for device", try "adb kill-server" and then run "adb devices" to see if the device is attached.
      • On some devices, the zip file can be copied to the device using standard USB Mass Storage or MTP support. Boot the device normally and transfer the file to it.
    Optional: Place any supplemental packages (e.g. Google Apps[1] or kernel) .zip file(s) on the root of the SD card.
  3. Boot to recovery mode on the device by holding Volume Up, Home, & Power.
  4. Once the device boots into the ClockworkMod Recovery, use the physical volume buttons to move up and down. On most devices, the power button is used to confirm your selection, although for some devices the power button is used as a "back" button to go up one level, in which case the home button is used to confirm the selection.
    Optional/Recommended: Select backup and restore to create a backup of the current installation on the device. If this option is missing, it's likely because the stock ROM has overwritten your custom recovery on boot.
  5. Select the option to wipe data/factory reset.
  6. Select install zip from sdcard.
  7. Select choose zip from sdcard.
  8. Select the CyanogenMod file you placed on the sdcard. You will then need to then confirm that you do wish to flash this file.
    Optional: Install any additional packages you wish using the same method.
  9. Once the installation has finished, return back to the main menu, and select the reboot system now option. The device should now boot into CyanogenMod.