No description
Find a file
Gaelle Nassiet e5ce2a5a10 recovery: change the way of rebooting when using power key combo
The power key combo allow to reboot from recovery mode by pressing
power button 7 times in a row. It calls directly the function
android_reboot() and lead to permission denial errors because of SE
Linux rules enforcement.
The right way to reboot from recovery is to set the property
"sys.powerctl" and let init handle it.

Change-Id: Ic7b81e446c3ee13dfbad10cda13a6a1f93123b76
Signed-off-by: Gaelle Nassiet <gaellex.nassiet@intel.com>
2015-05-27 15:47:44 +02:00
applypatch Stop using libstdc++. 2015-05-19 11:33:18 -07:00
edify Remove an uninitialized value. 2014-12-18 22:50:08 +00:00
etc init sets the default PATH itself, better. 2015-05-12 14:35:31 -07:00
fonts more font improvements and cleanup 2013-03-07 13:34:24 -08:00
minadbd Fix build following adb change. 2015-05-08 10:50:54 -07:00
minui Check all lseek calls succeed. 2015-04-29 17:46:43 -07:00
minzip Check all lseek calls succeed. 2015-04-29 17:46:43 -07:00
mtdutils Check all lseek calls succeed. 2015-04-29 17:46:43 -07:00
res-hdpi/images restore holo UI in recovery 2014-06-06 09:01:57 -07:00
res-mdpi/images restore holo UI in recovery 2014-06-06 09:01:57 -07:00
res-xhdpi/images restore holo UI in recovery 2014-06-06 09:01:57 -07:00
res-xxhdpi/images restore holo UI in recovery 2014-06-06 09:01:57 -07:00
res-xxxhdpi/images restore holo UI in recovery 2014-06-06 09:01:57 -07:00
testdata Add support for ECDSA signatures 2013-10-10 14:19:19 -07:00
tests More test makefile cleanup. 2014-10-17 01:05:08 +00:00
tools Check all lseek calls succeed. 2015-04-29 17:46:43 -07:00
uncrypt uncrypt: Switch to C++ 2015-05-06 11:43:11 -07:00
updater Stop using libstdc++. 2015-05-19 11:33:18 -07:00
adb_install.cpp Check all lseek calls succeed. 2015-04-29 17:46:43 -07:00
adb_install.h Factor out option variables from int to bool types 2015-03-25 15:56:15 -07:00
Android.mk Stop using libstdc++. 2015-05-19 11:33:18 -07:00
asn1_decoder.cpp Add missing includes. 2015-01-28 12:09:05 -08:00
asn1_decoder.h Add support for ECDSA signatures 2013-10-10 14:19:19 -07:00
bootloader.cpp Move to using the new unified fstab in recovery. 2013-02-19 17:37:22 -08:00
bootloader.h add the functions for multi-stage packages to updater 2013-11-26 15:46:57 -08:00
CleanSpec.mk recovery: minui: add adf backend 2014-04-25 15:47:34 -07:00
common.h Rotate logs only when there are actual operations 2015-04-07 22:02:27 -07:00
default_device.cpp Auto-detect whether to use the long-press UI. 2015-04-10 15:14:35 -07:00
device.cpp Move the menu header out of the menu. 2015-04-13 15:46:15 -07:00
device.h Move the menu header out of the menu. 2015-04-13 15:46:15 -07:00
fuse_sdcard_provider.c Check all lseek calls succeed. 2015-04-29 17:46:43 -07:00
fuse_sdcard_provider.h Switch minadb over to C++. 2015-04-10 13:59:19 -07:00
fuse_sideload.c Check all lseek calls succeed. 2015-04-29 17:46:43 -07:00
fuse_sideload.h Switch minadb over to C++. 2015-04-10 13:59:19 -07:00
install.cpp Update the comments for package installer commands 2015-04-10 16:18:32 -07:00
install.h Factor out option variables from int to bool types 2015-03-25 15:56:15 -07:00
interlace-frames.py update tools for making recovery images 2014-03-11 14:29:50 -07:00
NOTICE Automated import from //branches/master/...@140824,140824 2009-03-24 18:36:42 -07:00
README.md Auto-detect whether to use the long-press UI. 2015-04-10 15:14:35 -07:00
recovery.cpp Add an alternate screen for viewing recovery logs. 2015-05-06 21:17:05 -07:00
roots.cpp Merge "always use volume mount option when mounting a partition" 2015-03-31 23:56:02 +00:00
roots.h Revert "Erase PST partition if its marked to be erased." 2015-03-31 09:48:50 -07:00
screen_ui.cpp Add an alternate screen for viewing recovery logs. 2015-05-06 21:17:05 -07:00
screen_ui.h Add an alternate screen for viewing recovery logs. 2015-05-06 21:17:05 -07:00
ui.cpp recovery: change the way of rebooting when using power key combo 2015-05-27 15:47:44 +02:00
ui.h Remove unnecessary globals. 2015-04-13 13:04:32 -07:00
verifier.cpp Add missing includes. 2015-01-28 12:09:05 -08:00
verifier.h do verification and extraction on memory, not files 2014-01-16 13:29:28 -08:00
verifier_test.cpp Move file paging into ScreenRecoveryUI. 2015-04-08 20:06:50 -07:00
verifier_test.sh Add support for ECDSA signatures 2013-10-10 14:19:19 -07:00

The Recovery Image

Quick turn-around testing

mm -j && m ramdisk-nodeps && m recoveryimage-nodeps

# To boot into the new recovery image
# without flashing the recovery partition:
adb reboot bootloader
fastboot boot $ANDROID_PRODUCT_OUT/recovery.img