Skip to content

Instantly share code, notes, and snippets.

View jduck's full-sized avatar
🏠
Working from home

Joshua J. Drake jduck

🏠
Working from home
View GitHub Profile
@jduck
jduck / nexus-ota-updates-2016-05-01.md
Last active September 18, 2016 09:32
May 2016 Nexus OTA Updates - Security Level 2016-05-01
@jduck
jduck / nexus-ota-updates-2016-08-05.md
Last active August 15, 2016 01:37
August 2016 Nexus OTA Updates - Security Level 2016-08-05
@jduck
jduck / nexus-ota-updates-2016-07-01.md
Last active August 10, 2016 17:22
July 2016 Nexus OTA Updates - Security Level 2016-07-01
diff --git a/adb/commandline.cpp b/adb/commandline.cpp
index a856672..a524df6 100644
--- a/adb/commandline.cpp
+++ b/adb/commandline.cpp
@@ -605,11 +605,17 @@ static std::string ShellServiceString(bool use_shell_protocol,
args.push_back(type_arg);
}
+ const char *cmd;
+ if (command.empty())
@jduck
jduck / iovyroot-less-threads.diff
Last active July 21, 2016 21:20
Make iovyroot more efficient...
commit 9bea387245e24c62fc203e7d57a10368acad5c6d
Author: Joshua J. Drake <github.jdrake@qoop.org>
Date: Fri May 27 17:21:50 2016 -0500
Reduce SENDTHREADS
diff --git a/jni/main.c b/jni/main.c
index 62784b8..716db5c 100644
--- a/jni/main.c
+++ b/jni/main.c
@jduck
jduck / nexus-ota-updates-2016-06-01.md
Last active July 18, 2016 08:02
June 2016 Nexus OTA Updates - Security Level 2016-06-01
drwxr-xr-x 12 4620 Jun 21 13:37 u:object_r:device:s0 /dev
crw------- 1 7, 191 May 31 15:05 u:object_r:vcs_device:s0 /dev/vcsa63
crw------- 1 7, 63 May 31 15:05 u:object_r:vcs_device:s0 /dev/vcs63
-rw------- 1 0 May 31 15:04 u:object_r:device:s0 /dev/.su.d
-rw------- 1 0 Apr 1 1970 u:object_r:device:s0 /dev/.app_process_lock
drwxr-xr-x 2 80 Apr 1 1970 u:object_r:video_device:s0 /dev/video
crw-rw---- 1 81, 1 Apr 1 1970 u:object_r:camera_device:s0 /dev/video/venus_enc
crw-rw---- 1 81, 0 Apr 1 1970 u:object_r:camera_device:s0 /dev/video/venus_dec
drwxrwx--- 2 40 May 31 15:05 u:object_r:fscklogs:s0 /dev/fscklogs
drwxr-xr-x 3 0 Apr 1 1970 u:object_r:cgroup:s0 /dev/cpuctl
@jduck
jduck / nexus-ota-updates-2016-04-04.md
Last active June 5, 2016 00:46
April 2016 Nexus OTA Updates - Security Level 2016-04-02
@jduck
jduck / nexus-ota-updates-2016-03-07.md
Last active June 1, 2016 21:01
March 2016 Nexus OTA Updates - Security Level 2016-03-01
@jduck
jduck / strace-static.diff
Last active December 28, 2015 13:48
Enable static for building strace for Android
# dev:~/android/source/external/strace$ git diff
#
# to apply & build:
#
# dev:~/android/source/external/strace$ patch -p1 < strace-static.diff
# dev:~/android/source/external/strace$ cd ../..
# dev:~/android/source$ mmm external/strace
#
diff --git a/Android.mk b/Android.mk
index 5274280..4f1707e 100644