How to fix Gemini PDA device boot loop?

So to recap, as I have now things working well:

  • Got boot loop error first, maybe due to Defender app, or most probably to my tweaking with gcc files and libraries
  • Reflashed things and get stuck in boot loop, and somewhere during my multiple tries I wiped cache and data and NVRAM got wiped
  • Flashing 3.4 with NVRAM wiped works, but flashing 4 ends up in being stuck on the gemini boot logo/screen (the one with the penguin)
  • Restored NVRAM (with flash tool from gemini) and reflashed SFOS 4 and all is fine now