Skip to content

Instantly share code, notes, and snippets.

View konstantinkeller's full-sized avatar

Konstantin Keller konstantinkeller

View GitHub Profile
cd ~/hercules/aokp_jb/
make clobber
repo sync
cd build
git fetch http://gerrit.sudoservers.com/AOKP/android_build refs/changes/74/4274/1 && git cherry-pick FETCH_HEAD
cd ..
. build/envsetup.sh && brunch hercules
cd out/target/product/hercules/
rsync -v -e ssh aokp_hercules_unofficial*.zip [email protected]:~/public_html/hercules/AOKP/
...
033[36mOptimizing033[0m DownloadProvider.apk...
033[36mOptimizing033[0m Nfc.apk...
033[36mOptimizing033[0m SuperSU.apk...
033[36mOptimizing033[0m Tag.apk...
033[32mSuperSU.apk is presigned, skipping033[0m
033[36mOptimizing033[0m VideoEditor.apk...
033[36mOptimizing033[0m PhaseBeam.apk...
033[36mOptimizing033[0m Exchange2.apk...
033[36mOptimizing033[0m PicoTts.apk...
#!/bin/bash
BUILD_DIR=/home/$USER/aokp_jb
DATE=$(date +%h-%d-%y)
export USE_CCACHE=1
export CCACHE_COMPILERCHECK=none
#exporting for use of newer ccache. Default on 2.4 is none, Default on 3.* is mtime
if [ "$1" == "" ]
then
konstantin@konstantin-virtual-machine ~/aokp_jb $ time brunch hercules
including vendor/aokp/vendorsetup.sh
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.2
TARGET_PRODUCT=aokp_hercules
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
target Jar: am (/home/KonstantinKeller/cm_mr1-staging/out/target/common/obj/JAVA_LIBRARIES/am_intermediates/javalib.jar)
target Package: VpnDialogs (/home/KonstantinKeller/cm_mr1-staging/out/target/product/mako/obj/APPS/VpnDialogs_intermediates/package.apk)
Install: /home/KonstantinKeller/cm_mr1-staging/out/target/product/mako/system/framework/settings.jar
target Jar: send_bug (/home/KonstantinKeller/cm_mr1-staging/out/target/common/obj/JAVA_LIBRARIES/send_bug_intermediates/javalib.jar)
Install: /home/KonstantinKeller/cm_mr1-staging/out/target/product/mako/system/framework/svc.jar
Install: /home/KonstantinKeller/cm_mr1-staging/out/target/product/mako/system/app/DownloadProviderUi.apk
'/home/KonstantinKeller/cm_mr1-staging/out/target/common/obj/JAVA_LIBRARIES/am_intermediates/classes.dex' as 'classes.dex'...
'/home/KonstantinKeller/cm_mr1-staging/out/target/common/obj/APPS/VpnDialogs_intermediates/classes.dex' as 'classes.dex'...
'/home/KonstantinKeller/cm_mr1-staging/out/target/common/obj/JAVA_LIBRARIES/se
ct/mako/obj/lib/libOmxVdec.so)
target Symbolic: gps.msm8960 (/home/KonstantinKeller/cm_mr1-staging/out/target/product/mako/symbols/system/lib/hw/gps.msm8960.so)
target Strip: audio.r_submix.default (/home/KonstantinKeller/cm_mr1-staging/out/target/product/mako/obj/lib/audio.r_submix.default.so)
Install: /home/KonstantinKeller/cm_mr1-staging/out/target/product/mako/system/lib/hw/hwcomposer.msm8960.so
packages/apps/Bluetooth/src/com/android/bluetooth/map/BluetoothMasAppIf.java:59: cannot find symbol
symbol : class SmsManager
location: package android.telephony
import android.telephony.SmsManager;
^
packages/apps/Bluetooth/src/com/android/bluetooth/map/BluetoothMasAppIf.java:60: cannot find symbol
KonstantinKeller@gooey:~/cm_mr1-staging$ brunch full_mako-userdebug
including vendor/cm/vendorsetup.sh
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2
TARGET_PRODUCT=full_mako
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
# Made by Konstantin Keller/konstantinkeller@xda
# Proprietary Files
PRODUCT_COPY_FILES += \
vendor/lge/mako/proprietary/bin/ATFWD-daemon:system/bin/ATFWD-daemon \
vendor/lge/mako/proprietary/bin/bridgemgrd:system/bin/bridgemgrd \
vendor/lge/mako/proprietary/bin/btnvtool:system/bin/btnvtool \
vendor/lge/mako/proprietary/bin/diag_klog:system/bin/diag_klog \
vendor/lge/mako/proprietary/bin/diag_mdlog:system/bin/diag_mdlog \
vendor/lge/mako/proprietary/bin/ds_fmc_appd:system/bin/ds_fmc_appd \
vendor/lge/mako/proprietary/bin/efsks:system/bin/efsks \
D/AndroidRuntime( 1152): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 1152): CheckJNI is OFF
E/dalvikvm( 1152): Could not stat dex cache directory '/cache/dalvik-cache': No such file or directory
I/dalvikvm( 1152): Unable to open or create cache for /system/framework/core.jar (/cache/dalvik-cache/system@[email protected]@classes.dex)
D/dalvikvm( 1152): Unable to process classpath element '/system/framework/core.jar'
D/AndroidRuntime( 4208): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 4208): CheckJNI is OFF
E/dalvikvm( 4208): Could not stat dex cache directory '/cache/dalvik-cache': No such file or directory
I/dalvikvm( 4208): Unable to open or create cache for /system/framework/core.jar (/cache/dalvik-cache/system@[email protected]@classes.dex)
D/dalvikvm( 4208): Unable to process classpath element '/system/framework/core.jar'