Install CM for p4

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.


Installing a custom recovery on Samsung Galaxy Tab 10.1

Samsung devices come with a unique boot mode called Download Mode which is very similar to Fastboot Mode on some devices with unlocked bootloaders. P3/P4 family tablets need to use Odin3-v1.85 to interface with the device while in Download Mode. The preferred method of installing a custom recovery is through this boot mode. Rooting the stock firmware is neither recommended nor necessary.

Windows Only (pending heimdall testing)

  1. Download pershoot's ClockworkMod Recovery package, and Odin3-v1.85:
    • pershoot's ClockworkMod Recovery: download
      md5: bac187f8e6796c94499c5e4b94b93d65
    • Bootloader: download
      md5: a62fecead0d7ddd81adf8d0f77e83a8a
    • Modem: download
      md5: 91680a265e060905b86dce46fcbb6040
    • Odin3-v1.85: download
    • Samsung USB Drivers with Escape: download
  2. Open Odin3-v1.85.
  3. Power off the Samsung Galaxy Tab 10.1 and connect the USB adapter to the computer but not to the Samsung Galaxy Tab 10.1.
  4. Boot the Samsung Galaxy Tab 10.1 into download mode by holding down Vol Down & Power. When the Samsung Galaxy Tab 10.1 Logo appears leave the Power Button and keep holding the Vol Down until you see an android icon with the capture "Downloading..." blinking.
  5. You are not in download mode yet. Press the Vol Up once and a "Warning!!" message appears. Press the Vol Up one last time to confirm.
  6. You are now in download mode and you can connect the usb cable to the Samsung Galaxy Tab 10.1.
    • NOTE: To confirm the device is connected and working, look for the blue COM box with the word Added!! inside.
  7. Uncheck the box labeled Auto Reboot.
  8. Press the dialog box labeled PDA and select the bootloader package.
  9. Press Start.
  10. A blue transfer bar will appear on the device showing the recovery being transferred. Once completed, the device will not reboot automatically.
  11. Repeat Steps 2-10 using the modem and recovery files the exact same way as the bootloader.
  12. The Samsung Galaxy Tab 10.1 now has ClockworkMod Recovery installed. Continue to the next section.

Linux with Heimdall

  1. Download pershoot's ClockworkMod Recovery package and Heimdall. download
  2. Boot the tablet into download mode by holding down Vol Down & Power, when a prompt with two icons appears, use Vol Up to select Download (a warning will appear, confirm that with Vol Up.
  3. Connect the device via USB and run heimdall flash --SOS <name-of-your-clockworkmod-recovery-file>.
  4. The tablet will reboot, again hold down Vol Down & Power to get into the prompt with two icons, then use Vol Down to select the first icon and Vol Up to confirm.
  5. You are now in ClockworkMod Recovery, continue to the next section.

Helpful Tip

  • The stock ROM may overwrite your custom recovery on boot. To prevent this, boot immediately into ClockworkMod Recovery after leaving Download Mode instead of letting the ROM boot up normally. If your recovery is overwritten, simply redo the steps you followed above and catch it before it boots next time.
  • Some users have reported connection errors if the device is connected to a USB hub. If you experience such errors it is recommended that you try connecting your device to a USB port on the motherboard.

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.)
  2. Place the CyanogenMod rom .zip file on the root of the SD card:
    • From a terminal run adb push ROMZIP.zip /sdcard/
    See adb documentation for additional help with this step.
    Optional: Download 3rd party applications packages, like Google Apps which are necessary to download apps from Google Play. Place the file on the root of the SD card.
  3. Boot to recovery mode on the Samsung Galaxy Tab 10.1 by holding Vol Down & Power, then when presented with the boot menu, press Vol Down and then Vol Up to enter recovery mode.
  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 Samsung Galaxy Tab 10.1.
  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 Samsung Galaxy Tab 10.1 should now boot into CyanogenMod.