[MOD][XPOSED][Android 8.0, 8.1, 9, 10, 11, 12, 12.1 and 13] Dark Tricks [2.31][03/25/2023]

Search This thread

sevenshorseman

Senior Member
Jul 31, 2012
854
211
Düsseldorf
Hi.
I am on S21 One Ui 5.0.
Installed the apk, enabled module in lsposed, changed some options, reboot, but nothing changed.

Is there a additional module for magisk?

Because dark tricks doesn't ask for permissions.
 
Feb 23, 2016
14
5
The two features related to hardware keys (torch and music control) are not currently working on Pixel 6 pro, Android 13.

Relevant log
Code:
[ 2022-11-30T16:43:53.545     1000:  1569:  1569 E/LSPosed-Bridge  ] java.lang.NoSuchMethodError: com.android.server.policy.PhoneWindowManager#init(android.content.Context,android.view.IWindowManager,com.android.server.policy.WindowManagerPolicy.WindowManagerFuncs)#exact
    at de.robv.android.xposed.XposedHelpers.lambda$findMethodExact$3(Unknown Source:6)
    at de.robv.android.xposed.XposedHelpers.h(Unknown Source:0)
    at de.robv.android.xposed.d.get(Unknown Source:15)
    at java.util.Optional.orElseThrow(Optional.java:404)
    at de.robv.android.xposed.XposedHelpers.findMethodExact(Unknown Source:25)
    at de.robv.android.xposed.XposedHelpers.findAndHookMethod(Unknown Source:27)
    at de.robv.android.xposed.XposedHelpers.findAndHookMethod(Unknown Source:4)
    at com.darkeyes.tricks.Main.handleLoadPackage(Main.java:822)
    at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(Unknown Source:2)
    at de.robv.android.xposed.callbacks.XC_LoadPackage.call(Unknown Source:6)
    at de.robv.android.xposed.callbacks.XCallback.callAll(Unknown Source:26)
    at q.beforeHookedMethod(Unknown Source:167)
    at de.robv.android.xposed.XposedBridge$AdditionalHookInfo.callback(Unknown Source:79)
    at LSPHooker_.startBootstrapServices(Unknown Source:11)
    at com.android.server.SystemServer.run(SystemServer.java:935)
    at com.android.server.SystemServer.main(SystemServer.java:647)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:914)
 

Dark_Eyes_

Recognized Developer / Recognized Contributor
Sep 19, 2013
2,778
10,771
The two features related to hardware keys (torch and music control) are not currently working on Pixel 6 pro, Android 13.

Relevant log
Code:
[ 2022-11-30T16:43:53.545     1000:  1569:  1569 E/LSPosed-Bridge  ] java.lang.NoSuchMethodError: com.android.server.policy.PhoneWindowManager#init(android.content.Context,android.view.IWindowManager,com.android.server.policy.WindowManagerPolicy.WindowManagerFuncs)#exact
    at de.robv.android.xposed.XposedHelpers.lambda$findMethodExact$3(Unknown Source:6)
    at de.robv.android.xposed.XposedHelpers.h(Unknown Source:0)
    at de.robv.android.xposed.d.get(Unknown Source:15)
    at java.util.Optional.orElseThrow(Optional.java:404)
    at de.robv.android.xposed.XposedHelpers.findMethodExact(Unknown Source:25)
    at de.robv.android.xposed.XposedHelpers.findAndHookMethod(Unknown Source:27)
    at de.robv.android.xposed.XposedHelpers.findAndHookMethod(Unknown Source:4)
    at com.darkeyes.tricks.Main.handleLoadPackage(Main.java:822)
    at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(Unknown Source:2)
    at de.robv.android.xposed.callbacks.XC_LoadPackage.call(Unknown Source:6)
    at de.robv.android.xposed.callbacks.XCallback.callAll(Unknown Source:26)
    at q.beforeHookedMethod(Unknown Source:167)
    at de.robv.android.xposed.XposedBridge$AdditionalHookInfo.callback(Unknown Source:79)
    at LSPHooker_.startBootstrapServices(Unknown Source:11)
    at com.android.server.SystemServer.run(SystemServer.java:935)
    at com.android.server.SystemServer.main(SystemServer.java:647)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:914)
Are you sure you are using the latest version? I don't have that problem on my pixel 6, Android 13. Maybe the pro version has a different framework, but that would be surprising.
 

meistr91

Senior Member
Jan 26, 2015
668
156
Google Pixel 6
Hey, back on novermber patch everything wqs working flawlessly. But I have update to dec patch on my stock pixel 6 so following stopped working:
1. Power button torch
2. Volume skip music
3. Battery estimate only on expanded QS
4. Double tap to sleep on lockscreen
I heard that source of a13 was heavily changed in december patch bcuz many modules stopped working like systemless pixel launcher, aosp mods few more.
My device is pixel 6 stock fw dec patch: TQ1A.221205.011
Edit: i have even try to do clean flash of fw, but that didn't helped
 

Dark_Eyes_

Recognized Developer / Recognized Contributor
Sep 19, 2013
2,778
10,771
Hey guys, I just pushed a new version 2.27 that fixes everything for the Android 13 december build. Since it is not a new SDK version, you should only update if you are on the december build. Otherwise, stay on version 2.26.

EDIT : I released a new version 2.28 that should work for eveybody. Update away everyone!

Let me know how it goes!
 
Last edited:

Rokcy98

Senior Member
Sep 25, 2018
75
61
Italy
ASUS ZenFone 8
Hey guys, I just pushed a new version 2.27 that fixes everything for the Android 13 december build. Since it is not a new SDK version, you should only update if you are on the december build. Otherwise, stay on version 2.26.

EDIT : I released a new version 2.28 that should work for eveybody. Update away everyone!

Let me know how it goes!
I'm on Android 13 (Asus ZF8 stock), and with latest 2.28 "quick pulldown" isn't working anymore
 

Dark_Eyes_

Recognized Developer / Recognized Contributor
Sep 19, 2013
2,778
10,771
I'm on Android 13 (Asus ZF8 stock), and with latest 2.28 "quick pulldown" isn't working anymore
Is it working if you start the gesture IN the status bar, and not from the edge of the phone? I noticed that, but I haven't had time to look into that yet.
 

Dark_Eyes_

Recognized Developer / Recognized Contributor
Sep 19, 2013
2,778
10,771
Hey @Rokcy98, can you install this test version and send me the log? It might help me figure out what is going on!

Thanks!
 

Attachments

  • app-release.apk
    4.1 MB · Views: 13

Dark_Eyes_

Recognized Developer / Recognized Contributor
Sep 19, 2013
2,778
10,771
Problem is still here
Thanks for trying it. According to the log, your Android version reports Security patch = 2022-12-05, which is December. Are you using another mod to spoof a different build than your device one? That's probably what is conflicting.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 46
    Hi guys,

    I'm new to developing with Xposed, but I got a few tricks working that I think might interest some of you. It has been tested only on stock Android 13 (Pixel 6). There is a simple user interface that can be launched through xposed manager to choose what mods that you want. However, a reboot is needed every time you change a setting. Here is what can be done :

    - Force dark theme even on light wallpaper (Android 8.1 only)
    - Replace voice assist with phone on lockscreen (Android 8.0 and 8.1 only)
    - Always show the navbar on the right when in landscape (Android 8.0, 8.1 and 9 only)
    - Hide next alarm on the lockscreen and in the quick settings and the icon in the status bar
    - Show 4G instead of LTE
    - Hide LTE+/4G+ (always show LTE/4G)
    - Hide ADB notification
    - Hide VPN notification
    - Hide "Network may be monitored"
    - Hide the build version in the QS when developer options are enabled (Android 10+)
    - Double tap to sleep on statusbar or lockscreen (Android 12+)
    - Volume keys control cursor
    - Volume keys skip track
    - Power key toggle torch (with proximity check)
    - Prevent accidental wake up
    - Less frequent notifications
    - Screen off notifications only
    - Change the carrier text
    - Bypass Outlook device policy
    - Quick unlock (Android 12+)
    - Show battery duration estimate on expanded QS (Android 12+)
    - Force small clock on lockscreen (Android 12 and 12.1 only)
    - Adjust height for back gesture (Android 12+)
    - Expanded notifications (Android 12+)

    Enjoy and provide feedback!

    Download : https://github.com/Xposed-Modules-Repo/com.darkeyes.tricks/releases/tag/38-2.31

    Source code : https://github.com/darkeyes84/dark_tricks
    39
    New EdXposed version

    Hi guys,

    Those who want to try the new EdXposed version 0.4.6.0 but don't want to use the custom Magisk build, use this version instead. I added back the sepolicy permissions to make it work.

    Enjoy!
    7
    Hi guys,

    I just pushed a new version in the OP that is compatible with Android 12. For now the proximity wake up function is disable because the underlying functions have been rewritten in Android 12 and I didn't have the time to look into it.

    Hiding the next alarm on the lockscreen is also not working for Android 12. I'll try to fix it in the coming days, but it seems to be a bug with LSPosed. I'll keep you guys posted.

    Please let me know how it goes and report any issues you might encounter.

    Enjoy!
    6
    Hi guys,

    new build is up with working Prevent accidental wake up for Android 12. I also added LSPosed scopes so it will be easier to enable the required packages.

    Still have to figure out why the alarm isn't hidden on the lockscreen on Android 12.

    Enjoy!