Giter Club home page Giter Club logo

android_device_htc_inc's Introduction

CM10.1 for the Droid Incredible

Info

XDA Discussion thread

Initialize

Setup Linux/OS X - Please note: it must be sun-java-6, not openjdk

Prepare to download sources

mkdir ~/android/cm10
mkdir ~/bin
cd ~/android/cm10/
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
chmod a+x ~/bin/repo
repo init -u git://github.com/CyanogenMod/android.git -b cm-10.1

Finish setting up repo

wget -O .repo/local_manifest.xml https://raw.github.com/tiny4579/android_device_htc_inc/cm-10.1/Manifest/local_manifest.xml

Download the source

cd ~/android/cm10
repo sync -j16

NOTE: This WILL take a long time.

Build

Make sure we're in ~/android/cm10...

cd ~/android/cm10

List of cherry-picks/reverts used. the first two are required to build

#Fix breakage due to CM revert part 1
#http://review.cyanogenmod.org/#/c/33305
cd ~/android/cm10/frameworks/native
git fetch http://review.cyanogenmod.org/CyanogenMod/android_frameworks_native refs/changes/05/33305/1 && git cherry-pick FETCH_HEAD

#Fix breakage due to CM revert part 2
cd ~/android/cm10/hardware/qcom/display-legacy
git revert b4331823c

#Change I4a9f8e9e: Fix return type of glGetAttribLocation and glGetUniformLocation
#http://review.evervolv.com/#/c/3933/
cd ~/android/cm10/frameworks/native
git fetch http://review.evervolv.com/android_frameworks_native refs/changes/33/3933/1 && git cherry-pick FETCH_HEAD
 
#Change I275c415f: Add TEMP_FAILURE_RETRY to ZipUtils
#http://review.evervolv.com/#/c/3937/
cd ~/android/cm10/frameworks/native
git fetch http://review.evervolv.com/android_frameworks_native refs/changes/37/3937/2 && git cherry-pick FETCH_HEAD
 
#Change I80d4c68b: hardening: eliminate more .text relocations
#http://review.evervolv.com/#/c/3987/
cd ~/android/cm10/frameworks/av
git fetch http://review.evervolv.com/android_frameworks_av refs/changes/87/3987/2 && git cherry-pick FETCH_HEAD
 
#framework: Battery bar (1/2)
#http://review.cyanogenmod.org/#/c/31912/
cd ~/android/cm10/frameworks/base
git fetch http://review.cyanogenmod.org/CyanogenMod/android_frameworks_base refs/changes/12/31912/3 && git cherry-pick FETCH_HEAD
#Settings: Battery bar (2/2)
#http://review.cyanogenmod.org/#/c/31913/
cd ~/android/cm10/packages/apps/Settings
git fetch http://review.cyanogenmod.org/CyanogenMod/android_packages_apps_Settings refs/changes/13/31913/3 && git cherry-pick FETCH_HEAD
  
#DeskClock: User-defined world cities
#http://review.cyanogenmod.org/#/c/33001/
#cd ~/android/cm10/packages/apps/DeskClock
#git fetch http://review.cyanogenmod.org/CyanogenMod/android_packages_apps_DeskClock refs/changes/01/33001/5 && git cherry-pick FETCH_HEAD

Pull in the prebuilts, like (currently only self-added GooManager)...

./vendor/cm/get-prebuilts

And build!

. build/envsetup.sh && time brunch inc

android_device_htc_inc's People

Contributors

mongoosehelix avatar ponsasinorem avatar preludedrew avatar tiny4579 avatar drewis avatar david-woodward avatar cuviper avatar mattrobinson125 avatar eyecatchup avatar busches avatar bigshotrob22 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.