Commit Graph
7512 Commits
Author SHA1 Message Date
Doug Zongker b66cb69e39 tweak recovery text images
Center and fix the extents for those locales that have multiple lines
of text.  Add Urdu as an RTL language.

Bug: 7064142
Change-Id: I4c1aa1198be29cab01129dabf2c4a026b93719a6
2012-09-18 14:52:18 -07:00
Doug Zongker c099f2d938 am ed3bc11e: am 5fa8c239: localization for recovery messages
* commit 'ed3bc11e7dd4b6e0ddb77a3c9492675d8ac6855d':
  localization for recovery messages
2012-09-18 13:57:07 -07:00
Doug Zongker ed3bc11e7d am 5fa8c239: localization for recovery messages
* commit '5fa8c23911759a9e81af0e7fb5eb431277b8e9a6':
  localization for recovery messages
2012-09-18 13:48:31 -07:00
Dees_Troy 8170a92145 Cleanup extra-functions 2012-09-18 15:44:39 -04:00
Doug Zongker 5fa8c23911 localization for recovery messages
Add images of text for all locales we support.  Make the progress bar
fill the correct way for RTL languages.  (Flip the direction the
spinner turns, too, just for good measure.)

Bug: 7064142
Change-Id: I5dddb26e02ee5275c57c4dc4a03c6d68432ac7ba
2012-09-18 12:37:02 -07:00
Dees_Troy 4a2a126740 Improve backup and restore
Add in archive splitting support
2012-09-18 09:37:15 -04:00
Dees_Troy 43d8b00770 Update backup and restore code, adb sideload
Fixed a problem with using make_ext4fs by making its lib
a dynamic lib.
Added ADB sideload zip install feature - no way to cancel it yet.
Improve backup and restore code.
2012-09-17 16:06:12 -04:00
Dees_Troy b9d88acdc0 Move to shared libmincrypt
Remove mincrypt source from TWRP and add rule to make
libmincrypt as a shared library.
No more crashes during zip signature verification and
less code to maintain in TWRP.
2012-09-14 14:34:26 -04:00
Dees_Troy 38bd760b58 Add wipe functions, compiles in CM7, text shows in UI, zips install
Zip install works, had to move mincrypt code into TWRP to prevent
a crash when checking the zip signature.
Added wipe functions
Made it compile in CM7
Made text show up in console and logging
2012-09-14 13:36:32 -04:00
Dees_Troy 32c8eb81af Make text appear in GUI console, Zip install works.
Move TW zip install code to C++ so that it can use the
ui->functions.
Bring in mincrypt code to fix a crash during signature
checking.
2012-09-12 15:14:38 -04:00
Dees_Troy 19968d0732 Clean up extra-functions 2012-09-11 10:36:04 -04:00
Dees_Troy fdf5fcc344 Move device ID code to data manager 2012-09-11 10:27:49 -04:00
Dees_Troy 657c309486 Zip install works again 2012-09-10 20:32:20 -04:00
Dees_Troy 63c8df756b More Partition Manager functionality 2012-09-10 14:03:27 -04:00
Dees_Troy 5112731666 Improve storage size code, mount, unmount
Add flag parsing from recovery.fstab
2012-09-10 11:33:29 -04:00
Dees_Troy 5bf439221d Add processing of fstab, mounting, and decrypt 2012-09-07 16:10:00 -04:00
The Android Open Source Project 7ae6e20201 am 74a806e5: (-s ours) Reconcile with jb-mr1-release - do not merge
* commit '74a806e5efbfd4a37725f2f1e193c3c2eb973fb7':
  fix format of installing_text
2012-09-06 09:12:01 -07:00
The Android Open Source Project 74a806e5ef Reconcile with jb-mr1-release - do not merge
Change-Id: Ia9cde557f8e6abaf0935e6b238eb956be09c12ca
2012-09-06 07:52:40 -07:00
Dees_Troy 7d15c25b3a Hax to make it boot 2012-09-05 20:47:21 -04:00
Dees_Troy 51a0e82eb2 TWRP-ify AOSP code
Pull in most TWRP sources
Stub out partition management code
Make it compile -- probably will not boot
Kind of a mess but have to start somewhere
2012-09-05 15:24:31 -04:00
The Android Automerger f8be769488 merge in jb-mr1-release history after reset to jb-mr1-dev 2012-09-05 06:33:23 -07:00
Doug Zongker 4ce9540814 am 52eeea4f: minor recovery fixes
* commit '52eeea4fa59c15ecb09c32b8e05653f4e55f5188':
  minor recovery fixes
2012-09-04 17:02:39 -07:00
Doug Zongker 52eeea4fa5 minor recovery fixes
- protect against missing/malformed bitmaps: fail to display them but
  don't crash.

- don't draw animation overlays until the overlay offset is computed.

- logging cleanup

Change-Id: Ieb1c155cfbb11e643000bdb5d1a57900c8757739
2012-09-04 14:28:25 -07:00
Dees_Troy 240e4a7247 Initial stub of partitions.hpp 2012-09-04 09:22:39 -04:00
Dees_Troy 74df7d36a2 Add readme 2012-08-31 11:27:58 -04:00
Doug Zongker 276657839e fix format of installing_text
Was submitted in the wrong PNG format (color type 4 instead of 0).

Change-Id: I8780c81eb92bdfc407b43948a92b37d93026325a
2012-08-30 15:48:19 -07:00
Doug Zongker ae0655b407 am f4c6ec84: fix format of installing_text
* commit 'f4c6ec84c24611856374353bdef87baca5694cc0':
  fix format of installing_text
2012-08-30 13:33:58 -07:00
Doug Zongker f4c6ec84c2 fix format of installing_text
Was submitted in the wrong PNG format (color type 4 instead of 0).

Change-Id: I8780c81eb92bdfc407b43948a92b37d93026325a
2012-08-30 12:47:43 -07:00
Doug Zongker a0ba2d3a62 am aff4dbb0: Merge "recovery locale handling fixes" into jb-mr1-dev
* commit 'aff4dbb0ae33e55785d1a11f93c1e20ebfed4a90':
  recovery locale handling fixes
2012-08-29 16:01:47 -07:00
Doug Zongker aff4dbb0ae Merge "recovery locale handling fixes" into jb-mr1-dev 2012-08-29 15:57:02 -07:00
Doug Zongker 8b240ccca1 recovery locale handling fixes
- change locale filename to "last_locale" so the main system doesn't
  delete it

- clean up some chatty logging

- update images with real German (other languages TBD)

Change-Id: I2ebb4ed4e054bd1808a3042d9efbb2c18f3a044d
2012-08-29 15:19:29 -07:00
Jean-Baptiste Queru b5f4261a22 am d52ef348: am bddbb5b3: Merge "Fixing trivial warnings for libminui"
* commit 'd52ef348d5abb65cd067be334d37c86d621786b9':
  Fixing trivial warnings for libminui
2012-08-24 14:19:19 -07:00
Jean-Baptiste Queru d52ef348d5 am bddbb5b3: Merge "Fixing trivial warnings for libminui"
* commit 'bddbb5b370d925d6e5ae62d560f5e7ad09a6ffac':
  Fixing trivial warnings for libminui
2012-08-24 13:06:43 -07:00
Jean-Baptiste Queru bddbb5b370 Merge "Fixing trivial warnings for libminui" 2012-08-24 13:00:02 -07:00
Stephen Hines 51aa144d26 am 3474ab28: Merge "Add libm due to libpng dependency." into jb-mr1-dev
* commit '3474ab2888838e512c6bcff588fa88f02c81135f':
  Add libm due to libpng dependency.
2012-08-23 17:53:40 -07:00
Stephen Hines 3474ab2888 Merge "Add libm due to libpng dependency." into jb-mr1-dev 2012-08-23 17:50:27 -07:00
Jean-Baptiste Queru 9383c8cb0b am e630d945: am 6a693d57: Merge "Fixed warnings in libmtdutils"
* commit 'e630d945f90a3a5610529b761ea9638929949a2e':
  Fixed warnings in libmtdutils
2012-08-23 15:59:38 -07:00
Jean-Baptiste Queru d863682672 am 8876725f: am 0254d573: Merge "Fix multiple defined symbol errors"
* commit '8876725f05518e8170aedb81ab40dfe638eb656f':
  Fix multiple defined symbol errors
2012-08-23 15:59:37 -07:00
Jean-Baptiste Queru b07faf8f1a am 7b827d04: am 481e03e3: Merge "Fixed unused param warnings for check-lost+found"
* commit '7b827d04a5cab7d8c5573181de3eb4ea2d0e173a':
  Fixed unused param warnings for check-lost+found
2012-08-23 15:59:36 -07:00
Jean-Baptiste Queru e630d945f9 am 6a693d57: Merge "Fixed warnings in libmtdutils"
* commit '6a693d57687a18f8e032293b71ca98882a78c93d':
  Fixed warnings in libmtdutils
2012-08-23 15:54:02 -07:00
Jean-Baptiste Queru 8876725f05 am 0254d573: Merge "Fix multiple defined symbol errors"
* commit '0254d57367432069256b623c6852da8b92626e79':
  Fix multiple defined symbol errors
2012-08-23 15:54:01 -07:00
Jean-Baptiste Queru 7b827d04a5 am 481e03e3: Merge "Fixed unused param warnings for check-lost+found"
* commit '481e03e39810ba1b7eab1d0d806039f45c4ad987':
  Fixed unused param warnings for check-lost+found
2012-08-23 15:54:01 -07:00
Stephen Hines 91eb721969 Add libm due to libpng dependency.
Change-Id: I0bdc2df5ef358813587f613a1b50eaa850e95782
2012-08-23 15:20:16 -07:00
Doug Zongker cf9f4e0020 am 4f33e55d: change recovery images to android with spinner
* commit '4f33e55d1c38d2f72f3306a82c177850f3676408':
  change recovery images to android with spinner
2012-08-23 13:24:36 -07:00
Doug Zongker 4f33e55d1c change recovery images to android with spinner
Also make writing the locale a bit more robust.

Change-Id: I803dd0aa0b9d6661fad74ea13fb085682402323c
2012-08-23 13:19:02 -07:00
Doug Zongker ec5eceb849 am 02ec6b88: add simple text to recovery UI
* commit '02ec6b88ed4e6cf40cc257572b07c7277b7b6341':
  add simple text to recovery UI
2012-08-23 13:14:14 -07:00
Jean-Baptiste Queru 6a693d5768 Merge "Fixed warnings in libmtdutils" 2012-08-23 08:04:24 -07:00
Jean-Baptiste Queru 0254d57367 Merge "Fix multiple defined symbol errors" 2012-08-23 08:04:04 -07:00
Jean-Baptiste Queru 481e03e398 Merge "Fixed unused param warnings for check-lost+found" 2012-08-23 08:03:52 -07:00
Doug Zongker 02ec6b88ed add simple text to recovery UI
- recovery takes a --locale argument, which will be passed by the main
  system

- the locale is saved in cache, in case the --locale argument is
  missing (eg, when recovery is started from fastboot)

- we include images that have prerendered text for many locales

- we split the background states into four (installing update,
  erasing, no command, error) so that appropriate text can be shown.

Change-Id: I731b8108e83d5ccc09a4aacfc1dbf7e86b397aaf
2012-08-22 17:26:40 -07:00