Skip to content

spanner3003/android

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 

Repository files navigation

CyanogenMod (sgt7)

Getting Started

To get started with Android/CyanogenMod, you'll need to get familiar with Git and Repo.

To initialize your local repository using the CyanogenMod trees, use a command like this:

repo init -u git://github.com/sgt7/android.git -b ics

Then to sync up:

repo sync

Please see the CyanogenMod Wiki for building instructions.

For more information on this Github Organization and how it is structured, please read the wiki article

Building

Once you are done with syncing, use a command like this for building:

./build.sh

To build kernel too, use this

./build.sh p1 (P1 | P1C | P1L | P1N)

You can specify buildtype with

./build.sh p1 eng (eng userdebug user)

Submitting Patches

Patches are always welcome! Please submit your patches via CyanogenMod Gerrit! (If you did some change not specific to sgt7) You can do this by using these commands:

(From root android directory)
. build/envsetup.sh
(Go to repo you are patching, make your changes and commit)
cmgerrit <for(new)/changes(patch set)> <branch/change-id> 

repo start ics .
(Make your changes and commit)
repo upload .

Note: "." meaning current directory For more help on using this tool, use this command: repo help upload

Make your changes and commit with a detailed message, starting with what you are working with (i.e. vision: Update Kernel) Commit your patches in a single commit. Squash multiple commit using this command: git rebase -i HEAD~<# of commits>

To view the status of your and others' patches, visit CyanogenMod Code Review

OR you can always shoot a pull request - if it was something sgt7 specific

About

Misc Android stuff

Resources

Stars

Watchers

Forks

Packages

No packages published