Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Aug 17, 2010
1 parent 43a647d commit fb7d99d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions AndroidBoard.mk
Expand Up @@ -8,3 +8,8 @@ file := $(INSTALLED_KERNEL_TARGET)
ALL_PREBUILT += $(file)
$(file): $(TARGET_PREBUILT_KERNEL) | $(ACP)
$(transform-prebuilt-to-target)

file := $(TARGET_RECOVERY_ROOT_OUT)/sbin/postrecoveryboot.sh
ALL_PREBUILT += $(file)
$(file) : $(LOCAL_PATH)/postrecoveryboot.sh | $(ACP)
$(transform-prebuilt-to-target)
2 changes: 2 additions & 0 deletions BoardConfig.mk
Expand Up @@ -28,3 +28,5 @@ BOARD_SYSTEM_DEVICE := /dev/block/mmcblk1p21
BOARD_SYSTEM_FILESYSTEM := auto
BOARD_CACHE_DEVICE := /dev/block/cache
BOARD_CACHE_FILESYSTEM := auto

BOARD_HIJACK_RECOVERY_PATH := /preinstall/recovery
4 changes: 4 additions & 0 deletions postrecoveryboot.sh
@@ -1 +1,5 @@
#!/sbin/sh

# Restart with root hacked adbd
busybox kill $(busybox ps | busybox grep adbd)
/sbin/adbd &

0 comments on commit fb7d99d

Please sign in to comment.