Building a quadcopter

I am a owner of a raspberry pi 2 model B and I want to make a quadcopter using a pixhawk 4, I found an instructable which uses a MultiWii and a phone connected wirelessly to give the commands, but as I can not find a multiwii anywhere online I have decided to use a pixhawk instead and still want it to work wirelessly with a phone, any help is appreciated.