Skip to content

Instantly share code, notes, and snippets.

View drewis's full-sized avatar

Andrew Sutherland drewis

View GitHub Profile
@drewis
drewis / preonic-hi-pro-plate-mx-2x2u-rev3-export.dxf
Created May 15, 2019 00:20
preonic plate conversion from stl to dxf
0
SECTION
2
HEADER
9
$INSUNITS
70
4
9
$ACADVER
@drewis
drewis / colors.xml
Last active September 18, 2020 09:21
<?xml version="1.0" encoding="utf-8"?>
<!-- https://gist.github.com/kalehv/bae765c756e94455ed88 -->
<resources>
<color name="red_50">#ffebee</color>
<color name="red_100">#ffcdd2</color>
<color name="red_200">#ef9a9a</color>
<color name="red_300">#e57373</color>
<color name="red_400">#ef5350</color>
<color name="red_500">#f44336</color>
build,android_build
bionic,android_bionic
bootable/recovery,android_bootable_recovery
dalvik,android_dalvik
development,android_development
device/common,android_device_common
device/generic/goldfish,android_device_generic_goldfish
external/aac,android_external_aac
external/android-mock,android_external_android-mock
external/bluetooth/bluedroid,android_external_bluetooth_bluedroid
android
android_device_hp_tenderloin
android_device_htc_bravo
android_device_htc_evita
android_device_htc_express
android_device_htc_glacier
android_device_htc_inc
android_device_htc_jewel
android_device_htc_kingdom
android_device_htc_leo
__turn_mmu_on:
mov r0, r0
mcr p15, 0, r0, c1, c0, 0 @ write control reg
mrc p15, 0, r3, c0, c0, 0 @ read id reg
mov r3, r3
mov r3, r13
ldr r4, =0xF8003858 @ bank3_in (phys)
ldr r5, =0xF8003803 @ bank3_out (phys)
ldr r4, [r4]
orr r6, r4, #0x200000 @22nd bit for vibration
@drewis
drewis / gist:5017780
Created February 23, 2013 01:02
bravo defconfig patch for ubuntu
From ae76101ff7980ea96ed20544d1792607dc2bb8e1 Mon Sep 17 00:00:00 2001
From: Andrew Sutherland <[email protected]>
Date: Fri, 22 Feb 2013 18:58:48 -0600
Subject: [PATCH] config: bravo: update for ubuntu
Change-Id: I94cb8476324c103daff5006c489765db3fbbb513
---
arch/arm/configs/evervolv_bravo_defconfig | 36 ++++++++++++++++++++++---------
1 file changed, 26 insertions(+), 10 deletions(-)
@drewis
drewis / gist:5017073
Last active December 14, 2015 02:58
local_manifest.xml for ubuntu
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="vendor/asus" name="Evervolv/android_vendor_asus" remote="github" revision="jellybean"/>
<project path="vendor/lge" name="Evervolv/android_vendor_lge" remote="github" revision="jellybean" />
<project path="device/htc/qsd8k-common" name="Evervolv/android_device_htc_qsd8k-common" remote="github" revision="jellybean" />
<project path="device/htc/passion" name="Evervolv/android_device_htc_passion" remote="github" revision="jellybean" />
<project name="Evervolv/android_kernel_htc_qsd8k" path="kernel/htc/qsd8k" remote="github" revision="jellybean" />
<project path="vendor/htc" name="Evervolv/android_vendor_htc" remote="github" revision="jellybean" />
<!-- <project path="prebuilts/gcc/linux-x86/arm/arm-eabi-4.4.3" name="android_prebuilts_gcc_linux-x86_arm_arm-eabi-4.4.3" remote="github" revision="jellybean"/>-->
@drewis
drewis / gist:5010577
Created February 22, 2013 03:51
ubuntu phone nexus one dmesg
<6>[ 0.000000] Initializing cgroup subsys cpu
<5>[ 0.000000] Linux version 2.6.38.8-evervolv-perdo-jellybean (drew@master) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #1 PREEMPT Thu Feb 21 21:36:59 CST 2013
<4>[ 0.000000] CPU: ARMv7 Processor [510f00f2] revision 2 (ARMv7), cr=10c53c7d
<4>[ 0.000000] CPU: VIPT nonaliasing data cache, VIVT ASID tagged instruction cache
<4>[ 0.000000] Machine: mahimahi
<7>[ 0.000000] find the smi tag
<7>[ 0.000000] parse_tag_smi: smi size = 0
<7>[ 0.000000] find the hwid tag
<7>[ 0.000000] parse_tag_hwid: hwid = 0x0
<7>[ 0.000000] find the skuid tag
@drewis
drewis / gist:5010361
Created February 22, 2013 02:49
mako dmesg
<6>[ 0.000000] Booting Linux on physical CPU 0
<6>[ 0.000000] Initializing cgroup subsys cpu
<5>[ 0.000000] Linux version 3.4.0-evervolv-ge64003f-00880-ge82fe1e (drew@master) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #6 SMP PREEMPT Thu Feb 14 23:55:45 CST 2013
<4>[ 0.000000] CPU: ARMv7 Processor [510f06f2] revision 2 (ARMv7), cr=10c5387d
<4>[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
<4>[ 0.000000] Machine: QCT APQ8064 MAKO
<2>[ 0.000000] Truncating memory at 0xc0000000 to fit in 32-bit physical address space
<6>[ 0.000000] memory pool 3 (start fe9ff000 size 1600000) initialized
<6>[ 0.000000] Initialized persistent memory from 88700000-887fffff
<4>[ 0.000000] Memory policy: ECC disabled, Data cache writealloc
4fa5010... LegacyUSB: Add support for legacy USB implementations
5576ac0... LegacyUSB: add overlay for UMS lun and use existence of lun to enable legacy USB
b92a47e... framework: Add missing resource to public.xml
dcdb687... Port reboot option to Power Menu.
2532ce4... Allow mounting of multiple volumes via mass storage (framework part)
a7da765... framework: Add a version of Environment.getExternalStorageState which accepts a path parameter
3bdd27d... Add customized parameters for qcom camera features.
aa46963... drawable: fix ugly gradient on dark holo background
98b5ddc... Monitor device storage directly in /data/data
69c82ba... installd: Delete cache properly for devices using datadata partition