Commit graph

3345 commits

Author SHA1 Message Date
LuK1337
f58145602f overlay: Disable config_keyguardUserSwitcher on sw600dp
* It's not behaving properly and I don't feel like fixing it.

Change-Id: I634a9abe99299d66a94f9d1ff7d8011476646933
2019-08-25 23:06:30 +02:00
Aaron Kling
871f250c7d lineage: atv: Inherit lineage atv device tree
Change-Id: I869d9d24a61088762ea5cb1a3cc655ef11b0c521
2019-08-24 21:59:29 +02:00
Luca Stefani
c4e288c467 backuptool_ab: Make copy_file preserve file/directory attrs
Change-Id: I52c7b124ff8364464643c51b3f17dba4e4e49435
2019-08-24 12:18:05 +02:00
LuK1337
276e7770bf vendor: Add vendor.lineage.biometrics.fingerprint.inscreen permission
Change-Id: I149508317c4f0312e88faf5324275867e79e35e9
2019-08-24 10:25:55 +02:00
Luca Stefani
214dfb9402 lineage: Enforce privapp-permissions whitelist
Change-Id: I1ca080e5addcc0876d7346f3cf09db8e8af39312
2019-08-21 12:04:08 +02:00
Erik Kline
4ec881366c config: Use tether automatic upstream selection
(config_tether_upstream_automatic=true)

Test: as follows
    - built, flashed, booted
Bug: 32163131
Bug: 62648872
Bug: 63282480
Bug: 110118584
Bug: 110260419

Change-Id: I604cda53d6d37a33de3e3ccc65c0da781d21278b
2019-08-19 19:02:22 +02:00
LuK1337
19074ef55f overlay: Remove config_wifi_wakeup_available
* It doesn't exist anymore.

Change-Id: I6f855f097febbc986dd8d94d862f154842641d1b
2019-08-15 21:50:21 +02:00
jhenrique09
97cb87c809 vendor: Add qcom platform type to soongs vars
Required for new commits on frameworks/native

* Fix lag during screen recording on some platforms
* Fix screen flickering after disconnecting from Android Auto on some platforms

Change-Id: Ia0ed0bbfda44fb5ccb184ace854ec1bf9a7d819a
2019-08-11 12:01:44 +02:00
Michael Bestas
8ea42c9fe0 config: Remove duplicate notification sounds
Change-Id: I1ec1ae4618f6f2a511a34ca0673600a65f9a971f
2019-08-11 01:49:35 +03:00
Michael Bestas
1585d0a8a0 config: Include charging sounds in notification sounds
... in order to make them selectable in charging sounds settings.
This way the user can go back to the default sound.

Change-Id: Iced4614baddd9033e0772e4a4221ed48dea6fc57
2019-08-11 01:49:35 +03:00
Han Wang
31c5070843 overlay: Remove config_auto_perf_activities
* Removed long ago.

Change-Id: Ic0becb9b0e2120ff8032fb046d6b0f211b82813f
2019-08-08 07:02:45 +02:00
Kamil Sztuke
eb8277b19e LatinIME: Add Polish dictionary
dictionary is built from 4y old dictionaries which are in LatinIME
https://github.com/LineageOS/android_packages_inputmethods_LatinIME/blob/lineage-16.0/dictionaries/pl_wordlist.combined.gz
https://github.com/LineageOS/android_packages_inputmethods_LatinIME/blob/lineage-15.1/dictionaries/pl_wordlist.combined.gz
using dicttool,
dicttool build was possible thanks to
a92d0f9262

Change-Id: I4bffbb10e06c904ad58877ff920e581caa958d67
2019-08-06 11:21:04 +03:00
Rashed Abdel-Tawab
2e39f356ac lineage: Make a lineage_x86_64 target
* For addonsu.

Change-Id: Ic4c701cdfe1126870258182df631192e06527fe5
2019-08-01 19:50:59 +02:00
LuK1337
a5e776e514 privapp-permissions: Allow Trebuchet to use android.permission.STATUS_BAR
* cough * someone forgot to update permissions whitelist again.

Change-Id: Iedcdb0568ea1b9924144841a8d20ca6f05bbe29b
2019-07-25 15:31:29 +02:00
Rashed Abdel-Tawab
05aded86f3 qcom: Add UM 4.14 platforms
* Note: msmnile is treated like msmnile because unlike other Qualcomm
  codenames msmnile does not expand to 8150.

Change-Id: If246c0ec06de22097d369c17ce48aa1270bab19c
2019-07-20 08:36:55 +02:00
LuK1337
6047f5a0c5 kernel: Consider depmod version when handling kernel modules
* This fixes dirty boot image rebuilding on devices
  with CONFIG_LOCALVERSION_AUTO=y and any driver
  set to =m.
* Basically appending `cat include/config/kernel.release`
  to modules path makes sure that our find does not
  return old modules which would make cp fail with
  'cp: will not overwrite just-created' message.

Change-Id: Ifb79d33b95d7671d8b2d6633644c8b8290d1f442
2019-07-19 21:49:04 +02:00
Rashed Abdel-Tawab
19c36cd7a6 extract_utils: Support multidex
Co-authored-by: Erfan Abdi <erfangplus@gmail.com>
Change-Id: I4881658d303b6c5c7f0b141beb50c1e9100af611
2019-07-18 07:31:36 +02:00
LuK1337
bf5dcb13f5 common: Add getcap/setcap to PRODUCT_PACKAGES
* These are pretty useful for debugging config.fs
  changes without rebuilding full system/vendor image.

Change-Id: I68fdeb2dc7c9f225784b55425407657645e34ac8
2019-07-13 20:46:19 +02:00
Vasyl Gello
bc4bce82d4 Fix bootanimation destpath if building off-tree
If the build is invoked off-tree, like:

    . build/envsetup.sh
    export OUT_DIR=/some/other/dir/out
    export DIST_DIR=/some/other/dir/dist
    breakfast chagalllte
    mka \
        target-files-package dist

the bootanimation.zip is correctly generated in $OUT_DIR.

However, if the user overrides directories after breakfast, i.e:

    . build/envsetup.sh
    breakfast chagalllte
    mka \
        OUT_DIR=/some/other/dir/out \
        DIST_DIR=/some/other/dir/dist \
        target-files-package dist

the destination path of intermediate bootanimation.zip is still
controlled by $ANDROID_PRODUCT_OUT which is set by build/envsetup.sh.
This leads to a copy error and a failed build.

The fix overrides $ANDROID_PRODUCT_OUT by the always-known PRODUCT_OUT
(make variable defined in build/core/envsetup.mk), making it error-prone
to environment variable declaration.

Also, the "sh" invocation is replaced with generic make-variable
$(shell).

Change-Id: Ic94d1b538fc01946b628f9b5d776548a03acde97
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
2019-07-09 09:56:02 +03:00
Isaac Chen
60912cff97 build: Support SDM710 platform
Change-Id: I958a6bfd1087f5437f4074e614198bb622d476ce
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2019-06-27 20:00:28 +01:00
LuK1337
dd5fecb333 addonsu: Pass filesystem type for mounting /system_root when needed
* Some TWRP releases expect -t parameter.

Change-Id: I5f4a55883b94e821bfcef06df7d121db1d6145a4
2019-06-26 19:31:37 +02:00
Rashed Abdel-Tawab
1c29c373dd extract_utils: Add functions to extract vendor blobs from vendor.img
Change-Id: I6f37adc955856fa78e719eb30249800abe80020c
2019-06-26 04:37:44 +02:00
Ethan Chen
a7b2d0a620 build: Separate platform macros from QCOM platform definition
* The macros used in the file formerly called "qcom_utils.mk" are
  actually generic and not QCOM-specific. Move the QCOM_BOARD definitions
  to a QCOM-specific location, and name the remaning macros something more
  generic.

Change-Id: I6747bc9201e56b456caf251122057d7dbc233f1c
2019-06-26 01:11:42 +02:00
Ethan Chen
66ce59c88e build: Reorganize inclusion of QCOM macros
* There's actually not a whole lot QC-specific about these macros,
  make them available at definition.mk inclusion time rather than
  relying on BoardConfig to include them.
* Don't create a dependency on QCOM macros from a makefile
  that is included very early in the build process.

Change-Id: I3dcaf0e068ca44732cfe58f69384621781ddda67
2019-06-26 01:10:51 +02:00
LuK1337
40ab94de5f privapp-permissions: Regenerate permissions list
* Regenerated using development/tools/privapp_permissions/privapp_permissions.py

Change-Id: I9f49e92dbf92dc545dee782124d45db1e70df471
2019-06-25 23:54:57 +02:00
Ethan Chen
123fcd3761 build: Remove unused script
* http_prebuilt.mk appears to be long gone.

Change-Id: I8ca584fc1e468bb47164984bb363f0cf29750e68
2019-06-25 23:13:21 +02:00
Ethan Chen
b7b49cc07d build: Use ifeq/else ifeq/else construction in board config
* Instead of nesting ifeq/else/ifeq/else/endif/endif construction, make
  allows the more readable ifeq/else ifeq/else/endif construction. Use it
  instead.

Change-Id: Ifd2635929799db593e04a13827f05c97e95487e4
2019-06-25 23:13:21 +02:00
Ethan Chen
5512b647e0 build: Set mode for makefiles
* These shouldn't be executable.

Change-Id: Idcb4e46f0ac69116b4837cd31f9f2e506b41a3f2
2019-06-25 23:13:21 +02:00
Michael Bestas
fcc1e1967a Whitelist permissions for AOSP FM radio app
* Sort the file while we are at it.

Change-Id: I8dec9ece1c1523dcb77421b6912bbef91efb1485
2019-06-25 21:41:08 +02:00
Nolen Johnson
76cdd01250 lineage: partner_gms: Add minimal configuration flag
Change-Id: I245138b19448a193f8cbd12d5d26db295a4f4cdd
2019-06-18 21:37:21 +02:00
Erfan Abdi
a4d6ce67e7 soong_config: Add flag for devices use metadata as FDE key
Change-Id: I5f70280e72613a8f850cb3263c45e95e80cb8b3c
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-06-16 12:47:01 +02:00
Rashed Abdel-Tawab
8613ea0ac1 kernel: Set correct kernel compiler prefixes for aarch64 clang
These configuration options are set based on the Google configurations
located in kernels
(ex. https://github.com/LineageOS/android_kernel_google_wahoo/blob/lineage-16.0/build.config)

This is composed of 2 parts:

Revert "kernel: Correct CROSS_COMPILE_ARM32 toolchain"

This reverts commit c77bb3a5ba.
This breaks builds when building with upstream commit
ad15006cc78459d059af56729c4d9bed7c7fd860. That commit fixes LD being
used from outside the path, however androidkernel toolchains don't
have elfedit. Google specifically doesn't use androidkernel, so we
need to follow them on this.

Set CROSS_COMPILE_PREFIX to aarch64-linux-android- for clang builds

Upstream commit ad15006cc78459d059af56729c4d9bed7c7fd860 makes the
kernel build system use GCC toolchains for elfedit, so we have to
actually use a real GCC toolchain, not the androidkernel one.

Change-Id: I79ac4ac47d3ba6c2abbc5ce40e56ed5c707295b4
2019-06-16 06:27:43 +02:00
Marc Bourgoin
7a85b90de1 apn: Update German carriers
*From https://android.googlesource.com/device/google/wahoo/+/android-8.1.0_r29/apns-full-conf.xml
 *Removed A LOT of defunct APN settings. Most are MVNO's that use the major networks.
 *t-mobile -> Telekom
 *eplus & Blau & BASE -> o2

Change-Id: I7552ee091262bc53bb394d9fa89cdee1bdccb84f
2019-06-15 22:11:33 +02:00
Asher Simonds
492a60f487 Update default wallpaper
Change-Id: I4ca1327604848a2b83a06f78655a68e53b9cb148
Signed-off-by: Joey <joey@lineageos.org>
2019-06-12 12:48:48 +02:00
Luca Weiss
5ee35ea356 repopick: cmp() is not available in Python 3, define it manually
Change-Id: I16a89aa555e62f105d888e87cb43afd26606076b
2019-06-08 00:01:05 +02:00
Asher Simonds
337f13e448 Update default wallpaper
Change-Id: Icfb58abdda66636e220187269d32475e917eb11f
Signed-off-by: Joey <joey@lineageos.org>
2019-06-06 11:29:32 +02:00
Rashed Abdel-Tawab
60fe93525a lineage: Rework DTBO image generation
Currently we handle the DTBO images from start to finish, including
AVB footers, and just drop them in $(PRODUCT_OUT)/dtbo.img when done.
While this works for the most part, we are limited in what we can do
with the DTBO images. For example non-A/B device recovery images must
have a copy of the DTBO image appended to recovery (see AOSP docs:
https://source.android.com/devices/bootloader/recovery-image ). This
means that we need to pass the pre-AVB dtbo image into
BOARD_PREBUILT_DTBOIMAGE in order to let the AOSP build system handle it.

This commit reworks the way the DTBO images are built, placing them at
$(PRODUCT_OUT)/dtbo-pre.img instead and setting BOARD_PREBUILT_DTBOIMAGE
to that path so the AOSP build system can pick the images up and sign
them and append to recovery (for applicable devices).

Change-Id: I8819d7cd92ba298de67dbc7f6b321917ba8524f1
2019-06-06 07:17:27 +02:00
Bruno Martins
a4414a49ec overlay: Hide the option to show battery percentage
* The option is available in Status bar settings,
   as per our additions. Remove duplicate to improve UX.

Change-Id: I60a737617f192f5f0699ce50cfc3edc52c862492
2019-06-03 03:14:07 +02:00
Nicholas Lim
10ca86d1ff apns: Update Singapore's APNs
* Based off: https://android.googlesource.com/device/sample/+/master/etc/apns-full-conf.xml

Change-Id: Ie724a1f7f26d5bbcefb4459c5f92fcbc7c8bbff8
2019-06-01 16:28:09 +02:00
Joey
515f8e0a18 Build our wallpapers app
Change-Id: I02c8548ca4ac156846da1e4a0839240978b90e57
Signed-off-by: Joey <joey@lineageos.org>
2019-05-31 15:51:35 +02:00
Volodymyr Zhdanov
20505e9ca1 charger: add 400dpi symlink
* used by google bonito
* https://android.googlesource.com/device/google/bonito/+/refs/tags/android-9.0.0_r39/device-bonito.mk#18

Change-Id: Idd0b4640ee4896c86b25a5457fe889c28e49a283
2019-05-23 02:50:50 +02:00
Rashed Abdel-Tawab
fc5a8fa0ad lineage: Build Fi GMS product if WITH_GMS_FI is defined
Change-Id: Ia141fec1168e21726718cf11da83bb5ca0f68a56
2019-05-23 02:41:38 +02:00
blunden
6b5af98a3b Actually include legacy privapp whitelist
Change-Id: I11f4d524a628f3fddb3a6a0c6fe645922123fc89
2019-05-19 12:51:39 +02:00
blunden
f972f5ea63 Whitelist permissions under legacy package names
The lack of these whitelisted permissions causes a bootloop
when upgrading from earlier OS versions on devices that enforce
the whitelist.

Change-Id: I76b8fad5f0c49a7d008d19e7a116b5f19c75f739
2019-05-19 02:32:48 +02:00
Reza Feizi
701610828f
apns: Update IRAN APNs
* References : operators sites

Change-Id: If9b8df78bc5b35fa71432535dfae1a256e6beb62
2019-05-06 11:53:33 +03:00
Thor Lee
75975892b4 kernel: Fix modules path generated in modules.dep
This patch fixes the error generated path of modules in modules.dep.

Tested on Redmi Note 5(whyred).

Before:
/vendorlib/modules/test-iosched.ko:
/vendorlib/modules/mpq-adapter.ko:
/vendorlib/modules/ufs_test.ko: /vendorlib/modules/test-iosched.ko
/vendorlib/modules/rdbg.ko:
/vendorlib/modules/br_netfilter.ko:
/vendorlib/modules/gspca_main.ko:
/vendorlib/modules/mpq-dmx-hw-plugin.ko: /vendorlib/modules/mpq-adapter.ko

After:
/vendor/lib/modules/test-iosched.ko:
/vendor/lib/modules/mpq-adapter.ko:
/vendor/lib/modules/ufs_test.ko: /vendor/lib/modules/test-iosched.ko
/vendor/lib/modules/rdbg.ko:
/vendor/lib/modules/br_netfilter.ko:
/vendor/lib/modules/gspca_main.ko:
/vendor/lib/modules/mpq-dmx-hw-plugin.ko: /vendor/lib/modules/mpq-adapter.ko

Change-Id: I84d51f4c418fda0d99890db0fd5d976c42f54295
2019-05-02 10:00:49 +02:00
aleksei74
c670f14863 apns : Update the KT IMS apn
Update KT IMS apn for VoLTE

reference site:
https://android.googlesource.com/device/sample/+/refs/tags/android-9.0.0_r35/etc/apns-full-conf.xml#25304

Change-Id: Iaa7924aeb6038e7ecefe56042bc19af0b0db82c2
2019-04-24 19:09:32 +09:00
Michael Bestas
f8b28f1364 config: Include old AOSP alarms/notifications/ringtones
Change-Id: I8546d20098a0d117c5349dbeb73cfe1e72030990
2019-04-12 02:08:21 +03:00
Christopher N. Hesse
5ee8c8b0a9 images: Add 420dpi symlink
Change-Id: If184d3e3c5e4545e8baba665366b59390718ac02
Signed-off-by: Christopher N. Hesse <raymanfx@gmail.com>
(cherry picked from commit 70e7015d73b8fdd5258732863012f7b06d8347f5)
2019-04-09 09:20:28 +02:00
jperal
13cff90427 Add APN ION Mobile & APN for Roaming
Change-Id: Ie3103db1fcdd41e70024fceaf96d070f2d66577c
2019-03-14 22:39:27 +01:00