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

Conversation

Manuel202025
Copy link

WE DO NOT MERGE PULL REQUESTS SUBMITTED HERE

You will need to submit it through OmniRom Gerrit

For changes to device trees, use TWRP Gerrit

This guide explani how to use Gerrit code review

android-build-team Robot and others added 30 commits December 14, 2017 08:34
Change-Id: I894de85dbc6747822d277339bafd772d28ac1b79
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]>
Bug: N/A
Test: builds
Change-Id: I5183ec8133f5dc9a81a438223c6d3d2ea11ef0ec
am: 80ccac2

Change-Id: Ife18e431247a479cb038f21f92ad0b687a9509b8
am: bd87037

Change-Id: I720e3ba91146cbbf783eb3ef4b8347f16c52ec05
…d87037

am: 92be137

Change-Id: Idc53c3825af7ad5193f496576d289877a51edd29
Change-Id: If87a89580023d0413353a5f7acbdd9659f729acb
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
Change-Id: Ia003119a1fd2751a6ef89c74ef9eaeaefa58f258
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
am: 63eb1a4

Change-Id: Ie12275c2694cabcf5b934f0673ecb228d6c8c3e6
am: 7441ee7

Change-Id: I390bba7bd9a76e732873f6abc03a419ec8b2f2d6
…am: 7441ee7

am: cbbf671

Change-Id: Ibd6e89736a84777088a7df4a548e11a46b3cd586
Change-Id: I03b319848fb9b084a865d7357fb3ce6dc0a7e1dd
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
am: bded087

Change-Id: I0b000ba5d8855c38e4f4b301c68c4134c0f2287d
am: 20af372

Change-Id: I61b6206e807d4a10091e05e8c4b4de0c525b7d42
20af372

am: 39b6c7f

Change-Id: I9545b574641fb0a9eef83142cb99a71c3ddd8902
Change-Id: Ic2038e503701c767f6514894f387dd377564534e
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
Fixes: 72740736
Test: N/A
Change-Id: Ifc96ed785fd80501bc6c276cb649c8cc1f05be0e
am: 7ee7e27

Change-Id: Ia63a213baf4c1886379003220580e42cdc0f19c2
am: 41186e1

Change-Id: I400e8c56060cf52718603fff80423ec5f1780088
… am: 41186e1

am: 1e7d092

Change-Id: I3ee3fceb49b63b68d9aca1581c9e5fdd9233f532
Dees-Troy and others added 30 commits May 16, 2019 19:06
Change-Id: Ib4017943be91f6b2030094d73daa826a4a1555d4
Change-Id: Ibe372a372333c357810be2afcb3796723ca370cb
Change-Id: I9c1114d133cd195ce536dc66b6bdc1f0236ddd55
Change-Id: I408382e83aa0ac1106ff7198adf9787c0a0877cd
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
Use LOCAL_REQUIRED_MODULES for Pie and up and
LOCAL_ADDITIONAL_DEPENDENCIES for Oreo and down.

Change-Id: I5365e782f98f3bbf4bf246be22c8f573824b65ee
Change-Id: I0d0bcdde2957974eb357a6f3d820bd5ab0fa47ee
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
Change-Id: Id13885a30e3a412e5b7b42de0e63cd7fc885dfc1
Change-Id: I62e68c137e9790392dd2fc44c2add990c2f408d6
Signed-off-by: Andreas Schneider <[email protected]>
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
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
Change-Id: I108b7aeea41c6b85c851f40c1c4a7e25012e2463
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
Change-Id: I2adff8a76f210048edc29264652d072139d594f9
Change-Id: I9b24d324fd61f2f0d2e85a9d123778557e14d63c
Signed-off-by: VDavid003 <[email protected]>
- Fixes the ld.config.txt errors in recovery log which may prevent
  decryption and shell commands from working properly

Change-Id: I0e057525cdda39e8ac10115d37e2cb882b9c4844
* 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]>
- 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
Change-Id: I8b58e45ec0d42470226083e8003dcd8152a91af1
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.