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

Security Patches :D #7

Open
wants to merge 127 commits into
base: eleven
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
127 commits
Select commit Hold shift + click to select a range
f85f7e8
config: Setup soong namespaces for TARGET_USE_QTI_BT_STACK
PIPIPIG233666 Sep 19, 2020
f17c855
lineage: apns: Update T-Mobile US to reflect latest carrier changes
XirXes Dec 24, 2020
3aa50f8
config: Add dataservices to PRODUCT_SOONG_NAMESPACES if needed
mikeNG Dec 30, 2020
790ab1d
config: Handle TARGET_EXCLUDES_AUDIOFX in the products definitions
AdrianDC Dec 31, 2020
151e171
build: Relocate extract utils to tools/extract-utils
mikeNG Dec 27, 2020
64b5b1c
partner_gms: Simplify if/else if logic
intervigilium Dec 31, 2020
d8ad094
audio: Add missing Effect_Tick.ogg effect sound used by the UI
AdrianDC Dec 31, 2020
9f160e6
lineage: Commonize display_intf_headers for QSSI supported platforms
aleasto Jan 5, 2021
2552c63
lineage: More checks for copying AB backuptool scripts
aleasto Dec 28, 2020
c3710ba
config: Remove persist.sys.dun.override again
aviraxp Jan 16, 2021
c2d63c6
lineage: targets: Add support for ATV GSI builds
npjohnson Dec 8, 2020
916ecda
init: Make encryption action an argument to mkdir
ciphergoth Oct 28, 2019
ec016fd
qcom: Add bengal platform
Mashopy Jan 26, 2021
04bbc65
Dialer: Add visual voicemail configs from Google Dialer
kdrag0n Oct 5, 2020
2263d4b
fixup! Dialer: Add visual voicemail configs from Google Dialer
Eamo5 Feb 4, 2021
6245873
backuptool_ab: Make tmp actually tmpfs
aleasto Dec 29, 2020
c63fa84
backuptool: Support seamless backup and restore to extra partitions
aleasto Dec 29, 2020
b9aa311
kernel: Support pixel style vendor_boot modules
aleasto Jan 8, 2021
f16993e
backuptool: Correct supported partitions for addon.d v3
aleasto Feb 18, 2021
7c42814
soong: Add TARGET_LEGACY_HW_DISK_ENCRYPTION conditional
npjohnson Feb 22, 2021
52be5fc
lineage: targets: Add support for Legacy GSIs
npjohnson Mar 9, 2021
db31384
lineage: targets: x86{,_64}_ab: Don't explicitly include SDK addon
npjohnson Mar 9, 2021
ade9895
config: Set screen size defaults globally
aleasto Mar 9, 2021
e4359d9
sensitive_pn: Comment, add and change numbers for multiple countries.
Sep 7, 2019
2b30c72
sensitive_pn: Convert to new format
BadDaemon Mar 11, 2021
271ba02
sensitive_pn: Run XML lint against the schema
luca020400 Mar 12, 2021
b5f3a4a
backuptool: Ensure to cleanup the environment on failure
aleasto Mar 21, 2021
adaad8f
backuptool: Do not set ADDOND_VERSION=2 for a-only
aleasto Mar 26, 2021
7686039
apn: Add Visible Wireless (VZW)
aleasto Mar 30, 2021
5ad936a
apns: Fix giffgaff
BadDaemon Feb 18, 2021
7076898
apns: Add Belong
BadDaemon Feb 18, 2021
2410404
Enable IPV4V6 for APN Yesss
Feb 24, 2021
02f0ab6
backuptool: Ensure dedicated partitions are not unused before mounting
aleasto Apr 1, 2021
157fff1
Allow unified location provider as possible location provider (not as…
greenflash1986 Dec 7, 2020
ba8e075
soong: Add TARGET_QTI_USB_SUPPORTS_{AUDIO,DEBUG}_ACCESSORY flags
luk1337 Apr 10, 2021
3bd9a66
lineage: Handle build type suffixes properly
luk1337 Apr 13, 2021
ea6f9a7
lineage: atv: Disable LiveDisplay
npjohnson Apr 9, 2021
5c1d8be
envsetup: fix lineagegerrit push for zsh
Dhina17 Apr 23, 2021
4280154
envsetup: replace __detect_shell with basename $SHELL
Dhina17 Apr 23, 2021
9b70f83
envsetup: Make dopush() /system_ext aware
bgcngm Apr 30, 2021
70925d6
vendor: apns: Add Ting
BadDaemon Apr 17, 2021
a10bd28
apns-conf: Update CoopVoce entries
SebaUbuntu Mar 19, 2021
c0541e7
apns-conf: Add ho.mobile configs
SebaUbuntu Mar 19, 2021
ebb8899
apns-conf: Update PosteMobile entries
SebaUbuntu Mar 19, 2021
c966b95
apns-conf: Add Kena Mobile entries
SebaUbuntu Mar 19, 2021
11c43d2
backuptool: use correct BLK_PATH on a-only dynamic partitions devices
Linux4 May 8, 2021
8137c7c
roomservice: Set exit status if we fail to fetch data from github
luk1337 May 10, 2021
4f5669c
overlay: Set the device hostname like the device name in About Phone
ezio84 Nov 19, 2020
d377a1c
apns: Enable IPV6 for China Mobile
sjllls Jun 14, 2020
9f1696a
apns: Enable IPV6 for China Unicom
sjllls Jun 14, 2020
6c32584
apns: Enable IPV6 for China Telecom
Aug 4, 2020
e21a1e8
vendor: apns: Add LIDL Connect
BadDaemon May 1, 2021
fb59cfd
apns: Remove T-Mobile UK
BadDaemon Feb 18, 2021
94aaca4
apns-conf: Add TPG Singapore configs
niclimcy May 13, 2021
fb45458
Fix voicemail for Bouygues Telecom France
bellegarde-c May 11, 2021
c43ccf2
apns: Add AT&T 310-280 ids
aleasto May 14, 2021
4fe28bc
config: Add globalactions service permissions
zakaryan2004 Apr 4, 2021
12d252b
generated_kernel_headers: Also add usr/include/audio to include path
luk1337 May 28, 2021
902f447
qcom: add lahaina platform
wileylau Mar 17, 2021
0a78392
sensitive_pn: Add two numbers for Italy
Jun 1, 2021
21e586a
Disable extra StrictMode features on all non-engineering builds
sam3000 Jun 5, 2021
5c084cb
config: Actually disable strict mode for non eng builds
aviraxp Jun 5, 2021
2630730
config: Remove exfat tools
luca020400 Jun 10, 2021
b735fac
common: Remove extra tools already shipped by default
bgcngm Jun 10, 2021
cae10f8
kernel: Pass absolute path for KCONFIG_ALLCONFIG
luk1337 Jun 10, 2021
e741d46
Revert "soong: Add TARGET_QTI_USB_SUPPORTS_{AUDIO,DEBUG}_ACCESSORY fl…
bgcngm Jun 14, 2021
5f7f10d
lineage: Add double quote in custom APN name check
erfanoabdi Jun 24, 2021
c86a1a8
kernel: Add TARGET_FORCE_PREBUILT_KERNEL flag
SebaUbuntu Feb 8, 2021
cec409e
kernel: Fix the check for official builds
timschumi Jun 27, 2021
a3fc194
lineage: partner_gms: Correctly guard ATV GMS
npjohnson Jul 12, 2021
14062ab
apns: Add IPV4V6 to EE (UK)
aleasto Jul 16, 2021
4ccc17d
soong: Add TARGET_CAMERA_BOOTTIME_TIMESTAMP conditional
SebaUbuntu Jun 10, 2021
f16a9d9
Move sensitive_pn.xml to product partition
mikeNG Jun 11, 2021
de83dff
Add generic targets for automotive
tom-pratt Jul 12, 2021
882e97e
roomservice: add repo to syncable repo list if dir doesn't exist
trautamaki Jul 29, 2021
78870c2
lineage: Add framework compatibility matrix for Lineage HALs.
AKoskovich Aug 1, 2021
9887e1f
lineage: Don't enforce inclusion of common compatibility matrix
luk1337 Aug 2, 2021
f88090b
charger: add lineage charger
programminghoch10 Aug 4, 2021
393b0e8
lineage: overlay: Remove MMS user agent URL
AKoskovich Aug 11, 2021
38f3891
lineage: config: DEVICE_PACKAGE_OVERLAYS -> PRODUCT_PACKAGE_OVERLAYS
AKoskovich Aug 3, 2021
d5b4b59
kernel: Fix vdso32 building for 4.19+ kernels
libxzr Aug 4, 2021
8621afc
overlay: tv: default to night mode
trautamaki Aug 29, 2021
6b4ffc9
overlay: follow system accent in setupdesign
trautamaki Aug 7, 2021
31a8d98
backuptool: Support tab-delimited fstab
rkjnsn Apr 30, 2021
fad4142
Add support for separate kernels for boot and recovery [1/2]
marcost2 Jul 6, 2021
c57312c
apns: Update APNs for Chinese carriers
martincz Mar 17, 2021
bcac3f3
apns: Update Vodafone NL
BadDaemon Sep 12, 2021
a445f2a
config: Cleanup additional gralloc bits
mikeNG Jan 13, 2021
6261bcc
apn: Update giffgaff APN
davwheat Aug 10, 2021
359cf85
apn: Fix FreedomPop UK
davwheat Aug 10, 2021
cb30d25
bacon: switch to sha256 checksum
Claymore1297 May 1, 2021
e628bbc
config: Don't build Terminal
luca020400 Feb 12, 2021
01d8fe6
gms: fail build if exported option doesn't exist
trautamaki Oct 16, 2021
080406b
prebuilt: Remove lineage-radio.rc
aviraxp May 1, 2021
0623e97
Remove fake wget
aviraxp Jun 19, 2021
cc0df93
overlay: update default wallpaper for large-notouch
trautamaki Nov 15, 2021
a3d6e25
overlay: dialer: Update visual voicemail config
razorloves Aug 22, 2021
7efa205
vendor: apns: Correct Telia
BadDaemon Dec 7, 2021
fd73039
vendor: apns: Remove unused "spn" attribute
BadDaemon Dec 7, 2021
7dc952b
vendor: apns: Fix wrong IPV4 protocols
BadDaemon Dec 7, 2021
7aded09
vendor: apns: Add auth_type explanation
BadDaemon Dec 7, 2021
c47552a
overlay: core: Disable OtaSuggestionSummaryProvider from GMS
kerneltoast Dec 31, 2021
7124e2c
Changed protocol from IPV6 to IP for Telus
StackOverflow64 Jan 3, 2022
a3d17b8
apns: Add Unifi
dereference23 Dec 17, 2021
cadcc2b
config: Set defaultSupervisionProfileOwnerComponent
aviraxp Apr 7, 2021
5ad978c
envsetup: dopush: Correct paths
BadDaemon Jun 17, 2020
3191fee
envsetup: Fix long time broken path to sh
bgcngm Feb 8, 2022
961af00
kernel: Implement build time LTO choice
chirayudesai Dec 3, 2021
0183d0a
lineage: partner_gms: Add Automotive support
npjohnson Feb 18, 2022
7846164
msm8953: Split msm8953 from UM_3_18_FAMILY [2/2]
teamb58 Dec 22, 2021
d3c8eb6
Add nvidia product
webgeek1234 Nov 8, 2019
9788aeb
Fix nvidia enhancements soong conversion
webgeek1234 Mar 25, 2022
1a092ce
config: Disable GMS OTA popup
Tortel Apr 4, 2022
520ed0d
overlay: Use -television instead of -large-notouch for atv
webgeek1234 Jun 22, 2022
58bfda2
charger: Ensure every generated image is 8-bit
luca020400 Jan 2, 2023
1be984f
backuptool: Unmount v3 partitions during backup
TheHitMan7 Jan 8, 2023
59969b6
apn: fix AMC APN
cocka11 Oct 1, 2021
a39a4b8
apn: update for T Star, Vibo and AURORA
a0193143 Apr 3, 2023
ad8867c
roomservice: Read all local manifests
luk1337 Apr 21, 2023
0921c85
config: Include vendor/crowdin overlays
mikeNG Apr 3, 2022
e6a75ba
apn: Update mcc525
niclimcy Apr 14, 2023
212b379
config: Exclude LatinIME dictionaries from RRO overlays
luk1337 Aug 7, 2022
9a1af8d
Merge branch 'lineage-18.1' into eleven
Meghthedev May 29, 2023
0049035
cipher: Update Bootanimation * CipherOS Exclusive Bootanimation * Des…
kerichdev Dec 24, 2022
46f5fb6
Add support for separate kernels for boot and recovery [1/2]
marcost2 Jul 6, 2021
9d2601f
kernel: INSTALLED_RECOVERY_KERNEL -> INSTALLED_RECOVERY_KERNEL_TARGET
JarlPenguin Feb 20, 2022
5b61859
cipher: Set `CIPHER_GAPPS` to `true`
techyminati Jun 13, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build/envsetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ function dopush()
CHKPERM="/data/local/tmp/chkfileperm.sh"
(
cat <<'EOF'
#!/system/xbin/sh
#!/system/bin/sh
FILE=$@
if [ -e $FILE ]; then
ls -l $FILE | awk '{k=0;for(i=0;i<=8;i++)k+=((substr($1,i+2,1)~/[rwx]/)*2^(8-i));if(k)printf("%0o ",k);print}' | cut -d ' ' -f1
Expand Down Expand Up @@ -883,7 +883,7 @@ EOF
fi
adb shell restorecon "$TARGET"
;;
/system/priv-app/SystemUI/SystemUI.apk|/system/framework/*)
*/SystemUI.apk|*/framework/*)
# Only need to stop services once
if ! $stop_n_start; then
adb shell stop
Expand Down
17 changes: 17 additions & 0 deletions build/soong/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,23 @@ ignores_ftp_pptp_conntrack_failure_defaults {
},
}

soong_config_module_type {
name: "needs_camera_boottime",
module_type: "cc_defaults",
config_namespace: "lineageGlobalVars",
bool_variables: ["needs_camera_boottime"],
properties: ["cppflags"],
}

needs_camera_boottime {
name: "needs_camera_boottime_defaults",
soong_config_variables: {
needs_camera_boottime: {
cppflags: ["-DTARGET_CAMERA_BOOTTIME_TIMESTAMP"],
},
},
}

soong_config_module_type {
name: "needs_netd_direct_connect_rule",
module_type: "cc_defaults",
Expand Down
8 changes: 6 additions & 2 deletions build/target/product/AndroidProducts.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/lineage_tv_arm.mk \
$(LOCAL_DIR)/lineage_tv_arm64.mk \
$(LOCAL_DIR)/lineage_tv_x86.mk \
$(LOCAL_DIR)/lineage_tv_x86_64.mk
$(LOCAL_DIR)/lineage_tv_x86_64.mk \
$(LOCAL_DIR)/lineage_car_arm64.mk \
$(LOCAL_DIR)/lineage_car_x86_64.mk

COMMON_LUNCH_CHOICES := \
lineage_arm-userdebug \
Expand All @@ -40,4 +42,6 @@ COMMON_LUNCH_CHOICES := \
lineage_tv_arm-userdebug \
lineage_tv_arm64-userdebug \
lineage_tv_x86-userdebug \
lineage_tv_x86_64-userdebug
lineage_tv_x86_64-userdebug \
lineage_car_arm64-userdebug \
lineage_car_x86_64-userdebug
21 changes: 21 additions & 0 deletions build/target/product/lineage_car_arm64.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright (C) 2018-2020 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

include vendor/lineage/build/target/product/lineage_generic_car_target.mk

$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_arm64.mk)

TARGET_NO_KERNEL_OVERRIDE := true

PRODUCT_NAME := lineage_car_arm64
19 changes: 19 additions & 0 deletions build/target/product/lineage_car_x86_64.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright (C) 2018-2020 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

include vendor/lineage/build/target/product/lineage_generic_car_target.mk

$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_x86_64.mk)

PRODUCT_NAME := lineage_car_x86_64
22 changes: 22 additions & 0 deletions build/target/product/lineage_generic_car_target.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright (C) 2019-2020 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

$(call inherit-product, vendor/lineage/config/common_car.mk)
$(call inherit-product, device/generic/car/emulator/aosp_car_emulator.mk)

EMULATOR_VENDOR_NO_SENSORS := true
EMULATOR_VENDOR_NO_SOUND := true

# Allow building otatools
TARGET_FORCE_OTA_PACKAGE := true
4 changes: 2 additions & 2 deletions build/tasks/bacon.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@

LINEAGE_TARGET_PACKAGE := $(PRODUCT_OUT)/$(LINEAGE_VERSION).zip

MD5 := prebuilts/build-tools/path/$(HOST_PREBUILT_TAG)/md5sum
SHA256 := prebuilts/build-tools/path/$(HOST_PREBUILT_TAG)/sha256sum

.PHONY: bacon
bacon: $(INTERNAL_OTA_PACKAGE_TARGET)
$(hide) ln -f $(INTERNAL_OTA_PACKAGE_TARGET) $(LINEAGE_TARGET_PACKAGE)
$(hide) $(MD5) $(LINEAGE_TARGET_PACKAGE) | sed "s|$(PRODUCT_OUT)/||" > $(LINEAGE_TARGET_PACKAGE).md5sum
$(hide) $(SHA256) $(LINEAGE_TARGET_PACKAGE) | sed "s|$(PRODUCT_OUT)/||" > $(LINEAGE_TARGET_PACKAGE).sha256sum
@echo "Package Complete: $(LINEAGE_TARGET_PACKAGE)" >&2
@echo "Build is getting done..." >&2
$(hide) bash vendor/lineage/build/tools/cipher.sh
Loading