Commits on Dec 6, 2016
  1. Merge tag 'android-7.1.1_r4' into cm-14.1

    Android 7.1.1 release 4
    # gpg: Signature made Thu Dec  1 13:06:50 2016 CST
    # gpg:                using DSA key E8AD3F819AB10E78
    # gpg: Can't check signature: No public key
    invisiblek committed Dec 6, 2016
Commits on Nov 27, 2016
  1. bootloader_message: allow devices to override

    * Some devices do not have a misc partition or something that can be
      used as a surrogate, but we still need a place to write the recovery
      commands to. In these cases, allow a device tree to override the
      default aosp behavior and instead do such things as use a file on
      /cache to handle this.
    * NOTE: Your device must also specify BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE
      if you plan to use /cache/recovery/command as this is used to tell
      android to use this dedicated /cache partition rather than symlinking
      it to /data/cache
    Change-Id: I254c28a1e4d9b8df9c0e5d9ebcc087b58a45d5a3
    invisiblek committed Nov 22, 2016
Commits on Nov 24, 2016
  1. fstools: Add libselinux dep

    * Needed after f2fs-tools 1.7.0
    Change-Id: I10ef8d901af1df92c650f2977d1263a4410f7c13
    luca020400 committed Nov 24, 2016
Commits on Nov 8, 2016
  1. Constrain log text output to bottom quarter of the screen.

    Change-Id: I41232669e333f161f422aa7b70addc6fa5be443d
    maniac103 committed Nov 8, 2016
  2. Remove duplicate draw_background_locked() call.

    Change-Id: Ia405210c71e79af7847f7aa098e447d9c856be82
    maniac103 committed Nov 8, 2016
Commits on Oct 26, 2016
  1. Merge tag 'android-7.1.0_r4' of…

    …form/bootable/recovery into 71
    Android 7.1.0 release 4
    Change-Id: Icb417ca7037374e9a08ae8baf111f900c380c80a
    cyanogen committed Oct 25, 2016
Commits on Oct 15, 2016
  1. updater: Allow devices to suppress BLKDISCARD

    * On some devices TRIM is disabled for security reasons. Don't fail
      flashing the ROM because discard isn't possible in this case.
    Change-Id: I044619c3e0b01a496d967ef136501d0190240ad4
    andi34 committed with mikeNG May 9, 2015
  2. sr: Add performance control

     * Crank it up when installing
    Change-Id: I997d937901ff446834e6c479aaf629bee51de388
    cyanogen committed with mikeNG Apr 4, 2014
Commits on Sep 29, 2016
  1. DO NOT MERGE Report uncrypt errors in details

    Add the error codes for uncrypt and report the failure details in
    Test: uncrypt_error logs correctly in last_install
    Bug: 31603820
    Change-Id: I8e0de845ce1707b6f8f5ae84564c5e93fd5f5ef5
    (cherry picked from commit da44cf18f3ce4bbffa85ad0a50bb25e9cb54a86d)
    Tianjie Xu committed Sep 24, 2016
Commits on Sep 27, 2016
  1. DO NOT MERGE Duplicate the last_install content into last_log.

    Currently we save the OTA metrics in last_install, which keeps the data
    for the _last_ install only. This CL logs the same content into last_log
    so that we keep the metrics for every install.
    Bug: 31607469
    Test: Apply an update (via OTA and sideload) and check last_log and last_install.
    Change-Id: Id8f174d79534fddc9f06d72a4e69b2b1d8ab186c
    (cherry picked from commit f4885adc189f246ac3c651aa5cb2e74a240f3f1e)
    Tao Bao committed Sep 26, 2016
Commits on Sep 19, 2016
  1. sr: Fix all the graphics issues

     * Get rid of all the jank and flicker.
     * Fix preserved backbuffer
     * Simplify the code, all drawing happens on a
       single thread now.
    Change-Id: I36e1deee0663defd8aea1eba985e3ecbd408eac0
    cyanogen committed Mar 30, 2015
Commits on Sep 13, 2016
  1. Check corruption when reading uncrypt_status file

    Bug: 31383361
    Change-Id: I0de920916da213528d73b742e4823b4a98c63ea1
    (cherry picked from commit 1c1864f321b129c81883ed527b1da8c69661e51f)
    Tianjie Xu committed Sep 12, 2016
Commits on Sep 12, 2016
  1. save uncrypt status to last_install

    Save the uncrypt time cost to /cache/recovery/uncrypt_status. Recovery
    reads the file and saves its contents to last_install.
    Bug: 31383361
    Test: Tested on angler and uncrypt_time reports correctly.
    (cherry picked from commit fe16b5ccaf80f6e04d5b722c37c1abd70457ad28)
    Change-Id: Id69681a35c7eb2f0eb21b48e3616dcda82ce41b8
    Tianjie Xu committed Sep 9, 2016
Commits on Sep 10, 2016
  1. bootloader: fix seeking the now unique_fd for bootloader message offset

    Change-Id: I51b993f730168c87dfed6df5bd6c2ad4339d8c88
    invisiblek committed Sep 10, 2016
Commits on Sep 4, 2016
  1. Convert recovery to use BoringSSL instead of mincrypt.

    This changes the verification code in bootable/recovery to use
    BoringSSL instead of mincrypt.
    Change-Id: I37b37d84b22e81c32ac180cd1240c02150ddf3a7
    Mattias Nissler committed with cyanogen Apr 4, 2016
  2. recovery: libverifier: Add fs_mgr header

    Change-Id: I260eb6f32e696dd447e13c489fe5b8927e9cb8bf
    Signed-off-by: Brandon McAnsh <>
    bmc08gt committed with cyanogen Aug 26, 2016
  3. sr: Adjust for changes in sideload code

    Change-Id: Iad3b2f7feb45fe497dfe75670ce2779f64a50e60
    cyanogen committed Aug 26, 2016
  4. recovery: Cleanup touch UI code for N

     * And remove all dialog code
    Change-Id: I6acc0dcc5061f6112a0b7f07a316534ba5707c49
    cyanogen committed Aug 26, 2016
  5. recovery: Add new required libraries and silence warnings

    Change-Id: I7053fdd7e4b086b13aff617b33de02f12ce47c3d
    cyanogen committed Aug 26, 2016
  6. sr: Remove dialog usage from backup service

    Change-Id: I392c255e24080287a4c9ce8368e3064b15ec20ce
    cyanogen committed Aug 26, 2016
  7. recovery: Include libc when building libminiunz_static

    Needed for the mkdir function
    Change-Id: Ia49e8335c011fc656679d1c5cc733d455a8ccbac
    Rashed97 committed with cyanogen Aug 26, 2016
  8. recovery: Include libselinux when building libmake_ext4fs_static

    Change-Id: Ic5ecc24ef9142b6943703b11680356a781dd6100
    Rashed97 committed with cyanogen Aug 26, 2016
  9. recovery: Update src files for N

    Change-Id: Ie51fd5c3fc9b88a1ca1d219732f2d4fe55e46b3c
    luca020400 committed with cyanogen Aug 25, 2016
  10. ninja-build: don't use $(shell) in other Make constructs [4/4]

    Change-Id: I74961c5dab346b78a09e82353e858b9d68ecbf33
    Saleem Rashid committed with cyanogen May 1, 2016
  11. recovery: Initialize menu_show_start_ to avoid crash

    When left uninitialized, wrong pointer to text may be passed from
    draw_screen_locked to draw_menu_item, causing segfault in gr_text.
    Change-Id: I932dd8c4d3d28afe82decc46f1f0af20586d88df
    nadlabak committed with cyanogen Jun 20, 2016
  12. Mount pstore filesystem while in recovery

    * pstore filesystem is evolution of ram_console and contains
      kmsg from previous boot (previously in /proc/last_kmsg).
    * Lollipop init.rc does this. If device doesn't have
      pstore fs, it will simply be ignored
    Change-Id: Id3bf8763ccde54f87fde5cdf2db511649c376aa4
    Signed-off-by: Vojtech Bocek <>
    Tasssadar committed with cyanogen Mar 8, 2015
  13. recovery: Add wipe system partition option

    Change-Id: Id606cef249a7464037443de6265055803c290d82
    mikeNG committed with cyanogen Jan 25, 2016
  14. ui: Also detect KEY_HOME

    * KEY_HOME is used in a lot of devices instead of KEY_HOMEPAGE
    Change-Id: I18ec415b4d7e5e1f97a88640b820c64dbc8bb634
    mikeNG committed with cyanogen Mar 28, 2016
  15. recovery: Only set relevant sysbar state flags

    Change-Id: I9fc0fa29299610865f622dc296bdadff59d74447
    tdmcyngn committed with cyanogen Mar 11, 2016
  16. recovery: bu: Make 64-bit clean

    Use lseek64 to determine file/block sizes
    Change-Id: I5ae7b11d6cb612c84cb4be29d0e3fe1493b8e844
    tdmcyngn committed with cyanogen Feb 12, 2016
  17. recovery: Implement sysbar

    Add a system bar (navigation bar) similar to the main Android system
    with back and home buttons.  This makes it easier for users to figure
    out how to go back on devices that lack hardware buttons, and also
    provides a quick way to get back to the main menu.
    Note only buttons that do not have a hardware equivalent are shown, in
    order to prevent redundancy and confusion.
    Change-Id: I7538749978837571a8c250c3c8e54ac127b39d84
    tdmcyngn committed with cyanogen Feb 15, 2016
  18. recovery: handle back button when navigating recovery logs

    Fixes the crash when a user presses a hardware back button
    instead of the on screen menu item.
    Change-Id: I579d2720cdf7256a269358d037582121425d7c25
    Scott Mertz committed with cyanogen Feb 24, 2016
  19. recovery: Remove empty header line

    Change-Id: I15d5dc734adba58ca4d44a5818c23115481e0470
    tdmcyngn committed with cyanogen Feb 16, 2016
  20. recovery: don't override selinux for cache partition

    It turns out, file names starting with @ are on the cache
    partition and we don't want to remount it overriding the
    selinux context.
    Change-Id: I661a590c3c70d75a1255b25debad3f2cbeee59e8
    Pat Erley committed with cyanogen Feb 12, 2016
  21. recovery: User recovery shouldn't allow mounting system

    Change-Id: I157116fdc7c85a42ce3c978b52f949e3cbc25b31
    Pat Erley committed with cyanogen Feb 12, 2016