Several programs were not linked against libcrecovery which has the __system
function.
Change-Id: I12b33a9157ab74825129896d0f2177fa83638464
Signed-off-by: Evan McClain <aeroevan@gmail.com>
When using rom manager and applying a zip, if one encounters an error in recovery,
they're left on a screen with no visible controls (Forcing to hard reset phone).
Change-Id: Ia9b2f396fc95c7972a5a5580e1a50adf4af26060
This is needed for device encryption to work properly (there must
be space for a 16 KB footer at the end of the partition, which is
usually specified by the length option).
And yes, the old signature of make_ext4fs was wrong, but worked
anyway because the related header was not included and the compiler
let it pass an as implicit delcaration.
Change-Id: Ied7ec70bebc120cc2917771f59eeaeb7ea76bf8d
- readd "power off" to the main menu
- fix bug where stdout overflows into menu text
- remove +++++Go Back+++++ from main menu as there is nothing to go back to (detects menu depth)
Change-Id: Icb84ac86e55712412d07add0ab76955d7902f07c
- lets xhdpi devices (Galaxy Nexus, Xoom, etc) have a bigger font size (15x24)
- port Google's Roboto font into recovery for both XHDPI, HDPI, and MDPI font size, make them optional (LDPI is too small!)
(credits to gweedo767 for big font)
Change-Id: I621dbc7c8ac30a8f16039ce64720512e3e63881a
Revert "Hide "mount USB storage" option from mount menu when the board has a virtual sdcard"
This reverts commit e510810c71b5d4eb4d779c0db2d131d2b1b556af.
At present, invoking "adb shell" while in recovery results in:
- exec '/system/bin/sh' failed: No such file or directory (2) -
"adb shell" should invoke /sbin/sh, but cannot as /sbin and /sbin/recovery
lack other-user execute permission. Invoking "adb root" to restart adbd as
root _does_ work, however this behavior may not be intuitive to users who
encounter the above error.
The solution implemented here is to always run adbd as root in recovery, so
it has permission to run /sbin/sh. Furthemore, user shells in recovery are
not particularly useful and "su" doesn't exist, thus "adb root" is likely
to be invoked anyways.
Change-Id: Iaaa25090e85d970e9a076fef068f5fae8202ab0b
-force /data as backup_path if volume for /sdcard is null and the same is true
Change-Id: I927b723cde5b519d81402c6d841f2424627253e8
Conflicts:
nandroid.c