GrapheneOS / os-issue-tracker

Issue tracker for GrapheneOS Android Open Source Project hardening work. Standalone projects like Auditor, AttestationServer and hardened_malloc have their own dedicated trackers.
https://grapheneos.org/
337 stars 18 forks source link

Black screen of death in place of SIM unlock screen #3622

Open lepras opened 4 weeks ago

lepras commented 4 weeks ago

Device: Pixel 6a

OS Version: Latest stable as of posting

Description: I have a lock on my physical SIM (I have installed an eSIM as well). When the device reboots, I can't see anything on the screen, but I am pretty sure the lock is there I just can't see it as I can press the buttons and clock confirm, and then passcode lock of pixel appears.

Steps to reproduce:

Reboot

Temporary Workaround:

  1. Guess where the keys of my SIM lock would be.
  2. Press those
  3. Click ok
thestinger commented 3 weeks ago

Does it remain that way if you power the screen off and on?

lepras commented 3 weeks ago

This doesn't happen consistently at every reboot. But yes, whenever it happens - the screen off and on doesn't help (I checked)

I think it happens only on complete shutdown, then boot. Maybe it happens only on autoshutdown at 0% then boot.

lepras commented 3 weeks ago

It happens regardless of how exactly the mobile is rebooted, it can happen anytime.

This log maybe relevant:

type: crash
osVersion: google/bluejay/bluejay:14/AP1A.240505.004/2024060500:user/release-keys
uid: 1082 (u:r:dex2oat:s0)
cmdline: /apex/com.android.art/bin/dex2oat64 --zip-fd=5 --zip-location=/data/app/~~pwv2Q9XO9DBnI__7_N3Jnw==/idm.internet.download.manager.plus-H380AUzVB3BGcdf7StcoXA==/base.apk --oat-fd=6 --oat-location=/data/app/~~pwv2Q9XO9DBnI__7_N3Jnw==/idm.internet.download.manager.plus-H380AUzVB3BGcdf7StcoXA==/oat/arm64/base.odex --output-vdex-fd=7 --swap-fd=8 --class-loader-context-fds=9:10 --class-loader-context=PCL[]{PCL[/system/framework/android.test.base.jar]#PCL[/system/framework/org.apache.http.legacy.jar]} --classpath-dir=/data/app/~~pwv2Q9XO9DBnI__7_N3Jnw==/idm.internet.download.manager.plus-H380AUzVB3BGcdf7StcoXA== --input-vdex-fd=11 --instruction-set=arm64 --instruction-set-features=default --instruction-set-variant=cortex-a76 --compiler-filter=speed --compilation-reason=bg-dexopt --max-image-block-size=524288 --resolve-startup-const-strings=true --generate-mini-debug-info --runtime-arg -Xtarget-sdk-version:29 --runtime-arg -Xhidden-api-policy:enabled --cpu-set=0,1,2,3 -j4 --runtime-arg -Xms64m --runtime-arg -Xmx512m --comments=app-name:idm.internet.download.manager.plus,app-version-name:16,app-version-code:30234,art-version:990090000
processUptime: 9s

signal: 11 (SIGSEGV), code 1 (SEGV_MAPERR), faultAddr 2c
cause: null pointer dereference
threadName: Compiler driver

backtrace:
    /apex/com.android.art/lib64/libart.so (art::HInstructionBuilder::ProcessDexInstruction(art::Instruction const&, unsigned int)+360, pc 2792f8)
    /apex/com.android.art/lib64/libart.so (art::HInstructionBuilder::Build()+1076, pc 274584)
    /apex/com.android.art/lib64/libart.so (art::HGraphBuilder::BuildGraph()+1444, pc 263264)
    /apex/com.android.art/lib64/libart.so (art::HInliner::TryBuildAndInline(art::HInvoke*, art::ArtMethod*, art::ReferenceTypeInfo, art::HInstruction**, bool)+2868, pc 25e164)
    /apex/com.android.art/lib64/libart.so (art::HInliner::TryInline(art::HInvoke*)+220, pc 27092c)
    /apex/com.android.art/lib64/libart.so (art::HInliner::Run()+1064, pc 262c48)
    /apex/com.android.art/lib64/libart.so (art::OptimizingCompiler::RunOptimizations(art::HGraph*, art::CodeGenerator*, art::DexCompilationUnit const&, art::PassObserver*, art::OptimizationDef const*, unsigned long) const+200, pc 3b0898)
    /apex/com.android.art/lib64/libart.so (art::OptimizingCompiler::TryCompile(art::ArenaAllocator*, art::ArenaStack*, art::DexCompilationUnit const&, art::ArtMethod*, art::CompilationKind, art::VariableSizedHandleScope*) const+2456, pc 3ae998)
    /apex/com.android.art/lib64/libart.so (art::OptimizingCompiler::Compile(art::dex::CodeItem const*, unsigned int, art::InvokeType, unsigned short, unsigned int, art::Handle<art::mirror::ClassLoader>, art::DexFile const&, art::Handle<art::mirror::DexCache>) const+632, pc 3a5f78)
    /apex/com.android.art/bin/dex2oat64 (art::CompileMethodQuick(art::Thread*, art::CompilerDriver*, art::dex::CodeItem const*, unsigned int, art::InvokeType, unsigned short, unsigned int, art::Handle<art::mirror::ClassLoader>, art::DexFile const&, art::Handle<art::mirror::DexCache>, unsigned short)+2056, pc 86bf8)
    /apex/com.android.art/bin/dex2oat64 (art::ParallelCompilationManager::ForAllClosureLambda<void art::CompileDexFile<void (*)(art::Thread*, art::CompilerDriver*, art::dex::CodeItem const*, unsigned int, art::InvokeType, unsigned short, unsigned int, art::Handle<art::mirror::ClassLoader>, art::DexFile const&, art::Handle<art::mirror::DexCache>, unsigned short)>(art::CompilerDriver*, _jobject*, art::DexFile const&, std::__1::vector<art::DexFile const*, std::__1::allocator<art::DexFile const*> > const&, art::ThreadPool*, unsigned long, art::TimingLogger*, char const*, void (*)(art::Thread*, art::CompilerDriver*, art::dex::CodeItem const*, unsigned int, art::InvokeType, unsigned short, unsigned int, art::Handle<art::mirror::ClassLoader>, art::DexFile const&, art::Handle<art::mirror::DexCache>, unsigned short))::'lambda'(unsigned long)>::Run(art::Thread*) (.3a415f990b722d658a027ddd56278ffd)+2468, pc 912b4)
    /apex/com.android.art/lib64/libart.so (art::ThreadPoolWorker::Run()+100, pc 6d6104)
    /apex/com.android.art/lib64/libart.so (art::ThreadPoolWorker::Callback(void*)+164, pc 6d6004)
    /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204, pc cf93c)
    /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64, pc 66730)
thestinger commented 3 weeks ago

idm.internet.download.manager.plus

Try uninstalling this app temporarily.

MichaelDevon commented 2 weeks ago

From my experience, this only happens when an OS update has been deployed and booted into.

lepras commented 2 weeks ago

Try uninstalling this app temporarily.

I don't think The Dex crash is related but I tried memory protection compatibility toggle in settings, 1DM still makes the Dex crash, I prob should up another issue for this. But do you know if I can keep this installed and make the crash not happen in any way? Thanks!