Skip to content

Instantly share code, notes, and snippets.

View FacuM's full-sized avatar

Facundo Montero FacuM

View GitHub Profile
@FacuM
FacuM / jenkins_omni.sh
Last active August 3, 2017 23:40
Omni build script for Jenkins job.
#!/bin/bash
mkdir -p $WORKSPACE/bin
mkdir -p $WORKSPACE/omni
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > $WORKSPACE/bin/repo && chmod a+x $WORKSPACE/bin/repo
export CCACHE_DIR=$WORKSPACE/.ccache
export USE_CCACHE=1
export TO_OR=$(nproc --all)
export PATH=$PATH:$WORKSPACE/omni/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin
export PATH=$PATH:$WORKSPACE/omni/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin
# Resize the Java Heap size
@FacuM
FacuM / jenkins_carbon.sh
Last active August 4, 2017 22:53
[TESTING] CarbonROM build script for Jenkins job.
#!/bin/bash
mkdir -p $WORKSPACE/bin
mkdir -p $WORKSPACE/carbon
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > $WORKSPACE/bin/repo && chmod a+x $WORKSPACE/bin/repo
export CCACHE_DIR=$WORKSPACE/.ccache
export USE_CCACHE=1
export TO_OR=$(nproc --all)
#export PATH=$PATH:$WORKSPACE/omni/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin
#export PATH=$PATH:$WORKSPACE/omni/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin
# Resize the Java Heap size
@FacuM
FacuM / local_manifest.xml
Created August 6, 2017 04:07
Slim manifest for harpia.
<?xml version="1.0" encoding="UTF-8"?> <manifest>
<!-- Remote names -->
<remote name="aidonnou" fetch="https://github.com/aidonnou-surnia" />
<!-- Using a custom CM remote to avoid editing and editing of this file -->
<remote name="losgit" fetch="https://github.com/LineageOS" />
<!-- muppets remote just in case -->
<remote name="tehmuppets" fetch="https://github.com/themuppets" />
<!-- let's get mike a place -->
<remote name="mike-q" fetch="https://github.com/MikeUYSCUTI/" /> <!-- bring the
0wl -->
@FacuM
FacuM / local_manifest.xml
Last active August 8, 2017 01:07
CopperheadOS manifest for harpia.
<?xml version="1.0" encoding="UTF-8"?> <manifest>
<!-- Remote names -->
<remote name="aidonnou" fetch="https://github.com/aidonnou-surnia" />
<!-- Using a custom CM remote to avoid editing and editing of this file -->
<remote name="losgit" fetch="https://github.com/LineageOS" />
<!-- muppets remote just in case -->
<remote name="tehmuppets" fetch="https://github.com/themuppets" />
<!-- let's get mike a place -->
<remote name="mike-q" fetch="https://github.com/MikeUYSCUTI/" /> <!-- bring the
0wl -->
@FacuM
FacuM / local_manifest.xml
Created August 9, 2017 01:07
[TEST] ZephyrOS manifest. Thanks to @eldainosor for explaining me several things in build-time.
<?xml version="1.0" encoding="UTF-8"?> <manifest>
<!-- Remote names -->
<remote name="aidonnou" fetch="https://github.com/aidonnou-surnia" />
<!-- Using a custom CM remote to avoid editing and editing of this file -->
<remote name="losgit" fetch="https://github.com/LineageOS" />
<!-- muppets remote just in case -->
<remote name="tehmuppets" fetch="https://github.com/themuppets" />
<!-- let's get mike a place -->
<remote name="mike-q" fetch="https://github.com/MikeUYSCUTI/" /> <!-- bring the
0wl -->
@FacuM
FacuM / jenkins_newjob.sh
Created August 22, 2017 04:38
[TESTING] LineageOS 15.0 build script.
#!/bin/bash
mkdir -p $WORKSPACE/bin
mkdir -p $WORKSPACE/los
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > $WORKSPACE/bin/repo && chmod a+x $WORKSPACE/bin/repo
export CCACHE_DIR=$WORKSPACE/.ccache
export USE_CCACHE=1
export TO_OR=$(nproc --all)
# Resize the Java Heap size
export _JAVA_OPTIONS="-Xmx4096m"
# Resize the Jack Heap size
@FacuM
FacuM / local_manifest.xml
Last active September 15, 2017 03:12
OCT-OS manifest.
<?xml version="1.0" encoding="UTF-8"?> <manifest>
<!-- Using a custom CM remote to avoid editing and editing of this file -->
<remote name="losgit" fetch="https://github.com/LineageOS" />
<!-- Using a custom CM remote to avoid editing and editing of this file -->
<remote name="FacuM" fetch="https://github.com/FacuM" />
<remote name="Slim" fetch="https://github.com/SlimRoms" />
<!-- muppets remote just in case -->
<remote name="tehmuppets" fetch="https://github.com/themuppets" />
<!-- let's get mike a place -->
<remote name="mike-q" fetch="https://github.com/MikeUYSCUTI/" /> <!-- bring the
@FacuM
FacuM / jenkins_octos.sh
Last active September 15, 2017 04:19
OctOS Jenkins job script.
#!/bin/bash
mkdir -p $WORKSPACE/bin
mkdir -p $WORKSPACE/octos
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > $WORKSPACE/bin/repo && chmod a+x $WORKSPACE/bin/repo
export CCACHE_DIR=$WORKSPACE/.ccache
export USE_CCACHE=1
export TO_OR=$(nproc --all)
# Resize the Java Heap size
export _JAVA_OPTIONS="-Xmx4096m"
# Resize the Jack Heap size
@FacuM
FacuM / local_manifest.xml
Created August 25, 2017 02:21
[TESTING] AIM manifest.
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- Device tree -->
<project name="FacuM/android_device_motorola_harpia" path="device/motorola/harpia" revision="aim-N" remote="github" />
<!-- Required extra chipset tree -->
<project name="FacuM/android_device_motorola_msm8916-common" path="device/motorola/msm8916-common" revision="aim-N" remote="github" />
<!-- Kernel -->
<project name="LineageOS/android_kernel_motorola_msm8916" path="kernel/motorola/msm8916" remote="github" />
<!-- Source dependencies -->
<project name="LineageOS/android_external_bson" path="external/bson" remote="github" />
@FacuM
FacuM / local_manifest.xml
Last active September 1, 2017 02:34
[TESTING] AOSP 8.0 (Oreo) experimental manifest.
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- Remotes -->
<remote name="github" fetch="https://github.com" />
<!-- Device tree -->
<project name="FacuM/android_device_motorola_harpia" path="device/motorola/harpia" revision="aosp-8.0" remote="github" />
<!-- Required extra chipset tree -->
<project name="FacuM/android_device_motorola_msm8916-common" path="device/motorola/msm8916-common" revision="aosp-8.0" remote="github" />
<!-- Kernel -->
<project name="FacuM/android_kernel_motorola_msm8916" path="kernel/motorola/msm8916" revision="aosp-8.0" remote="github" />