Code Monkey home page Code Monkey logo

android's Introduction

#####################Quick steps to syncing and build Evervolv#########################

Getting Started


####Install the Android SDK. #####

####Install the Build Packages####

Install using the package manager of your choice:

	For 32-bit & 64-bit systems:

		git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev sun-java6-jdk pngcrush

	For 64-bit only systems:

		g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline5-dev gcc-4.3-multilib g++-4.3-multilib

Note: On Ubuntu 10.10, and variants, you need to enable the parter repository to install sun-java6-jdk:

	add-apt-repository "deb http://archive.canonical.com/ lucid partner"



Create the Directories

	You will need to set up some directories in your build environment.

		To create them:

			mkdir -p ~/bin 

			mkdir -p ~/android/system



Install Repo

	Enter the following to download make executable the "repo" binary:

		curl curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo

		chmod a+x ~/bin/repo

		Add 'export PATH=~/bin:$PATH' to your .bashrc

	You may need to reboot for these changes to take effect.



Now enter the following to initialize the repository:

	cd ~/android/system/ 

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

Then to start the Sync. (This is gonna take awhile)

	repo sync



All proprietary files are kept in the repo, no need to pull them from your device (unless adding devices).



Configure Build 

	Now, your environment must be configured to build specifically for your device. To set up your build environment:

		. build/envsetup.sh

		lunch

	Now choose the correct device, supersonic for the Evo 4g, inc for the Droid Incredible.



Next, we will build the actual ROM. You have a few build choices, described below. 

	First option will do a straight build. Do this if building on a single core machine.

		make 

	Second option will specify the amount of jobs you want to run (replace # with number of cpu cores.)

		make -j#

	Third option will create an OTA zip file that can be flashed through recovery This can be used with '-j#' (the filename's are still buggy, working on this).

		make otapackage

Completed! Your compiled Evervolv rom will be located in ~/android/system/out/target/product/INSERTPRODUCTHERE/ (the entire build is in /system if you did not use otapackage).

android's People

Contributors

preludedrew avatar mongoosehelix avatar drewis avatar mwielgosz avatar cayniarb avatar

Stargazers

IK~ avatar

Watchers

James Cloos avatar IK~ 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.