Skip to content

Instantly share code, notes, and snippets.

build/kati
dalvik
external/android-clat
external/aac
external/apache-http
bootable/recovery
development
bionic
external/bzip2
build conflicts - fixed
build/kati
dalvik
external/android-clat
external/aac
external/apache-http
bootable/recovery
development
bionic
external/bzip2
conflicts build
build/kati
dalvik
external/android-clat
external/aac
external/apache-http
bootable/recovery
development
bionic
external/bzip2
--!-- build
#!/bin/bash
export oldtag=android-7.1.1_r6
export newtag=LA.UM.5.5.r1-02200-8x96.0
export cmversion=14.1
# CAF
export remotebase=https://source.codeaurora.org/quic/la/platform
# AOSP
#export remotebase=https://android.googlesource.com/platform
#!/bin/bash
export tag=7.1.1_r4
rm -rf ~/merged_repos
repo forall -j16 -c '
if [[ $REPO_PROJECT == CyanogenMod/* ]]; then
git remote rm aosp 2> /dev/null
p=$(echo $REPO_PROJECT | sed 's#CyanogenMod\/android_##g' | sed 's#CyanogenMod\/##g' | sed 's#_#/#g')
# we can safely ignore device,kernel and vendor repos. along with anything *-caf
build/kati
bootable/recovery
external/apache-http
external/aac
dalvik
external/android-clat
bionic
development
build
external/bzip2
#!/bin/bash
# manually downloads gello into maven's cache so you can build
# this is not a permenant solution...
v=40
rm -rf ~/.m2/repository/org/cyanogenmod/gello
mkdir -p ~/.m2/repository/org/cyanogenmod/gello/$v
for f in gello-$v.apk gello-$v.apk.md5 gello-$v.apk.sha1; do
wget --no-check-certificate https://maven.cyanogenmod.org/artifactory/gello_prebuilds/org/cyanogenmod/gello/$v/$f -O ~/.m2/repository/org/cyanogenmod/gello/$v/$f
done
diff --git a/core/jni/fd_utils-inl.h b/core/jni/fd_utils-inl.h
index 37e01ba..12c1a95 100644
--- a/core/jni/fd_utils-inl.h
+++ b/core/jni/fd_utils-inl.h
@@ -364,6 +364,7 @@ class FileDescriptorTable {
// /proc/self/fd for the list of open file descriptors and collects
// information about them. Returns NULL if an error occurs.
static FileDescriptorTable* Create() {
+ ALOGE("FDPATH: %s", kFdPath);
DIR* d = opendir(kFdPath);
@invisiblek
invisiblek / -
Created November 28, 2016 19:39
diff --git a/core/jni/fd_utils-inl.h b/core/jni/fd_utils-inl.h
index 37e01ba..12c1a95 100644
--- a/core/jni/fd_utils-inl.h
+++ b/core/jni/fd_utils-inl.h
@@ -364,6 +364,7 @@ class FileDescriptorTable {
// /proc/self/fd for the list of open file descriptors and collects
// information about them. Returns NULL if an error occurs.
static FileDescriptorTable* Create() {
+ ALOGE("FDPATH: %s", kFdPath);
DIR* d = opendir(kFdPath);
@invisiblek
invisiblek / -
Created November 28, 2016 19:38
diff --git a/core/jni/fd_utils-inl.h b/core/jni/fd_utils-inl.h
index 37e01ba..f5f625f 100644
--- a/core/jni/fd_utils-inl.h
+++ b/core/jni/fd_utils-inl.h
@@ -364,6 +364,7 @@ class FileDescriptorTable {
// /proc/self/fd for the list of open file descriptors and collects
// information about them. Returns NULL if an error occurs.
static FileDescriptorTable* Create() {
+ ALOGE("SUPER SECRET FDPATH: %s", kFdPath);
DIR* d = opendir(kFdPath);