TrebleDroid / treble_experimentations

Scripts to automatically build/CI/Release TrebleDroid GSI
Other
212 stars 27 forks source link

Device randomly restarts after few minutes #51

Closed Xuaolu closed 11 months ago

Xuaolu commented 1 year ago

Current Behavior:

After about two minutes, the device instantly goes through the boot animation (skipping the OEM logo) and gets stuck on a black screen (with some UI elements). Apparently it still sends data to logcat. After the first launch the physical buttons do not work properly, although the camera shortcut worked with the Power button.

To Reproduce

  1. Just wait a few minutes.
  2. See error

Logcat

A log of the first time the system was turned on, "rebooting" in about 1 minute and 45 seconds. n20log.txt

Smartphone (please complete the following information):

Additional context

This device works perfectly with android 12 GSIs. The system-td-arm64-ab-vndklite-vanilla.img.xz variant was also tested. I could only start the system using DisableForceEncryption, otherwise the device stays in the boot animation infinitely. However, Android 12.1 and lower works without using DFE.

Xuaolu commented 11 months ago

My device started correctly on Android 14. (ponces-AOSP 14.0 v2023.10.20)

It worked without using DisableForceEncryption, and I THINK this was the cause of the "soft reboot", as I also couldn't configure a lock password.

After that I tried to flash other Android 13 GSIs without DisableForceEncryption, but I was unsuccessful, it gets stuck in the boot animation even with factory reset from stock recovery.