Commit graph

4156 commits

Author SHA1 Message Date
Alexander Koskovich
09a874fe75
kernel: Use LLVM's substitutes for GNU binutils if possible
Co-authored-by: LuK1337 <priv.luk@gmail.com>
Change-Id: I06884fb774b6548aad68942f1ce659384521c62a
2022-06-24 14:23:05 +03:00
Michael Bestas
87c0acd05e Revert "kernel: Remove unneeded MKDTIMG dependency"
This reverts commit caa3bddf00.

Reason for revert: Breaks pixel dtbo.img build, since kernel depends on
mkdtimg. Add it back so it gets compiled and kernel can pick it up.

Change-Id: I2b9fd0b2b35e0cf2f908516b10f65399780d5c30
2022-06-20 11:51:56 +02:00
Paul Keith
35c91c0205 apns: Remove user_editable="false" for user visible APNs
This also removes user_visible="false" for some AT&T WAP APNs as
the rest of the AT&T MVNOs APNs had it visible but these ones
weren't.

The reasoning for this is that we can't (and no one can ever)
guarantee a single static APN list is correct for all devices
all the time. Let's not leave users in a situation where they
can't attempt to recover themselves by fixing their APN without
jumping through hoops to copy the APN fields into a new APN.

TODO: Evaluate how user_visible should be used.

Change-Id: I2b4975db9d52943390b61b50b9258746eab447c9
2022-06-19 05:01:11 +02:00
Alexander Koskovich
b2006b371f lineage: prebuilt: Update T-Mobile U.S. APNs from SQ3A.220605.009.B1
Change-Id: I6a1ff90f80c5b042503e8e3e02bda76ff4f312f9
2022-06-19 05:01:11 +02:00
Alexander Koskovich
d43c2faad7 lineage: prebuilt: Drop GIV Mobile, dead
Change-Id: I04459cbbf493be4d21108daf3c79018b7be633f1
2022-06-19 05:01:11 +02:00
Alexander Koskovich
1b1bdb343a lineage: prebuilt: Drop ROK Mobile
* ROK Mobile was shut down in mid 2018.

Change-Id: Ice387b42c38e34ce83b63c20afefb25d8e3a5c04
2022-06-19 05:01:11 +02:00
Alexander Koskovich
44a7b9f0c3 lineage: prebuilt: Drop UVA Mobile
* Their official website is now just "Hello World"...

Change-Id: I644fe6d1eb0328e9eed7535389abf28cae47b911
2022-06-19 05:01:11 +02:00
Alexander Koskovich
99a1642ced lineage: prebuilt: Update TMO Straight Talk APNs from SQ3A.220605.009.B1
* Straight Talk just uses Tracefone APNs.

Change-Id: I84e550cc9a58ae36eb6a3d7c777698ddf76de4c6
2022-06-19 05:01:11 +02:00
Alexander Koskovich
fee24e9d21 lineage: prebuilt: Update US Mobile APN
* Obtained from live chat support.

Change-Id: I20440d9e1bd694560bacd003a281dd090a494af1
2022-06-19 05:01:11 +02:00
Alexander Koskovich
afc7141950 lineage: prebuilt: Add Carrier ID and MVNO ID for Family Mobile (Walmart)
* This way it won't show up for T-Mobile users, also
   delete duplicate APN.

Change-Id: Iaf1c1111ca2516da101fde430863d09b189b8c3d
2022-06-19 05:01:11 +02:00
Alexander Koskovich
829b55ba42 lineage: prebuilt: Update Mensajes Multimedia from SQ3A.220605.009.B1
Change-Id: I700b9a62bd295a4bc4cc5718d62b9dc2bd9455b8
2022-06-19 05:01:11 +02:00
Alexander Koskovich
31ffa0248f lineage: prebuilt: Drop Telcel America APN
* Telcel America customers are now apart of the 'SIMPLE'
   mobile family as of 02/11/21.

Change-Id: Ibd8408f48f67f00e646c1c120516e6afc1a7c598
2022-06-19 05:01:11 +02:00
Alexander Koskovich
f83b9597dc lineage: prebuilt: Add Carrier ID and MVNO ID for T-Mobile Ting
* This way it won't show up for T-Mobile users.

Change-Id: I4e0086ad40eff164052bdd650ac10858ebfe2d06
2022-06-19 05:01:11 +02:00
Alexander Koskovich
15cda0f96e lineage: prebuilt: Add Carrier ID and MVNO ID for GoSmart
* This way it won't show up for T-Mobile users.

Change-Id: I1e8822afde72210e753a69f45c5d2decf071f6cb
2022-06-19 05:01:11 +02:00
Alexander Koskovich
2f13ad1c58 lineage: prebuilt: Update Cellular One APNs from SQ3A.220605.009.B1
* CellOne rebranded to 'Cellular One'.

Change-Id: Iff29922319479a6759aad237010ede5107dffc8f
2022-06-19 05:01:11 +02:00
Alexander Koskovich
068453d534 lineage: prebuilt: Drop APN for Brightspot Mobile
* Brightspot Mobile, a T-Mobile MVNO shut down on
   December 31st of 2015.

Change-Id: I5c17541af7db977addd5e58c58142bc321f20e1a
2022-06-19 05:01:11 +02:00
Alexander Koskovich
18b0118904 lineage: prebuilt: Update 'Telcel Internet' APN from SQ3A.220605.009.B1
* This adds a carrier ID which prevents it from showing
   up on non applicable carriers.

Change-Id: Iab54e19de2846f36b4321d361a67576573813848
2022-06-19 05:01:11 +02:00
Alexander Koskovich
6966b15233 lineage: prebuilt: Update Simple APNs from SQ3A.220605.009.B1
* This also adds proper Carrier ID and MVNO ID to
   the APN, so it's not shown on incompatible carriers.

Change-Id: Id682adfacc76e95ba53c83e47d842b5868424db1
2022-06-19 05:01:11 +02:00
Michael Bestas
caa3bddf00 kernel: Remove unneeded MKDTIMG dependency
Change-Id: Icc1923e922adb50b02252883aa6814101837adfc
2022-06-18 10:26:14 +02:00
dianlujitao
709371be5e kernel: Ensure dtb(o) always get rebuilt
* AOSP build system is not aware of dtb(o) source update, and thus
   won't rebuild the images, results in outdated artifact.
 * Convert DTB(O)_OUT to make targets and make the images depend on them
   to address the issue. This makes AOSP build system be aware of
   their timestamp changes and re-execute recipes depending on them.
   Finally, it's up to kernel's build system to decide actions to take.

Test: m dtb(o)image and observe dtb(o).img get rebuilt
Change-Id: I197e7d2d3e013ded0e555fc22bb6a1200d40df9c
2022-06-18 10:26:14 +02:00
dianlujitao
9955cd657b kernel: Avoid unnecessary savedefconfig
Change-Id: I5400e549a6574208d67c5d107ca56eee402fa7f2
2022-06-18 10:26:14 +02:00
dianlujitao
8c6398e9fd kernel: Clean up kernel copy recipes
ACP and ALL_PREBUILT are dropped years ago and thus have become no-ops.

Change-Id: Ic317cb4a4fa406cce0dc86555fb8da34d21fb2bf
2022-06-18 10:26:14 +02:00
Danny Trunk
20bf195599 soong: Add TARGET_USES_EGL_DISPLAY_ARRAY conditional
This soong variable is used to conditionally revert a commit [1]
which causes random camera crashes on tama devices

[1] a9550f3fe9

Change-Id: I749c7029f8f2b6d6d95b066aed4929c33e3c75e7
2022-06-16 17:04:56 +02:00
Michael W
39881f863a repopick: Limit commit counting
* For every commit, repopick checks the last commits for the presence of
  the commits to be picked
* In every project a change should go in, it calls "git rev-list --count"
  to find the maximum amount of commits to be searched, but it only cares
  if there are less (or equal) commits at all than to be checked
* Therefore, we can limit the counting to one more than we want to check
* This is relevant for example for fw/b, where there is a huge amount of
  changes and therefore a lot of time used to count

* Example: fw/b
  git rev-list --count HEAD: 46.693s
  git rev-list --count --max-count=1000 : 0.019s
* Real-life example:
  repopick -t qs-lightmode
  Old: 2m33.375s
  New: 0m6.657s

Change-Id: If0500574fb282e332996b606dd9926841f8e0e88
2022-06-15 20:57:30 +02:00
Bruno Martins
c93bdd63c8 partner_gms: Stop relying on exported vars for ATV and Automotive targets
Flag PRODUCT_IS_ATV must be set for all ATV targets,
so Automotive targets can follow and adopt PRODUCT_IS_AUTO as well.
No need to export WITH_GMS_TV or WITH_GMS_CAR anymore.

Change-Id: I7f35e7fa731f7cee239aff03c99b83975abbb56e
2022-06-10 11:10:55 +02:00
Michael Bestas
265fdadd56
vars: Remove pixel sepolicy repos
* We subtree those in pixel trees

Change-Id: I16f71128bb19cd93381e7c67d9e809f43cd0a3ec
2022-06-09 19:50:21 +03:00
Michael Bestas
cf70046598
vars: Remove b1c1 from devices
* These devices no longer get updates, stop trying to merge
  the same tag every month

Change-Id: I3be325bf1f75b2df17c53bfeebb2c7f842a3be75
2022-06-09 19:48:03 +03:00
Michael Bestas
fbadddae84
envsetup: Add sort-blobs-list
Change-Id: Ie871fe0bc9dd432e632ca8e9d7fa70c96a82a8c3
2022-06-09 18:50:47 +03:00
Chirayu Desai
6ab33bce49
Jun 2022 Security update & Feature drop
Change-Id: I83d70b6625155ed712179dc3757e81a9b8dd42d0
2022-06-07 22:23:45 +03:00
Chirayu Desai
c4f30fe020
vars: Drop b1c1 from pixels
Change-Id: I9fb7fd076ed19c7c5f60d4a8f258e363eaeb555e
2022-06-06 18:01:37 +03:00
Chirayu Desai
64d898881e
vars: Flip device order, newest first
Change-Id: I90169608fbee832e47a0a6bb5a908b5e4c19cda7
2022-06-06 18:01:36 +03:00
Chirayu Desai
f67d3e9845
overlay: Exclude ImsService from location indicators
Change-Id: If6c71769b87eb59deadaaa933e1c8449b949af26
2022-06-01 17:47:01 +03:00
Danny Baumann
ee38dc5d38
overlay: Also exempt CneApp from location indicators
Similarly to change I6a55dd25f8435523f98970bfd24c3f86657ba6f7 the CNE
app also receives the phone state broadcast including location data,
which constantly triggers the location indicator.

Change-Id: Ic11674b7f3cccb6b5b7de1e5f8a99a01fd32c589
2022-06-01 17:46:31 +03:00
LuK1337
ccdf4e9102 overlay: Exempt Bluetooth from location indicators
Needed for QTI BT.

Change-Id: I177fac1f53d6ca8847a10eb819334fac6f5acab6
2022-05-31 20:28:58 +02:00
Alexander Koskovich
3bab7d780e lineage: build: Wipe DTB/O OBJs before build
* They can linger and cause problems, e.g. mismatching
   kernel and DTBs.

Change-Id: I4adafe140093ff675fc3f55e3233a754d44d5656
2022-05-31 01:37:14 +02:00
Sebastiano Barezzi
f224255cd9 soong: Drop TARGET_USES_QTI_CAMERA_DEVICE
* qcom-camera topic hasn't been ported to 19.1

Change-Id: Ifb053d215527d602109bbb451d96ec80cf028548
2022-05-19 16:05:23 +02:00
althafvly
90902d9bcc overlay: Exempt TeleService from location indicators
- TeleService constantly checks for location (in every 2-3 minutes).

Issue: https://gitlab.com/LineageOS/issues/android/-/issues/4674

Change-Id: I6a55dd25f8435523f98970bfd24c3f86657ba6f7
2022-05-14 17:40:43 +02:00
Chirayu Desai
c057d4a9df
May 2022 Security update
* raviole gki_kernel_tag handled manually this month,
  TODO: Script

Ref:
* https://groups.google.com/g/android-building/c/GoMawyG2l94/m/zB2a0UXCAgAJ

Change-Id: I236572036790189e9e6451ff8ee9a0e207d5f99f
2022-05-06 21:39:11 +03:00
Bharath
b5da8d5da2 msm8953: Split msm8953 from UM_3_18_FAMILY [2/2]
msm8953 has updated HAL projects. Make use of them.

This can be made use of by setting `TARGET_ENFORCES_QSSI`
to true.

Change-Id: Ib7ababd52470913c915f1da3d6b726eff2f38410
2022-05-02 16:38:15 +02:00
LuK1337
bb993175c1 Revert "config: Drop 2-button navigation support on tablets"
This reverts commit 755d713ebe.

Change-Id: I6f676df2b9b7f18d2461ddb05fa141a8c49cc5f8
2022-05-01 18:59:55 +02:00
Danny Lin
0498768376 device_config: Save discrete app op history for more permissions
Android 12's privacy dashboard shows permission usage timelines for
location, camera, and microphone. However, there's no reason to limit it
to those specific permissions; all the infrastructure is in place for
other permissions.

To enable the usage timeline for more permissions, keep discrete app op
history for all permission groups shown in the privacy dashboard. The
list of permission group -> app op mappings was obtained from
AppOpsManager.RUNTIME_AND_APPOP_PERMISSION_OPS with a few additional ops
from PrivacyItemController, and each op was resolved to its respective
enum ordinal from frameworks/proto_logging/stats/enums/app/enums.proto.

Change-Id: Icbde7fb59ae16fa7b15160d78d9dce7125a82ba6
2022-04-28 22:41:56 +02:00
Han Wang
8f67d055b3 Remove libbfqio
* BFQ is not enabled in kernels for recent devices. Considering
   that pre-MSM8998 devices are likely to be dropped, it is time
   for this ricing to die.

Change-Id: I7fcf7afa7aa7c7aaab2e7ee917b1e2e8203d0abb
2022-04-18 17:37:53 +02:00
LuK1337
9c4fd99fb8 config: Disable remote keyguard animation until it's fixed
Fixes slow post biometric auth screen wakeup.

Change-Id: I8f4824220f14a6fe93e792d15bcaf12fdf2c0ddf
2022-04-17 18:16:31 +02:00
Nolen Johnson
6d0a45fb93 Update default wallpaper
Change-Id: I7d13cf58423d3c7646cc717981ab4250bfcd8757
2022-04-17 10:03:29 +02:00
Danny Lin
cd2d068c3b overlays: Use rounded corners in SystemUI
- This looks more modern and matches the stock Pixel style.
- This matches the stock Pixel rounded corner styles as of Beta 5.

Change-Id: I94d6e782a24873ae0c59b6613e998f4a80842712
2022-04-16 15:12:22 +02:00
Arian
03503fee70 qcom: Drop unused media flags for UM 5.4 family
These variables are not used in media HAL anymore since sm8350

Change-Id: Iaa65fbd38ae79f24a24dc030e1eea5af83b8bdf3
2022-04-15 16:03:16 +02:00
Timi Rautamäki
1e8fc8cb29 overlay: show all icons in collapsed statusbar
There is no need to block them here as they can be blocked in settings.

Change-Id: Ie46cc3b72a1496707b367d01dc3e0329e2335187
2022-04-13 12:44:53 +02:00
Bruno Martins
bf9c45fa42 kernel: Document TARGET_KERNEL_RECOVERY_CONFIG usage
Change-Id: Idefd38dae5e8beac7d7de797f3f792fea25dacef
2022-04-09 14:46:47 +02:00
Bruno Martins
f5023f46f9 kernel: Fix building recovery images
Commit 8ac7d31 introduced this issue.

Test: run `m recoveryimage` and verify that recovery
image is now built.

Change-Id: Iffdd8112db2ba1baff28db7ee4c340dbb5ebd917
2022-04-09 14:46:47 +02:00
Bruno Martins
03f2b69dc7 kernel: Fix kernel rebuilding
Commit 8ac7d31 introduced this issue.

Test: run `m installclean && m bootimage` and observe that
kernel image is built.

Change-Id: I41eb7cd2e5108bae8f4c40c0f9a300a8a3cc95a7
2022-04-09 12:58:09 +02:00