Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

This branch is 73 commits ahead of 0xD34D:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
default.xml

README.md

Feature:

1, Andoid source code It's based on Google Offical AOSP source and TI Offical OMAPZOOM source. It is faster and stable but has few features.

2, Kernel source code It's based on keyodi's kernel source.
PVR and dsscomp driver is from omapzoom. Kernel setting (defconfig) is based on Lenovo A1 and Samsumg tuna(AOSP).

3, Vendor files PVR OMX and DSP vendor files are from Lenovo A1 last ICS rom. DRM vendor files are from Galaxy Nexus. Bootanimation is from Nexus 7.

4, Bootloader Bootloader is from fattire

5 Audio HAL Andiod HAL is port from my KindleFire project ( from omapzoom omap4 driver ) .

6, Power HAL Power HAL is port from Nexus 7.

7, JPEG turbo A new jpeg engine from linaor project

8, Bionic enhance Bionic is port from my KindleFire project. It has full optimization for armv7-a and neon.

9, Frameworks patchs frameworks/base: Fix screen rotation. patch port from CM10 frameworks/av: Support full video and auido hardware decode. It can harward decode 720P HD video. frameworks/native: Support RGBX_8888 render

10, Wifi Wifi driver and firmware are from lastest TI offical code (from OMAPZOOM). It should support DirectWIFI .

  1. Others Superuser , su , busybox and vold are from CM10

Source Code:

A) device source code and vendor file https://github.com/riverzhou/device_encore.git

B) kernel source code https://github.com/riverzhou/encore-omap3-3.git

C) all patchs and some script tools https://github.com/riverzhou/local_for_aosp.git

D) manifest https://github.com/riverzhou/manifest.git


Build Guild(Basic ):

1, Initializing a Build Environment Linux Environment: Ubuntu 10.04 -- 12.04 , 64bit version (X64) or 32bit version (I686)

A) Installing the JDK download and install JDK6 from oracle: http://www.oracle.com/technetwork/java/javase/downloads/index.html http://www.oracle.com/technetwork/java/javase/downloads/jdk6u35-downloads-1836443.html

link jdk to /usr/jdk

Set path for java:

create a script: /etc/profile.d/setpath.sh

!/bin/sh

PATH=$PATH:/usr/jdk/bin export PATH

relogin and check path : type "java -vesion " anywhere and you shoud get information :

java version "1.6.0_35" Java(TM) SE Runtime Environment (build 1.6.0_35-b10) Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01, mixed mode)

B) Installing required packages

sudo apt-get update sudo apt-get -y install git-core gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 g++-multilib tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386 schedtool pngcrush sudo apt-get -y install uboot-mkimage u-boot-tools sudo apt-get -y dist-upgrade sudo curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > /usr/local/bin/repo sudo chmod a+x /usr/local/bin/repo

On Ubuntu 10.10: sudo ln -s /usr/lib32/mesa/libGL.so.1 /usr/lib32/mesa/libGL.so

On Ubuntu 11.10: sudo apt-get install libx11-dev:i386

On Ubuntu 12.04: sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so

If you have any problem, check this page: http://source.android.com/source/initializing.html

2, Downloading the Source Tree (ubuntu x64)

A) Initializing a Repo client mkdir aosp cd aosp repo init -u https://github.com/riverzhou/manifest -b aosp (or -b m4)

B) Sync source code and patch (you should run ./local/patch.sh after everytime you sync source code) repo sync (or: repo sync -j 300) ./local/patch.sh

C) Make . ./build/envsetup.sh lunch full_encore-userdebug time make -j4 systemimage ( or -j2 -j6 , -j8 . It's based on your cpu core number) time ./device/bn/encore/build_ota.sh

You can find your rom at last line of output.


Build Guild (Advance):

1,build on ubuntu 32

A) Download linaro gcc At a temp fold :

cd ~ wget http://snapshots.linaro.org/android/~linaro-android/toolchain-4.6-2012.10/lastSuccessful/android-toolchain-eabi-linaro-4.6-2012.10-2-2012-10-17_19-36-33-linux-x86.tar.bz2 tar -jxvf android-toolchain-eabi-linaro-4.6-2012.10-2-2012-10-17_19-36-33-linux-x86.tar.bz2

You will get android-toolchain-eabi

cd your android dir, then:

cd prebuilts/gcc/linux-x86/arm/ rm -rf arm-eabi-4.6 arm-linux-androideabi-4.6 cp -rf ~/android-toolchain-eabi .

B) Sync source code and patch (you should run ./local/patch.sh and ./local/32_patch.sh after everytime you sync source code) ./local/get.sh ./local/patch.sh ./local/32_patch.sh

You can modify ./local/get.sh if you have problem when you running get script. from : repo sync -j300 to repo sync -j16

C) Make (as same as ubuntu 64) . ./build/envsetup.sh lunch full_encore-userdebug time make -j4 systemimage ( or -j2 -j6 , -j8 . It's based on your cpu core number) time ./device/bn/encore/build_ota.sh

You can find your rom at last line of output.

2, build kernel update package Using follow command instead above

C) Make . ./build/envsetup.sh lunch full_encore-userdebug time ./device/bn/encore/build_ota.sh onlyboot

You can find your update package only contain boot image at last line of output.


Flash Guild Use twrp 2.3 : http://teamw.in/project/twrp2/43

It seems twrip 2.3 has bug that can not install to tf card. But install to emmc is OK. Use this package: http://techerrata.com/file/twrp2/encore/openrecovery-twrp-2.3.1.0-encore-signed.zip

Do factory reset and wipe cache/dalvik cache after flash .


Something went wrong with that request. Please try again.