Commit Graph

602 Commits

Author SHA1 Message Date
Koushik Dutta
50732e3c67 backup and restore of /sdcard/Android (see getExternalFilesDir)
Change-Id: I6306464cdce4e3b48e0d109284e5606f65a84ee2
2011-07-07 12:44:05 -07:00
Ricardo Cerqueira
0b06fc0696 recovery: Ignore wipe command from bootloaders that always send it
Change-Id: Ia93e1aae4d07ff609a252ae60850c739b02f2969
2011-07-07 01:09:52 +01:00
Koushik Dutta
b4261d9ddd hopefully fix the logic. also address that the tune2fs and mke2fs binaries provided by codeaurora is arm v7, and thus can not be included for all devices.
Change-Id: I9ca996c904579fdb5df9a5453d2f1b9448f505db
2011-06-27 17:54:16 -07:00
Koushik Dutta
47591ce0d0 Revert "use BOARD_HAS_SMALL_RECOVERY instead of BOARD_HAS_LARGE_FILESYSTEM"
This reverts commit 5ab3281dbe.
2011-06-27 17:52:25 -07:00
Koushik Dutta
31c3ccf531 Revert "reversed logic"
This reverts commit 7305f7d956.
2011-06-27 17:52:15 -07:00
Koushik Dutta
6c88ec2e8b Revert "reversed logic"
This reverts commit 9e08693670.
2011-06-27 17:52:07 -07:00
Koushik Dutta
9e08693670 reversed logic
Change-Id: Ie29418d7e3d82345f82888ade3eabdf6af5865f6
2011-06-27 11:30:31 -07:00
Koushik Dutta
7305f7d956 reversed logic
Change-Id: I8fb671556b6fdfac9b34d48106cb3365c80bbe5a
2011-06-27 11:29:55 -07:00
Koushik Dutta
5ab3281dbe use BOARD_HAS_SMALL_RECOVERY instead of BOARD_HAS_LARGE_FILESYSTEM
Change-Id: I7fe8bf226bdcf6429df62ae7fee82b5dabe6725b
2011-06-27 11:06:10 -07:00
Koushik Dutta
b986fe24b4 Revert "Reverts: http://review.cyanogenmod.com/#change,6130"
This reverts commit a42d2b1e24.
2011-06-27 11:03:04 -07:00
Koushik Dutta
aee5f85b29 fix up libreboot dependency to librebootrecovery
Change-Id: If39697943554538c938edaa478976eed9feb82d7
2011-06-27 11:02:44 -07: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
atinm
9759ede732 Use the callback function in the call to mkyaffs2image() in _wrapper
Change-Id: Iee385a602e33a44dfa0deee8af49133f16f09d2c
2011-06-25 18:40:18 -04:00
Koushik Dutta
11cff33332 bug fixes
Change-Id: Iadce53c6fbd4fe07d899e18c94198ec2e3a60f0d
2011-06-16 17:05:34 -07:00
Koushik Dutta
fb3bd71038 fix crash bug.
Change-Id: I1afbc75815ffc72508942b73e40f67307f330ddf
2011-06-16 14:13:02 -07:00
Koushik Dutta
7905c80940 bug fixes
Change-Id: I1125db9cb1a12a95060f7673965fd40994a78c5b
2011-06-15 00:00:55 -07:00
Koushik Dutta
fcb87af735 fix build
Change-Id: I3701f71ed9ecf5b6879e12ab6f618d5b678ef2f3
2011-06-14 23:44:39 -07:00
Koushik Dutta
55e5e7b59a cleanups for tar and /data/media support
Change-Id: I4afe3a8d4484f91b1e689d7b3aa4f137acd66e93
2011-06-14 23:39:59 -07: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
Koushik Dutta
2457adcdf7 Do not duplicate reboot.c
Change-Id: I2ed41ffd14372bec9e18865cf299e15abc67d689
2011-06-14 10:57:01 -07:00
Koushik Dutta
0e961cd47a Fix up tune2fs republish bug
Change-Id: I43d77d52e73071777ee06bad360fe33f1cb747a0
2011-06-13 19:51:00 -07:00
Koushik Dutta
4fbfc4610e 4.0.0.2
Change-Id: I6db9589e90f78e83201ebda90701b364223274d1
2011-06-10 10:52:31 -07: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
Koushik Dutta
2e0964bed1 Merge branch 'gingerbread' of git://github.com/CyanogenMod/android_bootable_recovery into gingerbread 2011-06-10 09:13:00 -07:00
Koushik Dutta
4eff651c83 4.0.0.1
Change-Id: I0824973915621b86b41bace2abeeb5012cd1ffef
2011-06-10 09:12:52 -07: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
Koushik Dutta
4d8c033203 also fix up the /sdcard symlink on startup
Change-Id: Ie7647b3fbb2543761d59b8c33ceeea36e3221c32
2011-06-09 14:19:04 -07:00
Koushik Dutta
967e15c44d 4.0.0.0
Change-Id: Ie7cf932287d5c7a2fed6cb7341a5b86d5baec2d8
2011-06-09 11:04:32 -07:00
Koushik Dutta
5082299146 tar nandroid and /data/media support.
Change-Id: I9405e701887fc83c422c63c1dbf5ff087fff880d
2011-06-08 19:03:27 -07:00
Koushik Dutta
c56768cfb1 3.2.0.1
Change-Id: Ic043cdf147a6bb9f07ff0b1616d9f8fe8d9546dd
2011-06-05 16:28:25 -07:00
Brandon Bennett
cdcb773cea Rename format_ignore_partitions to a forbid_format
There is a max length for system property names at 32 characters. The
old recovery property name was over this length.

Renamed the property to one much shorter so it is read properly.

Change-Id: Iecadd1218a64cab0c4fb94c5e910b920217580f1
2011-06-05 16:40:00 -06:00
Koushik Dutta
b3aac3c367 Merge "Fix 6 extentedcommands declaration warnings" into gingerbread 2011-06-03 06:44:41 +04:00
Koushik Dutta
01143a5630 remove logging, fix bug
Change-Id: Ie300222a3754a1ed7de5851a2298526a416da5d3
2011-05-30 15:22:04 -07:00
Koushik Dutta
b2d30187d6 remove logging, fix bug
Change-Id: Ia7d0f5e7cdf64235bb2142d9143fff3f289ad605
2011-05-30 15:21:44 -07:00
Tanguy Pruvot
88efbfb82b Fix 6 extentedcommands declaration warnings
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2011-05-30 13:27:05 +02:00
Koushik Dutta
195e06be59 allow flashing only bml8 if explicitly specified.
Change-Id: Ie0d282105413b3a448436c9ee69206718e924754
2011-05-29 19:33:42 -07:00
Koushik Dutta
cf5195aa79 fix boot image not flashing properly, prevent the error in the future.
Change-Id: I6163e5a519ef28e9e9ea12d5a46d525d1d9d8fb2
2011-05-29 18:45:42 -07:00
Koushik Dutta
30712302e0 more logging
Change-Id: I2f5f37751f16c8b50f5c3ccf1eb56b9b52f44c6b
2011-05-26 17:49:56 -07:00
Koushik Dutta
4187347329 fix formatting
Change-Id: Ic6162e5044b50544fab2d5aa83e1e22f373419d7
2011-05-26 17:30:43 -07:00
Koushik Dutta
7adeadce47 fix up some implicit declarations
Change-Id: Ia98bb5bea04a9cb87bf1993687e7f91f46022509
2011-05-26 11:47:56 -07:00
Koushik Dutta
e62132bb6d more fixes
Change-Id: Ic55d94ef69b6b8ea4ec2a6df708a9444e9d5f4e5
2011-05-26 11:29:29 -07:00
Koushik Dutta
8a6bc77423 test
Change-Id: I25bd6846aea09247459c89ba98e6ac34c3debaa3
2011-05-26 11:14:15 -07:00
Koushik Dutta
d79b7541f3 whoops
Change-Id: Ided86fe1991e5d9d6a707465429ec35ccc09743a
2011-05-25 10:47:41 -07:00
Koushik Dutta
0b4eac9e01 also set UPDATE_PACKAGE in updater for old recoveries
Change-Id: I90e3feb0c1655279d58751ce800f299d9b4f3d03
2011-05-16 13:32:01 -07:00
Koushik Dutta
666053ed26 3.1.0.1
Change-Id: Ia3115a520922254565532bbbb1e9aba6c680e80b
2011-05-16 10:04:53 -07:00
Koushik Dutta
63605f1d45 Merge branch 'gingerbread' of git://github.com/CyanogenMod/android_bootable_recovery into gingerbread 2011-05-15 18:49:22 -07:00
Koushik Dutta
20b516a408 set the env for UPDATE_PACKAGE (the source zip) for update-binary. This allows shell scripts to use the source zip.
Change-Id: Ia8118b31408f687780dd45e14f540a7e76619cba
2011-05-15 18:48:17 -07:00
Koushik Dutta
49553c7561 Do not close the zip archive prematurely. It may be accessed later for a firmware update.
Change-Id: I31c298f75bbcdc7998221aa2b3aa334926343139
2011-05-13 13:01:26 -07:00
Brandon Bennett
9ad8ba21b3 Allow per device unsafe-to-format partition list
The change switches is_safe_to_format() from a hard coded list
to a list that can be overwritten by system property.

Change-Id: Ie536044a912c3e88462831851d288a60fdc30e2b
2011-05-12 17:11:31 -06:00