DetoxDroid
DetoxDroid copied to clipboard
Neither the screen time option working nor the doom scroll option working
The screen time option still shows permission required even though I have already granted it.
The doom scroll feature doesn't work at all on my phone for some reason. Literally nothing comes up when I'm scrolling.
Try completely restarting the app.
It is a bug that it won't show the stats when returning to DetoxDroid after granting the permission though.
Try completely restarting the app.
It is a bug that it won't show the stats when returning to DetoxDroid after granting the permission though.
Ok it works now after so many triesss. But the doom scrolling feature still doesn't work :( . Any advice?
Try completely restarting the app.
It is a bug that it won't show the stats when returning to DetoxDroid after granting the permission though.
Hi, It still didn't work for me.
P.S: Thanks for the Amazing app.
Break doom scrolling doesn't work for me either
Mine was working last night when I installed, then this morning I noticed this "screen time unavailable" message.
I tapped "Grant Permission" and it of course already has permission.
I force closed, re-opened, same message.
Then I tried removing permission, adding it back, same message.
I also tried stopping/starting detox droid.
Still stuck at this message.
I'm also experiencing similar issues with the new version of the app: break infinite scrolling has never worked since the update was released. Additionally every now and then if I enter the app I see that it's not started. After starting it would say nothing, then stop after a while. Occasionally after starting it it asks to grant the adb permissions even though I already granted them (multiple times as well)
By the way, you might want to consider integrating with Shizuku to make granting the adb permissions a lot simpler. I already use Shizuku on all of my devices in order to be able to easily configure AppOps on my stock ROM.
I am having a hard time reproducing the issues. I will try to make the "break infinite scrolling" detection heuristic a bit more generous and, hopefully, this will fix it.
I'm not sure whether the problem is with the heuristics (it works fine with the oldest version on F-Droid, which is what I'm currently using).
With the new app build the service just won't keep running.
I can send logs or other debug info if you think it could be useful. I'm using a Pixel 7 Pro running the stock rom.
But does for example the grayscale feature work (i.e. if you activate it, add some exceptions and start DetoxDroid, will the screen turn gray depending on the app in the foreground)?
Or is the DetoxDroid background service as a whole not working?
On December 15, 2023 4:41:31 PM GMT+01:00, Davide Depau @.***> wrote:
I'm not sure whether the problem is with the heuristics (it works fine with the oldest version on F-Droid, which is what I'm currently using).
With the new app build the service just won't keep running.
I can send logs or other debug info if you think it could be useful. I'm using a Pixel 7 Pro running the stock rom.
-- Reply to this email directly or view it on GitHub: https://github.com/flxapps/DetoxDroid/issues/92#issuecomment-1858081141 You are receiving this because you were assigned.
Message ID: @.***>
The usage time doesnt work
Hi, I am also seeing "Screen time unavailable" even though I granted permissions. Tried restaring app, phone, removing permissions but still the same. Galaxy S22 / Android 14.
I'm not sure what is going on but the app as a whole is not working, it might be an issue with Android 14. I only use it for "break infinite scrolling" and it's definitely still not working. Greyscale also doesn't work.
In general if I press "Start" it always asks for the WRITE_SECURE_SETTINGS permission which I already granted, as well as the usage permission, and it appears to not be working. I can reproduce this on an emulator running the UpsideDownCake Android 14.0 (Google APIs) image.
Speaking of the WRITE_SECURE_SETTINGS permission, it would be helpful if the adb command text were selectable so one could run it in Termux with local wireless debugging.
By the way, the last 1.x version of the app is gone from F-Droid for some reason.
Hi, I just tried he app for the first time and stumbled upon the same issue(s).
- Phone: Google Pixel 6
- Android: 14
- DetoxDroid: 2.0.3, latest from F-Droid
I did some brief testing just in case this could help further investigating this issue:
-
Doom scrolling:
- It doesn't seem to work but I can't be 100% sure since I never saw it in action.
- I activated it using "not-list" w/a selecting any app, set to the time to 1min, scrolled for at least 2 min each both in the YouTube and Instagram app, and nothing happened.
-
Automatic Grayscale:
- It only working globally for all apps depending on the app selection mode. "only-list" -> always color, "not-list" -> always gray (whole system no matter my app selection). I left the "Ignore Non-Fullscreen Apps" just in case.
- When clicking on "Allow Daily Color Screen Time" I get the "DetoxDroid needs specific permissions for this feature to work" floating notification pointing me to the "Usage access" app list (already granted, tried multiple times including killing the app and restarting my phone without any affect).
- Schedules don't seem to have an effect. In my case setting it to "not-list" (always gray) and setting up a timer either including or excluding the current time, even after switching the feature on and off, made everything gray all the time (same as without schedule).
- Sidenote: I noticed that changes (e.g. "only-list" to "not-list") only take affect after disabling and enabling the Automatic Grayscale option or pressing Stop and Start DetoxDroid. Not sure if this is intentional.
-
Disable Apps:
- Doesn't seem to work either, all apps I selected can still be started and used.
- When trying to switch Operation Mode from "Block" to "Deactivate" I get the "needs specific permission" which points me the the adb set-device-owner command which I already executed before, stopping the same message from popping up in the main screen but apparently not here. Executing the command again and even restarting my phone didn't make a difference.
UPDATE:
- I sporadically get the "needs specific permissions" popup with the "adb set-device-owner" when restart the service by pressing "Stop" then "Start DetoxDroid". Sometimes it popes up, sometimes not.
- Also when restarting the service this way having grayscale on with the schedule (outside current time, somewhere in the future) grayscale stays on even when stopping DetoxDroid, only after switching off the whole grayscale option I get color again, switching it on again, even though the service should be stopped, keeps everything gray. After deleting the schedule switching the grayscale option on and off does nothing (it stays gray). After stopping and starting the service it works as before (without schedule), meaning bot the service itself and the grayscale option can toggle the global gray-mode of my phone.
- It seems, as mentioned above, that some changes don't trigger a change event to the active service or consider the service at all.
- At some point I was not able to toggle off grayscale at all, after restarting my phone everything was still gray, starting the service showed the permission popup and apparently put a second time effect onto my screen due to enabling grayscale again. Luckily now I was able to disable grayscale mode.
@cbaoth Has this issue been fixed with the latest update? I tried to test it on Android 14 with the emulator, but the grayscale mode apparently did not work (even if I used Google's Digital Wellbeing Software or the accessibility settings). I assume it's an issue with the emulator, though.
Just trying on Android 14, Automatic Grayscale:
- Feature Schedule does not work, grayscale is not applied at specified time
- When clicking on checkbox on the top, the grayscale is turned (no matter the Schedule) on and then app crashes. Same when then I start app again and turn the feature off: app crashes and grayscale is turned off.
@hovancik Using v2.0.4? (Because I remember fixing a bug that caused the app to crash under certain conditions when the switch on the top was clicked.)
(I can reproduce the issue with the Schedule though. Thank you! I will work on it.)
Yes, 2.0.4 from F-Droid.
Is there any way you could paste the stack trace that causes the crash here?
Well, if there are some steps to follow to get the trace I can do it, but don't know how it is done. I am not seeing any messages.
~~Hi, I want to report same problem. The doom scrolling never work on version 2.x.x (my device is Poco X3 NFC (A12, v8a) and Redmi 6a (A9, v7a). I've tried every version, and I have found out that only the 1.2.0 had it work (everytime I try, I always make sure to allow draw over other apps & draw over other apps in background permissions). Sorry for my bad english.~~
@cbaoth Has this issue been fixed with the latest update? ...
Hi @flxapps, I finally got around to test it (with v2.0.5) and at a quick glance both the scheduled grayscale as well as the doom scrolling feature seem to work now!
I have not tested it thoroughly yet though, just:
- Setting a grayscale schedule to current timeframe enables it globally (what I want for the evening/night time). At first glance no issues with enabling/disabling.
- I tried to scroll in the YouTube app for over 1min with a 1min time limit set and it forces me to take a short break in which I'm unable to use the app (exactly what I want).
I'll try to use it within the next days and see if anything (bug related) pops up, until then, thanks for the fix ... and the app in general, exactly what I need for my (actual) ADHD brain and at first glance better than any other solution I found up until now.
I was able to fix this by adding DetoxDroid to my list of DuraSpeed exceptions. Check in your settings menu if your phone came with DuraSpeed, and if it did, add DetoxDroid as an exempted app
Hi, I want to report same problem. The doom scrolling never work on version 2.x.x (my device is Poco X3 NFC (A12, v8a) and Redmi 6a (A9, v7a). I've tried every version, and I have found out that only the 1.2.0 had it work (everytime I try, I always make sure to allow draw over other apps & draw over other apps in background permissions). Sorry for my bad english.
Oh right, sorry, looks like I made a false report. The feature works after I change some settings on the exception list.
I've got the same issue, neither usage stats nor scrolling detection work on my redmi note 10 pro/LineageOS 20. I guess google once again broke some APIs in newer android versions.