No description
Find a file
Gaelle Nassiet e853e96b40 always use volume mount option when mounting a partition
From ROS, if enable adb using the vol.up and vol.down buttons, the
/system partition is mounted by the function ensure_path_mounted() but
with hardcoded mount options.  As a consequence, the blocks are
modified and the reboot in MOS is blocked by the dm_verity feature
that detects a corruption.

This patch forces the function ensure_path_mounted() to use the mount
options from the volume structure, that were previously read from the
fstab.

Change-Id: I748d32c14cb821f4aae5bcc430089dab45375515
Signed-off-by: Gaelle Nassiet <gaellex.nassiet@intel.com>
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
2015-03-24 11:35:04 +01:00
applypatch am aeecac54: Merge "Add missing includes." 2015-01-30 21:16:36 +00:00
edify Remove an uninitialized value. 2014-12-18 22:50:08 +00:00
etc Bump up max_map_count value. 2015-01-08 16:02:46 -08:00
fonts more font improvements and cleanup 2013-03-07 13:34:24 -08:00
minadbd Remove unused libutils references. 2015-03-13 22:33:38 -07:00
minui am c9bc3cc9: Merge "Drop hardcoded LOCAL_C_INCLUDES from minui/Android.mk" 2015-02-26 17:49:13 +00:00
minzip Remove more dead code from minzip. 2015-02-27 12:58:16 +00:00
mtdutils Always use strerror to report errno in recovery. 2015-03-23 13:33:57 -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 Add missing includes. 2015-01-29 20:50:08 -08:00
uncrypt am aeecac54: Merge "Add missing includes." 2015-01-30 21:16:36 +00:00
updater Always use strerror to report errno in recovery. 2015-03-23 13:33:57 -07:00
adb_install.cpp recovery: Properly detect userdebug or eng builds 2015-02-10 14:46:14 -08:00
adb_install.h support "sideload over ADB" mode 2012-01-10 10:18:17 -08:00
Android.mk Install the recovery binary directly to the recovery image. 2015-03-10 11:58:37 -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 recovery: Properly detect userdebug or eng builds 2015-02-10 14:46:14 -08:00
default_device.cpp Add "Apply update from sdcard" to default recovery image. 2015-03-22 18:16:31 -07:00
device.h Make /cache/recovery/last_log available in recovery 2014-10-22 21:43:08 -07:00
fuse_sdcard_provider.c Add missing includes. 2015-01-29 20:50:08 -08:00
fuse_sdcard_provider.h do sdcard sideloading through the fuse filesystem 2014-07-10 10:58:35 -07:00
fuse_sideload.c Always use strerror to report errno in recovery. 2015-03-23 13:33:57 -07:00
fuse_sideload.h refactor fuse sideloading code 2014-07-10 10:55:07 -07:00
install.cpp Add missing includes. 2015-01-28 12:09:05 -08:00
install.h sideload without holding the whole package in RAM 2014-07-02 12:16:36 -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 Add "Apply update from sdcard" to default recovery image. 2015-03-22 18:16:31 -07:00
recovery.cpp Add "Apply update from sdcard" to default recovery image. 2015-03-22 18:16:31 -07:00
roots.cpp always use volume mount option when mounting a partition 2015-03-24 11:35:04 +01:00
roots.h Erase PST partition if its marked to be erased. 2014-08-06 09:58:55 -07:00
screen_ui.cpp Make the recovery menus wrap. 2015-03-23 13:45:31 -07:00
screen_ui.h restore holo UI in recovery 2014-06-06 09:01:57 -07:00
ui.cpp am 54a61179: am cfd4b286: Merge "recovery: initialize keys press tracking status" 2014-06-06 16:00:20 +00:00
ui.h disable async reboot during package installation 2014-05-23 08:52:31 -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 Add missing <string.h> include. 2015-01-24 22:21:24 -08: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
adb reboot bootloader

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