Skip to content

Surnia-development/cosp_surnia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 

Repository files navigation

COSP Pie for Surnia

Current Status

What's working?

  • Unknown.

What's not working?

  • Unknown.

Download

@ElDainosor's LineageOS builds are available here. My COSP builds will be up here.

Build Instructions

Automatic compilation

Download the script

wget -q https://raw.githubusercontent.com/FacuM/shellscripts/master/android/buildrom/examples/cosp_surnia.sh -O ~/cosp_surnia.sh

Edit the variables at the top to your liking

vi ~/cosp_surnia.sh   or   nano ~/cosp_surnia.sh

Variables to edit

Then begin the build, syncing source and just building what you need.

. ~/cosp_surnia.sh

If you want to remove the old source, you can run it like this.

. ~/cosp_surnia.sh reset

Or you can just clean the old compilation and build it all again.

. ~/cosp_surnia.sh clobber

Manual compilation

Create a build directory

mkdir -p cosp
cd cosp

Initialize your local repository using the COSP trees:

repo init -u https://github.com/cosp-project/manifest -b pie

Now move your magic wand

mkdir -p .repo/local_manifests
wget -O .repo/local_manifests/surnia.xml https://github.com/Surnia-development/cosp_surnia/raw/master/surnia.xml

Do this everytime before every sync for tracking changes.

Then to sync up:

 repo sync  --force-sync --force-broken --current-branch --no-tags --no-clone-bundle --optimized-fetch --prune -j$(nproc --all)

Do this everything after sync for applying patches.

Now start the build...

. build/envsetup.sh 
lunch cosp_surnia-userdebug
brunch surnia   or   mka bacon

Please see the LineageOS WIKI for further information.

Resources

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors