Replace agnos-base deb with the Qualcomm libraries and services we use (#652)

This commit is contained in:
Adeeb Shihadeh
2026-10-19 06:58:22 -07:00
committed by GitHub
parent d1fba2a19c
commit 5427db313f
55 changed files with 47 additions and 15 deletions
-1
View File
@@ -11,7 +11,6 @@ repos:
- id: check-toml
- id: check-yaml
- id: check-merge-conflict
- id: check-symlinks
- id: check-added-large-files
args: ['--maxkb=100']
- repo: https://github.com/codespell-project/codespell
+2
View File
@@ -9,3 +9,5 @@ graphics/libgbm.so filter=lfs diff=lfs merge=lfs -text
root/usr/lib/aarch64-linux-gnu/libEGL_adreno.so filter=lfs diff=lfs merge=lfs -text
root/usr/lib/aarch64-linux-gnu/libGLESv2_adreno.so filter=lfs diff=lfs merge=lfs -text
root/usr/lib/aarch64-linux-gnu/libpcre.so.1.2.6 filter=lfs diff=lfs merge=lfs -text
root/usr/lib/aarch64-linux-gnu/libdiag.so.1.0.0 filter=lfs diff=lfs merge=lfs -text
root/usr/lib/aarch64-linux-gnu/libqmiservices.so.1.0.0 filter=lfs diff=lfs merge=lfs -text
-1
View File
@@ -121,7 +121,6 @@ ln -s usr/lib64 /lib64
# Qualcomm driver packages.
cd /tmp/agnos/debs
apt-get --no-install-recommends -o Dpkg::Options::="--force-overwrite" install -yq \
./agnos-base_0.0.4.deb \
./agnos-wlan_0.0.4.deb
# pdmappersvc requires the Ubuntu 16.04 version of libjson-c2.
-3
View File
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a11a8dd8cc71485527767cd8810d3f8e5e58f4e79f1fb34529790bf6eb8e1509
size 691884
+1 -1
View File
@@ -26,4 +26,4 @@ mv /home /usr/default && mkdir /home
# setup mount points
rm -rf /tmp && mkdir /tmp
rm -rf /cache && mkdir /cache
rm -rf /systemrw && mkdir /systemrw
mkdir /firmware /dsp
@@ -0,0 +1,2 @@
# Qualcomm daemons (rmt_storage, etc.) look up UFS partitions by name here
SUBSYSTEM=="block", ENV{DEVTYPE}=="partition", ENV{PARTNAME}=="?*", KERNELS=="1d84000.ufshc", SYMLINK+="block/bootdevice/by-name/$env{PARTNAME}"
-2
View File
@@ -43,8 +43,6 @@ setup() {
}
start() {
setprop service.adb.tcp.port -1
cd /config/usb_gadget/g1
echo "a600000.dwc3" | sudo tee UDC
}
@@ -0,0 +1 @@
libabctl.so.0.0.0
Binary file not shown.
@@ -0,0 +1 @@
libadbd.so.0.0.0
Binary file not shown.
@@ -0,0 +1 @@
libconfigdb.so.0.0.0
Binary file not shown.
@@ -0,0 +1 @@
libdiag.so.1.0.0
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:30db52428fa7439ad3fca6161a9add7f2ec716ec16540ef1ba77fd3fefbe979b
size 134424
@@ -0,0 +1 @@
libdsutils.so.1.0.0
Binary file not shown.
@@ -0,0 +1 @@
libext4_utils.so.0.0.0
Binary file not shown.
@@ -0,0 +1 @@
libfs_mgr.so.0.0.0
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
libgpt.so.0.0.0
Binary file not shown.
@@ -0,0 +1 @@
liblogwrap.so.0.0.0
Binary file not shown.
@@ -0,0 +1 @@
libmincrypt.so.0.0.0
Binary file not shown.
@@ -0,0 +1 @@
libqmi_cci.so.1.0.0
Binary file not shown.
@@ -0,0 +1 @@
libqmi_client_qmux.so.1.0.0
Binary file not shown.
@@ -0,0 +1 @@
libqmi_common_so.so.1.0.0
Binary file not shown.
@@ -0,0 +1 @@
libqmi_csi.so.1.0.0
Binary file not shown.
@@ -0,0 +1 @@
libqmi_encdec.so.1.0.0
Binary file not shown.
@@ -0,0 +1 @@
libqmiservices.so.1.0.0
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b479ac66cc1c3d108594abd18e64190f41277d9240dd3bb8020f90e4c7d0f607
size 226416
@@ -0,0 +1 @@
libselinux.so.0.0.0
Binary file not shown.
@@ -0,0 +1 @@
libsparse.so.0.0.0
Binary file not shown.
@@ -0,0 +1 @@
libtime_genoff.so.1.0.0
Binary file not shown.
@@ -1 +0,0 @@
libutils.so.0.0.0
+1
View File
@@ -0,0 +1 @@
libxml.so.0.0.0
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
/firmware/image
@@ -1,10 +1,9 @@
[Unit]
Description=Start cdsp
SourcePath=/usr/bin/cdsp.sh
[Service]
Type=oneshot
ExecStart=/bin/sh /usr/bin/cdsp.sh
ExecStart=/bin/sh -c "echo 1 > /sys/kernel/boot_cdsp/boot"
[Install]
WantedBy=multi-user.target
@@ -0,0 +1,11 @@
[Unit]
Description=Configure IPC router security rules
DefaultDependencies=no
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/irsc_util
[Install]
WantedBy=sysinit.target
+1
View File
@@ -0,0 +1 @@
/lib/ld-linux-aarch64.so.1
BIN
View File
Binary file not shown.
+2 -4
View File
@@ -1,7 +1,7 @@
#!/bin/bash -e
# Enable DSP support services
systemctl enable adsp
# Enable DSP and IPC router services
systemctl enable irsc_util
systemctl enable cdsp
# Enable our services
@@ -51,7 +51,6 @@ systemctl disable e2scrub_all.timer
systemctl disable fstrim.timer
systemctl disable motd-news.service
systemctl disable motd-news.timer
systemctl disable chgrp-diag.service
systemctl disable systemd-pstore.service
systemctl mask systemd-backlight@.service
systemctl mask alsa-restore.service
@@ -67,4 +66,3 @@ systemctl disable smartd.service
systemctl disable smartd.service
systemctl disable console-setup.service
systemctl disable sfsconfig.service