Skip to content

Instantly share code, notes, and snippets.

diff -urdN -x .git /extra/git/koush/android_bootable_recovery//minui/Android.mk bootable/recovery//minui/Android.mk
--- /extra/git/koush/android_bootable_recovery//minui/Android.mk 2011-07-09 23:39:10.549892000 +0100
+++ bootable/recovery//minui/Android.mk 2011-07-09 23:06:38.016647002 +0100
@@ -19,6 +19,10 @@
LOCAL_CFLAGS += -DBOARD_HAS_FLIPPED_SCREEN
endif
+ifeq ($(BOARD_USE_GR_FLIP_32), true)
+ LOCAL_CFLAGS += -DBOARD_USE_GR_FLIP_32
+endif
USE_CAMERA_STUB := false
# Fake building with froyo cam, as old libcam is not here yet
BOARD_USE_FROYO_LIBCAMERA := true
# inherit from the proprietary version
-include vendor/samsung/galaxy5/BoardConfigVendor.mk
TARGET_NO_BOOTLOADER := true
TARGET_NO_RADIOIMAGE := true
diff -urdN -x .git /extra/git/koush/android_bootable_recovery//minui/graphics.c bootable/recovery//minui/graphics.c
--- /extra/git/koush/android_bootable_recovery//minui/graphics.c 2011-07-09 23:39:10.549892000 +0100
+++ bootable/recovery//minui/graphics.c 2011-07-10 00:34:18.934872001 +0100
@@ -56,11 +56,11 @@
static int gr_vt_fd = -1;
static struct fb_var_screeninfo vi;
+static struct fb_fix_screeninfo fi;
static int get_framebuffer(GGLSurface *fb)
assert(package_extract_file("recovery.img", "/tmp/recovery.img"),
write_raw_image("/tmp/recovery.img", "recovery"),
delete("/tmp/recovery.img"));
<5>[ 0.000000] Linux version 2.6.32.9-perf (conn@virtual) (gcc version 4.5.2 (Sourcery G++ Lite 2011.03-42) ) #75 PREEMPT Sat Jul 9 21:22:01 IST 2011
<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
/*
*---------------------------------------------------------------------------*
* *
* Copyright (C) 2003-2010 Samsung Electronics *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License version 2 as *
* published by the Free Software Foundation. *
* *
*---------------------------------------------------------------------------*
*/
USE_CAMERA_STUB := false
# Fake building with froyo cam, as old libcam is not here yet
BOARD_USE_FROYO_LIBCAMERA := true
# inherit from the proprietary version
-include vendor/samsung/galaxy5/BoardConfigVendor.mk
TARGET_NO_BOOTLOADER := true
TARGET_NO_RADIOIMAGE := true
0,mibib
1,qcsbl
2,oemsbl
3,amss
4,arm11boot
5,boot
6,recovery
7,system
8,data
9,csc
# mount fstype device [device2] [fstype2] [fsoptions] [fsoptions2]
/boot bml boot
/cache ext4 /dev/block/stl14 NULL rfs NULL llw,check=no,nosuid,nodev
/data ext4 /dev/block/stl13 NULL rfs NULL llw,check=no,nosuid,nodev
/recovery bml recovery
/sdcard vfat /dev/block/mmcblk0p1 /dev/block/mmcblk0
/system ext4 /dev/block/stl12 NULL rfs NULL llw,check=no
/sd-ext ext4 /dev/block/mmcblk0p2
Starting recovery on Mon Jul 18 23:46:09 2011
framebuffer: fd 4 (240 x 320)
ClockworkMod Recovery v4.0.1.0
recovery filesystem table
=========================