Commit Graph

657 Commits

Author SHA1 Message Date
Koushik Dutta
f0e81c4643 deprecate BOARD_USES_RECOVERY_CHARGEMODE
Change-Id: Iac0a457335220d905f478b6941990adb185ba426
2011-10-23 20:17:59 -07:00
Koushik Dutta
24ba583ec2 deprecate BOARD_USES_RECOVERY_CHARGEMODE
Change-Id: Ibda5585257f4380abccd97036eae3e747779a9e9
2011-10-23 20:17:49 -07:00
Koushik Dutta
6cf153cd50 Revert "zero the partiiton before writing to it."
This reverts commit 17fd32d0a2.
2011-10-23 13:28:53 -07:00
Koushik Dutta
04fae9d67e fix the disabled states in init.htc.rc....
Change-Id: I475f470bc9d638383f0fd69ba0c43fe7c7928179
2011-10-23 13:20:50 -07:00
Koushik Dutta
17fd32d0a2 zero the partiiton before writing to it.
Change-Id: I4717fd45c822a2026f907914c900cf8c60d8a48d
2011-10-22 22:34:58 -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
f908e5bdbe Merge pull request #11 from DRockstar/gingerbread
edited nandroid.c to include rfs in fs lists, required for tar restore with rfs file systems
2011-10-04 16:32:14 -07:00
Donovan Bartish
a87bb5f57b edited nandroid.c to include rfs in fs lists
Change-Id: I403331df04d6a4cf75fd898af42dec7aab5a1b59
2011-09-29 15:37:19 -05:00
Koushik Dutta
95fb821c19 shuffle some code
Change-Id: Ifb5afe8ef6de7b6de58dfc07a30c1f89b5c1eb08
2011-09-23 03:57:25 -07:00
Koushik Dutta
0917a7aedf note usage of extendedcommand;
Change-Id: Iab212b3a0cc5259630883c4783a28bcecd9e7028
2011-09-23 03:50:29 -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
bf5a60a034 add some error logging to mmcutils
Change-Id: I4c886822e7d47a0b5636bfc656039b171303d4e5
2011-08-31 23:28:21 -07:00
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