christianhaitian / arkos

Another rockchip Operating System
MIT License
1.37k stars 81 forks source link

R36S - Keeps booting to fake-08 core with no game, can't exit, quick mode keeps trying to resume #1038

Closed rcampbel3 closed 2 months ago

rcampbel3 commented 2 months ago

I'm running

ArkOS 2.0 - 03302024 - on an R36S. I've enabled quick mode. I've re-enabled hotkeys Everything's been working quite well until yesterday. I ran a pico-8 game, it fell back to using the fake-08 core, which is fine... but then I was unable to exit the core with select+start. I did a hard power off, reboot, and ended back in fake-08 core with no game loaded. I looked online at all of the hotkeys and different ways to power off and have pretty much tried them all yet every time I boot, I end up resuming in fake-08 core. Pressing the 'start' button brings up the fake-08 menu with these options:

continue reset cart exit to menu exit to settings

Exit to settings has not option to quit. Exit to menu shows me:

FAKE-08

WELCOME TO FAKE-08 ... place pb carts in ~/pbcarts --no carts found

close window to exit

there's no way I can close this window, so I'm currently stuck in an infinite loop :(

This seems like either a misconfiguration for respecting select+start for exit in this core (or possibly on my device), a bug with fake-08 core, or an enhancement request for quick mode - which I would hope can offer a failsafe boot normally option if a key is held during boot.

What I'd like to know is what file can I edit or delete to disable or bypass the quick mode and simply proceed with a normal boot. Or.. how I can disable quick mode from the terminal on a mounted microsd card. I haven't looked into the enable quick mode scripts yet - I feel like that will reveal the answer, but I have not found any posts online with a concise answer to "How do I stop ArkOS from booting to previous core/quick save when I can't exit the core?" other than people suggesting using a clean image... I'm a long time UNIX guy... that feels like admitting defeat and giving up, and this feels like a simple problem with a simple fix.

I have an image I generated with dd a few days ago, so I know I can recover, but I'd like to figure this out and prevent others from getting stuck.

rcampbel3 commented 2 months ago

I solved the immediate problem.

Mount OS card. go to root/home/ark/.config directory remove the file 'lastgame.sh'

Now... let's figure out how to prevent not being able to exit core or how to bypass quick mode on boot

christianhaitian commented 2 months ago

You could have held the B button during boot and it would bring up the BaRT menu. From there, you could have booted to Emulationstation which should have gotten you out of that state.