Robert Burns
d87b8df56d
Remove random offset message during installation
...
Change-Id: I2281a571e37ba9fac2b99806ce9c63e591b4d39f
2012-02-13 16:18:53 -05:00
Koushik Dutta
1c50ff29e6
Fix ui menu bug for long menus.
...
Change-Id: If009dee6b7597daeec62dd65baa7ad35e1adec5d
Conflicts:
ui.c
2012-01-31 20:28:36 -08:00
Koushik Dutta
a465962667
use source built e2fsprogs! thanks cvpcs!
...
Change-Id: Id3067d4da53643ae1af0b9f15445262afda7b197
2012-01-30 22:51:36 -08:00
Koushik Dutta
e2a66586a3
fix up key value parsing
...
Change-Id: I05e821cd1215c44be780694644e568676fd67565
2012-01-29 14:03:04 -08:00
Koushik Dutta
10034aabc9
Merge "Always run adbd as root in recovery." into ics
2012-01-28 09:26:53 +03:00
Koushik Dutta
638103922f
more derpage
...
Change-Id: I878386195a408d2a98137816515f5eaaa52ccf79
2012-01-27 02:58:40 -08:00
Koushik Dutta
67e73e1559
fix build
...
Change-Id: Iac099f5a275b9633ed30d9e4a84acb99a57c4434
2012-01-27 02:46:19 -08:00
Koushik Dutta
3cdfd138fa
Various fixes to fix rendering of text. There will always be 3 lines of log shown. The menu can have long items in it now, rather than being truncated. The log text will be bottom aligned.
...
Change-Id: I09289e053c8ab673814318da55302efaab0404de
derp
Change-Id: I3fc31f5ea311c73c0ec999aa77d3fa0d01238001
2012-01-26 22:56:33 -08:00
Koushik Dutta
ccc1fdb386
derp
...
Change-Id: I5ffece3af80c0c328c61975d46f4de4cb22f2282
2012-01-26 16:49:58 -08:00
Koushik Dutta
18e3f62ad2
Fix up the mess around fonts and defines.
...
Change-Id: I3df3dae482ac6f8e9ddcbe2946dba43428bf46b1
2012-01-26 16:49:33 -08:00
Koushik Dutta
b20a4812ba
reversed the logic
...
Change-Id: I62c104ee0c9218f929c10eda31f4bf5828b0de22
2012-01-26 15:29:08 -08:00
Danesh Mondegarian
5617056cb8
Recovery : Show menu if in non user initiated mode and error occurred
...
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
2012-01-26 15:20:57 -08:00
Pawit Pornkitprasan
aa3c3d429b
Respect volume length when formatting ext4 when restoring
...
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
2012-01-26 15:16:53 -08:00
Koushik Dutta
cd3705e4ab
remove power off. not useful in the main menu.
...
Change-Id: I8923d1e878994c3516798118961b4cdaa82ddc88
2012-01-26 15:09:08 -08:00
CEnnis91
4f78176329
Misc tweaks / bug fixes
...
- 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
2012-01-26 15:08:15 -08:00
CEnnis91
de338e56b3
Big Font Mod and Roboto Fonts (XHDPI, HDPI, and MDPI)
...
- 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
2012-01-26 14:57:07 -08:00
Koushik Dutta
5a44ceb692
remove hacky board define around usb storage mounting on /data/media devices.
...
Change-Id: I2d382762271a2cfc6d83454160ed127b7457c88c
2012-01-26 14:56:56 -08:00
Koushik Dutta
4c8e2482a6
Who approves this stuff... use get_volume_for_path('/sdcard') and check for null...
...
Revert "Hide "mount USB storage" option from mount menu when the board has a virtual sdcard"
This reverts commit e510810c71
.
2012-01-26 14:47:34 -08:00
Mike Kasick
059db9bfb6
Always run adbd as root in recovery.
...
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
2012-01-26 16:05:56 -05:00
CEnnis91
e510810c71
Hide "mount USB storage" option from mount menu when the board has a virtual sdcard
...
Change-Id: I4e59768e9f34f0fb33d88ad382feaa2515d70bc4
2012-01-15 02:37:34 -05:00
Koushik Dutta
9487d2965f
add comments around /data/media
...
Change-Id: I35ad822ed602e2b1018f1e1a0d67499867b60a40
2011-12-18 13:49:52 -08:00
Koushik Dutta
d4c04cb00b
Merge branch 'ics' of git://github.com/CyanogenMod/android_bootable_recovery into ics
2011-12-18 13:40:30 -08:00
Koushik Dutta
e9039792c9
5.5.04
...
Change-Id: Idb2f70a8a02d2f9418356f011c9392f8d9b1d1d2
2011-12-18 11:53:08 -08:00
Prashant Somashekar
f0c389ddcd
nandroid/root/extendedcommands: attenuate for /data not being auto in fstab
...
Change-Id: I0e7bec03bb29f1ae72f23321f89cf704e54ff4d9
2011-12-18 02:52:30 -05:00
Prashant Somashekar
357a2f5109
extendedcommands/nandroid: remove internal options if no sdcard and is_data_media
...
-force /data as backup_path if volume for /sdcard is null and the same is true
Change-Id: I927b723cde5b519d81402c6d841f2424627253e8
Conflicts:
nandroid.c
2011-12-18 02:52:21 -05:00
Steve Kondik
db524c28b4
Merge "Fix wipe from android settings for devices with /datadata" into ics
2011-11-30 08:14:02 +03:00
Koushik Dutta
a64c697333
Fix up the autoinclusion rules for the recoveryimage target.
2011-11-27 14:07:29 -08:00
Pawit Pornkitprasan
1659814576
Fix wipe from android settings for devices with /datadata
...
Change-Id: I2d80d580bc2ccdc756f411dbe514270d5c245816
2011-11-26 22:44:29 +07:00
Koushik Dutta
a9017dabc5
remove redundant fix
2011-11-23 14:07:06 -08:00
Koushik Dutta
ddc1241a36
fix missing prebuilts in recovery. mmc bootloader message support. fix segfault happening due to C structs not being zeroed out.
2011-11-23 14:06:26 -08:00
Ricardo Cerqueira
edae7a5b0f
Merge "recovery: fix non-MTD mounting (uninitialized variables)" into ics
2011-11-22 21:45:36 +03:00
Chris41g
d2eecca360
Update extendedcommands.c one "No".
2011-11-21 14:37:29 -08:00
Koushik Dutta
d280f6e0d8
rewrite mtd_restore_raw_partition to use the new aosp code
2011-11-21 11:22:04 -08:00
Pawit Pornkitprasan
ff316eb739
recovery: fix non-MTD mounting (uninitialized variables)
...
Mounting failed due to invalid (garbage) fs_options
2011-11-19 13:31:21 +07:00
Koushik Dutta
21ad8d04dd
remove dedupe
2011-11-16 18:28:20 -08:00
Koushik Dutta
0e7d88613a
Support custom graphics.c. Set the recovery timeout to 1 hour.
2011-11-16 16:47:53 -08:00
Koushik Dutta
0df56f4db4
wip
2011-11-16 16:00:35 -08:00
Koushik Dutta
88a233d5fa
Fix up bmlutils to include fat.format automatically if rfs is found in the recovery.fstab. Use __system rather than run_exec_process.
...
Change-Id: I669bfb75cf0cc00364b815b54130c01786866406
2011-11-11 00:41:57 -08:00
Koushik Dutta
2291705c41
Merge pull request #12 from DRockstar/gingerbread
...
Add RFS format support
2011-11-11 00:27:25 -08:00
Koushik Dutta
7ef88155e0
fix advanced restore
...
Change-Id: I0805799343800912f8ea2caf9d06be4d59e9f4bf
2011-11-11 00:26:32 -08:00
Donovan Bartish
a8f265dd6f
Add RFS format support
...
Change-Id: Ifd1e5ce9875c3eaacc1cec1759b67e672894e279
2011-11-10 15:54:14 -06:00
Koushik Dutta
890b951a3d
fix flash image for explicit bml path
...
Change-Id: Ifeccfb65d6a927440249f7ab2fd9b0512ccc491c
2011-10-29 21:38:53 -07:00
Koushik Dutta
c9ea117b56
actually implement internal sdcard restore
...
Change-Id: I10799352768a2babb46dc9b74671fd3b1049583d
2011-10-29 18:48:18 -07:00
Koushik Dutta
4fcd523ded
fix driver looking for recovery, rather than checking the basename. fix badness in nandroid menu generation.
...
Change-Id: I7d7011e36583509f07534e4bc85ed8d567022d3e
2011-10-28 11:47:02 -07:00
Koushik Dutta
89ed0b7355
support backup and restore on internal sdcard
...
Change-Id: I6295b5bb7ada967ca223758be58d555c1a2ff462
2011-10-26 21:25:34 -07:00
Koushik Dutta
f0e81c4643
deprecate BOARD_USES_RECOVERY_CHARGEMODE
...
Change-Id: Iac0a457335220d905f478b6941990adb185ba426
2011-10-23 20:17:59 -07:00
Koushik Dutta
24ba583ec2
deprecate BOARD_USES_RECOVERY_CHARGEMODE
...
Change-Id: Ibda5585257f4380abccd97036eae3e747779a9e9
2011-10-23 20:17:49 -07:00
Koushik Dutta
6cf153cd50
Revert "zero the partiiton before writing to it."
...
This reverts commit 17fd32d0a2
.
2011-10-23 13:28:53 -07:00
Koushik Dutta
04fae9d67e
fix the disabled states in init.htc.rc....
...
Change-Id: I475f470bc9d638383f0fd69ba0c43fe7c7928179
2011-10-23 13:20:50 -07:00
Koushik Dutta
17fd32d0a2
zero the partiiton before writing to it.
...
Change-Id: I4717fd45c822a2026f907914c900cf8c60d8a48d
2011-10-22 22:34:58 -07:00