If you're looking for open source hardware and software cell phone you should checkout PinePhone and PinePhone Pro. It can run a multitude of Linux distros. They also have hardware addons like full qwerty keyboard with extra battery.
https://www.pine64.org/pinephonepro/