As we later do literal matches against the lines XML parsing is the
wrong approach as e.g. XML excapes will not be found which causes custom
APNs with e.g. `&` to be ignored, i.e. they will not overwrite the
default ones and will be fully missing from the output file.
Change-Id: I2bc575d4bbdc5d802c5d5b3420ee6b536a5a18fc
Removing an element from the list that is currently iterated does not
work. At least it may skip the next element.
Also the handling of duplicate APN names was broken: It would output the
lines containing duplicate APN names times the number of the
duplication, i.e. the exact same line would be duplicated.
So use a `set` for storing apn names.
Change-Id: Id54d245dc935117cd4640ae0f1f30b8608c87459
The kernel tries to define the LINUX_COMPILER macro from the output
of `$(CC) -v | grep ' version '`, but in clang that might produce
more than one line containing ' version ' when CUDA is installed:
```
Android (8490178, based on r450784d) clang version 14.0.6
Found CUDA installation: /usr/local/cuda, version 11.0
```
That causes the macro to expand into multiple lines, upsetting the
compiler that cannot find the ending double quote.
In upstream linux this is fixed from v5.8
Change-Id: Icde4253e989df1cbbefc0ce98f437d16822fc93b
Extracted file /tmp/install/bin/backuptool.functions
Extracted file /tmp/install/bin/backuptool.sh
Extracted 2 file(s)
about to run program [/tmp/install/bin/backuptool.sh] with 5 args
[libfs_mgr]Unmapped logical partition system
DM_DEV_REMOVE failed for [vendor]: Device or resource busy
Cannot unmap vendor before removing group qti_dynamic_partitions.
script aborted: assert failed: update_dynamic_partitions(package_extract_file(dynamic_partitions_op_list))
assert failed: update_dynamic_partitions(package_extract_file(dynamic_partitions_op_list))error: 25
Updater process ended with ERROR: 1
Failed to mount '/system_root' (No such file or directory)
I:Actual block device: '/dev/block/dm-0', current file system: 'ext4'
We can clearly see that after version 3 script is executed with
its specific functions. It cannot or don't unmount partitions for
successful OTA upgrade. Resulting broken installation, this also
affects ROM inbuilt OTA updater app.
Signed-off-by: TheHitMan7 <krtik.vrma@gmail.com>
Change-Id: Ic2d4e7809e8abd402c2a49188c73c83ea3b4e8df
The default 24dp looks too thin after Android 12L.
This matches Pixel status bar height and makes status bar look
slightly better on devices without a cutout/notch and landscape mode.
Change-Id: I5907d6ca19613e4c8bc186a9eca01d11730733b0
minui supports only <= 8-bit PNGs.
On my machine battery_fail was being encoded
using 24-bits and charger was freaking out :(
Change-Id: I2f63548ba102f49485c43268389f1cdd5e50802d
Signed-off-by: Luca Stefani <luca.stefani.ge1@gmail.com>
android11-5.4 kernel can fully compile with LLVM with a few cherrypicks
from android12-5.4 and android12-5.10
Change-Id: Ib71935d284ad78f1c23d039c15bfc5e0314a19eb
Darwin kernel build is not supported for >=5.10
and non-standard clang versions.
Another side effect is that it causes LD_LIBRARY_PATH
to get overwritten, which breaks certain configurations.
Let's just get rid of it since AOSP darwin build is no longer supported.
Change-Id: I9ac642996b90937bd9c52138fb06bf1eff901c8b
* All Pixel devices fail to pass this check, allow disabling this
instead of making tons of modifications on the device trees.
Change-Id: I9a6fcc0a05b6ea90818a42d5c9500663db864542
* Recursively extend the fallback branches mechanism to any
layer of dependencies.
* Instead of forcing a dependency to use the fallback branch,
check for each repository if the current one is available.
* Always write the revision in the manifest entry
Change-Id: I37a4aa094de51e9f58e72851f3bc9dc4767dd79b
These targets do not exist on pre treble devices and are included by core_minimal.mk and base_system.mk
Change-Id: I44e9d2de46270afda48792105ca7320cd4559778
* Much like Clang, like 95% of supported devices currently use this.
* GSI's also benefit from this, as LiveDisplay works on modern vendors.
Change-Id: I23925fb289dd28dd031960317b74ec3bc43ba1ca
* These are built by AOSP common includes, and we can track most of
these apps, but Etar and Trebuchet are only partial rebrands of their
source-application, which means there are conflicts when tracking
them, so exclude them.
Change-Id: I1fb893e6f5df693ddb551fa22adde9d05a60d1d8
Devices using vendor RIL services (ENABLE_VENDOR_RIL_SERVICE)
encounter a dead end when enforcing product package existance.
Change-Id: I101ebf442e35c631a6ff9f352566de63dd5cfba7