GithubHelp home page GithubHelp logo

How to compile about xiaomi_kernel_opensource HOT 13 OPEN

micode avatar micode commented on September 17, 2024
How to compile

from xiaomi_kernel_opensource.

Comments (13)

sheikhrr avatar sheikhrr commented on September 17, 2024

my setup for succesfully compilation-- install ubuntu 14.10. install Orcal java6, all essential libraries (google it please) and linaro toolchain arm-linux-gnueabi-linaro_4.7.4-2014.06-build_2014_09_01.tar.xz and armani_user_defconfig

from xiaomi_kernel_opensource.

rahulrdhobi avatar rahulrdhobi commented on September 17, 2024

Ok have compiled successfully but after flashing new boot.img by fastboot my device it keep rebooting

from xiaomi_kernel_opensource.

rahulrdhobi avatar rahulrdhobi commented on September 17, 2024

what I have done was got boot.img from redmi 1s and used used unpack-repack tool from http://forum.xda-developers.com/redmi-1s/general/guide-unpack-repack-kernel-t2908458 , I have replaced compiled zImage with unpacked boot.img and repacked boot.img after that flashed new boot.img with fastboot but phone gets rebooting after MI logo

from xiaomi_kernel_opensource.

TheStrix avatar TheStrix commented on September 17, 2024

@rahulrdhobi, where are you getting problem? What's the size of dtb.img you getting?

from xiaomi_kernel_opensource.

rahulrdhobi avatar rahulrdhobi commented on September 17, 2024

@TheStrix : I have unpacked original boot.img where I got initrd,dt_image,kernel and ramdisk.gz size of dt_image is around 5.6 MB , what I have done was copied compiled zImage into unpacked boot.img removed kernel renamed zImage to kernel and repacked it flashed new boot.img through fastboot. is there any step which I'm missing

from xiaomi_kernel_opensource.

TheStrix avatar TheStrix commented on September 17, 2024

Compile dtb.img too from the source.. See command for compiling dtb.img from here:https://github.com/xiaolu/mkbootimg_tools <-- You can use mkbootimg tool given in this repo
And use dtbTool from here: https://github.com/LuffyXDA/BeastKernel_Armani/blob/BeastKernel/dtbTool

from xiaomi_kernel_opensource.

rahulrdhobi avatar rahulrdhobi commented on September 17, 2024

@TheStrix: Thanks for quick response will try and let you know results :) 👍

from xiaomi_kernel_opensource.

rahulrdhobi avatar rahulrdhobi commented on September 17, 2024

@TheStrix:I have compile dtb.img from source using dbtTool but same still issue do I need to flash boot.img with compiled drivers also?

from xiaomi_kernel_opensource.

rahulrdhobi avatar rahulrdhobi commented on September 17, 2024

Here are logs for kernel http://pastebin.com/qBH1hViJ and adb logcat http://pastebin.com/f2yS5ieC
my phone is in bootloop

from xiaomi_kernel_opensource.

rahulrdhobi avatar rahulrdhobi commented on September 17, 2024

someone told me that this kernel wont work with stock MIUI rom its only works with custom rom like cyanogenmod 11. Can anyone know reason?

from xiaomi_kernel_opensource.

mrafra avatar mrafra commented on September 17, 2024

Anybody luck with Dior?

from xiaomi_kernel_opensource.

mrafra avatar mrafra commented on September 17, 2024

Same isue, bootloop...

from xiaomi_kernel_opensource.

luntik2012 avatar luntik2012 commented on September 17, 2024

Provide build instructions

from xiaomi_kernel_opensource.

Related Issues (20)

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.