Commit graph

5587 commits

Author SHA1 Message Date
Doug Zongker
1c10ff34b5 am 683c462: align data passed to write() on 32k boundaries
Merge commit '683c4628039a8cb6dad1a086fae23a7d71438414'

* commit '683c4628039a8cb6dad1a086fae23a7d71438414':
  align data passed to write() on 32k boundaries
2009-05-06 11:31:43 -07:00
Doug Zongker
683c462803 align data passed to write() on 32k boundaries
In donut, OTA installation often encounters the write() system call
doing short writes -- which is legal but unexpected -- or failing with
ENOSPC when plenty of space is available.  Passing aligned memory
buffers to write() appears to prevent (or at least reduce the
frequency) of these problems.  b/1833052 has been filed to look at the
underlying problem, but this change aligns buffers we use with write()
so we can OTA for now (or see if this problem still occurs).
2009-05-06 08:40:28 -07:00
Doug Zongker
0f03d1408d am 596271f: handle short writes when unzipping files
Merge commit '596271fa71d79e3eec03c7cf6ac76cb026dd8578'

* commit '596271fa71d79e3eec03c7cf6ac76cb026dd8578':
  handle short writes when unzipping files
2009-04-29 21:20:20 -07:00
Doug Zongker
596271fa71 handle short writes when unzipping files
minzip fails if write() doesn't write all the data in one call.
Apparently this was good enough before, but it causes OTAs to fail all
the time now (maybe due to the recently-submitted kernel)?  Change
code to attempt continuing after short writes.
2009-04-29 17:35:34 -07:00
Jean-Baptiste Queru
7fce23fbb5 Merge donut into master 2009-04-22 18:33:11 -07:00
Jean-Baptiste Queru
f554ceb050 merge cupcake into donut 2009-04-22 17:56:50 -07:00
Jean-Baptiste Queru
29fcea1564 Merge donut into master 2009-04-22 17:12:09 -07:00
Doug Zongker
275acbe70a Merge branch 'readonly-p4-master' 2009-04-02 10:13:29 -07:00
Doug Zongker
796901d3b0 AI 144132: am: CL 144130 Don't build OTA package keys into the recovery binary; read
them from an external file in the recovery image.  Use the
  test-keys for all builds.
  Original author: dougz
  Merged from: //branches/donutburger/...

Automated import of CL 144132
2009-04-02 10:12:24 -07:00
Doug Zongker
d5ebb7b06d Merge branch 'readonly-p4-master' 2009-04-02 09:52:18 -07:00
Doug Zongker
0555388b8c AI 144105: am: CL 144082 Remove the unused "unpacking" recovery icon.
Original author: dougz
  Merged from: //branches/donutburger/...

Automated import of CL 144105
2009-04-02 09:51:09 -07:00
Doug Zongker
5d30026ddb Merge branch 'readonly-p4-master' 2009-04-02 09:41:51 -07:00
Doug Zongker
fc3ada0c11 AI 144101: am: CL 144070 Add an option to wipe cache (only) to the recovery menu.
Original author: dougz
  Merged from: //branches/donutburger/...

Automated import of CL 144101
2009-04-02 09:40:40 -07:00
Doug Zongker
d1b19b9c98 AI 144130: Don't build OTA package keys into the recovery binary; read
them from an external file in the recovery image.  Use the
  test-keys for all builds.

Automated import of CL 144130
2009-04-01 15:48:46 -07:00
Doug Zongker
49283858fb AI 144082: Remove the unused "unpacking" recovery icon.
Automated import of CL 144082
2009-04-01 14:39:15 -07:00
Doug Zongker
1066d2c319 AI 144070: Add an option to wipe cache (only) to the recovery menu.
Automated import of CL 144070
2009-04-01 13:57:40 -07:00
The Android Open Source Project
36a9c1e530 Merge branch 'open_source_no_contributions' into google_internal 2009-03-29 08:55:03 -07:00
Doug Zongker
19faefad05 AI 143289: am: CL 143128 Use PNG instead of BMP for recovery image icons. This saves
about 60k from the recovery and system images.
  Original author: dougz
  Merged from: //branches/donutburger/...

Automated import of CL 143289
2009-03-27 17:06:24 -07:00
The Android Open Source Project
b2b467c757 Merge commit 'korg/cupcake' 2009-03-27 15:30:35 -07:00
Doug Zongker
58bde316e2 AI 143128: Use PNG instead of BMP for recovery image icons. This saves
about 60k from the recovery and system images.

Automated import of CL 143128
2009-03-27 13:25:30 -07:00
Doug Zongker
e6faba0580 Automated import from //branches/master/...@142142,142142 2009-03-24 22:17:05 -07:00
Doug Zongker
bc012de46e Automated import from //branches/donutburger/...@142141,142141 2009-03-24 21:30:32 -07:00
Doug Zongker
d105f8f84f Automated import from //branches/cupcake/...@142138,142138 2009-03-24 19:03:53 -07:00
Dianne Hackborn
cf5b17055b Automated import from //branches/donutburger/...@140818,140818 2009-03-24 18:36:43 -07:00
Dianne Hackborn
97c618f378 Automated import from //branches/master/...@140824,140824 2009-03-24 18:36:42 -07:00
The Android Open Source Project
73e8e9ba08 auto import from //branches/cupcake_rel/...@141571 2009-03-19 23:08:36 -07:00
Jean-Baptiste Queru
c5c389f8f2 Merge commit 'remotes/korg/cupcake' into cupcake_to_master 2009-03-18 16:57:16 -07:00
The Android Open Source Project
c24a8e688a auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
The Android Open Source Project
ffb48f64fe auto import from //depot/cupcake/@135843 2009-03-03 18:28:14 -08:00
The Android Open Source Project
d4ae69739e auto import from //depot/cupcake/@132589 2009-03-03 14:03:51 -08:00
The Android Open Source Project
15bb56d89a auto import from //depot/cupcake/@137055 2009-03-02 22:54:15 -08:00
Jean-Baptiste Queru
fac53c1677 Remove obsolete OTA tools
Resolves http://code.google.com/p/android/issues/detail?id=2077
2009-03-02 12:33:57 -08:00
The Android Open Source Project
8b7334b3c2 auto import from //branches/cupcake/...@130745 2009-02-10 15:43:56 -08:00
The Android Open Source Project
6d12e0d6f8 Merge branch 'cupcake' 2009-01-09 18:03:37 -08:00
The Android Open Source Project
928d471ef2 auto import from //branches/cupcake/...@125939 2009-01-09 17:50:54 -08:00
The Android Open Source Project
ff3d93821e Code drop from //branches/cupcake/...@124589 2008-12-17 18:03:49 -08:00
The Android Open Source Project
23580ca27a Initial Contribution 2008-10-21 07:00:00 -07:00