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.
Related
Well, I’m sure that it isn’t a secret for anyone, CM7 has been and still is my favorite rom for my Defy(s). I’ve been using it since the day Quarx’s brought IP Tables support to it – hence allowing me to use Droidwall as an Android firewall. I could then selectively allow/deny internet access to any installed app [having internet access permission that is…]. This is a first and important security step, but like anything, this has limitations; apps that do ‘really’ need internet access are then free to send (and receive) whatever their Android permissions allow them to get a hand on. For that, CM7 has a neet feature called ‘permissions management’ that allows you to control each app’s permissions individually. This option works fine BUT the problem is that the apps that you control that way often lose functionalities, stop working altogether or even throw you an error message telling you that the app’s permissions have been altered and that you will not be able to use it unless you reset them.
So how to solve this potentially very critical security flaw without losing apps functionality? ==> PDroid.
Thanks to xda user measel, I’ve just recently discovered this wonderful piece of software and I don’t think that my Defy will ever live without it from now on. The app itself is not really a new one and I’ve decided to create this thread to spread to word around and in the hope that it will be helpful to other Defy owners conscious about their data privacy.
WHAT IT DOES:
• More than just blocking apps Android permissions, it lets you control each individual app’s access to private information (user + system);
• It allows you to block and, in some cases, let you either use random or custom private data;
• It will also (if desired) warn you on any root or privacy info access, all that with an easy to figure out and use user interface [see pics];
• And best of all, applications will not crash when their access to private data is blocked unlike with Permission Denied (using LBE Privacy or alike or with CM7).
Disclaimer: I’m only the messenger and I take no credit or responsibility for anything that you’ll do with your phone from here on.
HOW TO:
Original thread by the dev [go have a read and give your thanks to svyat]
Pre-requisites:
- Make sure that you did not use Titanium Backup to integrate sys Dalvik into the rom [if you don’t know what that means, chances are that you didn’t; ignore it];
- a PC running Windows;
- a CM7-jordan/Jordan-plus build;
- PDroid patcher v1.31 (v1.27 also work but the latest version (v1.32) from the link above doesn’t work for the Defy. So I’m attaching v1.31 here which I’ve found with a little digging through that thread;
- the PDroid.apk itself [Market link] or [Dropbox link from the dev];
=> If you don’t have access to a PC running Windows or just don’t want to go through the trouble of patching process described below, you can head over to measel’s CM7 nightlys | info collection thread and locate the build you are using; he was kind enough to provide us with patches for most of recent Jordan builds. So go and grab your applicable patches and give thanks to him.
=> If you’re running CM9 or CM10, this patcher will not work for you, but there are alternatives - namely: the ‘auto-patcher’ or even the PDroid v2 [I’ll give links to those later]. Just go read the last few pages of the original thread, there are quite a few mentions/redirections to those over there. [please don’t ask me about questions about those as I did not try them just yet]
Note: PDroid is an ongoing but currently ‘on hold’ project [because, like someone said before: devs sometimes have a life outside Android...] which works perfectly fine as it is if you follow the next few steps below.
Zero off: Make a nandroid backup of your current phone setup.
First off: Create the patch for your rom:
To work, PDroid first needs you to mod 3 framework files and push them onto your phone. To do so, all you need to do is to execute the PDroidPatcher.exe. file [extract it from the zip attached] and point it to the CM7 build you are using. Let it do its thing and it will create a CWM recovery flashable zip and an undo (RESTORE) one.
Second: Flash the patch:
Just boot into recovery, wipe cache and dalvik and install the patch and boot up.
Third: Install the apk
That’s it!, you’re now ready to go your list of installed apps and start controlling your privacy accesses.
Warning: again, go read the original thread for a how to on how to backup your PDroid settings and/or use TB to do so.
HOW TO USE:
Well, it’s all pretty obvious and with a bit of common sense, you will easily figure out how and what to set up. By default, nothing is blocked and apps are free to access data. So you’ll have to go through your list of installed apps and set up each individual data access and then try them out. For example, logic would tell us not to block the ‘GPS/Network Location’ data to maps related apps nor block ‘Accounts credentials’ to apps dealing with user IDs and passwords like Email or social apps.
I can’t give you detailed instructions here (it’s not the point of this thread anyway), but if like me you already use Droidwall, you can first leave alone all the apps that you’ve black listed for internet access [pic 2] since they won’t do anything with your private data if they can’t send it back home… There is also an option within the app to ‘hide all the safe apps’ [which do not have an internet permission]; check it to reduce the size of your list of apps to configure.
From experience, I’d also suggest you to keep an eye on the apps requiring a password to run since blocking Device or Subscriber ID might mean that you’ll have to always enter passwords each time you run the app that would otherwise be remembered by those apps. As a rule of thumb, I pretty much choose the ‘use random’ option whenever it is available (just to minimize problems with the app on blocking completely – I’m not even sure this is a valid argument here…) or block everything else when it’s not and finally, I leave ‘Network Info’ allowed since it basically only lets apps know if you connected to internet or not [who cares if they get your wifi’s SSID or not…].
But again, you’ll have to fine tune the whole thing for each and every app and run them to check for full functionalities – but at least they won’t crash on you… Finally, you can pinpoint potential problems/solutions by turning off the general PDroid notifications option and by turning on a specific app’s ones [pic 3].
Happy privacy enhancement!
/AL
As usual!
Quality guides from lovely []AL[]
I don't want a tapatalk sig!
nogoodusername said:
As usual!
Quality guides for lovely []AL[]
Why not move to Android Apps forums?
I don't want a tapatalk sig!
Click to expand...
Click to collapse
"lovely AL" wow! you surely are the first person to tell me anything like this here on xda.
..not sure if I should be flattered or run away by homophobia - hehehe! :laugh:
Well, I didn't mean to make it a guide when I started writing it, but like always I had things
to say and the post got longer and longer.. so I guess that we can call it a sort of guide...
But I truly like the app and believe that along with Droidwall, that should be installed on every phone.
In fact, Google should look at this and incorporate something similar into Android.
OK, I'll go reply to your PM now... cheers!
Edit for your question: because like I wrote in the OP, I'm just the messenger and not the dev of the app.
The app also works mostly for on phones running CM7 and even not all the phones support it either.
So I wouldn't publish this widely without at least asking permission to the dev. But here for Defy owners fellows,
I know it works fine and again, I think that it is pretty much an essential app to have.
9 downloads/1 thank;
Leeches, I see leeches everywhere!
Shhhiiiiii- You got me excited! I thought I'd find a patch for the Quarx rom! So far auto-patcher can't patch Quarx's CM10 roms. Nor do I understand why that's so but that's why I'm not a dev.
Excellent app
Arch Linux User ..
KicknGuitar said:
Shhhiiiiii- You got me excited! I thought I'd find a patch for the Quarx rom! So far auto-patcher can't patch Quarx's CM10 roms. Nor do I understand why that's so but that's why I'm not a dev.
Click to expand...
Click to collapse
Well... sorry to hear that; I had no clue that it doesn't work with Quarx CM10. It seems to work for some other JB builds/phones... But like I wrote on the OP, I haven't tried any of this on CM9/JB yet. So again, too bad that this thing is a no go for now. I hear that Quarx is very busy outside Android's world as of lately so it might not be a good time to ask him about this - might also be low on his priority...but who knows, someone might read this and find an answer for you.
ps: quite an avatar you got there :silly:
an thanks for the link to the auto-patcher thread; it might be useful to others and it'll save me the search when I update the OP with it and your comment eventually...
juan296 said:
Excellent app
Click to expand...
Click to collapse
Well thanks but again, just I'm just a messenger here and not the dev... :highfive:
Actually, I use DroidWall , so.. can uninstall this app? And right now, JUST USE pdroid! Right?
Arch Linux User ..
juan296 said:
Actually, I use DroidWall , so.. can uninstall this app? And right now, JUST USE pdroid! Right?
Click to expand...
Click to collapse
I still use both...they are quite different apps and don't do the same at all. Droidwall is a firewall that let you control if an app has access to internet or not; PDroid controls what private information each app can access.
Like I wrote on the OP, any app that is blocked by Droidwall doesn't need a PDroid setup, but apps that need internet connection could be free to get private information from your phone if you don't use PDroid...
Basically, PDroid has no way of blocking all internet access; it only blocks apps from reading private info (or scrambles it by returning info like random network location or sim ID#...)
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
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...
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
Since M66B decided to discontinue support for XPrivacyLua and the official thread was closed I'm starting this unofficial thread to continue discussing the module.
It currently works up to android 13 with LSPosed.
Source code can be found at the author's github https://github.com/M66B/XPrivacyLua
FAQ https://github.com/M66B/XPrivacyLua/blob/master/FAQ.md
Please read the original thread as it contains a lot of useful information https://forum.xda-developers.com/t/...-android-privacy-manager-unsupported.3730663/
Disclaimer: I am not the developer of the module. I'm a long time user of XPrivacy/XPrivacyLua who wants to keep using it on future android versions. All credits for this module go to the developer and the people who made the custom hooks.
Best module to date
Thank you for creating new thread for XPL user.
is there a trick to get new apps automatically checked on lsposed? Otherwise, the option that new apps take all rights during installation does not work.
Conan179 said:
is there a trick to get new apps automatically checked on lsposed? Otherwise, the option that new apps take all rights during installation does not work.
Click to expand...
Click to collapse
Not with LSPosed but according to this post you can do it with tasker. I think there's also an LSPosed fork that does it too.
[CLOSED][APP][XPOSED][6.0+] XPrivacyLua - Android privacy manager [UNSUPPORTED]
XPrivacyLua 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...
forum.xda-developers.com
mythos_ said:
I think there's also an LSPosed fork that does it too.
Click to expand...
Click to collapse
There is, it's this LSPosed_mod.
I still haven't tried it myself though.
heinhuiz said:
There is, it's this LSPosed_mod.
I still haven't tried it myself though.
Click to expand...
Click to collapse
Yes, since v1.8.5 according the mod changelog:
now user can choose if set automatic add new installed packages to module
fix add column automatic_add when exist
Click to expand...
Click to collapse
@Oswald Boelcke the thread is about XPrivacyLua or about LSPosed ?
Lol
VD171 said:
@Oswald Boelcke the thread is about XPrivacyLua or about LSPosed ?
Lol
Click to expand...
Click to collapse
Hello and good morning, @VD171
I guess you need to address the OP @mythos_ with this question but as far as I understand it's about the Xposed module XPrivacyLua by @M66B and not about LSPosed. If my assumption is correct it's on the OP to decide if LSPosed related questions and contributions are off-topic (OT) or not. A moderator will never get involved to that unless a threadowner (and only the owner) reports something as OT.
Regards
Oswald Boelcke
Senior Moderator
The main focus should be on XPL but since LSPosed is needed to run XPL, I see nothing wrong with discussing it here.
QoL things like how to auto-add new apps to LSPosed are fine. Of course if people want a more in depth discussion (e.g. bugs, new features, etc.) they should post in the LSPosed threads as the developers don't read this.
VD171 said:
@Oswald Boelcke the thread is about XPrivacyLua or about LSPosed ?
Lol
Click to expand...
Click to collapse
Really? Wow...smh
exist an active fork of this app ?
xerves78 said:
exist an active fork of this app ?
Click to expand...
Click to collapse
According to github there is a whole bunch of people who forked it in the past month. How active they will be in the future and (more importantly) how much you can trust them is another issue.
when this project was abandoned by m66b did he opensource the "pro" app?
and is the code available now for free to be built from source?
or is there a link to the last version?
i hope someone keeps working on this, as privacy is more and more important the more stuff is kept on our phones.
nutzfreelance said:
when this project was abandoned by m66b did he opensource the "pro" app?
and is the code available now for free to be built from source?
or is there a link to the last version?
i hope someone keeps working on this, as privacy is more and more important the more stuff is kept on our phones.
Click to expand...
Click to collapse
[CLOSED][APP][XPOSED][6.0+] XPrivacyLua - Android privacy manager [UNSUPPORTED]
XPrivacyLua 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...
forum.xda-developers.com
(...) The pro companion app won't be open-sourced. If somebody wants to continue the project, (s)he can prove being a worthy developer by developing a new pro companion app, which can be done in at most a few days. As already offered, another developer can ask for the source code after a significant contribution to the source code as well.
Click to expand...
Click to collapse
I've already reported to @M66B about "MEW wallet" app which can't be restricted (tested on A10) to access camera (not sure is it was photo or video - app is handling QR codes) at https://forum.xda-developers.com/t/...acy-manager-unsupported.3730663/post-87416749.
Now I've installed LineageOS 20 (A13) and noticed default Camera app (which is new "Aperture" Lineage app) also can't be restricted to BOTH video and photo (but microphone restriction works okay and result in recording video without sound).
Looks like there are some new API to be restricted… so, @M66B, maybe you can update XPrivacyLua a bit to fix this? Or at least give some hint for someone who might wanna fork it?
mythos_ said:
Not with LSPosed but according to this post you can do it with tasker. I think there's also an LSPosed fork that does it too.
[CLOSED][APP][XPOSED][6.0+] XPrivacyLua - Android privacy manager [UNSUPPORTED]
XPrivacyLua 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...
forum.xda-developers.com
Click to expand...
Click to collapse
I've checked both Tasker methods to update LSPosed.
First one (UI automation) didn't work because there are no "LSPosed Manager" app (it's now started only as a widget, and I don't found a way in Tasker to start widget), so this unlikely can be fixed at all.
Second one (database editing) might work… but to me it looks unsafe: each time new app is installed it does kill `lspd` (LSPosed daemon, I suppose) after editing database for 1 second and then restarts it. I think this might result in allowing app apps to bypass XPrivacyLua restictions within that 1 second. No idea how to test this.
Also I've tried to replace original LSPosed with modified version https://github.com/mywalkb/LSPosed_mod - it works like a charm: installed as drop-in replacement over original one, keeps all configuration of original one after reboot and provide new UI to automatically add new apps to XPrivacyLua module! To me it looks like main and only actual way to continue using XPrivacyLua for now.
mythos_ said:
The main focus should be on XPL but since LSPosed is needed to run XPL, I see nothing wrong with discussing it here.
QoL things like how to auto-add new apps to LSPosed are fine. Of course if people want a more in depth discussion (e.g. bugs, new features, etc.) they should post in the LSPosed threads as the developers don't read this.
Click to expand...
Click to collapse
You might want to add that info to the OP of this thread in order to avoid any further confusion in the future
Cheers
powerman.asdf said:
I've already reported to @M66B about "MEW wallet" app which can't be restricted (tested on A10) to access camera (not sure is it was photo or video - app is handling QR codes) at https://forum.xda-developers.com/t/...acy-manager-unsupported.3730663/post-87416749.
Now I've installed LineageOS 20 (A13) and noticed default Camera app (which is new "Aperture" Lineage app) also can't be restricted to BOTH video and photo (but microphone restriction works okay and result in recording video without sound).
Looks like there are some new API to be restricted… so, @M66B, maybe you can update XPrivacyLua a bit to fix this? Or at least give some hint for someone who might wanna fork it?
Click to expand...
Click to collapse
@M66B won't care with that.
You should do what you want by yourself or wait and hope to someone else release that.
powerman.asdf said:
I've checked both Tasker methods to update LSPosed.
First one (UI automation) didn't work because there are no "LSPosed Manager" app (it's now started only as a widget, and I don't found a way in Tasker to start widget), so this unlikely can be fixed at all.
Second one (database editing) might work… but to me it looks unsafe: each time new app is installed it does kill `lspd` (LSPosed daemon, I suppose) after editing database for 1 second and then restarts it. I think this might result in allowing app apps to bypass XPrivacyLua restictions within that 1 second. No idea how to test this.
Also I've tried to replace original LSPosed with modified version https://github.com/mywalkb/LSPosed_mod - it works like a charm: installed as drop-in replacement over original one, keeps all configuration of original one after reboot and provide new UI to automatically add new apps to XPrivacyLua module! To me it looks like main and only actual way to continue using XPrivacyLua for now.
Click to expand...
Click to collapse
"auto-add" is a waste of time.
LSPosed is developed for avoiding something like "all-add" or "auto-add".
Since you are talking about something that is contrary to the official release, LSPosed developers will never read and care to the thread.
mythos_ said:
According to github there is a whole bunch of people who forked it in the past month. How active they will be in the future and (more importantly) how much you can trust them is another issue.
Click to expand...
Click to collapse
how / where can i find the forks on github ?