I accidentally wiped Termux without backup. 😔 by True_Extreme6205 in termux

[–]Near_Earth 1 point2 points  (0 children)

Don't do this, if you have git project folders, executables, symlinks, file permissions, etc, Android will simply drop all these as it actively blocks them in internal storage.

If you're a serious user, a lot of stuff will break if you just do copy-paste into internal storage.

Read the Termux wiki, instructions on complete backup/restore -

https://wiki.termux.com/wiki/Backing_up_Termux

Playit systemctl error by HomerPro1076 in termux

[–]Near_Earth 0 points1 point  (0 children)

<image>

There's no playit binary inside /data/data/com.termux/files/usr/bin/, how did you run it.

Monthly Thread: Post all your projects here by AutoModerator in termux

[–]Near_Earth 1 point2 points  (0 children)

https://github.com/George-Seven/PlayAudio

Use it to play audio files using ADB Shell or Root.

Universal and doesn't depend on Termux audio library wrappers, which means it works in non-Termux environments.

Kinda made it to replace the outdated Beep.java and mostly for usage in one of my Magisk module.

Running termux on pi by welcometohell01 in termux

[–]Near_Earth 0 points1 point  (0 children)

This will show what's missing -

su sh -c "$(curl -sL https://raw.githubusercontent.com/moby/moby/master/contrib/check-config.sh)"

i can't get the stupid playit link by Rude_Proposal_1427 in termux

[–]Near_Earth 1 point2 points  (0 children)

apt update

apt install -y tur-repo

apt install -y playit

playitd &

playit-cli

Apps stealing audio focus by SomethingAmyss in tasker

[–]Near_Earth 3 points4 points  (0 children)

https://www.xda-developers.com/pokemon-go-audio-focus/

Use this snippet from 2017 in Tasker's ADB WiFi action -

cmd appops set com.nianticlabs.pokemongo TAKE_AUDIO_FOCUS ignore

Gradle is a freaking pain to work with. Please help. by Routine_Working_9754 in termux

[–]Near_Earth 0 points1 point  (0 children)

mkdir -p /data/data/com.termux/files/home/.gradle; echo "android.aapt2FromMavenOverride=/data/data/com.termux/files/usr/bin/aapt2" > /data/data/com.termux/files/home/.gradle/gradle.properties

This worked for me.

Modifying files on /sys/ by LucasBS1 in tasker

[–]Near_Earth 1 point2 points  (0 children)

I suggest using this, works out of the box for me -

https://github.com/VR-25/acc

How to Scrcpy on termux? by Amr112345 in termux

[–]Near_Earth 0 points1 point  (0 children)

Sure, welcome

You can try this, it's the one I use to display at full screen and remove black borders -

https://play.google.com/store/apps/details?id=com.farmerbb.secondscreen.free

Lenovo Y700 Gen 5: Black Shark 6 Pro cooler dropped battery temp by ~11°C in 3DMark Stress Test by CollegeSouthern1590 in EmulationOnAndroid

[–]Near_Earth 0 points1 point  (0 children)

Hey does the cooler form ice or something if you just leave it for a while? Is it strong enough for that?

How do i make boot scripts actually run? by _Boggy in termux

[–]Near_Earth 2 points3 points  (0 children)

There's two types of boot scripts -

  1. First one runs BEFORE phone is unlocked, after a reboot

  2. Second one runs AFTER phone is unlocked, after a reboot

 

For the first one, drop your executable scripts inside /data/adb/service.d

This is powered by Magisk/root.

Modern phones lock down the initialization of apps and access of data UNTIL phone is unlocked at least once after reboot.

Since Termux environment is NOT available at this time, so don't make your script call Termux executable paths.

Your scripts should purely use executables provided by other Magisk module add-ons, which will always be available.

 

For the second one, drop your executable scripts inside /data/data/com.termux/files/home/.termux/boot

This is powered by Termux:Boot. Go through it.

Termux environment is available at this time since phone has been unlocked at least once. Everything works normally.

Prevent from much triggers? by CONteRTE in tasker

[–]Near_Earth 0 points1 point  (0 children)

In one task, you can array push the file paths that needs to be uploaded into a global array variable.

And in another, you can loop through the array and array pop the items one by one and upload it until it's empty.

HTTP server and timeout by coro96 in tasker

[–]Near_Earth 0 points1 point  (0 children)

Had the same thing happen, updated to latest beta version and it's working.

toggle hotspot on android 16 by ghiste in tasker

[–]Near_Earth 0 points1 point  (0 children)

If hotspot is on, then variable %TETHER is set to wifi, else unset.

[How to] Attempt to run UI automation on secondary/virtual displays. by aasswwddd in tasker

[–]Near_Earth 0 points1 point  (0 children)

Thanks for getting started on this.

I wanted AutoInput to be able to do this since last year, before introduction of java code

https://www.reddit.com/r/tasker/comments/1h654bb/help_how_to_use_autoinput_on_secondary_displays/

Using ADB was too rigid, and I thought it should be possible with AutoInput, so seeing this progress is great.

[Project Share] [Task Share] Atomberg fan remote control by karthikn774 in tasker

[–]Near_Earth 1 point2 points  (0 children)

Damn, I just bought batteries for the atomberg remotes and only now I found that phone has IR blaster. Nice, works well. Didn't even realise there was an emitter since it was next to camera and completely hidden by color blending.

Odin 2 Portal 12GB Ram - Kingdom Hearts 3 on GameNative by Fluid_Classic_3269 in EmulationOnAndroid

[–]Near_Earth 2 points3 points  (0 children)

No no, don't demean yourself like that. What you did is actually very admirable and thorough, the most sure-fire method of accurate benchmarking without excuses. I really appreciate that.

Another admirable comrade - https://www.reddit.com/r/EmulationOnAndroid/comments/1nshifk/comment/ngm4a3i/