Giter VIP home page Giter VIP logo

android_device_zte_nx503a's Introduction

Android_device_zte_nx503a

Getting Started :

	curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
	chmod 755 ~/bin/repo
	mkdir cm11
	cd cm11
	repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
	repo sync

	mkdir -p device/zte/nx503a
	git clone https://github.com/XMelancholy/android_device_zte_nx503a.git -b cm-11.0 device/zte/nx503a

	mkdir -p device/qcom/common
	git clone https://github.com/CyanogenMod/android_device_qcom_common.git -b cm-11.0 device/qcom/common

	mkdir -p hardware/qcom/display-caf-new
	git clone https://github.com/CyanogenMod/android_hardware_qcom_display-caf-new.git -b cm-11.0 hardware/qcom/display-caf-new

	mkdir -p hardware/qcom/media-caf-new
	git clone https://github.com/CyanogenMod/android_hardware_qcom_media-caf-new.git -b cm-11.0 hardware/qcom/media-caf-new

Now connect your phone which have runing CM11 :

vendor

	mkdir -p vendor/zte/nx503a
	git clone https://github.com/XMelancholy/android_vendor_zte_nx503a -b cm-11.0 vendor/zte/nx503a

kernel

	mkdir -p kernel/zte/nx503a
	git clone https://github.com/XMelancholy/android_kernel_zte_nx503a -b cm-11.0 kernel/zte/nx503a

Patch android source code :

	patch -p1 < device/zte/nx503a/patches/frameworks_base.patch
	patch -p1 < device/zte/nx503a/patches/vendor_cm.patch

Our step is optional!!! Use only if you going to sync CM 11 source code daily, than simple revert each patch before you sync CM 11 source code :

	patch -p1 -R < device/zte/nx503a/patches/frameworks_base.patch
	patch -p1 -R < device/zte/nx503a/patches/vendor_cm.patch
	repo forall -p -c 'git checkout -f'
	repo sync
	patch -p1 < device/zte/nx503a/patches/frameworks_base.patch
	patch -p1 < device/zte/nx503a/patches/vendor_cm.patch

Download CM prebuilts :

	./vendor/cm/get-prebuilts

You are ready to build :

	source build/envsetup.sh
	lunch cm_nx503a-userdebug
	make otapackage

ENJOY!

android_device_zte_nx503a's People

Contributors

syhost avatar xiangxin19960319 avatar

Watchers

 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.