Skip to content

Instantly share code, notes, and snippets.

View playfulgod's full-sized avatar

Dewayne Jones playfulgod

View GitHub Profile
@playfulgod
playfulgod / kernelgrep
Created December 20, 2011 04:38
grep results
playfulgod@The-Monster:~/Android/Kernels/kernel-esteem/arch/arm$ grep -Ri 'recovery' *
mach-at91/include/mach/at91cap9_ddrsdr.h:#define AT91_DDRSDRC_TWR (0xf << 8) /* Write recovery delay */
mach-at91/include/mach/at91rm9200_mc.h:#define AT91_SDRAMC_TWR (0xf << 7) /* Write Recovery Delay */
mach-at91/include/mach/at91sam9_sdramc.h:#define AT91_SDRAMC_TWR (0xf << 8) /* Write Recovery Delay */
mach-bcmring/include/mach/reg_umi.h:/* Write recovery cycle (n+1) */
mach-bcmring/include/mach/reg_umi.h:/* Write recovery cycle (n+1) */
mach-bcmring/include/mach/memory_settings.h:#define HW_CFG_NAND_tWR (1 << 9) /* Write recovery cycle (n+1) 0-3 (10 ns) */
mach-bcmring/include/mach/memory_settings.h:#define HW_CFG_NOR_TWR (0 << 9) /* Write recovery cycle (n+1) (0ns) */
mach-fsm/pm.c: } else if (!strcmp(cmd, "recovery")) {
mach-fsm/devices_htc.c: else if (!
@playfulgod
playfulgod / build.prop
Created January 13, 2012 15:04 — forked from anonymous/build.prop
stock vs910 GB build.prop
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=VS910ZV4
ro.build.display.id=VS910ZV4
ro.build.version.incremental=88e871b
ro.build.version.sdk=8
ro.build.version.codename=REL
ro.build.version.release=2.2.2
ro.build.date=Tue Apr 26 19:04:20 KST 2011
ro.build.date.utc=1303812260
#
# Copyright (C) 2008 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
@playfulgod
playfulgod / esteem-CM9-logcat
Created January 17, 2012 05:26
logcat from the Esteem booting CM9
--------- beginning of /dev/log/system
W/PackageManager( 152): System package com.broadcom.bt.app.system no longer exists; wiping its data
W/PackageManager( 152): System package com.google.android.youtube no longer exists; wiping its data
W/PackageManager( 152): System package com.metago.astro no longer exists; wiping its data
W/PackageManager( 152): System package com.lge.carhome no longer exists; wiping its data
W/PackageManager( 152): System package com.google.android.gsf no longer exists; wiping its data
W/PackageManager( 152): System package com.lge.LgHiddenMenu no longer exists; wiping its data
W/PackageManager( 152): System package com.google.android.syncadapters.contacts no longer exists; wiping its data
I/PackageParser( 152): com.aurorasoftworks.quadrant.ui.standard: compat added android.permission.WRITE_EXTERNAL_STORAGE android.permission.READ_PHONE_STATE
I/PackageManager( 152): Time to scan packages: 9.96 seconds
Line 934 - 936
#ifdef LEGACY_TOUCHSCREEN
static int32_t touched, z_data;
Line 966 - 1011
#ifdef LEGACY_TOUCHSCREEN
// Old touchscreen sensors need to send a fake BTN_TOUCH (BTN_LEFT)
if (rawEvent->scanCode == ABS_MT_TOUCH_MAJOR && rawEvent->type == EV_ABS) {
# 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
Target buildinfo: out/target/product/esteem/system/build.prop
host Java: dumpkey (out/host/common/obj/JAVA_LIBRARIES/dumpkey_intermediates/classes)
Notice file: system/core/libzipfile/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib/libzipfile.a.txt
/bin/bash: -c: line 23: unexpected EOF while looking for matching `"'
/bin/bash: -c: line 25: syntax error: unexpected end of file
Notice file: external/tinyxml/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib/libtinyxml.a.txt
make: *** [out/target/product/esteem/system/build.prop] Error 1
make: *** Waiting for unfinished jobs....
@playfulgod
playfulgod / t1310.c
Created January 23, 2012 16:05 — forked from tjstyle/t1310.c
LGMS910-t1310
/*
* drivers/input/touchscreen/t1310.c - Touch driver
*
* Copyright (C) 2010 LGE, Inc.
* Author: Cho, EunYoung [ey.cho@lge.com]
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
on early-init
# Set init and its forked children's oom_adj.
write /proc/1/oom_adj -16
start ueventd
# create mountpoints
mkdir /mnt 0775 root system
on init
/* drivers/input/keyboard/synaptics_i2c_rmi.c * * Copyright (C) 2007 Google,
Inc. * * This software is licensed under the terms of the GNU General Public *
License version 2, as published by the Free Software Foundation, and * may be
copied, distributed, and modified under those terms. * * This program is
distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY;
without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the * GNU General Public License for more details. * */
#include <linux/module.h>
#include <linux/delay.h>