Skip to content

Instantly share code, notes, and snippets.

View drewis's full-sized avatar

Andrew Sutherland drewis

View GitHub Profile
@drewis
drewis / crespo
Created July 24, 2012 04:13
git diff android-4.0.4_r2..android-4.1.1_r3
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 2927c72..ac7f5db 100755
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -20,5 +20,9 @@
# Use the non-open-source parts, if they're present
-include vendor/samsung/crespo/BoardConfigVendor.mk
+# Use the open-source board-info file if none was set by the vendor
+# config.
@drewis
drewis / gist:3157914
Created July 22, 2012 01:59
android-4.1.1_r1..android-4.1.1_r3
project build/
516c242 JRO03H
eb5cbb9 JRO03G
20f8a0a JRO03F
915b915 JRO03E
a882cd9 JRO03D
project dalvik/
project development/
@drewis
drewis / 404r21-411r1.log
Created July 10, 2012 05:20
android-4.0.4_r2.1..android-4.1.1_r1
This file has been truncated, but you can view the full file.
project abi/cpp/
eb789ea Fix for issue 28721.
project bionic/
ec2ab73 Minor tweak to get memory around corrupted heap chunks dumped.
b7630f0 Use new debuggerd protocol.
e1dd3c2 bionic: import heaptracker as chk_malloc
7d2e24e bionic: introduce libc.debug.malloc.program
2481468 Print the corrupted address passed to free().
c84ff11 Print the corrupted address passed to free().
This file has been truncated, but you can view the full file.
project abi/cpp/
eb789ea Fix for issue 28721.
project bionic/
ec2ab73 Minor tweak to get memory around corrupted heap chunks dumped.
b7630f0 Use new debuggerd protocol.
e1dd3c2 bionic: import heaptracker as chk_malloc
7d2e24e bionic: introduce libc.debug.malloc.program
2481468 Print the corrupted address passed to free().
c84ff11 Print the corrupted address passed to free().
@drewis
drewis / gist:3024780
Created June 30, 2012 17:37
qsd8k bcmdhd
<4>[ 10.884735] ## wifi_probe
<4>[ 10.886840] wifi_set_power = 1
<4>[ 10.889770] mahimahi_wifi_power: 1
<4>[ 11.248992] mmc1: host does not support reading read-only switch. assuming write-enable.
<6>[ 11.251373] mmc1: new high speed SDHC card at address 0007
<6>[ 11.254089] mmcblk0: mmc1:0007 SD16G 14.9 GiB
<6>[ 11.257324] mmcblk0: p1 p2 p3
<6>[ 11.294189] batt: 99%, 4153 mV, 111 mA (9 avg), 29.0 C, 1344 mAh
<6>[ 11.301666] batt: charging OFF [FULL]
<4>[ 11.340698] wifi_set_carddetect = 1
@drewis
drewis / Generic.kl
Created June 10, 2012 22:02
Androids Generic.kl remapped for us dvorak
# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
06-10 01:15:40.169: I/ActivityManager(222): Displayed com.evervolv.toolbox/.SubSettings: +190ms
06-10 01:15:40.229: D/OpenGLRenderer(714): Flushing caches (mode 0)
06-10 01:15:41.240: I/ActivityManager(222): START {act=android.intent.action.MAIN cmp=com.evervolv.toolbox/.SubSettings (has extras)} from pid 714
06-10 01:15:41.340: D/EVToolbox(714): Array ResourceID: 2131099649
06-10 01:15:41.340: D/EVToolbox(714): Drawable count: 4
06-10 01:15:41.340: D/EVToolbox(714): Drawable ResourceID: 2130837509
06-10 01:15:41.340: D/EVToolbox(714): Drawable ResourceID: 2130837510
06-10 01:15:41.340: D/EVToolbox(714): Drawable ResourceID: 2130837508
06-10 01:15:41.340: D/EVToolbox(714): Drawable ResourceID: 2130837507
06-10 01:15:41.370: D/AndroidRuntime(714): Shutting down VM
@drewis
drewis / gist:2886557
Created June 7, 2012 04:28
android-4.0.4_r1.2..android-4.0.4_r2.1
[drew@master aosp]$ repo forall -pcv git log --oneline --no-merges android-4.0.4_r1.2..android-4.0.4_r2.1
project build/
1bbaf73 IMM76L
b0936b7 IMM76K
396c8cf IMM76J
project device/moto/stingray/
ca7247e Update for cmda radio 3.1A.65P
@drewis
drewis / gist:1946208
Created March 1, 2012 00:32
ruby pmem
diff --git a/arch/arm/configs/cayniarb_ruby_defconfig b/arch/arm/configs/cayniarb_ruby_defconfig
index b9b702c..be81290 100644
--- a/arch/arm/configs/cayniarb_ruby_defconfig
+++ b/arch/arm/configs/cayniarb_ruby_defconfig
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.35.14
-# Sun Feb 26 16:09:38 2012
+# Wed Feb 29 03:08:53 2012
diff --git a/libril/Android.mk b/libril/Android.mk
index 5c96ec9..fee6107 100644
--- a/libril/Android.mk
+++ b/libril/Android.mk
@@ -16,6 +16,9 @@ LOCAL_SHARED_LIBRARIES := \
libhardware_legacy
LOCAL_CFLAGS :=
+ifdef BOARD_USE_NEW_LIBRIL_HTC
+LOCAL_CFLAGS += -DNEW_LIBRIL_HTC