crimera / piko Goto Github PK
View Code? Open in Web Editor NEWrevanced-patches for twitter
License: GNU General Public License v3.0
revanced-patches for twitter
License: GNU General Public License v3.0
Compared to revanced patches ReVanced/revanced-patches@2c20844 and this ReVanced/revanced-patches@d0f91c8 , download video feature patch is weirdly. In same post, i can't download the video with crimera patch, but while using revanced patches i can download the video.
I am using the revanced CLI and this command:
java -jar revanced-cli-4.4.0-all.jar patch -p -o X_10.30.0-release.0-all-archs-crimera.apk --options options.json -b revanced-patches-1.9.0-dev.1.jar --alias=[snip] --keystore-password=[snip] --keystore-entry-password=[snip] --keystore=[snip].keystore -m revanced-integrations-1.2.0.apk com.twitter.android-10.30.0-release.0-all-archs.apk -i "Hide For You" -i "Google Ads Patch" -i "Hide Banner" -i "Hide Live Threads"
Example post link:
https://twitter.com/le_sserafim/status/1763784207703441728
I dont know if this bug already reported, but thats happened on my device.
Please change root project name here to distinguish the file
Currently the .jar file name same as official
When material you patch is selected, the default blue is much brighter than the Twitter normal blue. Too bright.
Posted it on the telegram already but I thought maybe I should make it an issue here.
Would it be possible to provide an option to filter out retweets from lists? I‘m currently using Control Panel for Twitter via my phone’s web browser to crudely achieve this since I haven’t been able to find a version of the app anywhere with this feature included.
OnePlus 8T - OxygenOS 14.0
Device Info
ReVanced Manager: 1.20.1
Model: KB2003
Android version: 14
Supported architectures: arm64-v8a, armeabi-v7a, armeabi
Root permissions: NoPatch Info
App: com.twitter.android v10.34.0-release.0 (Suggested: Any)
Patches version: v1.20.0
Patches added: Bring back twitter, Custom sharing domain
Patches removed: Remove Detailed posts, Remove view count, Enable Reader Mode, Hide For You
Default patch options changed: NoneSettings
Allow changing patch selection: true
Version compatibility check: true
Show universal patches: true
Patches source: crimera/piko
Integration source: crimera/revanced-integrationsLogs
Reading APK
Decoding app manifest
Loading patches
Merging integrations
Deleting existing temporary files directory
Decoding resources
Executing patches
Applied 22 patches
Compiling patched dex files
Compiled 12 dex files
Compiling modified resources
Aligning APK
Signing APK
Patched APK
Installing patched app
Installed
A really useful quality of life change build a patch to just hide blue tick accounts, potentially with the option to still show accounts that previously had blue ticks before premium was introduced using a source such as this: https://gist.github.com/travisbrown/b50d6745298cccd6b1f4697e4ec22103
Currently clicking on a link to one of these will redirect me to Twitter in my browser.
It would be good to have these open directly in the app.
The main domains are:
So I have the patch to edit the navigation bar options applied but when go to edit them and then click on save, the layout I applied does not get applied.
I mean like this
https://imgur.com/a/Xxeq0XD
This repo can be inpirations
https://github.com/ReVanced-Extended-Community/Patches-Documentation?tab=readme-ov-file
This will make patches detail more clear and simplify users to select and deselect it.
OnePlus 8T - OxygenOS 14.0
Device Info
ReVanced Manager: 1.20.1
Model: KB2003
Android version: 14
Supported architectures: arm64-v8a, armeabi-v7a, armeabi
Root permissions: No
Patch Info
App: com.twitter.android v10.34.0-release.0 (Suggested: Any)
Patches version: v1.20.0
Patches added: Bring back twitter, Custom sharing domain
Patches removed: Remove Detailed posts, Remove view count, Enable Reader Mode, Hide For You
Default patch options changed: None
Settings
Allow changing patch selection: true
Version compatibility check: true
Show universal patches: true
Patches source: crimera/piko
Integration source: crimera/revanced-integrations
Logs
Reading APK
Decoding app manifest
Loading patches
Merging integrations
Deleting existing temporary files directory
Decoding resources
Executing patches
Applied 22 patches
Compiling patched dex files
Compiled 12 dex files
Compiling modified resources
Aligning APK
Signing APK
Patched APK
Installing patched app
Installed
Hello crimera,
I believe Feature flags string's value in mod menu is fetched from strings.xml in values-v21 folder (piko_title_feature_flags) and not from localized strings.xml files (piko_pref_feature_flags), and that's what makes it keep its original English value.
I checked mod menu in a few languages that have piko_pref_feature_flags string translated, and this issue persists in all of them:
SEVERE: Hide Community Notes failed:
app.revanced.patcher.patch.PatchException
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:187)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Patcher.kt:205)
at app.revanced.patcher.Patcher$apply$1.invoke(Patcher.kt)
at app.revanced.patcher.Patcher$apply$1.invoke(Patcher.kt)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Builders.kt:61)
at kotlinx.coroutines.flow.AbstractFlow.collect(Flow.kt:230)
at app.revanced.cli.command.PatchCommand$run$4$1$1.invokeSuspend(PatchCommand.kt:303)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at app.revanced.cli.command.PatchCommand.run(PatchCommand.kt:302)
at picocli.CommandLine.executeUserObject(CommandLine.java:2026)
at picocli.CommandLine.access$1500(CommandLine.java:148)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
at picocli.CommandLine.execute(CommandLine.java:2170)
at app.revanced.cli.command.MainCommandKt.main(MainCommand.kt:12)
Caused by: java.lang.NullPointerException
at crimera.patches.twitter.misc.hidecommunitynotes.HideCommunityNotePatch.execute(HideCommunityNotePatch.kt:46)
at crimera.patches.twitter.misc.hidecommunitynotes.HideCommunityNotePatch.execute(HideCommunityNotePatch.kt:17)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:173)
... 24 more
SEVERE: Hide Live Threads failed:
app.revanced.patcher.patch.PatchException
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:187)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Patcher.kt:205)
at app.revanced.patcher.Patcher$apply$1.invoke(Patcher.kt)
at app.revanced.patcher.Patcher$apply$1.invoke(Patcher.kt)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Builders.kt:61)
at kotlinx.coroutines.flow.AbstractFlow.collect(Flow.kt:230)
at app.revanced.cli.command.PatchCommand$run$4$1$1.invokeSuspend(PatchCommand.kt:303)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
at app.revanced.cli.command.PatchCommand.run(PatchCommand.kt:302)
at picocli.CommandLine.executeUserObject(CommandLine.java:2026)
at picocli.CommandLine.access$1500(CommandLine.java:148)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
at picocli.CommandLine.execute(CommandLine.java:2170)
at app.revanced.cli.command.MainCommandKt.main(MainCommand.kt:12)
Caused by: java.lang.NullPointerException
at crimera.patches.twitter.timeline.live.HideLiveThreadsPatch.execute(HideLiveThreadsPatch.kt:46)
at crimera.patches.twitter.timeline.live.HideLiveThreadsPatch.execute(HideLiveThreadsPatch.kt:18)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Patcher.kt:173)
... 24 more
Patch log here. Patched app using Revancify tool
patch_log.txt
Sorry to come here and bring such a dumb question to this section, but nothing in the Readme or in the entire internet clarify how to install and use these patches with Revanced Manager?!!
i tired the Alternative Resources but I'm confused with the correct steps and I still can't make it work. So I need help PLEASE
I would like to request the addition of this useful feature present in v10.28.0.
Changing App Icon from settings creates a dublicate icon for twitter.
Steps to reproduce:
Change App icon for twitter in settings. Let's say , change it to black.
close the app and then reopen and go to mod settings and dont change anything just close the app after that
now if you see it in app drawer 2 icons for twitter will be displayed.
Default pink one and the black one which you have set it.
I don't want to see trending, or recommended topics, or any other algorithmic stuff. I just want to search.
Add the ability to hide reposts, with the following child options:
And anywhere else where they might show up.
A scenario where this feature would be useful would be when going through an accounts' posts/replies, as this would eliminate the need to scroll past the stuff they repost in order to get to their actual content.
Add the option to remove the Lists, Spaces, Monetization, Ads under the Professional Tools tab, and Grok (or give free access to Grok if possible).
And anything else I might have missed. Worth looking at Aerowitter as an older version of a very full featured hacked Twitter app.
It might sound odd, but having a toggle for each option is much more user friendly and less time consuming because if someone changes their mind they don't have to go through the patching process and repatch again the app.
Also, all of these options have toggles on v10.28.0.
These are the options to add toggles in the mod settings:
Show sensitive media
Selectable Text
Clear tracking params
No shortened URL
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.twitter.android/app.revanced.integrations.twitter.settings.SettingsActivity}: android.content.res.Resources$NotFoundException: String resource ID #0x0
at android.app.ActivityThread.performLaunchActivity(Unknown Source:621)
at android.app.ActivityThread.handleLaunchActivity(Unknown Source:47)
at android.app.servertransaction.LaunchActivityItem.execute(Unknown Source:63)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(Unknown Source:77)
at android.app.servertransaction.TransactionExecutor.execute(Unknown Source:73)
at android.app.ActivityThread$H.handleMessage(Unknown Source:43)
at android.os.Handler.dispatchMessage(Unknown Source:19)
at android.os.Looper.loop(Unknown Source:242)
at android.app.ActivityThread.main(Unknown Source:101)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
at com.android.internal.os.ZygoteInit.main(Unknown Source:275)
Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x0
at android.content.res.Resources.getText(Unknown Source:36)
at android.content.res.MiuiResources.getText(Unknown Source:11)
at android.content.res.Resources.getString(Unknown Source:0)
at app.revanced.integrations.shared.Utils.getResourceString(Utils.java:186)
at app.revanced.integrations.twitter.settings.SettingsActivity$Screen.strRes(SettingsActivity.java:478)
at app.revanced.integrations.twitter.settings.SettingsActivity$Screen.onCreate(SettingsActivity.java:349)
at android.app.Fragment.performCreate(Unknown Source:13)
at android.app.FragmentManagerImpl.moveToState(Unknown Source:357)
at android.app.FragmentManagerImpl.addAddedFragments(Unknown Source:46)
at android.app.FragmentManagerImpl.executeOpsTogether(Unknown Source:129)
at android.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(Unknown Source:99)
at android.app.FragmentManagerImpl.execPendingActions(Unknown Source:21)
at android.app.FragmentManagerImpl.dispatchMoveToState(Unknown Source:18)
at android.app.FragmentManagerImpl.dispatchActivityCreated(Unknown Source:4)
at android.app.FragmentController.dispatchActivityCreated(Unknown Source:4)
at android.app.Activity.performCreate(Unknown Source:67)
at android.app.Activity.performCreate(Unknown Source:1)
at android.app.Instrumentation.callActivityOnCreate(Unknown Source:3)
at android.app.ActivityThread.performLaunchActivity(Unknown Source:376)
... 11 more
With standar patch you mention in notes:
java -jar cli.jar patch \
-b official-revanced.jar \
-b piko.jar \
-m integrations.apk \
-e "Unlock downloads"
-o out.apk input.apk
There are doubled patch which is Hide Recommended Users
like this:
You should add exeptions for that, e.g
java -jar cli.jar patch \
-b official-revanced.jar \
-b piko.jar \
-m integrations.apk \
-e "Unlock downloads"
-e "Hide Recommended Users"
-o out.apk input.apk
Either piko patch or revanced patch you excluded.
Can you add mod settings? Not every time patching with revanced
When ever I try to patch with custom download folder patch ends up failing with app.revanced.patcher.patch.PatchException: 'Custom download folder' depends on 'SettingsPatch' that raised an exception:
(see the txt file below for the whole error). If I remove this patch and try patching without, it fails with the same error but on a different patch.
info_memory_limit.txt
Add a patch and an option for change apk name for remove the problem of updating in the play store
I didn't notice any difference when enabling or disabling this option.
SwipeRefresh loading is gone, but it still jumps to the top of the timeline on app launch.
Twitter version : 10.41.0-release.1
Patches version : v1.29.0
Please I selected the patch for custom icon, and I noticed that this produces TWO app icons for X in my apps list—the stock icon and the custom one I selected.
Please how do I stop this from happening? I'm using the version 10.37.0-release.0
Thank you in anticipation.
Are there any plans to bring the patches to the upstream repository?
There is no add feature flag to turn on, but adding one will crash.
The functionality implemented by the feature flag works normally if it has been added, but clicking the feature flag in mod setting will crash.
Twitter v10.37.0 with latest patch dev9.
crash-com-twitter-android-18_04-08-14-52_572.zip
Could a patch be made where twitter won't auto refresh upon opening it.
Introduction: This is a port of an issue I submitted to revanced-patches.
In the latest Twitter apk, the code has changed and the background of messages I send via DM is still Twitter Blue (#ff1d9bf0) even after changing the definition in color.xml.
After much research I discovered that some of these colors are now defined in last classes.dex.
I would like to be able to change the color of these BGs as before, is it possible to apply "@android:color/system_accent1_400" & etc. in this code?
This is a premium feature, but if possible to remove without premium would be perfect.
I have 2 features requests: add search flags to search flaggs you added, and search flags to search compatible flags
Twitter compresses old tweets and it shows Show More tweets to open them up. Can you release a patch to stop Twitter doing that?
Currently there's a way of doing this is only by modifying an already modified by the patcher apk yourself, however it's a pretty timeconsuming and automating it via revanced patcher would be much preferable.
Hi
Thank You
Can add Features flags like twifucker?
i want this
explore_relaunch_enable_immersive_player_across_twitter
Like the title state the "Enable custom app icon and nav icon settings" patch doesn't show in Revanced Manger.
How can I build the app using RVX or revanced manager? I'm not comfortable with revancify.
When I tap on Mod settings the app is crashing, using Revancify rooted
Hello, would it be possible to have a roadmap in the description to see what's left until this is 1:1 with the existing mod? Just a simple checklist with emojis would work as well.
Thank you
Hi, I found that in the simplified chinese translation of twitter app, notification_settings_preferences_category was translated as tweets instead of Preferences.
Deleting notification_settings_preferences_category directly does not meet the requirements.
The flags section deletes the piko_title feature_flags in values-v21. Most translators did not translate this. Is it more appropriate to use piko_pref_feature_flags?
Add Show poll results
to mod settings like the other patches, and then add a toggle in the post's kebab menu to view the poll results.
I'm assuming many would rather not always see the results before voting on something, so having it hidden by default seems fair.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.