Skip to content

Instantly share code, notes, and snippets.

@stickman89
stickman89 / gist:12731d7ca8063896aec38f6a11415e14
Created January 24, 2023 19:18
DotOS 12.1 - Mix the good with the bad.
CC drivers/staging/qcacld-2.0/CORE/CLD_TXRX/TXRX/ol_tx_desc.o
CC drivers/staging/qcacld-2.0/CORE/CLD_TXRX/TXRX/ol_tx_classify.o
CC drivers/staging/qcacld-2.0/CORE/CLD_TXRX/TXRX/ol_tx.o
CC drivers/staging/qcacld-2.0/CORE/CLD_TXRX/TXRX/ol_rx_reorder_timeout.o
CC drivers/staging/qcacld-2.0/CORE/CLD_TXRX/TXRX/ol_rx_reorder.o
CC drivers/staging/qcacld-2.0/CORE/CLD_TXRX/TXRX/ol_rx_pn.o
CC drivers/staging/qcacld-2.0/CORE/CLD_TXRX/TXRX/ol_tx_queue.o
CC drivers/staging/qcacld-2.0/CORE/CLD_TXRX/TXRX/ol_txrx_peer_find.o
CC drivers/staging/qcacld-2.0/CORE/CLD_TXRX/TXRX/ol_txrx_event.o
CC drivers/staging/qcacld-2.0/CORE/CLD_TXRX/TXRX/ol_txrx_encap.o
@stickman89
stickman89 / FullBoot_dotOS_12.1_Lithium 2
Created November 10, 2022 19:23
FullBoot_dotOS_12.1_Lithium 2
This file has been truncated, but you can view the full file.
--------- beginning of main
02-21 22:21:16.501 590 590 E libpsi : No kernel psi monitor support (errno=2)
02-21 22:21:16.502 590 590 I lowmemorykiller: Using vmpressure for memory pressure detection
02-21 22:21:16.503 590 590 I lowmemorykiller: Process polling is not supported
02-21 22:21:16.520 591 591 D ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
02-21 22:21:16.529 591 591 I SELinux : SELinux: Loaded service_contexts from:
02-21 22:21:16.529 591 591 I SELinux : /system/etc/selinux/plat_service_contexts
02-21 22:21:16.529 591 591 I SELinux : /system_ext/etc/selinux/system_ext_service_contexts
02-21 22:21:16.529 591 591 I SELinux : /product/etc/selinux/product_service_contexts
02-21 22:21:16.529 591 591 I SELinux : /vendor/etc/selinux/vendor_service_contexts
@stickman89
stickman89 / FullBoot_dotOS_12.1_Lithium
Created November 10, 2022 17:38
FullBoot_dotOS_12.1_Lithium
This file has been truncated, but you can view the full file.
--------- beginning of main
02-21 20:42:12.100 581 581 E libpsi : No kernel psi monitor support (errno=2)
02-21 20:42:12.101 581 581 I lowmemorykiller: Using vmpressure for memory pressure detection
02-21 20:42:12.101 581 581 I lowmemorykiller: Process polling is not supported
02-21 20:42:12.118 582 582 D ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
02-21 20:42:12.122 582 582 I SELinux : SELinux: Loaded service_contexts from:
02-21 20:42:12.122 582 582 I SELinux : /system/etc/selinux/plat_service_contexts
02-21 20:42:12.122 582 582 I SELinux : /system_ext/etc/selinux/system_ext_service_contexts
02-21 20:42:12.122 582 582 I SELinux : /product/etc/selinux/product_service_contexts
02-21 20:42:12.122 582 582 I SELinux : /vendor/etc/selinux/vendor_service_contexts
@stickman89
stickman89 / gist:6f701dbe2f1915252a41338271e9a586
Created November 10, 2022 14:53
Lithium - DotOS 12.1. Boots but Fingerprint setup not showing when pressing to setup.
02-21 17:56:45.752 749 749 D vold_prepare_subdirs: Setting up mode 700 uid 1000 gid 1000 context u:object_r:fingerprint_vendor_data_file:s0 on path: /data/vendor_de/0/fpdata
02-21 17:56:46.735 768 768 I zygote64: option[48]=-Xfingerprint:Xiaomi/dot_lithium/lithium:12/SQ3A.220705.004/1668069330:userdebug/test-keys
02-21 17:56:46.979 769 769 I zygote : option[47]=-Xfingerprint:Xiaomi/dot_lithium/lithium:12/SQ3A.220705.004/1668069330:userdebug/test-keys
11-10 14:47:58.549 1186 1186 D [email protected]: Opening fingerprint hal library...
11-10 14:47:58.565 1186 1186 I fpc_fingerprint_hal: fpc_module_open sw18.2
11-10 14:47:59.971 1186 1186 I fpc_fingerprint_hal: fpc_worker_set_state_locked worker_state_t = 0
11-10 14:47:59.979 1186 1313 I fpc_fingerprint_hal: workerFunction STATE_IDLE
11-10 14:47:59.979 1186 1186 I fpc_fingerprint_hal: fpc_worker_set_state_locked worker_state_t = -1
11-10 14:48:00.020 1186 1313 I fpc_fingerprint_hal: fpc_wait_finger_up FP
@stickman89
stickman89 / gist:cc06d614f7e97c348090f8639e602bb9
Created November 4, 2022 20:48
Lithium (Xiaomi Mix) DotOS 12.1 - files are incompatible: Runtime info and framework compatibility matrix are incompatible:
2022-11-04 20:12:50 - add_img_to_target_files.py - INFO : done.
[ 99% 139527/139528] Package OTA: out/target/product/lithium/dot_lithium-ota-eng.jason.zip
FAILED: out/target/product/lithium/dot_lithium-ota-eng.jason.zip out/target/product/lithium/ota_metadata
/bin/bash -c "PATH=out/host/linux-x86/bin/:system/extras/ext4_utils/:out/soong/host/linux-x86/bin/:\$PATH out/host/linux-x86/bin/ota_from_target_files --verbose --extracted_input_target_files out/target/product/
lithium/obj/PACKAGING/target_files_intermediates/dot_lithium-target_files-eng.jason --path out/host/linux-x86 -k build/make/target/product/security/testkey --output_metadata_path out/target/product/lithium/ota_
metadata out/target/product/lithium/obj/PACKAGING/target_files_intermediates/dot_lithium-target_files-eng.jason.zip out/target/product/lithium/dot_lithium-ota-eng.jason.zip"
2022-11-04 20:13:28 - common.py - WARNING : Failed to read SYSTEM/etc/build.prop
2022-11-04 20:13:28 - common.py - WARNING : Failed to read VENDOR/etc/build.prop
shopt -s nullglob
for g in /sys/kernel/iommu_groups/*; do
echo "IOMMU Group ${g##*/}:"
for d in $g/devices/*; do
echo -e "\t$(lspci -nns ${d##*/})"
done;
done;
IOMMU Group 0:
00:00.0 Host bridge [0600]: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers [8086:3ec2] (rev 07)
IOMMU Group 1:
2022-06-21 13:45:19.170+0000: starting up libvirt version: 7.6.0, package: 0ubuntu1.2 (Marc Deslauriers <[email protected]> Wed, 20 Apr 2022 09:34:13 -0400), qemu version: 6.0.0Debian 1:6.0+dfsg-2expubuntu1.2, kernel: 5.18.0-5.1-liquorix-amd64, hostname: jason-Z390-AORUS-PRO
LC_ALL=C \
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin \
HOME=/var/lib/libvirt/qemu/domain-1-win10 \
XDG_DATA_HOME=/var/lib/libvirt/qemu/domain-1-win10/.local/share \
XDG_CACHE_HOME=/var/lib/libvirt/qemu/domain-1-win10/.cache \
XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain-1-win10/.config \
/usr/bin/qemu-system-x86_64 \
-name guest=win10,debug-threads=on \
-S \
+ long_delay=10
+ medium_delay=5
+ short_delay=1
+ echo 'Beginning of startup!'
Beginning of startup!
+ test -e /tmp/vfio-store-display-manager
+ stop_display_manager_if_running sddm
+ command -v systemctl
/usr/bin/systemctl
+ systemctl is-active --quiet sddm.service
jason@jason-Z390-AORUS-PRO:~/Android_Builds/dotOS$ make bacon
21:30:09 ************************************************************
21:30:09 You are building on a machine with 15.6GB of RAM
21:30:09
21:30:09 The minimum required amount of free memory is around 16GB,
21:30:09 and even with that, some configurations may not work.
21:30:09
21:30:09 If you run into segfaults or other errors, try reducing your
21:30:09 -j value.
21:30:09 ************************************************************
brunch lithium
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=11
CR_VERSION=7.18
TARGET_DEVICE=lithium
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release