christianhaitian / arkos

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

Bugs RGB30 can't turn off. Always restart. #1046

Closed Awakedewe closed 1 month ago

Awakedewe commented 2 months ago

My Powkiddy rgb30 after new update can't turn off, always restart. Thanks🙏

christianhaitian commented 2 months ago

Try replacing the existing rk3566-OC.dtb file in the fat32 BOOT partition with the one inside the attached zip file. You can do this with the sd card inserted in your computer. Then try booting ArkOS with the sd card and see if it resolves this issue.

rk3566-OC.zip

jesserankin commented 2 months ago

This worked for me on a v2 RGB30. Thanks!

Nightchanger commented 2 months ago

Tried the fix there, it seems to not work when I turned on the "switch power button tap to off". Can only hard turn off and use quit>Shutdown System

christianhaitian commented 2 months ago

Tried the fix there, it seems to not work when I turned on the "switch power button tap to off". Can only hard turn off and use quit>Shutdown System

That setting would not impact if the system reboots after shutdown. Especially if you're able to do Quit>Shutdown system and the unit stays off and not reboot. Are you sure you were not putting the system to sleep instead of powering off when you had that feature on?

Guitarheroua commented 2 months ago

Try replacing the existing rk3566-OC.dtb file in the fat32 BOOT partition with the one inside the attached zip file. You can do this with the sd card inserted in your computer. Then try booting ArkOS with the sd card and see if it resolves this issue.

rk3566-OC.zip

I have the same issue on my RGB30. It begins on version v2.0.03.30.2024 and continue after update to version v2.0.04.24.2024.

I tried to do hack from here with file replace, as well as from https://github.com/christianhaitian/arkos/issues/1036, as files have different sizes, so I think maybe it worth to try both. It did not work for me, unfortunately.

The thing, that helps me to turn of my device in a proper way, is to connect it for charging. When it connected, it turns off as expected. If it is disconnected - issue reproducible again.

Hope, this information may help with fixing the issue.

christianhaitian commented 2 months ago

Try opening your unit and unplug the battery.

denizonm commented 1 month ago

I have stopped being able to boot after replacing the file, it gets stuck on the ArkOS logo. Is there an easy way to find the original file?

christianhaitian commented 1 month ago

Just grab it from the latest ArkOS image using 7zip

Jesquivel2908 commented 1 month ago

I'm having the same issue after installing the latest version of ArkOs on my RGB30. If I select "quit" from the settings menu the device just restarts, I have to press and hold the off button to turn the device off.

Scoonysaurus commented 1 month ago

For anyone that used Rocknix or Jelos prior to using ARC like me and is having this issue, try putting in the rocknix sd card, booting up and powering off through quit. Then put your ARC card back in. Haven't had the issue since I did that. I read on reddit that the reason for this issue is that Rocknix "hijacks the power behavior in a way that causes this "reset" action rather than a shutdown".

christianhaitian commented 1 month ago

As I can't replicate this issue on my end using my v1 or v2 unit, I can offer any better recommendation than to open the unit and try disconnecting and reconnecting the battery or what has been recommended above by Scoonysaurus.

Jesquivel2908 commented 1 month ago

For anyone that used Rocknix or Jelos prior to using ARC like me and is having this issue, try putting in the rocknix sd card, booting up and powering off through quit. Then put your ARC card back in. Haven't had the issue since I did that. I read on reddit that the reason for this issue is that Rocknix "hijacks the power behavior in a way that causes this "reset" action rather than a shutdown".

Now I have the same issue while using the Jelos SD card😫 it just won't power off from the menu

Scoonysaurus commented 1 month ago

For anyone that used Rocknix or Jelos prior to using ARC like me and is having this issue, try putting in the rocknix sd card, booting up and powering off through quit. Then put your ARC card back in. Haven't had the issue since I did that. I read on reddit that the reason for this issue is that Rocknix "hijacks the power behavior in a way that causes this "reset" action rather than a shutdown".

Now I have the same issue while using the Jelos SD card😫 it just won't power off from the menu

I think Jelos may cause the issue also. I would download the most recent version of Rocknix and use that to boot up and follow the directions above. Then I'd only use ARK from then on.

Guitarheroua commented 1 month ago

Try opening your unit and unplug the battery.

This actually works. Thank you! Sorry, I forgot to answer. So if somebody has the same issue as I did, use this advice.

JesusArmy commented 1 month ago

For info I just had same thing with my RG353PS. Not sure if Rocknix is really the guilty one, since the timeline is that I did tried Rocknix like two weeks ago with no issue. Then I have used my regular ArkOS a dozen time. And yesterday I wanted to start fresh with ArkOS with a one SDcard setup to leave the second one available for medias. I have then imaged the last ArkOS to an empty SD card, went through the setup until the end, and after system was finalized I could not stop it from menu but only by long pressing power button. I switched back to my previous ArkOS SD card and could not shutdown as well. I landed here and some other online posts, did try to boot on the Rocknix SD card, stop properly and now my new ArkOS is ok (for now).

JesusArmy commented 1 month ago

Have started Kodi on that "fresh new ArkOS install" and ended up with the same problem again... :(

christianhaitian commented 1 month ago

Try this https://github.com/christianhaitian/arkos/issues/1046#issuecomment-2089311455

JesusArmy commented 1 month ago

Thanks for the suggestion. I will check for some tutos to see if disassembling the RG353PS case is just about unscrewing or if more difficult with prying stuff like on typical Sony, Microsoft and Nintendo's systems, which make it more tricky to open without breaking any small plastic part. I may fall back to my good old JelOS card for now until I fix that permanently for when using ArkOS.

JesusArmy commented 1 month ago

I wonder if not related to the single or dual sd setup. Looks like my setup with ArkOS and dual sd card has no problem. But it happen quickly once I try the new ArkOS SDcard that I did in single card mode...

patroldo commented 3 weeks ago

Hi. I think problem can be reproduced if shutdown happense unexpectedly, not via "Start > Quit > Shutdown system" E.g. Battery dead while gaming or game stuck and you had to reset it. Maybe not always, hadn't check it yet, but i think it will be like that at least 1 out of 10 times

Shutting down system with rocknix is helping in my case

Genomans commented 3 weeks ago

don't know why but this became a problem as well for me on my rg353VS it won't shutdown but always restart

dsniper1001 commented 3 weeks ago

this is still happening, I don't know why this was marked as closed....

Genomans commented 3 weeks ago

Okay found the problem it tuns out that manually restarting the system by pressing start/quit/restart system does indeed cause this issue

czapa86 commented 3 weeks ago

yes your are right, i can replicate the issue by pressing start/quit/restart system

christianhaitian commented 3 weeks ago

Just tested this on my end and shutdown still works fine for me.

dsniper1001 commented 3 weeks ago

Just tested this on my end and shutdown still works fine for me.

It doesn't on a fresh install, which I recommend you do to reproduce. I made sure before posting about this , that this was the case. It doesn't work and your fix doesn't fix it either.

christianhaitian commented 3 weeks ago

On my rgb30v2, it is a fresh install i created yesterday and the problem doesn’t happen on my end.

dsniper1001 commented 3 weeks ago

On my rgb30v2, it is a fresh install i created yesterday and the problem doesn’t happen on my end.

I see. The problem in my case at least , is with the RGB20SX. No idea if it's exactly the same HW in the RGB30 , but merely reportying this happened. I do not have this issue in ROCKNIX.

christianhaitian commented 3 weeks ago

Same for a rg503 which is of the same chipset. Did you test ROCkNIX at any time on your unit? If so, have you tried this? https://github.com/christianhaitian/arkos/issues/1046#issuecomment-2103928667

dsniper1001 commented 3 weeks ago

Same for a rg503 which is of the same chipset. Did you test ROCkNIX at any time on your unit? If so, have you tried this? #1046 (comment)

Another weird thing is what booting on ROCKNIX fixes the issue temporarily. But still makes me have to have an SD with rocknix just to keep using arkos regularly. I did not let the battery die, I did not forcedfully turn it off. This happened on the first boot and putting some roms to test if it worked.

christianhaitian commented 3 weeks ago

Then it sounds like maybe a battery pull would be necessary. Otherwise, i have no idea at the moment on how to resolve the issue especially since I can’t replicate it yet.

dsniper1001 commented 3 weeks ago

Then it sounds like maybe a battery pull would be necessary. Otherwise, i have no idea at the moment on how to resolve the issue especially since I can’t replicate it yet.

I rather not open the device. And booting on ROCKNIX fixes it, so it's some sort of internal bios state that is saved or soemthing that I'm not aware of as I don't know the architecture of these consoles.

czapa86 commented 3 weeks ago

I'm using ROCKNIX for shutdown the system correctly then changing card to ArkOS and doing restart via start/quit/restart system is causing the issue again. Can you try using ROCKNIX on your device and then try restart in ArkOS? Probably the issue is caused by mix of those two systems.

Genomans commented 3 weeks ago

My RG353vs has this problem as well i even made a clean install of the cfw and updating to the latest patch just i while ago without touching ROCKNIX and it still has this problem, it only affects it when manually restarting the system using start/quit/restart system

czapa86 commented 3 weeks ago

My guess is that ROCKNIX is leaving some code somewhere on the device so even you made clean install of ArkOS but you used ROCKNIX before you are affected anyway. Never had that issue before but at somepoint i wanted to try ROCKNIX and i'm affected by it now.

Genomans commented 3 weeks ago

Same the only reason I am using ROCKNIX is so that a can try a different CFW and also so that i can play both GTA games on Portmaster since it won't work for ArkOS

christianhaitian commented 3 weeks ago

I’ll try ROCKNIX on my rgb30v2 to see if i can replicate the issue.

christianhaitian commented 2 weeks ago

So after booting the latest image available for ROCKNIX, I can confirm that I now have the same issue of not being able to shutdown in ArkOS after doing a system restart in ArkOS. Even doing a force power down of the device doesn't resolve the issue. The only resolve I've been able to find was to open the device and disconnect the battery for 10 seconds and plug it back in to resolve the issue. Only then was I able to shutdown consistently whether I do a system restart first or not.

Very strange.

dsniper1001 commented 2 weeks ago

So after booting the latest image available for ROCKNIX, I can confirm that I now have the same issue of not being able to shutdown in ArkOS after doing a system restart in ArkOS. Even doing a force power down of the device doesn't resolve the issue. The only resolve I've been able to find was to open the device and disconnect the battery for 10 seconds and plug it back in to resolve the issue. Only then was I able to shutdown consistently whether I do a system restart first or not.

Very strange.

I appreciate very much that you took the time to reproduce.

Thank you Christian. Atm I just muddle through when this happens launching rocknix, but I'm guessing there's some sort of flash storage on that board that does this. But my guess is as good as any.

Also I don't know if this helps or not, but removing the roms sd card with the games still doesn't fix the issue. Thsi is why I theorise something on the board stores some kind of state that loops the shutdown OS procedure.

christianhaitian commented 2 weeks ago

yea in talking with one of the ROCKNIX devs, it seems like it's related with the state that the pmic (power management integrated circuit) that the mainline kernel leaves that's not compatible with the BSP (Board Support Pacakage) kernel used in ArkOS doesn't account for. Unless it's something that eventually improves with the natural progression of the mainline kernel for this chipset, I doubt there will be a better fix other than the battery pull unfortunately. I don't have plans to migrate ArkOS to the mainline kernel as it functions well enough as is for the intended gaming needs from my perspective.

dsniper1001 commented 2 weeks ago

I understand. Thanks for hearing me out at least and see that this is an issue.

angeluskun commented 1 week ago

yea in talking with one of the ROCKNIX devs, it seems like it's related with the state that the pmic (power management integrated circuit) that the mainline kernel leaves that's not compatible with the BSP (Board Support Pacakage) kernel used in ArkOS doesn't account for. Unless it's something that eventually improves with the natural progression of the mainline kernel for this chipset, I doubt there will be a better fix other than the battery pull unfortunately. I don't have plans to migrate ArkOS to the mainline kernel as it functions well enough as is for the intended gaming needs from my perspective.

yeah thats exactly thst happens to me on my 353vs hahah i have a rocknix sd just in case because idk what screwdriver i need to open my 353vs

angeluskun commented 1 week ago

and when i mention this on rocknix discord i was muted HAHAHAH