149 Commits

Author SHA1 Message Date
Sundong Ahn
5ba9ec5638 wahoo: Add system properties for surfaceflinger
The configstore will be not used in surfaceflinger. So surfaceflinger
will use the system properties instead of configstore.
For this, the system properties are added.

Bug: 112386364
Test: m -j && boot test
Change-Id: Ie3d2adccca06702217984cf2c9db986d852b7014
2024-07-21 13:47:14 +08:00
Pranav Vashi
b520e3ed96 wahoo: Add Moto Dolby support
Change-Id: I11e837a91e12bc52b102717d0c2f4cf62081b5f7

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-07-08 16:33:08 +08:00
Michael Bestas
6f1e271d35 wahoo: Increase BOARD_SYSTEMIMAGE_EXTFS_INODE_COUNT again
Change-Id: I14b90029d390d1a1c4ca889e9e48ec4ddb7cc005
2024-06-08 22:16:36 +08:00
Cole Faust
50b12c6126 wahoo: Add BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Qcom has issues that prevent it from working with a hermetic
partition build.

Bug: 205632228
Test: Presubmits
Change-Id: I490a29da38a6f68e7dd3650d8140cb11adaa8c7a
2024-06-08 22:14:59 +08:00
Asriadi Rahim
77ea6d9d05 wahoo: Move fstab.hardware to separate device tree
Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-06-08 22:13:02 +08:00
Sebastiano Barezz
cb781488ee wahoo: Switch to two-stage init mounting
* Stop handling vendor mounting from kernel, first stage init is gonna
  do that, together with system (which is now /system)
* Use correct mount flags coming from kernel dts
* Move system and vendor mount points to /dev/block/by-name/, we don't
  have bootdevice symlink to that point in init
* Copy fstab to recovery for first stage init

Change-Id: Iaa0ecc3f13c3cfd3fe357ca509549d0f68a29cf0
2024-06-08 22:10:04 +08:00
Christian Hoffmann
003779dcc8 wahoo: Switch to xz ramdisk and save some space
Change-Id: I2f5cb3bc78c74e2375f21d663ba2670487e61b1f
2024-06-08 22:06:50 +08:00
Michael Bestas
475b3f2631 wahoo: Remove bdroid_buildcfg.h
As of I3c7aed1bdb45db728d319f7d757400e44d232283 the Bluetooth stack
defaults to reasonable defaults that should work for all devices.

Change-Id: I056d63c4c8a2727e384172e964dc0000b6773504
2024-06-08 22:06:50 +08:00
Christian Hoffmann
c3029d2e88 wahoo: Set recovery density to xhdpi and save some space
* boot.img doesn't boot otherwise

Change-Id: I193ef2d5ce47084cf42d28551c521265ece2a6c5
2024-06-08 22:03:26 +08:00
Michael Bestas
f6ac86a12e Revert "Taimen and walleye still use BUILD_COPY_HEADERS"
This reverts commit a3e5d7a9d1.

Change-Id: Iefdde65950493d89e347b65b6163472f7c518009
2024-06-08 22:03:26 +08:00
Eamon Powell
13990bf4aa wahoo: Move kernel flags to BoardConfig.mk
Change-Id: Ic246b4155aab0c1378bb5dce1c935c1ab1ef278d
2024-06-08 22:03:26 +08:00
Nolen Johnson
e1820c162a wahoo: Kill deprecated TARGET_USES_MKE2FS
* This has been useless since some time in Pie.

Change-Id: Ic02238aa0f1c25cfad20a2b827c3c2fe128f3543
2024-06-08 22:00:45 +08:00
Nolen Johnson
5134fe5e32 wahoo: Include hardware/google/pixel-sepolicy/powerstats
* We build this, so lets just use to sepolicy designed for it.
* hardware/google/pixel-sepolicy/citadel declares types that
  are used in this, so lets include it too.

Change-Id: If8e8632e724693f19fa721c1c19358c6f9e282d8
2024-06-08 21:58:04 +08:00
Nolen Johnson
7f141e56ef wahoo: Enable BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES
* The alternative to this sucks even more than this.

Change-Id: Ia0a056315f1d23c5026f428ec6063e57425d830e
2024-06-08 21:54:49 +08:00
razorloves
1e0f0b574b wahoo: Build the vendor image
* Updated for R. Google moved AB_OTA_PARTITIONS to boardconfig.

Change-Id: I6e77335985526162433b1b879775a6fd89163c5e
2024-06-08 21:52:56 +08:00
Abhisek Devkota
1bb665ec7b wahoo: Enable sound trigger
Change-Id: Id5c8572a7297df73b119ff8f0ac4888e235c76b6
(cherry picked from commit e55bed9a5eaa937dd94bb10649eccb8f0102bb49)
2024-06-08 21:52:56 +08:00
Rashed Abdel-Tawab
b0c87eab4e wahoo: Squash building of disabled vbmeta image
Author: Rashed Abdel-Tawab <rashed@linux.com>
Date:   Sat Sep 7 11:13:09 2019 -0700
    wahoo: Build a disabled vbmeta image

    Change-Id: Ie8f1e0929b037b35b5e45c2e31be9253fa0bb097

From: Nolen Johnson <johnsonnolen@gmail.com>
Date: Sun May 9 16:04:34 2021 -0400
    wahoo: Simplify AVB flag logic

    * AVB's `--flags 3` argument builds a disabled VBMeta with
      disabled hashtree, so no need to set both flags individually.

    Change-Id: Ibe9ee322a5af58f13e76d53e18dee49451fe8838

Change-Id: Ie7f19e42835f8f1d2fa5be22e1beeb7228ad55a3
2024-06-08 21:51:33 +08:00
Christopher N. Hesse
d399e218b2 wahoo: Compile kernel inline
Change-Id: I59ca916dcc1ec3c5b3ff56ae76ad56db5cafbbce
2024-06-08 21:51:33 +08:00
PixelBoot
5c1ea73214 wahoo: define the product image
Introduce the productpartition to wahoo series devices, however only define the common product partition in this tree.
Later details, such as the inclusion of system_ext partitions for taimen, is included in per-device trees.
Product partition is defined at 3.0GiB with later requirements of Android 13, causing an increase from the previous values.
2024-06-08 21:50:46 +08:00
PixelBoot
7503b48418 wahoo: define A/B ota partitions in separate trees
Partitions are different between walleye and taimen now.
Define A/B partitions in each respective tree.
2024-06-08 21:50:25 +08:00
PixelBoot
6f9d3a6d08 Revert "Add recovery.wipe file."
This reverts commit 1ff004a529.
2024-06-08 21:50:25 +08:00
Eamon Powell
d757507b60 wahoo: Increase BOARD_SYSTEMIMAGE_EXTFS_INODE_COUNT to 5120
Lineage build servers export OVERRIDE_TARGET_FLATTEN_APEX=true,
causing the system image inode count to be insufficient.

Change-Id: I171afeb3fcf85199215c54fe068cf04547999285
2024-06-08 21:50:25 +08:00
Inseob Kim
bc2acacb15 Set BUILD_BROKEN_ENFORCE_SYSPROP_OWNER := true
Test: m selinux_policy
Change-Id: I9f912db84833009a38901561557f5abc8dfd1102
Merged-In: I9f912db84833009a38901561557f5abc8dfd1102
(cherry picked from commit 0de9e04a5ed9ba5bc68bcf4932f94d474ad5d612)
2020-10-21 11:15:35 +09:00
Treehugger Robot
f626cf8e81 Merge "BoardConfig: Use SYSTEM_*_SEPOLICY_DIRS" 2020-10-13 06:53:46 +00:00
Felix
58a20f9c64 BoardConfig: Use SYSTEM_*_SEPOLICY_DIRS
The old variable name is being deprecated on API level 31+.

See https://android-review.googlesource.com/q/topic:"board-system-ext-sepolicy"

Signed-off-by: Felix <google@ix5.org>
Change-Id: I8e4494ed449428c77f353511553504972bd277a9
2020-05-22 00:45:18 +02:00
Nicolas Geoffray
aaea0921f4 Update in pinned files.
Remove or update paths that don't exist.

Bug: 119800099
Test: boots
Change-Id: Ib2cea88499cf08274d620d9d85ffcafc31fee868
2020-02-07 14:02:18 +00:00
Automerger Merge Worker
05423b4d1a Taimen and walleye still use BUILD_COPY_HEADERS am: a3e5d7a9d1 am: 6d1fee156c am: 585dcf45a7
Change-Id: Ief931f5346d96f84d69cb15ba64abe21868d716b
2020-01-29 22:03:41 +00:00
Dan Willemsen
a3e5d7a9d1 Taimen and walleye still use BUILD_COPY_HEADERS
Bug: 130719878
Test: turn copy headers into an error by default; still builds
Change-Id: Idf228b2e8c4a4d93c3ad43fcd9995564d4feb67d
2020-01-29 10:38:13 -08:00
Anthony Stange
d3b77449d8 Define CHRE daemon variables and remove rc config
Define CHRE_DAEMON_USE_SDSPRPC for wahoo since the daemon needs it to
be built properly now.

Additionally, the daemon's init.rc config is now included as part of the
daemon makefile so remove it from the device's init.hardware.rc.

Bug: 139693714
Test: compile
Change-Id: I0aaf7a3d965abeac63f4f62d743e655be3bebc09
2019-10-24 14:01:26 -04:00
Inseob Kim
be3c8797c8 Merge "Revert "Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW"" am: 34dbd6a44e am: 6a541d4dfd am: 916dfa25cb
am: b3b009a56f

Change-Id: Ib35f1331edd18d175f18302fb943239b82f8f55a
2019-10-16 22:22:46 -07:00
Inseob Kim
f17459f4ea Revert "Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW"
This reverts commit 98ebf2cf85.

Reason for revert: Original CL was workaround and doesn't need after aosp/1143969 is merged

Change-Id: Ie232b5288adfd3b90ff1b71c396512a013dcced8
2019-10-16 03:28:05 +00:00
Inseob Kim
98ebf2cf85 Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW
A new sysprop neverallow rules are mandatory only for devices launching
with R or later. For devices already launched, neverallow rules can be
relaxed with adding following line to BoardConfig.mk:

BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW := true

Bug: 131162102
Test: Set PRODUCT_SHIPPING_API_LEVEL := 30 and try building with
changing some system_public_prop to system_internal_prop
Test: m cts sepolicy_tests

Change-Id: Ia215fdcc39d82487446b9972325d8b344945965d
Merged-In: Ia215fdcc39d82487446b9972325d8b344945965d
(cherry picked from commit 7d61bcd7ec)
2019-10-15 09:29:27 +09:00
Inseob Kim
7d61bcd7ec Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW
A new sysprop neverallow rules are mandatory only for devices launching
with R or later. For devices already launched, neverallow rules can be
relaxed with adding following line to BoardConfig.mk:

BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW := true

Bug: 131162102
Test: Set PRODUCT_SHIPPING_API_LEVEL := 30 and try building with
changing some system_public_prop to system_internal_prop
Test: m cts sepolicy_tests

Change-Id: Ia215fdcc39d82487446b9972325d8b344945965d
2019-10-14 16:36:02 +09:00
Jimmy Chen
9f2a72251d wifi: move supplicant service init to wpa_supplicant
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
2019-10-03 11:24:23 +08:00
Peiyong Lin
e756695946 Merge "Disable WCG on Pixel 2017." into qt-dev am: ec4f0d31b7 am: 28f8c81a72
am: 66efdd12e3

Change-Id: I987f4db1e774cabe1f5df401af54290f64cc6ca3
2019-06-19 17:55:57 -07:00
Peiyong Lin
28f8c81a72 Merge "Disable WCG on Pixel 2017." into qt-dev
am: ec4f0d31b7

Change-Id: I588df7c7e3ffd6048d9bbaacad19c189835f1d97
2019-06-19 15:59:50 -07:00
Felix
69858412eb Merge "sepolicy: Use BOARD_VENDOR_SEPOLICY_DIRS" am: 465af7237d am: 76f5a2774b am: 10be16ad26
am: 5aee2f1343

Change-Id: Ice1a4ba23506eddc402a3bafbe2a862b1708469f
2019-06-09 19:08:17 -07:00
Felix
10be16ad26 Merge "sepolicy: Use BOARD_VENDOR_SEPOLICY_DIRS" am: 465af7237d
am: 76f5a2774b

Change-Id: I95786c7551c0905ecf8d868e8c0f5dbf067e5cb3
2019-06-09 18:57:16 -07:00
Felix
f0489c2c31 sepolicy: Use BOARD_VENDOR_SEPOLICY_DIRS
BOARD_SEPOLICY_DIRS is deprecated.

Change-Id: I046282b2a2e8c541726fb29cb0044503322d4be9
2019-05-28 14:05:51 +02:00
Mikhail Naganov
b8dc3e7b40 Remove USE_XML_AUDIO_POLICY_CONF build flag
This flag is no more used by the build files and should
be removed.

Bug: 132435217
Test: make
Change-Id: Ie6031a533cff485a51a42a390e1975ad1d6bd3d8
2019-05-13 13:54:04 -07:00
Tao Bao
3c6739263e Merge "AB_OTA_UPDATER is BoardConfig variable." am: aa1f12d326
am: 568277c5c1

Change-Id: I2a068a75ee14ea2a22a95a44d35449de8bf7fd70
2019-05-09 11:21:11 -07:00
Tao Bao
0221fd9684 AB_OTA_UPDATER is BoardConfig variable.
Bug: 130433003
Test: TreeHugger
Change-Id: I70c7a884df45781e8b14339edd02985ba3de02fd
2019-05-08 20:54:19 -07:00
Peiyong Lin
54e0e7cec4 Disable WCG on Pixel 2017.
The hardware on Pixel 2017 needs at least 8 ms to reprogram the 3D LUT when
switching to WCG, which results in jank in window transition. This basically
makes Pixel 2017 not possible to use WCG, thus disable WCG on Pixel 2017.

BUG: 128866081
Test: Build, flash and boot.
Change-Id: I70ba35f2ad22933cb6a05941a41ab4b43f145e1f
2019-05-04 06:02:33 +00:00
TreeHugger Robot
2a2fa8d3af Merge "Change to system properties" 2019-03-01 06:39:43 +00:00
Nicolas Geoffray
bd7ffbb943 Generate the apex image for wahoo devices. am: d4c0b2d1ba am: da4056b409
am: 416a6298c7

Change-Id: Ia5dfca4015e822978accc502316becd5f26703f0
2019-02-25 21:05:10 -08:00
Nicolas Geoffray
d4c0b2d1ba Generate the apex image for wahoo devices.
Bug: 119800099
Test: m
Change-Id: I18a76766590db27a4c32534dc948f55f78da166c
2019-02-22 16:09:41 +00:00
Sundong Ahn
cc2b2948a1 Change to system properties
The build configs which are using in configstore 1.2 are changed to
system properties. Since configstore 1.2 will be deleted.

Bug: 124531214
Test: build & boot
Test: adb shell lshal | grep configstore & check configstore 1.2
Change-Id: I997809adc41246c338994d3676e0fd296ccd4ca7
2019-02-22 12:03:39 +09:00
Paul Lawrence
1f10e3dba5 Merge "Enable user data checkpoint on Wahoo" 2019-02-13 13:13:21 +00:00
Paul Lawrence
e2740d3b24 Enable user data checkpoint on Wahoo
Bug: 119769411
Test: boots to SUW, upgrades and commits, can reboot in checkpoint
      mode many times to test restore
Change-Id: Ie3aa79b2838d654062bd9f5bd27b20561ce3e848
2019-02-12 14:12:13 -08:00
Tom Cherry
951d68b4c6 Move to config.fs am: 5434bb60e8 am: 75785c93bf
am: a5b2725d83

Change-Id: I2f2c69f33769d12a84d0dbe731c51ec04e0c00ca
2019-02-11 08:39:05 -08:00