Skip to content

SnowCore8/android_system_core

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

android_system_core

Android 系统核心 (CM) How to compile your own mk/unpackbootimg, mkbootfs binary


This is a very simple task and takes less then a minute. Simple run :

$ git clone https://github.com/CyanogenMod/android_system_core -b cm-12.0

$ cd android_system_core

$ gcc -o ~/mkbootimg libmincrypt/*.c mkbootimg/mkbootimg.c -Iinclude

$ gcc -o ~/unpackbootimg libmincrypt/*.c mkbootimg/unpackbootimg.c -Iinclude

$ gcc -o ~/mkbootfs libmincrypt/*.c cpio/mkbootfs.c -Iinclude

The binaries have now been created in your home directory, go and check them out. If you want to repeat this process run :

$ cd android_system_core

$ git pull

$ gcc -o ~/mkbootimg libmincrypt/*.c mkbootimg/mkbootimg.c -Iinclude

$ gcc -o ~/unpackbootimg libmincrypt/*.c mkbootimg/unpackbootimg.c -Iinclude

$ gcc -o ~/mkbootfs libmincrypt/*.c cpio/mkbootfs.c -Iinclude

About

Android System Core (CM)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 67.9%
  • C 26.4%
  • Makefile 2.0%
  • Assembly 1.6%
  • Python 1.4%
  • Shell 0.5%
  • Other 0.2%