-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Android-11 #306
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
Open
vagabond2522
wants to merge
2,989
commits into
omnirom:android-9.0
Choose a base branch
from
vagabond2522:android-11
base: android-9.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Android-11 #306
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
required doesn't propagate from apexes, so we need a separate phony target to track adbd's dependenecies. Test: m Change-Id: I13977d1376de63839bf182d2cfa56b5c6c63aba9
am: 19073f2 Change-Id: I55463429524f54941b47fce9f0c318ae47993414
am: 3739574 Change-Id: If49a5e1a2d997346cc1c1fc5a8652eb033a5f1a7
am: e52af1a Change-Id: Ifc73de385b7d857e8d0ceb20ff7275ba27bb200c
Bug: 141248619 Change-Id: If019c780684a841a87d49dcf55a6f2cfd638f69b Merged-In: Ifc73de385b7d857e8d0ceb20ff7275ba27bb200c
During automatic tests, we sometimes want to reboot the device out of the rescue party remotely. And per http://go/recovery-adb-access, one option is to start adbd in user build if the device has an unlocked bootloader. This should not add more surface of attack. Because verified boot is off with the unlocked bootloader, and the user can always flash a custom recovery image that always starts adbd. Bug: 141247819 Test: check adbd doesn't start in user build, unlock bootloader, and check adbd starts. Change-Id: I851746245f862cb4dfb01e6c3ad035f2c9f9ccec
…e-aosp-master Bug: 142003500 Change-Id: I551bae56668132a81bba652e01d7f8851f41a604
…e-aosp-master am: 547b9dc Change-Id: I6a34c7e4acdbdcff47847f069ec3a989ed41b6ba
This reduces the wipe space from 32K to 16K. The wipe space is now at the 16K-32K region. The 32K-64K region is now "system space", to complement the vendor space, for generic AOSP usage. Bug: 139156011 Test: manual test Change-Id: I1474bfa65a5f21049ab64ec0aee2f4585b55f60f
am: b65dd9c Change-Id: I0daecb3e2a15c449babfc94d6f3deca8b55a4924
am: e5288e6 Change-Id: I02c35302868aacdbc5ff513034f42e475a0805c7
am: 8243388 Change-Id: I1c124ae8e05e0fbb76b95ce27f3c56ce9b1740be
We used to set sys.usb.config to adb in the init script. And the purpose is to start adbd. This is a duplicate of code because we always check and reset the usb config in recovery_main. Test: check adbd starts Change-Id: I6e2842ff8aebf6ccf3bd3f2ae85323899a2b9de4
If enabling the oem partition, it will be mounted by updater before reading product properties from it. To be safety, we want to enable AVB to this oem partition. But this means the oem partition can never be mounted to writable. Otherwise, that partition will be corrupted to AVB verifying. This change follows fs_mgr to allow to pass more mounting options to the updater. BUG: 150156957 Test: make ota package which mounts AVB oem partition to read only and run OTA. Change-Id: I2ebbe3c8ac53c70112f3fed2703fcba9170405a6
…-dev am: 342e53d Change-Id: I95e8b9fe1e0a90c1ad6370be54c3d99cc10c1bc9
After a reboot function call, we should always wait for it to finish without executing other instructions. Bug: 151110322 Test: build Change-Id: I1dda291a0835ff96df7eaf42eba1a38267a3beeb (cherry picked from commit 00c4aba)
It's needed by libfec Bug: 144388532 Test: mma Change-Id: Ic82671f6506e7718afa965a511261b1b329ea38f (cherry picked from commit 2bb374a)
Change-Id: I27c1594c56f7452e2d1c42a1cb88a9caa85e8798
Auto-generated-cl: translation import Change-Id: Ia3393b1e62f0af1661cbc7b2c0b19e0a52631c4c
… ours am skip reason: subject contains skip directive Change-Id: I3b3dbfb8fb2d0bcf79b01fcd86256a334f692a39
Change-Id: Iee6771655bb6bc13fc94df517a76353552c524be
Reduce the amount of wasted space on the recovery image by statically linking all of the adb libraries into minadbd. Bug: http://b/150317254 Test: booted aosp_walleye-eng into recovery Change-Id: I5233b1a23c14f9d478bb77c25ebdbb0ce45bcc5a Merged-In: I5233b1a23c14f9d478bb77c25ebdbb0ce45bcc5a (cherry picked from commit 5ee3eba)
Change-Id: Icc9c9b8b49af6253a012fc948f6c9b07ae5a28ab
Auto-generated-cl: translation import Change-Id: I7e9b0f4f7433c275413541e048644e3fbe2a4a61
According to property naming guidelines. Bug: 152170470 Bug: 153525566 Test: N/A Change-Id: I64c6d8ca49fbd72f923a8794df0929bd500dd8e9 Merged-In: I64c6d8ca49fbd72f923a8794df0929bd500dd8e9
Change-Id: Ica2afbfb20fe801a7175cf8866245581c9ade878
Check the package metadata to determine whether this is an A/B or non-A/B update package. This is more accurate. Also checks ro.virtual_ab.allow_non_ab flag. This is useful for continuously supporting (and testing) non-A/B. Bug: 153581609 Test: apply non-A/B update on cuttlefish Change-Id: I629a533a67966d46d9cd87a59c6b9af26daf1667
If device supports both A/B and non-A/B, when applying a non-A/B package, add current slot suffix and apply the update to the partition at current slot. This includes: - (un)map_partition in edify script. For example, map_partition("system") will automatically append slot suffix to "system" before calling CreateLogicalPartition. - All operations in dynamic_partitions_op_list. For example, add foo group_foo will automatically append slot suffix to foo and group_foo before editing the super partition metadata. Test: apply update Bug: 153581609 Change-Id: Idbd0bfea142529a33dddb4d2debfc74513290730
This function appends androidboot.slot_suffix to the value of the argument. Test: apply update Bug: 153581609 Change-Id: I28a4047b5f2051acc039084f65a71deb492d9dcb
* changes: Add add_slot_suffix function. Add slot suffix to DAP ops Detect non-A/B vs. A/B packages correctly.
Change-Id: I343c43fc5f9f18d2bc41f865cbbb8e6cf12a67bd
The current fastbootd only supports USB protocol. But some Android TV devices are built without USB port. The fastbootd cannot be used on those ATV devices due to it. aosp/1295566 enables fastbootd over ethernet. This change adds an EthernetDevice to manage ethernet connection and set fastbootd protcol property fastbootd.protocol to enable fastbootd over ethernet in recovery mode. It uses IPv6 link-local address to not expose the devices out of the network segment. The devices who want to use this EthernetDevice should add “TARGET_RECOVERY_UI_LIB := librecovery_ui_ethernet” into BoardConfig.mk. BUG: 152544169 BUG: 155198345 Test: Enter and exit fastboot mode and check eth0 IPv6 link-local address on screen UI. Change-Id: I73fe44be3790bdba5a6059fbba3f7264b21eed99 Merged-In: I73fe44be3790bdba5a6059fbba3f7264b21eed99
Change-Id: Ic49ffc0224223c3d6f0d9c65333097ac3e3c1760
Bug: http://b/157709367 Test: treehugger Change-Id: Ic205acc56a763c38ba689b2b895609b5e878d813 (cherry picked from commit d4a964f)
Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/11795073 Change-Id: I5286e4cf7ac2446fd0547cc1cd6e3aeb1bf2e8fe
Auto-generated-cl: translation import Change-Id: Id59b183068ff2cdf8c58f42b9b7c8406cc04b8f2
…d33b49 -s ours am skip reason: subject contains skip directive Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/12182454 Change-Id: Ib11ee9c70934c84f402e90a21bd169442f665ce5
Auto-generated-cl: translation import Change-Id: If8fe8b3e5842518a2c61da1ecf1aaddcfc9c24e3
Change-Id: I1c556f62e46eecfc4104d71914d911d6a763e917
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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