Commit graph

530 commits

Author SHA1 Message Date
oSumAtrIX a7ee89d497
refactor: remove trimIndent before compiling instructions 2022-06-27 01:09:40 +02:00
oSumAtrIX db32ffe56a
fix: migrate to new proxy api 2022-06-26 18:10:37 +02:00
oSumAtrIX f08b53b07d
fix: invalid string in strings list 2022-06-26 17:59:28 +02:00
oSumAtrIX 084078e7f1 refactor: migrate from Signature to Fingerprint
BREAKING CHANGE: Not backwards compatible, since a lot of classes where renamed.
2022-06-26 16:33:58 +02:00
Aunali321 adc60a6fa0
feat: add youtube version 17.24.35 2022-06-26 12:12:05 +05:30
bogadana d26c423303
fix: put back proper variable (#61) 2022-06-25 02:15:58 +02:00
oSumAtrIX 8936c8aaed
fix: missing brackets at inlining 2022-06-24 00:56:29 +02:00
Joey Peter a8f17948ac
refactor: integrations (#44) 2022-06-24 00:17:49 +02:00
bogadana 6ab821e377
fix: get create button view register by more reliable means (#59) 2022-06-24 00:05:41 +02:00
Itroublve 314e955a3d
refactor: Migrate to new extension methods for String.toInstruction(...) and String.toInstructions(...) (#45) 2022-06-23 02:22:42 +02:00
Joey Peter 1812bc39e0
feat: add compatibility for YouTube v17.23.36 and v17.24.34 2022-06-23 02:19:35 +02:00
oSumAtrIX c2b299336a
feat: use install mode by default 2022-06-21 18:30:06 +02:00
oSumAtrIX 65ddd522dc
fix: old usage of toInstructions extension method 2022-06-20 21:33:45 +02:00
oSumAtrIX 2c0a4196fe
fix: migrate to breaking changes from patcher 2022-06-20 21:29:55 +02:00
oSumAtrIX 8e86d9e6cb
refactor: improve microg-support reference patches 2022-06-20 21:29:54 +02:00
TheJeterLP e233fae63b fix double character 2022-06-20 10:30:07 +02:00
TheJeterLP 44082bba88 bump youtube version to 12.23.35 2022-06-20 10:25:59 +02:00
Joey Peter 80a746b456
Update GeneralAdsCompatibility.kt 2022-06-20 10:20:19 +02:00
oSumAtrIX 8d9eb85b80
refactor: patch description 2022-06-20 08:03:02 +02:00
bogadana 3bf0561635
feat: disable-fullscreen-panels patch 2022-06-20 01:29:47 +02:00
Sculas 70a48c5f35
Revert "Changed app name to ReVanced (#21)" (#24)
This reverts commit b814b96d4c7ae610e51e4baedaa388b78d41ba95.
2022-06-16 11:32:58 +02:00
bibarub 2cd531eb5a
feat: hide-cast-button patch 2022-06-16 00:33:39 +02:00
oSumAtrIX 78913bf1e8
feat: premium-heading patch 2022-06-15 11:53:16 +02:00
oSumAtrIX f81872b8e4
fix: add size 48px for custom-branding patch 2022-06-15 11:52:51 +02:00
oSumAtrIX efb6d4c2be
fix: custom-branding patch failing to get resources 2022-06-15 11:07:10 +02:00
oSumAtrIX 0d65ea8cdb
feat: custom-branding patch 2022-06-15 00:06:02 +02:00
oSumAtrIX 6046f077ab
refactor: rename microg-patch to microg-support 2022-06-15 00:06:02 +02:00
oSumAtrIX 8897f18ff0
Merge remote-tracking branch 'origin/main' 2022-06-13 01:34:28 +02:00
oSumAtrIX dd8b01a5c5
perf: fix high battery consumption due to chromecast not working with microg 2022-06-13 01:22:28 +02:00
oSumAtrIX 2cc94708e1
Merge pull request #19 from revanced/non-root
feat: `microg-patch`
2022-06-12 01:40:26 +02:00
oSumAtrIX d4ed67ce4f
refactor: rename general-bytecode-ads to general-ads 2022-06-12 01:07:23 +02:00
oSumAtrIX e12dc11b67
feat: updated all patches to support v17.22.36 of com.android.google.youtube 2022-06-11 21:09:59 +02:00
oSumAtrIX 110bbf143a
fix: migrate to include annotation 2022-06-11 19:14:54 +02:00
oSumAtrIX 48bbd574a5
feat: microg-patch 2022-06-11 06:37:18 +02:00
josesilveiraa 6419816b47 refactor: more readable code
- Changes singular `prefix` vararg to `prefixes`.
- Changes `_prefix` in loop to `prefix`
2022-06-09 01:13:45 +02:00
josesilveiraa ee50ac01a4 refactor: fix mispeling
`t he` > `the`
2022-06-07 14:35:41 +02:00
oSumAtrIX 799401ddf9
feat: add patches compatibility to the newest version 2022-06-05 07:57:25 +02:00
oSumAtrIX a817522bc3
style: move extension and utility methods to their own classes 2022-06-05 07:25:51 +02:00
oSumAtrIX d12e92aead
fix: remove unused patches 2022-06-05 07:25:40 +02:00
oSumAtrIX f99bbef4c9
feat: GeneralBytecodeAds and GeneralResourceAds patch 2022-06-04 02:27:02 +02:00
oSumAtrIX 85806bb355
feat: Dependencies annotation 2022-06-03 17:52:30 +02:00
oSumAtrIX 52f9147ee8
fix: spelling mistake 2022-06-03 17:38:56 +02:00
oSumAtrIX e9c946008e
fix: missing extension method doRecursively 2022-06-01 01:50:01 +02:00
oSumAtrIX 8a0ee03a71
fix: migrate patches to latest patcher api changes 2022-06-01 01:40:57 +02:00
oSumAtrIX a0fdee81a6
fix: wrong annotation and signature in patches 2022-05-28 14:31:20 +02:00
oSumAtrIX a43b33bdbb
fix: bugfixes in microg 2022-05-26 03:47:11 +02:00
oSumAtrIX 7bc60943cb
fix: write while reading resources and remove checking for "." in resource extensions
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-05-24 02:02:39 +02:00
oSumAtrIX 159f7f3c3d
chore: update matching method names for microg patch
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-05-23 21:14:43 +02:00
oSumAtrIX c24f8063a0
feat: update MicroG patch to latest version
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-05-22 17:41:59 +02:00
oSumAtrIX 77a164015a
Merge branch 'dev' into microg-dalvik-patch
# Conflicts:
#	src/main/kotlin/app/revanced/patches/Index.kt
#	src/main/kotlin/app/revanced/patches/music/audio/codecs/patch/CodecsUnlockPatch.kt
#	src/main/kotlin/app/revanced/patches/music/audio/exclusiveaudio/patch/ExclusiveAudioPatch.kt
#	src/main/kotlin/app/revanced/patches/music/layout/tastebuilder/patch/RemoveTasteBuilderPatch.kt
#	src/main/kotlin/app/revanced/patches/music/layout/upgradebutton/patch/RemoveUpgradeButtonPatch.kt
#	src/main/kotlin/app/revanced/patches/music/premium/backgroundplay/patch/BackgroundPlayPatch.kt
#	src/main/kotlin/app/revanced/patches/youtube/ad/home/annotation/PromotionsCompatibility.kt
#	src/main/kotlin/app/revanced/patches/youtube/ad/home/patch/HomeAdsPatch.kt
#	src/main/kotlin/app/revanced/patches/youtube/ad/home/patch/PromotionsPatch.kt
#	src/main/kotlin/app/revanced/patches/youtube/ad/home/signatures/PromotedDiscoveryActionParentSignature.kt
#	src/main/kotlin/app/revanced/patches/youtube/ad/home/signatures/PromotedDiscoveryAppParentSignature.kt
#	src/main/kotlin/app/revanced/patches/youtube/ad/video/annotations/VideoAdsCompatibility.kt
#	src/main/kotlin/app/revanced/patches/youtube/ad/video/patch/VideoAdsPatch.kt
#	src/main/kotlin/app/revanced/patches/youtube/ad/video/signatures/ShowVideoAdsConstructorSignature.kt
#	src/main/kotlin/app/revanced/patches/youtube/interaction/seekbar/annotation/SeekbarTappingCompatibility.kt
#	src/main/kotlin/app/revanced/patches/youtube/interaction/seekbar/patch/EnableSeekbarTappingPatch.kt
#	src/main/kotlin/app/revanced/patches/youtube/interaction/seekbar/signatures/SeekbarTappingParentSignature.kt
#	src/main/kotlin/app/revanced/patches/youtube/interaction/seekbar/signatures/SeekbarTappingSignature.kt
#	src/main/kotlin/app/revanced/patches/youtube/layout/createbutton/annotations/CreateButtonCompatibility.kt
#	src/main/kotlin/app/revanced/patches/youtube/layout/createbutton/patch/CreateButtonRemoverPatch.kt
#	src/main/kotlin/app/revanced/patches/youtube/layout/createbutton/signatures/CreateButtonSignature.kt
#	src/main/kotlin/app/revanced/patches/youtube/layout/minimizedplayback/annotations/MinimizedPlaybackCompatibility.kt
#	src/main/kotlin/app/revanced/patches/youtube/layout/minimizedplayback/patch/MinimizedPlaybackPatch.kt
#	src/main/kotlin/app/revanced/patches/youtube/layout/minimizedplayback/signatures/MinimizedPlaybackManagerSignature.kt
#	src/main/kotlin/app/revanced/patches/youtube/layout/oldqualitylayout/annotations/OldQualityLayoutCompatibility.kt
#	src/main/kotlin/app/revanced/patches/youtube/layout/oldqualitylayout/patch/OldQualityLayoutPatch.kt
#	src/main/kotlin/app/revanced/patches/youtube/layout/reels/patch/HideReelsPatch.kt
#	src/main/kotlin/app/revanced/patches/youtube/layout/reels/signatures/HideReelsSignature.kt
#	src/main/kotlin/app/revanced/patches/youtube/layout/shorts/button/annotations/ShortsButtonCompatibility.kt
#	src/main/kotlin/app/revanced/patches/youtube/layout/shorts/button/patch/ShortsButtonRemoverPatch.kt
#	src/main/kotlin/app/revanced/patches/youtube/layout/shorts/button/signatures/PivotBarButtonTabenumSignature.kt
#	src/main/kotlin/app/revanced/patches/youtube/layout/shorts/button/signatures/PivotBarButtonsViewSignature.kt
#	src/main/kotlin/app/revanced/patches/youtube/misc/integrations/annotations/IntegrationsCompatibility.kt
#	src/main/kotlin/app/revanced/patches/youtube/misc/integrations/patch/IntegrationsPatch.kt
#	src/main/kotlin/app/revanced/patches/youtube/misc/integrations/signatures/InitSignature.kt
#	src/main/kotlin/app/revanced/patches/youtube/misc/manifest/annotations/FixLocaleConfigErrorCompatibility.kt
#	src/test/kotlin/app/revanced/patches/SignatureChecker.kt
2022-05-22 17:38:18 +02:00
oSumAtrIX bad25dec1d
feat: update patches to latest version
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-05-22 17:11:34 +02:00
epicsampler c4c86b65fd
fix: loop in amoled patch 2022-05-22 14:34:36 +00:00
epicsampler d61bac4f82
feat: add amoled patch 2022-05-22 14:31:17 +00:00
epicsampler a173f6e5a7
fix: create-button-signature 2022-05-22 14:17:32 +00:00
oSumAtrIX e12e484e37
fix: breaking changes by revanced-patcher dependency
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-05-22 13:43:41 +02:00
oSumAtrIX 145a8c72f7
Merge branch 'annotations' into microg-dalvik-patch 2022-05-21 20:46:28 +02:00
oSumAtrIX 7e485b4ffe
fix: breaking changes by revanced-patcher dependency
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-05-18 23:58:54 +02:00
oSumAtrIX 0c5264192b
Merge remote-tracking branch 'origin/microg-dalvik-patch' into microg-dalvik-patch
# Conflicts:
#	src/main/kotlin/app/revanced/patches/Index.kt
2022-05-18 03:16:40 +02:00
oSumAtrIX 50f9cc52ac
fix: breaking patcher changes
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-05-18 03:16:07 +02:00
oSumAtrIX cb3c8e875e
refactor: furthermore implement logic for MicroGPatch
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-05-18 03:15:02 +02:00
oSumAtrIX 16f2de8057
refactor: MicroGPatch
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-05-18 03:15:00 +02:00
oSumAtrIX 91b8ec81f3
fix: update patches
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-05-07 17:50:22 +02:00
oSumAtrIX 3ad344433d
Merge branch 'dalvik-patches' into microg-dalvik-patch 2022-05-06 16:53:07 +02:00
LooKeR 26ed7f0400
Fix build broken by ec9618e 2022-05-06 13:39:29 +05:30
oSumAtrIX cbb9e2cd1f
fix: breaking patcher changes
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-05-05 00:04:14 +02:00
oSumAtrIX aeacdf5bfb
Merge branch 'dalvik-patches' into microg-dalvik-patch
# Conflicts:
#	src/main/kotlin/app/revanced/patches/Index.kt
#	src/main/kotlin/app/revanced/patches/youtube/misc/MicroGPatch.kt
2022-05-05 00:02:03 +02:00
oSumAtrIX 86e0728e15
add: resource patcher
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-05-04 23:50:45 +02:00
epicsampler 8ea34036e5
refactor: YouTube Music patches 2022-04-28 23:30:31 +02:00
epicsampler a6aeca31bd
feat: tastebuilder-remover for music 2022-04-28 15:47:08 +00:00
epicsampler b299205aa7
fix: version in package metadata of music 2022-04-28 15:02:57 +00:00
oSumAtrIX 518229031c
fix: wrong patches in upgrade-tab-remover
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-04-27 03:06:52 +02:00
epicsampler e5fd7cece9
feat: added codecs-unlock patch 2022-04-26 21:44:02 +00:00
oSumAtrIX b60c9d33b6
feat: Patches for YouTube Music
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-04-26 23:10:36 +02:00
oSumAtrIX 14a668ae91
Merge branch 'dalvik-patches' into microg-dalvik-patch 2022-04-21 19:44:55 +02:00
oSumAtrIX 62f1801e9c
fix: update HomeAdsPatch
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-04-21 19:44:44 +02:00
oSumAtrIX 6f1cabe972
refactor: furthermore implement logic for MicroGPatch
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-04-20 02:44:56 +02:00
oSumAtrIX 8b8ebb9f39
Merge branch 'dalvik-patches' into microg-dalvik-patch 2022-04-19 20:01:18 +02:00
oSumAtrIX af0b16482f
refactor: MicroGPatch
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-04-19 20:00:50 +02:00
j4k0xb 88352ee6ec feat: hide-shorts-button patch 2022-04-19 17:51:45 +02:00
oSumAtrIX 91474ba073
feat: begin MicroG Patch
Signed-off-by: oSumAtrIX <johan.melkonyan1@web.de>
2022-04-19 02:00:48 +02:00
oSumAtrIX 1a49bbdbc4
fix: breaking changes of the patcher 2022-04-18 18:41:26 +02:00
oSumAtrIX 50b767314e
Merge remote-tracking branch 'origin/dalvik-patches' into dalvik-patches 2022-04-18 18:01:33 +02:00
oSumAtrIX 55d56cf7f8
refactor: remove .trimIndent() from each MethodSignatureMetadata description 2022-04-18 18:01:23 +02:00
oSumAtrIX 2357bc09a3
add: HomePromoPatch (#3)
* add: `HomePromoPatch`

* fix: `HomePromoPatch` using the last signature in loop
2022-04-18 18:00:10 +02:00
oSumAtrIX e46ef02302
fix: name for IntegrationsPatch 2022-04-17 18:45:38 +02:00
baiorett b63a4af4d5 Merge remote-tracking branch 'origin/dalvik-patches' into dalvik-patches 2022-04-16 23:52:08 +03:00
baiorett 36cddd1488 feat: add home ads patch 2022-04-16 23:46:40 +03:00
Lucaskyy 424788edd7
fix: incorrect endIndex (fixed in Patcher) 2022-04-16 21:42:02 +02:00
Lucaskyy 5f6a6d2b7d
revert: "fix: wrong signature for hide-reels-signature"
This reverts commit c369899493.
2022-04-15 21:32:17 +02:00
Lucaskyy c369899493
fix: wrong signature for hide-reels-signature 2022-04-15 11:55:58 +02:00
oSumAtrIX f4d8a8525b
fix: wrong opcode pattern for create-button-method 2022-04-15 06:31:15 +02:00
oSumAtrIX a112b22ce6
fix: wrong versions of patches 2022-04-15 05:28:30 +02:00
oSumAtrIX f32e4747b5
fix: remove HideSuggestionsPatch from Index 2022-04-15 04:58:11 +02:00
oSumAtrIX 823e503d84
fix: wrong signatures for patch Old Quality Layout Patch 2022-04-15 04:57:51 +02:00
oSumAtrIX e65c6f240e
feat: remove obsolete patch Hide suggestions patch 2022-04-15 04:56:58 +02:00
oSumAtrIX 2d9ff2af0a
fix: wrong signature for hide-reels-signature 2022-04-15 04:56:17 +02:00
oSumAtrIX 1d833957ed
fix: wrong opcode pattern for enable-seekbar-tapping-signature 2022-04-15 04:53:34 +02:00
oSumAtrIX 0924ca2ad3
feat: get required register dynamically 2022-04-14 22:59:26 +02:00
Lucaskyy 0077e26d23
fix: accidentally removed code in refactor 2022-04-14 20:07:01 +02:00
Lucaskyy 32146506f1
fix: wrong opcode for create-button-method
Added in latest(?) version of the app.
2022-04-14 20:00:45 +02:00
Lucaskyy a0dcea3a13
fix: modified opcode for show-video-ads-constructor
Modified in latest(?) version of the app.
2022-04-14 19:58:24 +02:00
Lucaskyy 0a398ef364
fix: add missing opcode for create-button-method
Added in latest(?) version of the app.
2022-04-14 19:57:00 +02:00
Lucaskyy b45d175c6f
fix: minimized-playback & old-quality-layout wrong opcodes 2022-04-14 19:18:34 +02:00
Lucaskyy 93c97c183f
chore: clarify order of writing in EnableSeekbarTappingPatch.kt 2022-04-14 18:47:26 +02:00
Lucaskyy 8034fee8ea
refactor: remove all parameter names
also fixed some warnings.
2022-04-14 18:45:34 +02:00
Lucaskyy f55d917db4
Merge remote-tracking branch 'origin/dalvik-patches' into dalvik-patches 2022-04-14 12:13:38 +02:00
Lucaskyy 0acdf89ae9
refactor: make patches compatible with breaking changes of the patcher
also commented HideSuggestionsPatch.kt so warnings suppressed
2022-04-14 12:11:24 +02:00
Lucaskyy 2d3d72009e
refactor: replace Array with List 2022-04-14 11:58:25 +02:00
oSumAtrIX 76d3c71b67
fix: add missing trimIndent() to string literals
Co-authored-by: Sculas <contact@sculas.xyz>
2022-04-14 11:50:15 +02:00
oSumAtrIX 535aee0840
fix: wrong opcode pattern for signature in Hide suggestions patch 2022-04-14 11:01:25 +02:00
oSumAtrIX 9fbb89d053
fix: wrong access flag in signature for Create button patch 2022-04-14 11:01:04 +02:00
oSumAtrIX 2f9360f57c
fix: Index in wrong package 2022-04-14 10:39:15 +02:00
oSumAtrIX 5119905955
refactor: make patches compatible with breaking changes of the patcher 2022-04-14 10:17:53 +02:00
oSumAtrIX 582ce70ce2
refact: include each signature in its corresponding patch 2022-04-14 08:49:11 +02:00
Lucaskyy 36a2780ab1
refactor: start migrating some signatures to Kotlin 2022-04-13 21:47:09 +02:00
Lucaskyy bc56555d9e
refactor: make patches compatible with the newest patcher 2022-04-13 21:25:50 +02:00
oSumAtrIX 99099ea0bc
fix: disable hide-suggestions-patch patch until fixed 2022-04-13 05:18:51 +02:00
oSumAtrIX 52fd726d9b
fix: enable-seekbar-tapping patch 2022-04-13 05:18:12 +02:00
oSumAtrIX 55677a44ff
fix: minimized-playback patch 2022-04-13 00:16:20 +02:00
oSumAtrIX f28f20974f
refact: use kebab-case for VideoAds patch 2022-04-12 21:10:11 +02:00
oSumAtrIX 19c0b0d194
feat: integrations patch 2022-04-12 20:59:06 +02:00
Lucaskyy ca3a70f2a4
Merge remote-tracking branch 'origin/dalvik-patches' into dalvik-patches 2022-04-11 16:41:44 +02:00
Lucaskyy 1eb85e8f4e
refactor: make patches compatible with the newest patcher 2022-04-11 16:41:29 +02:00
oSumAtrIX e37201d0ce
fix: multiple bugs in patches 2022-04-10 05:13:20 +02:00
oSumAtrIX 3395d69747
fix: attempt on all patches 2022-04-09 22:59:51 +02:00
oSumAtrIX e088c67108
feat: migrate to dalvik patches 2022-04-07 22:41:55 +02:00
Lucaskyy dc4ec57441
fix(VideoAds): remove istore1 opcode 2022-03-24 22:02:45 +01:00
Lucaskyy 08af6e54af
feat: use supplier instead of KClass
BREAKING CHANGE: signature of patches was changed
2022-03-22 22:24:56 +01:00
oSumAtrIX 04a7cfff20
feat: OldQualityLayout, HideSuggestions, HideReels, EnableSeekbarTapping 2022-03-22 00:55:42 +01:00
Lucaskyy 68ea89f15e
refactor: Rename net.revanced to app.revanced
BREAKING CHANGE: Package name was changed from "net.revanced" to "app.revanced"
2022-03-21 22:06:24 +01:00