Skip to content

Instantly share code, notes, and snippets.

arch/arm/mach-msm/board-msm7x27.c: In function 'msm_fb_lcdc_power_save':
arch/arm/mach-msm/board-msm7x27.c:819:26: error: 'msm_fb_lcdc_vreg' undeclared (first use in this function)
arch/arm/mach-msm/board-msm7x27.c:819:26: note: each undeclared identifier is reported only once for each function it appears in
arch/arm/mach-msm/board-msm7x27.c:819:93: error: negative width in bit-field '<anonymous>'
arch/arm/mach-msm/board-msm7x27.c: At top level:
arch/arm/mach-msm/board-msm7x27.c:1290:30: warning: 'i2c_devices' defined but not used [-Wunused-variable]
arch/arm/mach-msm/board-msm7x27.c:2244:13: warning: 'sdcc_gpio_init' defined but not used [-Wunused-function]
arch/arm/mach-msm/board-msm7x27.c:2959:13: warning: 'msm7x27_wlan_init' defined but not used [-Wunused-function]
make[1]: *** [arch/arm/mach-msm/board-msm7x27.o] Error 1
make: *** [arch/arm/mach-msm] Error 2
#!/system/bin/sh
# 99linkduplicates
# by psyke83
# list of apk/jar files present on /sd-ext
# oops - this will erroneously link data apps. We need to use a whitelist for now
#list=$(find /sd-ext -name "*.apk" -o -name "*.jar" | sed 's/\/sd-ext\///g')
# whitelist of gapps - keep updated if files are added/renamed
From incremental updater-script:
apply_patch("BML:boot:3194880:9aacb66879dd671d6b915ac55012142518a3cd99:3194880:fa71132e2bc7251f8ad38e0dd9be109b1f53b727",
"-", fa71132e2bc7251f8ad38e0dd9be109b1f53b727, 3194880,
9aacb66879dd671d6b915ac55012142518a3cd99, package_extract_file("patch/boot.img.p"));
Copied the boot.img.p to /sdcard/
conn@virtual:~/android/cm-11.0$ adb shell applypatch BML:boot:3194880:9aacb66879dd671d6b915ac55012142518a3cd99:3194880:fa71132e2bc7251f8ad38e0dd9be109b1f53b727 - fa71132e2bc7251f8ad38e0dd9be109b1f53b727 3194880 9aacb66879dd671d6b915ac55012142518a3cd99:/sdcard/boot.img.p
applying patch to BML:boot:3194880:9aacb66879dd671d6b915ac55012142518a3cd99:3194880:fa71132e2bc7251f8ad38e0dd9be109b1f53b727
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
Starting recovery on Wed Mar 26 13:37:51 2014
framebuffer: fd 4 (240 x 320)
CWM-based Recovery v6.0.4.7
Swipe up/down to change selections.
Swipe to the right for enter.
Swipe to the left for back.
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
Starting recovery on Sat Mar 29 15:25:37 2014
framebuffer: fd 4 (240 x 320)
CWM-based Recovery v6.0.4.7
Swipe up/down to change selections.
Swipe to the right for enter.
Swipe to the left for back.
@psyke83
psyke83 / cm-11-20140429-EXPERIMENTAL-gerrit6881-2-galaxy5.zip.log
Created April 29, 2014 19:35
cm-11-20140429-EXPERIMENTAL-gerrit6881-2-galaxy5.zip
--------- beginning of /dev/log/main
E/logwrapper( 89): executing /system/bin/e2fsck failed: No such file or directory
I/cm ( 107): ____ _ _ ____ _ _ ____ ____ ____ _ _ _ _ ____ ___
I/cm ( 108): | \_/ |__| |\ | | | | __ |___ |\ | |\/| | | | \
I/cm ( 109): |___ | | | | \| |__| |__] |___ | \| | | |__| |__/
I/cm ( 112): Welcome to Android 4.4.2 / CyanogenMod-11-20140429-EXPERIMENTAL-gerrit6881-2-galaxy5
--------- beginning of /dev/log/system
I/auditd ( 117): Starting up
I/audit_log( 117): Previous audit logfile not detected
I/installd( 125): installd firing up
<6>[ 0.000000] Initializing cgroup subsys cpu
<5>[ 0.000000] Linux version 2.6.35.7-androidarmv6+ (conn@studio15) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #2 PREEMPT Fri May 23 09:49:18 IST 2014
<4>[ 0.000000] CPU: ARMv6-compatible processor [4117b365] revision 5 (ARMv6TEJ), cr=00c5387f
<4>[ 0.000000] CPU: VIPT aliasing data cache, VIPT aliasing instruction cache
<4>[ 0.000000] Machine: GT-I5500 Board
<6>[ 0.000000] Partition (from atag) mibib -- Offset:0 Size:6
<6>[ 0.000000] Partition (from atag) qcsbl -- Offset:6 Size:2
<6>[ 0.000000] Partition (from atag) oemsbl -- Offset:8 Size:3
<6>[ 0.000000] Partition (from atag) amss -- Offset:b Size:64
<6>[ 0.000000] Partition (from atag) efs2 -- Offset:6f Size:61
<6>[ 0.000000] Initializing cgroup subsys cpu
<5>[ 0.000000] Linux version 2.6.35.7-androidarmv6+ (conn@studio15) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #2 PREEMPT Fri May 23 09:49:18 IST 2014
<4>[ 0.000000] CPU: ARMv6-compatible processor [4117b365] revision 5 (ARMv6TEJ), cr=00c5387f
<4>[ 0.000000] CPU: VIPT aliasing data cache, VIPT aliasing instruction cache
<4>[ 0.000000] Machine: GT-I5500 Board
<6>[ 0.000000] Partition (from atag) mibib -- Offset:0 Size:6
<6>[ 0.000000] Partition (from atag) qcsbl -- Offset:6 Size:2
<6>[ 0.000000] Partition (from atag) oemsbl -- Offset:8 Size:3
<6>[ 0.000000] Partition (from atag) amss -- Offset:b Size:64
<6>[ 0.000000] Partition (from atag) efs2 -- Offset:6f Size:61
@psyke83
psyke83 / surfaceflinger-totoro.log
Created May 29, 2014 03:03
cm11 surfaceflinger error on totoro
--------- beginning of /dev/log/main
E/logwrapper( 1305): executing /system/bin/e2fsck failed: No such file or directory
I/cm ( 1319): ____ _ _ ____ _ _ ____ ____ ____ _ _ _ _ ____ ___
I/cm ( 1320): | \_/ |__| |\ | | | | __ |___ |\ | |\/| | | | \
I/cm ( 1321): |___ | | | | \| |__| |__] |___ | \| | | |__| |__/
I/cm ( 1324): Welcome to Android 4.4.2 / CyanogenMod-11-20140528-EXPERIMENTAL-totoro
--------- beginning of /dev/log/system
I/auditd ( 1329): Starting up
I/audit_log( 1329): Previous audit logfile detected, rotating
I/installd( 1337): installd firing up
@psyke83
psyke83 / bcm21553_recovery_keys.c
Created June 17, 2014 15:12
recovery_keys_bcm21553 ics
#include <linux/input.h>
#include "recovery_ui.h"
#include "common.h"
#include "extendedcommands.h"
int device_toggle_display(volatile char* key_pressed, int key_code) {
int alt = key_pressed[KEY_LEFTALT] || key_pressed[KEY_RIGHTALT];
if (alt && key_code == KEY_L)