Most ARM64 devices running Android 8.0+ should work with the appropriate kernel modifications. Compiling the phone's kernel is also device specific, but some major tips may help you out. First, google ...
Use your cloud storage like a local folder. Keep your files private on any cloud provider with crypt remotes. Don't give up features or comfort just because it runs on a phone.