Fix broken phoc.ini

I might have accidentally changed something in phoc.ini to something that does not work. The phone only shows the librem5 logo for a short while after the the disk decryption.

I believe that I would only have to change this file so I don’t want to reflash if it is not necessary.

What is the best way to fix this? How can I access and change the file? I have not set up ssh yet.

You can boot the phone and wait for the serial device to show up. Should show up together with the network interface. Then:

picocom -b 115200 /dev/ttyACM0 

Log in and reinstall phoc, or fix it whichever other way.

2 Likes

Thanks a lot. That was exactly what I needed.

I fixed the file and the phone immediately showed the login screen.

1 Like