Commit Graph

172 Commits

Author SHA1 Message Date
1e2da51172 Merge branch 'ics' of github.com:CyanogenMod/android_bootable_recovery into ics 2012-06-07 11:58:13 +01:00
Koushik Dutta
a465962667 use source built e2fsprogs! thanks cvpcs!
Change-Id: Id3067d4da53643ae1af0b9f15445262afda7b197
2012-01-30 22:51:36 -08:00
Koushik Dutta
b20a4812ba reversed the logic
Change-Id: I62c104ee0c9218f929c10eda31f4bf5828b0de22
2012-01-26 15:29:08 -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
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
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
4e50004a0e fix yes/no issue where the index is 0 and not 7 2012-01-13 14:16:03 +00:00
d43f5a01bf merge, and fix extendedcommands.c for yes/no 2012-01-11 11:10:07 +00:00
1cb1ce343b fix yes/no 2012-01-11 11:08:31 +00: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
Chris41g
d2eecca360 Update extendedcommands.c one "No". 2011-11-21 14:37:29 -08:00
Chris41g
b0a63d857f Update extendedcommands.c one "No". 2011-11-20 15:26:53 -06:00
Koushik Dutta
0df56f4db4 wip 2011-11-16 16:00:35 -08:00
63fb0eedbd Merge branch 'gingerbread' of git://github.com/CyanogenMod/android_bootable_recovery into gingerbread 2011-11-12 01:30:08 +00: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
c971f76e45 Merge branch 'gingerbread' of git://github.com/CyanogenMod/android_bootable_recovery into gingerbread 2011-10-30 02:30:05 +00:00
Koushik Dutta
c9ea117b56 actually implement internal sdcard restore
Change-Id: I10799352768a2babb46dc9b74671fd3b1049583d
2011-10-29 18:48:18 -07:00
b4812b5b34 Merge branch 'gingerbread' of git://github.com/CyanogenMod/android_bootable_recovery into gingerbread 2011-10-29 01:30:07 +01: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
7691202e89 Merge branch 'gingerbread' of git://github.com/CyanogenMod/android_bootable_recovery into gingerbread 2011-10-28 01:30:05 +01:00
Koushik Dutta
89ed0b7355 support backup and restore on internal sdcard
Change-Id: I6295b5bb7ada967ca223758be58d555c1a2ff462
2011-10-26 21:25:34 -07:00
b1c19c1334 Merge branch 'gingerbread' of git://github.com/CyanogenMod/android_bootable_recovery into gingerbread 2011-09-23 15:00:24 +01:00
Koushik Dutta
95fb821c19 shuffle some code
Change-Id: Ifb5afe8ef6de7b6de58dfc07a30c1f89b5c1eb08
2011-09-23 03:57:25 -07:00
3681b91861 Merge branch 'gingerbread' of git://github.com/CyanogenMod/android_bootable_recovery into gingerbread 2011-09-23 01:30:31 +01:00
Koushik Dutta
81a61516c9 fix text
Change-Id: I56e682be485d1bb8191f54b5df1fc2634b6d9ad5
2011-09-22 15:10:20 -07:00
Koushik Dutta
30a937a954 cwr 5
Change-Id: I70cbb4df78b0bbc9d227d19aa6d9434eba2b540d
2011-09-05 21:14:06 -07:00
97c7df2f33 Merge branch 'gingerbread' of git://github.com/CyanogenMod/android_bootable_recovery into gingerbread 2011-08-04 01:30:08 +01:00
j_r0dd
3f2e286747 adding text output for battery stats wipe. just a confirmation that it completed successfully
Change-Id: I8c00521081b12f123c35239212f2b53dde3a7c8e
2011-07-10 22:48:39 -04:00
128f131e41 Merge branch 'gingerbread' of git://github.com/CyanogenMod/android_bootable_recovery into gingerbread 2011-07-09 01:30:06 +01:00
Tanguy Pruvot
aaad77fc80 move choose zip option first in apply zip menu, update.zip is on main menu 2011-07-08 10:11:27 -07:00
9154b8cfd2 Merge branch 'gingerbread' of git://github.com/CyanogenMod/android_bootable_recovery into gingerbread 2011-07-08 01:30:07 +01:00
Tanguy Pruvot
67d358cf4e Add a new 'Show log' extended function.
Could also be used to report last lines from log on error.

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>

Change-Id: I3d9e51f4e81e48f20120e2449ccde651efae8d07
2011-06-30 01:26:13 +02:00
eed82c0f81 Merge branch 'gingerbread' of git://github.com/CyanogenMod/android_bootable_recovery into gingerbread 2011-06-28 01:30:07 +01:00
Koushik Dutta
b986fe24b4 Revert "Reverts: http://review.cyanogenmod.com/#change,6130"
This reverts commit a42d2b1e24.
2011-06-27 11:03:04 -07:00
40fd4565d7 Merge branch 'gingerbread' of git://github.com/CyanogenMod/android_bootable_recovery into gingerbread 2011-06-27 01:30:06 +01:00
atinm
a42d2b1e24 Reverts: http://review.cyanogenmod.com/#change,6130
The system() call implemented in bionic/libc/unistd/system.c
depends on paths.h which sets _PATH_BSHELL to "/system/bin/sh"
which is incorrect for recovery - recovery cannot
depend on /system being mounted or even sane because /system
could be corrupt when recovery is used.

We need _PATH_BSHELL to be pointing to /sbin/sh - and
therefore bootable/recovery has its own __system() call
implemented in bootable/recovery/libcrecovery that sets
_PATH_BSHELL as well as makes sure environ is used in
the call to execve.

Change-Id: I2e5fd9c259e4fd0a9aad826a297fd3233a50a7c1
2011-06-25 18:41:05 -04:00
eb1ecab9bb Merge branch 'gingerbread' of git://github.com/CyanogenMod/android_bootable_recovery into gingerbread 2011-06-17 01:30:06 +01:00
Koushik Dutta
fb3bd71038 fix crash bug.
Change-Id: I1afbc75815ffc72508942b73e40f67307f330ddf
2011-06-16 14:13:02 -07:00
16cfb3c72f Merge branch 'gingerbread' of git://github.com/CyanogenMod/android_bootable_recovery into gingerbread 2011-06-15 01:30:04 +01:00
Austen Dicken
7126ef404c use new libreboot static lib for rebooting
relevant commit is here: http://review.cyanogenmod.com/#change,6128

Change-Id: Id8587cba4017c322b3a5b89c1f994ade684f424a
2011-06-14 15:53:57 -05:00
root
5583712d6f Merge branch 'gingerbread' of git://github.com/CyanogenMod/android_bootable_recovery into gingerbread 2011-06-11 01:30:05 +01:00
Koushik Dutta
38a921435a make tar backups opt in.
Change-Id: Ib01131f3a65ce4114e73abe2c7ba42263d281844
2011-06-10 09:45:52 -07:00
Koushik Dutta
94caefedb7 move the sdcard symlinker into process_volumes
Change-Id: I863fbeadea8428c7809260522316c493a6ea33ea
2011-06-10 09:17:30 -07:00
root
1f40b86175 Merge branch 'gingerbread' of git://github.com/CyanogenMod/android_bootable_recovery into gingerbread 2011-06-10 01:30:05 +01:00
j_r0dd
14d9e75577 added the efs partition to the do not format list since this holds the imei info.
Change-Id: I2644327c1dbaa63420b7eb7b1bce10377c0e0837
2011-06-09 18:37:28 -04:00
root
0e6b3f22ca Merge branch 'gingerbread' of git://github.com/CyanogenMod/android_bootable_recovery into gingerbread 2011-06-09 21:18:34 +01:00