Commit graph

4290 commits

Author SHA1 Message Date
Arian
504571afb7
Lineage 20.0
Change-Id: I49cf6e7d02ecc36c03b27f50d4b35a70510de6e9
2022-08-23 02:02:19 +03:00
Michael Bestas
5dfc89a4db
kernel: Always build dtb targets before dtbo.img
Fixes:
error: unable to open output file
'arch/arm64/boot/dts/google/devices/bluejay/google-base/.gs101-b0.dtb.dts.tmp':
'No such file or directory'

Change-Id: I457062e46062fb3553421d196b432de7d06a49ad
2022-08-13 15:16:31 +03:00
Michael Bestas
319d4c4e9a
kernel: Add support for vendor_boot image header version 4
vendor_boot v4 supports packaging multiple "fragmented" vendor ramdisks.
A secondary can be used to store the kernel modules instead of storing
them in the "normal" vendor_ramdisk.

Test: Create a vendor_boot with source built kernel/modules,
      gs101 still boots.
Change-Id: Ic295ccf201c2593e08b9559ae28f80c70a7eb341
2022-08-13 03:02:44 +03:00
Neel Chauhan
fadfdbf4f5
kernel.mk: Allow building external kernel modules
Here, we introduce the TARGET_EXTERNAL_KERNEL_MODULES variable
for the list of external modules.

Change-Id: I1f8b7a48e66bb0c9efbc396692e5a7159f0b835c
2022-08-11 18:34:23 +03:00
Michael Bestas
98447383e4
kernel: Allow overriding dtb target
On some devices we might want to build just the *.dtb files
that we actually need instead of the every dtb that exists.

Change-Id: Id7a152499d4ee1dd08f79d34cc34bfe959313515
2022-08-11 18:34:23 +03:00
Michael Bestas
7e054e52ac
kernel: Allow setting dtbo target path prefix
gs101 uses DTBO_OBJ/arch/arm64/boot/dts/google/dtbo.img
vs DTBO_OBJ/arch/arm/boot/dtbo.img on previous devices.

Change-Id: I945d31cb093fae97385cf84c273088ee7a4edf0b
2022-08-11 18:34:23 +03:00
Michael Bestas
12b812b4c9
kernel: Allow overriding dtbo target name
gs101 kernel uses google/dtbo.img target for dtbo.img

Change-Id: Ib03f35c0035f56d303771de9399bcce3d02c0775
2022-08-11 18:34:23 +03:00
Michael Bestas
eaf4a49adf
config: Use LLVM binutils for 5.10 as well
Change-Id: I14afa17d710778403cd7fecf842c952c569c0c35
2022-08-11 18:34:23 +03:00
Michael Bestas
a42f7ed86f
vars: Update bluejay to SD2A.220601.003.B1
Change-Id: Ib33909c8dc771e96165326ee030902b22e2590b3
2022-08-09 22:35:21 +03:00
Michael Bestas
092a736bf9 vars: Update to android-12.1.0_r22
Change-Id: I6ea3cc12ecbc6762533acc602d14e3597996927a
2022-08-08 01:34:19 +02:00
Michael Bestas
e1e8b59ec6 vars: Update raviole to SQ3A.220705.004
Change-Id: Ib72a05447cddfe6a87e1884497a791bd22c0a652
2022-08-08 01:34:19 +02:00
Chirayu Desai
e837bb4f0e vars: Pixel 6a
Change-Id: I70975d4aa770cecf8421c5dcbf97436ca8b98a67
2022-08-08 01:34:19 +02:00
Michael Bestas
009e72ef33 vars: Add raviole to kernel_repos
Change-Id: Ie499674470cf9ceceb257c6973c27fda5bf484cd
2022-08-08 01:34:19 +02:00
LuK1337
33fe58bd58 config: Exclude LatinIME dictionaries from RRO overlays
Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/4991
Change-Id: I7722ac86d9d3f02f393b2c120341db5a2b648ff5
2022-08-08 01:08:59 +02:00
Michael Bestas
60ff8bcd9e
vars: s/lineageos_branch/os_branch/
Change-Id: Ib50ef80435e535c523935ffd177c339e615411a9
2022-08-04 23:47:13 +03:00
Michael Bestas
e7f7a21f4c vars: Fix raviole previous build ID
Change-Id: I2f348497ab2e80850ecf6c5ff6b115d6330d19cb
2022-08-02 14:22:52 +02:00
Chirayu Desai
acbcabe458 vars: We now have a script for build id
TODO: Fully automate
Change-Id: Ibdcd15f24cbe6477ac84d63f019ff1f145fa2def
2022-08-02 14:22:52 +02:00
SahilSonar
cb15b81b01 qcom: Add holi platform
Change-Id: I1f41059c385a37bef71bd7d8ee34739d8bcca77a
2022-07-19 18:12:17 +02:00
LuK1337
b88982a77c overlay: Convert NetworkStack overlay to an RRO package
We can't use autogenerated RRO because android:targetName has to be set
to "NetworkStackConfig".

Change-Id: I6ff8a9c0dbd9607e71de5a65393328fe249a99e8
2022-07-16 00:38:37 +02:00
Jason Wojcik
92b2067a53 lineage: config: Use $(abspath .) instead of $(shell pwd)
Change-Id: I7fec28b7cb507918b1b55dd368a74c927a8fc1d2
2022-07-14 18:49:45 +02:00
Michael Bestas
a094dd0141 vars: Remove msm-4.9 kernel
Change-Id: I1ab4169b49a5124ed4878834a4a483816c90f581
2022-07-12 17:13:14 +02:00
Chirayu Desai
b41fb1716e vars: July 2022 Security update
Change-Id: I9f6db6fc9bfa01ba6537c207351848f235b69341
2022-07-12 17:13:14 +02:00
althafvly
098c8f5416 lineage: add back BlackTheme
Change-Id: I5b624424ba8fb2eae0ffcdc6b8fa5a1e58f6c384
2022-07-08 17:19:31 +02:00
Chirayu Desai
15770b25c9 kernel: Don't print grep error messages when checking version
Avoids:
$ lunch lineage_sdk_phone_x86
grep: build/make/target/board/emulator_x86/Makefile: No such file or directory (x4)

Change-Id: Ie803d5ca93e6e7ae94625e7ee3ab0bf337e0515d
2022-07-08 16:04:46 +02:00
Michael Bestas
a20849cb0d
vars: Add qcom tags map
Change-Id: I8f1f31f34f984a3f9f0f1a3bd833fe4cd550b531
2022-07-06 22:09:16 +03:00
Chirayu Desai
d82325a742
vars: Drop Pixel 3a
* No longer getting updates

Change-Id: Ib8c0994e04e744973cf2f5c3daa279718a9bf323
2022-07-06 22:09:16 +03:00
Col_or
96308fcd9d apns: Add China Broadnet (CBN) support
* From OPPO PERM00 PERM00_11_F.04

Signed-off-by: Col_or <col_or@qq.com>
Change-Id: I4796461ea0e26d7736d2ab4795cec11f0bd124be
2022-07-05 23:47:02 +02:00
Chirayu Desai
3956877d42 vars: Pixel 3 June 2022 update
Change-Id: Iab663dafc29c0cecb996df664890a9910ecd8331
2022-07-05 06:24:47 +02:00
althafvly
68544f936f lineage: products: Un-break SDK addon
- Fixes error while building
  Trying to build sdk_addon, but product 'vendor/lineage/build/target/product/lineage_sdk_phone_x86_64.mk' does not define one
- Move gsi_release.mk to gsi_tv_arm*.mk. SDK and x86* targets won't build.
- Set TARGET_SUPPORTS_64_BIT_APPS for x86_64 gsi to support both arch apps.

Change-Id: If01e2eecfc5e27a98e696c29f29babbc1a5ec726
2022-07-04 20:05:29 +02:00
LuK1337
43cb0d69bf Revert "config: Disable remote keyguard animation until it's fixed"
Fixed upstream.

This reverts commit 9c4fd99fb8.

Change-Id: I531ac182091a133fd7e5a693f97e1e883853b0a0
2022-07-03 22:00:43 +02:00
althafvly
919dd1c9b9 device_config: Disable always screen on
- Some devices are keeping screen on and not turning off.
  Reported in some pixels and asus

Issue: https://www.reddit.com/r/LineageOS/comments/uw5d8p/screen_timeout_issue_on_pixels_on_android_12/
https://gitlab.com/LineageOS/issues/android/-/issues/4798

Change-Id: I1e2471928b47387f7e40adb81d3457bb58cc2755
2022-06-28 07:19:28 +02:00
Alexander Koskovich
a78681c09c
kernel: Move TARGET_KERNEL_ADDITIONAL_FLAGS to kernel task
* Currently, because DTC_EXT make flag is in the
   kernel task the only way to override it is to
   have TARGET_KERNEL_ADDITIONAL_FLAGS come after.

Change-Id: If62ed979581dc07eafd4628ce2b2d799388d3704
2022-06-24 14:23:06 +03:00
Alexander Koskovich
d807db71bc
lineage: config: Don't pass CFLAGS_MODULE="-fno-pic" if using LLVM
* Seemingly not an issue for kernels compiled with
   LLVM, tested with kernel versions 4.4 -> 5.4.

Change-Id: I00adee2e10e99a540099b5e1a6a1ab9be0b99050
2022-06-24 14:23:05 +03:00
Alexander Koskovich
911b7c47b3
kernel: Switch to AOSP DTC instead of using scripts/dtc
Change-Id: I8faf295dfb84ab7481b80d5b7d2add8ed8ddf6d9
2022-06-24 14:23:05 +03:00
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