• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[APP][ROOT/SHIZUKU][10+][08/Jul] DarQ: Per-app selectable force dark option for Android 10+

Search This thread

93starletgt

Senior Member
Aug 5, 2007
349
34
Updated my Poco F3 to MIUI 13 on (Xiaomi EU, Android 12). I am rooted, but Darq isn't doing anything (although the app itself acts normally, like if it's working). Any ideas on how to enable it?
 

93starletgt

Senior Member
Aug 5, 2007
349
34
Which apps are you trying to use it on?
Any other app that doesn't come with factory dark mode setting (like Google or Facebook apps). It just doesn't theme any app at all. The app behaves like if there's no errors, gets proper root access. But since Android 12/MIUI 13 it automatically stopped theming apps. The problem is not "specific app" related.
 
Last edited:

Quinny899

Recognized Developer / Recognized Contributor
Jan 26, 2011
8,681
7,977
24
Salford, Greater Manchester, UK
quinny898.co.uk
Any other app that doesn't come with factory dark mode setting (like Google or Facebook apps). It just doesn't theme any app at all. The app behaves like if there's no errors, gets proper root access. But since Android 12/MIUI 13 it automatically stopped theming apps. The problem is not "specific app" related.
Can only assume MIUI has changed something in 13 then, sorry. DarQ relies on a system "feature" (it's a developer option really) so if that's not there then there's nothing I can do.
 

Thebear j koss

Senior Member
Any other app that doesn't come with factory dark mode setting (like Google or Facebook apps). It just doesn't theme any app at all. The app behaves like if there's no errors, gets proper root access. But since Android 12/MIUI 13 it automatically stopped theming apps. The problem is not "specific app" related.
Most apps have native dark mode on Android 12. They follow system theme or have an option to switch to dark mode in app settings. Including Google and Facebook. In fact I only have like 5 apps that don't get dark mode that DarQ themes decently, Amazon shopping, dunkin donuts, TD Bank, home depot, background eraser.
 

93starletgt

Senior Member
Aug 5, 2007
349
34
Can only assume MIUI has changed something in 13 then, sorry. DarQ relies on a system "feature" (it's a developer option really) so if that's not there then there's nothing I can do.
Yes, I figured. I wanted to thank you for developing this app. I used it since its first version. My eyes are sensitive to the light, and this app was a life saver. Thank you very much.
 

93starletgt

Senior Member
Aug 5, 2007
349
34
Just installed MIUI 13, v13.0.3... I was hoping Darq would work after installing the MIUI update, still doesn't work. I have MIUI 13 in several devices, Darq doesn't work in any of them, sadly.
 
  • Like
Reactions: hacker812c

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    App tiktok run perfectly in dark mode
    Yes, but you don't need this app for that. It has it natively.
    1
    Just installed MIUI 13, v13.0.3... I was hoping Darq would work after installing the MIUI update, still doesn't work. I have MIUI 13 in several devices, Darq doesn't work in any of them, sadly.
  • 106
    PFfaGMr.png


    DarQ provides a per-app selectable force dark option for Android 10 and above.

    It uses a root or Shizuku (ADB) service to apply the theme seamlessly and quickly, without needing an accessibility service.

    DarQ also provides an option to apply the system dark theme (as well as selectable force dark) only after sunset and before sunrise, protecting your eyes when it's most needed.

    Please read the Frequently Asked Questions sections in the app or here for more information and some answers to questions

    Download from GitHub releases

    Source available on GitHub

    Screenshots:

    QJ8KOet.png
    ZlgurUU.png


    Examples of apps with force dark enabled:

    6wp1GQK.png
    N0bhKGi.png



    Changelog:

    v2.1
    DarQ 2.1 contains a few new features and fixes:
    • Backup and Restore your config to device or the cloud
    • A rewritten Xposed module with the ability to make even more apps work with force dark, including Snapchat and an option (enabled by default) to fix the inverted (black on dark) status bar icon colors.
    • Fixed crashes related to navigation in the app
    • Fixed a crash where requesting root could cause a crash
    • Improved some Material You theming throughout the app
    Please note, if you use the Xposed module currently, your settings may be reset by this update. Read the instructions in this post to workaround this.

    v2.0
    DarQ 2.0 is a complete, from scratch rewrite of DarQ, with a lot of improvements:
    • DarQ 2.0 has an entirely new design, with Material You elements and Monet (wallpaper-based) colours.
    • The ADB script is now gone, and instead Shizuku handles the service on non-root devices. If you don't know what Shizuku is, think of it like a Superuser app for non-root devices. Start Shizuku via ADB on a computer (or even on your phone on Android 11 and above) once per boot, and any app that uses Shizuku can use ADB services.
    • The Accessibility Service has been replaced with a ProcessObserver, using the Shizuku/Root service. This is much quicker than Accessibility, so apps that previously were opening too quick to be supported may now work.
    • Improvements to the auto dark theme at sunrise/sunset to work better on different devices.
    • Improvements to the Xposed module for apps that try to block the use of force dark, preventing them from doing so.
    13
    Version 1.1 is now on XDA Labs. It includes support for Android Q beta 5, and removes support for beta 4. Do not update if you are still on beta 4.

    Why did this take so long for a one line change?
    Yesterday, when beta 5 came out, and I discovered the force dark setprop key had reverted, the first thing I tried was to set it without root. To my surprise, it worked (but this does not mean DarQ works without root now, keep reading).
    However, after modifying the app to not need root and to only allow the auto dark option with root, I released an APK to a few testers. They all reported the same thing: It didn't work without root.
    What actually turned out was that while it worked without root permissions, selinux had to be disabled. As I use Viper4Android on my Pixel, I have selinux disabled (the only current way for it to work on Q), so I didn't notice this during development.
    And so, those modifications took a few hours and were all trashed this evening in favour of a one line change and release. Serves me right for not fully testing it before putting effort into development.

    Enjoy.
    10
    Version 1.2 is now available on XDA Labs, at long last!

    If you're using ADB (the non-root method), please make sure to download and run the script too.

    Changelog said:
    v1.2
    - DarQ now works without root! Use the ADB script from the XDA thread or GitHub repository to run the required background service to use DarQ without needing to root your device.
    - Fixed root detection
    - Added OxygenOS support
    - Added a search box to the app list
    - Added a filter for system apps (hidden by default) in the app list
    6
    When downloading from XDA labs app or browser, I get a "trouble parsing package" error.
    6
    Thread Cleaned, since it looks like someone is having a bad day, maybe too much quarantine or not enough. Nevertheless, be nice, play nice, or else you will find, yourself quarantined from XDA.

    Carry on.