diff --git a/Makefile b/Makefile index 750de2e..e0233f5 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ BUNDLE_ID = com.google.ios.youtube uYouPlus_FILES = uYouPlus.x uYouPlus_FRAMEWORKS = Alderis -uYouPlus_IPA = /.../path/to/the/decrypted/YouTube/IPA +uYouPlus_IPA = /System/Volumes/Data/Volumes/Data_Macintosh/Sideloads/IPAs/YouTube_16.38.2.ipa ### Important: edit the path to the decrypted YouTube IPA diff --git a/README.md b/README.md index 5258e7e..00cdfa4 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ -## Cercube with extra features! - ![cydia-1900000833-iphone-0-1628581139 2](https://user-images.githubusercontent.com/52943116/135557251-f4be8ccf-8f0b-4d19-9fcf-6c9544aba281.PNG) @@ -16,11 +14,11 @@ # Credits -- [Majd Alfhaily](https://twitter.com/freemanrepo?s=21) for [Cercube](https://apt.alfhaily.me/depiction/FDXO5R). +- [MiRO92](https://twitter.com/miro92?s=21) for [Cercube](https://github.com/MiRO92/uYou-for-YouTube). - [Galactic-Dev](https://github.com/Galactic-Dev) and [Luewii](https://github.com/Luewii) for [iSponsorBlock](https://github.com/Galactic-Dev/iSponsorBlock). -- [PoomSmart](https://twitter.com/poomsmart?s=21) - the developer of many tweaks used by CercubePlus, include: [YTABGoodies](https://poomsmart.github.io/repo/depictions/ytabgoodies.html), [YTClassicVideoQuality](https://poomsmart.github.io/repo/depictions/ytclassicvideoquality.html), [NOYTPremium](https://poomsmart.github.io/repo/depictions/noytpremium.html), [YTUHD](https://poomsmart.github.io/repo/depictions/ytuhd.html) and [YouPiP](https://poomsmart.github.io/repo/depictions/youpip.html). +- [PoomSmart](https://twitter.com/poomsmart?s=21) - the developer of many tweaks used by CercubePlus, include: [YTClassicVideoQuality](https://poomsmart.github.io/repo/depictions/ytclassicvideoquality.html), [YTNoCheckLocalNetwork](https://poomsmart.github.io/repo/depictions/ytnochecklocalnetwork.html), [YouRememberCaption](https://www.ios-repo-updates.com/repository/poomsmart/package/com.ps.youremembercaption/), [YTUHD](https://poomsmart.github.io/repo/depictions/ytuhd.html) and [YouPiP](https://poomsmart.github.io/repo/depictions/youpip.html). - [level3tjg](https://twitter.com/level3tjg?s=21) - for [YTNoHoverCards](https://github.com/level3tjg/YTNoHoverCards). @@ -31,48 +29,30 @@ # Features -1. **Cercube:** - -> - Block all advertisements. -> -> - Enable background playback. -> -> - Set default player quality on WiFi & Celullar. -> -> - Save videos in high resolution, save videos as audio-only, save public playlists (beta). -> -> - Manage and share downloads to any app. -> -> - And more... +1. **uYou:** uYou has a ton of features that I can't list them all. Visit his [here](https://miro92.com/repo/depictions/?p=com.miro.uyou) for more info! 2. **iSponsorBlock:** Skips annoying sponsor ads inside videos. iSponsorBlock is based on [SponsorBlock engine](https://sponsor.ajay.app/). This is the iOS version of the SponsorBlock extension. -3. **YTABGoodies:** allow you to disable some YouTube A/B testing features. It is a combination of several tweaks, such as: +3. **YouRememberCaption**: make YouTube remember your video caption setting (if not already). -> - YouAreThere: disable "Video paused. Continue watching?" popup in the YouTube app when you play a long video. -> -> - YouRememberCaption: make YouTube remember your video caption setting (if not already). -> -> - YTNoCheckLocalNetwork: block the Local Network permission popup. -> -> - YTSystemAppearance: sync the YouTube theme (dark/light) with the system theme. +4. **YTNoCheckLocalNetwork**: block the Local Network permission popup. -4. **YTClassicVideoQuality:** since YouTube v16.xx, you need one more step to change the video quality. YTClassicVideoQuality brings back the old video quality selector, which is a lot better than the new one. +5. **YTSystemAppearance**: sync the YouTube theme (dark/light) with the system theme. -5. **NOYTPremium:** remove YouTube Premium upsell alerts. +6. **YTClassicVideoQuality:** since YouTube v16.xx, you need one more step to change the video quality. YTClassicVideoQuality brings back the old video quality selector, which is a lot better than the new one. -6. **YTUHD:** unlock VP9 codec and in effect, enables video quality of 2K and 4K. You can enable/disable YTUHD in YouTube Settings => Video quality preferences. +7. **YTUHD:** unlock VP9 codec and in effect, enables video quality of 2K and 4K. You can enable/disable YTUHD in YouTube Settings => Video quality preferences. -7. **YouPiP:** enable YouTube's **native PiP**. More options are in YouTube Settings => General. +8. **YouPiP:** enable YouTube's **native PiP**. More options are in YouTube Settings => General. -8. **YTNoHoverCards:** offer an option to enable/disable the annoying suggested videos show up at the end of the videos. +9. **YTNoHoverCards:** offer an option to enable/disable the annoying suggested videos show up at the end of the videos. # Known issues -1. **Cercube**: Hide Cast button is not working. +1. **uYOu**: all uYou issues are listed [here](https://github.com/MiRO92/uYou-for-YouTube/issues). **Make sure you take a look at it before reporting any bugs**! -2. **iSponsorBlock**: the modified time doesn't show up in the seek bar +3. **iSponsorBlock**: the modified time doesn't show up in the seek bar. 3. **YTUHD**: Stuttering on 4K videos (sometimes). @@ -84,20 +64,21 @@ # Download (IPA) -- **CercubePlus+** requires iOS & iPadOS 13.0 and later. The latest version of **CercubePlus** can be found in the [Release tab](). +- **uYouPlus (uYou+)+** requires iOS & iPadOS 13.0 and later. The latest version of **uYouPlus** can be found in the [Release tab](). - Version info: -| **Tweak/App** | **Version** | -| ------------- | -------------| -| YouTube | 16.38.2 | -| Cercube | 5.3.3 | -| iSponsorBlock | 1.0-10 | -| YTABGoodies | 1.0 | -| YTClassicVideoQuality | 1.0.1 | -| NOYTPremium | 1.0.2 | -| YTUHD | 1.2.4 | -| YouPiP | 1.5.10 | +| **Tweaks/App** | **Version** | **Open source** | +| :-------------: | :------------:| :------------: | +| **YouTube** | 16.38.2 | ✖︎ | +| **uYou** | 2.0 | ✖︎ | +| **iSponsorBlock** | 1.0-10 | [✔︎](https://github.com/Galactic-Dev/iSponsorBlock) | +| **YTABGoodies** | 1.0 | [✔︎](https://poomsmart.github.io/repo/depictions/ytabgoodies.html) | +| **YTClassicVideoQuality** | 1.0.1 | [✔︎](https://github.com/PoomSmart/YTClassicVideoQuality) | +| **NOYTPremium** | 1.0.2 | [✔︎](https://github.com/PoomSmart/NoYTPremium) | +| **YTUHD** | 1.2.4 | [✔︎](https://github.com/PoomSmart/YTUHD) | +| **YouPiP** | 1.5.10 | [✔︎](https://github.com/PoomSmart/YouPiP) | +| **YTNoHoverCards** | 0.0.3 | [✔︎](https://github.com/level3tjg/YTNoHoverCards) | # Building (optional) @@ -108,19 +89,21 @@ 2. Download all the tweaks you want to inject. -> - **[iOS Repo Updates]**(https://www.ios-repo-updates.com/) is a trust-able source. [cydownload](https://github.com/borishonman/cydownload) and [Windows Repo Tool](https://github.com/SarahH12099/Windows-Repo-Tool) are good alternative. +> - [**iOS Repo Updates**](https://www.ios-repo-updates.com/) is a trust-able source. [**cydownload**](https://github.com/borishonman/cydownload) and [**Windows Repo Tool**](https://github.com/SarahH12099/Windows-Repo-Tool) are good alternative. > > - The sideloaded version of iSponsorBlock is here ([Luewii's fork](https://github.com/Luewii/iSponsorBlock)). -3. Run `azule` in any Terminal window and follow the instruction. +3. Prepare the **decrypted** YouTube IPA. -4. Select `1. Inject tweaks`, then Drag & drop the **decrypted** YouTube IPA and your prepared tweaks into the azule window. Other options are optional. +4. Run `azule` in any Terminal window and follow the instruction. -5. Done! Azule will take care of the rest! +5. Select `1. Inject tweaks`, then Drag & drop the **decrypted** YouTube IPA and your prepared tweaks into the azule window. Other options are optional. + +6. Done! Azule will take care of the rest! ## Method 2: theos-jailed (complex way) -1. 1. Setup [theos-jailed](https://github.com/kabiroberai/theos-jailed/wiki/Installation) +1. Setup [theos-jailed](https://github.com/kabiroberai/theos-jailed/wiki/Installation) 2. Clone this repo: @@ -128,7 +111,7 @@ git clone https://github.com/qnblackcat/CercubePlus.git ``` -3. Open `Makefile` and edit the path to your decrypted YouTube IPA. +3. **Important:** Open `Makefile` and edit the path to your decrypted YouTube IPA. 4. Optional: Modify the app the way you want. I suggest you take a look at the [theos-jailed wiki](https://github.com/kabiroberai/theos-jailed/wiki/Usage) and my `Makefile`. diff --git a/uYouPlus.x b/uYouPlus.x index b2a3ac4..c9d3f8b 100644 --- a/uYouPlus.x +++ b/uYouPlus.x @@ -14,17 +14,15 @@ Class originalClass = %c(YTVideoQualitySwitchOriginalController); return originalClass ? [[originalClass alloc] initWithParentResponder:responder] : %orig; } - %end -//NoLocalCheck +//YTNoCheckLocalNetwork %hook YTHotConfig - (BOOL)isPromptForLocalNetworkPermissionsEnabled { return NO; } - %end //YouRememberCaption @@ -35,7 +33,7 @@ %end -//YTSystemTheme +//YTSystemAppearance %hook YTColdConfig - (BOOL)shouldUseAppThemeSetting { return YES; @@ -43,30 +41,7 @@ %end -//NOYTPremium -%hook YTCommerceEventGroupHandler -- (void)addEventHandlers {} -%end - -%hook YTInterstitialPromoEventGroupHandler -- (void)addEventHandlers {} -%end - -%hook YTIShowFullscreenInterstitialCommand -- (BOOL)shouldThrottleInterstitial { return YES; } -%end - -%hook YTPromoThrottleController -- (BOOL)canShowThrottledPromo { return NO; } -- (BOOL)canShowThrottledPromoWithFrequencyCap:(id)frequencyCap { return NO; } -%end - -%hook YTSurveyController -- (void)showSurveyWithRenderer:(id)arg1 surveyParentResponder:(id)arg2 {} -%end - - -//YTNoHoverCards 0.0.3 +//YTNoHoverCards @interface YTCollectionViewCell : UICollectionViewCell @end