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

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.

Related

[MOD][XPOSED][4.0+] ScreenOffAnimation v1.3 - Custom Screen On & Off Animation

Xposed-ScreenOffAnimation
(Custom Screen On & Off Animation for all ROMs)​
This module is an experiment to bring custom screen off animation to all ROMs without modifying native codes.
As of v1.2, it added screen on animation too.
Instructions
• Ensure you have a custom recovery ready to flash Xposed-Disabler-Recovery.zip.
(If anything goes wrong while booting, you can always flash it, reboot & disable this module)
• Install ScreenOffAnimation
• Enable ScreenOffAnimation in Xposed Installer
• Reboot
• Turn off your ROM's native screen off animation (if any)
• Turn off your ROM's native screen on animation (if any)
• Change the settings in the module to your likings!
Note: All the animations are not ported (but recreated) from ROMs because the implementation is different, so there might be slight visual differences from the original...
Video
Video is based on the pre-release version on v1.0. Improvements have been made to some animations.
Screenshots
In the Attachments
Source Code
This module is open-source, licensed under GPLv3. The source can be found here
• Developers: You may contribute by sending pull-requests or opening an issue on Github with coding tips.
• Translators: You may contribute your translations by sending pull-requests or posting the file in this thread.
(Do a search to see if others have already translated to your language before doing so).
The latest English version can be found here.
How Does It Work?
This module does the following for screen off animation:
• Before the screen off method, add our code
• Grab the screenshot
• Add a black view to the screen
• Add the screenshot we grabbed
• Animate the screenshot on the black view
• Once the screenshot is completely out of the screen, call the native code to turn off screen
This module does the following for screen on animation:
• After the screen on method, add a black screen
• Animate the black screen out
(This is simplified. You may see the actual source code to have a better understanding)
Special Thanks
• rovo89 and Tungstwenty for Xposed Framework
• XpLoDWilD for the Scale Down screen off animation idea
• LG for the Optimus G screen off animation idea
• Google for the Android Lollipop screen off animation idea
• Chandra Sekhar for this blog post
• Malcolm Hall for SleepFX Tiles Fade animation idea
If I have missed out anyone that should be thanked, feel free to PM me and I will add it in
Downloads
• Main Download: Xposed Repository
• Mirror Download: My Google Drive​(If you want to mirror my files, I'm fine as long as you link back also to this original thread)
Compatibility
This should work on all ROMs on Android 4.0 to 4.4 except those mentioned below
Gingerbread Support?
I do not plan to add Gingerbread support. This module relies on native code (to screenshot the screen) which was only added in ICS & above
However, if anybody knows a simple way to screenshot the screen in Gingerbread, feel free to contact me.​
Bugs with ROMs
Screen On Animation doesn't work properly on these ROMs
• TouchWiz
• Color OS
• Android 4.1.2 and below​Screen Off Animation doesn't work properly on these ROMs
• TouchWiz (with S View Cover)Turning off the screen with the S View Cover closed will not turn off the screen until you open it again. More Info Here​
Newest Changelog
Version 1.3 (22 October 2014 / 1705 / GMT+8)
• Main Changes + Fixes:
--> Prevent duplicated Screen On Animation
--> Fix screen on Fade Tiles restarting halfway (seen in Fade Tiles)
--> Try to disable native screen off animation on Android 4.2.1 and below
--> Add Vertu Sig. Touch Screen On + Off Animation
--> Add Android 5.0 Lollipop Fade Screen Off Animation
• Code Refactoring:
--> Simplify Animation Listener codes
--> Integrate interval codes into a new SeekBar class
--> Add helper methods to improve code readability
--> Tiny optimization to screenshot code
• Translations:
--> Update Polish translation (by @godlesplay)
--> Update Hungarian Translation (by @szunyi77)
--> Update French Translation (by [email protected] / @jose404)
--> Update Chinese (China & Taiwan) Translation (by @Pocket Fan)
Older Changelog
Version 1.2 (16 June 2014 / 1535 / GMT+8)
• Main Changes:
--> Add Screen On Animation (see Note below)
--> Add Random Animation Option
--> Add new sliding ui for screen on animations
--> Prevent some cases of screen off animation when turning on screen + Possible fix for S View cover bug (not tested)
• Translations:
--> Update Polish translation (by @godlesplay)
--> Update Hungarian Translation (by @szunyi77)
--> Update French Translation (by [email protected])
--> Update Chinese (China) Translation
• Code Refactoring:
--> Rename the helper method to finish animation
--> Refactor screen off methods to make way for screen on methods
--> Move ScreenOff.Implementation out into another class
--> Reduce some errors
--> Small UI Changes
--> UI Changes to make way for screen on animation
Version 1.1.1 (2 June 2014 / 1150 / GMT+8)
• Add FadeTiles Screen Off Animation
• Move interpolator out of scale_down.xml (Code Refactoring)
• Prevent duplicated animations when one is already showing
• Add Spanish Translations (by @badkill)
• Add German Translation (by @AssaSsiNMiLeS)
• Add Hungarian Translation (by @szunyi77)
Version 1.1.0 (31 May 2014 / 1050 / GMT+8)
• Fix a possible system crash
• Fix animation not showing for screen timeout on Android 4.2.1 & above
• Reduce excess logging to Xposed Installer
• Change minimum speed 100ms
• Change Speed Bar to intervals of 10ms
• Tweak CRT animations
• Add attempt to auto-disable native screen off animation for Android 4.2.1 & above
• Add French Translation (by @jose404)
• Add Italian Translation (by @teorouge)
• Add Portuguese (Portugal) Translation (by @mauam)
• Add Portuguese (Brazil) Translation (by @zanini007)
• Add Polish translation (by @godlesplay)
Version 1.0.3 (26 May 2014 / 1840 / GMT+8)
• Rewrote hooks (should fix some JB devices not loading at all)
• Improve Context retrieving (should fix Preview function not working)
• Improve hooks on Android 4.2.1 and below
• Tweak the delay before removing the black view (should fix flickering after animating)
• Fix Navigation Bar still showing while animating on Android 4.4
• Add Chinese (China+Taiwan) Translations (by @Pocket Fan)
Version 1.0 (25 May 2014 / 1340 / GMT+8)
• First Release
Galaxy s3 i9300 4.3 mk6 stock touchwiz rom, agni kernel. This module isn't working and the last entry in the log is for hooking into the power manager sdk18. No mention of a fail or anything.
Great app
OK I think there maybe a conflict with GravityBox as I had to disable it to get your module to work. Can somebody else please confirm this.
And after the animation ends the screen flickers slightly before it turns off.
Overall it's a great first release and I can't wait to see what other modules you make.
Works on sgs4 with 4.3 only a little slow
Sent from my GT-I9500 using XDA Premium 4 mobile app
Unable to work on my stock 4.0.4 devices. (Unable to preview animation)
I am using galaxy-s3 i9300 with Wanamlite JB 4.3 and boeffla Kernel and the module dosent seem to work at all. Nothing happens and even preview does nothing at all
Sent from my GT-I9300 Wanamlite v7.3 ( Android JB 4.3), boeffla Kernel, Xposed framework. using Tapatalk
Works , S4 Gt-I9500 , KK 4.4.2
A bit laggy though.
keep up the good work :good:
Works on Moto G but screen flashes when animation plays
Sent from my XT1033
Dosn't work in Xperia S (LT26i) Jelly bean 4.1.2
I try to all of the instructions said but, dosn't work the preview and the animation when i turn off the screen doesn't work too,
But i love the idea of this, i hope that in a future will works
DOES NOT work on a Huawei G740 (JB 4.1.2). Tested with XPosed 2.5.1, then 2.6.1 - the latter requires disabling resource hooks on Huawei devices. Will wait (patiently) for your next version.
Sent from Tapatalk 4.6.2
Zekotraceur said:
I try to all of the instructions said but, dosn't work the preview and the animation when i turn off the screen doesn't work too,
But i love the idea of this, i hope that in a future will works
Click to expand...
Click to collapse
It seems that Android 4.1 might need additional hooks. Could you try ScreenOffAnimation_v1.0_TEST_1_250514.apk in the attachments? Also, regardless if it works or doesn't work, please upload your Xposed Installer Log.
Gynoid said:
Does not work on a Huawei G740 (JB 4.1.2). Tested on XPosed 2.51 and 2.61.
Sent from Tapatalk 4.4
Click to expand...
Click to collapse
It seems that Android 4.1 might need additional hooks. Could you try ScreenOffAnimation_v1.0_TEST_1_250514.apk in the attachments? Also, regardless if it works or doesn't work, please upload your Xposed Installer Log.
LeslieKawiti said:
OK I think there maybe a conflict with GravityBox as I had to disable it to get your module to work. Can somebody else please confirm this.
And after the animation ends the screen flickers slightly before it turns off.
Overall it's a great first release and I can't wait to see what other modules you make.
Click to expand...
Click to collapse
I have tried GravityBox[KK] and there doesn't seem to be any conflicts. Could it be that screen off animation inside GravityBox is turned on?
Also I have tweaked the ending delay (which might fix the screen flicker).
Could you try ScreenOffAnimation_v1.0_TEST_1_250514.apk in the attachments?
AssToast said:
Works on Moto G but screen flashes when animation plays
Sent from my XT1033
Click to expand...
Click to collapse
I have tweaked the ending delay (which might fix the screen flash).
Could you try ScreenOffAnimation_v1.0_TEST_1_250514.apk in the attachments?
big88moe said:
I am using galaxy-s3 i9300 with Wanamlite JB 4.3 and boeffla Kernel and the module dosent seem to work at all. Nothing happens and even preview does nothing at all
Sent from my GT-I9300 Wanamlite v7.3 ( Android JB 4.3), boeffla Kernel, Xposed framework. using Tapatalk
Click to expand...
Click to collapse
I have changed the way that preview function is done. It might fix the issue.
Please try ScreenOffAnimation_v1.0_TEST_2_250514.apk in the attachments.
Also, upload your Xposed Installer Log. (regardless if it works or doesn't work)
Pocket Fan said:
Unable to work on my stock 4.0.4 devices. (Unable to preview animation)
Click to expand...
Click to collapse
I have changed the way that preview function is done. It might fix the issue.
Please try ScreenOffAnimation_v1.0_TEST_2_250514.apk in the attachments.
Also, upload your Xposed Installer Log. (regardless if it works or doesn't work)
shivadow said:
Galaxy s3 i9300 4.3 mk6 stock touchwiz rom, agni kernel. This module isn't working and the last entry in the log is for hooking into the power manager sdk18. No mention of a fail or anything.
Click to expand...
Click to collapse
It seems that there might be a small difference in code for TouchWiz.
Please try ScreenOffAnimation_v1.0_TEST_2_250514.apk in the attachments.
Also, upload your Xposed Installer Log. (regardless if it works or doesn't work)
Still dosn't work, but thanks
Still dosn't work, but thanks for the suport and for trying :good:
Nothing works after installing test 1, previews not working also
Sent from my XT1033
With this new version, the Preview now works on my Huawei G740, but only the preview. Here's my Xposed log:
-----------------
25 mai 2014 09:11:57 UTC
Loading Xposed v47 (for Zygote)...
Running ROM 'G740-L00V100R001C432B176' with fingerprint 'Huawei/G740-L00/hwG740-L00:4.1.2/HuaweiG740-L00/C432B176:user/ota-rel-keys,release-keys'
Loading modules from /data/app/net.chezlestatto.xposed.mods.swapvolumekeys-1.apk
Loading class net.chezlestatto.xposed.mods.swapvolumekeys.SwapVolumeKeys
Loading modules from /data/app/tw.fatminmin.xposed.minminguard-2.apk
Loading class tw.fatminmin.xposed.minminguard.Main
Loading modules from /data/app/mobi.xperiacle.xposed.mod.xbatterythemer-1.apk
Loading class mobi.xperiacle.xposed.mod.xbatterythemer.XMod
Loading modules from /data/app/com.gzplanet.xposed.ringerandnotificationvolumeunlink-1.apk
Loading class com.gzplanet.xposed.ringerandnotificationvolumeunlink.NotificationVolumeUnlink
Loading modules from /data/app/com.gzplanet.xposed.xperiaphonevibrator-1.apk
Loading class com.gzplanet.xposed.xperiaphonevibrator.XperiaPhoneVibrator
Loading modules from /data/app/com.zst.xposed.screenoffanimation-1.apk
Loading class com.zst.xposed.screenoffanimation.MainXposed
Loading modules from /data/app/tungstwenty.xposed.masterkeydualfix-1.apk
Loading class tungstwenty.xposed.masterkeydualfix.XposedMod
Loading modules from /data/app/com.germainz.crappalinks-1.apk
Loading class com.germainz.crappalinks.CrappaLinks
Loading modules from /data/app/com.germainz.googleofflinevoice-1.apk
Loading class com.germainz.googleofflinevoice.OfflineVoice
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/de.blinkt.vpndialogxposed-1.apk
Loading class de.blinkt.vpndialogxposed.VpnDialogPatcher
Loading modules from /data/app/ma.wanam.torch-1.apk
Loading class ma.wanam.torch.Module
Loading modules from /data/app/com.appkiddo.xposedmulticlock-1.apk
Loading class com.appkiddo.xposedmulticlock.XposedMultiClockMain
Loading modules from /data/app/com.mohammadag.burnttoast-1.apk
Loading class com.mohammadag.burnttoast.XposedMod
Loading modules from /data/app/ca.gabrielcastro.xposed.spdy-1.apk
Loading class ca.gabrielcastro.xposed.spdy.XposedHook
Loading modules from /data/app/de.defim.apk.enhancedtoast-2.apk
Loading class de.defim.apk.enhancedtoast.Xposed
[EnhancedToast] 2014-05-25 09:12:01 loaded restricted packages: 9
[EnhancedToast] 2014-05-25 09:12:01 loaded additional settings: 0
[EnhancedToast] 2014-05-25 09:12:01 loaded configured patterns: 0
[EnhancedToast] 2014-05-25 09:12:01 loaded dont-track packages: 16
[EnhancedToast] 2014-05-25 09:12:01 loaded loquacious packages: 82
[EnhancedToast] 2014-05-25 09:12:01 loaded toast notifications: 859
Loading class de.defim.apk.enhancedtoast.Xcheck
Xposed-ScreenOffAnimation (SDK16): Done hooks for PowerManagerService
XBatteryThemer: xbatterytheme.DM.badkill
Sent from Tapatalk 4.6.2
Great
The ScreenOffAnimation_v1.0_TEST_1_250514.apk got rid of the flickering and its working like a charm now.
P.S I'm using a Motorola G.
i installed the new test version and now it works fine.. preview feature is working and also the animations are working when going into standby..
i have a request if you can make the animation speed 100ms instead of 200ms as fastest speed
also attached is my Xposed log as you requested
awesomeee!
but sometimes its laggy
can you enable 100ms option?
Can you PLEASE add an option for screen ON effects?
Exactly like the off effects just reversed when pressing the lock screen button when the screen is off.
Im searching for years such thing and I didn't find similar option anywhere.. Sorry for my horrible English by the way

[MOD][Xposed] Instagram Like Settings

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!

[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