Commit Graph

815 Commits

Author SHA1 Message Date
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
Ricardo Cerqueira
edae7a5b0f Merge "recovery: fix non-MTD mounting (uninitialized variables)" into ics 2011-11-22 21:45:36 +03:00
Chris41g
d2eecca360 Update extendedcommands.c one "No". 2011-11-21 14:37:29 -08:00
Koushik Dutta
d280f6e0d8 rewrite mtd_restore_raw_partition to use the new aosp code 2011-11-21 11:22:04 -08:00
Pawit Pornkitprasan
ff316eb739 recovery: fix non-MTD mounting (uninitialized variables)
Mounting failed due to invalid (garbage) fs_options
2011-11-19 13:31:21 +07: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
88a233d5fa Fix up bmlutils to include fat.format automatically if rfs is found in the recovery.fstab. Use __system rather than run_exec_process.
Change-Id: I669bfb75cf0cc00364b815b54130c01786866406
2011-11-11 00:41:57 -08:00
Koushik Dutta
2291705c41 Merge pull request #12 from DRockstar/gingerbread
Add RFS format support
2011-11-11 00:27:25 -08:00
Koushik Dutta
7ef88155e0 fix advanced restore
Change-Id: I0805799343800912f8ea2caf9d06be4d59e9f4bf
2011-11-11 00:26:32 -08:00
Donovan Bartish
a8f265dd6f Add RFS format support
Change-Id: Ifd1e5ce9875c3eaacc1cec1759b67e672894e279
2011-11-10 15:54:14 -06:00
Koushik Dutta
890b951a3d fix flash image for explicit bml path
Change-Id: Ifeccfb65d6a927440249f7ab2fd9b0512ccc491c
2011-10-29 21:38:53 -07:00
Koushik Dutta
c9ea117b56 actually implement internal sdcard restore
Change-Id: I10799352768a2babb46dc9b74671fd3b1049583d
2011-10-29 18:48:18 -07:00
Koushik Dutta
4fcd523ded fix driver looking for recovery, rather than checking the basename. fix badness in nandroid menu generation.
Change-Id: I7d7011e36583509f07534e4bc85ed8d567022d3e
2011-10-28 11:47:02 -07:00
Koushik Dutta
89ed0b7355 support backup and restore on internal sdcard
Change-Id: I6295b5bb7ada967ca223758be58d555c1a2ff462
2011-10-26 21:25:34 -07:00
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
Dima Zavin
441031dadc minui: add ability to synchronize current key state
If a key is down prior to the time of initialization, we would not get the
down event for the key, and thus think that the key is not pressed.

Add an interface that allows one to provide a callback to execute
on all keys that are currently down.

Change-Id: I2a4096c0cb4c7c7a9a80d207835f168a0b418413
Signed-off-by: Dima Zavin <dima@android.com>
2011-10-12 15:53:32 -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
Doug Zongker
f6abd409bb fix problem where the screen is sometimes all black in recovery
Change-Id: Ifa0b59e43eaf0bea9435aa4d96c5b0fc4f10fbfe
2011-09-27 13:09:48 -07: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
Doug Zongker
fdfb636336 update recovery with new 3D images
Change-Id: I6d52fd1db27fdf1b61f41f598a2209b70385b106
2011-09-20 14:16:46 -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
Dima Zavin
88e0899617 minui: events: only open input devices with EV_KEY and/or EV_REL
Change-Id: I8283d7aaa0f66d488f462cd108350cc49657a745
Signed-off-by: Dima Zavin <dima@android.com>
2011-09-02 14:55:20 -07:00
Dima Zavin
365836736c minui: events: add ability to poll on non-input fds
Change-Id: Iad52a6f2adcae0068d252d6163586f9d7b93121d
Signed-off-by: Dima Zavin <dima@android.com>
2011-09-02 14:55:20 -07:00
Dima Zavin
bc29063bf4 minui: events: refactor event acquisition
Events are now delivered through a callback mechanism during
a call to ev_dispatch(). This will allow us to extend the events
code to handle other devices/fds, not just input. One such example
is the ability to process uevents.

During initialization, we provide an input callback to ev_init
that gets called when a new event is encountered during dispatch.

ev_get has been removed and replaced with ev_get_input() helper
function that can be called from inside the callback to attempt
to get an input event.

The existing client of ev_get in recovery has been split up such
that the input thread just calls ev_wait(); ev_dispatch(); and
the input_callback handles individual events by using the
ev_get_input() helper.

Change-Id: I24d8e71bd1533876b4ab1ae751ba200fea43c049
Signed-off-by: Dima Zavin <dima@android.com>
2011-09-02 14:55:20 -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
Dima Zavin
4daf48a10b minui: graphics: add interface for framebuffer blank/unblank
Change-Id: I5c3ee61cbf6fadae50f10b9f2e73caceaa5048a7
Signed-off-by: Dima Zavin <dima@android.com>
2011-08-30 11:59:20 -07:00
Dima Zavin
3c7f00ede6 minui: graphics: add ability to query font size
Change-Id: I5e8f477b7b205794f2975f12e6b6010c177f6052
Signed-off-by: Dima Zavin <dima@android.com>
2011-08-30 11:58:24 -07:00
Doug Zongker
c2ddaea83a change recovery images to match blue holo theme
Change-Id: I912d3ab32973c5c5e7b6b1749698f8a71d884fa3
2011-08-19 16:56:31 -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