Skip to content

Panic immediately after boot in AppleLIS331DLH #7

Closed

Description

@nicl83

Console

Old 3DS XL

ios3ds version

ios3ds m1-0.2-15-gcc88384-20261119.2202 (M1 loader)

What happened?

  1. Boot ios3ds normally.
  2. ios3ds eventually reaches the lock screen (when diag=1) or the home screen (when diag=0).
  3. Very shortly after - so fast I'm unable to interact with the device before it happens - the screen dims, and the device becomes unresponsive.
  4. I have to hold the power button to shut down the device.
  5. Checking log.txt reveals the device froze due to a kernel panic - the cause is always the following: panic(cpu 0 caller 0x8061cd28): "AppleLIS331DLH::enableAccelerometer - Boot bit did not return to zero in 500 msecs. That is wrong.\n"@/SourceCache/AppleEmbeddedAccelerometer/AppleEmbeddedAccelerometer-46/AppleLIS331DLH.cpp:436

log.txt

log_prev.txt
log.txt

Anything else?

I tried disabling the accelerometer with mcu_acc=0, but this did not resolve the issue.

Booting with diags=1 caused the device to boot to the lock screen instead of the home screen, and the wallpaper appeared to be partially corrupted, but I do not think this is related to the accelerometer crash.
IMG_1189

Activity

  1. added
    bug
    on Nov 20, 2026
  2. devilAPI commented on Nov 20, 2026

    @devilAPI
    Owner

    Thank you, I will look into it.

  3. nicl83 commented on Nov 20, 2026

    @nicl83
    Author

    You may not have much to look into - it does appear it was already fixed in main, just not in 0.3.0. I did a complete clean build from source (commit 6064079b0d00191b88b3921f4478de09c70c1874) and it now works correctly.

    image

    The only issue I ran into while building from source was ldid failing to compile. This seems to be due to changes in OpenSSL 4 - installing OpenSSL 3 and appendding -I/usr/include/openssl-3 to the CXXFLAGS in the Makefile for ldid fixed it. Aside from that, I was able to build from source and boot successfully.

  4. nicl83 commented on Nov 20, 2026

    @nicl83
    Author

    (Apologies, started writing that comment before you pushed that fix, but thanks anyway!)

  5. devilAPI commented on Nov 20, 2026

    @devilAPI
    Owner

    Still, thank you very much for reporting the issue.

  6. devilAPI commented on Nov 20, 2026

    @devilAPI
    Owner

    Hello, stable beta is released (0.4.0) including camera fix and performance improvements. I would recommend you to update.

  7. added a commit that references this issue on Dec 5, 2026
    d932caf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions