Chris Soyars 
							
						 
					 
					
						
						
							
						
						ea2f2428a1 
					 
					
						
						
							
							Merge branch 'eclair' of git@github.com:ctso/android_bootable_recovery into eclair  
						
						
						
						
					 
					
						2010-02-26 02:49:57 -05:00 
						 
				 
			
				
					
						
							
							
								Chris Soyars 
							
						 
					 
					
						
						
							
						
						a1749d93bc 
					 
					
						
						
							
							Added ability to wipe_data and update_package at the same time.  
						
						... 
						
						
						
						This will be needed for a future project I am working on,
OpenUpdater. 
						
						
					 
					
						2010-02-26 02:49:30 -05:00 
						 
				 
			
				
					
						
							
							
								Chris Soyars 
							
						 
					 
					
						
						
							
						
						db8dedf12f 
					 
					
						
						
							
							Fixed a bug that would never allow update_package + wipe_data to be called.  
						
						
						
						
					 
					
						2010-02-26 02:48:08 -05:00 
						 
				 
			
				
					
						
							
							
								Chris Soyars 
							
						 
					 
					
						
						
							
						
						185baeeb79 
					 
					
						
						
							
							Added ability to wipe_data and update_package at the same time.  
						
						... 
						
						
						
						This will be needed for a future project I am working on,
OpenUpdater. 
						
						
					 
					
						2010-02-26 02:45:55 -05:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						261dde9f48 
					 
					
						
						
							
							make it pretty  
						
						
						
						
					 
					
						2010-02-25 16:51:45 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						001c5b508f 
					 
					
						
						
							
							clean up tabs vs spaces  
						
						
						
						
					 
					
						2010-02-25 14:53:57 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						49f5689b42 
					 
					
						
						
							
							allow choosing of subdirectories when searching for a zip file to install  
						
						
						
						
					 
					
						2010-02-25 14:51:05 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						79ce82cab3 
					 
					
						
						
							
							successful installation should hide the android installing icon  
						
						
						
						
					 
					
						2010-02-25 12:03:17 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						33370db187 
					 
					
						
						
							
							better error codes to allow for diagnosing problems in recovery mode. fix system looking for sh in /system/bin/sh  
						
						
						
						
					 
					
						2010-02-25 11:39:07 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						01098d245c 
					 
					
						
						
							
							nandroid backup supports a directory now  
						
						
						
						
					 
					
						2010-02-25 11:07:19 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						36d02893cd 
					 
					
						
						
							
							fix build  
						
						
						
						
					 
					
						2010-02-24 22:46:28 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						ff32e8c7e5 
					 
					
						
						
							
							clean up  
						
						
						
						
					 
					
						2010-02-24 13:16:43 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						a37e9b1f19 
					 
					
						
						
							
							Patch from Magnus to fix issues with bad blocks and dumping a boot image. Need to clean up the patch a bit. Also reverted mtdutils.s to korg/eclair-release  
						
						
						
						
					 
					
						2010-02-24 13:13:34 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						5740b042b5 
					 
					
						
						
							
							change the nandroid backup directory to something recovery specific, to reo prevent possible collisions  
						
						
						
						
					 
					
						2010-02-23 22:41:36 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						69b75410de 
					 
					
						
						
							
							do not check the results of a run_program if script asserts are disabled  
						
						
						
						
					 
					
						2010-02-23 18:07:31 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						007439bef6 
					 
					
						
						
							
							never restore recovery  
						
						
						
						
					 
					
						2010-02-22 19:01:54 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						7400dc2700 
					 
					
						
						
							
							missing file  
						
						
						
						
					 
					
						2010-02-22 08:53:47 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						981b0cd1e1 
					 
					
						
						
							
							roll recovery tools into a single binary. fix up nandroid to work without deviceid requirement  
						
						
						
						
					 
					
						2010-02-22 08:53:34 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						225c6b4673 
					 
					
						
						
							
							do error checking of nandroid operations  
						
						
						
						
					 
					
						2010-02-21 22:02:24 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						1fa52ecdbf 
					 
					
						
						
							
							add mount sdcard option  
						
						
						
						
					 
					
						2010-02-21 21:29:10 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						bcdd00359c 
					 
					
						
						
							
							Functional Nandroid  
						
						
						
						
					 
					
						2010-02-21 21:10:25 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						466e67a582 
					 
					
						
						
							
							generate fstab using mkfstab.sh. implement restore of system data and cache in nandroid  
						
						
						
						
					 
					
						2010-02-21 19:29:32 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						1a7ee5384d 
					 
					
						
						
							
							add mkfstab.sh script to create an fstab on any device. clean up dump_image to use libmtdutils  
						
						
						
						
					 
					
						2010-02-21 17:52:30 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						7e5a661064 
					 
					
						
						
							
							move unyaffs into external/yaffs2  
						
						
						
						
					 
					
						2010-02-21 01:09:52 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						f9476fbfe8 
					 
					
						
						
							
							fix build break  
						
						
						
						
					 
					
						2010-02-21 01:02:30 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						c788c26397 
					 
					
						
						
							
							more fixes  
						
						
						
						
					 
					
						2010-02-20 17:25:03 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						8ce0be4956 
					 
					
						
						
							
							nearly working nandroid, built against libc  
						
						
						
						
					 
					
						2010-02-20 15:59:06 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						3ab130fa9e 
					 
					
						
						
							
							add missing files  
						
						
						
						
					 
					
						2010-02-19 16:50:36 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						bf055bb1be 
					 
					
						
						
							
							intetrate nandroid into recovery  
						
						
						
						
					 
					
						2010-02-19 16:47:53 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						a3c2f735d7 
					 
					
						
						
							
							fix up back button and menu toggling  
						
						
						
						
					 
					
						2010-02-19 14:17:22 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						841b2bf352 
					 
					
						
						
							
							Add static flash_image for recovery  
						
						
						
						
					 
					
						2010-02-15 01:45:38 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						3a976a79bf 
					 
					
						
						
							
							power button toggles menu  
						
						
						
						
					 
					
						2010-02-13 15:33:49 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						e923487ff6 
					 
					
						
						
							
							working recovery image!  
						
						
						
						
					 
					
						2010-02-12 00:43:24 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						1f14c9a1f1 
					 
					
						
						
							
							Need to call register_package_root prior to installing the package. The subsequent unregistering made me think that it was being registered at some point, but it was removed in the transition to eclair. The unregistration was dead code. It is being used now though.  
						
						
						
						
					 
					
						2010-02-11 23:08:23 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						6060e5c6df 
					 
					
						
						
							
							update.zip somewhat working now...  
						
						
						
						
					 
					
						2010-02-11 22:27:06 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						4c1eed2573 
					 
					
						
						
							
							Initial reintegration of legacy update process that used update-script  
						
						
						
						
					 
					
						2010-02-11 18:59:58 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						0d4ff2fcc6 
					 
					
						
						
							
							allow alt-l or menu to bring up the recovery menu  
						
						
						
						
					 
					
						2010-02-10 12:10:02 -08:00 
						 
				 
			
				
					
						
							
							
								Koushik K. Dutta 
							
						 
					 
					
						
						
							
						
						89d385c4d9 
					 
					
						
						
							
							allow mouse/trackball click for enter on touch only devices.  
						
						
						
						
					 
					
						2010-02-10 12:10:01 -08:00 
						 
				 
			
				
					
						
							
							
								Doug Zongker 
							
						 
					 
					
						
						
							
						
						22d79a5c5e 
					 
					
						
						
							
							make offsets in firmware update header not point to bad blocks  
						
						... 
						
						
						
						(This is being cherry-picked from master.)
hboot will apparently fail to install if the first block of the image
(the one pointed to by the offset in the block 0 header) is a bad
block.  (Hopefully it handles subsequent bad blocks.)
This change makes the MTD write code keep track of the bad blocks it
has skipped over, so that the offset in the header can be adjusted to
be the address of the first successfully written block.
http://b/2358012  - passion: failure to flash hboot (bad blocks?) 
						
						
					 
					
						2010-01-13 10:07:28 -08:00 
						 
				 
			
				
					
						
							
							
								Doug Zongker 
							
						 
					 
					
						
						
							
						
						17a47098d2 
					 
					
						
						
							
							use MEMGETBADBLOCK to look for bad blocks when reading MTD partitions  
						
						
						
						
					 
					
						2009-12-14 18:27:03 -08:00 
						 
				 
			
				
					
						
							
							
								Doug Zongker 
							
						 
					 
					
						
						
							
						
						c652e41d91 
					 
					
						
						
							
							fix cut-and-paste error in verifier  
						
						... 
						
						
						
						Oops. 
						
						
					 
					
						2009-12-08 15:30:09 -08:00 
						 
				 
			
				
					
						
							
							
								Android (Google) Code Review 
							
						 
					 
					
						
						
							
						
						54ec81fe86 
					 
					
						
						
							
							Merge change I1c8ca2e4 into eclair  
						
						... 
						
						
						
						* changes:
  replace generic recovery icons 
						
						
					 
					
						2009-10-07 20:09:16 -04:00 
						 
				 
			
				
					
						
							
							
								Doug Zongker 
							
						 
					 
					
						
						
							
						
						988500b615 
					 
					
						
						
							
							add terminator to recovery's getopt_long options array  
						
						... 
						
						
						
						http://b/2170691  - recovery argument parsing is broken 
					
						2009-10-06 14:44:54 -07:00 
						 
				 
			
				
					
						
							
							
								Doug Zongker 
							
						 
					 
					
						
						
							
						
						1c8ca2e40b 
					 
					
						
						
							
							replace generic recovery icons  
						
						
						
						
					 
					
						2009-10-02 15:42:31 -07:00 
						 
				 
			
				
					
						
							
							
								Doug Zongker 
							
						 
					 
					
						
						
							
						
						f93d8166ef 
					 
					
						
						
							
							confirm before wiping user data in recovery  
						
						... 
						
						
						
						When using the hidden menu to wipe data in recovery, confirm before
starting the wipe.  (This does not affect booting with the --wipe_data
flag, or using Alt+W on dream with the menu hidden -- those still wipe
data immediately.) 
						
						
					 
					
						2009-09-22 18:16:56 -07:00 
						 
				 
			
				
					
						
							
							
								Doug Zongker 
							
						 
					 
					
						
						
							
						
						fd8fb0c492 
					 
					
						
						
							
							reduce fraction of progress bar for verification  
						
						... 
						
						
						
						Reduce the fraction of the progress bar used for package verification
from 50% to 25%:
  - verification is faster than before due to sha1 improvements
  - in eclair we're now verifying the compressed data rather than
    decompressing it
  - incremental packages (which is what most installs use) write more
    data than is contained in the package. 
						
						
					 
					
						2009-09-20 14:10:27 -07:00 
						 
				 
			
				
					
						
							
							
								Doug Zongker 
							
						 
					 
					
						
						
							
						
						60babf8ba7 
					 
					
						
						
							
							delete files before symlinking; log error messages  
						
						... 
						
						
						
						The symlink() function should remove existing files before creating
symlinks, so scripts are idempotent.  Log messages when various system
calls fail (but don't make the whole script fail). 
						
						
					 
					
						2009-09-18 15:11:24 -07:00 
						 
				 
			
				
					
						
							
							
								Doug Zongker 
							
						 
					 
					
						
						
							
						
						196c25c777 
					 
					
						
						
							
							don't complain if recovery icon is short  
						
						... 
						
						
						
						If the a recovery icon file is so short that we can't even read the
8-byte header, put a message in the log but not on the device screen.
We intentionally have zero-length files for some icons on some devices,
if they're never shown (eg, the firmware installation icons are only
used on HTC devices). 
						
						
					 
					
						2009-09-15 08:50:04 -07:00 
						 
				 
			
				
					
						
							
							
								Doug Zongker 
							
						 
					 
					
						
						
							
						
						a3f89eabb7 
					 
					
						
						
							
							add a run_program() function to edify  
						
						... 
						
						
						
						Handy for producing debugging OTA packages (eg, running sqlite3 or
whatever in recovery). 
						
						
					 
					
						2009-09-10 14:20:53 -07:00 
						 
				 
			
				
					
						
							
							
								Doug Zongker 
							
						 
					 
					
						
						
							
						
						34c98df78a 
					 
					
						
						
							
							do not merge: cherry-pick of  c2d666bd4f from master  
						
						
						
						
					 
					
						2009-08-18 12:05:45 -07:00