source: http://wiki.cyanogenmod.org/w/Install_CM_for_ks01lte
his guide will walk you through the process of taking the Galaxy S4 LTE-A (GT-I9506) 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.
Important Notes
Snapdragon 800 variant of Galaxy S 4
Installing CyanogenMod from recovery
- Make sure your computer has working adb.
- 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.
- Boot to recovery mode, and connect the phone to your computer through USB.
- With the device powered off, hold Volume Up, Home & Power. When the blue text appears, release the buttons.
- 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.
- Optional (Recommended): Select backup and restore to create a backup of your current ROM.
- Select wipe data/factory reset.
- 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/
- - If you mounted /storage/sdcard0, then:
- 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.
- 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:
- If you're coming from a ROM with Android 4.1 or older to CyanogenMod 10 or older:
adb push update.zip /sdcard/
- 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 byadb push update.zip /sdcard/0/
- 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
No comments:
Post a Comment