Skip to content

Instantly share code, notes, and snippets.

strongbad:tmp bbennett$ more META-INF/com/google/android/updater-script
assert(getprop("ro.product.device") == "encore" || getprop("ro.build.product") == "encore" || getprop("ro.product.board") == "encore");
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
run_program("/tmp/backuptool.sh", "backup");
show_progress(0.500000, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p5");
mount("ext4", "EMMC", "/dev/block/mmcblk0p5", "/system");
package_extract_dir("recovery", "/system");
package_extract_dir("system", "/system");
diff --git a/arch/arm/mach-omap2/board-encore.c b/arch/arm/mach-omap2/board-encore.c
index 66a6b48..144193c 100755
--- a/arch/arm/mach-omap2/board-encore.c
+++ b/arch/arm/mach-omap2/board-encore.c
@@ -728,7 +728,7 @@ static struct regulator_init_data boxer_vdsi = {
.consumer_supplies = &boxer_vdds_dsi_supply,
};
-static struct twl4030_hsmmc_info mmc[] = {
+static struct twl4030_hsmmc_info mmc[] __initdata = {
--- frameworks/base/core/res/res/values/config.xml 2011-02-24 10:34:59.000000000 -0700
+++ device/bn/encore/overlay/frameworks/base/core/res/res/values/config.xml 2011-02-24 10:33:11.000000000 -0700
@@ -39,7 +39,6 @@
<item><xliff:g id="id">volume</xliff:g></item>
<item><xliff:g id="id">headset</xliff:g></item>
<item><xliff:g id="id">wifi</xliff:g></item>
- <item><xliff:g id="id">wimax</xliff:g></item>
<item><xliff:g id="id">cdma_eri</xliff:g></item>
<item><xliff:g id="id">data_connection</xliff:g></item>
<item><xliff:g id="id">phone_evdo_signal</xliff:g></item>
@nemith
nemith / gist:980254
Created May 19, 2011 05:39
Fix Status bar FC
strongbad:crespo4g bbennett$ git diff HEAD~1..HEAD
diff --git a/crespo4g_overlay/frameworks/base/core/res/res/values/config.xml b/crespo4g_overlay/frameworks/base/core/res/res/value
index a4efdc0..b2b2580 100755
--- a/crespo4g_overlay/frameworks/base/core/res/res/values/config.xml
+++ b/crespo4g_overlay/frameworks/base/core/res/res/values/config.xml
@@ -23,31 +23,6 @@
interface. This name is in the ComponentName flattened format (package/class) -->
<string name="config_statusBarComponent">com.android.systemui/com.android.systemui.statusbar.StatusBarService</string>
- <!-- Do not translate. Defines the slots for the right-hand side icons. That is to say, the
diff --git a/common/lcd.c b/common/lcd.c
index 1787e37..41bdde1 100644
--- a/common/lcd.c
+++ b/common/lcd.c
@@ -102,6 +102,11 @@ extern void lcd_setcolreg (ushort regno,
extern void lcd_initcolregs (void);
#endif
+#if LCD_BPP == LCD_COLOR16
+static uchar pixel_size = 0;
Package complete: /Volumes/Android/cm7/out/target/product/encore/update-cm-7.1.0-encore-KANG-signed.zip
MD5 (update-cm-7.1.0-encore-KANG-signed.zip) = ad1a5cdbf3e2311a3006d91b96e0c7d2
real 25m3.136s
user 119m20.286s
sys 11m6.354s
diff --git a/arch/arm/mach-omap2/board-acclaim-peripherals.c b/arch/arm/mach-omap2/board-acclaim-peripherals.c
index 15523ad..9914cf4 100644
--- a/arch/arm/mach-omap2/board-acclaim-peripherals.c
+++ b/arch/arm/mach-omap2/board-acclaim-peripherals.c
@@ -205,13 +205,13 @@ static void ft5x06_platform_resume(void)
}
static struct ft5x06_platform_data ft5x06_platform_data = {
- .maxx = 600,
- .maxy = 1024,
$ git diff
diff --git a/etc/init.rc b/etc/init.rc
index 0c76fb7..552e578 100644
--- a/etc/init.rc
+++ b/etc/init.rc
@@ -26,6 +26,7 @@ on boot
domainname localdomain
class_start default
+ setprop service.adb.root 1
set interface ge-0/0/0.0 family ethernet-switching port-mode access vlan members VLAN100
set interface ge-0/0/1.0 family ethernet-switching port-mode access vlan members VLAN100
set vlan VLAN100 vlan-id 100
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 1e9e798..7fa7b34 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -58,25 +58,17 @@ BOARD_USES_UBOOT := true
# Fallback prebuilt kernel
TARGET_PREBUILT_KERNEL := device/bn/encore/prebuilt/boot/kernel
-BOARD_HAS_LARGE_FILESYSTEM := true
-BOARD_RECOVERY_IGNORE_BOOTABLES := true