[MOD][XPOSED][NEW] Grindr Plus - Xposed Framework Modules

Grindr Plus - Extend the limits of Grindr!​I am pleased to present Grindr Plus, a mod for Grindr that adds new features to the popular dating app!
Precedents​A similar mod already exists (https://forum.xda-developers.com/t/mod-xposed-grindrmod-new.3807621/) although it hasn't been maintained for quite a long time.
Within the range of possibilities and options offered by the Xposed API, the main goal is to improve the experience in this dating app as much as possible.
I'm also implementing some features requested by users in official Grindr feedback (https://grindr.uservoice.com/forums/912631-grindr-feedback). Some requests are very simple to implement and today I do not understand why the official Grindr team has not been in charge of carrying them out, something that makes lots of people very angry. It is time for users to be heard once and for all.!
Little by little we will add more features. You can collaborate on the project and contribute your own ideas through my GitHub repository! https://github.com/ElJaviLuki/GrindrPlus
Mod Features​(Depending on the version of the client and module you're using, some features may not be available or may work buggy.)
Allow mocking locations (WARNING: Abusing this feature may result in a permanent ban)
Advanced features:
Unlimited cascade view.
Unlocked 'Explore mode'.
Advanced search filters.
See 'Read' and 'Typing...' message states.
Allow taking screenshots in any part of the app (including albums and expiring photos).
Unlimited expiring photos.
Remove expiration on incoming expiring photos, allowing to see them any number of times you want.
Extra profile fields in the so-called CruiseViewHolder ('Profile ID', and exact time of 'Last seen')
Make videocalls even if you didn't start a chat with the recipient.
Access to some user-hidden features (developer features)
More accurate online status from other users. (Now, the green dot from other profiles goes off after 3 minutes of inactivity.) Inspired in the feedback made at: https://grindr.uservoice.com/forums/912631-grindr-feedback/suggestions/34555780-more-accurate-online-status-go-offline-when-clos
Allow unlimited taps (no 24h restriction)
"N/A" when Last Seen profile field is not available (= 0)
New profile field: Body Mass Index (BMI)
Check client version before hooking (as a security measure for avoiding possible crashes and bans*)
Ability to see who viewed your profile even if you have "Show Me In Viewed Me List" disabled.
Ability to remove messages from anyone, any time.
*Read the Disclaimer!
Bugs​
Incognito mode is kinda buggy (it turns off after a little while)
How to install​
Install the Xposed Framework and its app (Xposed, EDXposed, etc.)
Download the Grindr Plus module.
Activate the module in the Xposed Installer.
Reboot your device.
Done!
Troubleshooting​My Grindr app suddenly stops when the module is installed.​Check if the module supports the app version. Grindr has lots of obfuscated symbols that change in each app update and the module couldn't work (or couldn't work properly)
Contributing​This project is open to any kind of contribution. Feel free to open an issue or a pull request or submit an issue or suggestion!
GitHub - ElJaviLuki/GrindrPlus: Making Grindr funnier than ever before!
Making Grindr funnier than ever before! Contribute to ElJaviLuki/GrindrPlus development by creating an account on GitHub.
github.com
Credits​As an open source project, you're free to inspire yourself from this code. However, please DON'T copy it and release it as your own (kanging). Give the proper credit and reference to the original project (https://github.com/ElJaviLuki/GrindrPlus) and its contributors.
Main contributor: https://github.com/ElJaviLuki
Additional credits in the Github repo (since I don't I will be able to edit this post, if new people join to the project)
Disclaimer​This module is neither affiliated with nor endorsed by the official Grindr app. It is provided for free with no warranty of any kind. Use at your own risk! I am not responsible for lost chats, user data, unexpected bans or any other problems incurred from the use of this module. This mod does not collect any personal data nor does it display ads of any kind. No earnings are generated or collected from the use of this software. This project is open source so you can check all these facts by your own!
Download​https://github.com/ElJaviLuki/GrindrPlus/releases <- THAT is the official download repo page for the mod.
Again: Make sure that the module version is compatible with your Grindr client version, otherwise you can expect bugs and/or crashes.
I am NOT responsible for any damage that may be incurred by downloading a modified version of this mod that could have been uploaded any website that is not THAT one (I mean that includes viruses, ads or other strange things).

ElJaviLuki said:
Grindr Plus - Extend the limits of Grindr!​I am pleased to present Grindr Plus, a mod for Grindr that adds new features to the popular dating app!
Precedents​A similar mod already exists (https://forum.xda-developers.com/t/mod-xposed-grindrmod-new.3807621/) although it hasn't been maintained for quite a long time.
Within the range of possibilities and options offered by the Xposed API, the main goal is to improve the experience in this dating app as much as possible.
I'm also implementing some features requested by users in official Grindr feedback (https://grindr.uservoice.com/forums/912631-grindr-feedback). Some requests are very simple to implement and today I do not understand why the official Grindr team has not been in charge of carrying them out, something that makes lots of people very angry. It is time for users to be heard once and for all.!
Little by little we will add more features. You can collaborate on the project and contribute your own ideas through my GitHub repository! https://github.com/ElJaviLuki/GrindrPlus
Mod Features​(Depending on the version of the client and module you're using, some features may not be available or may work buggy.)
- Allow mocking locations (WARNING: Abusing this feature may result in a permanent ban)
- Grant most of the Xtra and Unlimited features.
- Unlimited cascade view.
- Unlocked 'Explore mode'.
- Advanced search filters.
- See 'Read' and 'Typing...' message states.
- Allow taking screenshots in any part of the app (including albums and expiring photos).
- Unlimited expiring photos.
- Remove expiration on incoming expiring photos, allowing to see them any number of times you want.
- Extra profile fields in the so-called CruiseViewHolder ('Profile ID', and exact time of 'Last seen')
- Make videocalls even if you didn't start a chat with the recipient.
- Access to some user-hidden features (developer features)
- More accurate online status from other users. (The green dot from other profiles goes off after 3 minutes of inactivity.)
- Allow unlimited taps (no 24h restriction)
Bugs​* Incognito mode is kinda buggy (it turns off after a little while)
How to install​
Install the Xposed Framework and its app (Xposed, EDXposed, etc.)
Download the Grindr Plus module.
Activate the module in the Xposed Installer.
Reboot your device.
Done!
Troubleshooting​My Grindr app suddenly stops when the module is installed.​Check if the module supports the app version. Grindr has lots of obfuscated symbols that change in each app update and the module couldn't work (or couldn't work properly)
Contributing​This project is open to any kind of contribution. Feel free to open an issue or a pull request or submit an issue or suggestion!
GitHub - ElJaviLuki/GrindrPlus: Making Grindr funnier than ever before!
Making Grindr funnier than ever before! Contribute to ElJaviLuki/GrindrPlus development by creating an account on GitHub.
github.com
Credits​As an open source project, you're free to inspire yourself from this code. However, please DON'T copy it and release it as your own (kanging). Give the proper credit and reference to the original project (https://github.com/ElJaviLuki/GrindrPlus) and its contributors.
Main contributor: https://github.com/ElJaviLuki
Additional credits in the Github repo (since I don't I will be able to edit this post, if new people join to the project)
Disclaimer​This module is neither affiliated with nor endorsed by the official Grindr app. It is provided for free with no warranty of any kind. Use at your own risk! I am not responsible for lost chats, user data, unexpected bans or any other problems incurred from the use of this module. This mod does not collect any personal data nor does it display ads of any kind. No earnings are generated or collected from the use of this software. This project is open source so you can check all these facts by your own!
Download​https://github.com/ElJaviLuki/GrindrPlus/releases <- THAT is the official download repo page for the mod.
Again: Make sure that the module version is compatible with your Grindr client version, otherwise you can expect bugs and/or crashes.
I am NOT responsible for any damage that may be incurred by downloading a modified version of this mod that could have been uploaded any website that is not THAT one (I mean that includes viruses, ads or other strange things).
Click to expand...
Click to collapse
Fantastic work! Thank you for forking this project. I love you! <3

Works perfect on my OnePlus 7 Pro with KOSP 2.7 (A12.1)!
1 Crash of App but then no problems!

onoakino said:
Fantastic work! Thank you for forking this project. I love you! <3
Click to expand...
Click to collapse
This project was not forked from anywhere though haha

ElJaviLuki said:
This project was not forked from anywhere though haha
Click to expand...
Click to collapse
My mistake. I should've said thank you for starting this whole new project. Seriously, this mod is lit!

New release - v1.1​New features:
- "N/A" when Last Seen profile field is not available (= 0)
- New profile field: Body Mass Index (BMI)
- Check client version before hooking (as a security measure for avoiding possible crashes and bans*)
Releases · ElJaviLuki/GrindrPlus
Making Grindr funnier than ever before! Contribute to ElJaviLuki/GrindrPlus development by creating an account on GitHub.
github.com
* Read the Disclaimer in the first message!

ElJaviLuki said:
New release - v1.1
Click to expand...
Click to collapse
Thanks to your great work I now can enjoy (again) some extra features!
I installed version 1.0 without any problem. Today I tried to install new version 1.1 but to no avail. I'm using EdXposed 4.6.2 under Android 11/ Magisk 23.0. When I open your apk with the system app installer, Play Protect complains but it is possible to continue with the installation. However, a pop-up error message says that Grindr Plus was not installed. After de-activating Play Protect and trying again, the same pop-up error message appears again.
Should I de-activate and uninstall version 1.0 from EdXposed before installing v1.1?

Hi there! @Jvlc
Yeah, there was a problem when building the app, especifically the signature.
From now you should be able to update the hook without uninstalling the old version and then installing the new one manually. I replaced the releases. I recommend you to uninstall your current version and reinstall the new one manually this time (since I replaced the signature). Hope this won't be an issue!
Thanks!
Btw: This app is not in the Play Store (and obviously won't) so that is what might be triggering the Play Protect alert... Just speculating though. do you guys know how to fix this?

Thanks for the mod, hopeful I get the chance to use it.
Currently am device banned on my main device due to gps changing, do you have any suggested tweaks that can be used with your mod to circumvent that device ban? Thanks.

Laser422 said:
Thanks for the mod, hopeful I get the chance to use it.
Currently am device banned on my main device due to gps changing, do you have any suggested tweaks that can be used with your mod to circumvent that device ban? Thanks.
Click to expand...
Click to collapse
Hi there, @Laser422 !!
From my experience, what I can tell you is not to abuse this feature. Do credible movements and do NOT change the GPS location crazily: that is, you cannot be in France, Japan, Australia, Brazil and USA in less than 30 minutes (this will be a 90-95% probability of ban).
So far, I haven't had problems moving my GPS to nearby locations (around from 0 to 100 km around me). But again, don't teleport: that's not credible. Fake GPS must be used very punctually. Using it continuously even for short distances can also raise suspicions.
In any case, with Grindr Plus you have the 'Explore' mode enabled, with which you can move to any point on the planet without using Fake GPS and therefore not exposing yourself to the risks that its use implies for your Grindr account.
Hope this helps!

ElJaviLuki said:
Hi there! @Jvlc
Yeah, there was a problem when building the app, especifically the signature.
From now you should be able to update the hook without uninstalling the old version and then installing the new one manually. I replaced the releases. I recommend you to uninstall your current version and reinstall the new one manually this time (since I replaced the signature). Hope this won't be an issue!
Thanks!
Btw: This app is not in the Play Store (and obviously won't) so that is what might be triggering the Play Protect alert... Just speculating though. do you guys know how to fix this?
Click to expand...
Click to collapse
I upgraded my phone to Android 12 + Magisk + LSposed, and now your module (version 1.1) works perfectly well!

Jvlc said:
I upgraded my phone to Android 12 + Magisk + LSposed, and now your module (version 1.1) works perfectly well!
Click to expand...
Click to collapse
Happy to hear that!

Laser422 said:
Thanks for the mod, hopeful I get the chance to use it.
Currently am device banned on my main device due to gps changing, do you have any suggested tweaks that can be used with your mod to circumvent that device ban? Thanks.
Click to expand...
Click to collapse
This may be seem random, but are you using XPrivacyLua at all and do you have it activated for Grindr? It works great for privacy, but it doesn't play well with Grindr. I tested it out and when activated for Grindr it instantly threw up the banned screen on Grindr even though I was not actually banned.
Perhaps if that is your case, try disabling it (XPrivacyLua) temporarily and see what happens after that. Grindr does collect quite a large amount of data about it's users but I'm not sure XPrivacyLua prevents that as I didn't test it out for long but I know they track who you view and where from among other things, this is besides the who viewed you part of the app. They post the logs to 'https : //grindr . mobi/v3/logging/mobile/logs' with things such as this (only a small sample)
{
"id": 3600,
"name": "favorites_screen_viewed",
"timestamp": 1657769042553,
"params": {
"version_code": "8.11.0.99373",
"is_background": false
}
}, {
"id": 3601,
"name": "page",
"timestamp": 1657769060567,
"params": {
"version_code": "8.11.0.99373",
"type": "stop",
"page_name": "HomeActivity",
"is_background": false
}
}, {
"id": 3602,
"name": "view_profile_from_favorites",
"timestamp": 1657769060600,
"params": {
"version_code": "8.11.0.99373",
"is_background": false
}
}, {
"id": 3603,
"name": "screenshot_obs_noperm",
"timestamp": 1657769060608,
"params": {
"version_code": "8.11.0.99373",
"is_background": false
}
They track all your activities on there basically...

RobbieTechie said:
This may be seem random, but are you using XPrivacyLua at all and do you have it activated for Grindr? It works great for privacy, but it doesn't play well with Grindr. I tested it out and when activated for Grindr it instantly threw up the banned screen on Grindr even though I was not actually banned.
Perhaps if that is your case, try disabling it (XPrivacyLua) temporarily and see what happens after that. Grindr does collect quite a large amount of data about it's users but I'm not sure XPrivacyLua prevents that as I didn't test it out for long but I know they track who you view and where from among other things, this is besides the who viewed you part of the app. They post the logs to 'https : //grindr . mobi/v3/logging/mobile/logs' with things such as this (only a small sample)
{
"id": 3600,
"name": "favorites_screen_viewed",
"timestamp": 1657769042553,
"params": {
"version_code": "8.11.0.99373",
"is_background": false
}
}, {
"id": 3601,
"name": "page",
"timestamp": 1657769060567,
"params": {
"version_code": "8.11.0.99373",
"type": "stop",
"page_name": "HomeActivity",
"is_background": false
}
}, {
"id": 3602,
"name": "view_profile_from_favorites",
"timestamp": 1657769060600,
"params": {
"version_code": "8.11.0.99373",
"is_background": false
}
}, {
"id": 3603,
"name": "screenshot_obs_noperm",
"timestamp": 1657769060608,
"params": {
"version_code": "8.11.0.99373",
"is_background": false
}
They track all your activities on there basically...
Click to expand...
Click to collapse
Thanks for the response
I don’t have xprivacylua activated. Once dealing with a device ban, for whatever reason, I can’t figure out how to get around it. This mod doesn’t (and wasn’t intended to) aid in that.

Thanks a lot! I don't know if that's what your module is doing or is it just the older app version ( I used 8.6 till it forced me to update) but the incredibly annoying auto opening of keyboard when opening a profile does not happen.
EDIT Auto keyboard happens again for some reason. If it's possible, please make it go away
Also I would like to ask if you could make the dumb ads on top of message list dissapear

Jinnn92 said:
Thanks a lot! I don't know if that's what your module is doing or is it just the older app version ( I used 8.6 till it forced me to update) but the incredibly annoying auto opening of keyboard when opening a profile does not happen.
EDIT Auto keyboard happens again for some reason. If it's possible, please make it go away
Also I would like to ask if you could make the dumb ads on top of message list dissapear
Click to expand...
Click to collapse
As for the ads, look into using Adaway.

first of all thanks for resurrecting this mod ,will you please consider adding some theming option like pure black color and bubble style ?
thanks

.deleted.

onoakino said:
All features are working except the ability to keep the blocker's profile on inbox.
Click to expand...
Click to collapse
I don't think that's ever been a feature of this mod.

daekdroom said:
I don't think that's ever been a feature of this mod.
Click to expand...
Click to collapse
agreed. you're right. thank you for pointing that out. i'm deleting my original question so as not to bring people here from the outside looking for this non-existent feature i thought this mod has.

Related

Making "Stock" Custom ROMs Defunct (XposedFramework) - Tweaks for any ROM Version

Making "Stock" Custom ROMs Defunct (XposedFramework) - Tweaks for any ROM Version
Introduction
Recently it has dismayed me how, across the Android Community, people seem to feel that it's necessary to run a "Custom ROM" in order to get improvements and changes to your ROM. Of course, some of you know it's possible to modify the APK files directly to change things, but these changes need to be done every time your base ROM is updated. Once Samsung starts leaking out updates to 4.2 like a sieve, you guys will be all over them, needing to update your patches and tweaks every time.
Anyway, seeing this displeases me, as it encourages people to see "Custom ROMs" as a commodity, and something you consume. In essence, users were getting their "fix" of tweaks from their "chef", but not learning how to do it themselves, nor realising their beloved chef isn't doing anything magical. In fact, their chef is likely decompiling the applications, and using baksmali/apktool to take apart the app, hard-code in their changes, then rebuild it. This method has worked well for 3 years, but it's been in need of an update for some time.
The Enlightenment
Then I saw this thread by rovo89. That man deserves a beer for every Android user there is, for his work on the Xposed Framework! His and Tungstwenty's work on this has made it possible to modify the core Android system, without doing any actual modifying of applications.
OK... Why are you telling me this?
This invention seems to have pretty much gone unnoticed by the world. The reasons this is vastly superior to any other way of making modifications to apps and the system are:
Your modifications are not tied into a single version of the APK or app or framework. If the ROM is updated, the patch should still work perfectly on the new version of the app (this doesn't necessarily apply across major updates like 4.1 to 4.2, but should be fine across 4.1.0 to 4.1.2 style changes).
You are not actually modifying any files on the phone! If something goes wrong, you can just disable the support for the framework, and the tweaks will do nothing. As such, it's easier to get a working phone if something dies - in fact there is a ZIP placed on your SD for this very purpose. Just flash it in CWM and it will disable the framework.
As no actual files are being modified, it doesn't matter if your ROM is odexed, deodexed, or a bit of both (ie. certain apps deodexed, but frameworks odexed). With this, there is no reason to run a deodexed ROM, since you can change pretty much everything you want to without touching the raw files. So leave them as odex files and you'll not have any problems. Bear in mind we deodex to allow easier customisation, odexed is actually slightly faster, and removes the majority of the dexopt process on first boot.
No application signatures are modified, as the apps are not touched, so if you were to use this to modify an app like Maps or Gmail, you won't get issues when trying to update to a new version of the app via the market.
The only way this can succeed is for you to try it. I usually run a "custom ROM" on my phone. For the first time ever, I've been using a stock ROM for a significant period of time. On the Note2 in particular, Samsung is really getting good at this. But they're not perfect. And as such, I started to look at using this to perfect their work.
When you run a custom ROM, look at what you're getting, and ask yourself why it doesn't use this method. I've only made one little modification so far, but it's one that annoys me hugely! The blooming SMS -> MMS conversion when you try to write any form of prose in a text message. I cannot stand the limitation of SMS to 160 characters, so the ability to chain together messages is a godsend to me. Unfortunately though, Google and Samsung seem to like to restrict you to 3 SMS messages worth of text before converting to an MMS message. Which is wonderful, except when you have totally unlimited SMS, but pay for MMS. As such, I was finding my ability to communicate in my usual verbose way somewhat hindered by the messaging app.
Alas that is no longer an issue. If you want to get started, here's how.
OK... How do I use this?
Download and install the APK file from this post - http://forum.xda-developers.com/showthread.php?t=1574401. I have tested it on the N7100, it works fine. Run it, install the framework, grant it root (yes, this requires root!), and reboot. I have mirrored the APK below just in case of issues.
Download and install the APK modification you want from http://www.villainrom.co.uk/forum/microdownloads/
When you get a notification about enabling the modification (after the APK is installed), tap that notification, and enable the plugin by ticking the box.
Reboot your phone
Go test your modification
If you have any issues with this, please paste the contents of /data/xposed/debug.log on a pastebin site or in
Code:
tags.
[SIZE="5"][B]How can I make my own modifications like this?[/B][/SIZE]
Will post this a bit later, along with the source of this plugin.
[SIZE="5"][B]References[/B][/SIZE]
[url]http://forum.xda-developers.com/showthread.php?t=1574401[/url]
[url=http://forum.xda-developers.com/member.php?u=4322181]Tungstwenty[/url]
[url=http://forum.xda-developers.com/member.php?u=4419114]Robo89[/url]
[SIZE="5"][B]Sources[/B][/SIZE]
You can find the sources for Xposed Framework at [url]https://github.com/rovo89[/url]
You can find the sources for all Xposed modifications I have made so far on Github:
[url=https://github.com/pulser/xposedSMStoMMS]Disable SMS -> MMS Conversion[/url]
[url=https://github.com/pulser/xposedDisableBatteryFullAlert]Disable 100% Battery Notification[/url]
[url=https://github.com/pulser/xposedEnableCallRecording]Enable Call Recording[/url]
[url=https://github.com/pulser/xposedScrollingLauncherWallpaper]Enable scrolling wallpaper in stock launcher[/url]
[url=https://github.com/pulser/xposedEmailTextColour]Make text in email app message list clearer to read (lighter) on the black background[/url]
Install the Xposed Framework from this thread: http://forum.xda-developers.com/showthread.php?t=1574401
Modifications
OK so a few people suggested an addon repository... I have got one sorted
Downloads
http://www.villainrom.co.uk/forum/microdownloads/
I've added some of mine so far, but I won't add other people's - they can add them themselves, and maintain them
This system is vastly superior to a stickied forum thread, as you can update your own modification (as a developer), and as a user, receive notifications if a modification is updated.
Developers
Register for an account (Free, easy, no spam etc)
Go to http://www.villainrom.co.uk/forum/account/join-user-groups
Tick the option for Xposed Uploader, and hit Save. A request will be sent to me for your application. I'll approve it when I see it (should be quite fast, it gives me a popup)
Head back to http://www.villainrom.co.uk/forum/microdownloads/ and click the Upload button at the top right.
Use a general title that describes what your modification does. Put in a version string too. I tend to use the format 1.0, 1.1, 1.2 etc, but this is up to you. You can add Alpha or Beta or other designations if you wish.
For author, pop in your name or username. And enter a brief description of what the modification does (which will appear in the index)
Click Categories/Agreements, and select which category the modification falls under. If you think there's a category which should be added, let me know.
Under Full Description, you can enter a detailed description of your modification. Finally, under File Options, use File to Upload to select your APK file. You can optionally add an Image to Upload. The Use File URL should be set to no, and the File URL box left blank.
Users
There is no need to register an account to download files from the repository. If you wish to receive notifications of updates, you can register an account - just hit the red "Log in or Sign up" button - you can use a Twitter or Google account if you want, or just make a plain account. It makes no difference.
Head across to http://www.villainrom.co.uk/forum/microdownloads/ and have a look at the modifications you want.
Click watch file (at the bottom right) if you want notifications about updates to a modification
Click Report to report a modification for being malicious or problematic.
Click "add comment" to discuss or comment on the modification, or leave a "review" or feedback
Click on the stars under (0 votes) to leave a star rating on the modification, which will help generate most popular lists on the main page.
Click to see licence details of mine:
Feel free to use these as you wish, for non-commercial purposes. You may share these for personal use. Note that distribution in any kind of "package" or "custom ROM" is not personal use. Sending a friend a copy is personal use, feel free to do that and share the love.
Feel free to make changes to the source code of the modifications if you think you can improve them, provided you make your changes available in a similar manner. If you fix a bug or error, please send a pull request.
If you wish to use these commercially, please contact me. This includes in any "distribution package", be it a ROM, app, store, marketplace or other package. That's not in the spirit of this project, so get in touch with me and we'll discuss it.
Tl;dr:
End users, have fun, use these, enjoy them, share them, tweak them, just be sure to share your source changes and/or send a pull request if you improve something!
"Custom ROM" Developers, and anyone wanting to try to use these for commercial purposes: Don't. These are to encourage people to learn about these changes, so contact me if you want to do something else with them. Commercial use, including distribution in "Custom ROMs" is not permitted.
How to make your own such modification
This information is NOT complete. This example only uses 1 of about 10 different types of modification. I have spoken to rovo89 and he has said it would probably be possible to document this further. This example covers ONE usage case - I am going to override an entire method.
1. Create a new empty Android project in Eclipse.
2. Within the "application" section of your AndroidManifest.xml, add the following metadata:
Code:
<meta-data android:name="xposedmodule" android:value="true"/>
<meta-data android:name="xposedminversion" android:value="2.0rc1.*" />
3. Within the assets folder of the project, add a plain text file, "xposed_init". Within this, I have put
Code:
uk.co.villainrom.pulser.allowlongsms.AllowLongSMS
uk.co.villainrom.pulser.allowlongsms is the PACKAGE name of my Java package. AllowLongSMS is my class name. The purpose of this is to tell the Xposed Framework what to run.
4. Within AllowLongSMS.java (ie. the class name, with .java on the end), I put the following code:
PHP:
package uk.co.villainrom.pulser.allowlongsms; //this sets the package for our project, this is the first part of the value in xposed_init file in assets.
import de.robv.android.xposed.IXposedHookLoadPackage;
import de.robv.android.xposed.XC_MethodHook;
import de.robv.android.xposed.XC_MethodReplacement;
import de.robv.android.xposed.XposedBridge;
import de.robv.android.xposed.XposedHelpers;
import de.robv.android.xposed.callbacks.XC_LoadPackage.LoadPackageParam;
//above includes all the required parts of the xposed framework that we need here
public class AllowLongSMS implements IXposedHookLoadPackage { //here we declare the class AllowLongSMS. We say it implements IXposedHookLoadPackage, as we want to make use of the hook-in on package load. Other options are available here for working with native libs etc, and resources, but I'm not using these right now.
public static final String MY_PACKAGE_NAME = AllowLongSMS.class.getPackage()
.getName(); //this doesn't do anything, I just left it here for if I needed to write logs and wanted to have the package name easily accessible.
public static final String TAG = "PulserMmsTweak"; //same here, this doesn't do anything.
@Override //we are going to override the method handleLoadPackage, if it exists further up the hierarchy
public void handleLoadPackage(LoadPackageParam lpparam) throws Throwable {
//this method is called every time a package is loaded. We have a parameter that we're going to call lpparam, that is passed in, that relates to what package was loaded
if (lpparam.packageName.equals("com.android.mms")) { //if the package that has just been loaded is called "com.android.mms" then
ClassLoader classLoader = lpparam.classLoader; //create a classloader object that we can now use
XC_MethodReplacement methodreplacer = new XC_MethodReplacement() { //create a method replacer object, as we are going to REPLACE an entire method within the mms app.
protected Object replaceHookedMethod( //we make an object here, that passes in the parameters of what to actually change
XC_MethodHook.MethodHookParam paramAnonymousMethodHookParam)
throws Throwable {
return Integer.valueOf(255);
/* THIS IS THE IMPORTANT LINE
* This line returns the value 255. Why this happens won't make sense yet, but THIS is where you put your "new method" code.
*
*/
}
};
XposedHelpers.findAndHookMethod("com.android.mms.MmsConfig", //here we say that we want to find and hook into the method "getSMSToMmsTextThreshold" which is part of the class com.android.mms.MmsConfig. We then say that we're passing this to methodreplacer, which we defined earlier
classLoader, "getSmsToMmsTextThreshold", methodreplacer);
}
//if the package wasn't com.android.mms, do nothing.
}
}
Awesome work mate. Wish I had a Note 2 to check this on.
EDIT: Wait.. I can use this on any device! Rock on. Thanks!
Wow this is great post. While reading this it makes me learn something like what is going on in background.
Sent from my GT-N7100 using Tapatalk 2
Thanks for continuing that amazing project pulser!!
I think i'm going to create some small apks for some stuff very soon (and release them of course).
Cool stuff as always pulser, keep it up
simone201 said:
Thanks for continuing that amazing project pulser!!
I think i'm going to create some small apks for some stuff very soon (and release them of course).
Cool stuff as always pulser, keep it up
Click to expand...
Click to collapse
The original guys are not gone, was talking to them recently
There's scarce documentation so far on this, but I will see what else I can do with it... I might make post 2 a repository of these APKs for now...
chaitanya87 said:
Wow this is great post. While reading this it makes me learn something like what is going on in background.
Sent from my GT-N7100 using Tapatalk 2
Click to expand...
Click to collapse
That's the intention Glad it worked! This is about learning, and not just "using".
Sure, you can download the APK and use it, but that's no better than just downloading some zipkang ROM that claims it does everything including making your morning coffee... This is about taking a look at HOW it works too That way people can make their own tweaks and share them!
pulser_g2 said:
The original guys are not gone, was talking to them recently
There's scarce documentation so far on this, but I will see what else I can do with it... I might make post 2 a repository of these APKs for now...
Click to expand...
Click to collapse
A small repo for APKs would be really cool and useful for users....
tell me if i can contribute in some ways (i'm an app dev mainly also)
simone201 said:
A small repo for APKs would be really cool and useful for users....
tell me if i can contribute in some ways (i'm an app dev mainly also)
Click to expand...
Click to collapse
I will work something out (I can easily make a repository if this kicks off, so people can upload them and they appear).
TBH right now it's more a case of thinking up some ideas. For now, I can add anything people send into the second post (though I think it would be reasonable that we request source for all such modifications, just given the sheer ability to modify anything that this has...)
I can't think of enough things to tweak, we just need to work out WHAT people will like to modify, and implement it
I'll be a good example and put mine onto git shortly
My own notepad of things I need...
http://forum.xda-developers.com/showthread.php?t=1965801
http://forum.xda-developers.com/showthread.php?t=1924905
call record:
http://forum.xda-developers.com/showthread.php?t=1938808
http://forum.xda-developers.com/showthread.php?t=1871525
Hey folks,
I'm happy to see some new interest on Xposed.
I've been using it since rovo89 came up with this brilliant idea, and have to admit I was kind of sad to see not many saw its great potential.
Personally, I'm using a couple of hacks for my individual use, but if the community starts to be interested in the HOWs rather than merely nagging about the apks I guess I can try to make an effort to clean and share the code.
Please do ask away stuff, I'm eager to seeing this being used to its full potential
For now, please check the Tweakbox sources. While the code itself might no longer 100% apply to the most recent S2 stock roms, it's still a nice example of how the hacks can be done.
this sounds great! like an universal (almost!) patching system. I hope more chef will write mods for this. man...wish i had taken some lessons in coding.
for a start, how about some of the often repeated annoyance in stock samsung that drives many to use custom roms just to get these functions:-
1) disable the scrolling quick setting panel when you open notification
2) 15 toggles as implement by guys like Wanam.
3) call recording (ok we got this already)
4) 4 way reboot menu
5) some kind of user definable custom battery graphics.
sunwee said:
this sounds great! like an universal (almost!) patching system. I hope more chef will write mods for this. man...wish i had taken some lessons in coding.
for a start, how about some of the often repeated annoyance in stock samsung that drives many to use custom roms just to get these functions:-
1) disable the scrolling quick setting panel when you open notification
2) 15 toggles as implement by guys like Wanam.
3) call recording (ok we got this already)
4) 4 way reboot menu
5) some kind of user definable custom battery graphics.
Click to expand...
Click to collapse
Yeah this is pretty universal. I'd even remove the word "almost" tbh...
For 1, do you mean to disable the scroll animation so that it shows the leftmost icon (wifi) first?
2 is possible, I know samsung has done it on 4.2, is the custom implementation better?
3 is done like you said.
4 should be more than possible.
5 is definitely possible, at least via flashing the modification for the battery style you want...
Thank for the ideas
i flash custom rom just because i need below few things
1.Call-Record. (done)
2.15 toggle, or maybe add NFC, S Beam, Multiwindow, Smart Stay as well
3.Louder Volume Speaker.
4.CRT Lock and Unlock Screen.
5.4 Way Reboot.
6.Unlimited Multi-Window
thanks for the good work and sharing.
Hi. So glad to see that this amazing framework didn't "die"
I would have one question about the mods...
Ok its likely that for the same device they work on different bases of the rom like DLJ5, ELK4 am I right?
But does a mod that was made for lets say the Note 2 work on a SGS3 or must it be adapted?
Thanks !
DirkStorck said:
Hi. So glad to see that this amazing framework didn't "die"
I would have one question about the mods...
Ok its likely that for the same device they work on different bases of the rom like DLJ5, ELK4 am I right?
But does a mod that was made for lets say the Note 2 work on a SGS3 or must it be adapted?
Thanks !
Click to expand...
Click to collapse
If it's touchwiz then it should work - samsung seems to have unified a lot of it.
Jerdog used the SMS to mms patch fine on his s3.
It really just depends on the modification itself tbh...
If I would like to start writing my own mods is there somewhere a guide how to debugg the mod I write?
Thanks!
one more
can you add:
*:laugh:skip music track with volume button

[XPOSED][AD-BLOCKER] AdBlocker Reborn

This is the reborn version of Adblocker, which helps you block advertisements from various Ad-Network.
It can block advertisements in many aspects according to a pre-loaded-list, such as activities, views, hosts-based, webview-based, receivers and many many more.
It does not affect system hosts file, and does not conflict with it either. It also has whitelist feature so you can easily control it. You can also use it along with AdAway or other adblockers to extend its power, especially built-in app ads.
This module is being actively developed, and I will update it about every ten days. If you have any issues or want to contribute to the project, feel free to contact me via Github or XDA.
MOD EDIT
Numerous reports from users of certain devices that this module can disable things, cause erratic behaviour and other issues, have been reported.
Specifically, most of these seem to be related to users of Xiaomi's Mi-line of devices. In the case of these devices, the module can cause behaviour such as stopping the launcher and removing some options from settings, making the module difficult to remove.
Proceed with your own caution, and preferably a backup to restore if you encounter such erratic behaviours. This will also be posted in the OP of the thread.
There are varying alternatives that work well. This module has also NOT been updated at all lately, and it's recommended that users seek alternatives.
Download:
http://repo.xposed.info/module/com.aviraxp.adblocker.continued
Features:
- Activityies Block
- Views Block
- Hosts Block (Not affect system hosts file)
- WebView Block
- Services Block
- Receivers Block
- .............
Principle of Work:
I hook some fundamental classes and methods of Android system, check if they are included in a pre-loaded-list (maintained by me), and break the calling of these classes and methods if included. There might be some false positives so feel free to contact me.
FAQs:
- How does it work compared to AdAway and MinMinGuard?
AdAway modifies system hosts file to redirect some ad servers to local host, thus prevent from accessing them. MinMinGuard blocks some prebuilt app Ad providers from taking effect. My application have both of their features, and extends by blocking services and receivers.
- Where is the hosts' source?
Now, it covers Dan Pollock's hosts and some app specific blocking hosts. I am searching for good sources which is simple and effective. If you have some suggestions, feel free to let me know.
- Why does not it take effects to some browsers?
The reason is basically the same as unbeloved hosts. Some browsers have their own network solutions which conflict with the normal handling method. But for browsers which simply use original WebView loading method it works well.
- There are some false positives!
Contact me via Github or here. You can also use the whitelist feature. For element whitelist, just enable debug logging, find the element(activities, hosts, views...) according to a 'block success' line, and add them to the whitelist. Each element takes one line.
- I need to view ads for some reason.
Use the whitelist feature. However, some apps uses Android System WebView as an elements loader, so you should whitelist it too. But this will ramp down the power of blocking. I am working on a better whitelist feature.
- I want to donate to you for your work.
Use the PayPal donation option:https://www.paypal.me/wanghan1995315. But it will not make any difference or be a privilege for you. There is no such thing as advanced support.
- How can I contribute to you if I found something useful (hosts, Ad SDKs)?
I am working on a block list repo on Github. Feel free to open a pull request.
XDA:DevDB Information
AdBlocker Reborn, Xposed for all devices (see above for details)
Contributors
aviraxp
Source Code: https://github.com/aviraxp/AdBlocker_Reborn
Xposed Package Name: com.aviraxp.adblocker.continued
Version Information
Status: Stable
Current Stable Version: 1.5.1
Stable Release Date: 2017-03-13
Created 2017-02-11
Last Updated 2017-04-18
CHANGE LOG:
1.1.1:
- Fix an incremental bug which causes many false positives
- Add system apps protection
- Add shortcut block (all credits to apsun)
- Various Fixes
1.1:
- Add more builtin hosts
- Replace regular expression with Easylist rules to improve performance
- Tweak default preferences (Hiding is disabled and WebView Block is enabled)
- Introduce element whitelist
- Implement system framework apps protection
- Various fixes
1.0.2:
- Implement aggressive block toggle
- Add XDA link and PayPal donation
- Improve blocking effect by importing blacklist from AdScanner
- Address more false positives
Works flawlessly. Had some issues with MinMinGuard. I am currently using AdAway+Adblocker Reborn. Everything is perfect.
Version 1.0.2 has been updated. If you meet any issues feel free to contact me.
Sent from my OnePlus2 using XDA Labs
works perfect atm,thanks
works as expected. great
Thank you for your work. Could anyone confirm if this module impact (negatively) battery duration ?
IgorMarinho said:
Thank you for your work. Could anyone confirm if this module impact (negatively) battery duration ?
Click to expand...
Click to collapse
From my personal experience, it does not have any evident effect on battery. But to be honest, every exposed module will affect battery since the phone now has more work to do, which is implemented by the module. I will keep the battery consumption as low as possible.
Sent from my OnePlus2 using XDA Labs
Uhm what exactly is the reason I should use this. I just tested a website for adblock check, whereas adaway active lead to first pic.
Disable adblock and enable this tool and restart lead to the second one. So obviously the ad had not been blocked by this mod.
Is your mod for ads in games or how should i understand that?
Just a bit confused, sry
Awesome module
What can this xposed module/app do that THIS APP can't? Just curious, thanks!
@aviraxp thanks a ton!! Obviously does the trick especially when it comes to being redirected to a million other places then what I clicked on. In that sense, that is something that adway does not do no matter what host file/s I use as well as adguard and minminguard. There were a couple sites I just about swore off because it was impossible to do anything as far as a navigation goes but I can do as I like now thank you very much.
pieceofphil said:
Uhm what exactly is the reason I should use this. I just tested a website for adblock check, whereas adaway active lead to first pic.
Disable adblock and enable this tool and restart lead to the second one. So obviously the ad had not been blocked by this mod.
Is your mod for ads in games or how should i understand that?
Just a bit confused, sry
Click to expand...
Click to collapse
I guess you are using Opera, right? Opera has its own proxy solution and unfortunately it does not use the system web view, thus I cannot get it work with the same reason as UnbelovedHosts. I am still searching for more stable hooking methods.
Sent from my OnePlus2 using XDA Labs
@aviraxp Does this continuation of "pl.cinek.adblocker" ?
exodius48 said:
@aviraxp Does this continuation of "pl.cinek.adblocker" ?
Click to expand...
Click to collapse
Generally, yes. But his code only covers about 10% of this app. You can think this is a new app too.
Sent from my OnePlus2 using XDA Labs
aviraxp said:
Generally, yes. But his code only covers about 10% of this app. You can think this is a new app too.
Sent from my OnePlus2 using XDA Labs
Click to expand...
Click to collapse
Nice.
Just a feature request, hope this app can block all miui ads. :angel:
exodius48 said:
Nice.
Just a feature request, hope this app can block all miui ads. :angel:
Click to expand...
Click to collapse
Sadly I do not have xiaomi devices. For MIUI, you can use other tools like RootToolsNeo.
Sent from my OnePlus2 using XDA Labs
aviraxp said:
Sadly I do not have xiaomi devices. For MIUI, you can use other tools like RootToolsNeo.
Sent from my OnePlus2 using XDA Labs
Click to expand...
Click to collapse
Ah..ok, nevermind.
Just gave the module another go, still having the same issue.
I'm playing this game : Animation Throwdown the Quest for Cards, and i have minminguard installed and the game whitelisted, the game offers ads in exchange for some increased drop rates, and you have to click on the watch button for the ads to start, which in my setup works well.
When i install this module, activate, whitelist the game, reboot (exact steps), clicking the watch ads button in game does nothing, rebooting doesn't change anything.
Once i disable/remove the module and reboot i can run the ads again, haven't tried with other apps since i don't have any others with ads in them tbh.
ticktock666 said:
Just gave the module another go, still having the same issue.
I'm playing this game : Animation Throwdown the Quest for Cards, and i have minminguard installed and the game whitelisted, the game offers ads in exchange for some increased drop rates, and you have to click on the watch button for the ads to start, which in my setup works well.
When i install this module, activate, whitelist the game, reboot (exact steps), clicking the watch ads button in game does nothing, rebooting doesn't change anything.
Once i disable/remove the module and reboot i can run the ads again, haven't tried with other apps since i don't have any others with ads in them tbh.
Click to expand...
Click to collapse
I am addressing this issue, but I need more info. Does every time you click the ads it does nothing?
Sent from my OnePlus2 using XDA Labs

[CLOSED][APP][XPOSED][6.0+] XPrivacyLua - Android privacy manager [UNSUPPORTED]

XPrivacyLua
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Really simple to use privacy manager for Android 6.0 Marshmallow and later (successor of XPrivacy).
Revoking Android permissions from apps often let apps crash or malfunction. XPrivacyLua solves this by feeding apps fake data instead of real data.
Features:
Simple to use
Manage any user or system app
Extensible
Multi-user support
Free and open source
See here for all details, including installation instructions and download link.
Please read the frequently asked questions before asking a question.
This XDA thread is about using the latest version of XPrivacyLua. Off topic comments are allowed as long they are related to XPrivacyLua and are in the general interest of the followers of this thread, but anything not related to privacy is not allowed.
If XPrivacyLua doesn't work and/or when "module not running or updated" is shown, this is almost always caused by an Xposed problem.
Discussions about purchases are not allowed here, please contact me via here instead.
XPrivacyLua is being maintained and community supported, but new features won't be added anymore.
Custom hook definitions will always be part of XPrivacyLua, but there will be community support only. This means that I won't respond to questions about defining custom hooks anymore. See this thread for the reasons.
If you value your privacy, please consider to support this project with a donation or by purchasing pro features.
M66B said:
XPrivacyLua is not a permission manager, but a privacy manager. XPrivacyLua doesn't block things and doesn't revoke permissions, but does replace real data by fake data. This means you can grant Android permissions to an app and still let XPrivacyLua prevent the app from seeing privacy sensitive data. Revoking permissions can result in an app refusing to work and/or to crash. However, replacing real by fake data generally doesn't let an app crash.
Currently restrictions are quite crude because they mostly replace real data by no data. For example restricting the contacts app from getting contacts will result in an empty contact list. In the near future it might be made possible to select the data an app may see, for example just one group of contacts.
Click to expand...
Click to collapse
About feature requests and bug reports:
M66B said:
The goal is to have a tool that can properly protect the privacy of many in the near future. However, it isn't paid work, so I do whatever I like whenever I like it.
You can request features in this XDA forum. I will read them, but I will not respond to them and they might or might not be implemented. If I know for sure something will not be implemented, I will let you know.
You can report any problem you have here. There will be no issue tracker on GitHub.
Click to expand...
Click to collapse
M66B said:
For now I have decided to not implement restrictions that are useful to prevent tracking only. There are simply too many data items that can be used for tracking and it would take too much time to develop restrictions for all these data items.
The basic idea is to restrict only things that 'define' you, so which contacts you have, where you are, which apps you use, etc.
Click to expand...
Click to collapse
Namnodorel said:
Maybe we can widen the definition of things that the core of XPL covers to "What defines you, and what can be used to spie on you"? This would include camera/audio, but not tracking.
Click to expand...
Click to collapse
M66B said:
XPrivacyLua is pretty feature complete and will be maintained and supported and when there is a need new hook definitions will be added to better protect your privacy. For the rest this FAQ applies:
https://github.com/M66B/XPrivacyLua/blob/master/FAQ.md#FAQ4
As said before, development will also depend on Xposed development, which is just minimal unfortunately.
Click to expand...
Click to collapse
XDA thanks and donations are appreciated.
XPrivacyLua is supported with Xposed only. There is no support for VirtualXposed and TaiChi.
Even if old Xprivacy isn't supported on nougat, is it possible to keep it with new Lua too until Lua grow up? Or it is not recommended ?
Thank you
Orphee said:
Even if old Xprivacy isn't supported on nougat, is it possible to keep it with new Lua too until Lua grow up? Or it is not recommended ?
Thank you
Click to expand...
Click to collapse
Noooo! First post and it is asking about using Xprivacy on Nougat? That must be demotivating to the dev! It has been told too many times in the xprivacy thread that it is not recommended to use it on Nougat and above all IT IS NOT SUPPORTED!
Sorry for using capitals but let's hope everyone sees it and this thread stays on new Lua topic.
Greetings.
Wow, I was just scrolling through some stuff, stumbled into your repo for XPrivacy/Lua and couldn't believe what I saw! M66B is developing a new app as a replacement for XPrivacy... Thank you so much, you've totally made my day and pobably quite some time into the future as well! I'll definetely also buy/donate for this version as soon as I get to use it.
Just some technical questions:
Looks like you are going more modular with this new app, and you mentioned something about downloading additional (user-made) hooks. You also said you'd keep it much more simple this time to avoid high maintenance etc. Could these external hooks then allow to get the complexity back? I totally understand your motivation, but in-depth restricting of app permissions was something I really liked about the old XPrivacy, and if some user-made hooks would make that possible I'd use them. But they'd also need the ability to add new UI elements, and not just "This hook is about the method XY, execute this code before/after to block it and this code to enable it" for that to be possible.
Orphee said:
Even if old Xprivacy isn't supported on nougat, is it possible to keep it with new Lua too until Lua grow up? Or it is not recommended ?
Click to expand...
Click to collapse
I have just added a FAQ that answers this question:
https://github.com/M66B/XPrivacyLua/blob/master/FAQ.md
m66b said:
i have just added a faq that answers this question:
https://github.com/m66b/xprivacylua/blob/master/faq.md
Click to expand...
Click to collapse
5vp4096549363413x
Namnodorel said:
Wow, I was just scrolling through some stuff, stumbled into your repo for XPrivacy/Lua and couldn't believe what I saw! M66B is developing a new app as a replacement for XPrivacy... Thank you so much, you've totally made my day and pobably quite some time into the future as well! I'll definetely also buy/donate for this version as soon as I get to use it.
Just some technical questions:
Looks like you are going more modular with this new app, and you mentioned something about downloading additional (user-made) hooks. You also said you'd keep it much more simple this time to avoid high maintenance etc. Could these external hooks then allow to get the complexity back? I totally understand your motivation, but in-depth restricting of app permissions was something I really liked about the old XPrivacy, and if some user-made hooks would make that possible I'd use them. But they'd also need the ability to add new UI elements, and not just "This hook is about the method XY, execute this code before/after to block it and this code to enable it" for that to be possible.
Click to expand...
Click to collapse
For now I will concentrate on fixing bugs and building restrictions, which is of course the most important of all. Restrictions are indeed defined and written in Lua. Currently all restrictions are built-in, but later I might add a manager, so you can manage your own definitions. There might even be a repository, which could even contain definition for things not privacy related.
You can find the current definitions here (hooks.json contains the definitions).
Just donated. More to follow along the way. Thank you!!
blackhawk_LA said:
Noooo! First post and it is asking about using Xprivacy on Nougat? That must be demotivating to the dev! It has been told too many times in the xprivacy thread that it is not recommended to use it on Nougat and above all IT IS NOT SUPPORTED!
Sorry for using capitals but let's hope everyone sees it and this thread stays on new Lua topic.
Greetings.
Click to expand...
Click to collapse
"XPrivacyLua is supported on Android 6 Marshmallow and later" you're either lying or it's a misstatement on the repo.
Also can somehow explain to me (I just switched to Android), what Lua is (if not a programming language)?
OgreTactic said:
"XPrivacyLua is supported on Android 6 Marshmallow and later" you're either lying or it's a misstatement on the repo.
Click to expand...
Click to collapse
I don't see why that is a lie or misstatement, so, could you please explain why you think it is?
Edit: I have changed the wording of the opening post a bit, so it is clearer that "Android 6 Marshmallow and later" applies to XPrivacyLua and not to XPrivacy, assuming this is what you meant.
OgreTactic said:
Also can somehow explain to me (I just switched to Android), what Lua is (if not a programming language)?
Click to expand...
Click to collapse
See this comment.
OgreTactic said:
"XPrivacyLua is supported on Android 6 Marshmallow and later" you're either lying or it's a misstatement on the repo.
Also can somehow explain to me (I just switched to Android), what Lua is (if not a programming language)?
Click to expand...
Click to collapse
Some people...
Glad to see Xposed Module development is still alive!
Thx a lot for building and developing this app.
After I've selected some apps I get an error:
XLua.Main:android.os.DeadObjectException:Transaction failed on small parcel; remote process probably died
Things that I would appreciate in future releases:
- More restriction-types like: Network connection, Telephone number/sim-operator, Serialnumber, installed apps/services, accounts
- Is it possible to hide disabled apps from the list?
- Is it possible to decide when an app will request for example the location to allow or deny the request?
th4_c0r3 said:
Thx a lot for building and developing this app.
After I've selected some apps I get an error:
XLua.Main:android.os.DeadObjectException:Transaction failed on small parcel; remote process probably died
Click to expand...
Click to collapse
Can you please capture a logcat? If not, the problem might be visible in the Xposed log as well.
Edit: where exactly do you see this error?
th4_c0r3 said:
Things that I would appreciate in future releases:
- More restriction-types like: Network connection, Telephone number/sim-operator, Serialnumber, installed apps/services, accounts
- Is it possible to hide disabled apps from the list?
- Is it possible to decide when an app will request for example the location to allow or deny the request?
Click to expand...
Click to collapse
Disabled apps are hidden from the list by default.
First: thanks for the release and minimal UI of this app.
Just one request if it is possible. Would it be possible when you start ironing out the features to include a randomisation to some privacy information. Like my main coordinates for GPS are 33N 112W. If the app could randomise the rest so the app knows my general location but not accurately as 1m?
Edit: a good reason for this is for apps like speedtest.net. it grabs GPS to find a close server. When I restrict, closes server is in NY. I don't mind if it knows I live in AZ, heck, XDA knows I live here, but knowing my exact location is bothering.
M66B said:
Can you please capture a logcat? If not, the problem might be visible in the Xposed log as well.
Edit: where exactly do you see this error?
Click to expand...
Click to collapse
The error occurs every second time I open the app and it's shown in the bottom of the app. In the Xposed log there isn't a XLua-Error.
I've sent you the logcat via email.
M66B said:
For now I will concentrate on fixing bugs and building restrictions, which is of course the most important of all. Restrictions are indeed defined and written in Lua. Currently all restrictions are built-in, but later I might add a manager, so you can manage your own definitions. There might even be a repository, which could even contain definition for things not privacy related.
Click to expand...
Click to collapse
Thank you for your answer, but I'm still kinda missing what I wanted to know: Could hooks potentially add custom UI and/or save data? I'd imagine something like saving a list of contacts and when an app requests the contact list selecting this specific list to be returned.
Namnodorel said:
Thank you for your answer, but I'm still kinda missing what I wanted to know: Could hooks potentially add custom UI and/or save data? I'd imagine something like saving a list of contacts and when an app requests the contact list selecting this specific list to be returned.
Click to expand...
Click to collapse
Yes, that would be possible. When there is a need, I will add APIs that can be used in Lua to save data in a structured way into the XPrivacyLua database, so anyone wanting to develop a new hook definition doesn't have to worry about how to do this. In fact this has already been prepared.
M66B said:
I don't see why that is a lie or misstatement, so, could you please explain why you think it is?
Edit: I have changed the wording of the opening post a bit, so it is clearer that "Android 6 Marshmallow and later" applies to XPrivacyLua and not to XPrivacy, assuming this is what you meant.
See this comment.
Click to expand...
Click to collapse
Oh okay, thanks. So I can't use the current XPrivacy (on the PlayStore) on Nougat S8? I hope I can if not, I'll wait for the XPrivacy L.
It's crazy that Android forces privacy breaching (violation is an accurate word use) "services", processes and apps at it's core. If I were to learn to use Android enough is it possible to prevent it, like it's the case on iPhone, well in appareances because when you jailbreak it you can see all the processes, but it's clearly not in completely forcing this violation of your data, be it just with the permission management that NO apps can require or force on you to run, which to me absolutely crazy that it's the case on Android.
OgreTactic said:
Oh okay, thanks. So I can't use the current XPrivacy (on the PlayStore) on Nougat S8? I hope I can if not, I'll wait for the XPrivacy L.
It's crazy that Android forces privacy breaching (violation is an accurate word use) "services", processes and apps at it's core. If I were to learn to use Android enough is it possible to prevent it, like it's the case on iPhone, well in appareances because when you jailbreak it you can see all the processes, but it's clearly not in completely forcing this violation of your data, be it just with the permission management that NO apps can require or force on you to run, which to me absolutely crazy that it's the case on Android.
Click to expand...
Click to collapse
As M66B said in the Xprivacy Thread:
M66B said:
An absolute privacy fix is turning your device off. XPrivacy is an best effort attempt to fix the most important privacy problems, like exposing your location and contacts.
Click to expand...
Click to collapse
What you could do, at least that's what I do, is to disable services (look for DisableService in PlayStore) and/or restrict as much as possible via the privacy settings (depending on ROM). For example I deny Google services the location rights and only switch them on when needed.
Also there are possibilities to run your phone without any Google services at all. Search for MicroG.
But you have to understand, that using an Android device is going to violate privacy in one form or another. Same goes with Windows and Apple devices...
I don't like it at all but that's just what the world has become. If you want to use Google Services you kinda have to accept that you can't (at least not with simple fixes) protect your whole privacy. It sucks, but that's just what it is...

[XPOSED][MOD] Twitter Ad Eater

Twitter Ad Eater is a module for the Xposed/LSPosed framework that attempts to remove ads from the Twitter Android application.
Currently tested on Android 11 / latest LSPosed but should work on other versions as well.
Downloads: https://github.com/ppawel/twitter-ad-eater/releases
Source code: https://github.com/ppawel/twitter-ad-eater
Report issue: https://github.com/ppawel/twitter-ad-eater/issues
Thank you! Can confirm this works with the latest EdXposed 0.5.2.2_4683.
Working with Android 11 / EdXposed 0.5.2.2_4683 / OP5T
May I post a feature request?!
It seems you are filtering out all the views containing the string "promoted". Could you like add an option for custom strings?!
For example, I really don't wish to see k-pop news popping up on my trending page! So I could add the string "K-Pop" (is it case sensitive?)
Cheers!
ChesterXXX said:
Working with Android 11 / EdXposed 0.5.2.2_4683 / OP5T
May I post a feature request?!
It seems you are filtering out all the views containing the string "promoted". Could you like add an option for custom strings?!
For example, I really don't wish to see k-pop news popping up on my trending page! So I could add the string "K-Pop" (is it case sensitive?)
Cheers!
Click to expand...
Click to collapse
The code searches for the "promoted" string in the view id, not in the content of the tweets. It is really hard to find out exactly the content of the tweets because the structure of the Twitter app UI is very complex and also the whole app is scrambled with ProGuard, so it's not easy to reverse-engineer anything.
I will add your request to the TODO list and keep it in mind in case I will find a way to get tweet content.
ppawelppawel said:
The code searches for the "promoted" string in the view id, not in the content of the tweets. It is really hard to find out exactly the content of the tweets because the structure of the Twitter app UI is very complex and also the whole app is scrambled with ProGuard, so it's not easy to reverse-engineer anything.
I will add your request to the TODO list and keep it in mind in case I will find a way to get tweet content.
Click to expand...
Click to collapse
these feature will be too strong. imagine opening elon's tweet replies without bitcoin and youtube links. btw awesome moves dev thanks
Yeah, looking forward to the potential new features. Any updates coming soon, @ppawelppawel? I'm pretty much glued to your Github looking for changes.
Sorry, been busy with work in the last few weeks, but will try to add some more filtering features soon.
just want to throw out there that I love this module, it's so simple yet so effective because nothing else removes the ridiculous promoted ads (tried dns level blocking & minminguard). on a side note, I wish we had a module to remove the same type of ads in the official reddit app, but that's wishful thinking.
Does the app work on Android 8? I can't install in on my phone running Oreo now.
Not sure if it will work but LSPosed at least supports Android 8.1 so I will try to release a version with proper SDK requirements so you can try it out - right now at least Android 10 is required by the apk I think.
thirtythr33 said:
just want to throw out there that I love this module, it's so simple yet so effective because nothing else removes the ridiculous promoted ads (tried dns level blocking & minminguard). on a side note, I wish we had a module to remove the same type of ads in the official reddit app, but that's wishful thinking.
Click to expand...
Click to collapse
Thanks for the feedback. Yes, the module is quite simple but there is one flaw - if you scroll up and down your timeline, you will notice that the whole view is jumping around, like it skips one or two posts sometimes. This is because the way the module works - it hides the posts that are ads and it is visible when you scroll.
It would be much better to take out the ads before they get added to the timeline view but it's very complicated to figure out how the Twitter app works as everything is obfuscated and it's a huge code base to analyze.
Anyway, thanks again, glad you enjoy it.
xymopen said:
Does the app work on Android 8? I can't install in on my phone running Oreo now.
Click to expand...
Click to collapse
New version released which should be installable on Android 8.1 (SDK 27).
Release v1.3 · ppawel/twitter-ad-eater
Lowered minimum SDK version to 27 (Android 8.1) - this aligns it with the minimum Android version supported by LSPosed. Now it should be possible to at least install the module on lower Android ver...
github.com
Can't go lower than that because of LSPosed compatibility.
ppawelppawel said:
Thanks for the feedback. Yes, the module is quite simple but there is one flaw - if you scroll up and down your timeline, you will notice that the whole view is jumping around, like it skips one or two posts sometimes. This is because the way the module works - it hides the posts that are ads and it is visible when you scroll.
It would be much better to take out the ads before they get added to the timeline view but it's very complicated to figure out how the Twitter app works as everything is obfuscated and it's a huge code base to analyze.
Anyway, thanks again, glad you enjoy it.
Click to expand...
Click to collapse
I really do not even notice the jumping around, but its a small price to pay for no promoted nonsense. thanks dev
ppawelppawel said:
New version released which should be installable on Android 8.1 (SDK 27).
Release v1.3 · ppawel/twitter-ad-eater
Lowered minimum SDK version to 27 (Android 8.1) - this aligns it with the minimum Android version supported by LSPosed. Now it should be possible to at least install the module on lower Android ver...
github.com
Can't go lower than that because of LSPosed compatibility.
Click to expand...
Click to collapse
Thanks for your work. Works on Oreo with LSPosed without problem!
Any updates planned? Hoping this isn't abandoned again like the old Twitter ad killer.
I hope updates will come when necessary, but for now it works fine!
Is it not possible to do this using something like adaway?
Thanks. It works fine on android 11 .
It works fine if you're scrolling down, but try to scroll up on the feed and Twitter will jump all over the place. It gets the job done, but could use some improvement.
Works perfectly on Android 11, thanks

[CLOSED] [MOD][XPOSED][GrindrPatcher]

Mods, can you please delete this thread...thank you.
RobbieTechie said:
Here is an Xposed Module for hooking Grindr to fix a few bugs, and deal with ads and other things, given those have made the app almost unusable...
These will change over time / need to be updated as new versions of Grindr get releaseed, this currently works with 8.10.0 which is now rolling out.
-This should allow you to unsend messages multiple times (a feature of the XMPP Protocol used by Grindr) as long as they were relatively recent messages
-This should also allow you to send as many expiring photos as you wish.
-This should block / remove most ads but not all of them on it's own (more info on this will be shared below...)
-This should allow you to use FakeGPS
-This should fix bugs where some filters were not working as they should
-You should be able to enable the "mark who I've chatted with" option, which before would pop up ads
This will not enable things such as disabling the VPN check (someone complained about this where I was posting before) If I enable this I will let you know, but for now it's not in here
I WILL NOT help you troubleshoot device specific problems, I am releasing this as an Xposed module, and that's where it's been tested, It has also worked under EdXposed and LSPosed but I cannot guarantee this for you, and you are on your own if you have problems with those. I have tested this on everything from Android 5 to Android 10, I have not tested on the newest versions of the Android OS but if you have XPosed or other way of running such modules on the newer OS it should work.
This will make your grid look like it's Unlimited, but if you scroll down to that area and select one of those profiles it may load the first profile in the grid, The main reason for this module was to deal with the annoyance of ads and other slight bugs in the program, if you have issues please share what they are and what did / didn't work properly.
TO REMOVE MORE ADS
----------------------------------
If you can run XPosed I will assume you have root access, which will allow you to remove ads completely with this method. Grindr processes "features" and the list inside the app is as follows
Subscriber,
FreeTrial,
HideBannerAds, <====
HideFullScreenAds, <====
UnlimitedFavorites,
UnlimitedBlocks,
MyTypeFilters,
PhotosOnlyFilter,
OnlineNowFilter,
FaceOnlyFilter,
AlbumsOnlyFilter,
HaventChattedFilter,
ChatRemoteProfiles,
TapRemoteProfiles,
SavedPhrases,
HaveChattedHighlight,
LongCascade,
TapFilters,
SendMultiplePics,
MoreChatGroups,
LastChattedTimestamp,
ChatReadStatus,
MultiTribes,
Incognito,
ViewedMeCascade,
ViewedMeTimestamp,
UnsentMessage,
UnlimitedCascade,
TypingIndicator,
CreateVideoCall,
VideoCallMonthlyCalculateLengthMedium,
TranslateMessage,
UnlimitedExpiringPhotos,
HideXtraStore,
HideUnlimitedStore,
ShortCascade,
MediumCascade,
MoreGuysCascade,
DisableScreenshot,
Boosting,
ABTestViewedMeCascadeLabelFront,
ABTestViewedMeCascadeLabelBehind,
NewWarnings,
LongTagCascade,
UnlimitedTagCascade;
It also processes some "features" through a file called "jwt_features_fallback.xml" which is located in "/data/data/com.grinderapp.android/shared_prefs" normally this files looks like this:
---------------------------------------------------------------------------------------------------------------------------------------------------------------
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<long name="session_expiration_time" value="1654228104000" />
<string name="session_features_fallback">CreateVideoCall,,MaxViewQuota5,,MultiTribes,,PushPreview,,VideoCallDailyFree</string>
<string name="session_roles_fallback"></string>
</map>
---------------------------------------------------------------------------------------------------------------------------------------------------------------
If you add the "features" in there HideFullScreenAds and HideBannerAds that will remove the remaining ads so you have a hassle free experience when using the app. These changes only last one hour, and this patcher does not adjust that file as this is currently beyond my knowledge and know-how so you will have to do this manually. If you have questions, please try something and if you need help please ask and I will respond as time permits or others can if they have fixed problems and know how.
Click to expand...
Click to collapse
Thanks for making this mod. But.. will Grindr not block your account after using this?
Thanks for this MOD!
All I need and wanted!
@innit Nope your account will not get blocked, I use Grindr MODs since years and nothing happend so far
Hirs_E_Fruit said:
Thanks for this MOD!
All I need and wanted!
@innit Nope your account will not get blocked, I use Grindr MODs since years and nothing happend so far
Click to expand...
Click to collapse
I hope I won't get banned like some guys who used a similar mod before. Once they block you, there's practically no way of getting your account reinstated.
So far it works as intended. No ads whatsoever, filters and cloud backup work, more guys visible in the cascade.
Any chance of making it possible to see more than 1 visitor?
My phone S20 Ultra with Android 12, latest Magisk Alpha and LSposed 1.8.3 (6565). When using LSposed you need to add Grindr to the scope list to make the mod work.
{Mod edit: Italic part edited - Oswald Boelcke}
innit said:
I hope I won't get banned like some guys who used a similar mod before. Once they block you, there's practically no way of getting your account reinstated.
So far it works as intended. No ads whatsoever, filters and cloud backup work, more guys visible in the cascade.
Any chance of making it possible to see more than 1 visitor?
My phone S20 Ultra with Android 12, latest Magisk Alpha and LSposed 1.8.3 (6565). When using LSposed you need to add Grindr to the scope list to make the mod work.
Click to expand...
Click to collapse
There are many things possible, the issue is figuring out what needs to be done to make the viewers list show up. I have looked at the code slightly but have not made much progress there yet. If you use Jadx you can view the code in the APK if anyone is wondering what tools I've used, that is one of the main ones for viewing various parts of the apk file.
innit said:
I hope I won't get banned like some guys who used a similar mod before. Once they block you, there's practically no way of getting your account reinstated.
So far it works as intended. No ads whatsoever, filters and cloud backup work, more guys visible in the cascade.
Any chance of making it possible to see more than 1 visitor?
My phone S20 Ultra with Android 12, latest Magisk Alpha and LSposed 1.8.3 (6565). When using LSposed you need to add Grindr to the scope list to make the mod work.
{Mod edit: Italic part edited - Oswald Boelcke}
Click to expand...
Click to collapse
Hello and good morning, @innit
I'd like to inform you that I've very slightly edited your post and changed those words, which were in violation of rule no. 2 of the XDA Forum Rules; however, I'm convinced that my change didn't alter the information you intended to pass. I'd appreciate if you watch your language closer in future.
Additionally and although I'm convinced you didn't mean it that way, the words you initially used could at the first glace been easily referred to the moderators team of this website. I guess we want to avoid this.
Regards
Oswald Boelcke
Senior Moderator
MOD ACTION:
Thread closed as per OP's request.

Categories

Resources