Commit Graph

197 Commits

Author SHA1 Message Date
Koushik Dutta
2e85422f89 juggle around some of the ext handling tools. add setprop link
Change-Id: Ic091d682d42d14d4942e481a6099e04bb8d7ac21
2011-10-04 16:33:30 -07:00
Koushik Dutta
81a61516c9 fix text
Change-Id: I56e682be485d1bb8191f54b5df1fc2634b6d9ad5
2011-09-22 15:10:20 -07:00
Koushik Dutta
7f13e150cf more cwr5 work.
Change-Id: I72bb14ef25a9067ccde3e40ea989c7990512687a
2011-09-08 16:55:35 -07:00
Koushik Dutta
30a937a954 cwr 5
Change-Id: I70cbb4df78b0bbc9d227d19aa6d9434eba2b540d
2011-09-05 21:14:06 -07:00
Koushik Dutta
337dcdd011 ver
Change-Id: Id02cd499546b72ab0eeb545a4479e1ba977b13cf
2011-08-15 20:33:56 -07:00
Kolja Dummann
6afbcdc651 handle mounts in recovery if the have only one argument
controlled by BOARD_RECOVERY_HANDLES_MOUNT if it is not set
the recovery will behave like before.

this allows the recovery to handle commands like 'mount system'
it is needed for devices with two different filesystem in
recovery.fstab like RFS and EXT4 cause the regular recovery
behaviour will only generate a fstab for mounts of fstype2
and ignore the other fstype. This will also enable things like

run_program("/sbin/busybox", "mount", "/system");

on those system.

Change-Id: Ib10ffc7735a2edb8dd32be230ba885d5d2744f73
2011-08-13 13:19:39 +02:00
Ricardo Cerqueira
45df699a5e cwm: Clarify on-screen labeling of recoveries
Koush is the only authoritative source for clockworkmod recoveries,
so lets try to reduce confusion as to what is "officially supported"
and what isn't...

Change-Id: Icb0f93530e69829ce69f2500b6f29df350099273
2011-07-21 16:31:57 +01:00
Koushik Dutta
137c9f41c4 fix crash
Change-Id: I65be72b5cd8c0679fb328a78eb4016e2c89ec9b0
2011-07-20 01:19:44 -07:00
Koushik Dutta
94a4babac7 Google Music stores their music cache /sdcard/Android...
Can't back this up unless we start selectively excluding apps, which is gross.

Most apps only store interstitial files here, so it is not a huge deal.
Apps need to be able to work properly without an SD card. (Oops ROM Manager).

Revert "backup and restore of /sdcard/Android (see getExternalFilesDir)"

This reverts commit 50732e3c67.

Conflicts:

	Android.mk

Change-Id: I3978c5521b4f29c4d709c3bb6a8fa7e53678a79e
2011-07-13 10:34:23 -07:00
Koushik Dutta
67700e791a dedupe for cloud backups
Change-Id: If88285763d89323a0417d9cc44cd161e906d2b69
2011-07-11 12:26:45 -07:00
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
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
Koushik Dutta
11cff33332 bug fixes
Change-Id: Iadce53c6fbd4fe07d899e18c94198ec2e3a60f0d
2011-06-16 17:05:34 -07:00
Koushik Dutta
7905c80940 bug fixes
Change-Id: I1125db9cb1a12a95060f7673965fd40994a78c5b
2011-06-15 00:00:55 -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
4eff651c83 4.0.0.1
Change-Id: I0824973915621b86b41bace2abeeb5012cd1ffef
2011-06-10 09:12:52 -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
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
666053ed26 3.1.0.1
Change-Id: Ia3115a520922254565532bbbb1e9aba6c680e80b
2011-05-16 10:04:53 -07:00
Koushik Dutta
4d5109cfa8 update to 3.1.0.0
Change-Id: I86d5aa2651c297ddf03279269da0c23819a06be1
2011-05-12 13:46:19 -07:00
atinm
54815c9dc9 Use TARGET_RECOVERY_PRE_COMMAND before calling __reboot() recovery
For the Power menu,
frameworks/base/core/jni/android_os_Power.cpp#L180
already uses TARGET_RECOVERY_PRE_COMMAND if
TARGET_RECOVERY_PRE_COMMAND is defined in the
BoardConfig.mk for a device to make a system() call before
calling __reboot() for recovery. This commit adds
the same thing to the other places that we know we are
getting into recovery using __reboot().

Change-Id: Ifd0394fed1e87b63d80d95e0e2a049004518e27e
2011-05-07 15:36:56 -04:00
codeworkx
9c4c8e2c66 bml_over_mtd: Take care of bad blocks on "boot" partition for Samsung Galaxy S Phones.
The Samsung Galaxy S bootloader apparently expects the kernel to be flashed to BML-managed flash - bad erase blocks will be mapped from a reservoir area.
CWM however just skips bad blocks, the usual procedure for mtd-accessed flash.
Consequently, the bootloader sees a corrupt zImage, and will usually crash when the kernel initializes.
This of course will only happen when the "boot" partition has bad blocks.

This patch was written by "eifert" and adds a tool called "bml_over_mtd" for flashing boot images which takes care of bad blocks and maps them to a reservoir area, like BML does.

Change-Id: If570717a19b879d47d70d937a0751cd85853eacd
2011-04-25 11:16:41 -07:00
Koushik Dutta
6a97396572 3.0.2.8
Change-Id: Icce5373f73f349c07bad29763803ba919cf64dc1
2011-04-24 20:16:39 -07:00
Koushik Dutta
1f1a274ecc 3.0.2.7
Change-Id: I43e32be031bf7803ca3ef3c8e77e7955218fd798
2011-04-23 16:35:19 -07:00
Koushik Dutta
f573510b50 bml fixes
Change-Id: I442ef3c155bab36db578ca5735215aedda353c29
2011-04-22 12:12:32 -07:00
Koushik Dutta
fdd4766c1e Revert "allow precise device detection"
This reverts commit ed7d296dfa.
2011-04-17 00:49:15 -07:00
Koushik Dutta
ed7d296dfa allow precise device detection
Change-Id: Ie837500d459c95df0b1a5f849b3eba718cf8cf09
2011-04-16 13:45:53 -07:00
Koushik Dutta
ee9ab1969a 3.0.2.4
Change-Id: Ic727ec267f090bd8f9bc04f02e852184aecccc89
2011-03-23 22:51:53 -07:00
Koushik Dutta
67fa0c375f fix erroneous detection of device flash type when device is explicitly provided. fix bugs in mount generation.
Change-Id: I54a35390550b1384f12c4b12267029d77bef8fa3
2011-03-17 11:37:21 -07:00
Koushik Dutta
59d86b4cf7 fix wimax backup for emmc
Change-Id: I3da8a3d9411b52e07bebe6214f86dd12ac98bb82
2011-03-06 15:18:48 -08:00
Koushik Dutta
5ee98b20d0 for toast
Change-Id: I5dd56606ace68d77e244840941852571c05d36e0
2011-03-02 19:35:05 -08:00
Koushik Dutta
65ad19c943 version
Change-Id: I34d22f72896a15abc4f0c75267dbcb78b1d6a33c
2011-03-02 12:36:14 -08:00
jt1134
47d86a35bc option to specify usb_mass_storage device in device overlay 2011-02-27 17:07:53 -08:00
Koushik Dutta
33fd0d0a70 Fix inc /datadata wiping from RM.
Change-Id: I983bf83a7baf1494c7ff26199591bb93fab5ae74
2011-02-27 12:42:24 -08:00
Koushik Dutta
a9f0e7fdfe remove unused defines. dont try to mount boot if it is emmc or bml either.
Change-Id: I835f74785938be940111f03a6b092b926681d745
2011-02-12 10:21:11 -08:00
Koushik Dutta
d8e21c3712 Add the volume command for seeing the current recovery.fstab. Support crazy HTC chargemode.
Change-Id: I26a6e83dc5704aa03ab3aa078f24f8943cf13614
2011-01-04 10:46:55 -08:00
Koushik Dutta
9f52e5f23b fix android secure formatting
Change-Id: I617b8c453aad6d306cf8ddbc1a067c59ead56573
2011-01-02 14:11:24 -08:00
Koushik Dutta
67c381a6fa 3.0.0.4. Provide an error message if an Amend zip is provided.
Change-Id: Ia740686a138cff01de2c1475acc0abccb18d9c2d
2011-01-02 12:26:35 -08:00
Koushik Dutta
29a7891204 3.0.0.2
Change-Id: I4705196b5bf8e66e4ac409a027650be9ce491f4c
2010-12-30 23:17:28 -08:00