kieronquinn / darq Goto Github PK
View Code? Open in Web Editor NEWDarQ provides a per-app selectable force dark option for Android 10 and above
License: Apache License 2.0
DarQ provides a per-app selectable force dark option for Android 10 and above
License: Apache License 2.0
My banking apps requires me to use magisk hide so it can be launched on root.
The problem is once i enable magisk hide, the DarQ itself will not working, it only works if i turn off the magisk hide.
Any solution?
DarQ 1.3 always shows "Accessibility Service not running" after updating to Magisk 21.4.
Disabling and re-enabling it does not help. Rebooting the device does not help.
sh rundarq-linux-mac.sh
rundarq-linux-mac.sh: 3: Syntax error: "(" unexpected
when using zsh as shell.
bash rundarq-linux-mac.sh
works as expected. Seasoned hackers should quickly figure this out but might be nice to update the readme.
I'm on Havoc 3.0 on Q. Magisk 20.1. I've granted the app root but it doesn't detect it. I've checked in Magisk Manager and yes it has root. I tried to reboot, same problem.
Thank you so much for such an effective tool!
As we all know, some apps’ cold startup activitys have very disgusting ad splash screens,
so I used some other tools to replace the startup splash activity of these Apps as It's main activity, but a white splash screen appeared when it started. This looks very dazzling in the dark theme. Can your DarQ convert These white screens have turned dark, thanks again!
Hello dev, I have my phone configured to have personal and work profiles by the use of Shelter app. Darq app works good in personal profile. But when installed in work profile, even after granting root permissions, it keeps saying "Connecting to service". After a while, says timeout and to reboot my device. I did that also. No luck here.
I don't know why this issue is happening, but most of the apps I use on work profile never behaved like this.
Can u bring this app to support in android 9
would it be possible to fix white on white text? both slickdeals and amazon the search box becomes white on white when using darq on them. probably something out of your hands, but figured i would ask anyways.
Hi,
I have a phone that is not rooted and Android 11.
Developer mode is activated with USB debugging; everytime I run the file I get this error message :
"Unable to find adb. Please make sure you extracted the full zip file including the tools folder containing adb.exe
before running this script."
Any Idea why?
I have the option selected in the app, but it doesn't toggle between dark and light mode at sunset/sunrise. Does anybody else face the same issue? Already granted location permission and am running Android 10, non-rooted.
Android 10, AOSP
- Not a bug -
Since I have quite many apps installed on my phone, it would be great if there was an function to enable dark mode in all apps except for some OR an function to select all apps at once in the selection screen (for example in the 3 dots menu)
TY for your great app :)
I have enabled Google Rewards app but it's not purely amoled. Is it okay?
Also, during surveys, the option bar remains dark, invisible. The selection points should be white so that we can know which option we have selected.
I don't have the screenshot right now.
I noticed my dark keyboards were being lit up white when darq was enabled. I went into my enabled list to check if I accidently enabled it, which I didn't.
Please advise on how I can assist to troubleshoot this.
It doesn't work for tiktok and that was the only main thing why I wanted it.
How to fix?
Hello,
I'd like to suggest allowing the user to choose using the color invert feature available in Android accessibility settings for specific apps when the smart dark mode doesn't work.
Thanks
This is somewhere between a issue and a feature request.
When "Always use force dark" on all apps is enabled, it also inverts the twilight(or any other nightlight app) overlay making the whole screen white/washed out. And there is no way to provide an exception for this setting.
Even a select all/unselect all for for app selection page should do the job, if creating an exception list for "always force dark mode" is too time consuming to make.
I updated to the newest version v.2.1. Noticed that has changed from adb to Shizuku.
Before that, I only need to adb once, Darq will run in the background.
In this build, needs Shizuku to run in the background all the time, if I disable USB debug, it will not work after settings.
Does keep USB debug continuously on, will leave safety concern?
Thank you
What does the xposed module need to hook to function correctly?
The screen space usable throughout the app appears cut in half with v1.3 on My POCOPHONE F1 running Pixel Experience Android 11. Happens immediately after invoking the virtual keyboard in the search page and persists until killing the app and reopening it.
Hi, when I tap the "Monet Color Picker" button, I get a pop up that reads "Monet Color Picker unavailable for the currently selected wallpaper." This happens regardless of whether I use a static or dynamic wallpaper and there are no relevant logs in the output of adb logcat. Also, the ROM I'm running (Paranoid Android Sapphire) is super close to stock Android.
Is there anything I can do to get more info about this issue?
Thanks!
I can open it and I can select apps.. But it doesn't work, I tried to reinstall.. Still doesn't work.
Swiggy is a food delivery app in India. For some reason, this is the only app that doesn't work with Darq.
Darq used to work.
Now when I start it, it says 'service not running'.
My phone has A10, is rooted and has Magisk 21.3 and EdXposed 0.5.1.4.
Also check xda thread XDA Thread
Hello,
While checking all apps in the list, I accidentally checked DarQ too, so it crashed.
Since it's happening to all apps when checking them, I suppose it's a mandatory step and there's nothing we can do about it, right ?
However, DarQ should be hidden from the list, so that it cannot happen to itself.
Besides, DarQ didn't only crashed but also reset itself.
Thanks
I've just installed Shizuku and DarQ 2.2.1 on my non-rooted Galaxy Note9 running Android 10 but it doesn't work on any app at all. I don't know what logs or screenshots I should provide for further troubleshooting. Shizuku reports as running on 12.6 from adb and DarQ is authorised. DarQ doesn't work in any app even when I toggle the advanced option to always use force dark.
Hello!
I only want DarQ to affect exactly two applications. However, "Applist Detector", which is not set as an app to have Dark Mode forced on, still sees it:
Is there any way I can hide it? I need it for some apps due to my visual impairment and those apps not supporting a native dark mode.
Thanks and kind regards,
Ingwie
Will there be a release in google play?
DarQ already supports Shizuku, but doesn't seem to support Sui.
(Sui : https://github.com/RikkaApps/Sui)
I have dark system theme on my OP 7 Pro. All my apps have dark theme natively enabled or through DarQ. And I am thankful for this app for that.
However, sometimes when I open DarQ, it takes a while to load up and start the service. During this time a glaring white splash screen comes up, which is only aesthetic, completely unnecessary and doesn't add any value to the app. So I request you to remove it or replace it with something else. Please!
Thanks for publishing this app. I was using it on a OnePlus 7 Pro and recently switched to a Pixel 6 Pro. It works well except for some odd behavior with the Auto Dark Theme toggle.
Toggling on for the first time pops the modal for using location services or time zone, but after making either selection, the modal is dismissed and the background blur remains. It looks like additional options are presented behind the blur overlay, but they can't be discerned. (It would be an appropriate time for Android to ask for location permissions, but granting location access in advance doesn't change the flow or outcome.)
Tapping blindly at that point usually makes the app crash:
FATAL EXCEPTION: DefaultDispatcher-worker-1
Process: com.kieronquinn.app.darq, PID: 14211
android.os.DeadObjectException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(BinderProxy.java:571)
at com.kieronquinn.app.darq.IDarqService$Stub$Proxy.setupSettings(IDarqService.java:291)
at com.kieronquinn.app.darq.providers.DarqServiceConnectionProvider$setupService$1$1.invokeSuspend(DarqServiceConnectionProvider.kt:122)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
Restarting the app also causes a similar crash which can't be avoided unless app data is cleared:
FATAL EXCEPTION: main
Process: com.kieronquinn.app.darq, PID: 8452
android.os.DeadObjectException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(BinderProxy.java:571)
at com.kieronquinn.app.darq.IDarqService$Stub$Proxy.getLocation(IDarqService.java:375)
at com.kieronquinn.app.darq.service.autodark.DarqAutoDarkForegroundService$getNextTriggerTimes$2.invokeSuspend(DarqAutoDarkForegroundService.kt:107)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
I'm assuming this is an Android 12 or Pixel 6 quirk. Let me know if I can provide any additional info.
A few other apps (e.g. Shizuku that are also started using adb commands are exploring solutions to start themselves by utilizing the new wireless debugging feature in Android 11. Any plans for something like that? It will be a great feature to have such that we can finally ditch the cable + terminal! Thanks!
Hello,
The app currently works in whitelist mode : unchecked apps are untouched by default and checked apps are dark-forced.
I'd like to be able to choose to work in blacklist mode : unchecked apps are dark-forced by default and checked apps are untouched.
Because, after all, DarQ's purpose is to allow the user to exclude apps while (1) they're natively dark, or (2) they're looking bad when dark-forced.
Thanks
Dark mode on snapchat no longer works.
Currently how the app works is you either select specific apps to allow OR you allow all apps, you currently can't allow all BUT select a few specific apps to keep Light. It would be great if the "Always use Force Dark" option instead acted as a toggle to change the allowlist to a denylist so you can have everything Dark by default but selectively turn off apps (like ones that might have issues)
The new version 2.1 looks incredible! After an hour feel's incredible and I have not noticed any issues as stated in title! Thank you for all your hard work, you have made married life easier with using my phone late night with the wicked which of the southeast that hates light while attempting to sleep
I created a few posts on xda, I am on version 1.3 & had updated from 1.1. I have a Samsung A50 A10 one ui 2.0, use nova launcher & Klwp & tasker. All permissions have been given, I have done a fresh install, wiped cache & data, restarted. Everything I have read or knew of, I have done.
The app is working, but it isn't, I can not change any settings as the app is stuck at "connection to services" but as I have said it's still working, apps that I had forced via 1.1 are still in dark mode (after I run adb Wifi cmd). The big one for me is Amazon shopping app, because of late night window shopping lol.
Is there anything I can do to fix the problem? Or something I did that is causing it?
Apologies for posting in the wrong github, somehow my wires got crossed, and I posted in tap tap
Edit:
Been about a month, I am not bitchin or complaining, I am just wondering if at the very least I can get a link to version 1.1 apk? Or is it right in front of me and I don't see it?
Got this to use specifically for Snapchat (latest version at time of issue [9/23/2021]) and it seems to be the only app on my phone that DarQ does not convert to dark mode. Since Snapchat does not have a built in dark mode as of now for android, I was really looking forward for this app to be the one thing that worked without rooting my phone (AT&T Samsung Galaxy S9 Plus).
I think this is something on Snapchat's end that is preventing it, but i am hoping it is not and is something that you can look into and possibly fix.
Besides that, the app works flawlessly, and the instructions were very clear and easy to follow, props to all of you.
what is it and why?
Hey man. Ive started to notice recently that some apps wont adhere to the dark mode but they used to before. One of them that I used today is AliExpress. I cant think of the other one I saw off the top of my head. But anyways Im on Lineage OS (10) with root.
Looks like you forgot to increase versionCode: v2.0 has the same (13) v1.3 already came with, so this won't be offered as update (Android considers the two the same). You might wish to fix that and replace the APK at the release.
On a Google Pixel 1st gen that's updated to Android 10, have tried several apps with the script ran with no success
Hello there @KieronQuinn .
Firstly I would like to express my gratitude for making such an amazing app for free, I hope u and ur family is doing fine among such an pandemic .
I would like to know whether it is possible to implement it using shizuku manager?
https://shizuku.rikka.app/guide/ Using Shizuku Manager it is possible to disable apps, disable activities, permissions and lots of other stuff....
Some apps that have used Shizuku manager
Best Regards...
As I've stated many times in the XDA thread, this won't happen. Force dark is intended to be a developer option, and it regularly breaks apps. With a whitelist, you must consciously choose to pick which apps are themed, and will know to turn them off. With a blacklist, this is not the case.
Except you already have an option in app to force all apps as dark ignoring the whitelist so how is this any different than that? You already allow everyone to unconsciously set all apps dark so there's no point blocking people from selectively unbreaking the apps?? That logic would make sense IF you didn't already allow it as an option
The enable/disable code is also not immediate when an app launches, so a blacklist would lead to instances of apps being incorrectly force dark when they shouldn't be, rather than the much safer case where they're not themed with the whitelist.
And again, they already are with the option you already added?? If the app already allows you to enable all by default, it throws the entire point of "I don't want to add it so people don't break everything" out the window, why even add that option in the first place if you cared about breakage?
Also just saying, it's kinda rude to not even allow someone to reply immediately locking a topic. You can close the issue without preventing people from responding.
Originally posted by @KieronQuinn in #36 (comment)
For some reason my location quick tile needed to be turned off & back on? First time that's happened? Bit fixed the issue
But a few hours ago the app stopped working, giving me an (accessibility) warning, but regardless of what I do I can't get app to luanch
I am also having issues with other apps and accessibility I believe,
Google & various other Google apps updated this morning via playstore, not sure if that has anything to do with the problem
I am long time DarQ user haven't loaded anything new on my 1+7tpro5g LOS 17.1 rooted haven't changed any modules via magisk, I don't know what could have caused this?
I just noticed "android accessibility suite" updated, I just titanium backup, restored "AAS" and that didn't fix the problem, so this line was useless babble
Hello,
Would you please release your APKs on GitHub ?
Thanks !
Hi, I am using Redmi 4x santoni, on MIUI 11 and am rooted. Theres an error stating "Force dark requires the system dark theme to be enabled to work. Please enable it below to see changes in apps".
Dark mode requires restart, which is quite inconvenient. Isn't there any solutions to this problem?
I am rooted, so can't i smh enable the dark mode?
Other apps like dark mode report that devs have disabled this feature. Any way to Enable?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.