A YouTuber turned a broken Galaxy Z Flip 5 into a DIY slider phone by attaching a BlackBerry Q10 keyboard. Using custom parts, soldering and an Arduino board, he built a working magnetic slider mechanism with aluminum frames, letting the phone function with both the physical keyboard and touchscreen.
Source: Android Authority