-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean media fixup and update Recovery stable to 5.0.6
This newer recovery has a better compatibility with ICS archives update recoveryexit.sh : This script is made to exit from recovery to return in bootmenu New icon for the bootmenu unified recovery (small cm logo) Blue color like bootmenu, to remember its not exactly a CWM version... Bootmenu recovery follows CWM/cyanogenmod mainline but is made to be launched from the system partition (copied in ramfs before launch) It has also some enhanced functions, like Advanced Backup and Restore This project is also open source, available on github, CyanogenDefy Tested on the Defy (ext3, SD) and the Atrix (ext4, Internal SD) Change-Id: I38ef7e5b097b6d8d194b70228ce4b8e146d115a4
- Loading branch information
Showing
10 changed files
with
50 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#!/sbin/busybox ash | ||
|
||
if [ ! -x /system/bin/bootmenu ]; then | ||
mount /system | ||
fi | ||
|
||
if [ ! -f /cache/recovery/bootmode.conf ]; then | ||
mount /cache | ||
fi | ||
|
||
if [ -f /system/bin/bootmenu ]; then | ||
|
||
if [ -L /sbin/busybox ]; then | ||
rm /sbin/busybox | ||
# replace recovery symlink by full static busybox bootmenu version | ||
/system/bootmenu/binary/busybox cp /system/bootmenu/binary/busybox /sbin/busybox | ||
|
||
# keep recovery binary, for extra tools | ||
# rm /sbin/recovery | ||
fi | ||
|
||
echo bootmenu > /cache/recovery/bootmode.conf | ||
/system/bin/logwrapper /system/bin/bootmenu | ||
|
||
# only for real recovery.img service | ||
# /system/bin/toolbox stop recovery | ||
|
||
exit 0 | ||
fi | ||
|
||
# fast button warning | ||
echo 1 > /sys/class/leds/red/brightness | ||
usleep 50000 | ||
echo 0 > /sys/class/leds/red/brightness | ||
usleep 50000 | ||
echo 1 > /sys/class/leds/red/brightness | ||
usleep 50000 | ||
echo 0 > /sys/class/leds/red/brightness | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.