Git Product home page Git Product logo

morfeokmg / lenovo_b6000-8000_kernel_source Goto Github PK

View Code? Open in Web Editor NEW

This project forked from teamyogablade/lenovo_b6000-8000_kernel_source

0.0 1.0 0.0 323.39 MB

Open Source Kernel for Lenovo Yoga 8" (b6000) and 10" (b8000) Tablets

Makefile 0.66% C 86.54% Groff 0.04% Shell 0.04% Assembly 1.90% Objective-C 0.64% C++ 9.71% Awk 0.01% Python 0.03% PHP 0.01% CSS 0.01% SourcePawn 0.01% Perl 0.38% UnrealScript 0.01% Yacc 0.01% Lex 0.01% Batchfile 0.01% Scilab 0.01% ASP 0.01% XS 0.01%

lenovo_b6000-8000_kernel_source's Introduction

Lenovo Yoga 8” (b6000) and 10” (b8000) Tablets Kernel Open Source Code

Downloaded from:

Notes

Preparing ZIPs to Build

  1. Unzip ZIPs
unzip b6000-8000_source_part1.zip -d lenovo_b6000-8000_kernel_source
unzip b6000-8000_source_part2.zip -d lenovo_b6000-8000_kernel_source
unzip b6000-8000_source_part3.zip -d lenovo_b6000-8000_kernel_source
  1. Fix paths per 4ebbf08ea2b5abfb5577f865f9681ce0a59ebaad
cd lenovo_b6000-8000_kernel_source/kernel/mediatek
ln -s ../../mediatek/custom custom
ln -s ../../mediatek/kernel kernel
ln -s ../../mediatek/platform platform

And per 9a7c664697db24ea4ee6b71f6ea18f58aa8d47cd

cd lenovo_b6000-8000_kernel_source/mediatek/platform/mt6589/kernel/drivers/dual_ccci
ln -s ../masp/asf asf
  1. Set scripts to be executable
cd lenovo_b6000-8000_kernel_source
chmod +x mediatek/build/shell.sh
chmod +x mediatek/build/kernel/build-kernel.sh
  1. Edit build-kernel.sh per e6978d2af3120e428f2c688419a59324bfd04a03

Build

  1. Install Android SDK & NDK
  2. Install Android API 17 (4.2.2/CM10.1)
  3. Set up environment:
export ANDROIDSDK=$HOME/android/sdk
export ANDROIDNDK=$HOME/android/ndk
export ANDROIDNDKVER=r9b
export ANDROIDAPI=17
export PATH=$PATH:$ANDROIDNDK/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin

For b6000:

export TARGET_PRODUCT=lenovo89_tb_x8_jb2

For b8000:

export TARGET_PRODUCT=lenovo89_tb_x10_jb2
cd lenovo_b6000-8000_kernel_source/kernel
export MTK_ROOT_CUSTOM=../mediatek/custom/
make

Image

First, follow the above Build steps; then...

cd lenovo_b6000-8000_kernel_source/kernel
export MTK_ROOT_BUILD=../mediatek/build/
../mediatek/build/kernel/build-kernel.sh

lenovo_b6000-8000_kernel_source's People

Contributors

paulpv avatar

Watchers

Mauricio Martínez Garcia 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.