Commit Graph

216 Commits

Author SHA1 Message Date
Koushik Dutta
a465962667 use source built e2fsprogs! thanks cvpcs!
Change-Id: Id3067d4da53643ae1af0b9f15445262afda7b197
2012-01-30 22:51:36 -08:00
Koushik Dutta
18e3f62ad2 Fix up the mess around fonts and defines.
Change-Id: I3df3dae482ac6f8e9ddcbe2946dba43428bf46b1
2012-01-26 16:49:33 -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
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
Koushik Dutta
e9039792c9 5.5.04
Change-Id: Idb2f70a8a02d2f9418356f011c9392f8d9b1d1d2
2011-12-18 11:53:08 -08:00
Koushik Dutta
a64c697333 Fix up the autoinclusion rules for the recoveryimage target. 2011-11-27 14:07:29 -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
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
89ed0b7355 support backup and restore on internal sdcard
Change-Id: I6295b5bb7ada967ca223758be58d555c1a2ff462
2011-10-26 21:25:34 -07:00
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
Jeff Brown
b0462e6ae2 Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: Ib465fdb42c8621899bea15c04a427d7ab1641a8c
2011-07-11 22:11:45 -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