Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Tim3ns/android-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

13 Commits

Repository files navigation

Downloading the Source

  1. Repo sync all code with default.xml
    repo init -u git://github.com/OnePlusOSS/android.git -b oneplus3/6.0.1
    repo sync
  2. Root your device
  3. Pull the necessary libraries from your device by executing the script pull_library.sh
  4. After pull_library.sh be executed, a directory named "vendor" should be generated. Copy this directory to root of project.

Building the System

[Set up environment]
Initialize the environment with the envsetup.sh script. git a $ . build/envsetup.sh
[Choose a Target]
Choose which target to build with lunch.
$ lunch
enter 25 for msm8996-userdebug
enter 26 for msm8996-user
[Build the code]
Build everything with make. GNU make can handle parallel tasks with a -jN argument.
$ make -j4
[Flash a Device]
Let device enter fastboot mode, run
$ adb reboot bootloader
Once the device is in fastboot mode, run
$ fastboot flash boot boot.img
$ fastboot flash system system.img
If you want flash new /data partition, run
$ fastboot flash userdata userdata.img

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%

AltStyle によって変換されたページ (->オリジナル) /