Commit Graph

2200 Commits

Author SHA1 Message Date
followmsi 8459192a6b flo/deb: We still use GCC
6d88852d2e
2022-03-17 22:12:06 +01:00
followmsi d4ded6fe79 flo: Finally move init files to vendor 2021-12-02 15:13:44 +01:00
followmsi ce421e972f flo: Use sys.io.scheduler for 12
Take logic from lineage-iosched.rc

As "prebuilt/common/etc/init/lineage-iosched.rc" has been removed
be135083d6
2021-12-02 13:33:03 +01:00
followmsi 1b1346af80 flo/deb: Build power.stats@1.0-service.mock 2021-11-30 16:33:19 +01:00
followmsi 883d693f3a Revert "Revert "flo: Build new aidl qti power HAL""
This reverts commit 2e783d75de.
2021-11-30 16:30:24 +01:00
followmsi e34966ae4c Revert "Revert "flo: Switch to binderized QTI power HAL""
This reverts commit a1f793f0ba.
2021-11-30 16:30:18 +01:00
followmsi fb57f2ffa9 flo/deb: sepolicy: Actually define clearkey DRM HIDL service 2021-11-30 16:28:36 +01:00
followmsi 4da2187c4f flo: Binderize Audio
Switch to version 6
2021-11-26 23:10:37 +01:00
followmsi 7dca3deb18 flo: overlay: Update pinner list
Remove odex/oat files from pinner list.
The pinner now asks the runtime for these files.
2021-11-26 23:06:07 +01:00
followmsi a1f793f0ba Revert "flo: Switch to binderized QTI power HAL"
This reverts commit 0a8424ef1d.
2021-11-25 13:35:03 +01:00
followmsi 2e783d75de Revert "flo: Build new aidl qti power HAL"
This reverts commit fa28dd49e5.
2021-11-25 13:35:03 +01:00
followmsi 1756272868 flo/deb: Camera: Add LOCAL_CLANG_CFLAGS
LOCAL_CLANG_CFLAGS += \
       -Wno-unreachable-code-loop-increment
2021-11-25 13:35:03 +01:00
followmsi 73ec745e01 flo: Use keymaster@4.0 2021-11-25 13:35:03 +01:00
followmsi 65642af2ce flo: Uprev clearkey DRM HIDL to 1.4 2021-11-25 13:35:03 +01:00
followmsi 41a7f02213 flo: overlay: Move WiFi overlays for Android 12 2021-11-25 13:35:03 +01:00
followmsi 185813cb5a flo: overlay: Move Tethering overlays for Android 12 2021-11-25 13:35:03 +01:00
followmsi 69ca038730 flo: Copy ueventd.flo.rc to /vendor/etc 2021-11-25 13:35:03 +01:00
followmsi 8bf29cb5bd flo/deb: Use threaded GLES render engine 2021-11-25 13:35:03 +01:00
shivatejapeddi 2d4b81e342 flo: Set BPF support level
This allows a legacy device launched with Android (pre-)O and running
a pre-4.9-P+ kernel to declare itself as not eBPF capable.
2021-11-25 13:35:03 +01:00
Kyle Harrison c7b31df92f flo/deb: props: Don't write binary XML files
- Android 12 now writes XML files in binary format by default. This can cause incompatibility with TWRP which can hang when attempting to read XML files e.g. /data/system/storage.xml

- This commit sets the persist.sys.binary_xml property to false so that XML files are written in text format.
2021-11-25 13:35:03 +01:00
Kyle Harrison 7f922c8936 flo/deb: Enable BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES 2021-11-25 13:35:03 +01:00
followmsi 04f00a2e59 flo/deb: New BOARD_SYSTEMIMAGE_PARTITION_SIZE = 1275M 2021-11-24 15:51:30 +01:00
Nolen Johnson 1b44da642f Revert "flo: fstab latemount cache too"
* This caused numerous issues. The biggest of which being that /cache's
  block device was labeled incorrectly as it was latemounted. Due to
  this, Lineage Updater would fail to write to /cache directories for
  updates, causing them to fail.

* Lesson learned, several optimizations Google included on the Pixel's
  won't work/aren't feasible on non-A/B devices.

This reverts commit ed5a9106b1dfcfa1f1790d68e49bfc1d17e285f6.

Change-Id: I21f277c6888e06453866b8fd99004f38dce07ebb
2021-11-24 15:51:09 +01:00
elektroschmock 11cdaa374f flo: fstab: Mount persist with noatime flag
If the noatime flag isn't set the atime information is updated on
every read access. This is bad for performance and flash lifetime.

Change-Id: I9d1a64e1a876dd239fc4593c2d7ffa75790f3a6a
2021-11-24 15:49:08 +01:00
Arne Coucheron 52bb1cf88a flo: rootdir: Start camera server in early_hal class
Starting it in early-boot unfortunately made it not load when
device was encrypted.

Change-Id: I62ab18927d5c9522bc70c4221a89f0489feb9f03
2021-11-24 14:38:03 +01:00
voron00 152e763519 flo/deb: sepolicy: label misc block device to resolve uncrypt denial
Fixes Settings->Erase options->Erase all data and LineageOS updater installation.

Change-Id: I193583783fa5d344ed44b98a00c3281742a67ee0
2021-11-24 14:37:51 +01:00
Nolen Johnson da21d0eac7 flo: Switch to CFQ
Change-Id: If2aeb088a70605268c4c83a8892b7a7d1b430e9e
2021-11-24 14:37:38 +01:00
Nolen Johnson 2cc170cb9a flo/deb: Disable 802.11d
* It doens't work on this device.

Change-Id: I71db69cb1c73afaead070ab29c4097b7a3727de9
2021-11-24 14:37:26 +01:00
Nolen Johnson a2663ffcb0 flo: Enable swap on vendor fstab
Change-Id: I4dbaa273a21889d6a60cd2b0de84c56daba9c4c6
2021-11-24 14:36:55 +01:00
Nolen Johnson 8c0bd88363 flo: Enable and uze ZRAM
Change-Id: Idd94fe045ee7b0a631dcc174bf3e4ad1f19fe62f
2021-11-24 14:35:58 +01:00
Sebastiano Barezzi 7ec665d669 flo/deb: Remove USE_XML_AUDIO_POLICY_CONF
* Dead since Q, where XML audio policies weren't enforced yet

Change-Id: I302a0ed97964b052176dc3bb0141db1ba85e78c8
2021-11-24 14:10:22 +01:00
Kevin F. Haggerty 20a3c27916 flo/deb: Drop OVERRIDE_RS_DRIVER
* So, this one from bullhead can cause everything to get janky AF
  every time RenderScript is actually used, and finding one that
  actually loads (no missing symbols) AND actually works well is,
  well, challenging. The device works fine with the "normal"
  non-adreno driver in AOSP, so let's use that until/unless we find
  an actually working adreno driver.

Change-Id: I4ab19269eb49f5f2aed375d9055d68c1b9835f69
2021-11-24 14:09:48 +01:00
Kevin F. Haggerty c267d1b3e2 flo/deb: Don't let builds complete without vendor tree
* There is zero reason to ever build without blobs. We've even seen
  this situation with official builds from our servers. It's always
  better for a build to fail than it is for it to produce something
  that has no chance at working.

Change-Id: I4968795670c91f691e9ecdc0e4af62e16ba3a93a
2021-11-24 14:06:47 +01:00
followmsi 7e1b4171aa flo/deb: Drop vmalloc=340M from kernel cmdline 2021-04-07 11:51:32 +02:00
followmsi dcb2c03997 flo/deb: set fdsan to warn once 2021-04-07 11:50:53 +02:00
Nolen Johnson 304415d695 flo: Allow zygote to read bluetooth_prop
* It wants to read ro.boot.btmacaddr, so lets allow it to do so.

Change-Id: If0df1d84de41db537790bf0d6504aeca20e0df50
2021-01-06 13:18:32 +01:00
Kevin F. Haggerty 5ffafc00da flo: sepolicy: Really quiet zygote reading cmdline
Change-Id: I180f434225a966a25cf4f9577e81588c7b2df9d9
2021-01-06 13:18:12 +01:00
Vladimir Oltean c70aae9da9 flo: allow uevent to control sysfs_mmc_host via vold
Change-Id: Iafea09efae38fb82f4019c6d3b3b4bb756cdca0b
2021-01-06 13:14:51 +01:00
Joey d05d27932f flo/deb: Build Trust HAL
manifest: This has been turned into a VINTF fragment.

Change-Id: I92706987f8d3094cdfb82e71e5331b7efe69e5df
Signed-off-by: Joey <joey@lineageos.org>
2021-01-06 13:09:30 +01:00
LuK1337 fca4c22681 flo/deb: Set PRODUCT_ENFORCE_VINTF_MANIFEST_OVERRIDE := true
* Apparently this is now required on all non full treble devices since
  google added a sleep(1) in libhidl...

Change-Id: I6d8492dd7c56bfdb2ca00f3477634a46fa55b1c0
2020-12-21 17:31:51 +01:00
Arne Coucheron 04fd8acfbc flo: Enable TARGET_VNDK_USE_CORE_VARIANT
Change-Id: If7662231018011f5fd1780e534e6be9863394bf9
2020-12-21 17:10:03 +01:00
Bruno Martins a39217a8ea flo: Set shipping API level in the common product makefile
It's not meant to be set as a board config flag. Simply do it by
inheriting the makefile that now also exists for devices launched
with Jelly Bean.

Change-Id: I2ca1f9d207be90c58495b3e20c5e2275e09b18bc
2020-12-21 17:07:22 +01:00
Bruno Martins 7842305c90 flo: Define shipping FCM version in the manifest
Shipping API level less than 26 corresponds to legacy FCM version.

This addresses the following build warning:

   Warning: Shipping FCM Version is inferred from Shipping API level. Declare Shipping FCM Version in device manifest directly.

Change-Id: Ib230c345ff7deb552597824838b8809ceefbbe8a
2020-12-21 17:05:09 +01:00
Arian fa28dd49e5 flo: Build new aidl qti power HAL
Change-Id: I4bdea354e54d34d0dfe9b811e228fc6f8762d2ed
2020-12-21 17:03:57 +01:00
dianlujitao 0a8424ef1d flo: Switch to binderized QTI power HAL
Change-Id: I82e8386c2f3f02f408f5ac374e6f1c486b94bb29
2020-12-21 17:03:19 +01:00
Kyle Harrison 02057d8087 flo: sepolicy: Allow access to vendor_security_patch_level_prop
Change-Id: I0d94c97866248b07a30b1ce4dd0d506939dae78c
2020-12-21 16:59:56 +01:00
Daniel Jarai 9c25436315 flo: sepolicy: fix HWC related denials
Change-Id: I55d04db97bcdbbb2f5e05377c2a7dc617d136225
Signed-off-by: Daniel Jarai <jaraidaniel@gmail.com>
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
2020-12-21 16:59:18 +01:00
surblazer 08ee8a582a flo: sepolicy: resolve denials for advanced reboot
Change-Id: I3aade1604efb2f2b2939c1831c2b448843bb66d1
2020-12-21 16:58:46 +01:00
Arne Coucheron 65bdcd8c23 flo: sepolicy: Resolve last_kmsg denials
Change-Id: Ib6a00d0c14eb03f1e16b24471736a0b84371152c
2020-12-21 16:58:26 +01:00
Francescodario Cuzzocrea d939b1911d flo: sepolicy: address servicemanager denials
Change-Id: I9014990b02998afc3ce4256c84995b8571bfde7c
2020-12-21 16:57:55 +01:00