Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cm 11.0 #51

Open
wants to merge 912 commits into
base: cm-14.1
Choose a base branch
from
Open

Cm 11.0 #51

wants to merge 912 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jul 24, 2013

  1. Remove "fix permissions" option

    Original discussion here: http://review.cyanogenmod.org/45559
    
    Patchset 2: really remove the option
    Patchset 3: fix options that I broke on ps2
    
    Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
    
    Change-Id: I54877a24444c24a296c8c044efd977f30cc66de4
    mikeNG committed Jul 24, 2013
    Configuration menu
    Copy the full SHA
    8736cc1 View commit details
    Browse the repository at this point in the history
  2. Add power off & reboot to bootloader mode in advanced menu

    Also:
    Cleanup leftovers from previous poweroff option
    Always ensure a clean reboot (Thanks to PhilZ for his implementation)
    
    Bootloader option defaults to "bootloader" (fastboot mode), it can be overriden
    by defining "ro.bootloader.mode=download" prop for samsung download mode
    We leave reboot to bootloader option always enabled, that way we can
    override the get_filtered_menu_selection bug that breaks the order
    of the options when NULLifying menu options.
    
    Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
    
    Change-Id: I6d674b37ab41ab342b105993719277360b4707e4
    mikeNG committed Jul 24, 2013
    Configuration menu
    Copy the full SHA
    b9ecf64 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2013

  1. cwm: Add liblog dependency

    Change-Id: Ic5716e5f2c311406bc6384e63fb0f217113e6eeb
    rmcc committed Jul 25, 2013
    Configuration menu
    Copy the full SHA
    f427a7d View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2013

  1. Add a recovery version variable

    the releasetools want this now
    
    Change-Id: Ibc3cdbc8f5f8022bf51479a4702d1d0d043f70a9
    rmcc committed Jul 26, 2013
    Configuration menu
    Copy the full SHA
    62c6902 View commit details
    Browse the repository at this point in the history
  2. Use fstab v1 as a default.

    v1 is the old recovery.fstab format that everybody is still
    using.
    Devices using v2 should set RECOVERY_FSTAB_VERSION=2 in
    their board files
    
    Change-Id: Ie7221f110ecc594f6f92973d2c27da10f62b6431
    rmcc committed Jul 26, 2013
    1 Configuration menu
    Copy the full SHA
    1a6c91f View commit details
    Browse the repository at this point in the history
  3. Remove "fix permissions" option

    Original discussion here: http://review.cyanogenmod.org/45559
    
    Patchset 2: really remove the option
    Patchset 3: fix options that I broke on ps2
    
    Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
    
    Change-Id: I54877a24444c24a296c8c044efd977f30cc66de4
    mikeNG committed Jul 26, 2013
    Configuration menu
    Copy the full SHA
    96d9f22 View commit details
    Browse the repository at this point in the history
  4. Add power off & reboot to bootloader mode in advanced menu

    Also:
    Cleanup leftovers from previous poweroff option
    Always ensure a clean reboot (Thanks to PhilZ for his implementation)
    
    Bootloader option defaults to "bootloader" (fastboot mode), it can be overriden
    by defining "ro.bootloader.mode=download" prop for samsung download mode
    We leave reboot to bootloader option always enabled, that way we can
    override the get_filtered_menu_selection bug that breaks the order
    of the options when NULLifying menu options.
    
    Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
    
    Change-Id: I6d674b37ab41ab342b105993719277360b4707e4
    mikeNG committed Jul 26, 2013
    Configuration menu
    Copy the full SHA
    05ad6a1 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2013

  1. Fixes for Superuser

    Change-Id: I86a280088ee8767e02ba51b72f4d011cf4658f6f
    koush committed Jul 28, 2013
    Configuration menu
    Copy the full SHA
    d56d0fd View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2013

  1. Fixes for Superuser

    Change-Id: I86a280088ee8767e02ba51b72f4d011cf4658f6f
    koush committed Jul 30, 2013
    Configuration menu
    Copy the full SHA
    ebecbc6 View commit details
    Browse the repository at this point in the history
  2. su installation and detection updates for 4.3

    Change-Id: Idce9a6d4ca18ddc9b49029024c26bc114f6d3c15
    koush committed Jul 30, 2013
    Configuration menu
    Copy the full SHA
    912b6d9 View commit details
    Browse the repository at this point in the history
  3. 6035

    Change-Id: Iab792171fdbe62fe85ac3084f49cbd38cb172fba
    koush committed Jul 30, 2013
    Configuration menu
    Copy the full SHA
    ab6769d View commit details
    Browse the repository at this point in the history
  4. add su daemon runner

    Change-Id: Ibb9be9e764d0ccb842a26a0795a0bb6cb6113b58
    koush committed Jul 30, 2013
    Configuration menu
    Copy the full SHA
    a2aac83 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bf44d1e View commit details
    Browse the repository at this point in the history
  6. 4.3 detection fix

    Change-Id: Ib5e3df51fa7a383f3699968e899e06d579480564
    koush committed Jul 30, 2013
    2 Configuration menu
    Copy the full SHA
    04f02c5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ab43813 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2013

  1. unset immutable bit on install-recovery.sh

    Change-Id: Ie7e8bfea57bed207c3c2d57bf3cd23daf6cd4c20
    koush committed Jul 31, 2013
    Configuration menu
    Copy the full SHA
    37566e2 View commit details
    Browse the repository at this point in the history
  2. Don't treat link-time warnings as errors when linking with libbusybox

    See http://review.cyanogenmod.org/#/c/46642/ for why this is necessary.
    
    Change-Id: Ib97484755569fcafc062d3c39b2841581987ca72
    steven676 committed Jul 31, 2013
    Configuration menu
    Copy the full SHA
    00857c9 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2013

  1. Fix roots.c to use fs_mgr

    Change-Id: Ie68daba5e014dff0c4998da85576f35abe8ad270
    koush committed Aug 1, 2013
    Configuration menu
    Copy the full SHA
    8b26c06 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2013

  1. move key loading to verifier code

    Add an option to verifier_test to load keys from a file, the way the
    recovery does.
    
    Conflicts:
    	verifier_test.c
    
    Change-Id: Icba0e391164f2c1a9fefeab4b0bcb878e91d17b4
    Doug Zongker authored and chirayudesai committed Aug 3, 2013
    Configuration menu
    Copy the full SHA
    d9b4033 View commit details
    Browse the repository at this point in the history
  2. recovery: save logs from the last few invocations of recovery

    Extends the last_log mechanism to save logs from the last six
    invocations of recovery, so that we're more likely to have useful logs
    even if the device has repeatedly booted into recovery.
    
    Conflicts:
    	recovery.c
    
    Change-Id: I08ae7a09553ada45f9e0733fe1e55e5a22efd9f9
    Doug Zongker authored and chirayudesai committed Aug 3, 2013
    Configuration menu
    Copy the full SHA
    2ad4587 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2013

  1. Revert "Use fstab v1 as a default."

    This reverts commit 1a6c91f.
    
    Change-Id: I5fb1105bfb640f0552ddcc4a99b6f98487a1c946
    chirayudesai committed Aug 4, 2013
    Configuration menu
    Copy the full SHA
    4dc0a95 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2013

  1. recovery: ignore voldmanaged volumes

    Voldmanaged volumes use sysfs path instead of device
    path which is not supported by recovery, so a separate
    entries for /sdcard and /external_sd are required.
    
    We ignore these volume so we don't show the menu for
    "mount /storage/sdcard0", etc.
    
    Change-Id: I6bf26e0ad3fb59579c986cf5537f9e70448891e9
    pawitp authored and Gerrit Code Review committed Aug 5, 2013
    Configuration menu
    Copy the full SHA
    c70c202 View commit details
    Browse the repository at this point in the history
  2. Update wipe data option confirmation

    This commit allows the wipe data/factory reset option to recognize the
    .one_confirm or .no_confirm files in the clockworkmod folder.
    
    Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
    
    Change-Id: Ib0f82b4448e3b9df95a5e59a49428f3e9da58578
    mikeNG committed Aug 5, 2013
    Configuration menu
    Copy the full SHA
    935a504 View commit details
    Browse the repository at this point in the history
  3. Add sdparted option to partition in ext4 fstype

    Taken from PhilZ Touch recovery
    
    Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
    
    Change-Id: I079617fc32f8ad0aea754a60898cd4f9cc482524
    PhilZ-cwm6 authored and mikeNG committed Aug 5, 2013
    Configuration menu
    Copy the full SHA
    7e87f26 View commit details
    Browse the repository at this point in the history
  4. Merge "Revert "Use fstab v1 as a default."" into cm-10.2

    koush authored and Gerrit Code Review committed Aug 5, 2013
    Configuration menu
    Copy the full SHA
    fce3e08 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2013

  1. Merge "Add sdparted option to partition in ext4 fstype" into cm-10.2

    koush authored and Gerrit Code Review committed Aug 6, 2013
    Configuration menu
    Copy the full SHA
    cb9b7a6 View commit details
    Browse the repository at this point in the history
  2. unlink() equals remove() in this situation can cause data loss and fi…

    …lesystem corruption if some data is not sync when mount sdcard
    
    Change-Id: Ib3ad32842fcbf3b058c986df6901c7744bd5cf1f
    PhilZ-cwm6 committed Aug 6, 2013
    Configuration menu
    Copy the full SHA
    985324f View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2013

  1. fix stat for correct free space when backup path is second storage

    Change-Id: I762269d696a194889e74c101b9338920e924ebb5
    PhilZ-cwm6 committed Aug 9, 2013
    Configuration menu
    Copy the full SHA
    3860331 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2013

  1. Shrink cid

    Change-Id: I00556341b746f186f424ebe46c94fd02f10e6536
    koush committed Aug 13, 2013
    Configuration menu
    Copy the full SHA
    0c328c7 View commit details
    Browse the repository at this point in the history
  2. v6036

    Change-Id: I7e70d0e2e367f703fe420d4300eb5fecdc247099
    koush committed Aug 13, 2013
    Configuration menu
    Copy the full SHA
    e19f1d8 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2013

  1. Enable mount usb for external storage on datamedia devices

    Change-Id: I73b4112983b7b118d738eb224b32f4f0beb5d147
    PhilZ-cwm6 committed Aug 14, 2013
    Configuration menu
    Copy the full SHA
    6bdc5c6 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2013

  1. Fix issue where android device manager, etc, dont actually wipe data.

    --wipe_data issues via /cache/recovery/command will now completely format data.
    
    All other manual wipe commands will preserve data on /data/media.
    There is another mounts/storage option that will do a true data format.
    
    Change-Id: Ie8ecd2b0e14c3bb1d8a404ea868cdf703455d2ab
    koush committed Aug 16, 2013
    Configuration menu
    Copy the full SHA
    5a650a9 View commit details
    Browse the repository at this point in the history
  2. Merge "fix stat for correct free space when backup path is second sto…

    …rage" into cm-10.2
    koush authored and Gerrit Code Review committed Aug 16, 2013
    Configuration menu
    Copy the full SHA
    6830848 View commit details
    Browse the repository at this point in the history
  3. Merge "Enable mount usb for external storage on datamedia devices" in…

    …to cm-10.2
    koush authored and Gerrit Code Review committed Aug 16, 2013
    1 Configuration menu
    Copy the full SHA
    c0cab40 View commit details
    Browse the repository at this point in the history
  4. Merge "Fix issue where android device manager, etc, dont actually wip…

    …e data." into cm-10.2
    koush authored and Gerrit Code Review committed Aug 16, 2013
    Configuration menu
    Copy the full SHA
    ead73d8 View commit details
    Browse the repository at this point in the history
  5. If sd-ext is defined in recovery.fstab, but user did not partition sd…

    …card, silent failure while formatting device (every nandroid restore or wipe data)
    
    Change-Id: I3ee2f891899be8e4fe0d722e64357dc5e7bc7428
    PhilZ-cwm6 committed Aug 16, 2013
    Configuration menu
    Copy the full SHA
    aee5f78 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2013

  1. recovery: Only install adb keys once

     * Recovery is currently calling setup_adbd when the process starts to
       fetch the keys from the data partition and (re)start adbd.
     * This of course has the heinous side effect of making it
       impossible to use gdbserver to debug recovery, making me a sad panda.
     * Make setup_adbd a pseudo-binary, and run it as a oneshot service
       instead.
    
    Change-Id: Ib4b9e342564bb60bdc2df4cee91566f31c7db8f1
    hyperb1iss committed Aug 18, 2013
    Configuration menu
    Copy the full SHA
    03667f6 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2013

  1. recovery: Revenge of MiniVold

     * Vold has been refactored to be friendly to an environment such as
       recovery. Using Vold will eliminate many hacks and add previously
       unavailable features.
     * Link with libminivold and create a pseudo-binary to launch as a
       service in recovery.
     * Libvoldclient is an event-driven client for controlling the daemon.
     * Handles device hotplug and automatic mounting, if desired.
     * Manages USB storage
     * Can check and format volumes using any supported filesystem
     * Dynamically generate all storage paths
     * Dynamically refresh menus affected by storage changes
     * Fixed wall-of-compile-warnings and const-correctness in extendedcommands.c
     * Misc cleanups
     * Say goodbye to "apply /sdcard/update.zip". You have served us well.
    
    Change-Id: I13a3d72493f8fce7c19f192f9e94ad22cb60a2d2
    hyperb1iss committed Aug 23, 2013
    Configuration menu
    Copy the full SHA
    efa3b63 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2013

  1. recovery: Don't enable UMS function unless needed

     * This causes problems with some hosts. Only enable the composition if
       the user actually turns UMS on.
    
    Change-Id: I18b109a3416d55ef711d346685d46a93851da332
    hyperb1iss committed Aug 24, 2013
    Configuration menu
    Copy the full SHA
    ad054c6 View commit details
    Browse the repository at this point in the history
  2. recovery: Don't automount external storage at startup

     * Do it for hotplug and on-demand only.
    
    Change-Id: I9c0ca96203a8ff1f16fa42e31f426cd25bdaba1d
    hyperb1iss committed Aug 24, 2013
    Configuration menu
    Copy the full SHA
    a0591d6 View commit details
    Browse the repository at this point in the history
  3. recovery: Add sdcard daemon

     * Our custom ext4 support for sdcards needs it.
    
    Change-Id: Ie1c22c1d6a3255cbe3a7ff3c072243f4a5461a17
    hyperb1iss committed Aug 24, 2013
    Configuration menu
    Copy the full SHA
    d30168d View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2013

  1. recovery: try to write EMMC partitions more reliably

    Nexus 4 has flash errors that manifest during large writes (eg, of the
    radio partition).  Writes of some blocks seem to be dropped silently,
    without any errors being returned to the user level.
    
    Make two changes to the partition-writing code:
    
    - break it up into 1MB writes instead of writing partitions with a
      single fwrite() call.  Pause for 50ms in between every chunk.
    
    - read the partition back after writing and verify that we read what
      we wrote.  Drop caches before reading so we (hopefully) are reading
      off the actual flash and not some cache.
    
    Neither of these should be necessary.
    
    Bug: 9602014
    
    Change-Id: Ice2e24dd4c11f1a57968277b5eb1468c772f6f63
    Doug Zongker authored and Gerrit Code Review committed Aug 25, 2013
    Configuration menu
    Copy the full SHA
    97451a7 View commit details
    Browse the repository at this point in the history
  2. recovery: write partitions more conservatively

    Write and verify partitions using write(2) and read(2) rather than the
    stdio functions.  Read and write in 4kb blocks.  When writing, fsync()
    every 1MB.
    
    Bug: 9602014
    Change-Id: Ie98ce38e857786fc0f4ebf36bb5ffc93b41bc96f
    Doug Zongker authored and Gerrit Code Review committed Aug 25, 2013
    Configuration menu
    Copy the full SHA
    5b331f8 View commit details
    Browse the repository at this point in the history
  3. recovery: sleep after writing partition and closing it

    Another speculative attempt to get everything we write actually stored
    to the device.
    
    Change-Id: Icf40b0741b4c535e55ea34848073a97d90dc0e70
    Doug Zongker authored and Gerrit Code Review committed Aug 25, 2013
    Configuration menu
    Copy the full SHA
    a4b5d55 View commit details
    Browse the repository at this point in the history
  4. recovery: Support for compressed backups

     * Systems are getting quite large nowadays, and performing backups
       without using compression is wildly inefficient. A good compression
       algorithm also gives us a big speedup on backup and restore times since
       the process is entirely I/O bound.
     * Bring in pigz (via libminipigz), which is a multithreaded version of
       gzip and pipe tar backups and restores thru it.
     * Autodetect compressed images where appropriate, and add a menu option
       to select the compressed format by default.
     * Also fixed various trivial warnings and const-correctness issues.
    
    Comparison on my Flo device right now:
    
    Uncompressed:
      1868512   2013-08-24.07.10.08
    
    Compressed:
      1149300   2013-08-24.06.51.14
    
    Change-Id: I55025c993662142f5b647e600daf6885f9be6667
    hyperb1iss authored and Gerrit Code Review committed Aug 25, 2013
    Configuration menu
    Copy the full SHA
    fa9a990 View commit details
    Browse the repository at this point in the history
  5. recovery: all vold loglines deserve newlines

    Self-nominating for the most impactful commit CM has seen
    since 2009.
    
    Change-Id: I450167573b7cf6db1a92227aef7ff3ed95856dd5
    mdmower authored and Gerrit Code Review committed Aug 25, 2013
    Configuration menu
    Copy the full SHA
    7c576cf View commit details
    Browse the repository at this point in the history
  6. recovery: close zip archive after installation

    Otherwise recovery will restart itself (gets killed by vold for
    leaving a file open) when reboot is selected.
    
    Change-Id: I915c3082bd99ca994c3a4cbe5ba913866051bc0e
    pawitp committed Aug 25, 2013
    Configuration menu
    Copy the full SHA
    f0bd6bf View commit details
    Browse the repository at this point in the history
  7. recovery: Cleanups

     * Fixing warnings, const-correctness
     * Split the multi-call list out into recovery_cmds.h
    
     * This is part of an effort to improve security in recovery mode.
    
    Change-Id: I1e913345c94537225639183434ea4803348ad335
    hyperb1iss authored and Gerrit Code Review committed Aug 25, 2013
    Configuration menu
    Copy the full SHA
    0005c1e View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2013

  1. recovery: only use vold format for exact path match

    Otherwise when formatting /sdcard/.android_secure, it will be
    matched to /sdcard and vold will format the entire /sdcard.
    
    Change-Id: Ifc26121f982b391b4ccf582b6162ab76feb72cae
    pawitp committed Aug 26, 2013
    Configuration menu
    Copy the full SHA
    f22626c View commit details
    Browse the repository at this point in the history
  2. recovery: don't overallocate for get_android_secure_path

    We simply need the space to fill both strings and a final null.
    
    a char pointer is a lot larger than a char ;)
    
    Change-Id: I3472e1a9978fb2f6d439d4af9c072a98cec0cd19
    pawitp authored and Gerrit Code Review committed Aug 26, 2013
    Configuration menu
    Copy the full SHA
    a8ed457 View commit details
    Browse the repository at this point in the history
  3. recovery: fix --update_package using legacy path

    When using legacy path, recovery will not be able to mount the
    correct device. Fix by resolving the symlink before installing.
    
    Change-Id: Ibb268908458c49de09204a1a0ba3143e83ccc0c4
    pawitp committed Aug 26, 2013
    Configuration menu
    Copy the full SHA
    ca02861 View commit details
    Browse the repository at this point in the history
  4. Merge "recovery: fix --update_package using legacy path" into cm-10.2

    rmcc authored and Gerrit Code Review committed Aug 26, 2013
    Configuration menu
    Copy the full SHA
    f13325d View commit details
    Browse the repository at this point in the history
  5. Revert "recovery: fix --update_package using legacy path"

    Backing this out for now to prevent a tragic recovery loop
    where it'll keep restarting to flash from /cache/recovery/command
    and crash from signature verification bug. The loop can only
    be ended by removing the command file via adb.
    
    This reverts commit ca02861.
    
    Change-Id: Iea29ee04871e136c680df699f5d19570aba44113
    pawitp committed Aug 26, 2013
    Configuration menu
    Copy the full SHA
    ea09a67 View commit details
    Browse the repository at this point in the history
  6. Merge "Revert "recovery: fix --update_package using legacy path"" int…

    …o cm-10.2
    pawitp authored and Gerrit Code Review committed Aug 26, 2013
    Configuration menu
    Copy the full SHA
    efa6d29 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2013

  1. recovery: Don't link with minivold

     * There are issues with conflicting symbols in OpenSSL that cause some
       nasty problems. Let's just build minivold as a standalone binary so
       we avoid anything like this in the future as well.
    
    Change-Id: I691a403bb377171989cba4ff74a515050862be40
    hyperb1iss committed Aug 27, 2013
    Configuration menu
    Copy the full SHA
    a867f0e View commit details
    Browse the repository at this point in the history
  2. Revert "Revert "recovery: fix --update_package using legacy path""

    This reverts commit ea09a67.
    
    Change-Id: I172ec887dd52e373d249d61b22eccaaae03dfb75
    pawitp committed Aug 27, 2013
    Configuration menu
    Copy the full SHA
    83e26bf View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2013

  1. Recovery: Loki patching support

    Add support for automatically checking and making loki images
    for locked bootloader bypass on loki supported devices. Loki
    support is enabled with ENABLE_LOKI_RECOVERY.
    
    Change-Id: I81fe267d58f0dda18a790e25df223f011dca3e37
    Shelnutt2 authored and rmcc committed Sep 3, 2013
    Configuration menu
    Copy the full SHA
    9046cda View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2013

  1. Don't print any messages regarding sd-ext to the UI

     * It is ancient.
    
    Change-Id: Ie2e31f9e3c8a2753dccb1bd42425cd5b0ce7780b
    chirayudesai committed Sep 8, 2013
    Configuration menu
    Copy the full SHA
    7cc6afa View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2013

  1. Merge "Recovery: Loki patching support" into cm-10.2

    rmcc authored and Gerrit Code Review committed Sep 10, 2013
    Configuration menu
    Copy the full SHA
    bfb14d1 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2013

  1. Add required libraries to list.

    Change-Id: Ice466de2bddd6050335978d70f31831f4d428576
    maniac103 committed Sep 23, 2013
    Configuration menu
    Copy the full SHA
    ecd5053 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2013

  1. Version bump to 6.0.2.8

    Change-Id: I7b083a0a083fae487d4b48bef5e79371b3173f7a
    gweedo767 committed Sep 24, 2013
    1 Configuration menu
    Copy the full SHA
    619fbec View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2013

  1. Support f2fs format

    This allows devices like Moto X, which have f2fs formated
    data partition to be used with CWM recovery. Format data
    works as enteded as well as backup/restore.
    
    Change-Id: I8b56252cc462c9e9ff2824bc817ea00ddd4ccacc
    dhacker29 committed Sep 25, 2013
    Configuration menu
    Copy the full SHA
    fd6b35c View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2013

  1. Bump to 6.0.3.9

    Change-Id: I5637e796e4dc65ae527b0b1984b295d69ccc0707
    gweedo767 committed Sep 30, 2013
    Configuration menu
    Copy the full SHA
    7889b76 View commit details
    Browse the repository at this point in the history
  2. recovery: support format external storage to custom fstype using vold

    Change-Id: I14af245a05422d25364236da86a96d48b7216b46
    PhilZ-cwm6 authored and Gerrit Code Review committed Sep 30, 2013
    Configuration menu
    Copy the full SHA
    a638264 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2013

  1. Make updating Advanced Menu a simpler task

    Change-Id: Iaf86e006ff4a67e72fe6c8141068ec2e36360671
    PhilZ-cwm6 authored and Gerrit Code Review committed Oct 1, 2013
    Configuration menu
    Copy the full SHA
    80a3625 View commit details
    Browse the repository at this point in the history
  2. Fix refresh usb devices when key repeat is enabled

    Change-Id: I152ba81c03a9386897a4ad28849ab28ac35e7c0f
    PhilZ-cwm6 authored and Gerrit Code Review committed Oct 1, 2013
    Configuration menu
    Copy the full SHA
    e506d5b View commit details
    Browse the repository at this point in the history
  3. Fix extract of tgz multi volumes corruption at split point

    Remove roots.c dead code
    New lines
    Misc formatting
    
    Change-Id: I445fe240b3e5d1fff4c4dbce25e286cec66f69fc
    PhilZ-cwm6 authored and Gerrit Code Review committed Oct 1, 2013
    Configuration menu
    Copy the full SHA
    684696c View commit details
    Browse the repository at this point in the history
  4. "not enough rainbows, 1 star uninstall"

    Patchset 3 - Indigo has been removed from the rainbow.
    
    (Rainbow Mode - Easter Egg)
    
    No longer will we get bad reviews on CWM recovery for its lack
    of rainbows! Originally design by gweedo767, this patch brings
    back the wrap count mechanism from v2.0.2.4 to toggle Rainbow
    Mode for the user. In the original design, every character has
    a different color, but that method requires modifying graphics.c
    which will cause breakage in devices with custom graphics.c.
    This Rainbow Mode has a different color for each line, instead.
    The wrap_count has been set to 5 instead of the previous 3 so
    the toggle won't occur as often, if on accident.
    
    Change-Id: Ie9f6f1b6ed94ee69d4d8d9fe27f9a5417cc3f212
    CEnnis91 authored and mikeNG committed Oct 1, 2013
    2 Configuration menu
    Copy the full SHA
    af5f065 View commit details
    Browse the repository at this point in the history
  5. fix f2fs formatting from edify scripting

    Change-Id: Id117adcc2ab96a32ca61937863f260d760496e19
    PhilZ-cwm6 authored and Gerrit Code Review committed Oct 1, 2013
    Configuration menu
    Copy the full SHA
    ed4b49f View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2013

  1. 6040

    Change-Id: Ia1efbe35ac5f26f2a6d03fa505ae1982756541a7
    koush committed Oct 2, 2013
    6 Configuration menu
    Copy the full SHA
    388b651 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2013

  1. Allow sideload to be used in conjunction with other commands.

    Change-Id: I8b35a010e5fdb36cec991c56d5cd0def72865308
    koush committed Oct 5, 2013
    Configuration menu
    Copy the full SHA
    2620558 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2013

  1. 6.0.4.2

    Change-Id: If31be58f4ecb9ab95cca7af0cde5ce32f25c8573
    koush committed Oct 6, 2013
    Configuration menu
    Copy the full SHA
    00f56a4 View commit details
    Browse the repository at this point in the history
  2. 6.0.4.3

    Change-Id: I4ac989ed7efcfd8988057813a94e153d15aad3a3
    koush committed Oct 6, 2013
    Configuration menu
    Copy the full SHA
    9a786a7 View commit details
    Browse the repository at this point in the history
  3. Update events.c

    Array max is incorrectly calculated, can lead to missed events for ids > MAX_DEVICES
    jeboo committed Oct 6, 2013
    Configuration menu
    Copy the full SHA
    0624f20 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2013

  1. loki: Update to 2.0, Add support for LG G2 (and device trees in general)

    Change-Id: I5bbd6bd7239680f20880ac6fdf7744e2e47b39ac
    djrbliss authored and rmcc committed Oct 7, 2013
    Configuration menu
    Copy the full SHA
    8efc113 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2013

  1. 6.0.4.4

    Change-Id: Ia6a077ea71d9f03e90e039ce28eebe26d28a221f
    koush committed Oct 8, 2013
    2 Configuration menu
    Copy the full SHA
    6603219 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2013

  1. Merge "Add required libraries to list." into cm-10.2

    maniac103 authored and Gerrit Code Review committed Oct 10, 2013
    Configuration menu
    Copy the full SHA
    fbdc080 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2013

  1. Make "one confirm" the default action. Create .many_confirm to restore

    all the extra no options.
    
    Change-Id: I1362815b18f4f1aeecb7426689f38bf8f1f1f008
    gweedo767 committed Oct 12, 2013
    Configuration menu
    Copy the full SHA
    3144dc2 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2013

  1. Enable optional swipe based touch controls

    Enabled via BOARD_RECOVERY_SWIPE := true in BoardConfig.mk.
    Does not interfere with hardware keys, they continue to work.
    
    Patchset 1) Initial set
    Patchset 2) change Board Config variable
                don't add if BOARD_TOUCH_RECOVERY set
    Patchset 3) more ifdef's for all!
    Patchset 4) moved instructions
                even more stuff ifdef'ed
                no more abs name issues
    Patchset 5) clean up commit message
    Patchset 6) Move things to swipe.c to clean up ui.c
    Patchset 7) white space
    
    Change-Id: Id9844c38c31bd1985dd78a6d1dd81e71aa1f87f3
    gweedo767 committed Oct 14, 2013
    10 Configuration menu
    Copy the full SHA
    358d4f0 View commit details
    Browse the repository at this point in the history
  2. always do a clean reboot

    Change-Id: I576c054dc5ab6a080e499f26c8cb2a66ecb8ae42
    PhilZ-cwm6 committed Oct 14, 2013
    Configuration menu
    Copy the full SHA
    cd35208 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2013

  1. fix the following bugs to better handle new vold code

    - do not show partition sdcard entries for vold managed volumes until we have a valid blk_device2. That also caused a memory overflow
    - make it possible again to partition old style blk_device volumes
    - enable format voldmanaged devices to ext2 and ext3 with existing binaries by using optional blk_device2 (defined in recovery to NULL but not currently implemented by fs_mgr
    - fix unexpected behavior when in format/partition menus and insert an usb key (REFRESH return code)
    - ensure_path_unmounted() could not unmount /sdcard path on /data/media devices
    - format_device() and format_volume() properly handle /sdcard path argument on /data/media devices
    
    Change-Id: I2d5872690805e70175ba1346fd03978e3c2b879e
    PhilZ-cwm6 authored and Gerrit Code Review committed Oct 19, 2013
    4 Configuration menu
    Copy the full SHA
    f4c69bf View commit details
    Browse the repository at this point in the history
  2. Do not log to screen when mounting/unmounting sdcards.

    This will preserve logging for format/usb mount and for all USB OTG storage
    
    Change-Id: I0ab41632b4b97d23a43471755e21d9750c6cfa04
    PhilZ-cwm6 authored and Gerrit Code Review committed Oct 19, 2013
    1 Configuration menu
    Copy the full SHA
    b33e2c2 View commit details
    Browse the repository at this point in the history
  3. friendly write_recovery_version()

    Change-Id: I43ad3d2600b9529d726aac435f0091713786ac4f
    PhilZ-cwm6 authored and Gerrit Code Review committed Oct 19, 2013
    Configuration menu
    Copy the full SHA
    8eeed5f View commit details
    Browse the repository at this point in the history
  4. One less integer

    Change-Id: Ie94b28694c12182652464c4b8e61ab4c67905b07
    PhilZ-cwm6 authored and Gerrit Code Review committed Oct 19, 2013
    Configuration menu
    Copy the full SHA
    b745eda View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2013

  1. minui: Match API to AOSP

     * AOSP added a "bold" flag for image based fonts. Stay compatible
       with that API since there are other components using minui.
    
    Change-Id: I6c0f12f7f8f1df8dd27779b47883ccff96f2d291
    hyperb1iss authored and Gerrit Code Review committed Oct 22, 2013
    Configuration menu
    Copy the full SHA
    48ccdce View commit details
    Browse the repository at this point in the history
  2. Add guard makefile for allowing simple recovery build

    Change-Id: I6ec438f61cafce69c5083977c4330277f56aa060
    hyperb1iss committed Oct 22, 2013
    Configuration menu
    Copy the full SHA
    388e6a7 View commit details
    Browse the repository at this point in the history
  3. Revert "minui: Match API to AOSP"

     * Breaks every device because of their deprecated graphics.c overloads.
     * Revert until we clean this mess up.
    
    This reverts commit 48ccdce.
    hyperb1iss committed Oct 22, 2013
    Configuration menu
    Copy the full SHA
    2457cc0 View commit details
    Browse the repository at this point in the history
  4. Prevent scroll drifting in swipe recovery

    Change-Id: I8179607517f55b2941924b5726e0e57b012f8e18
    gweedo767 committed Oct 22, 2013
    Configuration menu
    Copy the full SHA
    110942f View commit details
    Browse the repository at this point in the history
  5. minui: Allow devices to blank/unblank using LCD backlight

    * Some devices rely on the LCD backlight to blank/unblank the display,
      support them by allowing a custom LCD backlight path to be used.
    
    Change-Id: I8406b4b55cd7a2afc4f8f8ba65de2c53b949489d
    intervigilium committed Oct 22, 2013
    Configuration menu
    Copy the full SHA
    0929066 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2013

  1. Merge "minui: Allow devices to blank/unblank using LCD backlight" int…

    …o cm-10.2
    rmcc authored and Gerrit Code Review committed Oct 24, 2013
    Configuration menu
    Copy the full SHA
    80b7826 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2013

  1. recovery: Add a proper CleanSpec.mk

     * Clean all the stuff that conflicts with AOSP recovery.
    
    Change-Id: I175329c446a014c451f4c0fc5a9a4472941afc10
    hyperb1iss committed Oct 26, 2013
    Configuration menu
    Copy the full SHA
    16faa40 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2013

  1. recovery: Clean ALL the things

     * We need to clean everything, otherwise nasty things happen when
       switching to alternate recovery module.
    
    Change-Id: I9ea88179f5329112c587b649328c1c83df0bd5d9
    hyperb1iss committed Oct 27, 2013
    Configuration menu
    Copy the full SHA
    652ef0b View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2013

  1. Revert "Revert "minui: Match API to AOSP""

    This reverts commit 2457cc0.
    rmcc committed Nov 5, 2013
    Configuration menu
    Copy the full SHA
    67d5c22 View commit details
    Browse the repository at this point in the history
  2. updater: introduce and set_metadata and set_metadata_recursive

    Introduce two new updater functions:
    
    * set_metadata
    * set_metadata_recursive
    
    Long term, these functions are intended to be more flexible replacements
    for the following methods:
    
    * set_perm
    * set_perm_recursive
    
    Usage:
    
      set_metadata("filename", "key1", "value1", "key2", "value2", ...)
      set_metadata_recursive("dirname", "key1", "value1", "key2", "value2", ...)
    
    Description:
    
    set_metadata() and set_metadata_recursive() set the attributes on a file/directory
    according to the key/value pairs provided. Today, the following keys are
    supported:
    
    * uid
    * gid
    * mode (set_perm_extd only)
    * fmode (set_perm_extd_recursive only)
    * dmode (set_perm_extd_recursive only)
    * selabel
    * capabilities
    
    Unknown keys are logged as warnings, but are not fatal errors.
    
    Examples:
    
    * set_metadata("/system/bin/netcfg", "selabel", "u:object_r:system_file:s0");
    
    This sets the SELinux label of /system/bin/netcfg to u:object_r:system_file:s0.
    No other changes occur.
    
    * set_metadata("/system/bin/netcfg", "uid", 0, "gid", 3003, "mode", 02750, "selabel", "u:object_r:system_file:s0", "capabilities", 0x0);
    
    This sets /system/bin/netcfg to uid=0, gid=3003, mode=02750,
    selinux label=u:object_r:system_file:s0, and clears the capabilities
    associated with the file.
    
    * set_metadata_recursive("/system", "uid", 0, "gid", 0, "fmode", 0644, "dmode", 0755, "selabel", "u:object_r:system_file:s0", "capabilities", 0x0);
    
    All files and directories under /system are set to uid=0, gid=0,
    and selinux label=u:object_r:system_file:s0. Directories are set to
    mode=0755.  Files are set to mode=0644 and all capabilities are cleared.
    
    Bug: 10183961
    Bug: 10186213
    Bug: 8985290
    Change-Id: Ifdcf186a7ed45265511dc493c4036e1ac5e3d0af
    nickkral authored and rmcc committed Nov 5, 2013
    Configuration menu
    Copy the full SHA
    00492db View commit details
    Browse the repository at this point in the history
  3. Don't apply permission changes to symlink.

    Bug: 10183961
    Bug: 10186213
    Bug: 8985290
    Change-Id: I57cb14af59682c5f25f1e091564548bdbf20f74e
    nickkral authored and rmcc committed Nov 5, 2013
    Configuration menu
    Copy the full SHA
    fc3dd71 View commit details
    Browse the repository at this point in the history
  4. 4.4 compatibility

    Add a copy of reboot.c from system/core/reboot, since it is no
    longer a cleanly usable tool in toolbox.
    minor API updates
    rmcc committed Nov 5, 2013
    Configuration menu
    Copy the full SHA
    232abdd View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2013

  1. verifier: update to support certificates using SHA-256

    Change-Id: Ifd5a29d459acf101311fa1c220f728c3d0ac2e4e
    Doug Zongker authored and chirayudesai committed Nov 7, 2013
    Configuration menu
    Copy the full SHA
    8c0c080 View commit details
    Browse the repository at this point in the history
  2. start healthd in recovery

    Change-Id: I16e3e0ddb8ca062431deb4be83c5be5eb786d76f
    toddpoynor authored and chirayudesai committed Nov 7, 2013
    Configuration menu
    Copy the full SHA
    e0a9047 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2013

  1. recovery: copy logs to cache more aggressively

    Copy logs to /cache immediately upon a package installation failure;
    don't wait for recovery to finish.  (If the user reboots without
    exiting recovery the "right" way, the logs never get copied at all.)
    
    Change-Id: Iee342944e7ded63da5a4af33d11ebc876f6c0835
    Doug Zongker authored and chirayudesai committed Nov 8, 2013
    2 Configuration menu
    Copy the full SHA
    5544cbb View commit details
    Browse the repository at this point in the history
  2. recovery: preserve recovery logs across cache wipes

    When doing a cache wipe or a factory reset (which includes a cache
    wipe), save any last* log files in the /cache/recovery directory and
    write them back after reformatting the partition, so that wiping data
    doesn't lose useful log information.
    
    Change-Id: I1f52ae9131760b5e752e136645c19f71b7b166ee
    Doug Zongker authored and chirayudesai committed Nov 8, 2013
    Configuration menu
    Copy the full SHA
    68edaf7 View commit details
    Browse the repository at this point in the history
  3. fix secure adb in recovery

    Recovery's init.rc was missing a line (added to the main system's
    init.rc in change Ic97fd464440ff4a29fc9da7ad15949ac5215ade3) is
    required for secure adb to work.
    
    Change-Id: Id79b94d2abb4cbe3cca7cabeb4bc5faf7205e56b
    Doug Zongker authored and chirayudesai committed Nov 8, 2013
    Configuration menu
    Copy the full SHA
    d411cba View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2013

  1. recovery: fix mounting voldmanaged volumes

    Starting from 4.4, voldmanaged volumes now have the mount point set
    to "auto", which recovery will have to handle.
    
    This is done by setting the mount point to /storage/[label], and
    modifying vold to mount to /storage/[label] instead of
    /mnt/media_rw/[label].
    
    Other explored, but dropped, options include:
     - Setting the mount point directly to /mnt/media_rw/[label] does not
       work because vold expects the volume to be in form of /storage/[label]
     - We can also also use a symlink to /mnt/media_rw/[label], but that
       requires mangling with mtab when checking which partitions are mounted
       and also breaks install scripts which make certain assumptions
       (particularly, aries)
    
    Requires http://review.cyanogenmod.org/53733
    
    Change-Id: I4d35fd81edbc9cbed1812caa5c93e5fb5384154a
    Signed-off-by: Chirayu Desai <cdesai@cyanogenmod.org>
    pawitp committed Nov 14, 2013
    Configuration menu
    Copy the full SHA
    f12882f View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2013

  1. Quickly install from last install path

    This patch stores the last path a zip was installed
    from and adds a menu option to jump there quickly
    when installing new zips.
    
    Patchset 1) initial commit
    Patchset 2) remove un-need call to dirname()
                increase install_menu_items[] size
    Patchset 3) removed use of stat
                more install_menu_items[] changes
    Patchset 4) removed unused variable info
    Patchset 5) removed unused variables
                general clean up
    
    Change-Id: I02d2fde26b375fad36dbab50ec2a8b8a52afc003
    gweedo767 authored and something15525 committed Nov 15, 2013
    Configuration menu
    Copy the full SHA
    2eb95fd View commit details
    Browse the repository at this point in the history
  2. unmount /data on user request for /data/media devices

    Change-Id: I86723215edb8c5d256bdd380ff1806729aa81a8f
    PhilZ-cwm6 authored and something15525 committed Nov 15, 2013
    Configuration menu
    Copy the full SHA
    54c6024 View commit details
    Browse the repository at this point in the history
  3. install zip menu fixes:

        * fix memory overflow if num_extra_volumes = MAX_NUM_MANAGED_VOLUMES
        * simpler to manage install zip menu
        * better ordered listing of volume storage paths
    
    Change-Id: I11d8f76bfe4a60623842810b7bdddd18e5cb99f9
    PhilZ-cwm6 authored and something15525 committed Nov 15, 2013
    Configuration menu
    Copy the full SHA
    9cc0672 View commit details
    Browse the repository at this point in the history
  4. clean up reboot to main system and remove old useless variables

    Change-Id: Idf8cda0639e3fa5e6073b196a85899c57ca18e9b
    PhilZ-cwm6 authored and something15525 committed Nov 15, 2013
    Configuration menu
    Copy the full SHA
    10c0a94 View commit details
    Browse the repository at this point in the history
  5. Swipe: make swipe thresholds uniform across devices

    Devices with high screen densities require very small swipes to activate
    a key. Make the swipe distance uniform across devices by using the screen
    density from ro.sf.lcd_density and activating a key based on the following
    thresholds:
      Left/Right swipe: 0.5in
      Up/Down swipe: 0.3in
    
    Change-Id: I39fe4b1007a4e4784d3d7d26a392d78b1adf9462
    mdmower authored and something15525 committed Nov 15, 2013
    Configuration menu
    Copy the full SHA
    5cd054b View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2013

  1. 6.0.4.5

    Change-Id: I4c67db56928243aa75db950c70ad80483a133fec
    koush committed Nov 20, 2013
    Configuration menu
    Copy the full SHA
    6ad98a3 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2013

  1. Merge "Quickly install from last install path" into cm-11.0

    gweedo767 authored and Gerrit Code Review committed Nov 21, 2013
    Configuration menu
    Copy the full SHA
    6da91b2 View commit details
    Browse the repository at this point in the history
  2. Merge "unmount /data on user request for /data/media devices" into cm…

    …-11.0
    gweedo767 authored and Gerrit Code Review committed Nov 21, 2013
    Configuration menu
    Copy the full SHA
    8acddae View commit details
    Browse the repository at this point in the history
  3. Merge "install zip menu fixes: * fix memory overflow if num_extra_vol…

    …umes = MAX_NUM_MANAGED_VOLUMES * simpler to manage install zip menu * better ordered listing of volume storage paths" into cm-11.0
    gweedo767 authored and Gerrit Code Review committed Nov 21, 2013
    Configuration menu
    Copy the full SHA
    e70b903 View commit details
    Browse the repository at this point in the history
  4. Merge "clean up reboot to main system and remove old useless variable…

    …s" into cm-11.0
    gweedo767 authored and Gerrit Code Review committed Nov 21, 2013
    Configuration menu
    Copy the full SHA
    06ec6f4 View commit details
    Browse the repository at this point in the history
  5. Merge "Swipe: make swipe thresholds uniform across devices" into cm-11.0

    gweedo767 authored and Gerrit Code Review committed Nov 21, 2013
    Configuration menu
    Copy the full SHA
    dd74441 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2013

  1. Don't return immediately from reboot commands.

    The reboot commands return too fast, interfering with testing.
    Add a pause(), which will allow the device time to complete the
    reboot.
    
    Change-Id: Ie9cc6eea67b7ff662ec71ea2329cbb94f8d55404
    Bug: 11369303
    nickkral authored and mikeNG committed Dec 11, 2013
    Configuration menu
    Copy the full SHA
    11b8326 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2013

  1. Enable incremental builder to find files that moved, and

    try to process them via patch + rename, instead of
    delete + add.
    
    b/11437930
    
    Change-Id: I984349fbc9a8dac4379e00c0d66fc7d22c4eb834
    Michael Runge authored and chirayudesai committed Dec 12, 2013
    Configuration menu
    Copy the full SHA
    1a144b0 View commit details
    Browse the repository at this point in the history
  2. Support recoveries without CONFIG_EXT4_FS_XATTR

    If for some reason the recovery's kernel can't be replaced and has
    no support for xattrs, use this. Chances are the system will break
    unless you know what you're doing and compensate on the Android side
    
    Change-Id: I09ff2cbd0ae68ec4f4b2a2e26acb6b0bc8b3569a
    rmcc committed Dec 12, 2013
    Configuration menu
    Copy the full SHA
    3a03519 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2013

  1. Remove redundant variable definition

    The same Volume variable is defined with two names in the same scope.
    Merge the names and remove one of the definitions.
    
    Change-Id: I021697b42791bc6323c5fa0d9704d27ecfe2c8c1
    (cherry picked from commit d98fabe)
    PhilZ-cwm6 authored and mdmower committed Dec 23, 2013
    Configuration menu
    Copy the full SHA
    af7574f View commit details
    Browse the repository at this point in the history
  2. Do data/media checks first in format_device()

    Wait to define a Volume variable until data/media checks are done
    in case the Volume definition is unnecessary.
    
    Change-Id: I6912b1b2a473ea8737ea3e415e9a0172bb35eff1
    (cherry picked from commit dd81277)
    PhilZ-cwm6 authored and mdmower committed Dec 23, 2013
    Configuration menu
    Copy the full SHA
    4219d88 View commit details
    Browse the repository at this point in the history
  3. Merge "Remove redundant variable definition" into cm-11.0

    gweedo767 authored and Gerrit Code Review committed Dec 23, 2013
    Configuration menu
    Copy the full SHA
    7083b50 View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2013

  1. recovery: Add support for performance control

     * Recovery will now set "recovery.perf.mode" to 1 before a
       backup/restore operation begins, and will set it back to 0
       when the operation is complete. It will also do this during
       package installations.
     * This allows devices to boot into recovery in a low-power mode,
       and bring up more cores and adjust other settings. Pigz is
       multithreaded, and enabling all cores vastly improves performance of
       compressed backups.
     * Device maintainers who wish to use this should configure their
       init.recovery script to trigger off of this property.
    
    Change-Id: I174e45215ad1cd34a34b1af4486a64fb6e54134b
    hyperb1iss committed Dec 30, 2013
    Configuration menu
    Copy the full SHA
    5158c0a View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2013

  1. Define paths for recovery settings files in a separate header

    Also, use get_primary_storage_path() to define the locations of .no_confirm,
    .many_confirm, and .hidenandroidprogress instead of hard-coding /sdcard/.
    
    Change-Id: I50442a226af1d102786c833c0b53c25bf63c67a6
    (cherry picked from commit bd0fe45)
    PhilZ-cwm6 authored and mdmower committed Dec 31, 2013
    Configuration menu
    Copy the full SHA
    a46e1bd View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2014

  1. Bump recovery to 6.0.4.6

    Change-Id: Id2b373e5a356e7eaa8694e5d0300dff860762061
    gweedo767 committed Jan 1, 2014
    Configuration menu
    Copy the full SHA
    cd2f376 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2014

  1. Merge "Define paths for recovery settings files in a separate header"…

    … into cm-11.0
    gweedo767 authored and Gerrit Code Review committed Jan 2, 2014
    Configuration menu
    Copy the full SHA
    00e7de3 View commit details
    Browse the repository at this point in the history
  2. Hide install icon after success as it is done for regular zip installs

    Change-Id: I932a6ecff0fb64913842c1ea4624021b476f7d46
    PhilZ-cwm6 authored and hyperb1iss committed Jan 2, 2014
    Configuration menu
    Copy the full SHA
    bb753fe View commit details
    Browse the repository at this point in the history
  3. Nandroid menu fixes:

    - fix memory overflow bug if vold managed volumes reach MAX_NUM_MANAGED_VOLUMES.
    - easier editing: this completes previous two commits to clean up Install Zip menu and Advanced menu
    
    Change-Id: I349cc7b04878b92d902e1ee826d9b4c5bc77cf83
    (cherry picked from commit a88b701)
    PhilZ-cwm6 authored and hyperb1iss committed Jan 2, 2014
    Configuration menu
    Copy the full SHA
    7f254e1 View commit details
    Browse the repository at this point in the history
  4. Free up memory from file menu pointers

    * Cleanup sub-filemenu pointers after their results are copied.
    * Cleanup file pointers after all operations have been performed on
    the file.
    
    Change-Id: Ie6c482c5ffddd7ebebdc99bbe8ae856e53e1405f
    (cherry picked from commit 5360b52)
    PhilZ-cwm6 authored and hyperb1iss committed Jan 2, 2014
    Configuration menu
    Copy the full SHA
    741c7cb View commit details
    Browse the repository at this point in the history
  5. Do not modify original items pointer when filtering NULL entries

    get_filtered_menu_selection currently modifies the items menu passed
    to it. This can be problematic if the items menu is needed later without
    any filtering of NULL entries. Instead, let's modify a copy of the items
    menu, leaving the original intact.
    
    Change-Id: Ief6f538441ea78fcd8eba3a815354f06bda849a0
    PhilZ-cwm6 authored and hyperb1iss committed Jan 2, 2014
    Configuration menu
    Copy the full SHA
    408fdf1 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2014

  1. Loki updates:

    * update to v2.1 + sync to latest sources
    * fix broken LG devices + add new ones
    * proper code for recovery
    * do not lokify after a failed adb install
    * use original loki format sources for easier future updates
    * fix all compiler warnings
    
    Change-Id: I4f19edc492a1105c2b91c579f295876a4dc313b2
    PhilZ-cwm6 committed Jan 10, 2014
    Configuration menu
    Copy the full SHA
    8324241 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2014

  1. recovery: Fix the configuration of default_backup_format

    I believe that this was missed (and therefore broken) in this commit:
    
    commit a46e1bd
    Author: philz-cwm6 <phytowardt@gmail.com>
    Date:   Sun Dec 1 22:26:45 2013 +0100
    
        Define paths for recovery settings files in a separate header
    
        Also, use get_primary_storage_path() to define the locations of .no_conf
        .many_confirm, and .hidenandroidprogress instead of hard-coding /sdcard/
    
        Change-Id: I50442a226af1d102786c833c0b53c25bf63c67a6
        (cherry picked from commit bd0fe45)
    
    Change-Id: Idee6d712ac55cdd4b2690011a48226af2ed20d96
    crpalmer authored and mdmower committed Jan 11, 2014
    Configuration menu
    Copy the full SHA
    7f3e0d6 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2014

  1. Clean up c formatting - 1

    There are several inconsistent coding styles in CWM source from years of
    contributions. I tried to find parameters for 'indent' which change the
    least amount of code but outputs a style most will feel at home with.
    
    Most of these formatting changes come from:
    indent -br -brf -brs -cdw -ce -i4 -l160 -nbap -nbc -nbfda -ncs -npcs \
     -npsl -nut -ts4 file.c
    
    Some manual modifications after running indent:
    1) a()? b : c    --->    a() ? b : c
    2) retain existing pointer definition styles
    3) indentation of structs
    4) change { } wrapping of cases in switch statements
    
    Change-Id: I7f34a2e769a9a3f397ad36b8e25676424780aa00
    mdmower committed Jan 12, 2014
    Configuration menu
    Copy the full SHA
    186f7bc View commit details
    Browse the repository at this point in the history
  2. su: Update for latest su daemon compatibility

    Change-Id: I6d2f36d9f01d7bc6004724458875b3dce850d00e
    rmcc committed Jan 12, 2014
    Configuration menu
    Copy the full SHA
    efec57a View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2014

  1. Merge "Clean up c formatting - 1" into cm-11.0

    gweedo767 authored and Gerrit Code Review committed Jan 14, 2014
    Configuration menu
    Copy the full SHA
    3db302b View commit details
    Browse the repository at this point in the history
  2. minui: do not use flexible array initialization

    Avoiding the use of gnu extensions improves code portability
    
    Change-Id: I441a49ce08b6ecb1d735ca453552fa92026c5016
    synergydev authored and mdmower committed Jan 14, 2014
    Configuration menu
    Copy the full SHA
    824447d View commit details
    Browse the repository at this point in the history
  3. Remove "Go Back" option from verify root and recovery options

    These options only show when you are exiting recovery and there
    is no where to "go back" to.
    
    Patchset 1) initial
    Patchset 2) change to ui_set_showing_back_button()
    Patchset 3) revert settings before returning
    
    Change-Id: I0aee8d0fbce9a5ff415b74b4a16e0d416042e307
    gweedo767 authored and PhilZ-cwm6 committed Jan 14, 2014
    Configuration menu
    Copy the full SHA
    e216a26 View commit details
    Browse the repository at this point in the history
  4. Merge "Remove "Go Back" option from verify root and recovery options"…

    … into cm-11.0
    gweedo767 authored and Gerrit Code Review committed Jan 14, 2014
    Configuration menu
    Copy the full SHA
    7a78235 View commit details
    Browse the repository at this point in the history
  5. do not use static type

    Change-Id: I7baff2106a98d5246ea2ad619670dcb5575afeab
    PhilZ-cwm6 committed Jan 14, 2014
    Configuration menu
    Copy the full SHA
    53b6f08 View commit details
    Browse the repository at this point in the history
  6. remove unused variable

    Change-Id: Idb89503140a6a3385fe17990e3484fe71883885f
    PhilZ-cwm6 committed Jan 14, 2014
    Configuration menu
    Copy the full SHA
    df59bcf View commit details
    Browse the repository at this point in the history
  7. do not error on missing sd-ext when wiping dalvik cache

    Change-Id: I4cf817f05bd708fe2b7d6a5f20aab6ef2413d117
    PhilZ-cwm6 authored and mdmower committed Jan 14, 2014
    Configuration menu
    Copy the full SHA
    d7faa36 View commit details
    Browse the repository at this point in the history
  8. Fix potential chmod failures

    1) ensure_directory: only chmod if directory exists or is created
    2) nandroid_backup: if the backup is stored on a different volume than
    /sdcard, then these chmod commands will fail. Correct the backup paths.
    
    Change-Id: Ia54c27fdf861c90a4de86346893f334420060090
    mdmower committed Jan 14, 2014
    Configuration menu
    Copy the full SHA
    b633db3 View commit details
    Browse the repository at this point in the history
  9. Add a copy of the updater binary to the recovery resources

    * We may need to force the use of a compatible binary if the one
    in the update package is suspected to be bad
    
    Change-Id: I71505de51a9600c08ccfe8639385a7b2f2bfe2a2
    rmcc committed Jan 14, 2014
    Configuration menu
    Copy the full SHA
    1153ae5 View commit details
    Browse the repository at this point in the history
  10. install: Support downgrade scenarios

    Android 4.4 changed the in-RAM format of the property data, making
    update binaries built with older versions unable to read it. This
    makes any attempt to read a property return empty, and fail any
    prop-related assertions.
    
    If we identify an attempt to run a binary that has a common pre-4.4
    edify command ("set_perm_recursive") but not one of the new ones
    ("set_metadata_recursive"), assume it's a pre-4.4 binary and replace
    it with a builtin fallback
    
    Change-Id: Ic483c816d772c32266585b669f59c66e77afcebb
    rmcc committed Jan 14, 2014
    3 Configuration menu
    Copy the full SHA
    a0f0fc0 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2014

  1. install: Fix possible overflow condition in the updater "scanner"

    Don't just reset the position pointer after a failure, reset it
    after a successful match too, to prevent a followup loop from poking
    beyond the limit of the match arrays. (if matchmeta is hit before
    matchperm)
    
    Change-Id: I7842798597eb1aee79b4c770f1eeca131020483d
    rmcc committed Jan 15, 2014
    Configuration menu
    Copy the full SHA
    809de0b View commit details
    Browse the repository at this point in the history
  2. Merge "minui: do not use flexible array initialization" into cm-11.0

    rmcc authored and Gerrit Code Review committed Jan 15, 2014
    Configuration menu
    Copy the full SHA
    a874b5f View commit details
    Browse the repository at this point in the history
  3. correctly mount tmpfs as /tmp in recovery

    The syntax of init's mount command changed in April 2008 but
    recovery's init.rc was never updated, so recovery's /tmp has been on
    the root fs all this time.  Fix.
    
    Also add /system/bin to the PATH in recovery, which is handy for
    debugging.
    
    Change-Id: I39f7ae435a8ce3bad691e4b7c307db0bd8de1302
    Doug Zongker authored and mdmower committed Jan 15, 2014
    Configuration menu
    Copy the full SHA
    1404ae2 View commit details
    Browse the repository at this point in the history
  4. Merge "remove unused variable" into cm-11.0

    mdmower authored and Gerrit Code Review committed Jan 15, 2014
    Configuration menu
    Copy the full SHA
    ebed461 View commit details
    Browse the repository at this point in the history
  5. install: Really fix possible overflow condition in the updater "scanner"

    Match new recovery format indenting
    
    Change-Id: I02b703861dbc204b6613a93926fe9e4461f17ff5
    PhilZ-cwm6 committed Jan 15, 2014
    Configuration menu
    Copy the full SHA
    567585c View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2014

  1. Use cat for adb backup.

    Change-Id: I4fb9f20e42bbc4883a224e24592bb662d5b4577d
    koush committed Jan 17, 2014
    Configuration menu
    Copy the full SHA
    c90b00a View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2014

  1. Fix up bu restore.

    Change-Id: Ib87907d1a02f891210a01dbdc1439b6a426efb19
    koush committed Jan 22, 2014
    1 Configuration menu
    Copy the full SHA
    d70c1f3 View commit details
    Browse the repository at this point in the history
  2. 6047

    Change-Id: I76ea2c7aab15583f42486338a75c83f09036dff5
    koush committed Jan 22, 2014
    Configuration menu
    Copy the full SHA
    12de713 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2014

  1. New mount/format capabilities function for Mounts menu

    This is largely a re-factoring of the code to populate the mountable and
    formattable partitions on the "Mounts and Storage Menu". The if/else
    logic is replaced by a mount/format capabilities function with
    pre-defined logic for some fs_types and /partitions. This should be much
    easier to maintain.
    
    The original ro.cwm.forbid_format property is still supported, though it
    is no longer necessary to include any of
     /misc  /radio  /bootloader  /recovery  /efs  /wimax
    in the property as they are by default always excluded from the
    mountable and formattable partitions.
    
    A new property ro.cwm.forbid_mount is introduced to always exclude
    partitions from the mountable partitions.
    
    Example:
     ro.cwm.forbid_format="/firmware,/whatevs"
     ro.cwm.forbid_mount="/firmware,/blah"
    
    Result:
     /firmware will be excluded as either mountable or formattable
     /whatevs will be excluded as formattable, but still is mountable
     /blah will be excluded as mountable, but is still formattable
    
    Change-Id: Icfca984e2e25c82c1ddf67b6c32fd0473a8a0094
    mdmower authored and hyperb1iss committed Jan 28, 2014
    3 Configuration menu
    Copy the full SHA
    d75ea2d View commit details
    Browse the repository at this point in the history
  2. Enable perf mode only in tar(.gz) compress/extract wrappers

    Performance mode is still enabled during install of update packages
    
    Change-Id: I3256b9c93050f5240aa9b7c70211da7dcb53fb3a
    PhilZ-cwm6 authored and hyperb1iss committed Jan 28, 2014
    Configuration menu
    Copy the full SHA
    6431d59 View commit details
    Browse the repository at this point in the history
  3. Do not use performance mode during package install

    this was causing a busy /system when usb cable is plugged in during install on some devices
    
    Change-Id: Ief440ba3a32e9955a1244a9a93a5ac844176d13d
    PhilZ-cwm6 authored and hyperb1iss committed Jan 28, 2014
    Configuration menu
    Copy the full SHA
    2bb5680 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2014

  1. recovery: add overlay interface for recovery mode

    Pan display needs FB allocation from driver and
    since it is removed from driver, switching to overlay
    interfaces in recovery mode. Basically forking out
    the overlay and pan_display path in separate files.
    
    Change-Id: I60f13e54befaa6da77e6c4d23399835509b41333
    Radhika Ranjan Soni authored and intervigilium committed Feb 4, 2014
    2 Configuration menu
    Copy the full SHA
    fa2288a View commit details
    Browse the repository at this point in the history
  2. recovery: Add support for split display

    Configure LEFT and RIGHT mixer separately
    to drive high resolution display.
    
    Change-Id: I3a3e6bffe6373caa991d9847dae6f2f4d8d20c48
    Pawan Kumar authored and intervigilium committed Feb 4, 2014
    Configuration menu
    Copy the full SHA
    ad6c7e2 View commit details
    Browse the repository at this point in the history
  3. recovery: Fix compilation for non MSM target

    Make mdp5 version variable scope valid for non-MSM target.
    
    Change-Id: Ib02c7d8f79c6d29e8f14b58810f628c3a80d416d
    Pawan Kumar authored and intervigilium committed Feb 4, 2014
    Configuration menu
    Copy the full SHA
    6501cd9 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2014

  1. Fix overlay inclusion on MSM

    Don't determine that target has an overlay if not using QCOM_BSP,
    since most of the required functions will be dummied out
    
    Change-Id: Ic2605baa00e629351bafa3f941c92f32d2155a4d
    rmcc committed Feb 6, 2014
    Configuration menu
    Copy the full SHA
    56827c6 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2014

  1. Fix mkfs.f2fs calling in roots

    Change-Id: I4991732be70a7e9ae7e87fa1395e89b315717049
    SkrilaxCZ authored and dhacker29 committed Feb 8, 2014
    Configuration menu
    Copy the full SHA
    3245208 View commit details
    Browse the repository at this point in the history
  2. Fix recovery reboot command by adding the init sys.powerctl property …

    …control
    
    Change-Id: I57c4c39135eb690340c933b5f696c70020f7b31d
    PhilZ-cwm6 committed Feb 8, 2014
    Configuration menu
    Copy the full SHA
    66d63f7 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2014

  1. fix display current path when navigating backward in folders

    do not use static pointer in re-entrant function
    
    clean up unused variable
    
    Change-Id: I103f5de7561d1ffcdb6893f7a704ab906ee2b31d
    PhilZ-cwm6 committed Feb 12, 2014
    Configuration menu
    Copy the full SHA
    4d0e795 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2014

  1. fix compiler warning

    Change-Id: Id552abe520856cc651582476b192d0fefa76b6d3
    PhilZ-cwm6 authored and mdmower committed Feb 13, 2014
    Configuration menu
    Copy the full SHA
    f870897 View commit details
    Browse the repository at this point in the history
  2. Fix mass storage in recovery

    The proper order is mass_storage,adb. Some systems cannot recognize
    the mass storage otherwise.
    
    Change-Id: I7e240210adef52de70776353a3426e3fc3f1b5bc
    pawitp committed Feb 13, 2014
    Configuration menu
    Copy the full SHA
    c036d70 View commit details
    Browse the repository at this point in the history
  3. Merge "Fix mass storage in recovery" into cm-11.0

    pawitp authored and Gerrit Code Review committed Feb 13, 2014
    Configuration menu
    Copy the full SHA
    51c7f50 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2014

  1. Revert "Don't return immediately from reboot commands."

    This reverts commit 11b8326.
    hyperb1iss committed Feb 23, 2014
    Configuration menu
    Copy the full SHA
    c71a2af View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2014

  1. nandroid: Allow tar backups of yaffs2 partitions

    Change-Id: I33dca9864b043527640c6586751c9399bc3fb156
    mikeNG authored and hyperb1iss committed Feb 25, 2014
    Configuration menu
    Copy the full SHA
    6c3cd5b View commit details
    Browse the repository at this point in the history
  2. clean up unused variables and fix compiler warnings

    Change-Id: I3c3e30d5e27706d59be78ec935e8a095ba4ab0c0
    PhilZ-cwm6 authored and hyperb1iss committed Feb 25, 2014
    Configuration menu
    Copy the full SHA
    d5c4302 View commit details
    Browse the repository at this point in the history
  3. update-binary: Add collect_backup_data function

    Add a function to identify files being backed up during an update so
    they can be managed when applying patches.
    
    Change-Id: Ied18d569a396a7324148d6a93809683673a19403
    rmcc authored and Brint E. Kriebel committed Feb 25, 2014
    Configuration menu
    Copy the full SHA
    5b2c6d1 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2014

  1. fix fread buffer has no terminating null string

    do not allocate memory where it is not needed
    
    Change-Id: I8ab4f7d36173c59aa74a590581a0f7027b7d8a69
    PhilZ-cwm6 committed Mar 12, 2014
    Configuration menu
    Copy the full SHA
    919077f View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2014

  1. use different USB PIDs for adb and adb+ums modes

    Commit ad054c6 made it so that
    the same VID/PID pair was used for both adb and composite adb+ums
    modes, which prevents the installation of drivers in Windows so that
    either mode can be supported.
    
    This uses the original VID/PID pair (18d1/d001) for adb+ums and
    uses 18d1/d002 for adb.
    
    Change-Id: I190c821995b7fe9e8177354aec70bd02c114d122
    jcsullins committed Mar 16, 2014
    Configuration menu
    Copy the full SHA
    1d42eef View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2014

  1. use correct USB PID for adb and new PID for adb+ums

    The previous commit assumed that the correct PID for adb+ums
    was 18d1/d001. That is incorrect. That VID/PID pair is widely
    used for non-composite adb function in recovery. Since there is
    no "generic Android" VID/PID allocated for adb+ums, we will
    "unofficially reserve" an unused one for that purpose: 18d1/d003.
    
    Change-Id: I6ae095569186c1e854f10b803f786d8c1ae7fb93
    jcsullins committed Mar 17, 2014
    Configuration menu
    Copy the full SHA
    8c4b6a9 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2014

  1. recovery: Compatibility with upstream minui change

     * minui is changing a lot upstream. We won't merge it here, but
       it's being used in another branch. Add compatibility in CWM
       so that we can move forward.
    
    Change-Id: I8a3289df2d7bc569229b7212c22adb90d4e76ffd
    hyperb1iss committed Mar 19, 2014
    Configuration menu
    Copy the full SHA
    5d47309 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2014

  1. remove unused variable

    Change-Id: I0f66df38964baccd1c8e58fa7006cb9db5fc6df5
    PhilZ-cwm6 committed Mar 23, 2014
    Configuration menu
    Copy the full SHA
    10a36da View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2014

  1. Make legacy prop environment available to recovery

    Google changed the in-memory format for storing properties in 4.4.
    Zips containing an older update-binary expect the old format, otherwise
    assertions on properties in the update script fail.
    
    This is just enough of the old property service to copy the properties
    to the legacy format before running the updater.
    
    Note: this commit has been amended from the original version by _that.
    1) It has been trimmed to only provide the legacy prop environment.
    Edits to install.c are done in a separate commit from scratch to
    maintain apache2 licensing in this repo.
    2) Return values are given to check whether prop environment was setup
    successfully.
    3) Slight formatting changes.
    
    Change-Id: I1fa9f96fa7a62c7eaba852e4d62e793cd6818907
    that1 authored and mdmower committed Mar 25, 2014
    Configuration menu
    Copy the full SHA
    2371d9d View commit details
    Browse the repository at this point in the history
  2. Use legacy property environment if old update-binary

    If an installation package contains an update-binary that is
    incompatible with the kitkit bionic property environment, set a legacy
    property environment. This removes the need for a fallback update-binary
    which is often incompatible with older update-scripts.
    
    Method of setting prop environment based on cyanogen's commit:
    "Set ANDROID_PROPERTY_WORKSPACE in exec." Tip to rename
    /dev/__properties__ so that the legacy property workspace is actually
    used comes from conversation with _that.
    
    Change-Id: I5268f67537ad03c077fa05cbb98dfd4da194ffb8
    mdmower committed Mar 25, 2014
    Configuration menu
    Copy the full SHA
    da36597 View commit details
    Browse the repository at this point in the history
  3. Revert "Add a copy of the updater binary to the recovery resources"

    No longer necessary when a legacy property environment is available.
    
    This reverts commit 1153ae5.
    
    Change-Id: I9726f45d896eb3e14b80e2ddf1df5e6acea83323
    mdmower committed Mar 25, 2014
    Configuration menu
    Copy the full SHA
    69ff8b9 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2014

  1. Only init legacy property environment once

    Installing multiple pre-kitkat packages in succession may cause
    legacy_properties_init() to fail. Only initialize the workspace once and
    then just do path renames for all subsequent requests to enable legacy
    props.
    
    Change-Id: Ida528aca9322f77935411b270fdf182828abab8a
    mdmower committed Mar 27, 2014
    Configuration menu
    Copy the full SHA
    ba6b5e8 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2014

  1. loki updates:

    - fix fstat could fail on getting open partition size
    - sync latest sources to support new devices
    - match original loki upsteram sources
    - fix all loki_recovery compiler warnings
    - one binary for all functions patch/flash/find
    - Makefile and Android.mk to compile new multi-binary tool or lib
    Change-Id: I050a673f39b32136c817b69c00939818696e2c56
    PhilZ-cwm6 authored and mdmower committed Mar 30, 2014
    Configuration menu
    Copy the full SHA
    797fbc5 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2014

  1. allow using custom recovery_ui.c

    Change-Id: Ib89c3fc7783dcb384af0964892ce5b200f5433a5
    M1cha committed Mar 31, 2014
    Configuration menu
    Copy the full SHA
    b6230df View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2014

  1. mounts: add find_mounted_volume_by_real_node

    this function finds a mounted volume by the real device node(resolved symlink)
    
    Change-Id: Iff28cf7dd088f73248e23d99bf321f2bb61e1cc2
    M1cha committed Apr 7, 2014
    Configuration menu
    Copy the full SHA
    f91ee1c View commit details
    Browse the repository at this point in the history
  2. add basic support for native dualboot

    Change-Id: I3808c5e77007d27311d7dfe0e3b1f52bc01a9794
    M1cha committed Apr 7, 2014
    Configuration menu
    Copy the full SHA
    626f070 View commit details
    Browse the repository at this point in the history
  3. allow changing menu color

    Change-Id: I0b78c1ec93fc13796f49c275c308192cf744aa61
    M1cha committed Apr 7, 2014
    Configuration menu
    Copy the full SHA
    3c9f03c View commit details
    Browse the repository at this point in the history
  4. dualboot: add truedualboot support

    Change-Id: I33dec96da48700307550be05807a6b78d5e8b08c
    M1cha committed Apr 7, 2014
    Configuration menu
    Copy the full SHA
    867f468 View commit details
    Browse the repository at this point in the history
  5. dualboot: add menu item under advanced to set bootmode

    - also refresh dualboot entries everytime before calling 'get_filtered_menu_selection'
      to sync changes
    
    Change-Id: I717cef001733d5edf1edea73ecc724edb1fd3fa2
    M1cha committed Apr 7, 2014
    Configuration menu
    Copy the full SHA
    47f8bb0 View commit details
    Browse the repository at this point in the history
  6. dualboot: handle 'format_device'

    Change-Id: I674608c2402f618502dee75148eb13b8836bb3e9
    M1cha committed Apr 7, 2014
    Configuration menu
    Copy the full SHA
    3dafc75 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2014

  1. Version 6.0.4.8

    Change-Id: I05cc1417f906cf2d3696bee457f4b095ee201a85
    mdmower committed Apr 10, 2014
    1 Configuration menu
    Copy the full SHA
    613db95 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2014

  1. Recovery: swap XY on swipe controls

    Devices such as the note 8 have a rotated screen and
    need X and Y swapped to function right with swipe controls
    
    Change-Id: I0ee83f9a97f523182dd81a2a349ae5e05ca34fcf
    sbrissen committed Apr 22, 2014
    Configuration menu
    Copy the full SHA
    569fe1f View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2014

  1. Prohibit mounting/formatting swap partitions in recovery

    You can't mount a swap partition, and the recovery doesn't support
    formatting one at the moment.  Therefore, ensure that swap partitions
    don't appear as useless, confusingly-named entries in the mounts menu.
    
    Change-Id: Iefc33e6b0b09deb9effd2e8a93fb825af4a338a3
    steven676 authored and mdmower committed Apr 24, 2014
    Configuration menu
    Copy the full SHA
    d3c8d42 View commit details
    Browse the repository at this point in the history
  2. Fix verify_root_and_recovery menu selections

    Because of the way default_recovery_keys.c is setup, hiding the back
    button causes the POWER and SEARCH keys to no longer work as selection
    keys.
    
    - Remove old legacy unused code
    - Keep the device_reboot_now API if one needs to use it
    - Hide the Go Back button from confirm menu
    
    Change-Id: I517690a7b9f85ccc778f2bb6acbf967c1416d1fc
    PhilZ-cwm6 authored and mdmower committed Apr 24, 2014
    Configuration menu
    Copy the full SHA
    2cc2297 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2014

  1. shell pipe: set exit code to error if any pipe element fails

      * this was causing backup state to be reported good while tar command failed
    
    Change-Id: Iaa9728213bbe44a8a8622e2c0ef1ad9548ccabb7
    PhilZ-cwm6 committed Apr 27, 2014
    Configuration menu
    Copy the full SHA
    cf95801 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2014

  1. cwm: Remove hardcoded paths

    Change-Id: I1874f0bbbaa81e0eea507e9d9444307191eeb753
    tdmcyngn committed Apr 29, 2014
    Configuration menu
    Copy the full SHA
    6545c82 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2014

  1. cwm: Honor recovery variant

    Change-Id: I7fd28c162ea711cecb3ef75db6a1cb5cbcef453a
    tdmcyngn committed May 8, 2014
    Configuration menu
    Copy the full SHA
    3edda44 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2014

  1. Keep 'show log' on screen until user dismisses it

    Also increase log output to 24 lines
    
    Change-Id: I11381e347c2238f2058ea97f9143476ec3a80cf6
    mdmower committed May 9, 2014
    Configuration menu
    Copy the full SHA
    bb6ed28 View commit details
    Browse the repository at this point in the history
  2. dedupe: backup & restore selinux contexts.

    - patch set 2: remove the comment line, adjust freecon.
    
    Change-Id: Ib691146f5e4d33014aac2b540aefc06657818eb4
    xiaolu authored and mdmower committed May 9, 2014
    Configuration menu
    Copy the full SHA
    7a2c3cf View commit details
    Browse the repository at this point in the history
  3. create /data/media directory after internal storage is wiped

    This will prevent denial to read/write from internal storage under some circumstances
    
    Change-Id: I10ee3dcdbe4ce7063f534f59a5e09c2ec33c1b7a
    PhilZ-cwm6 committed May 9, 2014
    Configuration menu
    Copy the full SHA
    7d53181 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2014

  1. format non vold extra storage to ext4 when no selinux context is defined

    Change-Id: I810d071c53d570ff0c53ea3a69e4225b4df81db1
    PhilZ-cwm6 authored and mdmower committed May 16, 2014
    Configuration menu
    Copy the full SHA
    8156541 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2014

  1. do not include dead code

    This code has not been used for over 3yrs. Developers interested in its
    origins, reference commit 4196e0f .
    
    Change-Id: I588fa2fe4b92fa1508699a904d2be18b83b471c6
    PhilZ-cwm6 authored and mdmower committed Jun 4, 2014
    Configuration menu
    Copy the full SHA
    6b97d5e View commit details
    Browse the repository at this point in the history
  2. cleanup unused code

    reset_ext4fs_info() is always called by make_ext4fs()
    
    Change-Id: I48e75a7c55d21e4386bffa15d81aaeb702477df7
    PhilZ-cwm6 authored and mdmower committed Jun 4, 2014
    Configuration menu
    Copy the full SHA
    5ef9747 View commit details
    Browse the repository at this point in the history
  3. fix null struct exception

    Change-Id: I9bf32849598c0725e2ce9a8a441bc41c6119c2bf
    PhilZ-cwm6 authored and mdmower committed Jun 4, 2014
    Configuration menu
    Copy the full SHA
    7051738 View commit details
    Browse the repository at this point in the history
  4. cleanup preserve data/media workaround

    Change-Id: I634c9229368c6c8ea20cafb47c8c0403cae2be6c
    PhilZ-cwm6 authored and mdmower committed Jun 4, 2014
    Configuration menu
    Copy the full SHA
    b4da686 View commit details
    Browse the repository at this point in the history
  5. Fix 'media' exception:

    In CWM, a bug was preventing any path/file named media from being backed up
    This patch will exclude only /data/media path and not other media files/folders
    
    Change-Id: I8d998eca35d36e9877339182e8152d6cee0fde23
    PhilZ-cwm6 committed Jun 4, 2014
    Configuration menu
    Copy the full SHA
    340d693 View commit details
    Browse the repository at this point in the history
  6. Support selinux context inside tar archive

    New busybox update supports -p option to store selinux context inside tar
    
    Change-Id: I38e2a194235e6b10d6ae040b6c93497136528186
    PhilZ-cwm6 committed Jun 4, 2014
    Configuration menu
    Copy the full SHA
    f43957e View commit details
    Browse the repository at this point in the history
  7. f2fs: fix nandroid restore to f2fs partitions

    Change-Id: I7bf243045748949766e0128662e66dfc04378d06
    PhilZ-cwm6 committed Jun 4, 2014
    Configuration menu
    Copy the full SHA
    54fd234 View commit details
    Browse the repository at this point in the history
  8. Match AOSP get/set_bootloader_message() layouts

    No change in behavior, just matching AOSP's code layout. LOGE has been
    changed to LOGI for "Cannot load volume /misc!" since many devices do
    not define a /misc partition in fstab.
    
    Change-Id: I53c440f820fd4614b0af79e9283baa8c48453373
    mdmower committed Jun 4, 2014
    Configuration menu
    Copy the full SHA
    173f293 View commit details
    Browse the repository at this point in the history
  9. Remove obsolete check on device_flash_type() before trying to read ar…

    …gs from BCB
    
    get_bootloader_args() has handled the case where the misc partition
    doesn't exist or is an unknown type since 7501798... ("Fix nullpointer
    when recovery.fstab does not define a "misc" partition") all the way
    back in 2010, and we use set_bootloader_args() below unconditionally
    anyway.  Remove this obsolete check.
    
    Change-Id: Ie25083a6d24cf918f72cc1cc13b181292c61d160
    steven676 authored and mdmower committed Jun 4, 2014
    Configuration menu
    Copy the full SHA
    8528fde View commit details
    Browse the repository at this point in the history
  10. Version 6.0.4.9

    This version marks the introduction of backup/restore support of
    selinux contexts in dedupe and tar.
    
    Change-Id: I76c2735343e5648a0d7b06e20f48bf3ac82026f9
    mdmower committed Jun 4, 2014
    Configuration menu
    Copy the full SHA
    5c11855 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2014

  1. fix compiler warnings

    Change-Id: Ic3e5bbaf9824ef35a7a71209a5cd6bf868f96adb
    PhilZ-cwm6 committed Jun 5, 2014
    Configuration menu
    Copy the full SHA
    1040240 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2014

  1. fix segfault during shell nandroid backup/restore commands

    Previously, to achieve a successful "adb shell nandroid backup" and
    "adb shell nandroid restore [backup_path]", we have to disable
    progress bar by manually removing '/sdcard/clockworkmod/.hidenandroidprogress'
    
    Else, the recovery would crash with segfault
    
    This patch disables progress bar update whenever ui is not initialized
    adb shell nandroid backup/restore commands now work without any background hack
    
    Change-Id: I525ceffffb1bad4ee8e62c3985e123dcda77c79e
    PhilZ-cwm6 committed Jun 6, 2014
    Configuration menu
    Copy the full SHA
    93a6755 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2014

  1. Fixup nandroid-md5.sh with legitimate return code

    The reason md5sum would return an error status code is because it was
    being executed on . and .. paths. Only run md5sum on files and allow the
    script to exit with an error status if md5sum fails.
    
    Change-Id: Ieeaa5e65ab3cf6b6470815c3ec13cd3a8c8b6b5e
    mdmower committed Jun 10, 2014
    Configuration menu
    Copy the full SHA
    13651e2 View commit details
    Browse the repository at this point in the history
  2. Only chmod backup/blobs directory if it exists

    Change-Id: Ib1e250e8f77d84048a176f6ea896439a0454c512
    mdmower committed Jun 10, 2014
    Configuration menu
    Copy the full SHA
    4998303 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2014

  1. enhance the progress thread update

    - limit refresh interval to 200 msec for nandroid operations
    - keep the progress background icon overlay updating for normal and
      indeterminate progress
    - no more need to increment background icon overlay frames by caller
    
    Change-Id: I643e30505f962ebbf67aae57baa06a296006e542
    PhilZ-cwm6 authored and mdmower committed Jun 12, 2014
    Configuration menu
    Copy the full SHA
    1b687b5 View commit details
    Browse the repository at this point in the history
  2. Refresh nandroid progress without on-screen text

    * Remove display of files to ui - this was severely slowing backups
    * Remove ui_nice functions since they are no longer used
    
    Change-Id: Iaa8b6bc3989752016b296e6f087c64fc216e5f00
    mdmower committed Jun 12, 2014
    Configuration menu
    Copy the full SHA
    dcd6350 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2014

  1. Enable cmdline nandroid backup of vold volumes

    Issuing 'adb shell nandroid backup' just after recovery has started on a
    device with vold managed primary storage will fail because vold has not
    initd for nandroid. Let nandroid call vold_init. Subsequent calls to
    vold_init should be of no concern since sock will be set and
    vold_client_start() will return immediately.
    
    Change-Id: I88b16ff0a8c5b058b58f81095f63374bfbf70b34
    mdmower committed Jun 14, 2014
    Configuration menu
    Copy the full SHA
    f5caec7 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2014

  1. Progress thread: less aggressive redraw

    In commit I643e30505f962ebbf67aae57baa06a296006e542 , 'enhance the
    progress thread update', I incorrectly amended philz-cwm6's commit to
    work around a theoretical issue of keeping the installer's spinning
    cube rotating when no progress bar is shown. While my amendment works,
    it keeps the progress_thread updating text and overlays even when
    sitting at the menu. This is overly aggressive. Change the update
    mechanism to only apply when the background installer image is visible.
    
    Also, make ui_increment_frame() static since is is local-only now.
    
    Change-Id: I2fa2f8a0704f562fb027ba4bee9b1b7d278da404
    mdmower committed Jun 17, 2014
    Configuration menu
    Copy the full SHA
    15b499b View commit details
    Browse the repository at this point in the history
  2. stop showing the background icon progress outside it's scope

    Also, extend print_and_error() to act as a pass-through, returning the
    original error code.
    
    Conflicts:
    	extendedcommands.c
    	nandroid.c
    	nandroid.h
    
    Change-Id: I3d7ee71f627f871f64defe7902b91b762ca97d59
    PhilZ-cwm6 authored and mdmower committed Jun 17, 2014
    Configuration menu
    Copy the full SHA
    e9a983d View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2014

  1. Code clean-up

    * Alphebetize header includes
      - Files that exist at AOSP retain their ordering
    * Add missing licensing headers
    * Remove some obvious comments
    * Whitespace cleanup
    * Make local-only functions static
    * Prototype static functions if used before defined
    * Move non-functions just below header definitions
    * Move edifyscripting functions to a new edify header
    
    Change-Id: Ibb11baafa58c81a3673c6a03c5f631a241e1be3e
    mdmower committed Jun 24, 2014
    4 Configuration menu
    Copy the full SHA
    e600e99 View commit details
    Browse the repository at this point in the history
  2. Allow selective restore of more than one partition

    * Can choose more than one partition from the advanced restore menu
    * Change nandroid_restore() to use bit flags representing partitions
    
    Change-Id: I883d8cc81b730db672063d96409ae2478ebb63f9
    mdmower committed Jun 24, 2014
    Configuration menu
    Copy the full SHA
    97d4946 View commit details
    Browse the repository at this point in the history
  3. Use OpenSSL libcrypto for MD5 checking

    * Use OpenSSL libcrypto static library for both backup and restore md5
      operations
    * Warn users when nandroid.md5 is missing entries on restore
    * Only verify md5 checksums for partitions selected for restore instead
      of verifying checksums for all files even if not selected for restore
    * Remove unneeded nandroid-md5.sh script
    
    Change-Id: I6f2f4ad3c2bfc837698e4bd487d30684de7703e8
    mdmower committed Jun 24, 2014
    Configuration menu
    Copy the full SHA
    c8eb16e View commit details
    Browse the repository at this point in the history
  4. Show logo bckgnd after install, backup, restore

    Change-Id: Ibbb78a43c51f945d5af781bd4eff2a675212e659
    mdmower committed Jun 24, 2014
    Configuration menu
    Copy the full SHA
    c7a03bb View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2014

  1. MD5: add a missing bounds check

    Change-Id: I866d434953b3479de9c482b9fb311b93d8e9aec9
    mdmower committed Jun 25, 2014
    Configuration menu
    Copy the full SHA
    5b682e6 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2014

  1. MD5: handle no newline at end of nandroid.md5

    If there is no newline at the end of nandroid.md5, then fgets will not
    have '\n' as the last character for the last line. Make sure we aren't
    replacing the last legitimate character of a string when reading the
    file.
    
    Change-Id: I3664582d7b13a2171bf074a236b44db104bb975a
    mdmower committed Jun 28, 2014
    Configuration menu
    Copy the full SHA
    83cd496 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2014

  1. recovery: SEARCH should work as SELECT_ITEM

    Before 2cc2297, SEARCH worked as
    SELECT_ITEM. After that, it became "back".
    
    It is desirable for SEARCH to work as select because it provides
    a full control for devices with the 4-capacitive-buttons row.
    
    MENU = DOWN
    HOME = UP
    SEARCH = SELECT (was BACK)
    BACK = BACK
    
    Change-Id: Idc70366d76a18edecb25adce2e35e31e814443c5
    pawitp authored and mdmower committed Jun 30, 2014
    Configuration menu
    Copy the full SHA
    5ee09a2 View commit details
    Browse the repository at this point in the history
  2. Expose ui_has_initialized

    Useful for command line processes so they can determine whether ui
    functions are possible.
    
    Change-Id: I2e1b8af39806973ae11eaed5bbdb1f3b6ddc7b13
    mdmower committed Jun 30, 2014
    Configuration menu
    Copy the full SHA
    e5720dd View commit details
    Browse the repository at this point in the history
  3. MD5: Abort on errors for cmdline nandroid restore

    If 'nandroid restore' is run from the command line, prompts are not
    possible (thanks to Phyto Wardt for pointing this out). Abort with a
    listing of files that are missing from directory or nandroid.md5.
    
    Change-Id: I527ffeafc5da50e7878ddc103f4fb55218632ce1
    mdmower committed Jun 30, 2014
    Configuration menu
    Copy the full SHA
    3367aba View commit details
    Browse the repository at this point in the history
  4. Improve touch code

    Currently retains swipe-only touch handling, but all elements are in
    place to support taps in the future, if desired.
    
    Change-Id: I276111f767ade32717c859c62d1d9f046ffa161c
    tdmcyngn authored and mdmower committed Jun 30, 2014
    Configuration menu
    Copy the full SHA
    e144ac0 View commit details
    Browse the repository at this point in the history
  5. Support capacitive touch keys

    * Adds basic support for capacitive keys (virtual keys)
    * Only enabled if BOARD_RECOVERY_SWIPE is enabled
    
    Change-Id: I13ade22991880e4fb5c5c71639660e1563e95a89
    mdmower committed Jun 30, 2014
    Configuration menu
    Copy the full SHA
    0f71324 View commit details
    Browse the repository at this point in the history
  6. Only show Mount USB storage if UMS possible

    In the mounts and storage menu:
    * Reduce the complexity of if/elses for /data/media and UMS specific
      menu entries with a simple struct
    * Only show UMS mount option if vold managed volumes are available and
      usb-otg is not in use. Vold does not have any mechanism to determine
      if a managed volume is usb-otg, so we have to rely on string
      comparison to the volume label. "usbdisk" is by far the most common
      label, so this should cover most devices just fine.
    
    Change-Id: I8a203a614e1c603c32a06b1afb77834cc4cd51ce
    mdmower committed Jun 30, 2014
    Configuration menu
    Copy the full SHA
    2ee8640 View commit details
    Browse the repository at this point in the history
  7. Version 6.0.5.0

    Notable changes since 6.0.4.9:
    * Segfault fixes for command line nandroid backup/restore
    * Optimizations to progress thread so it doesn't get overloaded with
      screen updates (this significantly improves backup/restore speed)
    * Fixes for command line nandroid backups of vold volumes
    * Correctly update background image for errors and finished processes
    * Allow selective restore of more than one partition at a time
    * New MD5 calculator only verifies checksums of partition(s) selected
      for restore and warns you when files or checksums are not found
    * New touch code supports a wider variety of devices for swipe control
      and virtual (capacative touch) keys are now supported
    * Only show Mount USB storage option if possible
    
    Change-Id: I813dce9d31ce2aa445a512026a210a558cab39e6
    mdmower committed Jun 30, 2014
    Configuration menu
    Copy the full SHA
    fe2ad05 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2014

  1. Do not wipe block misc on bootloader msg update

    When set_bootloader_message_block() is called, it fopens /misc in write
    binary mode, wiping all contents other than what is being written. The
    bootloader msg structure is only 1024+32+32 bytes, so some manufacturers
    store more than just a bootloader msg on /misc. fopen in read+append
    mode so that only the bootloader msg is written and the rest of the
    partition is left untouched.
    
    Change-Id: I2d2fbdf067282744864a19d404ca7dc12f688a98
    mdmower committed Jul 10, 2014
    Configuration menu
    Copy the full SHA
    2301cbc View commit details
    Browse the repository at this point in the history
  2. Allow custom bootloader msg offset in block misc

    Use board define BOARD_RECOVERY_BLDRMSG_OFFSET with a decimal integer
    to define a custom offset where the bootloader message should be
    read/written.
    
    Change-Id: Id13a23dd41bb7d907b96d657b8e21eb839dfeaa9
    mdmower committed Jul 10, 2014
    Configuration menu
    Copy the full SHA
    547c06f View commit details
    Browse the repository at this point in the history
  3. Set SELinux security contexts correctly for init and services.

    Otherwise everything is left running in the kernel domain when
    booting recovery.
    
    Change-Id: Ie3d86547d5be0b68dd1875a97afe1e00fc3e4da1
    Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
    stephensmalley authored and mdmower committed Jul 10, 2014
    Configuration menu
    Copy the full SHA
    881f631 View commit details
    Browse the repository at this point in the history
  4. Add seclabel to minivold

    Change-Id: Ia5662f4543e4fbb32b02216b64a2f261e22beb25
    mdmower committed Jul 10, 2014
    Configuration menu
    Copy the full SHA
    a7498bb View commit details
    Browse the repository at this point in the history
  5. adbd: switch to su domain when running as root

    When adbd runs as root, it should transition into the
    su domain. This is needed to run the adbd and shell
    domains in enforcing on userdebug / eng devices without
    breaking developer workflows.
    
    Use the new device_banner command line option.
    
    Change-Id: Ib33c0dd2dd6172035230514ac84fcaed2ecf44d6
    nickkral authored and mdmower committed Jul 10, 2014
    Configuration menu
    Copy the full SHA
    8e1155a View commit details
    Browse the repository at this point in the history
  6. minadbd: remove dead code

    Change-Id: Ia1f34a17ae582575f8cd3514ed7bc015b0a5006e
    colincross authored and mdmower committed Jul 10, 2014
    Configuration menu
    Copy the full SHA
    2ffad65 View commit details
    Browse the repository at this point in the history
  7. recovery: fix building with pointer-to-int errors turned on

    Use intptr_t/uintptr_t to cast between pointer and int to allow
    building with -Werror=pointer-to-int-cast and
    Werror=int-to-pointer-cast turned on.
    
    Cast to char* instead of unsigned int for pointer arithmetic.
    
    Conflicts:
    	minui/graphics.c
    
    Change-Id: Ia862306fdcca53866b330e8cf726f3d62f2248a0
    colincross authored and mdmower committed Jul 10, 2014
    Configuration menu
    Copy the full SHA
    97f9e95 View commit details
    Browse the repository at this point in the history
  8. add --shutdown_after option to recovery

    The "--shutdown_after" option causes recovery to power down the device
    on completion rather than rebooting.
    
    Removes the last vestiges of the "--previous_runs" argument, which
    doesn't seem to be used for anything.
    
    Conflicts:
    	recovery.c
    
    Change-Id: I465eda2ef59d367e2b1c79a8dc69831263c69a4d
    Doug Zongker authored and mdmower committed Jul 10, 2014
    Configuration menu
    Copy the full SHA
    f6df6a0 View commit details
    Browse the repository at this point in the history
  9. fix vulnerability in bspatch

    Patches with control data tuples with negative numbers in the first
    and/or second can cause bspatch to write to arbitrary locations in the
    heap.
    
    Change-Id: I8c5d81948be773e6483241131d3d166b6da27cb8
    Doug Zongker authored and mdmower committed Jul 10, 2014
    Configuration menu
    Copy the full SHA
    cbe5d00 View commit details
    Browse the repository at this point in the history
  10. exit instead of return if sideload file creation fails

    A return here leaves adb sideload in a permanent loop. An exit is
    more appropriate for this error.
    
    Change-Id: I80fb8abae4f6378833aa75f9eaf7ec1acd44b274
    Signed-off-by: Ethan Yonker <ethanayonker@gmail.com>
    Ethan Yonker authored and mdmower committed Jul 10, 2014
    Configuration menu
    Copy the full SHA
    3350c88 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2014

  1. Let minivold run in the recovery se domain

    The vold secontext doesn't have enough permissions to allow formatting
    volumes. CWM uses minivold directly for this purpose, so go ahead and
    let it run in the recovery domain to give it all the permissions needed.
    
    Change-Id: I2ca8e5895bd8cba5ffc9f0758264b3f0fbf38943
    mdmower committed Jul 31, 2014
    Configuration menu
    Copy the full SHA
    67cd9db View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2014

  1. Touch: slot and tracking updates

    Discard type A MT slots if type B MT tracking ID sent: Some devices send
    an initial ABS_MT_SLOT event before switching to type B events, so
    discard any type A state related to slot.
    
    Track whether ABS_MT_TRACKING_ID was seen in the current sequence to
    differentiate between vkeys and hardware keys.
    
    Change-Id: I7ca3bfa4bd82d05ef7f7a208e954898b88bf3865
    tdmcyngn authored and mdmower committed Aug 13, 2014
    Configuration menu
    Copy the full SHA
    06511b3 View commit details
    Browse the repository at this point in the history
  2. fix unnecessarily slow writing of EMMC partitions

    These were attempts to write partitions "conservatively" in hopes of
    fixing the problems with writing the radio partition on Nexus 4.  They
    didn't work (a kernel patch was needed), but got left in.  They make
    writing of partitions unnecessarily slow (ie, we really shouldn't need
    to sync() after every 4kb).  Roll back most of them, but leave the
    verification read-back in.
    
    Change-Id: I94badc0979e88816c5aa0485f6316c02be69173c
    Doug Zongker authored and mdmower committed Aug 13, 2014
    Configuration menu
    Copy the full SHA
    9678ca2 View commit details
    Browse the repository at this point in the history
  3. Tell vold to use the fstype defined in fstab when formatting

    If, for whatever reason, a voldmanaged volume had a different filesystem
    than the one defined in the fstab, then this filesystem was kept when
    formatting. Change the logic to use the filesystem defined in the fstab when
    available.
    
    Change-Id: Iffbb5dc42838c1585c21f3ffa66b16921a16abd5
    thoemy authored and mdmower committed Aug 13, 2014
    Configuration menu
    Copy the full SHA
    36810d2 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2014

  1. Fix BOARD_RECOVERY_BLDRMSG_OFFSET CFLAG

    Including BOARD_RECOVERY_BLDRMSG_OFFSET in BOARD_RECOVERY_DEFINES turns
    the define into a string. We need BOARD_RECOVERY_BLDRMSG_OFFSET to be an
    int.
    
    Change-Id: Ib75dec0123e6fb318c4c8192645485683c6a5075
    mdmower committed Aug 15, 2014
    Configuration menu
    Copy the full SHA
    3f28d95 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2014

  1. remove duplicate, over-general dependency on kernel features.

    this is QCOM only and there is now already a check for that.
    
    Change-Id: I882d013e8e978ca02abceee2b56d0c9a3017814c
    Chris Sarbora authored and Chris Sarbora committed Sep 9, 2014
    Configuration menu
    Copy the full SHA
    f7117c8 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2014

  1. ADB sideload command not work

    In kernel(3.10) USB ADB gadget driver is removed.
    Using Functionfs for USB adb gadget.
    
    Android recovery uses a stripped down version
    of adb command for sideload only. It's missing
    the ffs function support, so add the ffs
    support to allow sideload command to work
    
    b/12608946
    
    Change-Id: I4ad024723dfc5bdb544548391f99637c390b171e
    Signed-off-by: Pierre Couillaud <pierre@broadcom.com>
    Da Zhou authored and mdmower committed Sep 13, 2014
    Configuration menu
    Copy the full SHA
    6b2b227 View commit details
    Browse the repository at this point in the history
  2. recovery: Fix adb with linux 3.10

    In kernel 3.10, f_adb has been removed and adbd can use functionfs
    instead. Mount functionfs on boot for adbd. On older kernels, mount
    will fail silently and adbd will revert to f_adb.
    
    Change-Id: I5db57aaf35b35859ea88c7d0e0661d8c553e5811
    benoitgoby authored and mdmower committed Sep 13, 2014
    Configuration menu
    Copy the full SHA
    56877d8 View commit details
    Browse the repository at this point in the history
  3. Version 6.0.5.1

    Notable changes since 6.0.5.0:
    * Fix /misc partition erase on recovery start
    * Set SELinux contexts for init and services
    * Minor touch updates
    * Better vold formatting logic
    * Compatibility updates for adb and 3.10 kernels
    
    Change-Id: Ie6035fb706b50be1b78ed09c237644fdd091cce8
    mdmower committed Sep 13, 2014
    Configuration menu
    Copy the full SHA
    7b47cfd View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2014

  1. cwm: Use pathmap for recovery

    Change-Id: Id358db393f4f945b3f5c91419827666f3e70127e
    tdmcyngn committed Oct 1, 2014
    Configuration menu
    Copy the full SHA
    90ca138 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2014

  1. cwm: Declare additional dependencies instead of relying on build hax

    We want to include a suite of tools and symlinks with recovery.  This
    was previously done with a hack in build/core/Makefile.  That is rather
    unorthodox.  Instead, use LOCAL_ADDITIONAL_DEPENDENCIES to declare the
    things we want to include.
    
    See also http://review.cyanogenmod.org/74244
    
    Change-Id: Ib054f2bc8aa85cb3df9cbeba3f457ea74dd3ed98
    tdmcyngn committed Oct 8, 2014
    Configuration menu
    Copy the full SHA
    5d9a704 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2014

  1. cwm: Allow device-specific recovery modules

    Provide a means to include device-specific recovery modules that need to
    be built (i.e. not pre-built). A list of recovery modules can be
    specified by a device with:
    
    TARGET_RECOVERY_DEVICE_MODULES := rec_mod_one rec_mod_two
    
    Change-Id: Id28a41185b332a074cd15bd5c63e26bf284663d5
    mdmower committed Nov 5, 2014
    Configuration menu
    Copy the full SHA
    6a9437f View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2015

  1. Track usage of Vector / SortedVector from libutils DO NOT MERGE

    bug: 22953624
    Change-Id: Ifcc17e39433ac91ca41da5d336fb3006dfbb65a8
    narayank authored and mikeNG committed Nov 9, 2015
    Configuration menu
    Copy the full SHA
    90afeeb View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2016

  1. Remove mistakenly added bulletin patch

    Change-Id: I0339664623c8c665f3859175bfdbf94189e592f0
    mikeNG committed Jul 25, 2016
    Configuration menu
    Copy the full SHA
    a8cf70c View commit details
    Browse the repository at this point in the history