0
0
Fork 0
mirror of https://github.com/YTVanced/Integrations synced 2024-11-30 15:13:03 +00:00
Mirror of YTVanced/Integrations
Find a file
2021-04-19 23:26:16 +02:00
app rename YouTubeApplication 2021-04-19 23:26:16 +02:00
gradle/wrapper Initial commit 2020-08-24 17:47:57 +02:00
.gitignore Initial commit 2020-08-24 17:47:57 +02:00
build.gradle Initial commit 2020-08-24 17:47:57 +02:00
gradle.properties Initial commit 2020-08-24 17:47:57 +02:00
gradlew Initial commit 2020-08-24 17:47:57 +02:00
gradlew.bat Initial commit 2020-08-24 17:47:57 +02:00
README.md Create README.md 2020-08-24 22:51:22 +03:00
settings.gradle Initial commit 2020-08-24 17:47:57 +02:00

SponsorBlock YouTube Vanced Implementation

In order to use this in YouTube/Vanced you must first apply the smali mods outlined in smali.md (if you mod vanced directly it is not required)

  • First make your edits in android studio and then compile the code to a debug apk
  • Decompile this apk using apktool https://github.com/iBotPeaches/Apktool
  • Take this decompiled folder and look for a folder labeled pl in one of your dex class folders (usually the second one)
  • Decompile YouTube/Vanced using apktool (you only need to decompile the base apk files(for vanced you can get these using vanced manager and looking in android/data/com.vanced.manager for black or dark.apk), if you are decompiling stock youtube you must also merge a dpi split into it (todo))
  • Copy the pl folder from earlier into the 4th dex class folder (remove any existing one completely first)
  • Recompile your modded YouTube/Vanced using apktool and sign it + all splits required for your device using the same key