I use morphe to patch youtube app with their official patches to remove ads and get useful features and use adobo patches to remove internet permission from closed source apps which works fine without internet. adobo patches also gives options to remove ads, trackers, and analytics from apps.
You can learn more about it on their official website and this to find patches for lots of popular apps.