GitXplorerGitXplorer
h

device_coolpad_cp5310

public
2 stars
1 forks
1 issues

Commits

List of commits on branch master.
Unverified
b0fbc8937e8c30834dcd1036bffc42303e724149

fix readme

hhuiyiqun committed 10 years ago
Unverified
64e952de26a3013f780a4431713641ada59e92f8

add a README

hhuiyiqun committed 10 years ago
Unverified
1c56b3d6dd3a279647d1f6b8738b444c9f6a8a43

first successful building code

hhuiyiqun committed 10 years ago
Unverified
a4e70c08f061a3f9cafdd22e8c00a9a47a425750

mkvendor.sh: Initial commit of cp5310

hhuiyiqun committed 10 years ago

README

The README file for this repository.

device coolpad cp5310

HOWTO

  1. Init Cyanogenmod with repo. cm-11.0 needed.

    $ repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
    
  2. Edit .repo/manifest.xml and add the following section:

    <project path="device/coolpad/cp5310" name="huiyiqun/device_coolpad_cp5310" />
    

    If you are in China, I'll advice you to use AOSP Mirror of TUNA to replace the repo of Google.

  3. Get Source:

    $ repo sync
    
  4. Apply patch:

    $ cd bootable/recovery/
    $ patch -p1 < ../../device/coolpad/cp5310/bootable_reocvery.diff
    
  5. Download msm_ion.h and msm_mdp.h from the forum page or any other place you like. For the reason of license, I don't want to place it in my repo. Then place they under bootable/recovery/minui/linux/. You have to create the directory first.

  6. Make:

    $ cd ../../
    $ bash # If you are using other shell, i.e. zsh
    $ . build/envsetup.sh
    $ lunch cm_cp5310-eng
    $ make recoveryimage
    

    you can see the $RECOVERY_PATH at the end of output.

  7. Enjoy the CWM Recovery, boot into fastboot mode by powering off and pluging in USB cable with Volume down pressed, and then:

    $ sudo fastboot boot $RECOVERY_PATH
    

    If it looks well, flash it in fastboot mode:

    $ sudo fastboot flash reocvery $RECOVERY_PATH
    

THANKS

I tried to port cwm to my Android devices several times before, but all ended with failure. This is the first time I get it.

The XDA University has given me a nice begin. However it's far from success.

Then the Forum Page help me a lot, although many parameters it mentioned is useless.