Should work on all recent versions. Make edits to the source files yourself:
# Default state: ACTIVE premium
sed -i 's/self.status = SubscriptionStatus.UNKNOWN/self.status = SubscriptionStatus.ACTIVE/g' rotkehlchen/premium/premium.py
# Remove API routes
sed -i "s/self.uri = .*/self.uri = ''/g" rotkehlchen/premium/premium.py
sed -i "s|https://rotki.com/api/1/usage_analytics||g" rotkehlchen/usage_analytics.py
- Automated patched builds
- Use a refactoring tool to perform more broad-scale clean up operations (such as not passing around 'premium' everywhere)