Hi guy
Trying various methods without adb/shizuku give:
Exception occurred while executing ‘night’:
java.lang.SecurityException: getNightModeCustomType requires MODIFY_DAY_NIGHT_MODE permission
cmd uimode gives the options but executing any options ends in error.
Anything beyond that is beyond me.
But, maybe this can help if you want to do the real programming stuff I can’t
*edit: it was late and I was throwing ideas. I made a solution that actually works in another comment.
I’m thinking you could have separate color profiles with a script that to change the file using symbolic link?
(I don’t know what I’m doing, I’m a figure it out as I go type, but maybe it’ll work. Please help!)
You’d need something like shizuku (allows shell operation permission) or root to be able to read the system dark mode status.
Using shizuku you could call it by
rish -c 'cmd uimode night'
Which would show
Night mode: yes / no
If you did that you could us an if
statement (I don’t really know how to write that out confidently at the moment)
And use that fuction to change the symbolic link to the color.properties file instead of the at
a specific time I used below.
So you keep 2 (or more) color profiles in separate files and call those locations to link to based on time of day / uimode.
You could put the script in the .boot (to automatically start) or .shortcut (to start with the widget) Or maybe add the command to run the script in the termux bash_bashrc or profile file to have it execute on each session launch.
#!/bin/sh
at 1200 #noon
ln -sf [/path/to/new_file] ~/.termux/color.properties
at 1900 #7pm
ln -sf [/path/to/new_file] ~/.termux/color.properties
A dictionary I found from the future has this entry:
Google: the once not evil garage-based company that inspired hope in the dream that information wants to be free that decided to redeem its principals and innovative spirit to enrich a few cunts, invade the privacy of everyone, and enshitify the internet. Near its end it fed into the shareholder zeitgeist while completely ignoring the needs and wants of the users.
Also, if you have a VPN with/or DNS blocking capabilities, you can find the API endpoints here
https://raw.githubusercontent.com/googleapis/googleapis/refs/heads/master/api-index-v1.json
Search for generativelanguage
You could also use termux and set up something like tinyproxy to route specific sites to the various proxies.
Something like invizible has an outbound socks proxy setting so you could use that to send all traffic to your local http/socks proxy.
A lot of browsers have plugins like foxyproxy that will let you set global (per browser) or site/wildcard proxies.
1 Invizible Pro
https://www.f-droid.org/en/packages/pan.alexander.tordnscrypt.stable/
2 RethinkDNS
https://www.f-droid.org/en/packages/com.celzero.bravedns/
3 Singbox
https://www.f-droid.org/en/packages/io.nekohasekai.sfa/
They can all be used together or separately as proxies or VPN.
1 and 2 allow for per app routing, blocking, firewall, etc. depending on mode(VPN or proxy)
3 allows to set up local or remote proxies, tunnels, etc.
If this is the one you’re referring to, they have a bunch of other no internet required, no ads, privacy friendly, foss apps.
~~https://github.com/SimpleMobileTools/Simple-Gallery~~
~~https://github.com/SimpleMobileTools~~
Don’t use these.
These seem ok.:
From fdroid/neo:
https://apt.izzysoft.de/fdroid/index/apk/com.github.warren_bank.mock_location
https://www.f-droid.org/en/packages/cl.coders.faketraveler/
Edit: I don’t live in Washington DC.
So, I guess it does the trick.
https://www.f-droid.org/en/packages/com.simplemobiletools.notes.pro/
This and others by simple are exactly that.
Notes. Gallery.Dialer. keyboard. Clock.
No ads. Absolutely zero unnecessary permissions. No telemetry or sneaky internet connections.
How many Mooches per Truss?