Commit Graph

643 Commits

Author SHA1 Message Date
Koushik Dutta
5268131918 allow explicitly provided mount locations
Change-Id: I3930b2abeb81c09c25c1750f0545c233c0d5a4a2
2011-08-31 23:26:45 -07:00
Koushik Dutta
d6bf694ff0 allow overriding mke2fs and htcbatt
Change-Id: Ibff628238c39661874e1e55bfcf6d51516b6bdd5
2011-08-31 23:25:23 -07:00
Koushik Dutta
01ba8bc552 updated mke2fs from motorola that should also work on non-neon devices.
Change-Id: If66906147da2a3d84745dc1e58a180dec0d1d156
2011-08-17 16:44:22 -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
Diogo Ferreira
5e922a4bf4 Merge "adding text output for battery stats wipe. just a confirmation that it completed successfully" into gingerbread 2011-08-04 04:23:04 +04:00
Koushik Dutta
04a211f372 Merge "htc offmode charge: update daemons and init.htc.rc. remove png files needed by old offmode charge. add htcbatt daemon" into gingerbread 2011-07-29 03:13:34 +04:00
Steve Kondik
0d651b1b70 Merge branch 'gingerbread' of git://android.git.kernel.org/platform/bootable/recovery into upstream-2.3.5 2011-07-26 13:06:34 -04:00
toastcfh
d41c2c8e89 htc offmode charge: update daemons and init.htc.rc. remove png files needed by old offmode charge. add htcbatt daemon
Change-Id: Id9a521decaa381b5d4cffca3fd51814a07f027ca
2011-07-24 11:37:47 -04:00
atinm
7e70b6be7f Deleted check for equality in flash image header and partition
header.

Skipping flash after just checking a 1K header is
incorrect in the case where something scribbles over
the partition after the header because flash_image
would not be able to rewrite the whole
partition due to this check.

Also, Samsung devices use a combined boot and
recovery image where the header is the same even if the
initramfs changes and these do not get flashed even
if the boot.img is actually different due to different
appended initramfs.

Change-Id: I53ab0a23347cdf1fa7ff58dff37e812fd84645be
2011-07-21 18:41:49 -04: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
c915937ebd herp
Change-Id: I4aace74f1d3638241939f842a4526f9724cf5dac
2011-07-20 01:26:02 -07:00
Koushik Dutta
137c9f41c4 fix crash
Change-Id: I65be72b5cd8c0679fb328a78eb4016e2c89ec9b0
2011-07-20 01:19:44 -07:00
codeworkx
55e6e7dc4f graphics.c: revert RGB8888 support
Change-Id: Id2a4c8055c2bc82120871293235cf98c7c5b50e6
2011-07-18 16:42:57 -07:00
Koushik Dutta
0bf56815b7 graphics.c
Change-Id: I5d9b5508a568b2ce47123524a5978628c013a1e8
2011-07-17 20:38:32 -07:00
codeworkx
5c69bdd735 graphics: use gr_flip_32() only if we're really on a 32bpp device.
Change-Id: I996b2dadf43477064480a47ee536e6ec395a6aad
2011-07-13 12:19:47 -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
e87f9e695e support explicitly provided device paths
Change-Id: I1ddb862f62932d2e1525d8b317613bf67a64093e
2011-07-12 18:07:45 -07:00
Koushik Dutta
eb3aa6ff32 Merge branch 'gingerbread' of git://github.com/CyanogenMod/android_bootable_recovery into gingerbread 2011-07-12 16:15:06 -07:00
Koushik Dutta
1115c8f325 use sha256 instead
Change-Id: Ie4e7bfec568c786f58367f55fee866b6aae9732b
2011-07-12 16:15:05 -07:00
codeworkx
70f25bead8 dedupe: include external/openssl/include for host build
Change-Id: I65907c5fa5736c0587567b0d6b4cfb2ce155472e
2011-07-12 14:49:39 -07:00
Koushik Dutta
32ac1666e2 size
Change-Id: I0b43832bc896864abb0a659fc3bf58793879a2e8
2011-07-12 14:03:03 -07:00
Koushik Dutta
80cd7707c0 unnecessary, but clean up the open files properly.
Change-Id: I58f571fd00f914cba1102dd89d50dc08d917b671
2011-07-11 14:41:44 -07:00
Koushik Dutta
24c802b05e fix up symlinks and lack of lchmod
Change-Id: Iccfddabe239b97a20b0b5302af4488482fffd86b
2011-07-11 14:40:17 -07:00
Koushik Dutta
7f3a8c90b0 fix copy_file fail
Change-Id: I46e31ee17255e76a3c64a9e661dc74e636a345ec
2011-07-11 14:32:02 -07:00
Koushik Dutta
e8bdefda33 build fixes and arm support.
Change-Id: I96fa6366c8bb1406d89f944f0fd1733bde565126
2011-07-11 14:13:43 -07:00
Koushik Dutta
de7025e43c wtf
Change-Id: Id473833012794723c3fae22edc1cb436efdcda85
2011-07-11 13:27:34 -07:00
Koushik Dutta
fd6a28be5d working restore
Change-Id: If5963348d2e9ac27164b1a929937a3ec3a4ecfa7
2011-07-11 13:26:14 -07:00
Koushik Dutta
4f1c5e37f4 working restore
Change-Id: Id152f5f28b3836bae5884fcf2bec67b599e991c7
2011-07-11 13:25:04 -07:00
Koushik Dutta
67700e791a dedupe for cloud backups
Change-Id: If88285763d89323a0417d9cc44cd161e906d2b69
2011-07-11 12:26:45 -07: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
Koushik Dutta
bc9dc6fc48 Merge "minui: graphics: finish updates for 32-bit framebuffer in recovery" into gingerbread 2011-07-09 22:05:10 +04:00
Koushik Dutta
a2bc7245f7 Merge "[PATCH] [recovery]: Fix recovery mode display for RGB8888 display." into gingerbread 2011-07-09 22:05:00 +04:00
Joe Hansche
1c2238b3af minui: graphics: finish updates for 32-bit framebuffer in recovery
work around slight issue on Sensation device and Shooter, by using xres_virtual instead of xres to get the 4 extra bits needed. based of original changes from toastcfh and modified to not be hard coded 32 bit and work with 16 bit as well.

Change-Id: I15850a0969050598ffc14279b8b50c6fcb4682f7
2011-07-09 12:32:05 -04: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
Koushik Dutta
e9ab999990 Merge "Add a new 'Show log' extended function. Could also be used to report last lines from log on error." into gingerbread 2011-07-07 23:59:59 +04:00
Koushik Dutta
a75c067df4 Support overriding of the bml partition used for boot and recovery. This is not ideal, because that means that there are different flash_image binaries for different samsung phones. But as far as I know, there is no way to find out which bml device is boot or recovery.
Change-Id: I5e3b83dd9267a275def003182c1bd5d2cf585896
2011-07-07 12:55:02 -07:00
Koushik Dutta
50732e3c67 backup and restore of /sdcard/Android (see getExternalFilesDir)
Change-Id: I6306464cdce4e3b48e0d109284e5606f65a84ee2
2011-07-07 12:44:05 -07:00
Subbaraman Narayanamurthy
78f44e8bdf [PATCH] [recovery]: Fix recovery mode display for RGB8888 display.
Change-Id: If9cf141d89ef3b537d1228148cb324af7dcc11db
2011-07-07 02:02:51 -04: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
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
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