r/PixelFold • • Nov 01 '26

[Original Pixel Fold] Fix for not switching to the outer screen when closed (no root, open source)

My Pixel Fold stopped switching to the outer screen when I closed it. Android acted as if the phone was always open. I understand that I am not alone here and Fold Switcher has been the workaround frequently used (I've been using it for a few months until today).

Recently, I've noticed that recovery mode still detected “closed” fine, at least, in my case. So I assumed there is another sensor that is working here, detecting the closed status.

Here's what has been happening with my device: the hinge-angle sensor had stopped reporting completely (dumpsys device_state shows mLastHingeAngleSensorEvent … null), so Android assumes “open”. However, fortunately, the hall (magnet) sensor still works.

So I made FoldFix, a small open-source app that watches the hall sensor and tells Android when the phone is closed. It uses Shizuku (no root) and the same cmd device_state command as ADB. Tabletop and tent can’t be detected without the hinge sensor, so there’s a quick-settings tile to switch them by hand.

It only helps if your hall sensor still works. The README has a quick check to see whether yours is the same fault. Unofficial, no warranty; a reboot undoes everything.

Tested only on the original Pixel Fold (2023). It might work on the 9 Pro Fold or later models if they have the same fault (silent hinge sensor, working hall sensor), but I haven’t tried. If you test it on a newer Fold, please report back.

GitHub: https://github.com/washington-gif/FoldFix

Would love to hear whether it works on your Fold.

I hope some of you can continue happy Pixel Fold life with this.

13 Upvotes

Duplicates