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

  1. 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.
  2. Boot to recovery mode, and connect the phone to your computer through USB.
    • Volume Up, Home, & Power
  3. 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.
  4. Optional (Recommended): Select backup and restore to create a backup of your current ROM.
  5. Select wipe data/factory reset.
  6. You have two options for transferring and installing the installation packages. Both cases require adb to be working in recovery. 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 as a mountable volume, go ahead and mount it. If you do not see this directory, then instead mount the /data directory. Take note of which volume you mounted. Now, push the package(s) to your device:
    - If you mounted /storage/sdcard0, then: adb push update.zip /storage/sdcard0/
    - If you mounted /data, then: adb push update.zip /sdcard/0/
    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.
  7. Once installation has finished, return to the main menu and select reboot system now. The device will now boot into CyanogenMod.