Skip to content

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
wants to merge 2,989 commits into
base: android-9.0
Choose a base branch
from
Open

Android-11 #306

wants to merge 2,989 commits into from

Conversation

vagabond2522
Copy link

@vagabond2522 vagabond2522 commented Apr 5, 2025

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

jmgao and others added 30 commits October 23, 2019 14:33
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: 5026bd6

Change-Id: I3d33089fb30ee61b960b18fdb1a785eb1ed2028e
am: 67cce21

Change-Id: I5997d7896b54bb7874c3598c9db4b4fad745dbc5
am: e52af1a

Change-Id: Ifc73de385b7d857e8d0ceb20ff7275ba27bb200c
…2af1a

am: cf6b4dc

Change-Id: I5462dbc2fa3bc0b593cb19bad11e634fb3dca5e6
…2af1a am: cf6b4dc

am: d7ec9f7

Change-Id: I1764b47f83236bab32673cccd2a4eb72c0f80d35
…2af1a am: cf6b4dc am: d7ec9f7

am: 8128a47

Change-Id: I02a45a1da5b05bf85eecb4885caab92e327aaebc
Bug: 141248619
Change-Id: If019c780684a841a87d49dcf55a6f2cfd638f69b
Merged-In: Ifc73de385b7d857e8d0ceb20ff7275ba27bb200c
am: c73a97c -s ours
am skip reason: change_id Ifc73de385b7d857e8d0ceb20ff7275ba27bb200c with SHA1 cf6b4dc is in history

Change-Id: Ib87c586d8c444dbc786556c2e1e32c1eaa6f0c3f
…s ours

am: 5854abb -s ours
am skip reason: change_id Ifc73de385b7d857e8d0ceb20ff7275ba27bb200c with SHA1 cf6b4dc is in history

Change-Id: Idc3f78654c812b946011f2b7b9dc179536108c94
…s ours am: 5854abb -s ours

am: 341e99e -s ours
am skip reason: change_id Ifc73de385b7d857e8d0ceb20ff7275ba27bb200c with SHA1 cf6b4dc is in history

Change-Id: I47843f764156112cfe2ff164c98186ca4a773d7d
…s ours am: 5854abb -s ours am: 341e99e -s ours

am: 450fdc6 -s ours
am skip reason: change_id Ifc73de385b7d857e8d0ceb20ff7275ba27bb200c with SHA1 cf6b4dc is in history

Change-Id: I60ba22e7886673d4ac45e3f7d12f48a9c2565686
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
…dor@5915889 into stage-aosp-master am: 547b9dc

am: 50a5d5d -s ours
am skip reason: subject contains skip directive

Change-Id: I88fce7b65ac0028b8140f0d07844feca55325151
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: e5288e6

am: 845bf48

Change-Id: I0ac1f3a38e0def87e3d06e34e49097f311da6a18
am: 8243388

Change-Id: I1c124ae8e05e0fbb76b95ce27f3c56ce9b1740be
…243388

am: bf23ee5

Change-Id: Ib8d83d458577c317e3bff08e9ab28dd553b89553
…243388 am: bf23ee5

am: 1caaf16

Change-Id: I55cf76a792a593e05e22b504998bd4fb3ef2189d
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
Hongguang Chen and others added 28 commits March 17, 2020 16:16
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)
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
Labels
None yet
Development

Successfully merging this pull request may close these issues.