You could run the local vault program in firejail without internet access maybe?
Not sure something like this is viable on phones