Critical bug on Samsung
I'm using a Samsung Galaxy S24 with Android 15 and One UI 7. I was using Heliboard for a few days, and everything was fine until I had to restart my phone. When on the lock screen, Android forces you to type the password on the first boot. However, something really serious happened: the keyboard didn't open and, even worse, it broke. I was unable to type the password and got stuck outside my phone. I was completely desperate and hopeless, already considering taking it to a Samsung service store when I had the idea of going to the Samsung Find My Phone page on a PC, and from there, I wiped my phone. Only then was I able to launch the Samsung keyboard and log in. Later, while researching, I found out that Android doesn't consider Heliboard a system app, and on the first boot, before the first unlock, it only allows system apps to run. So, Heliboard was preventing me from logging in to my phone.
That was a really serious issue. Now I won't install Heliboard anymore — unless I find a definitive and trustworthy solution — because I'm afraid of this issue happening again. That's sad because I was enjoying the experience so much. It's an awesome keyboard.
Which version did you use? Was it 3.1-beta1?
Oh, and is there no way of switching keyboards? Other users reported that just Heliboard gets disabled and the phone can switch to a different keyboard, e.g. in https://github.com/Helium314/HeliBoard/issues/801#issuecomment-2912316189 (reported for 3.1-beta1)
I was using heliboard 3.1 (not the beta 1) And no, I couldn't switch keyboards. On the lock screen it only showed me the password box and when I clicked on the box to type it, the keyboard didn't launch. I got stuck in this part. Android did not launch any other keyboard because I was using heliboard as default. I tried to click on the password box again and again, but no keyboard appeared. Eventually there was a pop-up saying "heliboard broke" (something like that, I don't remember the exact warning).
Since it wasn't beta-1 with the known prohlem, the bug might still exist. I did add some more resilience in 3.2-beta1, but it was more of a generic just-in-case thing than geared towards specific bugs that actually got reported. With this I definitely wouldn't trust that it works now if I were in your situation.
Yeah. I'll wait a little more time to maybe come back to heliboard. But thanks anyway. Isn't there some way to make heliboard a system app???
Isn't there some way to make heliboard a system app?
That's only possible with root access, or when you compile the OS yourself.
But are you sure the reason it Heliboard not being a system app? Because from what I know, apps should still be able to start when the device is locked, but they don't have access to the normal storage (still encrypted at that point). But Heliboard stores most settings (everything that is not privacy-sensitive) in a special "unprotected" storage area so it's always accessible.
What happened in the other cases (the similar bug in 3.1-beta1) is that the app simply crashed on restart.
I have a Galaxy S20 5G with Android 13 and One UI version 13. When I reboot my phone, it requires me to enter the password for first login.
I was able to do so fine just now with Heliboard version 3.2.
Isn't there some way to make heliboard a system app?
That's only possible with root access, or when you compile the OS yourself.
But are you sure the reason it Heliboard not being a system app? Because from what I know, apps should still be able to start when the device is locked, but they don't have access to the normal storage (still encrypted at that point). But Heliboard stores most settings (everything that is not privacy-sensitive) in a special "unprotected" storage area so it's always accessible.
What happened in the other cases (the similar bug in 3.1-beta1) is that the app simply crashed on restart.
No, I'm not sure that's the reason. I just researched and found out this possibility. I even found on Google official page saying that if a non system app crashes, and it's on default, the android can't launch a system app because this system app is not default. But I'm not expert on this technical issues, I just read about it. And yes, on my case it only crashed also, but no other keyboard could launch, even after a lot of restarting attempts, I had to wipe it completely. Only then android launched the Samsung keyboard by default.
I have a Galaxy S20 5G with Android 13 and One UI version 13. When I reboot my phone, it requires me to enter the password for first login.
I was able to do so fine just now with Heliboard version 3.2.
Yes, the majority of users keep using it without any errors. What happened to me was exceptional. But now I'm afraid of using it again. If Android had launched a system keyboard after Heliboard crashed, everything would have been fine. But it didn't happen, so it's a very worrying situation..
Is it possible to connect a hardware keyboard in such a situation?
Is it possible to connect a hardware keyboard in such a situation?
No! I've tried it as well. Android blocks USB until it is first unlocked. It even gave a warning: "Unlock to use USB" the moment I connected the keyboard.
I think Safe Mode would have been the easiest way to login to your phone again. https://www.samsung.com/us/support/answer/ANS10003495/
I think Safe Mode would have been the easiest way to login to your phone again. https://www.samsung.com/us/support/answer/ANS10003495/
I tried that. But since I was on the first lock screen, it required the password to allow me.to restart in safe mode, which was not possible due to the issue already described.
On Oxygen OS on a OnePlus 8, Heliboard always deactivates after restarting the phone. Could this be the same issue? Present in last 3 versions. It would default to another keyboard but I have no others installed (I have a pattern lock so no issues getting into the phone to activate again in settings).
For the issue in OnePlus specifically there is #801. It might be the same, but I don't think it is. Which is the first version that's affected for you?
Yeah it is definitely the same issue. I'm not sure which version it was I'm afraid. How do I find my version history for it?
I don't think there is such a history available. I was mostly just curious because #801 was already happening for 1.3, but looks like it started later for you.
Oh I see. That's just when I found Heliboard for the first time. I'm a new convert. Its exceptionally good btw. It replaced SwiftKey for me which was head and shoulders above all the others.
Same problem. Had to wipe out my whole fucking phone
Have anyone affected by this issue disabled Samsung Keyboard? Does Heliboard support Direct boot?
I know GrapheneOS has some safe guards for this issue when booting into Safe mode.