> Isn't vanced just a patched version of the official app?
I believe that it is. Although they don't have the source code, just the binary which they have modified in order to add features, see smali[0]. Other projects like the Google camera mod are using similar approaches to modify or port official apps
2. I don't keep my sources closed, I did publish them on xda-developers[1], but they've changed things around a lot since then and the links in my post broke. I need to reupload them somewhere. I avoid lawsuits by not being related to the US in any way whatsoever. And either way I don't think patching someone else's code is illegal, especially since no DRM is circumvented in the process. Making "get an official apk first" the first step, instead of distributing decompiled smali files, probably also helps.
> If you wanted to open source how you patched Instagram, how would you avoid lawsuit?
Operate as if you were operating an underground drug marketplace or worse. If those technologies are able to thwart international law enforcement investigations, they're definitely strong enough to protect you from Facebook, not to mention that nobody will burn a zero-day to make Big Advertising happy when that zero-day can be better used to take down multimillion-dollar drug marketplaces (or worse).
If clearnet infrastructure is needed, put it in a country that gives the middle finger to the US. Being located there is also a huge bonus.
Alternatively, support copyright reforms and campaigns for privacy laws and their enforcement (which is currently lacking when it comes to the GDPR), so that such projects become unnecessary. In the meantime, don't use such services as much as possible.
I was wondering if one of the authors was a youtube employee and took code perhaps, but yours is the simpler explanation. Sounds logical to request this from Google's POV.
It's not mentioned in the article, but I imagine the copyright infringement, goes a lot further than simply infringing the trademarks and logos.
Presumably, they don't want to release the source code, because it would make it blatantly obvious.