topjohnwu / Magisk

The Magic Mask for Android
GNU General Public License v3.0
48.41k stars 12.37k forks source link

Can't physically enter into recovery mode after flashing modified recovery (device itself doesn't have volume buttons) #6290

Closed BlueGradientHorizon closed 2 years ago

BlueGradientHorizon commented 2 years ago

Device: Vontar X96S_P 2/32 android stick Android version: 9 Magisk version name: 25.2 Magisk version code: 25200 CPU: Amlogic S905Y2 (quad-core)

Magisk manager shows that this device (at least at stock ROM) have not ramdisk (Ramdisk No), so the only solution is Recovery mode. I installed manager directly on android stick and patched the stock recovery image. Then i rebooted into recovery by only pressing the Reset mainboard button. Then i flashed temporary TWRP recovery "3.2.2-0 for Amlogic by ViT" and flashed patched recovery image into device. After this i already was unable to boot into recovery by pressing Reset button, but it booted into system with minimal Magisk support. Manager found installed Magisk (Installed 25.2 (25200)) but Requires Additional Setup message appeared. After clicking OK Manager did something and after rebooting Manager didn't even found Magisk installed (Installed N/A).

I realized that I messed up and reflashed the stock firmware to start over from scratch. I did everything the same, but this time, for the experiment, along with the recovery image, I patched the boot image and then in a custom temporary TWRP recovery, I flashed both of these images into the appropriate partitions. Magisk manager didn't show the Requires Additional Setup message this time, but complained about A su binary not from Magisk. And I also could not enter the recovery anymore by pressing the Reset button.

To control this android stick I have an IR remote control. There are volume buttons on it, but they don't have any effect during the download phase. I've tried entering recovery mode using the reboot menu in the top right corner of Magisk manager, but that just shuts down my android stick without rebooting. So how do I still go into recovery mode?

I will provide boot and recovery images if needed, as well as logcat. Any help is appropriate.

MagiskBot commented 2 years ago

Invalid bug report, automatically closed. Please report issues using the latest debug Magisk build (version code: 25203).