!UUYziobKGGxpovWyAN:nixos.org

Robotnix

243 Members
Build Android (AOSP) using Nix | https://github.com/danielfullmer/robotnix74 Servers

Load older messages


SenderMessageTime
30 Oct 2024
@atemu12:matrix.orgatemu12

From a fresh boot:

01-08 12:38:31.141     0     0 I init    : starting service 'keystore2'...
01-08 12:38:31.236   598   598 I keystore2: keystore2_main: Keystore2 is starting.
01-08 12:38:31.236   598   598 I keystore2: keystore2_main: Setting up sqlite logging for keystore2
01-08 12:38:31.237   598   598 W keystore2: keystore2::metrics_store: In update_keystore_crash_sysprop: Failed to read the existing system property due to: In read_keystore_crash_count: Property not set..Therefore, keystore crashes will not be logged.
01-08 12:38:31.239   598   598 I keystore2: keystore2_main: Starting thread pool now.
01-08 12:38:31.247   598   598 I keystore2: keystore2::globals: Add emulation wrapper around Keymaster device for security level: SecurityLevel(1)
01-08 12:38:31.252   598   598 I keystore2: keystore2_main: Not publishing IRemotelyProvisionedKeyPool service: In new_native_binder: Failed to get TEE Remote Provisioner instance.
01-08 12:38:31.252   598   598 I keystore2:
01-08 12:38:31.252   598   598 I keystore2: Caused by:
01-08 12:38:31.252   598   598 I keystore2:     0: In get_remotely_provisioned_component.
01-08 12:38:31.252   598   598 I keystore2:     1: In connect_remotely_provisioned_component.
01-08 12:38:31.252   598   598 I keystore2:     2: Error::Km(ErrorCode(-68))
01-08 12:38:31.252   598   598 I keystore2: keystore2_main: Successfully registered Keystore 2.0 service.
01-08 12:38:31.252   598   598 I keystore2: keystore2_main: Joining thread pool now.
01-08 12:38:31.255   598   609 I keystore2: keystore2::shared_secret_negotiation: Shared secret negotiation concluded successfully.
01-08 12:38:31.255   598   609 I keystore2: keystore2::shared_secret_negotiation: No StrongBox Keymint available, so no RoT transfer
01-08 12:38:31.546     0     0 E init    : Control message: Could not find 'aidl/android.system.keystore2.IKeystoreService/default' for ctl.interface_start from pid: 557 (/system/bin/servicemanager)
01-08 12:38:31.609   598   598 I keystore2: keystore2::maintenance: In early_boot_ended.
01-08 12:38:31.614   598   598 I keystore2: keystore2::globals: Touching Keystore 2.0 database for this first time since boot.
01-08 12:38:31.614   598   598 I keystore2: keystore2::globals: Calling cleanup leftovers.
01-08 12:38:31.623   598   598 I keystore2: keystore2::super_key: Starting boot level watcher.
01-08 12:38:31.623   598   630 I keystore2: keystore2::super_key: Read keystore.boot_level value 30
01-08 12:38:31.623   598   630 I keystore2: keystore2::super_key: Read keystore.boot_level value 30
01-08 12:38:31.624   598   598 I keystore2: keystore2::maintenance: Call to earlyBootEnded succeeded for security level TRUSTED_ENVIRONMENT.
01-08 12:38:31.624   598   598 E keystore2: keystore2::maintenance: Call to earlyBootEnded failed for security level STRONGBOX: In call_with_watchdog: getting keymint device.
01-08 12:38:31.624   598   598 E keystore2: keystore2::error: In call_with_watchdog: getting keymint device
01-08 12:38:31.624   598   598 E keystore2:
01-08 12:38:31.624   598   598 E keystore2: Caused by:
01-08 12:38:31.624   598   598 E keystore2:     0: In get_keymint_device.
01-08 12:38:31.624   598   598 E keystore2:     1: In connect_keymint: Trying to get Legacy wrapper.
01-08 12:38:31.624   598   598 E keystore2:     2: Error::Km(ErrorCode(-68))
01-08 12:38:31.624   572   572 E vold    : keystore2 Keystore earlyBootEnded returned service specific error: -68
01-08 12:38:31.625     0     0 E vold    : keystore2 Keystore earlyBootEnded returned service specific error: -68
01-08 12:38:31.803   598   630 I keystore2: keystore2::super_key: keystore.boot_level 1000000000 hits maximum 1000000000, finishing.
10-30 11:35:03.859  1269  1269 I HidlServiceManagement: Registered android.system.wifi.keystore@1.0::IKeystore/default
10-30 11:35:05.859  1631  1800 I SystemConfig: Reading permissions from /vendor/etc/permissions/android.hardware.fingerprint.xml
10-30 11:35:09.823  1631  1631 D SystemServerTiming: StartFingerprintSensor
10-30 11:35:09.823  1631  1631 I SystemServiceManager: Starting com.android.server.biometrics.sensors.fingerprint.FingerprintService
10-30 11:35:09.823  1631  1631 D SystemServerTiming: StartBiometricService
10-30 11:35:09.823  1631  1631 I SystemServiceManager: Starting com.android.server.biometrics.BiometricService
10-30 11:35:09.827  1631  1631 I SystemServiceManager: Starting com.android.server.biometrics.AuthService
10-30 11:35:09.838  1631  2292 D BiometricService: Registering ID: 0 Modality: 2 Strength: 15
10-30 11:35:09.839  1631  2292 D BiometricStrengthController: updateStrengths: revert sensorId=0 to oemStrength=15
10-30 11:35:09.839  1631  2292 D BiometricService/Sensor: updateStrength: Before(ID(0), oemStrength: 15, updatedStrength: 15, modality 2, state: 0, cookie: 0) After(ID(0), oemStrength: 15, updatedStrength: 15, modality 2, state: 0, cookie: 0)
10-30 11:35:09.937  1631  1631 D SystemServerTiming: OnBootPhase_480_com.android.server.biometrics.sensors.fingerprint.FingerprintService
10-30 11:35:09.937  1631  1631 D SystemServerTiming: OnBootPhase_480_com.android.server.biometrics.BiometricService
10-30 11:35:09.937  1631  1631 D SystemServerTiming: OnBootPhase_480_com.android.server.biometrics.AuthService
10-30 11:35:10.165  1631  1631 D SystemServerTiming: OnBootPhase_500_com.android.server.biometrics.sensors.fingerprint.FingerprintService
10-30 11:35:10.165  1631  1631 D SystemServerTiming: OnBootPhase_500_com.android.server.biometrics.BiometricService
10-30 11:35:10.165  1631  1631 D SystemServerTiming: OnBootPhase_500_com.android.server.biometrics.AuthService
10-30 11:35:10.304  1631  1631 D SystemServerTiming: OnBootPhase_520_com.android.server.biometrics.sensors.fingerprint.FingerprintService
10-30 11:35:10.304  1631  1631 D SystemServerTiming: OnBootPhase_520_com.android.server.biometrics.BiometricService
10-30 11:35:10.304  1631  1631 D SystemServerTiming: OnBootPhase_520_com.android.server.biometrics.AuthService
10-30 11:35:10.729  1631  1631 D SystemServerTiming: OnBootPhase_550_com.android.server.biometrics.sensors.fingerprint.FingerprintService
10-30 11:35:10.729  1631  1631 D SystemServerTiming: OnBootPhase_550_com.android.server.biometrics.BiometricService
10-30 11:35:10.729  1631  1631 D SystemServerTiming: OnBootPhase_550_com.android.server.biometrics.AuthService
10-30 11:35:11.227   598   612 I keystore2: keystore2::watchdog: Watchdog thread idle -> terminating. Have a great day.
10-30 11:35:13.178  1631  1631 D SystemServerTiming: OnBootPhase_600_com.android.server.biometrics.sensors.fingerprint.FingerprintService
10-30 11:35:13.178  1631  1631 D SystemServerTiming: OnBootPhase_600_com.android.server.biometrics.BiometricService
10-30 11:35:13.178  1631  1631 D SystemServerTiming: OnBootPhase_600_com.android.server.biometrics.AuthService
10-30 11:35:13.355  1631  1631 D SystemServerTiming: ssm.onStartUser-0_com.android.server.biometrics.sensors.fingerprint.FingerprintService
10-30 11:35:13.355  1631  1631 D SystemServerTiming: ssm.onStartUser-0_com.android.server.biometrics.BiometricService
10-30 11:35:13.355  1631  1631 D SystemServerTiming: ssm.onStartUser-0_com.android.server.biometrics.AuthService
10:38:28
@atemu12:matrix.orgatemu12So it's indeed to do with the keystore10:38:52
@atemu12:matrix.orgatemu12IT WAS MAGISK10:46:08
@atemu12:matrix.orgatemu12WHAT10:46:11
@atemu12:matrix.orgatemu12Flashed the OS without flashing Magisk again and it works now10:46:24
@atemu12:matrix.orgatemu12Perhaps you need to boot without magisk once?!10:46:56
@atemu12:matrix.orgatemu12I'll try re-flashing magisk10:47:02
@atemu12:matrix.orgatemu12Still works10:49:23
@atemu12:matrix.orgatemu12Maybe there's some sort of migration that needs to happen on boot but it doesn't happen when Magisk is there? Perhaps it detects that the boot image was modified? 10:53:32
@atemu12:matrix.orgatemu12Man it's so great to not have to wipe data10:53:53
@mraethel:mraethel.demraethel changed their display name from mraethel [new] to mraethel.14:28:54
@samueldr:matrix.orgsamueldrthat's interesting, I wonder if it's some sort of "protection" built into magisk for the usual use case (hostile vendor software) that is causing surprising behaviour here16:38:14
@samueldr:matrix.orgsamueldrdid your tests on other devices use magisk too?16:38:25
@atemu12:matrix.orgatemu12Now that you mention that, I think I skipped that step17:16:56
@atemu12:matrix.orgatemu12I'll experiment with this when I get the chance to17:17:13
@samueldr:matrix.orgsamueldryeah, no worries, I was wondering if that thought could help you :)17:21:18
1 Nov 2024
@atemu12:matrix.orgatemu12 So I've been trying to get LOS21 and the build starts successfully but at some point javac's JVM segfaults O.o 10:57:50
@atemu12:matrix.orgatemu12
---------------  S U M M A R Y ------------
Command Line: -XX:OnError=cat hs_err_pid%p.log -XX:CICompilerCount=6 -XX:+UseDynamicNumberOfGCThreads -DremoveAndroidCompatAnnotations=true out/host/linux-x86/framework/jarjar.jar process packages/modules/OnDevicePersonalization/federatedcompute/apk/jarjar_rules.txt out/soong/.intermediates/packages/modules/OnD
ompute/apk/FederatedCompute/android_common_apex33/737f09fcc0b17bc4650c68e8a26b3dd4/combined/FederatedCompute.jar out/soong/.intermediates/packages/modules/OnDevicePersonalization/federatedcompute/apk/FederatedCompute/android_common_apex33/737f09fcc0b17bc4650c68e8a26b3dd4/jarjar/FederatedCompute.jar
Host: AMD Ryzen 9 7950X3D 16-Core Processor, 32 cores, 62G, Linux
Time: Thu Oct 31 00:24:26 2024 UTC elapsed time: 3.084017 seconds (0d 0h 0m 3s)
---------------  T H R E A D  ---------------
Current thread (0x00007fff2c0021e0):  JavaThread "C2 CompilerThread3" daemon [_thread_in_native, id=958115, stack(0x00007fffa7b00000,0x00007fffa7c00000)]
Current CompileTask:
C2:   3084 1248       4       org.objectweb.asm.ClassReader::readCode (5113 bytes)
Stack: [0x00007fffa7b00000,0x00007fffa7c00000],  sp=0x00007fffa7bfb830,  free space=1006k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x522a80]  PhaseChaitin::Register_Allocate()+0x1d90
V  [libjvm.so+0x6acb72]  Compile::Code_Gen()+0x4c2
V  [libjvm.so+0x540b74]  C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1cc4
V  [libjvm.so+0x6b649e]  CompileBroker::compiler_thread_loop()+0x11be
V  [libjvm.so+0x766b2f]  JavaThread::run()+0x26f
V  [libjvm.so+0x71d835]  thread_native_entry(Thread*)+0x395
siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000000
10:58:56
@atemu12:matrix.orgatemu12 Oh wait no it's actually jarjar 10:59:30
@atemu12:matrix.orgatemu12Still I don't think I've ever seen a JVM segfault before10:59:41
@atemu12:matrix.orgatemu12
# Problematic frame:
# V  [libjvm.so+0x522a80]  PhaseChaitin::Register_Allocate()+0x1d90
11:02:09
@atemu12:matrix.orgatemu12Huh, apparently it was a one-off.12:22:41
@atemu12:matrix.orgatemu12Screenshot_20241101-144637_Settings.png
Download Screenshot_20241101-144637_Settings.png
13:49:14
@atemu12:matrix.orgatemu12🥳13:49:24
@atemu12:matrix.orgatemu12https://github.com/nix-community/robotnix/pull/25014:13:13
@atemu12:matrix.orgatemu12Okay so apparently signature spoofing patches aren't required anymore but µG doesn't appear to have the permission or ability14:53:45
@atemu12:matrix.orgatemu12Anyone have a clue why that might be?14:54:00
@atemu12:matrix.orgatemu12Ugh they check that the µG signature matches upstream's key15:12:04
@atemu12:matrix.orgatemu12Wtf15:12:05
@atemu12:matrix.orgatemu12And we override it with a snakeoil cert for signing purposes15:12:28

Show newer messages


Back to Room ListRoom Version: 6