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

moto g7 #303

Open
wants to merge 1,058 commits into
base: android-8.1
Choose a base branch
from
Open

moto g7 #303

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

Commits on Dec 14, 2017

  1. Snap for 4502278 from c35b5c6 to pi-release

    Change-Id: I894de85dbc6747822d277339bafd772d28ac1b79
    android-build-team Robot committed Dec 14, 2017
    Configuration menu
    Copy the full SHA
    a19e862 View commit details
    Browse the repository at this point in the history
  2. recovery: Porting screensave mode for new platform.

    On new board platform the brightness path of
    sys/class/leds/lcd-backlight is deprecated,instead of
    /sys/class/backlight/panel0-backlight/.
    
    Test: reboot into recovery on sdm845.
    Change-Id: Idf0027ab888f9f982a8eef7de230ce3635e7c300
    Signed-off-by: katao <[email protected]>
    katao committed Dec 14, 2017
    Configuration menu
    Copy the full SHA
    c35c1b0 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2017

  1. StartsWith allows a std::string prefix now.

    Bug: N/A
    Test: builds
    Change-Id: I5183ec8133f5dc9a81a438223c6d3d2ea11ef0ec
    enh-google committed Dec 20, 2017
    Configuration menu
    Copy the full SHA
    1d65c95 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2017

  1. Merge "StartsWith allows a std::string prefix now."

    Treehugger Robot authored and Gerrit Code Review committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    80ccac2 View commit details
    Browse the repository at this point in the history
  2. Merge "StartsWith allows a std::string prefix now."

    am: 80ccac2
    
    Change-Id: Ife18e431247a479cb038f21f92ad0b687a9509b8
    enh-google authored and android-build-merger committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    bd87037 View commit details
    Browse the repository at this point in the history
  3. Merge "StartsWith allows a std::string prefix now." am: 80ccac2

    am: bd87037
    
    Change-Id: I720e3ba91146cbbf783eb3ef4b8347f16c52ec05
    enh-google authored and android-build-merger committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    92be137 View commit details
    Browse the repository at this point in the history
  4. Merge "StartsWith allows a std::string prefix now." am: 80ccac2 am: b…

    …d87037
    
    am: 92be137
    
    Change-Id: Idc53c3825af7ad5193f496576d289877a51edd29
    enh-google authored and android-build-merger committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    77e8137 View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2017

  1. Snap for 4517567 from 77e8137 to pi-release

    Change-Id: If87a89580023d0413353a5f7acbdd9659f729acb
    android-build-team Robot committed Dec 24, 2017
    Configuration menu
    Copy the full SHA
    7a5428f View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2018

  1. Statically link with libhealthstoragedefault

    This is to add empty implementations of Health
    HAL methods to report storage info.
    
    Bug: 68388678
    Test: vts-tradefed run vts -m VtsHalHealthV2_0
    Change-Id: I4f093903f485519e16f39384f5c96fcd031438ba
    Hridya Valsaraju committed Jan 12, 2018
    Configuration menu
    Copy the full SHA
    bd84bd4 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2018

  1. Snap for 4545621 from bd84bd4 to pi-release

    Change-Id: Ia003119a1fd2751a6ef89c74ef9eaeaefa58f258
    android-build-team Robot committed Jan 14, 2018
    Configuration menu
    Copy the full SHA
    4b1d746 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2018

  1. Add update_channel field to bootloader_message_ab.

    The update_channel field is used to store the Omaha update channel
    if update_engine is compiled with Omaha support.
    
    We need it to be in misc to persist through factory reset.
    
    Bug: 72332119
    Test: mma
    Change-Id: Ied4fecc6e78cc69d33a36ba4d101d675100f9d82
    JayXon committed Jan 22, 2018
    Configuration menu
    Copy the full SHA
    7191bf0 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2018

  1. Merge "Add update_channel field to bootloader_message_ab."

    JayXon authored and Gerrit Code Review committed Jan 26, 2018
    Configuration menu
    Copy the full SHA
    63eb1a4 View commit details
    Browse the repository at this point in the history
  2. Merge "Add update_channel field to bootloader_message_ab."

    am: 63eb1a4
    
    Change-Id: Ie12275c2694cabcf5b934f0673ecb228d6c8c3e6
    JayXon authored and android-build-merger committed Jan 26, 2018
    Configuration menu
    Copy the full SHA
    7441ee7 View commit details
    Browse the repository at this point in the history
  3. Merge "Add update_channel field to bootloader_message_ab." am: 63eb1a4

    am: 7441ee7
    
    Change-Id: I390bba7bd9a76e732873f6abc03a419ec8b2f2d6
    JayXon authored and android-build-merger committed Jan 26, 2018
    Configuration menu
    Copy the full SHA
    cbbf671 View commit details
    Browse the repository at this point in the history
  4. Merge "Add update_channel field to bootloader_message_ab." am: 63eb1a4

    …am: 7441ee7
    
    am: cbbf671
    
    Change-Id: Ibd6e89736a84777088a7df4a548e11a46b3cd586
    JayXon authored and android-build-merger committed Jan 26, 2018
    Configuration menu
    Copy the full SHA
    50d24b9 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2018

  1. Snap for 4571561 from 50d24b9 to pi-release

    Change-Id: I03b319848fb9b084a865d7357fb3ce6dc0a7e1dd
    android-build-team Robot committed Jan 28, 2018
    Configuration menu
    Copy the full SHA
    b74a972 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2018

  1. Avoid overwrite of the error message in AbortFn

    The AbortFn() used to overwrite the error message, hiding the real
    failure reported in ErrorAbort(). And we will miss the failure in
    the script patterns like 'blockimageupdate() || abort()'
    
    We will ensure there's one line break at the end of ErrorAbort's
    error message; and append to the existing error message when calling
    abort().
    
    Test: Message from ErrorAbort shows up in the log
    Change-Id: I3aebd06629c5129330250c7fe5e8cdead2ae85bc
    Tianjie Xu committed Jan 29, 2018
    Configuration menu
    Copy the full SHA
    5ad8028 View commit details
    Browse the repository at this point in the history
  2. merge in pi-release history after reset to master

    gitbuildkicker committed Jan 29, 2018
    Configuration menu
    Copy the full SHA
    bef7807 View commit details
    Browse the repository at this point in the history
  3. merge in pi-release history after reset to master

    gitbuildkicker committed Jan 29, 2018
    Configuration menu
    Copy the full SHA
    65ca663 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2018

  1. Merge "Avoid overwrite of the error message in AbortFn"

    Tianjie Xu authored and Gerrit Code Review committed Jan 30, 2018
    Configuration menu
    Copy the full SHA
    bded087 View commit details
    Browse the repository at this point in the history
  2. Merge "Avoid overwrite of the error message in AbortFn"

    am: bded087
    
    Change-Id: I0b000ba5d8855c38e4f4b301c68c4134c0f2287d
    Tianjie Xu authored and android-build-merger committed Jan 30, 2018
    Configuration menu
    Copy the full SHA
    20af372 View commit details
    Browse the repository at this point in the history
  3. Merge "Avoid overwrite of the error message in AbortFn" am: bded087

    am: 20af372
    
    Change-Id: I61b6206e807d4a10091e05e8c4b4de0c525b7d42
    Tianjie Xu authored and android-build-merger committed Jan 30, 2018
    Configuration menu
    Copy the full SHA
    39b6c7f View commit details
    Browse the repository at this point in the history
  4. Merge "Avoid overwrite of the error message in AbortFn" am: bded087 am:

    20af372
    
    am: 39b6c7f
    
    Change-Id: I9545b574641fb0a9eef83142cb99a71c3ddd8902
    Tianjie Xu authored and android-build-merger committed Jan 30, 2018
    Configuration menu
    Copy the full SHA
    d509725 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2018

  1. Snap for 4577102 from d509725 to pi-release

    Change-Id: Ic2038e503701c767f6514894f387dd377564534e
    android-build-team Robot committed Jan 31, 2018
    Configuration menu
    Copy the full SHA
    d3997ff View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2018

  1. Log the last command to cache

    When performing an update, save the index and cmdline of the current
    command into the last command file if this command writes to the stash
    either explicitly of implicitly. This mitigates the overhead to update
    the last command file for every command. I ran a simple test on angler
    and the time to update 1000 times is ~2.3 seconds.
    
    Upon resuming an update, read the saved index first; then
      1. In verification mode, check if all commands before the saved index
         have already produced the expected target blocks. If not, delete the
         last command file so that we will later resume the update from the
         start of the transfer list.
      2. In update mode, skip all commands before the saved index. Therefore,
         we can avoid deleting stashes with duplicate id unintentionally;
         and also speed up the update.
    
    If an update succeeds or is unresumable, delete the last command file.
    Bug: 69858743
    Test: Unittest passed, apply a failed update with invalid cmd on angler
    and check the last_command content, apply a failed update with invalid
    source hash and last_command is deleted.
    Change-Id: Ib60ba1e3c6d111d9f33097759b17dbcef97a37bf
    Tianjie Xu committed Feb 7, 2018
    Configuration menu
    Copy the full SHA
    284752e View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2018

  1. Document instructions for using adb under recovery.

    Fixes: 72740736
    Test: N/A
    Change-Id: Ifc96ed785fd80501bc6c276cb649c8cc1f05be0e
    Tao Bao committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    c84a4ef View commit details
    Browse the repository at this point in the history
  2. Merge "Document instructions for using adb under recovery."

    Treehugger Robot authored and Gerrit Code Review committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    7ee7e27 View commit details
    Browse the repository at this point in the history
  3. Merge "Document instructions for using adb under recovery."

    am: 7ee7e27
    
    Change-Id: Ia63a213baf4c1886379003220580e42cdc0f19c2
    Tao Bao authored and android-build-merger committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    41186e1 View commit details
    Browse the repository at this point in the history
  4. Merge "Document instructions for using adb under recovery." am: 7ee7e27

    am: 41186e1
    
    Change-Id: I400e8c56060cf52718603fff80423ec5f1780088
    Tao Bao authored and android-build-merger committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    1e7d092 View commit details
    Browse the repository at this point in the history
  5. Merge "Document instructions for using adb under recovery." am: 7ee7e27

    … am: 41186e1
    
    am: 1e7d092
    
    Change-Id: I3ee3fceb49b63b68d9aca1581c9e5fdd9233f532
    Tao Bao authored and android-build-merger committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    95b85db View commit details
    Browse the repository at this point in the history
  6. Merge "Log the last command to cache"

    Tianjie Xu authored and Gerrit Code Review committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    6a3646f View commit details
    Browse the repository at this point in the history
  7. Merge "Log the last command to cache"

    am: 6a3646f
    
    Change-Id: I4e0e399b6140084cd681c5aba746d7b9dbe069d8
    Tianjie Xu authored and android-build-merger committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    6d78bb5 View commit details
    Browse the repository at this point in the history
  8. Merge "Log the last command to cache" am: 6a3646f

    am: 6d78bb5
    
    Change-Id: Ifd886d148fec5d5b17bb29d65a8c83f4cfbc8c32
    Tianjie Xu authored and android-build-merger committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    c052f78 View commit details
    Browse the repository at this point in the history
  9. Merge "Log the last command to cache" am: 6a3646f am: 6d78bb5

    am: c052f78
    
    Change-Id: If58f18891d42d54d4a0def9b2b640b76bddd0bef
    Tianjie Xu authored and android-build-merger committed Feb 8, 2018
    Configuration menu
    Copy the full SHA
    66db2c5 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2018

  1. Snap for 4598635 from 66db2c5 to pi-release

    Change-Id: I6553f05d4868539ac5eeda8efc8e98a010ab3612
    android-build-team Robot committed Feb 11, 2018
    Configuration menu
    Copy the full SHA
    6ee813b View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2018

  1. Reorder the functions in updater/install.cpp

    There is no logical change to the file; merely the function definition
    reorder and some comestic change to make the future review easier.
    
    Test: mma
    Change-Id: I7ffe952f8c78e840f10aa6bfad0c4b5a58e29896
    Tianjie Xu committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    5419ad3 View commit details
    Browse the repository at this point in the history
  2. Skip the cache size check on host

    When running the update simulation, we choose to skip the cache size
    check for now due to the lack of "/cache" on host. And in later cls we
    can implement a cache size estimator to make the check more constrained.
    
    Also build the host version of support libraries.
    
    Test: unit test pass
    Change-Id: I3ed93c857fd02f7b62f5baba9130f75c3236e717
    Tianjie Xu committed Feb 12, 2018
    Configuration menu
    Copy the full SHA
    e40c80d View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2018

  1. Merge "Reorder the functions in updater/install.cpp"

    Tianjie Xu authored and Gerrit Code Review committed Feb 13, 2018
    Configuration menu
    Copy the full SHA
    9818283 View commit details
    Browse the repository at this point in the history
  2. Merge "Reorder the functions in updater/install.cpp"

    am: 9818283
    
    Change-Id: I3451ff1641495a7a676d5ea3bea81ce38815fc2f
    Tianjie Xu authored and android-build-merger committed Feb 13, 2018
    Configuration menu
    Copy the full SHA
    576d275 View commit details
    Browse the repository at this point in the history
  3. Merge "Reorder the functions in updater/install.cpp" am: 9818283

    am: 576d275
    
    Change-Id: Iafbe590ed553d3be8b3875b797aeffc88ae67605
    Tianjie Xu authored and android-build-merger committed Feb 13, 2018
    Configuration menu
    Copy the full SHA
    f6cd6b9 View commit details
    Browse the repository at this point in the history
  4. Merge "Reorder the functions in updater/install.cpp" am: 9818283 am: 5…

    …76d275
    
    am: f6cd6b9
    
    Change-Id: If9af6bf5fd3cd21e8efcf02fbf6c036ece882713
    Tianjie Xu authored and android-build-merger committed Feb 13, 2018
    Configuration menu
    Copy the full SHA
    974a6e8 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2018

  1. Snap for 4603395 from 974a6e8 to pi-release

    Change-Id: Id5551343a7c80599a11b8c5207a6ff7d43beaa38
    android-build-team Robot committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    ad5a32f View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2018

  1. Merge "recovery: Porting screensave mode for new platform."

    Tao Bao authored and Gerrit Code Review committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    15e376d View commit details
    Browse the repository at this point in the history
  2. Merge "recovery: Porting screensave mode for new platform."

    am: 15e376d
    
    Change-Id: I2537ea9b3b4a5560c79226450fcf236ec0935e9e
    Tao Bao authored and android-build-merger committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    470b4fe View commit details
    Browse the repository at this point in the history
  3. Merge "recovery: Porting screensave mode for new platform." am: 15e376d

    am: 470b4fe
    
    Change-Id: I30b84b2cd5071842493f5900a3485cd4f5bc9769
    Tao Bao authored and android-build-merger committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    78997a2 View commit details
    Browse the repository at this point in the history
  4. Merge "recovery: Porting screensave mode for new platform." am: 15e376d

    … am: 470b4fe
    
    am: 78997a2
    
    Change-Id: Ife60145d34a88c8e474931966f456804e39a317c
    Tao Bao authored and android-build-merger committed Feb 16, 2018
    Configuration menu
    Copy the full SHA
    1efbdc2 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2018

  1. Merge "Skip the cache size check on host"

    Tianjie Xu authored and Gerrit Code Review committed Feb 17, 2018
    Configuration menu
    Copy the full SHA
    31bcd7c View commit details
    Browse the repository at this point in the history
  2. Merge "Skip the cache size check on host"

    am: 31bcd7c
    
    Change-Id: If265166022cc36142e4cc6061f1165e9814e9482
    Tianjie Xu authored and android-build-merger committed Feb 17, 2018
    Configuration menu
    Copy the full SHA
    fb8496e View commit details
    Browse the repository at this point in the history
  3. Merge "Skip the cache size check on host" am: 31bcd7c

    am: fb8496e
    
    Change-Id: If57297252bfe3ccf9c45028747a8fa8760052c48
    Tianjie Xu authored and android-build-merger committed Feb 17, 2018
    Configuration menu
    Copy the full SHA
    021d8fe View commit details
    Browse the repository at this point in the history
  4. Merge "Skip the cache size check on host" am: 31bcd7c am: fb8496e

    am: 021d8fe
    
    Change-Id: I6414283e319e124595ef2b8be1428f7952c8fdeb
    Tianjie Xu authored and android-build-merger committed Feb 17, 2018
    Configuration menu
    Copy the full SHA
    7920648 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2018

  1. Disable building libapplypatch on mac

    The sdk_mac on build server fails with the error:
    bootable/recovery/applypatch/freecache.cpp:23:10: fatal error: 'sys/statfs.h' file not found
    
    So we will disable libapplypatch on mac.
    
    Test: the library still builds on linux; and check the other host targets in the same cl.
    Change-Id: Ie4a30708726e51c810f7ad7f1085d38154076cca
    Tianjie Xu committed Feb 18, 2018
    Configuration menu
    Copy the full SHA
    7a4dacf View commit details
    Browse the repository at this point in the history
  2. Merge "Disable building libapplypatch on mac"

    Treehugger Robot authored and Gerrit Code Review committed Feb 18, 2018
    Configuration menu
    Copy the full SHA
    c1e1d7e View commit details
    Browse the repository at this point in the history
  3. Merge "Disable building libapplypatch on mac"

    am: c1e1d7e
    
    Change-Id: I333af93c0dc7cf8b2a175f6c42c5321f442bd115
    Tianjie Xu authored and android-build-merger committed Feb 18, 2018
    Configuration menu
    Copy the full SHA
    2754916 View commit details
    Browse the repository at this point in the history
  4. Snap for 4610834 from 7920648 to pi-release

    Change-Id: I46be8ae5976b2a4d036c3b880f7c247f957ffa49
    android-build-team Robot committed Feb 18, 2018
    Configuration menu
    Copy the full SHA
    56bfd57 View commit details
    Browse the repository at this point in the history
  5. Merge "Disable building libapplypatch on mac" am: c1e1d7e

    am: 2754916
    
    Change-Id: Ibfb57ca66bb826b2710db4572a2d3d730a7db0e5
    Tianjie Xu authored and android-build-merger committed Feb 18, 2018
    Configuration menu
    Copy the full SHA
    bda2f67 View commit details
    Browse the repository at this point in the history
  6. Merge "Disable building libapplypatch on mac" am: c1e1d7e am: 2754916

    am: bda2f67
    
    Change-Id: I378aa4bb2a7d5cd7765feb0fc99f92f1b51a377b
    Tianjie Xu authored and android-build-merger committed Feb 18, 2018
    Configuration menu
    Copy the full SHA
    0d4a75a View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2018

  1. Snap for 4611397 from 0d4a75a to pi-release

    Change-Id: Iaf6d6b24c3434cd64c910a0b74568c882b8a2d8c
    android-build-team Robot committed Feb 19, 2018
    Configuration menu
    Copy the full SHA
    b5b8da2 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2018

  1. Set LOCAL_SDK_VERSION where possible.

    This change sets LOCAL_SDK_VERSION for all packages where
    this is possible without breaking the build, and
    LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.
    
    Setting one of these two will be made required soon, and this
    is a change in preparation for that. Not setting LOCAL_SDK_VERSION
    makes the app implicitly depend on the bootclasspath, which is
    often not required. This change effectively makes depending on
    private apis opt-in rather than opt-out.
    
    Test: make relevant packages
    Bug: 73535841
    Change-Id: I82fee834c5d92e699e9571933faded11c6d4596e
    Anton Hansson committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    6cc499a View commit details
    Browse the repository at this point in the history
  2. Merge "Set LOCAL_SDK_VERSION where possible."

    hansson authored and Gerrit Code Review committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    bf52b7e View commit details
    Browse the repository at this point in the history
  3. Merge "Set LOCAL_SDK_VERSION where possible."

    am: bf52b7e
    
    Change-Id: I91a73e01b2a9b13923a551957da98a2eb9363dc9
    hansson authored and android-build-merger committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    cd06b16 View commit details
    Browse the repository at this point in the history
  4. Merge "Set LOCAL_SDK_VERSION where possible." am: bf52b7e

    am: cd06b16
    
    Change-Id: I78bbe2e58b6d7d442984d3533dedbae705cb156f
    hansson authored and android-build-merger committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    b1ac1b8 View commit details
    Browse the repository at this point in the history
  5. Merge "Set LOCAL_SDK_VERSION where possible." am: bf52b7e am: cd06b16

    am: b1ac1b8
    
    Change-Id: Id51803759530a630ecfb287126c5e366938ad09f
    hansson authored and android-build-merger committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    a7df318 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2018

  1. Import translations. DO NOT MERGE

    Change-Id: I60c4e4ebce0bf3abcc2b0b5ab90b0fc5e9406c34
    Auto-generated-cl: translation import
    Bill Yi committed Feb 22, 2018
    Configuration menu
    Copy the full SHA
    0bfea53 View commit details
    Browse the repository at this point in the history
  2. Snap for 4615953 from a7df318 to pi-release

    Change-Id: I86b50328a92a96d7fdb1ab7193a168f77af6593d
    android-build-team Robot committed Feb 22, 2018
    Configuration menu
    Copy the full SHA
    0674c1b View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2018

  1. Replace vfork() with fork().

    The static analyzer complained about the function calls we were doing
    here to vector::data() and vector::operator[]:
    bootable/recovery/roots.cpp:193:11: warning: This function call is
    prohibited after a successful vfork
    
    Since it's not clear that vfork() is needed here, just use fork()
    instead.
    
    Bug: None
    Test: Reran the static analyzer with only this patch applied. Bug
    disappeared
    Change-Id: I580f8243a21899f1e1678c8aee6948dfa7f69a1d
    gburgessiv committed Feb 23, 2018
    Configuration menu
    Copy the full SHA
    1cfb361 View commit details
    Browse the repository at this point in the history
  2. Merge "Replace vfork() with fork()."

    Treehugger Robot authored and Gerrit Code Review committed Feb 23, 2018
    Configuration menu
    Copy the full SHA
    21b3816 View commit details
    Browse the repository at this point in the history
  3. Merge "Replace vfork() with fork()."

    am: 21b3816
    
    Change-Id: Ia06201cedfcca6358f6f65face5325a4cf528f72
    gburgessiv authored and android-build-merger committed Feb 23, 2018
    Configuration menu
    Copy the full SHA
    44f2cb2 View commit details
    Browse the repository at this point in the history
  4. Merge "Replace vfork() with fork()." am: 21b3816

    am: 44f2cb2
    
    Change-Id: Ie67e2e0a39c781e27916294f501fcc4ef8fbd38f
    gburgessiv authored and android-build-merger committed Feb 23, 2018
    Configuration menu
    Copy the full SHA
    c298833 View commit details
    Browse the repository at this point in the history
  5. Merge "Replace vfork() with fork()." am: 21b3816 am: 44f2cb2

    am: c298833
    
    Change-Id: Ia72697181a9132713b216b6f7c0b7116e09d62fd
    gburgessiv authored and android-build-merger committed Feb 23, 2018
    Configuration menu
    Copy the full SHA
    a362703 View commit details
    Browse the repository at this point in the history
  6. Remove the assumption of target chunk size in imgdiff

    In the split mode of imgdiff, we used to assume that the size of a split
    target chunk is always greater than the blocksize i.e. 4096. This may
    lead to the following assertion failure:
    I0221 04:57:33.451323 818464 common.py:205 imgdiff F 02-21 04:57:33 821203 821203 imgdiff.cpp:999]
    Check failed: tgt_size >= BLOCK_SIZE (tgt_size=476, BLOCK_SIZE=4096)
    
    This CL removes the assumption and handles the edge cases.
    
    Test: generate and verify the incremental update for TFs in the bug; unit test passes
    
    Bug: 73757557
    Bug: 73711365
    Change-Id: Iadbb4ee658995f5856cd488f3793980881a59620
    Tianjie Xu committed Feb 23, 2018
    Configuration menu
    Copy the full SHA
    572abbb View commit details
    Browse the repository at this point in the history
  7. Merge "Remove the assumption of target chunk size in imgdiff"

    Treehugger Robot authored and Gerrit Code Review committed Feb 23, 2018
    Configuration menu
    Copy the full SHA
    cc3446a View commit details
    Browse the repository at this point in the history
  8. Merge "Remove the assumption of target chunk size in imgdiff"

    am: cc3446a
    
    Change-Id: Ic5d50e6c54dfd352950925d01448020669735056
    Tianjie Xu authored and android-build-merger committed Feb 23, 2018
    Configuration menu
    Copy the full SHA
    a306d7b View commit details
    Browse the repository at this point in the history
  9. Merge "Remove the assumption of target chunk size in imgdiff" am: cc3…

    …446a
    
    am: a306d7b
    
    Change-Id: Ieb2fe6cf9f8bf71a5018809f16510c4ef05420d4
    Tianjie Xu authored and android-build-merger committed Feb 23, 2018
    Configuration menu
    Copy the full SHA
    98da135 View commit details
    Browse the repository at this point in the history
  10. Merge "Remove the assumption of target chunk size in imgdiff" am: cc3…

    …446a am: a306d7b
    
    am: 98da135
    
    Change-Id: Ieb024183866d702c72a3c1d3a4636500ebfc0b0a
    Tianjie Xu authored and android-build-merger committed Feb 23, 2018
    Configuration menu
    Copy the full SHA
    133d1d2 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2018

  1. Snap for 4620899 from 133d1d2 to pi-release

    Change-Id: I011a060835bd8ba755908704bc883c8d444a49a6
    android-build-team Robot committed Feb 25, 2018
    Configuration menu
    Copy the full SHA
    4bda178 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2018

  1. Fix the behavior of undefined commands in BlockImageVerify

    In BlockImageVerify some commands are undefined, e.g. "erase", "new",
    "zero". And we should not error out if the corresponding function
    pointer of these commands is null; otherwise we will fail the
    verification.
    
    The old code is:
    if (cmd->f != nullptr && cmd->f(params) == -1)
      return false;
    
    In the last_command_file change the logic was wrongly modified to
    if (cmd->f == nullptr)
      return false;
    ...
    if (cmd->f(params) == -1)
      return false;
    
    Test: sideload an incremental OTA twice on bullhead
    Change-Id: I2561c365badb850da0e416629ccd61f0df7da5d7
    Tianjie Xu committed Feb 28, 2018
    Configuration menu
    Copy the full SHA
    c242084 View commit details
    Browse the repository at this point in the history
  2. Merge "Fix the behavior of undefined commands in BlockImageVerify"

    Tianjie Xu authored and Gerrit Code Review committed Feb 28, 2018
    Configuration menu
    Copy the full SHA
    ac4818d View commit details
    Browse the repository at this point in the history
  3. Merge "Fix the behavior of undefined commands in BlockImageVerify"

    am: ac4818d
    
    Change-Id: I5e42bcafca4c42e6c30cef082c03ad2b8d18ac6c
    Tianjie Xu authored and android-build-merger committed Feb 28, 2018
    Configuration menu
    Copy the full SHA
    7b9a92c View commit details
    Browse the repository at this point in the history
  4. Merge "Fix the behavior of undefined commands in BlockImageVerify" am:

    …ac4818d
    
    am: 7b9a92c
    
    Change-Id: I7891f4e907cc73618b99e2102eb8844771554b1f
    Tianjie Xu authored and android-build-merger committed Feb 28, 2018
    Configuration menu
    Copy the full SHA
    e0f7c39 View commit details
    Browse the repository at this point in the history
  5. Merge "Fix the behavior of undefined commands in BlockImageVerify" am:

    …ac4818d am: 7b9a92c
    
    am: e0f7c39
    
    Change-Id: I33b49c01cfaa0e1ec8bfc7f92ffe5c7d034c3bf4
    Tianjie Xu authored and android-build-merger committed Feb 28, 2018
    Configuration menu
    Copy the full SHA
    bb928df View commit details
    Browse the repository at this point in the history
  6. Add a singleton CacheLocation to replace the hard coded locations

    This class allows us to set the following locations dynamically:
    cache_temp_source, last_command_file, stash_directory_base.
    
    In the updater's main function, we reset the values of these variables
    to their default locations in /cache; while we can set them to temp
    files in unit tests or host simulation.
    
    Test: unit tests pass
    Change-Id: I528652650caa41373617ab055d41b1f1a4ec0f87
    Tianjie Xu committed Feb 28, 2018
    Configuration menu
    Copy the full SHA
    3bbb20f View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2018

  1. Snap for 4628106 from bb928df to pi-release

    Change-Id: I7c640dea7542f462d8bd820cc0f19d53c367035a
    android-build-team Robot committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    93015f7 View commit details
    Browse the repository at this point in the history
  2. Merge "Add a singleton CacheLocation to replace the hard coded locati…

    …ons"
    Tianjie Xu authored and Gerrit Code Review committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    47cd789 View commit details
    Browse the repository at this point in the history
  3. Merge "Add a singleton CacheLocation to replace the hard coded locati…

    …ons"
    
    am: 47cd789
    
    Change-Id: I11c265d3adebc338e0603ed00c7d1aaaffae0253
    Tianjie Xu authored and android-build-merger committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    a72f93d View commit details
    Browse the repository at this point in the history
  4. Merge "Add a singleton CacheLocation to replace the hard coded locati…

    …ons" am: 47cd789
    
    am: a72f93d
    
    Change-Id: Ie505267652e83735f60e8acc93da22e2ac1abe69
    Tianjie Xu authored and android-build-merger committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    6c87845 View commit details
    Browse the repository at this point in the history
  5. Merge "Add a singleton CacheLocation to replace the hard coded locati…

    …ons" am: 47cd789 am: a72f93d
    
    am: 6c87845
    
    Change-Id: If8cf8b4f86ceae41d19ecbcf8e8fc62ef17eb2ac
    Tianjie Xu authored and android-build-merger committed Mar 1, 2018
    Configuration menu
    Copy the full SHA
    4249cdf View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2018

  1. Snap for 4632767 from 4249cdf to pi-release

    Change-Id: Ieee5571b39c09cc4b44a29d140dbf9124ef1f5ea
    android-build-team Robot committed Mar 4, 2018
    Configuration menu
    Copy the full SHA
    328e4aa View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2018

  1. Set the update locations to default in CacheLocation's constructor

    Otherwise the applypatch executable will fail to back up the source
    file to /cache when patching the recovery image.
    
    Bug: 74198354
    Test: run applypatch from boot to recovery
    (cherry picked from commit b4e3a37)
    
    Change-Id: I37b7fd88d66ab49ef953d4b7dca22577bd1472e1
    Tianjie Xu committed Mar 8, 2018
    Configuration menu
    Copy the full SHA
    01daebb View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2018

  1. Snap for 4647811 from 01daebb to pi-release

    Change-Id: I1dcb91ad283d8ceca1168ef7a7f716220c3e53b5
    android-build-team Robot committed Mar 11, 2018
    Configuration menu
    Copy the full SHA
    dc11abe View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2018

  1. recovery: add libhidl-gen-utils depedency

    introduced as a depedency to libvintf.
    
    Test: builds
    Bug: 73556059
    Change-Id: Ia51ba81ef462879481dcacb80d9ea9ea35e8b0bb
    Merged-In: Ia51ba81ef462879481dcacb80d9ea9ea35e8b0bb
    Yifan Hong committed Mar 13, 2018
    Configuration menu
    Copy the full SHA
    91b48f9 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2018

  1. Snap for 4653471 from 91b48f9 to pi-release

    Change-Id: I1e519fd15128cb72d92c174fb3281bf18f6f0e77
    android-build-team Robot committed Mar 14, 2018
    Configuration menu
    Copy the full SHA
    51ee8b3 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2018

  1. tests: Add ApplyPatchModesTest.PatchModeEmmcTargetWithBsdiffPatch test.

    /system/bin/applypatch on device is expected to work with bsdiff based
    recovery-from-boot patch automatically. Adding a test to ensure that's
    always the case.
    
    Bug: 72731506
    Test: Run recovery_component_test on marlin.
    Change-Id: I56283cd3ce7cf0215cc3bb3619b206fa01d552c4
    Merged-In: I56283cd3ce7cf0215cc3bb3619b206fa01d552c4
    (cherry picked from commit d612b23)
    Tao Bao authored and bowgotsai committed Mar 20, 2018
    Configuration menu
    Copy the full SHA
    d26f952 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2018

  1. Snap for 4667902 from d26f952 to pi-release

    Change-Id: I605686a3e01336b93e08138582a6699241bd74cc
    android-build-team Robot committed Mar 21, 2018
    Configuration menu
    Copy the full SHA
    fbeae91 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2018

  1. update_verifier: Support verifying product partition.

    We have added the support for building /product partition in build
    system (the CL in [1]), where /product is an optional partition that
    contains system files. This CL adds the matching support if /product
    needs to be verified during A/B OTA (i.e. listed in care_map file).
    
    [1]: commit b7735d81054002961b681f4bdf296d4de2701135,
    https://android-review.googlesource.com/c/platform/build/+/598454
    
    Bug: 63974895
    Test: Run update_verifier test on walleye.
    Change-Id: Ia1c35e9583b8e66c98a4495b1f81a5ea7e65036f
    (cherry picked from commit ec2e8c6)
    Tao Bao committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    454d8cb View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2018

  1. Snap for 4677756 from 454d8cb to pi-release

    Change-Id: I9f8809bd55a9ef6fb3bbe87a3e6e14ebce21e346
    android-build-team Robot committed Mar 25, 2018
    Configuration menu
    Copy the full SHA
    fed545c View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2018

  1. Use non-LTO variant of libhwbinder

    ... as a workaround for build system does not currently infer non-LTO
    usage from Android.mk.
    
    Test: m
    Bug: 77320844
    Change-Id: I6e9954b895051cc20408a30d0761e164e4c5bfd9
    kongy committed Apr 3, 2018
    Configuration menu
    Copy the full SHA
    10b3faa View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2018

  1. mkfs.f2fs: specify sector size for target image size

    The total sectors that we want to format is used in different meanings from
    various users. This notifies its size based on 4096 bytes explicitly.
    
    Bug: 76407663
    Change-Id: I3392646648264ad1ca78e4b87240edc9385a0cc4
    Merged-In: I3392646648264ad1ca78e4b87240edc9385a0cc4
    Reported-by: [email protected]
    Signed-off-by: Jaegeuk Kim <[email protected]>
    Jaegeuk Kim committed Apr 4, 2018
    Configuration menu
    Copy the full SHA
    4358262 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2018

  1. f2fs: support f2fs by setting unmovable bit for package file

    This enables to use uncrypt for f2fs update-on-reboot.
    It requires kernel patch named:
        "f2fs: add an ioctl to disable GC for specific file"
    
    If any operation fails during uncrypt, please delete package file as soon as
    possible, and create the file again to move forward. IOWs, don't leave the
    package file for a long time.
    
    Bug: 70309376
    Bug: 30170612
    Change-Id: I3b4233e7da756f107be35364521699deaf2e7139
    Merged-In: I3b4233e7da756f107be35364521699deaf2e7139
    Signed-off-by: Jaegeuk Kim <[email protected]>
    Jaegeuk Kim committed Apr 5, 2018
    Configuration menu
    Copy the full SHA
    848f227 View commit details
    Browse the repository at this point in the history
  2. install: mkfs.f2fs: specify sector size for target image size

    The total sectors that we want to format is used in different meanings from
    various users. This notifies its size based on 512 bytes explicitly.
    
    Bug: 76407663
    Change-Id: I20687b40a1733d3b459a45f8b64a338c37a7bc95
    Signed-off-by: Jaegeuk Kim <[email protected]>
    Jaegeuk Kim committed Apr 5, 2018
    Configuration menu
    Copy the full SHA
    1224544 View commit details
    Browse the repository at this point in the history
  3. Snap for 4701683 from 848f227 to pi-release

    Change-Id: I3de6f225d9d796891ca881e06529741a1279079b
    android-build-team Robot committed Apr 5, 2018
    Configuration menu
    Copy the full SHA
    3ea872c View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2018

  1. recovery: enable fsverity feature bit

    Bug: 74604441
    Bug 67380979
    Change-Id: Iab1cc9aef356f0ddf6e2491578a2bd53009182ce
    Signed-off-by: Jaegeuk Kim <[email protected]>
    Jaegeuk Kim committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    2e5dc84 View commit details
    Browse the repository at this point in the history
  2. Merge "Use non-LTO variant of libhwbinder" into pi-dev

    TreeHugger Robot authored and Android (Google) Code Review committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    7fdb635 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2018

  1. Snap for 4706961 from 7fdb635 to pi-release

    Change-Id: Iea61f6f7d5d8b6f825a06d28b3a6f4d8ef7cbe38
    android-build-team Robot committed Apr 8, 2018
    Configuration menu
    Copy the full SHA
    0a968d2 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2018

  1. Use the non-LTO, non-PGO version of libhwbinder

    Bug: http://b/77320844
    
    Android.mk doesn't have support for PGO either.  This causes linker
    error (about missing __llvm_profile symbols) in the PGO-instrumentation
    enabled builds in the release branch.
    
    Test: m ANDROID_PGO_INSTRUMENT=ALL
    Change-Id: Ib5dfdea88073bd95da2cd02e92c85bfffcca80d6
    pirama-arumuga-nainar committed Apr 9, 2018
    Configuration menu
    Copy the full SHA
    2ca4a40 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2018

  1. Merge "recovery: enable fsverity feature bit" into pi-dev

    TreeHugger Robot authored and Android (Google) Code Review committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    257dd33 View commit details
    Browse the repository at this point in the history
  2. Snap for 4713750 from 257dd33 to pi-release

    Change-Id: If094ad9fb98a85c4b1dcbdcbdde23d4e48b65939
    android-build-team Robot committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    add3e9c View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2018

  1. minadbd: track signature change of service_to_fd.

    Bug: http://b/37066218
    Bug: http://b/71898863
    Test: treehugger
    Change-Id: I5f2b14c65cff8d41dd3230d78b87e3e27e489bf6
    (cherry picked from commit 570b08b)
    jmgao committed Apr 14, 2018
    Configuration menu
    Copy the full SHA
    84c82a8 View commit details
    Browse the repository at this point in the history
  2. Merge "minadbd: track signature change of service_to_fd." into pi-dev

    TreeHugger Robot authored and Android (Google) Code Review committed Apr 14, 2018
    Configuration menu
    Copy the full SHA
    eacb9c0 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2018

  1. Snap for 4722539 from eacb9c0 to pi-release

    Change-Id: I97cc6990b6d75fcfd392494df1e5e51a406cca3f
    android-build-team Robot committed Apr 15, 2018
    Configuration menu
    Copy the full SHA
    d02bb6d View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2018

  1. Wipe the metadata partition when we wipe data.

    Bug: 78469201
    Test: Wipe from recovery menu, check that wipe is logged correctly
        and boot works as expected.
    Merged-In: I5bc8ef1b83d78de8b5edba6cc17882edcc744356
    Change-Id: I5bc8ef1b83d78de8b5edba6cc17882edcc744356
    ciphergoth committed Apr 25, 2018
    Configuration menu
    Copy the full SHA
    723056a View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2018

  1. Snap for 4745538 from 723056a to pi-release

    Change-Id: Ieeb843f451f9fec57458b4b59c14d043518d5ba3
    android-build-team Robot committed Apr 26, 2018
    Configuration menu
    Copy the full SHA
    896de54 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2018

  1. Merge AOSP android-9.0.0_r3

    Fix conflicts and make it build in 5.1, 6.0, 7.1, 8.1, and 9.0
    
    Change-Id: Ida0a64c29ff27d339b7f42a18d820930964ac6e4
    Dees-Troy committed Aug 24, 2018
    2 Configuration menu
    Copy the full SHA
    58f2132 View commit details
    Browse the repository at this point in the history
  2. twrp: use ANDROID_ROOT environment variable

    instead of hard-coded /system path
    
    I updated most of the references I found,
    but there might be more
    
    For devices that have to mount system at /system_root,
    this allows system to be bind mounted to /system
    and detected properly by TWRP
    
    Change-Id: I9f142fd8cec392f5b88e95476258dab9c21a9aac
    CaptainThrowback committed Aug 24, 2018
    Configuration menu
    Copy the full SHA
    9d6feb5 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2018

  1. Decrypt FBE on 9.0 (backwards compatible)

    Building in 9.0 may require you to add a flag to your twrp fstab
    with the fileencryption details like:
    fileencryption=ice:aes-256-heh
    
    Verify this against your device's stock fstab of course.
    
    Change-Id: If9286f5d5787280814daca9fbc8f5191ff26a839
    Dees-Troy committed Aug 31, 2018
    Configuration menu
    Copy the full SHA
    e9afc3d View commit details
    Browse the repository at this point in the history
  2. Fix header file for property_get

    Change-Id: Id8a8c0e2b5a0a6d5b656fe8f517ded5df512b1a1
    Dees-Troy committed Aug 31, 2018
    Configuration menu
    Copy the full SHA
    007de98 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2018

  1. Fix sha2 generation persistence.

    Change-Id: I8342ee36f996a0305632bdb6eb8b20ae4e93873b
    bigbiff committed Sep 19, 2018
    Configuration menu
    Copy the full SHA
    9ee4a85 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2018

  1. Fix build error on Pie with TW_NO_LEGACY_PROPS := true

    Fixes:
    bootable/recovery/twinstall.cpp:83:12: error: unused function 'switch_to_legacy_properties' [-Werror,-Wunused-function]
    static int switch_to_legacy_properties()
               ^
    bootable/recovery/twinstall.cpp:110:12: error: unused function 'switch_to_new_properties' [-Werror,-Wunused-function]
    static int switch_to_new_properties()
               ^
    bootable/recovery/twinstall.cpp:176:13: error: unused function 'update_binary_has_legacy_properties' [-Werror,-Wunused-function]
    static bool update_binary_has_legacy_properties(const char *binary) {
                ^
    3 errors generated.
    
    Change-Id: Ie30fd7ae74b00e791100572b49a17ff638212e5a
    stephan-gh committed Sep 26, 2018
    Configuration menu
    Copy the full SHA
    c4faea8 View commit details
    Browse the repository at this point in the history
  2. Add option to use ro.serialno for generating device id

    On some devices (e.g. ASUS Zenfone) the serial number of the device
    is stored in a file in the /factory partition. Consequently, the only
    way to load it is using a user space application during the init
    process, and to update the ro.serialno system property.
    
    In most places, TWRP already uses the system property to get the
    serial number of the device. However, when generating the device ID
    used for the backup folder name it checks the boot command line
    directly. On these devices, the serialno is not included on the
    command line.
    
    Add a TW_USE_SERIALNO_PROPERTY_FOR_DEVICE_ID option that enables
    usage of ro.serialno for generating the device id. It is disabled
    by default to avoid changing the device id on existing ports.
    
    Change-Id: I4a2eeca883f38fdaeb1209507fd8ebe44b1b04a0
    stephan-gh committed Sep 26, 2018
    Configuration menu
    Copy the full SHA
    fc0b16d View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2018

  1. Revert "updater: Remove dead make_parents()."

    This reverts commit 5902691.
    
    Change-Id: I69eadf1a091f6ecd45531789dedf72a178a055ba
    fourkbomb authored and stephan-gh committed Oct 11, 2018
    Configuration menu
    Copy the full SHA
    2e9747f View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2018

  1. minui: Don't include errno.h twice

    Change-Id: Id119ca2f34fb072e70037dbb6858799e94c74043
    cryptomilk authored and bigbiff committed Nov 13, 2018
    Configuration menu
    Copy the full SHA
    e14fb93 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2018

  1. Merge "Fix sha2 generation persistence." into android-9.0

    bigbiff authored and Gerrit Code Review committed Nov 29, 2018
    Configuration menu
    Copy the full SHA
    16badce View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2018

  1. Include weaver library in 9.0 trees

    Change-Id: I0e05e29b43c748d7746dc70428a4eb7664b7d2d4
    Dees-Troy committed Dec 21, 2018
    Configuration menu
    Copy the full SHA
    6b3bdfd View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2018

  1. prebuilt: resolve libext2_misc.so dependency for mke2fs

     * Following error while running mke2fs in TWRP compiled in 8.1+ tree:
       libc: CANNOT LINK EXECUTABLE "mke2fs": library "libext2_misc.so" not found
    
    Change-Id: I786f325229167dbd0d1d5f2a1ea95e9fe15a227e
    Signed-off-by: Vladimir Oltean <[email protected]>
    vladimiroltean authored and moetayuko committed Dec 23, 2018
    Configuration menu
    Copy the full SHA
    4780286 View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2018

  1. Merge "Add option to use ro.serialno for generating device id" into a…

    …ndroid-9.0
    bigbiff authored and Gerrit Code Review committed Dec 24, 2018
    Configuration menu
    Copy the full SHA
    cbd8cc5 View commit details
    Browse the repository at this point in the history
  2. Merge "twrp: use ANDROID_ROOT environment variable" into android-9.0

    bigbiff authored and Gerrit Code Review committed Dec 24, 2018
    Configuration menu
    Copy the full SHA
    09ee3ea View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2018

  1. vold_decrypt: use ANDROID_ROOT for additional compatibility

    Rather than using hard-coded system, use ANDROID_ROOT
    environment variable to allow AB devices to mount
    system_root at a custom path. This allows the /system
    path to be bind mounted from $ANDROID_ROOT/system
    so that the vold_decrypt paths can remain unchanged.
    
    Change-Id: I9a7b13385e43f169f1df4c75b2a003fc6913952c
    CaptainThrowback committed Dec 25, 2018
    Configuration menu
    Copy the full SHA
    6ac30af View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2019

  1. Fix building in Lineage 16.0

    Change-Id: Ia7c66d469c69d9c4e9263feae7b48d40c09af155
    Dees-Troy authored and bigbiff committed Jan 4, 2019
    Configuration menu
    Copy the full SHA
    66bcd49 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2019

  1. Merge "Include weaver library in 9.0 trees" into android-9.0

    bigbiff authored and Gerrit Code Review committed Jan 6, 2019
    Configuration menu
    Copy the full SHA
    635874d View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2019

  1. Merge "vold_decrypt: use ANDROID_ROOT for additional compatibility" i…

    …nto android-9.0
    bigbiff authored and Gerrit Code Review committed Jan 11, 2019
    Configuration menu
    Copy the full SHA
    4d7b0e0 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2019

  1. minuitwrp: Respect TARGET_RECOVERY_PIXEL_FORMAT config.

    Respect TARGET_RECOVERY_PIXEL_FORMAT config in screenshot, graphics.
    This fixes other wrong theme color in minuitwrp on Xiaomi MIX 2S.
    
    Change-Id: Ieb8480c411e2f0c72cc50ffca66943ab025e2b7e
    notsyncing authored and simonsmh committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    8e4e8ec View commit details
    Browse the repository at this point in the history
  2. minuitwrp: Support haptics drivers registered with LED class framework

    This type of vibrator is found on newer kernel versions (4.9+) and
    registers with LED class framework (located at /sys/class/leds/vibrator).
    
    Change-Id: I85e93fdac17b3f4b6f2ae689bbbd490806b5c29b
    notsyncing authored and simonsmh committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    c7c78d2 View commit details
    Browse the repository at this point in the history
  3. twrp: Fix unsigned compare compile warning.

    Change-Id: I7e847e76932a6ceea3e669e8b8b9ec35e5ef9d9d
    simonsmh committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    fcfc634 View commit details
    Browse the repository at this point in the history
  4. minuitwrp: Fix detection of libdrm on Pie

    external/libdrm was fully converted to Android.bp on Pie, causing
    the wildcard to match nothing, even though libdrm is present in
    the build tree. Change it to cover both build files.
    
    Change-Id: I4b092b29ac021cc1aa3bcf7346b225b79fd99f4b
    stephan-gh authored and simonsmh committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    d842fe1 View commit details
    Browse the repository at this point in the history
  5. libminuitwrp updates for Pixel 3 devices

    Fix rules for adf graphics to detect their presence when ninja
    make files are used.
    Change pixelflinger graphics mode so that colors display properly
    on the Pixel 3
    
    Change-Id: Ie7181be6c5e1e9a007b58fd798b2cef787ce4a01
    Dees-Troy committed Jan 16, 2019
    Configuration menu
    Copy the full SHA
    2f68527 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2019

  1. Add metadata decrypt support for FBE

    Change-Id: Ie0292f4ffea5993a4ae74fa04fc5c8252ca2cfcf
    Dees-Troy committed Jan 17, 2019
    Configuration menu
    Copy the full SHA
    9338282 View commit details
    Browse the repository at this point in the history
  2. Fix Check_Lifetime_Writes on AB devices

    Change-Id: Ie1904d9c48639e8ac9f95d9d2dfb1d965c571928
    Dees-Troy committed Jan 17, 2019
    Configuration menu
    Copy the full SHA
    54970bb View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2019

  1. minuitwrp: Remove unused variables

    Change-Id: Ia5cfb747f300557ebd719538244655c8b792c407
    cryptomilk committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    df7c39d View commit details
    Browse the repository at this point in the history
  2. toybox: create getprop symlink on SDK 27

    Currently when building for SDK 27 with TW_USE_TOOLBOX,
    no getprop symlink is produced. This minor change creates
    a symlink for getprop on SDK 27.
    
    Change-Id: I71bd3e0d0525bd0ae51634f52a5749ba0ff58444
    CaptainThrowback committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    f0167c4 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2019

  1. Merge "Revert "updater: Remove dead make_parents()."" into android-9.0

    bigbiff authored and Gerrit Code Review committed Jan 19, 2019
    Configuration menu
    Copy the full SHA
    c757a66 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2019

  1. Revert "Fix ld.config.txt errors on Android 8.1 system root devices"

    This reverts commit 1ccdefa.
    
    Reason for revert: Causes delay during boot resulting in failed decryption on FDE devices. Recommend having device maintainers specify this variable manually in rc file and include actual ld.config.txt (or placeholder) in ramdisk directly.
    
    Change-Id: Ib2410675396b38522d690c6057057d164cc0cff2
    CaptainThrowback committed Jan 22, 2019
    Configuration menu
    Copy the full SHA
    5cb78dc View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2019

  1. Hide navbar while running operations

    -switch to full screen when user is not suppose to do
     anything but wait for current operation to finish
    
    Change-Id: Ib54afc380a5cfe70e011e782cf3d7fe4c80958a4
    nijel8 committed Feb 1, 2019
    Configuration menu
    Copy the full SHA
    a833939 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2019

  1. vold_decrypt: Add android 9.0 support

    * build modified vdc_pie binary with 'checkpw' command support
      if building with Android 9.0 platform. That command and others
      we don't care about, are removed from Pie vdc. Our vdc_pie will
      run if system sdk version is > 27, otherwise system vdc is used.
      Code adapted from Android 9.0 system/vold/vdc.
    
    * include prebuilt vdc_pie(arm, arm64) binary if building with lower
      than Android 9.0 platform - vdc_pie cannot be build from source
      with those platforms without additional imports from Android 9.0
    
    * skip vdc "getpwtype" command for Pie - vds communicates with vold
      directly, no need for connection retries first
    
    * add /system/bin/servicemanager to required services
    
    * mount per-devive additional partitions needed for decryption
      listed with device BoardConfig.mk TW_CRYPTO_SYSTEM_VOLD_MOUNT
      flag like(space separated):
      TW_CRYPTO_SYSTEM_VOLD_MOUNT := vendor cust odm
    
    * add function to backup crypto footer before running vdc commands
      and restore it after - on Xiaomi Mi Max 3 both Oreo and Pie stock
      roms vold alters cripto footer when decrypting data in recovery
      which causes system to ask for crypto password at next reboot
      although password stays unchanged. Crypto footer backup/restore
      added as workaround for systems whit ro.build.version.sdk > 25.
      Also to preserve crypto footer integrity decryption attempts are
      skipped if footer backup fails to ensure no data loss.
      Code adapted from
      https://gerrit.omnirom.org/#/c/android_bootable_recovery/+/31206/
    
    Change-Id: I0a383f3843578fa55595cfea3b7c9c4431646a1a
    nijel8 committed Feb 2, 2019
    Configuration menu
    Copy the full SHA
    2c821a8 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2019

  1. partition: add squashfs support

    Change-Id: I56217b8fa4f247773157e04b03bd87128c612a00
    Signed-off-by: Erfan Abdi <[email protected]>
    erfanoabdi committed Feb 5, 2019
    Configuration menu
    Copy the full SHA
    b859e91 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2019

  1. slot management: add library for slot management.

    Change-Id: I7d0a67bc8e237866485680a5c54443435e7d2737
    bigbiff committed Feb 20, 2019
    Configuration menu
    Copy the full SHA
    c630cee View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2019

  1. Merge "minuitwrp: Remove unused variables" into android-9.0

    bigbiff authored and Gerrit Code Review committed Mar 3, 2019
    Configuration menu
    Copy the full SHA
    f9ec593 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2019

  1. Add path for time and date fix

    This will add another path where looking for ats_* files
    
    This is needed on some devices like OnePlus 6/6T
    
    Change-Id: I9ac7cdd05ddc80f3e269efda96be2b7712d68af0
    mauronofrio committed Mar 5, 2019
    Configuration menu
    Copy the full SHA
    2dab70d View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2019

  1. Merge "partition: add squashfs support" into android-9.0

    bigbiff authored and Gerrit Code Review committed Mar 7, 2019
    Configuration menu
    Copy the full SHA
    968009d View commit details
    Browse the repository at this point in the history
  2. mksh: add mkshrc when using TW_USE_TOOLBOX

    Fixes broken shell prompt in Terminal and adb shell
    
    Before: https://del.dog/7vphlkc
    After: https://del.dog/vhkjgo8
    
    Add as prebuilt with suffix "_twrp" to avoid conflict
    with original mkshrc and rename via POST_INSTALL_CMD
    
    Prebuilt version adjusts TMPDIR variable from
    "/data/local/tmp" to "/tmp" for TWRP
    
    Change-Id: I42a1b2a8c114f66dbe659c07485f1dfae8a5d314
    CaptainThrowback committed Mar 7, 2019
    Configuration menu
    Copy the full SHA
    5ab5964 View commit details
    Browse the repository at this point in the history
  3. Merge "vold_decrypt: Add android 9.0 support" into android-9.0

    bigbiff authored and Gerrit Code Review committed Mar 7, 2019
    Configuration menu
    Copy the full SHA
    7812dd4 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2019

  1. Merge "Add path for time and date fix" into android-9.0

    bigbiff authored and Gerrit Code Review committed Mar 9, 2019
    Configuration menu
    Copy the full SHA
    4087034 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2019

  1. Merge "Revert "Fix ld.config.txt errors on Android 8.1 system root de…

    …vices"" into android-9.0
    bigbiff authored and Gerrit Code Review committed Mar 14, 2019
    Configuration menu
    Copy the full SHA
    6b9ee0e View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2019

  1. Merge "Fix build error on Pie with TW_NO_LEGACY_PROPS := true" into a…

    …ndroid-9.0
    bigbiff authored and Gerrit Code Review committed Mar 15, 2019
    Configuration menu
    Copy the full SHA
    3ae89ed View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2019

  1. Merge "slot management: add library for slot management." into androi…

    …d-9.0
    Dees-Troy authored and Gerrit Code Review committed Mar 17, 2019
    Configuration menu
    Copy the full SHA
    5f8394c View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2019

  1. fix building TWRP for devices without cache

    Some devices do not declare BOARD_CACHEIMAGE_PARTITION_SIZE.
    This case is detected and required modules are added to LOCAL_REQUIRED_MODULES.
    However, := is used instead of +=  and causes the loss of all previously added modules.
    The end result is that twrp is not actually getting built since its module was lost.
    Fix that by using += when adding modules required for cache-less devices.
    
    Change-Id: Ib0a4db4955040ced77be7ed04d636905beadf093
    oshmoun authored and Dees-Troy committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    9220dba View commit details
    Browse the repository at this point in the history
  2. Vibration: allow BoardConfig to disable vibration for a device.

    Change-Id: Ibd2f67391ce6d7774498839829e0de9391508781
    bigbiff authored and Dees-Troy committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    3ed778a View commit details
    Browse the repository at this point in the history
  3. AB/Non AB Devices: updates for moving cache

    This patchset updates all the places we touch cache on AB devices
    and non AB devices so that we can write to the appropriate
    location. AB devices removed the cache partition and moved it to
    /data/cache.
    
    Change-Id: I485ec205a604f1f07ceb7700ae9c4e720fd55c3e
    bigbiff authored and Dees-Troy committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    19874f1 View commit details
    Browse the repository at this point in the history
  4. TW_ROTATION: add flag to handle hardware-rotated display panels

    * The existence of TW_ROTATION that implements this feature at the
      level of calls to libpixelflinger API closely mirrors the existence of
      ro.sf.hwrotation for surfaceflinger in LineageOS.
    * A brute-force approach was previously attempted via the
      BOARD_HAS_FLIPPED_SCREEN makefile flag. That code iterated over the
      active display surface in a double-buffered setup, and performed a
      "smart" memcpy from the UI drawing surface (gr_draw) onto the display
      surface. The problem was that, without heavy loop optimizations, that
      code could have never scaled for 90 and 270 degree rotation.
      I tried and you could literally see the for loop with the naked eye
      while the display surface was updating.
    * That code is now gone, but support for BOARD_HAS_FLIPPED_SCREEN := true
      is still there (now means TW_ROTATION := 180).
    * This patch relies on the assumption that it is impossibly difficult
      and non-portable to rotate whole framebuffer display surfaces, in a
      way that is not dependent upon the graphics backend (adf, fbdev, drm,
      overlay etc). Therefore, it identifies the rendering primitives that
      the TWRP graphics stack exposes to the GUI application above, and
      implements hwrotation inside each of those calls instead:
        - gr_line(), gr_fill() - 2D geometric shapes (lines, rectangles)
        - gr_blit() - graphical image resources
        - gr_ttf_textExWH() - font rendering
        - gr_fb_width(), gr_fb_height() - framebuffer resolution
    * The gist is to keep the backend and framebuffer (dimensions, row size
      etc) unchanged (because making changes there is asking for trouble),
      but present an altogether different reality to the calling API,
      according to the compile-time constant TW_ROTATION.
    * All (x, y) API coordinates and shapes are transformed before being
      actually rendered as (x_disp, y_disp) display coordinates.
    * With TW_ROTATION := 90 or 270 you can turn a landscape device into
      a portrait one, because the GUI is fooled by the reversed dimensions
      reported by gr_fb_width() and gr_fb_height() and renders the UI as
      for a different device.
    * For blit and text rendering operations, figuring out the transformed
      coordinates in display space is not enough, as the surfaces that are
      to be rendered have to be rotated themselves. This is handled by
      allocating an intermediary rotated surface on each rendering
      operation (not ideal), so the code with the intermediary surface
      is compiled out for the TW_ROTATION := 0 case.
    * This is still not as bad as rotating the whole framebuffer though, and
      on a msm8976 device the performance hit is not even noticeable (for
      software rendering).
    * Currently there is no attempt to make a connection between the
      TW_ROTATION and the { RECOVERY_TOUCHSCREEN_SWAP_XY,
      RECOVERY_TOUCHSCREEN_FLIP_X, RECOVERY_TOUCHSCREEN_FLIP_Y } settings.
    
    Change-Id: Ic8966ad5360c8a499649fdb16e242286640fd992
    Signed-off-by: Vladimir Oltean <[email protected]>
    vladimiroltean authored and Dees-Troy committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    d32b7eb View commit details
    Browse the repository at this point in the history
  5. prebuilt: Avoid re-linking ARM64 specific library on other architectures

    libclang_rt.ubsan_standalone-aarch64-android.so is a library for
    arm64 and is therefore not available on other architectures, causing
    the build to fail because there is no rule to build it.
    
    Change-Id: Ia4af38f42ba46a233d40e936d43e4c97c449d059
    stephan-gh authored and Dees-Troy committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    eff335d View commit details
    Browse the repository at this point in the history
  6. Full screen action: simplify by just hiding navbar

    Change-Id: Iab770ee47420deae08cc3c20127f36f53036fbec
    bigbiff authored and Dees-Troy committed Mar 18, 2019
    Configuration menu
    Copy the full SHA
    3157f12 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2019

  1. Fix gr_clip

    gr_clip was not calculating the correct values after the rotation
    patch. Since gr_clip width and height instead of taking a second
    pair of x,y coordinates, we cannot depend as much on the
    ROTATION_X_DISP and ROTATION_Y_DISP macros. The simplest solution
    was to call scissor with direct values in most cases.
    
    Change-Id: I25f9d575ec6ddc430fca4555f29c8334441fc95d
    Dees-Troy committed Mar 19, 2019
    Configuration menu
    Copy the full SHA
    e03158e View commit details
    Browse the repository at this point in the history
  2. TWRP: fix compiling on Android 7

    fixes
    cp: cannot create regular file (...)/recovery/root/file_contexts': No such file or directory
    
    Change-Id: I094a0bd242c6eb01e84570fbe49e853098e33a8b
    andi34 authored and Dees-Troy committed Mar 19, 2019
    Configuration menu
    Copy the full SHA
    38d2d52 View commit details
    Browse the repository at this point in the history
  3. gpt: Add -Wno-format-security

    The existing -Wno-format requires it:
    
    error: -Wformat-security ignored without -Wformat [-Werror=format-security]
    
    Change-Id: I9e4177df3437f582b7c71fdaf364ab3b7ced595e
    Signed-off-by: D. Andrei Măceș <[email protected]>
    airend authored and Dees-Troy committed Mar 19, 2019
    Configuration menu
    Copy the full SHA
    08f91e8 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2019

  1. Adding Edl button in reboot menu

    Edl mode is available only on qualcomm devices and it used to fully
    restore the bricked devices. I made the button available only if
    TW_HAS_EDL_MODE := true like the download button. I set the edl
    button to the right of the download button, so devices can support
    edl button and download button. I also added the translation for
    all languages.
    
    Change-Id: I69d1058b8c050b722395c7b3da6dce1ccfbe7a91
    mauronofrio authored and Dees-Troy committed Mar 20, 2019
    Configuration menu
    Copy the full SHA
    e9a49ef View commit details
    Browse the repository at this point in the history
  2. MTP FFS updates:

    This update splits old MTP code and new MTP code from Google
    into two trees, legacy and ffs. Depending on the SDK level,
    the build system will select the correct version. The reason
    for separating the versions out are due to older android trees
    not supporting the updated MTP code from Google.
    
    Most MTP code is from Google, with additions needed from
    implementing the Java functions in C++ for TWRP and FFS.
    
    We assume if you are in android-9.0 or above, your kernel
    has support for FFS over MTP. Verify that your init.rc
    is mounting the MTP FFS driver to the proper location.
    
    Change-Id: I4b107b239bd9bc5699527f9c8c77d9079f264a7e
    bigbiff authored and Dees-Troy committed Mar 20, 2019
    Configuration menu
    Copy the full SHA
    af32bb9 View commit details
    Browse the repository at this point in the history
  3. Update FDE decrypt to pie from CAF

    cryptfs.cpp based on CAF tag LA.UM.7.3.r1-05900-sdm845.0
    Used CAF because AOSP no longer contains code for qcom's hardware
    crypto.
    
    Change-Id: I921cbe9bed70989f91449e23b5ac3ec1037b7b97
    Dees-Troy committed Mar 20, 2019
    Configuration menu
    Copy the full SHA
    98661c1 View commit details
    Browse the repository at this point in the history
  4. Merge "Update FDE decrypt to pie from CAF" into android-9.0

    Dees-Troy authored and Gerrit Code Review committed Mar 20, 2019
    Configuration menu
    Copy the full SHA
    908442d View commit details
    Browse the repository at this point in the history
  5. Use listbox for device-specific advanced menu items

    This patch allows items to have more than one action surrounded
    by the <actions> tags like other GUI elements. The patch also
    adds new twrp command line options that let you reload the theme
    and switch to a specific page from the command line:
    
    adb shell twrp reloadtheme
    adb shell twrp changepage=advanced
    
    Change-Id: I838ea380a508be07b9fa617034d1954e116febd6
    Dees-Troy committed Mar 20, 2019
    Configuration menu
    Copy the full SHA
    64e0a65 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2019

  1. Fix the long broken format function

     * For EXT2/3:
       * Align mke2fs options with Android 9.0 fs_mgr_format.cpp.
     * For EXT4:
       * Note that make_ext4fs is still in use on Android 8.1 to workaround
         a FDE encryption bug even though mke2fs has become the default
         choice. The bug is fixed in Android 9.0+.
     * For F2FS:
       * Drop the broken "-r" option, it's never ported to O, explicitly
         pass number of sectors instead.
       * Keep all options aligned with Pie fs_mgr.
       * Check existence before start wiping, as Wipe_EXT4 does.
     * For all:
       * Calculate block size at runtime, and reserve the space specified
         via negative "length" option from fstab. Note that positive length
         will be ignored.
       * If the partition has crypto footer, and "length" is not specified
         in fstab, automatically reverse CRYPT_FOOTER_OFFSET (16384).
       * Remove the default crypto key location: footer, this is a bad
         assumption since most partitions don't use encryption! We need to
         know the real situation to decide whether to reserve crypto footer
         on format.
       * If the current action is "wipe" or "change filesystem", wipe crypto
         footer or block device after mkfs if the partition is
         unencrypted or undecrypted (e.g., wrong password).
       * If the current action is "format data", unconditionally wipe crypto
         footer or block device.
    
    Change-Id: I7304a8ee703131ea4a08ab7c60334af28cac28b3
    moetayuko authored and Dees-Troy committed Mar 21, 2019
    Configuration menu
    Copy the full SHA
    4879b37 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2019

  1. Support both old and new mkfs.f2fs

    Easiest way I could find to determine if we have the old or the
    new mkfs.f2fs version is to pipe the usage output to grep and
    grep the output for "reserved" and redirect the output to a file.
    If the file has any data in it, then we must have the old
    mkfs.f2fs that uses -r.
    
    Change-Id: I7f1ed88b577a3f9827a98f0868d8f82e4e4886ac
    Dees-Troy committed Mar 22, 2019
    Configuration menu
    Copy the full SHA
    7e94158 View commit details
    Browse the repository at this point in the history
  2. dosfstools: Fix compile error in Pie tree on 32 bit systems

    Fixes the following compile error:
    bootable/recovery/dosfstools/src/check.c:591:4: error: format specifies type 'unsigned long' but the argument has type 'unsigned long long'
    [-Werror,-Wformat]
                     (uint64_t)clusters * fs->cluster_size,
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    This was fixed upstream in
    "Fix format string in check_file() (%lu -> %llu)" (dosfstools/dosfstools@d7665f2)
    This commit applies the change on top of TWRP's dosfstools copy.
    
    Change-Id: I23374594662fd95e795f793112e78c54d8d50b30
    stephan-gh authored and Dees-Troy committed Mar 22, 2019
    Configuration menu
    Copy the full SHA
    a0a1635 View commit details
    Browse the repository at this point in the history
  3. twinstall: Force variable type

    Force the usage of variable type since it is different on the 32-bit
    devices. Use this commit to avoid the problem.
    
    bugs:
    bootable/recovery/twinstall.cpp:201:67: error: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'long long' [-Werror,-Wformat]
    LOGINFO("has_legacy_properties: mmap (size=%zu) failed: %s!\n", finfo.st_size, strerror(errno));
                                               ~~~                  ^~~~~~~~~~~~~
                                               %lld
    
    Change-Id: Ie0c51a90490e0c069fff33884a9431a97361f5c6
    simonsmh authored and Dees-Troy committed Mar 22, 2019
    Configuration menu
    Copy the full SHA
    8ae2b0d View commit details
    Browse the repository at this point in the history
  4. prebuilt: Support ubsan libraries of all architectures

    According to the file under './prebuilts/clang/host/linux-x86/clang-4691093/lib64/clang/6.0.2/lib/linux/*.so', these files are supported under different target architectures. This commit would add support to every architecture.
    
    Change-Id: I1f88bc06c3f30e6d2f2083ba9b6350b2376d83f2
    simonsmh authored and Dees-Troy committed Mar 22, 2019
    Configuration menu
    Copy the full SHA
    e682598 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2019

  1. Remove leftover mounts.h~HEAD

    * Wrongly added during 8.0 merge
    
    Change-Id: Icc0415f978af352458ce7d605b0c8c4cd84c184e
    mikeNG committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    0bb5df9 View commit details
    Browse the repository at this point in the history
  2. Set a dummy CM_PLATFORM_SDK_VERSION if it doesn't exist

    * Avoids printing 2 build warnings on every single rebuild
      of anything when building TWRP inline
    
    Change-Id: I5dd3623707c03af0dfe7366f1a77e83762e720b2
    mikeNG committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    0cc2376 View commit details
    Browse the repository at this point in the history
  3. Remove duplicate ext4 flags from Android.mk

    * They are right above
    
    Change-Id: Ifff889e6ff748ed6bfa4a076b1afcc2c6a7eed3b
    mikeNG committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    de18923 View commit details
    Browse the repository at this point in the history
  4. Don't copy local mke2fs.conf for O-MR1

    * It is now copied from system/extras/ext4_utils
    
    Change-Id: Ibddcad4928c17bc174390d75708a5382a9262441
    mikeNG committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    9bb7c22 View commit details
    Browse the repository at this point in the history
  5. updater: Allow devices to suppress BLKDISCARD

    * On some devices TRIM is disabled for security reasons. Don't fail
      flashing the ROM because discard isn't possible in this case.
    
    Change-Id: I044619c3e0b01a496d967ef136501d0190240ad4
    andi34 authored and mikeNG committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    0ef6492 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2019

  1. Transfer /dev/mtp_usb fd ownership when instancing MtpDevHandle

    /dev/mtp_usb was opened before instancing MtpDevHandle, the existing fd
    should be passed in otherwise MtpDevHandle::start would be blocked as it
    attempted to open the device twice.
    
    Change-Id: I6afc5b6926930dad77aceac2f6a00e1c6759a883
    moetayuko committed Mar 28, 2019
    Configuration menu
    Copy the full SHA
    95244dd View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2019

  1. Correct return case for context check in /cache/recovery

    Change-Id: If9eca1b7f6b781542194a6b39c19ee03a521f94b
    makorn645 committed Mar 30, 2019
    Configuration menu
    Copy the full SHA
    abc299c View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2019

  1. Zip install: this will allow TWRP to check md5 and sha256 checksums

    for zip installs.
    
    Change-Id: I1fb6af777e08aea29bedaf2e6a9b385ae3b03fac
    bigbiff authored and Dees-Troy committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    718ab39 View commit details
    Browse the repository at this point in the history
  2. ADB Backup: Ignore creating backup folder for phones

    not decrypted. This allows you to continue without error.
    Also we should not set restore path for images in adb
    backup.
    Change-Id: Ia75a70377b8e1364fefc82ad41ccf74fa3b7a3c3
    bigbiff authored and Dees-Troy committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    cdd97c7 View commit details
    Browse the repository at this point in the history
  3. Fix zip digest check

    Change-Id: I5c05c485574131d3fbc8cb5af5b1281d12b822ce
    Dees-Troy committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    c53d520 View commit details
    Browse the repository at this point in the history
  4. ADB Backup: Stop resetting digest check on restore.

    Change-Id: Ieb431705e69dcdfd74efb0a971cd7d2908a42098
    bigbiff committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    4b4148e View commit details
    Browse the repository at this point in the history
  5. Merge "ADB Backup: Ignore creating backup folder for phones not decry…

    …pted. This allows you to continue without error. Also we should not set restore path for images in adb backup. Change-Id: Ia75a70377b8e1364fefc82ad41ccf74fa3b7a3c3" into android-9.0
    bigbiff authored and Gerrit Code Review committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    794e364 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2019

  1. AB Cache dir: If device doesn't have /data/cache for FBE, we should

    try /persist if in the fstab.
    
    Change-Id: I70dd19538b7f9b8cf61c46f6c8167057eec3342b
    bigbiff authored and Dees-Troy committed Apr 3, 2019
    Configuration menu
    Copy the full SHA
    e4bdb15 View commit details
    Browse the repository at this point in the history
  2. Fix build in 5.1 tree

    Change-Id: I15f888d58c01de00920dc5c56148d363f4dd79b8
    Dees-Troy committed Apr 3, 2019
    Configuration menu
    Copy the full SHA
    9a4d740 View commit details
    Browse the repository at this point in the history
  3. Use magiskboot to repack the boot partition

    Set TW_INCLUDE_REPACKTOOLS := true
    
    Must also have:
    AB_OTA_UPDATER := true
    
    Use magiskboot and provide GUI options to allow users to repack
    their existing boot image to install TWRP (or kernels) so we can
    stop having to provide installation zips for AB devices. There is
    also an option to try to fix a recovery bootloop if the kernel
    has been patched to always boot the ramdisk for root, etc.
    
    You will need to pull the below repo into external/magisk-prebuilt
    https://github.com/TeamWin/external_magisk-prebuilt
    
    Change-Id: I74196cc6f095a7576d61886dc96cbc18deba9b04
    Dees-Troy committed Apr 3, 2019
    Configuration menu
    Copy the full SHA
    53796e7 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2019

  1. Prevent having to double-tap some check boxes

    Check boxes that do not have a default value set usually required
    you to tap them twice to toggle them on the very first time. This
    patch checks the return value from GetValue and sets a default of
    0 if the variable does not already exist in the Data Manager.
    
    Change-Id: I1ff26e756764ed2a00b10102f13a5bce0119771a
    Dees-Troy committed Apr 4, 2019
    Configuration menu
    Copy the full SHA
    b150276 View commit details
    Browse the repository at this point in the history
  2. Extract arch-specific updater binary if present

    Check for and extract arch specific updater binary based on
    ro.product.cpu.abilist and use ro.product.cpu.abi as a fall back.
    If no arch specific updater binary is present then use the regular
    update-binary file. Note that a file named update-binary must be
    present in the zip still even if it is a 0 byte file.
    
    Change-Id: Iabb2156e68d40c5b99d55ea8e4a9a553eb26600a
    Dees-Troy committed Apr 4, 2019
    Configuration menu
    Copy the full SHA
    193befe View commit details
    Browse the repository at this point in the history
  3. Three Dot Three Dot Zero

    Change-Id: If58ac0918b78c90071ffe2efa1c8509316a2afb1
    Dees-Troy committed Apr 4, 2019
    Configuration menu
    Copy the full SHA
    b1a7ae9 View commit details
    Browse the repository at this point in the history
  4. Fix recovery-twrp in some old CM trees

    Change-Id: Ie401ab8ec39b721c3747475bcc8269f78963d31c
    Dees-Troy committed Apr 4, 2019
    Configuration menu
    Copy the full SHA
    f0a7e59 View commit details
    Browse the repository at this point in the history
  5. fix build error in 9.0 with TW_NO_EXFAT_FUSE:=true

    'bootable/recovery/partition.cpp:1476:158:
    
    error:
    
    format specifies type unsigned int
    
    but the argument has type unsigned long
    
    [-Werror,-Wformat]'
    
    if using TW_NO_EXFAT_FUSE := true;
    
    Change-Id: Icff5893a0de746ecfa3b247dc83c74a42e04bb08
    MartinX3 committed Apr 4, 2019
    Configuration menu
    Copy the full SHA
    6d84378 View commit details
    Browse the repository at this point in the history
  6. Fix "Install Recovery Ramdisk" of a file which contains a space in th…

    …e name
    
    Change-Id: Ib2b1deee7427d9ac565676068b11982171f7a98d
    mauronofrio committed Apr 4, 2019
    Configuration menu
    Copy the full SHA
    82a2f45 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2019

  1. Change slot name position

    This is need to avoid overlapping between the third row of buttons and 
    the current active slot, actually if you enable edl button, the active 
    slot will overlap the button.
    
    Change-Id: I6cfc945c2d0be0530dad7b4ce0f0e2ca29c297c4
    mauronofrio authored and Dees-Troy committed Apr 5, 2019
    Configuration menu
    Copy the full SHA
    1ecb6df View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2019

  1. Do not check digest on mapped installs

    Change-Id: I2d57eba354e4ec88f418208183f53c12e8548fcb
    Dees-Troy committed Apr 9, 2019
    Configuration menu
    Copy the full SHA
    1da568f View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2019

  1. languages: encode for utf-8 in the appropriate places.

    Change-Id: I74308aae75098aa1a47b7f11b7c3214fe4e6d58e
    bigbiff committed Apr 15, 2019
    Configuration menu
    Copy the full SHA
    ceb0320 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2019

  1. Updated Russian localization, bugs fixed (letter Ё, cities in time zo…

    …nes are correct, correct checksum, and other minor fixes).
    
    Change-Id: Id1fd250c69cdc91e8b3e76d056fb1a5935457cdd
    f2065 committed Apr 16, 2019
    Configuration menu
    Copy the full SHA
    e605f1c View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2019

  1. Merge "languages: encode for utf-8 in the appropriate places." into a…

    …ndroid-9.0
    bigbiff authored and Gerrit Code Review committed Apr 17, 2019
    Configuration menu
    Copy the full SHA
    7af2260 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2019

  1. Pass file_contexts path to e2fsdroid

     * Otherwise no context will be initialized but existing context will be
       erased and lead to unexpected behavior, e.g., device no longer boots
       after restoring a system backup due to missing valid seclabel of the
       system partition.
    
    Change-Id: I60c62fdc699714bb906a40ce5e1f40299681f72a
    moetayuko committed Apr 22, 2019
    Configuration menu
    Copy the full SHA
    19e8461 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2019

  1. ext4crypt: add missing cflag

    Avoid calling e4crypt_prepare_user_storage with wrong input parameters.
    
    Change-Id: I5c8945370cb642e46f08c65090c0290c15fe0b57
    libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 632 (recovery), pid 564 (recovery)
    codeworkx committed Apr 23, 2019
    Configuration menu
    Copy the full SHA
    22e3aa9 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2019

  1. Use BSD grep for builds with toybox

    - Include symlinks for egrep and fgrep
    
    Change-Id: I78e27f95efa143fa63def02c9e72af567833aefe
    CaptainThrowback committed Apr 29, 2019
    Configuration menu
    Copy the full SHA
    3c565b5 View commit details
    Browse the repository at this point in the history
  2. Clean up logd init file

    - Remove unnecessary services
    
    Change-Id: I4c9227cd49eeef1176d321ae61ca3ca8c3f54596
    CaptainThrowback committed Apr 29, 2019
    Configuration menu
    Copy the full SHA
    9861304 View commit details
    Browse the repository at this point in the history
  3. mkshrc: remove post-install cmd and use LOCAL_MODULE_STEM

    Change-Id: I2e0c7fda8cb39dd2a607f7ab2fdfe744e75fb3cd
    CaptainThrowback committed Apr 29, 2019
    Configuration menu
    Copy the full SHA
    bb01672 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2019

  1. awk: add awk for trees including one-true-awk

    Change-Id: I5458a3ecc69b60cc249f598b0250428fc414f34b
    CaptainThrowback committed Apr 30, 2019
    Configuration menu
    Copy the full SHA
    93804dd View commit details
    Browse the repository at this point in the history

Commits on May 1, 2019

  1. toybox: fix build in 6.0 tree

    When building with TW_USE_TOOLBOX, build currently fails.
    This patch fixes those build errors.
    
    Change-Id: I041523d93a3fa9624fee80679e521750b4f9edfa
    CaptainThrowback committed May 1, 2019
    Configuration menu
    Copy the full SHA
    695baa6 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2019

  1. Merge "Use BSD grep for builds with toybox" into android-9.0

    bigbiff authored and Gerrit Code Review committed May 2, 2019
    Configuration menu
    Copy the full SHA
    84d2300 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2019

  1. Merge "Clean up logd init file" into android-9.0

    bigbiff authored and Gerrit Code Review committed May 3, 2019
    Configuration menu
    Copy the full SHA
    252651b View commit details
    Browse the repository at this point in the history
  2. Merge "mkshrc: remove post-install cmd and use LOCAL_MODULE_STEM" int…

    …o android-9.0
    bigbiff authored and Gerrit Code Review committed May 3, 2019
    Configuration menu
    Copy the full SHA
    a525f3b View commit details
    Browse the repository at this point in the history
  3. Merge "awk: add awk for trees including one-true-awk" into android-9.0

    bigbiff authored and Gerrit Code Review committed May 3, 2019
    Configuration menu
    Copy the full SHA
    5f177ae View commit details
    Browse the repository at this point in the history

Commits on May 4, 2019

  1. bsd dd: include prebuilt bsd dd in twrp for Nougat and greater

    - Cleaned up toolbox/Android.mk so that BSD dd builds
      with correct Android versions
    
    Change-Id: Idb15811480ec03b05336d54b866233b5ac99dfaf
    bigbiff committed May 4, 2019
    1 Configuration menu
    Copy the full SHA
    6af36a4 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2019

  1. English language: Remove duplicate value.

    Change-Id: I849acef3e19519bfe6b8dc5fdd9a50eda3f03e2a
    bigbiff committed May 5, 2019
    Configuration menu
    Copy the full SHA
    3f20a85 View commit details
    Browse the repository at this point in the history
  2. NTFS-3G: use newer libfuse-light in pie.

    Change-Id: I66dc38a19524f1eaac8cc5afc1110c5d11fc74eb
    bigbiff committed May 5, 2019
    Configuration menu
    Copy the full SHA
    52f868b View commit details
    Browse the repository at this point in the history

Commits on May 8, 2019

  1. Merge "NTFS-3G: use newer libfuse-light in pie." into android-9.0

    bigbiff authored and Gerrit Code Review committed May 8, 2019
    Configuration menu
    Copy the full SHA
    117c647 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2019

  1. language: update Chinese translations

    Change-Id: Id34055262b7c711a2ee71d97d27503a887d35b76
    Signed-off-by: betaxab <[email protected]>
    betaxab committed May 10, 2019
    Configuration menu
    Copy the full SHA
    c23f00b View commit details
    Browse the repository at this point in the history
  2. Merge "language: update Chinese translations" into android-9.0

    bigbiff authored and Gerrit Code Review committed May 10, 2019
    Configuration menu
    Copy the full SHA
    c2a5f7e View commit details
    Browse the repository at this point in the history

Commits on May 12, 2019

  1. toolbox: Avoid linking toolbox tools to dd

    Having the twrp_dd module definition right within the build rules
    for the toolbox symlinks causes the toolbox tools (getprop, ...)
    to be linked to dd instead of toolbox.
    
    This happens because the symlinks are created using variables
    from the "toolbox_recovery" module (e.g. LOCAL_MODULE_STEM).
    Those are changed by the twrp_dd module definition.
    
    Move the twrp_dd module definition to the end of the make file
    (after the build rules for the symlinks) to fix this.
    
    Fixes https://github.com/omnirom/android_bootable_recovery/issues/257
    
    Change-Id: I44973920898fe8a21bc32d621500fe38f9d1ebdd
    stephan-gh committed May 12, 2019
    Configuration menu
    Copy the full SHA
    ead0f49 View commit details
    Browse the repository at this point in the history
  2. Update help manual in orscmd

    Change-Id: I4b2e385637cded40dbb08e0ee8ca7117dbdd67ca
    Bodya-Kolibass committed May 12, 2019
    Configuration menu
    Copy the full SHA
    29969ec View commit details
    Browse the repository at this point in the history

Commits on May 13, 2019

  1. Merge "Update help manual in orscmd" into android-9.0

    bigbiff authored and Gerrit Code Review committed May 13, 2019
    Configuration menu
    Copy the full SHA
    f816672 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2019

  1. Merge "Pass file_contexts path to e2fsdroid" into android-9.0

    bigbiff authored and Gerrit Code Review committed May 14, 2019
    Configuration menu
    Copy the full SHA
    c1ad6c1 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2019

  1. Resolve e2fsdroid failure in certain cases

     * Set proper SELinux context for system-as-root system, AOSP uses "/"
       in fstab while TWRP uses "/system_root" so an exception is necessary.
     * Skip initializing context if the target partition doesn't exist in
       /file_contexts e.g. /usb-otg.
    
    Change-Id: I8f802c34e18fb9f65bf936d11967c83a451b0493
    moetayuko committed May 15, 2019
    Configuration menu
    Copy the full SHA
    3cf05a5 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2019

  1. Flash both A/B partitions when flashing recovery ramdisk

    Change-Id: Ib4017943be91f6b2030094d73daa826a4a1555d4
    Dees-Troy committed May 16, 2019
    1 Configuration menu
    Copy the full SHA
    9f5dd31 View commit details
    Browse the repository at this point in the history
  2. Add option to uninstall TWRP app from /system

    Change-Id: Ibe372a372333c357810be2afcb3796723ca370cb
    Dees-Troy committed May 16, 2019
    Configuration menu
    Copy the full SHA
    76bbd3a View commit details
    Browse the repository at this point in the history
  3. 3.3.1

    Change-Id: I9c1114d133cd195ce536dc66b6bdc1f0236ddd55
    Dees-Troy committed May 16, 2019
    Configuration menu
    Copy the full SHA
    5a1ae04 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2019

  1. Digest: Create digest for each subpartition and not just the first.

    Change-Id: I408382e83aa0ac1106ff7198adf9787c0a0877cd
    bigbiff committed May 18, 2019
    Configuration menu
    Copy the full SHA
    f5955b1 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2019

  1. ext4crypt: support synthetic keys v3 on May update

    Re-implemented SP800Derive in C++, which is added as the new key
    derivation function in Android 9.0 May update. From file
    services/core/java/com/android/server/locksettings/SP800Derive.java in
    frameworks/base.
    
    This is required to get TWRP working on any Android device that has a
    screen lock set up after the May update.
    
    Change-Id: I5c1a51b110033f2b0b75d5e36fd8098c05e95179
    PeterCxy committed May 24, 2019
    Configuration menu
    Copy the full SHA
    ea1764c View commit details
    Browse the repository at this point in the history
  2. Switch between dependencies and modules

    Use LOCAL_REQUIRED_MODULES for Pie and up and
    LOCAL_ADDITIONAL_DEPENDENCIES for Oreo and down.
    
    Change-Id: I5365e782f98f3bbf4bf246be22c8f573824b65ee
    Dees-Troy committed May 24, 2019
    1 Configuration menu
    Copy the full SHA
    abf1fb0 View commit details
    Browse the repository at this point in the history
  3. Fix symlink creation

    Change-Id: I0d0bcdde2957974eb357a6f3d820bd5ab0fa47ee
    Dees-Troy committed May 24, 2019
    Configuration menu
    Copy the full SHA
    ae7ff3b View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2019

  1. fb2png: Fix compilation in android-9.0 repos.

    Remove unused reference.
    Change temp variables to size_t.
    Update function calls for unused arguments.
    Update static functions to ignore being defined
    for each file that includes it.
    Change-Id: If11d4e26daee54197f369974a09ec71f27abb59b
    bigbiff committed Jun 6, 2019
    Configuration menu
    Copy the full SHA
    3c897ae View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2019

  1. Backup_Tar(): Properly localise string instead of using English.

    Change-Id: Id13885a30e3a412e5b7b42de0e63cd7fc885dfc1
    ianmacd authored and bigbiff committed Jun 23, 2019
    Configuration menu
    Copy the full SHA
    a3b25a3 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2019

  1. Merge "ext4crypt: support synthetic keys v3 on May update" into andro…

    …id-9.0
    bigbiff authored and Gerrit Code Review committed Jun 25, 2019
    Configuration menu
    Copy the full SHA
    0bd7c59 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2019

  1. prebuilt: Add [email protected] for /sbin/keystore

    Change-Id: I62e68c137e9790392dd2fc44c2add990c2f408d6
    Signed-off-by: Andreas Schneider <[email protected]>
    cryptomilk authored and bigbiff committed Jul 3, 2019
    Configuration menu
    Copy the full SHA
    b0a0dbb View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2019

  1. Merge "fix build error in 9.0 with TW_NO_EXFAT_FUSE:=true" into andro…

    …id-9.0
    bigbiff authored and Gerrit Code Review committed Aug 3, 2019
    Configuration menu
    Copy the full SHA
    69ab4a6 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2019

  1. ext4crypt: support wrappedkey for FBE

    Qualcomm devices use a special `wrappedkey` mode for FBE. This is ported
    from CAF
    https://source.codeaurora.org/quic/la/platform/system/vold/commit/?h=LA.UM.7.8.r4-01000-SDM710.0&id=9229262d893a8592f7bc1b4e8a8dab7aad8df68c,
    originally by folks at Mokee for vold
    https://mokeedev.review/c/MoKee/android_system_vold/+/34102.
    
    This patch ports the above changes to `ext4crypt`, which we can use in
    recovery. Note that since we do not have `fs_mgr` in the recovery, we
    cannot read the `wrappedkey` flag from fstab. Instead, similar to
    `fbe.contents`, we use a special property `fbe.data.wrappedkey` to
    indicate support for wrappedkey mode. Devices that need to use this
    should set this property to `true` to activate corresponding code.
    
    Change-Id: I79c2855d577156670b45c10c7c7b1fcd9fece8d9
    PeterCxy authored and bigbiff committed Sep 1, 2019
    Configuration menu
    Copy the full SHA
    90edd2e View commit details
    Browse the repository at this point in the history
  2. ext4crypt: change to upgrade key if export fails

    Add support to upgrade key when export fails with KEY_REQUIRES_UPGRADE.
    
    Ported from
    https://source.codeaurora.org/quic/la/platform/system/vold/commit/?h=LA.UM.7.9.r1-06100-sm6150.0&id=85c46eaacc60290db5e71380d89eb4d99ed67995
    
    Change-Id: Ic64be8ade00c0b0d014370ecc9341b1ecc9b0d7a
    PeterCxy authored and bigbiff committed Sep 1, 2019
    Configuration menu
    Copy the full SHA
    05cd3f8 View commit details
    Browse the repository at this point in the history
  3. Encryption: try wrapped key if the first time decryption fails

    Change-Id: I108b7aeea41c6b85c851f40c1c4a7e25012e2463
    bigbiff committed Sep 1, 2019
    Configuration menu
    Copy the full SHA
    0be03b3 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2019

  1. Persistent logs: Compress target log on storage.

    This update will use pigz to compress the log that TWRP stores
    on persistent storage in order to help with storing logs on the
    persist partition.
    
    Change-Id: I16971b8b138b74a164b1b0835847177cfc6104e2
    bigbiff committed Sep 18, 2019
    Configuration menu
    Copy the full SHA
    e3ad534 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2019

  1. Merge "Persistent logs: Compress target log on storage." into android…

    …-9.0
    bigbiff authored and Gerrit Code Review committed Oct 6, 2019
    Configuration menu
    Copy the full SHA
    c1d7c35 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2019

  1. Update Portuguese (Portugal) translation

    Change-Id: I2adff8a76f210048edc29264652d072139d594f9
    ElTifo committed Oct 17, 2019
    Configuration menu
    Copy the full SHA
    bdb20a9 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2019

  1. Fix typo in comment

    Change-Id: I9b24d324fd61f2f0d2e85a9d123778557e14d63c
    Signed-off-by: VDavid003 <[email protected]>
    VDavid003 committed Oct 18, 2019
    Configuration menu
    Copy the full SHA
    2034a41 View commit details
    Browse the repository at this point in the history
  2. Merge "Update Portuguese (Portugal) translation" into android-9.0

    bigbiff authored and Gerrit Code Review committed Oct 18, 2019
    Configuration menu
    Copy the full SHA
    e078e9c View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2019

  1. Add ld.config.txt for Android 8.x+ trees

    - Fixes the ld.config.txt errors in recovery log which may prevent
      decryption and shell commands from working properly
    
    Change-Id: I0e057525cdda39e8ac10115d37e2cb882b9c4844
    CaptainThrowback committed Oct 21, 2019
    Configuration menu
    Copy the full SHA
    170964d View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2019

  1. cache: Fix typo in twrp-functions.cpp for A/B devices

    * without this A/B devices are writing 8MB+ uncompressed logs under persist/cache/recovery which increase in size over time. This can eventually leave persist partition OOM causing other cascading issues like crashing the modem during boot and bootloops.
    
    Change-Id: I0f3aab0eb96804d1be8de965eb2c2e9bb83d5b56
    Co-authored-by: Erfan Abdi <[email protected]>
    Signed-off-by: Andrew Hexen <[email protected]>
    SyberHexen and erfanoabdi committed Oct 30, 2019
    Configuration menu
    Copy the full SHA
    a895118 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2019

  1. Merge "Add ld.config.txt for Android 8.x+ trees" into android-9.0

    bigbiff authored and Gerrit Code Review committed Nov 7, 2019
    Configuration menu
    Copy the full SHA
    8c0bcc8 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2019

  1. ldconfig: add /sbin to search.paths

    - Move commands from prebuilt to root Android.mk
    - Hotfix for linker errors after https://git.io/JerWD merge
      on some Samsung device(s)
    
    Change-Id: If628ab486689878885b696c2f5a107987092aeba
    CaptainThrowback committed Nov 14, 2019
    Configuration menu
    Copy the full SHA
    8d70eb6 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2019

  1. Encryption: try wrapped key also for device without metadata support

    Change-Id: I8b58e45ec0d42470226083e8003dcd8152a91af1
    mauronofrio committed Nov 23, 2019
    8 Configuration menu
    Copy the full SHA
    9bf7335 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2019

  1. Merge "ldconfig: add /sbin to search.paths" into android-9.0

    bigbiff authored and Gerrit Code Review committed Dec 1, 2019
    Configuration menu
    Copy the full SHA
    72d75b0 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2020

  1. minuitwrp: Include some missing variables related to screen blanking

    We need these variables to enable blanking on devices which do not
    support ioctl. The code depends on these variables, but we are not
    exporting it.
    vineethrp committed Jan 2, 2020
    Configuration menu
    Copy the full SHA
    00c2198 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2020

  1. updater: duplicate function definition

    Armin Mehdilou committed Jan 31, 2020
    Configuration menu
    Copy the full SHA
    8fcdee1 View commit details
    Browse the repository at this point in the history
  2. updater: removed unused variables in installer

    Armin Mehdilou committed Jan 31, 2020
    Configuration menu
    Copy the full SHA
    cf3f943 View commit details
    Browse the repository at this point in the history
  3. otautil: Android.bp libziparchive added

    Armin Mehdilou committed Jan 31, 2020
    1 Configuration menu
    Copy the full SHA
    9d3ea68 View commit details
    Browse the repository at this point in the history