[MOD][Xposed] Instagram Like Settings - Xposed Framework Modules

Insta Like Settings​Introduction
Insta Like Settings is inspired by a module request from r/xposed. It can intercept Instagram's double-tap-to-like feature and the heart icon click to prevent accidential likes. You can choose between a custom like dialog, no interaction at all or the default behavior (like the image).
Features
Customize Double-Tap behavior
Customize heart icon click behavior
Requirements
Xposed Framework
Android 4.0.3+ (including Lollipop)
Download
The module is available on the Xposed repo. Search for: Insta Like Settings
Source Code
The source code is available on GitHub: ollide / Xposed-InstaLikeSettings
Changelog
1.4
added 7.3.0 / 7.4.0 / 7.5.0 / 7.5.1 support
1.2
added 6.20.0 & 6.19.0 support + bugfixes
1.1.2
added 6.18.0 support
1.1.1
added 6.17.0 support
1.1
apply preference changes without reboot
1.0
initial release

Cool it is a great idea because accidental likes make a big problem ?
Thanks i will try it

Pretty cool.
Sent From My HTC One (M8)

Working so far, Only thing missing is a dedicated app icon in the app drawer. To access the module go to Xposed/Modules and look for 'Insta Like Settings'

Thank you, man, this mod is essential for Instagram users like me.

tarroyo said:
Working so far, Only thing missing is a dedicated app icon in the app drawer. To access the module go to Xposed/Modules and look for 'Insta Like Settings'
Click to expand...
Click to collapse
Is this really a feature you're missing? I omitted the app drawer entry intentionally because I thought users were downloading the mod from the repo, chose their favorite setttings and wouldn't access the mod's app anytime soon.

ollide said:
Is this really a feature you're missing? I omitted the app drawer entry intentionally because I thought users were downloading the mod from the repo, chose their favorite setttings and wouldn't access the mod's app anytime soon.
Click to expand...
Click to collapse
That's one way, but I'm sure I won't be the only one confused when they don't see a app icon to access settings.

It doesn't work on my galaxy s5 rom 4.4.2 stock. I try every setting but everytime use instagram stock settings. Hope there is a solution..

Just updated the module and it still is not working on IG version 6.17.1.

Damnit, forgot to turn off the auto update. Instagram is now at version 6.19.0.

ollide said:
Is this really a feature you're missing? I omitted the app drawer entry intentionally because I thought users were downloading the mod from the repo, chose their favorite setttings and wouldn't access the mod's app anytime soon.
Click to expand...
Click to collapse
Are you still working on this mod?

keyrat said:
Damnit, forgot to turn off the auto update. Instagram is now at version 6.19.0.
Click to expand...
Click to collapse
I've just published version 1.2 which contains 6.19.0 & 6.20.0 support. Sorry for the delay!
stevedensmore said:
Are you still working on this mod?
Click to expand...
Click to collapse
Sorry, I have been quite busy lately..

ollide said:
I've just published version 1.2 which contains 6.19.0 & 6.20.0 support. Sorry for the delay!
Click to expand...
Click to collapse
No need to be sorry!
But I can't get it to work. I was on 6.19.0 and I updated Insta Like Settings and it wouldn't bring up the like dialogs.
I've updated today to the latest Instagram (Play Store still says it's 6.19.0 but that's what it said last week, I'm assuming it's 6.20.0 - it brings a new 'fade' feature) and Insta Like still doesn't seem to do anything.
Here is a log. Not sure if it helps:
Code:
-----------------
Apr 22, 2015 1:37:50 PM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'KTU84Q' with fingerprint 'oneplus/bacon/A0001:4.4.4/KTU84Q/XNPH05Q:user/release-keys'
Loading modules from /data/app/com.marz.snapprefs-1.apk
Loading class com.marz.snapprefs.HookMethods
Loading modules from /data/app/tw.fatminmin.xposed.minminguard-1.apk
Loading class tw.fatminmin.xposed.minminguard.Main
Loading modules from /data/app/org.ollide.xposed.instagram-2.apk
Loading class org.ollide.xposed.instagram.MethodHooks
java.lang.NoSuchMethodError: com.instagram.android.feed.a.b.bc#onDoubleTap(android.view.MotionEvent)#exact
at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:179)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:136)
at org.ollide.xposed.instagram.MethodHooks.hookDoubleTap(MethodHooks.java:69)
at org.ollide.xposed.instagram.MethodHooks.handleLoadPackage(MethodHooks.java:63)
at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:34)
at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:70)
at de.robv.android.xposed.XposedBridge$1.beforeHookedMethod(XposedBridge.java:208)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:611)
at android.app.ActivityThread.handleBindApplication(Native Method)
at android.app.ActivityThread.access$1500(ActivityThread.java:144)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1265)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5146)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)
java.lang.NoSuchMethodError: com.instagram.android.feed.a.b.bc#onDoubleTap(android.view.MotionEvent)#exact
at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:179)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:136)
at org.ollide.xposed.instagram.MethodHooks.hookDoubleTap(MethodHooks.java:69)
at org.ollide.xposed.instagram.MethodHooks.handleLoadPackage(MethodHooks.java:63)
at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:34)
at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:70)
at de.robv.android.xposed.XposedBridge$1.beforeHookedMethod(XposedBridge.java:208)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:611)
at android.app.ActivityThread.handleBindApplication(Native Method)
at android.app.ActivityThread.access$1500(ActivityThread.java:144)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1265)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5146)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)
java.lang.NoSuchMethodError: com.instagram.android.feed.a.b.bc#onDoubleTap(android.view.MotionEvent)#exact
at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:179)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:136)
at org.ollide.xposed.instagram.MethodHooks.hookDoubleTap(MethodHooks.java:69)
at org.ollide.xposed.instagram.MethodHooks.handleLoadPackage(MethodHooks.java:63)
at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:34)
at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:70)
at de.robv.android.xposed.XposedBridge$1.beforeHookedMethod(XposedBridge.java:208)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:611)
at android.app.ActivityThread.handleBindApplication(Native Method)
at android.app.ActivityThread.access$1500(ActivityThread.java:144)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1265)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5146)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)
Thanks in advance.

ollide said:
I've just published version 1.2 which contains 6.19.0 & 6.20.0 support. Sorry for the delay!
Sorry, I have been quite busy lately..
Click to expand...
Click to collapse
No worries, I just wasn't sure if this mod was being developed anymore. I can't seem to get it to work, in case it matters, I'm using the MOAR 1.0 ROM (4.4.2) on a Samsung S5. Thanks for your hard work, btw.

keyrat said:
I've updated today to the latest Instagram (Play Store still says it's 6.19.0 but that's what it said last week, I'm assuming it's 6.20.0 - it brings a new 'fade' feature) and Insta Like still doesn't seem to do anything.
Here is a log. Not sure if it helps: [...]
Click to expand...
Click to collapse
Thanks for the log, that's always helpful! Well it seems that there are two different Instagram packages, with minSdk = 9 and with minSdk = 14. Both target SDK version 16 and use different method names and also different version names I'll now have to examine both versions and find a way to detect which APK is installed at runtime...
stevedensmore said:
No worries, I just wasn't sure if this mod was being developed anymore. I can't seem to get it to work, in case it matters, I'm using the MOAR 1.0 ROM (4.4.2) on a Samsung S5. Thanks for your hard work, btw.
Click to expand...
Click to collapse
Thanks for the information! I'll get back to you when the next RC is ready, maybe you could test it before I release the next version? :angel:

ollide said:
Thanks for the log, that's always helpful! Well it seems that there are two different Instagram packages, with minSdk = 9 and with minSdk = 14. Both target SDK version 16 and use different method names and also different version names I'll now have to examine both versions and find a way to detect which APK is installed at runtime...
Thanks for the information! I'll get back to you when the next RC is ready, maybe you could test it before I release the next version? :angel:
Click to expand...
Click to collapse
You're welcome, and thanks again. Your module started working for me today after Instagram updated to 6.20.1. I'll give your updates a test run if needed.

Any minimum version requirements? Doesn't work on 6.10.1.

eigen said:
Any minimum version requirements? Doesn't work on 6.10.1.
Click to expand...
Click to collapse
The oldest version of Instagram that I tested was 6.10.1. Can you try it with the latest mod release (1.3, released a couple of minutes ago)?

ollide said:
The oldest version of Instagram that I tested was 6.10.1. Can you try it with the latest mod release (1.3, released a couple of minutes ago)?
Click to expand...
Click to collapse
1.3 confirmed working on 6.10.1. Thanks!

Hi!
I just came here to tell you this APP is very helpful hahaha, is amazing that doesn't exist a similar APP in the Play Store so you are a pioneer in Android like devices about this APP. I hope you continue developing it.
Also, I want to make just a few suggestion, as making this APP work without Xposed framework since it isn't that popular I think. I guess rooted device are more common than one running Xposed, even Xposed FAQ tell us that every Xposed users reject Lollypop due the lack of support for his framework. Anyway, what I am trying with this suggestion is to advice you so the APP goes into the PlayStore, making it more convenience for everyone!
Sadly for me, the APP does not work because I can't install the Xposed Framework into my Samsung Galaxy S3 Mini GT-I8190L with CM12
Will wait for a working Xposed, or a non Xposed-related InstaLikeSetting.apk.
Thanks!

Related

[Xposed Mod] Bypass Exchange Security Policy for Nexus devices and other AOSP ROMs

This mod should be used along with Xposed ( http://forum.xda-developers.com/showthread.php?t=1574401 ).
This mod will bypass the Email app from becoming device admin for your phone and prevent it from setting up any security restrictions on your device including pin/password/remote wipe, etc. There are a couple of other mods out there none of which work right now (1 doesn't work at all and 1 doesn't work for N4 4.3)
Instructions for users
- Remove your existing email account from phone and reboot
- Install Xposed installer (from link above)
- Install this mod (Download apk from here: https://github.com/shantanugoel/Exc...geBypassForXposed/ExchangeBypassForXposed.apk )
- Enable the mod in xposed (Preferences for other devices/versions coming Soon)
- Reboot
- Add your email account again. This time, it will ask you that the email
might require security restrictions, say yes to it but it will never actually set the restrictions.
- Done.
Instructions for developers
- Read the xda link at the top and go through basics of xposed development
- Install xposed as an android sdk addon on your system
- Clone this git repo
- Import in Android Studio
- Make changes
- Build
Credits:
- rovo89 from xda (for creating xposed)
- mpcjanssen from xda (for original mod)
Source code: https://github.com/shantanugoel/ExchangeBypassXposed
Apk: https://github.com/shantanugoel/Exc...geBypassForXposed/ExchangeBypassForXposed.apk
My website: http://tech.shantanugoel.com/
My twitter: http://twitter.com/shantanugoel
Feel free to ask your questions, provide feedback here, or my website or on my twitter.
Changelog:
1.6 26-Jan-14
Cleanup. Remove Security Policy changed notification.
1.5 22-Dec-13
Allow updation of policy keys properly on Exchange server's request otherwise sync may hang
1.4 16-Dec-13
Fixing the fixes
1.3 15-Dec-13
Fixed random email app crashes
1.2 14-Dec-13
AOSP ROMs support. Removed some unnecessary logging.
1.1 28-Nov-13
KitKat support. Tested on Nexus 4, Nexus 5, Nexus 7 2012, Nexus 7 2013
1.0 14-Oct-13
Initial version. Working for Nexus 4 Android 4.3
Update: This has now been tested to work successfully on all stock or nearly stock JellyBean (4.3) and KitKat (4.4) ROMs on Nexus 4 / Nexus 5 / Nexus 7
A beta with some additional checks for Android 4.4 and also compiled with 4.4 SDK. Please try it on your phones (even on 4.3 to make sure that compatibility remains fine for older phones) and let me know.
Thanks folks who tested the beta. Have now removed the beta link and the release version can be installed from links given in OP or within the xposed module downloader.
X- actly what I was looking for!!!!!
Sent from my Nexus 4 using Tapatalk
Version 1.2 is out with support of AOSP based ROMs (Thanks to adumont)
Some folks have been facing random email app crashes when using this mod. Could you please try out the attached beta version that should hopefully fix this?
Removed the beta. Please update to latest version through xposed repo or github.
Does this work with TouchDown as well or just Exchange? My company decided (in its infinite IT wisdom) to use this app instead of the built in Exchange client.
https://play.google.com/store/apps/details?id=com.nitrodesk.droid20.nitroid&hl=en
It would be AWESOME if it did.
Hi! I followed the instructions, and the email app hangs at "syncing folders". I don't get a crash, it just stalls on "email is waiting to sync" or whatever that prompt is.
Nexus 5
4.4.2 stock
rooted
Other modules: GravityBox, Greenify
Thoughts? Anything additional I can provide? Thanks for your hard work!
Same problem, syncing hangs
Dolfan058 said:
Hi! I followed the instructions, and the email app hangs at "syncing folders". I don't get a crash, it just stalls on "email is waiting to sync" or whatever that prompt is.
Click to expand...
Click to collapse
I am having the problem where email on the account doesn't ever sync and just hangs.
Nexus 5
KitKat 4.4.2
Modules: GravityBox
Ipse_Tase said:
Does this work with TouchDown as well or just Exchange? My company decided (in its infinite IT wisdom) to use this app instead of the built in Exchange client.
https://play.google.com/store/apps/details?id=com.nitrodesk.droid20.nitroid&hl=en
It would be AWESOME if it did.
Click to expand...
Click to collapse
No, only built in app.
Dolfan058 said:
Hi! I followed the instructions, and the email app hangs at "syncing folders". I don't get a crash, it just stalls on "email is waiting to sync" or whatever that prompt is.
Nexus 5
4.4.2 stock
rooted
Other modules: GravityBox, Greenify
Thoughts? Anything additional I can provide? Thanks for your hard work!
Click to expand...
Click to collapse
veabers said:
I am having the problem where email on the account doesn't ever sync and just hangs.
Nexus 5
KitKat 4.4.2
Modules: GravityBox
Click to expand...
Click to collapse
Could you please post logcat logs when this happens?
Thank you. Works flawlessly on maguro SlimBean stable.
logcat for sync hanging
shantzg001 said:
Could you please post logcat logs when this happens?
Click to expand...
Click to collapse
This looks to be the relevant section. I sanitized my email.
12-20 11:19:59.875 D/GoogleServicesManager(31716): setState: sync = true, wantedSyncState = true
12-20 11:19:59.875 D/GoogleServicesManager(31716): Enabling sync
12-20 11:19:59.905 D/SyncManager( 807): failed sync operation [email protected] u0 (com.google.android.exchange), com.google.android.email.provider, SERVER, latestRunTime 47454987, reason: AutoSync, SyncResult: syncAlreadyInProgress: true stats []
12-20 11:19:59.985 E/qcom_sensors_hal( 807): hal_process_report_ind: Bad item quality: 11
12-20 11:20:05.505 E/Exchange(20156): Sync: Unknown status: 144
12-20 11:20:05.505 E/Exchange(20156): CommandStatusException: 144
12-20 11:20:05.695 W/ContextImpl(20156): Implicit intents with startService are not safe: Intent { act=com.google.android.email.POLICY_INTENT } android.content.ContextWrapper.bindService:517 com.android.emailcommon.service.ServiceProxy.setTask:170 com.android.emailcommon.service.PolicyServiceProxy.setAccountPolicy:73
12-20 11:20:05.725 D/dalvikvm(20156): GC_CONCURRENT freed 383K, 3% free 18181K/18660K, paused 16ms+1ms, total 58ms
12-20 11:20:11.735 D/SyncManager( 807): failed sync operation [email protected] u0 (com.google.android.exchange), com.google.android.email.provider, SERVER, latestRunTime 47465030, reason: AutoSync, SyncResult: syncAlreadyInProgress: true stats []
Let me know if you need more info.
veabers said:
This looks to be the relevant section. I sanitized my email.
12-20 11:19:59.875 D/GoogleServicesManager(31716): setState: sync = true, wantedSyncState = true
12-20 11:19:59.875 D/GoogleServicesManager(31716): Enabling sync
12-20 11:19:59.905 D/SyncManager( 807): failed sync operation [email protected] u0 (com.google.android.exchange), com.google.android.email.provider, SERVER, latestRunTime 47454987, reason: AutoSync, SyncResult: syncAlreadyInProgress: true stats []
12-20 11:19:59.985 E/qcom_sensors_hal( 807): hal_process_report_ind: Bad item quality: 11
12-20 11:20:05.505 E/Exchange(20156): Sync: Unknown status: 144
12-20 11:20:05.505 E/Exchange(20156): CommandStatusException: 144
12-20 11:20:05.695 W/ContextImpl(20156): Implicit intents with startService are not safe: Intent { act=com.google.android.email.POLICY_INTENT } android.content.ContextWrapper.bindService:517 com.android.emailcommon.service.ServiceProxy.setTask:170 com.android.emailcommon.service.PolicyServiceProxy.setAccountPolicy:73
12-20 11:20:05.725 D/dalvikvm(20156): GC_CONCURRENT freed 383K, 3% free 18181K/18660K, paused 16ms+1ms, total 58ms
12-20 11:20:11.735 D/SyncManager( 807): failed sync operation [email protected] u0 (com.google.android.exchange), com.google.android.email.provider, SERVER, latestRunTime 47465030, reason: AutoSync, SyncResult: syncAlreadyInProgress: true stats []
Let me know if you need more info.
Click to expand...
Click to collapse
This looks to be an inherent issue in the exchange app or server, not caused due to the mod..
But I'll check it out later again tonight if something can go wrong in this path due to the mod
shantzg001 said:
This looks to be an inherent issue in the exchange app or server, not caused due to the mod..
But I'll check it out later again tonight if something can go wrong in this path due to the mod
Click to expand...
Click to collapse
Thanks for taking a look. If I remove the mod the syncing works correctly. If I revert to the previous version it will sync in between the crashes.
veabers said:
Thanks for taking a look. If I remove the mod the syncing works correctly. If I revert to the previous version it will sync in between the crashes.
Click to expand...
Click to collapse
Ah, thanks for the additional info. Let me check it out.
An update. I've got some clue on the issue why it's happening and I'm trying to debug it. It's slightly harder as the issue happens only due to some actions done on server side. Will update when I have a solution or a potential fix that needs to be tested (as I can't reproduce this locally)
@veabers @Dolfan058 (and any others facing crash/hang problems), please try the latest version 1.5 (uploading now as I type this) from github or xposed repo and let me know if it fixes your problems? I got reports from some other users that it works for them fine now.
1.5 appears to be working!
v1.5 is the first version which has worked for me with no crashes/hanging. Occasionally when doing a manual refresh I get the message "Security policies have changed". Other than that it appears to be working just fine on my Nexus 5 (4.4.2)
Many thanks for this mod
Shamus69 said:
v1.5 is the first version which has worked for me with no crashes/hanging. Occasionally when doing a manual refresh I get the message "Security policies have changed". Other than that it appears to be working just fine on my Nexus 5 (4.4.2)
Many thanks for this mod
Click to expand...
Click to collapse
Same here, I also get that "security policies have changed" notification (which I'd never seen until I ran the module). But that's a non-issue compared to the fact that this now works and I can use Tasker to control when the keyguard goes on. Many thanks for a great module!
Sent from my Nexus 5 using Tapatalk

[4.1+] PinNotif - Pin Important Notifications To Avoid Clearing Them Accidentally

Introduction
This module allows you to pin important notifications to avoid clearing them by mistake. You do that by long pressing a notification then selecting "Pin." You can unpin pinned notification in a similar manner.
This will not prevent notifications from being cleared by the application when you open them, and the application can still control the notification at any time (including clearing it). It simply prevents them from being cleared when you tap the "clear all" button or when you try to swipe them away.
Originally requested here: http://www.reddit.com/r/xposed/comments/267hbt/request_pin_any_notification_so_that_it_cannot_be/
Download
http://repo.xposed.info/module/com.germainz.pinnotif
Source Code
https://github.com/GermainZ/PinNotif
Notes
I have to override the long press menu for the notifications. In other words, if your ROM adds custom items, those will be lost.
This module is not compatible with XHaloFloatingWindow's feature that alters the notification long press menu. If you enable both, there's no guarantee which will override the notification menu first, so you might end up with XHaloFloatingWindow's long press menu (App Info/Open In Halo) or this module's (App Info/Pin.)
The goal of this module is to pin important notifications - not pin/unpin any notification at will. As such, ongoing notifications cannot be unpinned. This is by design.
Changelog:
1.3:
Compatibility fixes for 4.1.x and LG devices.
1.1:
Compatibility fixes for pre-4.3 devices.
Don't fail when the notification contains large data (e.g. large icon.)
Other crash fixes.
1.0:
Initial release.
Click to expand...
Click to collapse
Attributions
Icon made by Freepik from www.flaticon.com.
Thanks
rovo89 and Tungstwenty for the Xposed framework;
zst123 for XHaloFloatingWindows from which this module takes some code.
Does anything in the module require xposed 2.6 or would recompiling with xposedminversion for 2.5 work as well?
Does the pinning survive a reboot?
Sent from my Nexus 4 using XDA Free mobile app
great
krackers said:
Does anything in the module require xposed 2.6 or would recompiling with xposedminversion for 2.5 work as well?
Click to expand...
Click to collapse
It should with minor changes, but I won't do it if that's what you're asking.
chrisrozon said:
Does the pinning survive a reboot?
Click to expand...
Click to collapse
No. The app that sent the notification can also cancel or update it at any time.
Updates are handled and the notification is pinned again automatically (if they were pinned in the first place.) Cancellations are not.
ah wait. I'm using paranoid android rom
seems that I cannot open in floating window.
It used to have that option when I long press a noti.
now its just app info and pin? do you know why?
Nice idea thanks GermainZ you always come with handy modules, keep it up
Sent from my GT-I9505 using Tapatalk
Very useful, but unfortunately dosen't work on lg g2, I hope supporting more roms, thanx
zamzameir said:
ah wait. I'm using paranoid android rom
seems that I cannot open in floating window.
It used to have that option when I long press a noti.
now its just app info and pin? do you know why?
Click to expand...
Click to collapse
Same here,
If you look at sources you see developer makes new popup and just adds Info and Pin/Unpin
Systemui force closes... indian MTK 6589 device ... close to AOSP
note: i have XHaloFloatingWindow Installed... and the long press notification mod turned on
Edit: i just saw the notes... sorry for the inconvenience
really cool idea!!..it's just what i search for!!
but in Xperia J JB4.1.2 with custom rom ,it show "ths systemui is stopped"..
Can you try to fix it??
zamzameir said:
ah wait. I'm using paranoid android rom
seems that I cannot open in floating window.
It used to have that option when I long press a noti.
now its just app info and pin? do you know why?
Click to expand...
Click to collapse
pesiran said:
Same here,
If you look at sources you see developer makes new popup and just adds Info and Pin/Unpin
Click to expand...
Click to collapse
Read the OP, please.
am2006 said:
Very useful, but unfortunately dosen't work on lg g2, I hope supporting more roms, thanx
Click to expand...
Click to collapse
"dosen't work" = ?
karajanlee123 said:
really cool idea!!..it's just what i search for!!
but in Xperia J JB4.1.2 with custom rom ,it show "ths systemui is stopped"..
Can you try to fix it??
Click to expand...
Click to collapse
Can you post a logcat?
Simply awesome bud, you're the man:good:
Unfortunately, System UI has stopped.
Doesn't work on SGNII 4.1.2 because:
Code:
-----------------
28 May 2014 15:21:50 UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'JZO54K.N7100XXDME6' with fingerprint 'samsung/t03gxx/t03g:4.1.2/JZO54K/N7100XXDME6:user/release-keys'
Loading modules from /data/app/hk.valenta.completeactionplus-1.apk
Loading class hk.valenta.completeactionplus.XCompleteActionPlus
Loading modules from /data/app/uk.co.villainrom.pulser.fivebyfourlauncher-1.apk
Loading class uk.co.villainrom.pulser.fivebyfourlauncher.FiveByFourLauncher
Loading modules from /data/app/com.germainz.pinnotif-1.apk
Loading class com.germainz.pinnotif.XposedMod
Loading modules from /data/app/com.germainz.crappalinks-2.apk
Loading class com.germainz.crappalinks.CrappaLinks
Loading modules from /data/app/com.ugglynoodle.allnotificationsexpanded-1.apk
Loading class com.ugglynoodle.allnotificationsexpanded.AllNotificationsExpanded
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/com.greenbattery-1.apk
Loading class com.dully79.xposed.mods.batteryreplacement.BatteryReplacement
Loading modules from /data/app/com.oasisfeng.greenify-1.apk
Loading class com.oasisfeng.greenify.pro.FrameworkPatch
Loading class com.oasisfeng.greenify.pro.SettingsPatch
Loading modules from /data/app/pk.qwerty12.playstorelinkinappinfo-1.apk
Loading class pk.qwerty12.playstorelinkinappinfo.PlayStoreLinkInAppInfo
Loading modules from /data/app/com.mohammadag.burnttoast-2.apk
Loading class com.mohammadag.burnttoast.XposedMod
Loading modules from /data/app/com.germainz.activityforcenewtask-1.apk
Loading class com.germainz.activityforcenewtask.XposedMod
Loading modules from /data/app/com.germainz.stopswitchdelay-2.apk
Loading class com.germainz.stopswitchdelay.XposedMod
Loading modules from /data/app/com.mohammadag.smoothsystemprogressbars-2.apk
Loading class com.mohammadag.smoothsystemprogressbars.SmoothSystemPBar
Loading modules from /data/app/areeb.xposed.eggster-2.apk
Loading class areeb.xposed.eggster.EggsPoached
Loading modules from /data/app/ma.wanam.youtubeadaway-2.apk
Loading class ma.wanam.youtubeadaway.Xposed
Loading modules from /data/app/ind.fem.black.rayyan.xposed.gesturenavigation-1.apk
Loading class ind.fem.black.rayyan.xposed.gesturenavigation.Ray
java.lang.NoSuchMethodError: com.android.server.NotificationManagerService#enqueueNotificationInternal(java.lang.String,java.lang.String,int,int,java.lang.String,int,android.app.Notification,int[],int)#exact
at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:179)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:136)
at com.germainz.pinnotif.XposedMod.loadNotifManagerServiceHooks(XposedMod.java:87)
at com.germainz.pinnotif.XposedMod.handleLoadPackage(XposedMod.java:55)
at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:34)
at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:70)
at de.robv.android.xposed.XposedBridge$2.beforeHookedMethod(XposedBridge.java:228)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:611)
at com.android.server.ServerThread.run(Native Method)
Works great on samsung s3 i9300 4.3 mk6 stock touchwiz rom with agni kernel.
Thanks for this useful module!.
This build should fix pre-4.3 compatibility issues.
Also, instead of sending the whole notification through a broadcast, it only sends the updated flags now. For users, this means PinNotif won't fail to pin notifications with large data (e.g. large notification icons.) Apparently, no one had this issue yet, but it could've happened.
Please test it and let me know if it works, or if there are any regressions.
If it doesn't work, I need the following information:
Which Android version are you running?
An unfiltered logcat (NOT an Xposed log.)
Hi, cool idea. But I get an parsing error while installing on ICS 4.0.3, is it compatible for ICS at all? Couldn't find a hint...
Thanks!
--
Gesendet mit HTC EVO 3D and Tapatalk
chw9999 said:
Hi, cool idea. But I get an parsing error while installing on ICS 4.0.3, is it compatible for ICS at all? Couldn't find a hint...
Thanks!
Click to expand...
Click to collapse
From this thread's title: [4.1+]
I plan to look into adding ICS compatibility later.
Doesn't work my system ui just crashes
https://mega.co.nz/#!SI0DmLJB!JpstPwSk9gss7l7Mzoag3fIJN0U-O-kN9oqXab8qxP4
Here is my logcat
supergonkas said:
Doesn't work my system ui just crashes
https://mega.co.nz/#!SI0DmLJB!JpstPwSk9gss7l7Mzoag3fIJN0U-O-kN9oqXab8qxP4
Here is my logcat
Click to expand...
Click to collapse
One… two… three posts above yours.

[MOD][XPOSED][APP] SSLUnpinning - Certificate Pinning Bypass

SSLUnpinning - Certificate Pinning Bypass
If you need intercept the traffic from one app who use certificate pinning, with a tool like Burp Suite Proxy, the SSLUnpinning help you with this hard work!
The SSLUnpinning through Xposed Framework, make severous hooks in SSL classes to bypass the certificate verifications for one specific app, then you can intercept all your traffic.
Source Code in GitHub
/ac-pm/SSLUnpinning_Xposed
Cool module. Big thanks!
I'm getting an error in the Xposed log:
Loading Xposed v54 (for Zygote)...
Running ROM 'KTU84P' with fingerprint 'google/nakasi/grouper:4.4.4/KTU84P/1227136:user/release-keys'
Loading modules from /data/app/mobi.acpm.sslunpinning-1.apk
Loading class mobi.acpm.sslunpinning.Module
java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation
at dalvik.system.DexFile.defineClassNative(Native Method)
at dalvik.system.DexFile.defineClass(DexFile.java:222)
at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:215)
at dalvik.system.DexPathList.findClass(DexPathList.java:322)
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:421)
at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:386)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:120)
at dalvik.system.NativeStart.main(Native Method)
Any idea what the issue might be? I'm running 4.4.4 on a Nexus 7 nakasi-grouper
pwntastic said:
I'm getting an error in the Xposed log:
Loading Xposed v54 (for Zygote)...
Running ROM 'KTU84P' with fingerprint 'google/nakasi/grouper:4.4.4/KTU84P/1227136:user/release-keys'
Loading modules from /data/app/mobi.acpm.sslunpinning-1.apk
Loading class mobi.acpm.sslunpinning.Module
java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation
at dalvik.system.DexFile.defineClassNative(Native Method)
at dalvik.system.DexFile.defineClass(DexFile.java:222)
at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:215)
at dalvik.system.DexPathList.findClass(DexPathList.java:322)
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:421)
at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:386)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:120)
at dalvik.system.NativeStart.main(Native Method)
Any idea what the issue might be? I'm running 4.4.4 on a Nexus 7 nakasi-grouper
Click to expand...
Click to collapse
sorry, I can't reproduce this error.
i tried it , it does not hook any app :/ i launched it from Exposed , even twitter app does not hook and throw me errir of network .. after CONNECT tunel , i will get network error .. means pinning ..
k3rnel31 said:
i tried it , it does not hook any app :/ i launched it from Exposed , even twitter app does not hook and throw me errir of network .. after CONNECT tunel , i will get network error .. means pinning ..
Click to expand...
Click to collapse
At this time only JSSE and Apache libraries are hooked. It is possible that your applications are using other libraries. For example Volley or LoopJ.
acarlosmartins said:
At this time only JSSE and Apache libraries are hooked. It is possible that your applications are using other libraries. For example Volley or LoopJ.
Click to expand...
Click to collapse
hi thanks for reply well some friend of friend lol has developped trustkiller from github and he is able to hook all apps so far :/ well how can i know wich libraries are used by some app ?
i decompiled it and changed both of checkClientTrusted,checkserverTrusted by putting return-void on first line but still now working
.method public checkClientTrusted([Ljava/security/cert/X509Certificate;Ljava/lang/StringV
return-void
k3rnel31 said:
hi thanks for reply well some friend of friend lol has developped trustkiller from github and he is able to hook all apps so far :/ well how can i know wich libraries are used by some app ?
i decompiled it and changed both of checkClientTrusted,checkserverTrusted by putting return-void on first line but still now working
.method public checkClientTrusted([Ljava/security/cert/X509Certificate;Ljava/lang/StringV
return-void
Click to expand...
Click to collapse
If you look at the two projects (trustkiller and SSLUnpinning), you will see that both hooks the same methods.
To find what the library used, you can do a reverse engineering in the apk. The dex2jar to convert apk to jar and with JD-GUI you can see the java code.
Good job with the return-void! :good:
acarlosmartins said:
If you look at the two projects (trustkiller and SSLUnpinning), you will see that both hooks the same methods.
To find what the library used, you can do a reverse engineering in the apk. The dex2jar to convert apk to jar and with JD-GUI you can see the java code.
Good job with the return-void! :good:
Click to expand...
Click to collapse
heyy thanks , yeah i know about jar to see the java code , but u can success recompiling and running the app only with smaliing , yeah anyway nowdays apps are using Obfuscator method wich makes decompiling the app very hard to understand it , and me myself i hooked ssl pinning for (subcard,anando uk,subway usa apk apps) and i found that + of the ssl pinning they are doing more private parameters with the post data like signature,token, .. and those params are generated instantly according with time/user/pass , anyway i decrypted all their paramraters : D , but sill my friend does not wanna share the developped trustkiller module with cydia ..
k3rnel31 said:
heyy thanks , yeah i know about jar to see the java code , but u can success recompiling and running the app only with smaliing , yeah anyway nowdays apps are using Obfuscator method wich makes decompiling the app very hard to understand it , and me myself i hooked ssl pinning for (subcard,anando uk,subway usa apk apps) and i found that + of the ssl pinning they are doing more private parameters with the post data like signature,token, .. and those params are generated instantly according with time/user/pass , anyway i decrypted all their paramraters : D , but sill my friend does not wanna share the developped trustkiller module with cydia ..
Click to expand...
Click to collapse
I thought you were talking about this module https://github.com/iSECPartners/Android-SSL-TrustKiller
acarlosmartins said:
I thought you were talking about this module https://github.com/iSECPartners/Android-SSL-TrustKiller
Click to expand...
Click to collapse
yeah thats right this module of cydia some friend has developped it , so now it catch most 99% of the latest app including old apps . i added u on skype ,
k3rnel31 said:
yeah thats right this module of cydia some friend has developped it , so now it catch most 99% of the latest app including old apps . i added u on skype ,
Click to expand...
Click to collapse
My skype id is antoniocarlosp.m
Nice module. Thanks.
I just tried it on an app that doesn't have permissions for external storage, and the module threw an exception because it couldn't read the app.conf file. I worked around this by patching the APK on the app I was looking at to include WRITE_EXTERNAL_STORAGE, but would it be possible to provide a fix for this in the module, for times when patching the target APK isn't feasible?
Thanks again!
Scytmo said:
Nice module. Thanks.
I just tried it on an app that doesn't have permissions for external storage, and the module threw an exception because it couldn't read the app.conf file. I worked around this by patching the APK on the app I was looking at to include WRITE_EXTERNAL_STORAGE, but would it be possible to provide a fix for this in the module, for times when patching the target APK isn't feasible?
Thanks again!
Click to expand...
Click to collapse
Thanks! I will open an issue for this.
Try the Inspeckage github.com/ac-pm/Inspeckage . It has this feature and many others.
acarlosmartins said:
SSLUnpinning - Certificate Pinning Bypass
If you need intercept the traffic from one app who use certificate pinning, with a tool like Burp Suite Proxy, the SSLUnpinning help you with this hard work!
The SSLUnpinning through Xposed Framework, make severous hooks in SSL classes to bypass the certificate verifications for one specific app, then you can intercept all your traffic.
Source Code in GitHub
/ac-pm/SSLUnpinning_Xposed
Click to expand...
Click to collapse
It doesn't seem to work at all in Android 7.1 (nougat), nor does JustTrustMe.
Does anyone have an alternative?

[MOD][Xposed][4.0+] Volume keys change music volume instead of ringer by default

Always accidentally changing your ringer volume? Want to lower the volume before you start e.g. youtube? This app sets the music stream as the default audio stream to be changed by the volume buttons. E.g. on home screen or in apps which don't explicitly set a stream.
Tested on Samsung Galaxy Note 4 running Lollipop (Wanam Lite V3.1) and S3 running Lollipop (Resurrection Remix). Should now run on all Android versions and Roms up to Marshmallow.
Xposed Modul
If your have problems, please send a pm with your logs. (Enable logging in the module, reboot, press volume buttons and then send me your xposed logs with the xposed installer app)
Not working with Samsung S4 on stock rom lollipop 5.0.1 either on home screen or in apps
Nothing even for phone in signature... I would really like it, thanks!
Works good here on CM12.1.
Thanks for this
Sent from my SM-G900F using Tapatalk
Now also tested on S3 with Resurrection Remix Lollipop
slimshouki said:
Not working with Samsung S4 on stock rom lollipop 5.0.1 either on home screen or in apps
Click to expand...
Click to collapse
gpvecchi said:
Nothing even for phone in signature... I would really like it, thanks!
Click to expand...
Click to collapse
If your have problems, please send a pm with your logs. (Enable logging in the module, reboot, press volume buttons and then send me your xposed logs with the xposed installer app)
fivef said:
If your have problems, please send a pm with your logs. (Enable logging in the module, reboot, press volume buttons and then send me your xposed logs with the xposed installer app)
Click to expand...
Click to collapse
It worked after 3 reboots.very wierd
I have arter xposed v75 deodexed
Problem solved: for those who can't make it work, the module needs full reboot, not hot (fast) one.
Anyonr having problems with S5?
Is it possible to change Chromecast volume first (if connected)?
I have an error on S4 mini 4.4.2 stock:
Code:
Loading Xposed v54 (for Zygote)...
Running ROM 'KOT49H.I9195XXUCNK1' with fingerprint 'samsung/serranoltexx/serranolte:4.4.2/KOT49H/I9195XXUCNK1:user/release-keys'
Loading modules from /data/app/com.spazedog.xposed.additionsgb-2.apk
Loading class com.spazedog.xposed.additionsgb.backend.XposedInjector
Loading modules from /data/app/com.germainz.activityforcenewtask-1.apk
Loading class com.germainz.activityforcenewtask.XposedMod
Loading modules from /data/app/de.fivef.audiostreammusicdefault-1.apk
Loading class de.fivef.audiostreammusicdefault.DefaultStream
java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation
at dalvik.system.DexFile.defineClassNative(Native Method)
at dalvik.system.DexFile.defineClass(DexFile.java:223)
at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:216)
at dalvik.system.DexPathList.findClass(DexPathList.java:322)
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:421)
at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:386)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:120)
at dalvik.system.NativeStart.main(Native Method)
Loading modules from /data/app/de.defim.apk.hidebatterylowalert-1.apk
Loading class de.defim.apk.hidebatterylowalert.Xposed
Loading modules from /data/app/com.ryansteckler.nlpunbounce-6.apk
Loading class com.ryansteckler.nlpunbounce.hooks.Wakelocks
Loading modules from /data/app/com.smartmadsoft.xposed.samsungcameragallery-1.apk
Loading class com.smartmadsoft.xposed.samsungcameragallery.Selfie
Loading modules from /data/app/ma.wanam.xposed-1.apk
Loading class ma.wanam.xposed.Xposed
nick_white said:
I have an error on S4 mini 4.4.2 stock:
Code:
Loading Xposed v54 (for Zygote)...
Running ROM 'KOT49H.I9195XXUCNK1' with fingerprint 'samsung/serranoltexx/serranolte:4.4.2/KOT49H/I9195XXUCNK1:user/release-keys'
Loading modules from /data/app/com.spazedog.xposed.additionsgb-2.apk
Loading class com.spazedog.xposed.additionsgb.backend.XposedInjector
Loading modules from /data/app/com.germainz.activityforcenewtask-1.apk
Loading class com.germainz.activityforcenewtask.XposedMod
Loading modules from /data/app/de.fivef.audiostreammusicdefault-1.apk
Loading class de.fivef.audiostreammusicdefault.DefaultStream
java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation
at dalvik.system.DexFile.defineClassNative(Native Method)
at dalvik.system.DexFile.defineClass(DexFile.java:223)
at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:216)
at dalvik.system.DexPathList.findClass(DexPathList.java:322)
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:421)
at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:386)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:120)
at dalvik.system.NativeStart.main(Native Method)
Loading modules from /data/app/de.defim.apk.hidebatterylowalert-1.apk
Loading class de.defim.apk.hidebatterylowalert.Xposed
Loading modules from /data/app/com.ryansteckler.nlpunbounce-6.apk
Loading class com.ryansteckler.nlpunbounce.hooks.Wakelocks
Loading modules from /data/app/com.smartmadsoft.xposed.samsungcameragallery-1.apk
Loading class com.smartmadsoft.xposed.samsungcameragallery.Selfie
Loading modules from /data/app/ma.wanam.xposed-1.apk
Loading class ma.wanam.xposed.Xposed
Click to expand...
Click to collapse
Sorry no idea on this one. Have you reinstalled and fully rebooted?
Yes, I tried reinstalling & rebooting, same error.
Maybe it has something to do with different Xposed API according to Android version? I have Android 4.4.2 KitKat and Xposed 2.6.1 (latest stable for 4.4). I saw all the previous comments mentioned Lollipop ROMs.
Works on S5 stock Lollipop.
Great job, I was looking for this for quite a while now!
Sent from my SM-G900F using XDA Free mobile app
Dont have a marshmallow version?
Enviado de meu XT1095 usando Tapatalk
It was working smooth and fine on lollipop but no longer on marshmallow ??
Aboody Zomar said:
It was working smooth and fine on lollipop but no longer on marshmallow ??
Click to expand...
Click to collapse
Can confirm, doesn't work on my GS6E on Marshmallow
please update for MM
Not working on my s5 marshmallow either
I'm getting the same "Class ref in pre-verified class resolved to unexpected implementation" error as above. This is usually caused by including the XposedBridgeApi-54.jar file into the APK, rather than referencing it. Looking through your github, I would suggest removing the "compile" line from the dependencies block in your build.gradle (not sure how gradle handles multiple declarations though).

Cache Catcher. Automated cache mantainer

Code:
*** Disclaimer
I'm not responsible for dead phone, dead sdcard, dead pixel, dead person,
dead trees or dead bees also thermonuclear war
If you facing some error because of my module, dont be mad,
provide a reliable logcat to help me to solve
Introduction
Cache Catcher is a a mini modul that brings you features you can activate to maintain your internal storage space,
trim caches and keep it mantained under normal condition. It can be installed on any android device starting from API 4
as long as Xposed Bridge is installed. It will save your internal storage space with no time-consuming methods
and works directly from its sources. Set up your own settings and let it works by its own.
Click to expand...
Click to collapse
Features
Dark/Night theme
Blacklist/Whitelist mode
Notification, will get notified when Cache Catcher saved space
Configurable sizes
Deletes empty cache (0kb)
Conditions to trigger clean up process
Full cache scan
Accurate cache lookup
Click to expand...
Click to collapse
Warning
DO NOT enable all features for first time usage. It may leads to an ANR for some app that wildly dump its cache.
Imagine when you start working on a company and have to do a lot job on first work day.
Set it low and make it strict after a couple day to keep your caches low and controled
Click to expand...
Click to collapse
Q&A
Q: I wanted to mantain (app name)'s cache only
A: Enable Whitelist mode, clear app list and chose only (app name) then reboot to apply
Q: I dont want to clear any cache of (app name), because it breaks some functions
A: Blacklist it and reboot
Q: (app name) keep crashing after this module activated
A: Have you read my warning message?
Q: Yes
A: Make sure you do as my warning message, if it still crashing, just blacklist it and send me some logcat lines
Click to expand...
Click to collapse
How to know that Cache Catcher is doing its jobs
Open Cache Catcher, if the title says Active (or similar in your language), this module is active
If you activate notification options and get notified about cache deletion, it works
Open Xposed log, if there is Cache Catcher initiation line, its main function is works
If there are json-like lines just after initiation line, your settings are loaded
Open Terminal, request for su, and type "logcat -s CC", if activity happens, it works
Open root File Explorer, navigate to /data/data/any.package.name/shared_prefs/, if it contains CC.xml file, it works
Click to expand...
Click to collapse
Common problem related to Xposed Installer
Xposed log is empty
I have no idea what is going on, but if you solved this problem, let me know
No json-like lines after Cache Catcher init line or just showing "{}"
Your settings are not loaded, it may be SELinux causing this problem, you can change its status from enforcing to permissive. Hope it solve
Click to expand...
Click to collapse
In case of error
Open any su granted terminal, any enter "logcat -s CC AndroidRuntime > /sdcard/CCError.logcat"
Generate the error, by doing things that leads error related to this module
Close the terminal
Open Xposed Installer, chose Log, hit the save icon
Send me descriptive events that leads to error and attach these 2 files
Click to expand...
Click to collapse
In case of serious lag just after reboot
Download dont-panic.zip and flash it through custom recovery
Click to expand...
Click to collapse
Download module
Changelog
v2.9.5
[Fixed] Null Pointer Exception error
v2.9.4
[Note] Currently, i have released stable and beta version on Facebook, so, this is not initial release
[New] Condition to trigger clean up
[New] Dark/Light theme
[New] Indonesian language
[New] Notification options
[New] accurate lookup option
Click to expand...
Click to collapse
XDA:DevDB Information
Cache Catcher, Xposed for all devices (see above for details)
Contributors
Dhi
Xposed Package Name: com.andrian.cachecatcher
Version Information
Status: Stable
Current Stable Version: 2.9.5
Stable Release Date: 2017-05-15
Created 2017-05-14
Last Updated 2017-05-15
Pertamax ?
Good luck bro...
Is this similar to going to Storage&USB and clearing cache ?
No, clearing cache from settings menu will erase everything
This module only delete the old ones, or two, or three based on your settings,
ie: you set 1mb for min gained space, it will delete old caches till 1 mb free space gained
Will this work for custom rom?
I got a lewa rom android ver. 4.4.4
warbadz said:
Will this work for custom rom?
I got a lewa rom android ver. 4.4.4
Click to expand...
Click to collapse
Programmatically yes, make sure Xposed Bridge is installed and working on your android
Doesn't work
Android 6.0.1
Osprey XT1543 Cyanogenmod.
Logs attached.
DiePirate said:
Android 6.0.1
Osprey XT1543 Cyanogenmod.
Logs attached.
Click to expand...
Click to collapse
Oops, NPE,
i will fix that soon
Module Updated
Changelog
[Fixed] Null Pointer Exception error
Dhi said:
Oops, NPE,
i will fix that soon
Click to expand...
Click to collapse
Hmmm xposed log look like something is working bad with the module update.
One more time, logs attached.
Edit: is this mod for install and forget or I have to configure it? and why some apps have not the CC.xml file? Screenshot attached.
Sorry for my english.
It works, but your settings is not loaded, SELinux cause this,
same as my mama's phone, i'm working on it
DiePirate said:
Is this mod for install and forget or I have to configure it?
Click to expand...
Click to collapse
Basic function is activated as you activate this module, but not as effective as you configure it later,
but in this case, your configuration wont be loaded, i will fix this
DiePirate said:
and why some apps have not the CC.xml file?
Click to expand...
Click to collapse
1. it does not call getCacheDir() method, in other words, it does not store cache, or not
2. it constructs its own File object directly to /cache dir without calling getCacheDir()
3. it uses native methods to store cache
Dhi said:
It works, but your settings is not loaded, SELinux cause this,
same as my mama's phone, i'm working on it
Basic function is activated as you activate this module, but not as effective as you configure it later,
but in this case, your configuration wont be loaded, i will fix this
1. it does not call getCacheDir() method, in other words, it does not store cache, or not
2. it constructs its own File object directly to /cache dir without calling getCacheDir()
3. it uses native methods to store cache
Click to expand...
Click to collapse
Ok sir im waiting for the selinux fix, thank you.
DiePirate said:
Ok sir im waiting for the selinux fix, thank you.
Click to expand...
Click to collapse
Try to disable it
Dhi said:
Try to disable it
Click to expand...
Click to collapse
How?
DiePirate said:
How?
Click to expand...
Click to collapse
SELinux mode changer, maybe?
I dont know exactly, SELinux is disabled by default in my phone, LOS 13
Dhi said:
SELinux mode changer, maybe?
I dont know exactly, SELinux is disabled by default in my phone, LOS 13
Click to expand...
Click to collapse
Maybe @aviraxp or @veez21 knows and help.
Please check, is now working? Permissive selinux enabled.
Los attached.
DiePirate said:
Maybe @aviraxp knows and help.
Please check, is now working? Permissive selinux enabled.
Los attached.
Click to expand...
Click to collapse
Line #7
05-15 12:52:48.190 I/Xposed ( 545): SELinux enabled: yes, enforcing: yes
I will try everything to make this work, every module developer sould notice this issue before, i will look for the answer
Dhi said:
Line #7
05-15 12:52:48.190 I/Xposed ( 545): SELinux enabled: yes, enforcing: yes
I will try everything to make this work, every module developer sould notice this issue before, i will look for the answer
Click to expand...
Click to collapse
I'll try to disable selinux just now!
EDIT: where are the sources?
NPE error
Here are the logs
For the moment, I uninstalled the module, I wait for stable release. Selinux permissive.

Categories

Resources