No description
Find a file
Tao Bao 8f90389966 recovery: Allow "Mount /system" for system_root_image.
When system images contain the root directory, there is no entry of
"/system" in the fstab. Change it to look for "/" instead if
ro.build.system_root_image is true. We actually mount the partition
to /system_root instead, and create a symlink to /system_root/system
for /system. This allows "adb shell" to work properly.

Bug: 22855115
Change-Id: I91864444950dc3229fda3cc133ddbadeb8817fb8
(cherry picked from commit abb8f7785e)
2015-11-16 14:28:40 -08:00
applypatch applypatch: Fix the checking in WriteToPartition(). 2015-11-16 14:28:40 -08:00
edify recovery: Switch to clang 2015-11-16 14:28:40 -08:00
etc Change init sequence to support file level encryption 2015-07-07 13:26:17 -07:00
fonts more font improvements and cleanup 2013-03-07 13:34:24 -08:00
minadbd recovery: Switch to clang 2015-11-16 14:28:40 -08:00
minui recovery: Switch to clang 2015-11-16 14:28:40 -08:00
minzip DO NOT MERGE recovery: Switch applypatch/ and updater/ to cpp. 2015-11-16 14:28:40 -08:00
mtdutils recovery: Switch to clang 2015-11-16 14:28:40 -08: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 recovery: Switch to clang 2015-11-16 14:28:40 -08:00
tools Check all lseek calls succeed. 2015-04-29 21:14:56 -07:00
uncrypt recovery: Switch to clang 2015-11-16 14:28:40 -08:00
updater updater: libapplypatch needs libbase now. 2015-11-16 14:28:40 -08:00
adb_install.cpp recovery: Switch to clang 2015-11-16 14:28:40 -08: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-11-16 14:28:40 -08: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 Split WipeData into PreWipeData and PostWipeData. 2015-06-10 14:11:08 -07:00
fuse_sdcard_provider.c Check all lseek calls succeed. 2015-04-29 21:14:56 -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 21:14:56 -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 recovery: Allow "Mount /system" for system_root_image. 2015-11-16 14:28:40 -08:00
roots.cpp recovery: Allow "Mount /system" for system_root_image. 2015-11-16 14:28:40 -08:00
roots.h recovery: Allow "Mount /system" for system_root_image. 2015-11-16 14:28:40 -08:00
screen_ui.cpp Add an alternate screen for viewing recovery logs. 2015-05-06 21:20:10 -07:00
screen_ui.h Add an alternate screen for viewing recovery logs. 2015-05-06 21:20:10 -07:00
ui.cpp Check all lseek calls succeed. 2015-04-29 21:14:56 -07: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
wear_ui.cpp recovery: Fix the bug that truncates menu entries. 2015-09-02 14:38:23 -07:00
wear_ui.h recovery: Factor out wear_ui.{cpp,h} into bootable/recovery. 2015-08-24 17:31:47 -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