Code stolen from How to Trust Unsafe SSL certificates as a project.
- Build this apk
- Decode the smali with apktool
- Copy the relevant smali files over to the apk you're hacking. Match up method signatures for the relevant parts
- Rebuild your apk without security
- Profit