>i have spent many days reading about this
And no one of available articles on the Internet suggest to install Tor Browser or manually setup Tor SOCKS proxy ?
​
In Termux it is achievable in the following way:
pkg install tor torsocks lynx
tor
torsocks lynx myonionsiteabcdef.onion
, if torsocks just hangs, use proxychains-ng instead.​
If want GUI, take a look on https://play.google.com/store/apps/details?id=org.torproject.torbrowser.
You are welcome!
>now the idea of having the terminal right in your phone is one step closer to reality
The origin Terminal Emulator
by jakpal on which termux is based on was likely released around 2010 and supports Android 1.6
. Termux was released in 2015 on playstore.
https://play.google.com/store/apps/details?id=jackpal.androidterm
Modding Termux app, e.g. adding custom bootstraps, applying unreleased/own changes, modifying resources, etc... And all this without need the PC with proper Android SDK and NDK installation, also no need to mess with apktool for applying custom modifications.
Maybe AIDE can compile the original Termux app sources but not sure (does it have full support for Gradle?).
If you are looking for an android app, then nothing better than QuickEdit or QuickEdit Pro (ads free) as far as all the text editors I have tried.
>I can only do some phishing attacks
phishing == fraud and has nothing to do with infosec/pentesting.
Just FYI...
>it have some other purpose
Terminal's purposes are limited by utilities executed in it.
Common ways of Termux usage:
/data/data/com.termux/files/usr
. Termux:API and Termux:Task are completely different apps with different package names. Termux from google play and fdroid are same applications with same package name - obviously because of reason shown above.rm -rf path/to/proot_dir
. If have issues with permission denials, do chmod 777 -R path/to/proot_dir
before erasing.My best advice to you is to install the Hacker's Keyboard to get the function keys:
Termux is a Terminal emulator and linux environment.. but it is installed inside android...
Its possible to install a real Linux environment. have a look at the Plasma mobile project:
Use embedded keys of VNC viewer, not ones provided by keyboard.
Also, I strongly recommend using https://play.google.com/store/apps/details?id=com.realvnc.viewer.android as VNC client for Termux.
>termux-open --chooser
>
>but it seems silly to have to choose the app every time
Have you read the description about "--chooser" option ? It says:
--chooser if an app chooser should always be shown
So your command will always request a chooser dialog for app.
Omitting that option will request a default application to be used. If you need a different application, either set it as default or choose it through menu.
>I see there is a way to open an app
Yes, there is a way through using am
. But you should be aware that viewer activity names are unique per application. Generally, command will look like this:
am start -n {package.name}/.{ActivityName} -d /path/to/file
Where:
{package.name}
: application package name, in format x.y.z
. Termux package name is com.termux
.
{ActivityName}
: viewer activity name.
Both can be obtained through https://play.google.com/store/apps/details?id=sk.styk.martin.apkanalyzer.
You can use an alternative keyboard. I usually type on Hacker's keyboard when using Termux. You can set it as a full 5 row with Ctrl, Alt, Tab, ESC keys
>So this will enable skipping the Username.
This will prevent you from typing username each time. PuTTY will type it for you automatically.
>For the password PuTTY does not offer any setting?
No, you can't save password in PuTTY. Likely due to security reasons, i.e. no cleartext password will be saved to disk.
There is a PuTTY's fork http://www.9bis.net/kitty/, it can save passwords.
You need to copy a font to the $PREFIX/share/fonts dir. I would recommend Noto Sans from Google optionally with nerd fonts patched in it.
For emoji's you can use Noto Color Emoji, it is the default for Android.
Sure, you can install the nginx package to get a lightweight http server. Put the files in $PREFIX/share/nginx/html
However, it's going to run on port 8080, not the standard port 80. If what you want is to host a static site for other people to access, you'll get better performance hosting it on something like Github Pages (it's free!)
actually on certain devices you can have acceleration Qualcom Adreno 600 series and even mali but that depends on the kernel it needs to support dkms that means devices below armv8 64bit ot armv7 32bit won't see such kernels
https://source.android.com/devices/architecture/kernel/loadable-kernel-modules
for example on galaxy tabs7+ y have direct 3 d acceleration on proot but is unusable for video playback ant least not full screen ant that on a 6 core soc
if you trully depend on hardware acceleration postmarket os might be for you https://postmarketos.org/
Hey OP, try installing the termux-api
package, it contains a bunch of termux-* commands that you can write simple (or very complex) bash scripts. Or python too using subprocess... The commands by themselves are quite useful.
See here: https://asciinema.org/a/250580
Could use PeaZip - basically it's encrypted archives (ZIP etc), but the GUI can be used to extract, view and add files as needed. Not as fluidic as a LUKS container, but, is viable. Anything where a file manager can engage with an encrypted archive should suffice without root.
You should try Geany. It is a lightweight IDE and it has support for various plugins. I also quite like the UI and it runs super smooth on proot environment.
To install it on debian based distros, just run apt install geany
and to install its plugins run apt install geany-plugins
I personally go Debian and install as I need.
I use this as my X Server; https://play.google.com/store/apps/details?id=x.org.server and set it up so it matches my phone's native resolution and X0.5 for zoom (make it all even).
In a base Debian install (without any additional packages expect base)..
apt-get update && apt-get install xfce4* gimp
And voilà. GIMP. I wouldn't hold my breath so much for blender, it may be possible, but, there is no 3D acceleration in Termux.
Hey, you may want to download this app https://play.google.com/store/apps/details?id=com.speedsoftware.explorer. With it you can see the directories of your system without being root, use it to know where's your usb mounted and then cd to it. An example would be cd /storage/8334-F02F (i use this to acces my sd card) Inside the storage directory is your SD card, your internal memory (emulated) and your usb mounted.
Question is about Ubuntu's "virtual disk", not prefix.
That's possible but with root. Just need to create EXT4 image and mount it, example (assumed that sdcard is in FAT32, so image size is 4095 MB !):
tsu
dd if=/dev/zero of=/storage/1234-abcd/ubuntu.img bs=1M count=4095
mke2fs -t ext4 /storage/1234-abcd/ubuntu.img
mkdir /mnt/ubuntu
mount /storage/1234-abcd/ubuntu.img /mnt/ubuntu
tar zxf /sdcard/ubuntu-19.10.tar.gz -C /mnt/ubuntu
Chroot into new environment. Bind mounts should be done only one time unless you umount'ed them or rebooted device.
cd /mnt/ubuntu
mount --bind /dev ./dev
mount --bind /dev/pts ./dev/pts
mount --bind /proc ./proc
mount --bind /sys ./sys
chroot ./ /bin/bash -l
Commands above describe only essential parts of creating Ubuntu chroot. Properties of file system image, its path, Ubuntu rootfs archive are left to be generic intentionally.
Also, you may create & mount image with https://play.google.com/store/apps/details?id=ru.meefik.linuxdeploy instead of doing steps manually.
I'm not familiar with that app, but, you can retrieve the information using a handful of means. I use APK Analyser to easily find the activities (there are other methods, but this is a walk in the park way).
This needs root.
There is, however, a workaround without root for some devices..
https://play.google.com/store/apps/details?id=com.cgutman.androidremotedebugger
You need to enable WiFi debug through a PC and use this. Once done, you can disconnect PC and continue with this until the next reboot of your device, after which, you need ADB access again to enable WiFi debug.
Not directly. However, with Tasker you could, with this plugin - This only allows sending.
Termux sends an Intent to Tasker with your data/payload, Tasker sends using plugin.
https://play.google.com/store/apps/details?id=ru.iiec.pydroid3.quickinstallrepo
This one for downloading modules.
https://play.google.com/store/apps/details?id=ru.iiec.pydroidpermissionsplugin
This one for permissions.
https://play.google.com/store/apps/details?id=com.termux.boot Here is it But you can also download this for free but you also need to download termux again for preventing signatures problem Both are Available for free on fdroid
I'm late but here are two solutions:
download Hacker's Keyboard (enable all keys on portrait too from the settings if you want)
use a wireless keyboard or a USB keyboard with OTG, if your phone supports that
Edit: use vimtutor command in termux and that will teach you the basics. I don't know if the solutions above will help you with the website tho. The keyboard will make it easy to practice on your phone and edit files with vim and to use termux in general.
Cloudflare was once a decent company but now that they are a giant, they have no care for users privacy or security. WARP basically just forces your device to use their DNS Servers it didn't connect to an actual VPN server when i tested it, and for some it helps speed increase and being Wireguard it can add a bit of security on wifi but it's not an actual VPN Service like Mullvad or IVPN. Cloudflare logs all DNS Queries so if using WARP VPN, all your traffic is logged and i guarantee sold.
Cloudflare generally blocks VPN & Tor users from their services, clear sign they are against privacy.
I use this Material Files from playatore, got a tip long time a go and have worked flawless all this time. Could also add shortcut to termux home directory so ita easier to access. Just a tip.
if you have something like Google Files installed, then open the app then navigate to the sd card and go for the file info option for any file in sd card. You will see something like this..
/storage/XXXX-XXXX/<filename>
Then simply enter. cd /storage/XXXX-XXXX in termux :)
I recommend checking out Keymapper, it lets you rebind keys very easily and create macros and shortcuts. There is a bit of setup but after that it is painless. It's open source too so that's cool
I have used this Fintie keyboard with trackpad for my samsung tab s7+ and have not seen any problems so far. Especially, it is extremely light so I just carry it everywhere I go 😅
Could you export the task using Tasker app factory?
Yes u can, but please dont use vnc server for it because it will lagy and it will close its session around every 4 to 5 minutes. And it takes lots of storage.
What you can do.
Please use xserver for it.
First install and start this xserver app
Link:-https://play.google.com/store/apps/details?id=dk.mochasoft.x11lite
Because this is the only app which can render the java gui perfectly as tested by me.
And then install the package aterm. Like this :- pkg i aterm
And then go to your settings app and search for your ip address and then copy that ip address.
You will find something like this but not same because after some time it will Change its ip address.
Like this :-100.102.77.218
Copy your ip address and then add :0 in it.
Like this -100.102.77.218:0
And then go to termux and type this words :- export DISPLAY=
AND THEN TYPE THE COPIED IP ADDRESS WITH :0 AFTER TYPING IT LIKE THIS :- export DISPLAY=100.102.77.218:0
AND THEN TYPE ATERM AND PRESS ENTER.
AND FINALLY GO BACK TO YOUR XSERVER APP THERE YOU WILL FIND A TERMINAL WHERE YOUR JAVA GUI WILL BE ABLE TO WORK.
"rooting" Termux is such a misuse of language...
all that script does is install AnLinux's Kali Linux, you'd be better off just using their app instead of trying to mix them together:
Download this app
Install linux distribution in termux using proot-distro
Open Xserver XSDL and wait for it to start. Next go to termux and paste command (inside installed linux).Command should copy itself automatically.
Enter the command that will run the selected application that you download earlier.
Go back to XSDL. After few seconds apps start.
I prefer to use window manager e.g. Openbox to can close and resize windows.
I hope I explained it well :)
Bruh, some packages don't work on Termux, if ExpressVPN do mention that 'works on Termux' then go to their guide. Again as Griller mentioned, Debian Packages as a full doesn't work good at Termux (or rather, doesn't work) unless the creator also added support manually. (Or the library isn't that much require another dpkg that can only be found on debian. )
Just use proot if you still want it, but be aware of crappy performance (varies on CPU)
There's no codec/libraries in that browser
There is one solution to combat this problem
(Note: Step 1, 3, 5 and 11 will have to it all the time when you do this)
"Coder Board" is the best i found function wise. Highly legible, fast, open source, no ads, Has all the buttons you have on a hardware keyboard (F keys, Esc, tab...etc), commands (Like Ctrl + C to copy) & editable snippets. Highly customisable, any button can be added(even whole language buttons individually). It's very minimalistic though, which can be a turn off. It can't be made to look like the keyboard but it will probably function better than any keyboard you'll find. I use it with termux and to code on my phone.
Try jbak2keyboard with my template: https://github.com/Archargelod/jbak2Templates-Skins
I can make vietnamese version if you give me an example.
Because Termux is a collection of Linux packages that exist elsewhere built to run within an Android environment?
As far as I can tell, the packages offered by the Termux package repository are just ports of standard Linux libraries, tools and applications. Those already exist in every other Linux distribution - there's nothing magical about them otherwise. The exception are any Android specific bits that are needed to make Termux work on an Android device, and those don't make sense anywhere else.
You could probably replicate a Termux-like Linux environment by replicating the package list using something like Linux from Scratch, Gentoo, Arch Linux or any other tiny Gui-less linux distribution.
Or, since it uses the 'apt' package manager, just do a minimal install of Debian (https://www.debian.org/CD/netinst/).
I don't care whether domains are legit or not. I simply picked IPFS gateway what has been available and suitable for our hosting requirements (like bandwidth & request rate-limit). There not so many of them, actually very few because other IPFS gateways are either too shitty or their owners take good care about usage and enforce whatever restrictions (hello ipfs.io!).
If this is so important to you to access only "legit" domains, edit your sources.list to use different mirror.
Currently there no other options. Fornwall already knows about Bintray deprecation issue, but considering experience with "Android 10 transition" we all know that solution will take ages.
~ $ pkg show python
Package: python
Version: 3.9.1-1
Maintainer: @termux
Installed-Size: 48.1 MB
Depends: gdbm, libandroid-support, libbz2, libcrypt, libffi, liblzma, libsqlite, ncurses, ncurses-ui-libs, openssl, readline, zlib
Recommends: clang, make, pkg-config
Suggests: python-tkinter
Breaks: python2 (<= 2.7.15), python-dev
Replaces: python-dev
Homepage: https://python.org/
Download-Size: 8078 kB
APT-Manual-Installed: yes
APT-Sources: https://ipfs.io/ipns/k51qzi5uqu5dg9vawh923wejqffxiu9bhqlze5f508msk0h7ylpac27fdgaskx stable/main aarch64 Packages
Description: Python 3 programming language intended to enable clear programs
Physical keyboard, Hacker's Keyboard, Codeboard.
Personally, I use Hacker's Keyboard keyboard.
https://play.google.com/store/apps/details?id=com.gazlaws.codeboard&hl=en&gl=US
I customize the buttons and look. I code a lot in phone which requires many symbol like bracket, colon, semicolon. so i put them in top row.
Only through the microphone with use of termux-microphone-record
(Termux:API), or, something like LANMic if you need (near) real-time.
Sorry for not responding): use: apt update && apt upgrade apt install proot && apt install proot-distro proot-distro install ubuntu proot-distro login ubuntu in ubuntu type: apt install ubuntu-mate-desktop -y apt install tigervnc* -y cd .. cd etc nano hosts in hosts change localhost.admin to localhost go back do vncserver download vnc viewer app from: https://play.google.com/store/apps/details?id=com.realvnc.viewer.android open it and add localhost:1 && connect to it And done.
Are you talking about this? https://play.google.com/store/apps/details?id=net.kismetwireless.android.pcapcapture
. Maybe it's possible. But as I saw on termux GitHub pages and wiki page . Termux needs root .maybe someone else can help you on this issue.
You'd need to start the VNC server to create an X session. You'd then add startxfce4&
to ~/.vnc/xstartup
and connect to it via a VNC client.
You can alternatively use XSDL to view your X session.
I can't claim to be an expert in how all of this works under the hood, but AFAIK runit (which termux-services uses) can be used instead of systemd. Runit is way older than systemd though so perhaps mostly used in niche environments today.
Regarding
>In regards to the way the services run on "foreground" for logging to be available, what about coprocessing the service through a subshell, and writing any stout to a file descriptor? I believe that, by calling a service such as sshd as a coprocess, will still allow the server to run and accept incoming connections.
What do you want to achieve here?
For template guidelines have a look at all the scripts at the upstream site: http://smarden.org/runit/runscripts.html and at other places. Most of them are very similar, start the program in foreground and perhaps redirect 2>&1
UserLand is an opensource app that might fit your needs. No root, run linux apps, it's in fdroid and play store
A full blown OS replacing Android doesn't exist anymore. PostmarketOS is trying but most phone models don't even have modem support.
This is still on master but thought of sharing as an early preview. The default colors can be overridden by env variable NNN_FCOLORS
. More details here.
The earlier colorscheme can also be enforced with the program option -C
.
Do you need znc to be running in termux or do you just want znc to be running somewhere?
This is what I do for IRC:
Sign up for an "always free" GCE f1-micro VM instance.
Run irssi inside a tmux (not termux) instance on Debian Stable (or your server distro of choice) on it.
Use termux (with fish shell) and remotely mosh into the instance and reattach using the command mosh username@hostname -- tmux attach
You may choose to substitute znc or weechat in place of irssi and screen in place of tmux if that's what you're more comfortable with. The key point is the VM doesn't cost money, but you'll have to set it up yourself. Either way, I think this should be a "viable replacement" according to what you've mentioned so far.
Alternatively, I think a Raspberry Pi is also a good option (assuming you have a reliable-enough internet connection).
I don't see the benefit of running the znc bouncer inside termux itself given these other options above.
This should help. Idea is to take the two images and merge them together, then compare the merged image against the two individual images. Higher value means more identical.
Ok, thanks. I'll read over those links. Expanding the question a bit - If we consider that I'm looking at this repo: https://github.com/mps-youtube/mps-youtube - it offers a Linux installation with pip, a Ubuntu installation with apt, or you can "run" it with Docker.
If I understand you correctly, there is essentially no guarantee a package will work on Termux unless it's in the package manager already. You might be able to install it via any package manager you can install on Termux - pip, apt - but not all those packages will actually work, since they might have dependencies not available in Termux (for example, I once tried to install something that needed a Chrome Driver or something). And I assume the same for manual installations like cloning a Github repository and running "make install" (which I still don't understand fully - what happens when you call this command? Just a side question. I assume package managers like pip call it too, automatically?).
So I wonder: who is responsible for adding packages to the package manager? Is there a set of steps for anyone who wants to? (Sorry if this is in the wiki, I just prefer asking my questions first.)
And beyond that, anything which is designed to run on Linux, unless I manually look through and can confirm Termux has all those dependencies, you suggest I run Linux in Termux with proot, to run that program?
Thanks very much, really appreciate it.
First of all use English
You need to run it in prooted environment,
Here, How you can run and install ngrok in termux
Execute following command for installing things.
pkg in python,proot, resolv-conf
pip install pyngrok
Now setup ngrok authtoken. Visit ngrok.com if you don't have authtoken. ngrok authtoken TOKEN_HERE
Just use termux-chroot to run ngrok. Suppose i want to forward port 8080, now instead of using "ngrok http 8080" . Use. termux-chroot ngrok http 8080 .
You just need to put "termux-chroot" at beggining, that's it.
Second method for that scenario where ngrok is inbuilt in any tool which you are using, so here, you just need to execute termux-chroot and run that tool as you run in termux before.
Why ngrok don't work without termux-chroot in termux
So here, ngrok use /etc/resolv.conf for dns lookup, but as you know /etc/resolv.conf is missing in android. So here termux can't do anything, when you use termux-chroot, it emulate file system where /etc/resolv.conf is available and ngrok works as expected.
https://asciinema.org/a/367862
Original post: https://t.me/kterm/89
If you have a powerful phone, you could "virtualize" a Linux. However, this will be slow AF..
Dude, jump (relay) server does not need any keys to be able redirect connection to another machine. Nothing is stored in RAM.
Since data transmitted through "jump" server is unchanged, a configuration from ~/.ssh/config on "initial" machine will be used.
If you have some doubts about OpenSSH security, then write your thoughts to the OpenSSH mailing lists. Pick an appropriate one from https://www.openssh.com/list.html.
I'm deleting post since it has nothing to do with Termux.
Permission denied
for what?
Doesn't the backup app set proper ownership automatically on restore? Titanium backup does, but it's not being updated anymore.
Some issues at link. Make sure you are updated above 5.0.0
. Not sure what it means by Termux plugins.
https://github.com/machiav3lli/oandbackupx/blob/main/ISSUES.md
>I am running this restore script from the built-in terminal because I do not have termux restored yet.
If you haven't restored, then /data/data/com.termux
wouldn't exist. Scope storage is only for shared storage stuff, not for /data/data
. And su
runs outside of any target API restrictions. The only issue could be selinux but since you say its working from failsafe, then running from another root terminal should be same.
Like I said, you can't pass any command to failsafe, you will need to type manually or possibly use something like input
command with root or AutoInput
.
>Will RUN_COMMAND work
If ownership is wrong, then termux app will not be able to read ~/.termux/termux.properties
file, so it will not execute the intent.
I'm not sure what you mean by setting the terminal type. When I Google that, I'm coming up short.
I see that https://www.gnu.org/software/emacs/manual/html_node/emacs/Setting-Mark.html says to use C-@ in place of C-Space. I've tried both controls keys with C-2, C-@, and C-Space. Not seeing the mark set. I also found the footnote at the bottom: "[1] There is no C-<SPC> character in ASCII; usually, typing C-<SPC> on a text terminal gives the character . This key is also bound to set-mark-command, so unless you are unlucky enough to have a text terminal that behaves differently, you might as well think of C-@ as C-<SPC>."
Note: It looks like "M-x set-mark" works so I can probably just map that to F5 or something. I guess it's a mater of muscle memory and convenience.
Note2: Ha that's weird, C-x-Space works just fine.
Thanks! Worked perfectly.
(for posterity, the downloads from https://www.freeoffice.com/en/download/dictionaries have a .sox
extension; just change that to .zip
and then unzip to find the .aff
and .dic
.)
It uses whatever TTS engine you're using. Google phones use Google TTS. Samsung can use Bixby and if you're lucky to have it, Ivona. There are others, but Google is onboard all Android.
The voices are non neural, unlike the voices used on Google Assistant. These voices fall under Google's Wavenet. The TTS app are "Standard".
Really dude you've got to try MultilingOKeyboard. You'll be surprised for sure. You can do almost anything with it. I've no idea why it isn't famous with termux. Play store link: Multiling O Keyboard
I will be trying X at some point, but will instead use XSDL as the 'host' can't talk to guest, but guest can talk to host. Will also provide pulseaudio out of the box.
In real-time, or post broadcast? Post broadcast you can use the termux-microphone-record applet whilst playing back radio (quality isn't all that great as it records via mic). If you need realtime, or near real-time, you can use LANMic which will stream audio over either HTTP or RTSP, where you could stream the audio into another app (ffmpeg, sox, Python etc). Again, it uses the microphone for recording, but can suffice for most things (used it to transcribe amateur radio before).
[anlinux](https://play.google.com/store/apps/details?id=exa.lnx.a&hl=en_US&gl=US) it uses proot and just gives you the commands and an entry script.
I like what Andronix has going on. I use the Manjaros, myself. I use the Modded Manjaro Xfce on my 128gig Moto G Stylus and the No Desktop Manjaro on my 32gig Galaxy S7, but they have Arch too. It's a No Root app but you get extra features if you're rooted and can disable SeLinux Policy.
https://play.google.com/store/apps/details?id=studio.com.techriz.andronix
The app and termux-api both need to be installed for it to work. Also make sure you aren't mixing app store versions like termux from f-droid and termux:API from play store.
Ivona is a good choice. I also use Acapela TTS Voice which contains high quality but paid voices.
I'm looking to reproduce some voices from Kraftwerk's music. Some are Vocoder while others use speech synthesis (Phonem) like DECtalk or SAM.
https://play.google.com/store/apps/details?id=com.rtpmic
and
https://play.google.com/store/apps/details?id=com.portable.lanmic
were two apps I tried. They're as close as I'm getting for now.
I am not sure which VPN supports those particular protocols but i personally like to use Mullvad. They use OpenVPN and WireGuard protocols, you can buy it anonymously even pay for it with crypto and use it without ever needing a email or any need to provide your data to them.
I personally trust them but please do inform yourself.
I use this; https://play.google.com/store/apps/details?id=x.org.server it has a Pulse audio server built in. In proot, install pulseaudio, set the environment variable;
export PULSE_SERVER=127.0.0.1:4713
and use pulse output for your proot applications.
Just came across this app. Isn't it something your looking for? I do like the termux script but if you want an app, maybe this is the one?
https://play.google.com/store/apps/details?id=com.itbenefit.batmon
You can to a point make graphical games, but you wont get any hardware acceleration from your devices GPU.
Install x11-repo and get a basic X setup;
pkg i x11-repo pkg i xfce4
Install XSDL and configure Termux environment to use the XSDL server (also supports pulse audio). Launch your X session and run any games you've made.
A trick for XSDL, it can be a little quirky to set, but make the resolution native to your device and the font point size 0.2 (makes things small, but everything fits nicely).
Perhaps something like https://play.google.com/store/apps/details?id=com.spycorp.appvolumecontrolpro can be used.
However it has a limit - only foreground application is affected.
Maybe AutoShare is the thing for you, and then start termux/script depending on button. Never tried it but it might be worth looking in to.
I think you need tasker app for this to work tho..
https://play.google.com/store/apps/details?id=com.joaomgcd.autoshare
pkg install libcaca
restart w3m, you'll get ASCII generated images. Or, better yet, install
https://play.google.com/store/apps/details?id=x.org.server
and install Termux Xorg (Xterm), setup the X server IP:port in Termux env and xterm -e w3m somesite.com
I'm a bit late to this, but I'd just like to throw out Zerotier. I have it running on nearly all of my devices. Install the Android app here and enable always-on VPN. Then just install the package on your server/desktop. I don't know what OS you run but I run Arch so I installed the package off the AUR and have it run as a systemd service. All of your devices are securely connected to each other as if they were on your home LAN no matter what sort of network connection they have.
> Simplest way to get video of mpv is to use something like https://play.google.com/store/apps/details?id=is.xyz.mpv.
Doesn't support Youtube due to the Google policies, a comprehensive version is here: https://github.com/mpv-android/mpv-android/pull/58
I don't know how to feed URLs into the mpv app -- is this possible from Termux?
>so we have a Schrodinger's file: it only exists if you try to create it
Remove the space between path and "test" from your command
mkdir /storage/E666-FFFF/ test
# replace "/ test" --> "/test"
and there will no longer be "Schrodinger's file".
>executing that specific command with superuser privileges through proot— will it also NOT be able to write to /storage/E666-FFFF/ ?
If proot will be executed as superuser, you will be able to write on external storage.
However proot is not right thing for your case. Proot was designed for non-root users only and under real root it may have issues. You may want to use a real chroot, which can be set up by Linux Deploy (https://play.google.com/store/apps/details?id=ru.meefik.linuxdeploy) or manually.
Full Linux chroot is typically installed either in EXT4 file system image or custom partition on sd-card formatted in EXT4. Doing so on /data will cause issues due to nosuid mount option. Another difference is use of utility "chroot".
https://play.google.com/store/apps/details?id=ru.meefik.linuxdeploy is application that automates installation of Linux distribution into chroot.
Most of scripts claiming that they install Linux distribution into chroot, actually use "proot".
so you just to change your keyboard, I use this and it works perfectly (or use the gboard if u wanna send all your data)
You should have access to /dev
which includes your block devices, graphics nodes, device tree, etc. But I don't know if that's what you're looking for here.
You may want to try XServer XSDL which includes support for 3D acceleration. In my experience, its a bit faster than VNC.
EDIT: It's worth noting that using X11 forwarding like this likely won't work with KDE, as it lacks GLX / OpenGL since it's not technically a "display". With VNC it creates a virtual framebuffer with virtual GLX extensions, which is why compositors work. But you can try and see.
That's because xdotool uses X11. It wouldn't work on your Android device itself.
But I'd try AutoInput to do what you want.
Yup. And getting audio into it isn't too hard, either. Can pre-record, or feed audio from Android using rtpmic, or from remote servers (ffserver, rtl_tcp Android driver+sox etc).
Yea, it need a vncviewer and vncserver,
pkg install tigervnc
export DISPLAY=:1
vncserver :1
Here if vncserver ask for password, give any password, but remember it,
Afterthat execute your python script and open vncviewer app , and then tap on + sign and fill address , localhost:5901
and name (any name), now it will ask for password just provide it ,
Done .
Problem exists, but its origin is unknown. One of thoughts is that it comes from implementation of Android libc. Issue doesn't happen in chroot'ed (not proot'ed!!!) Linux distributions started either manually or by Linux Deploy app.
Here is a speed difference in running bash -c "for i in \$(seq 1 100); do touch \$i; done"
on Android device and PC:
Termux: ```
unset LD_PRELOAD exec bash
time bash -c "for i in \$(seq 1 100); do touch \$i; done"
real 0m2.683s user 0m1.100s sys 0m1.290s ```
PC: ``` time bash -c "for i in \$(seq 1 100); do touch \$i; done"
real 0m0,078s user 0m0,063s sys 0m0,021s ```
As you can see, difference is noticeable.
Or install this; https://play.google.com/store/apps/details?id=x.org.server install PulseAudio
pkg install pulseaudio
(or use pulse server offered by above) add this to scripts
export DISPLAY=127.0.0.1:0
And whalla.
That'd be highly inefficient. You'll do better contribution by running the BOINC Android app, as it can take advantage of OpenCL (GPU acceleration) on supported hardware.
https://play.google.com/store/apps/details?id=edu.berkeley.boinc
I suggest you to give a look at phyphox that does something similar to what you are trying to achieve, natively:
https://play.google.com/store/apps/details?id=de.rwth_aachen.phyphox
It is open source and well documented
No, this isn't possible if you are running Ubuntu under proot
since it adds huge overhead by intercepting each performed system call.
If you want more speed - don't use proot. Use normal chroot methods, either through manual rootfs setup and using utility "chroot" or with Linux Deploy app.
With some tinkerig and this script I managed to install libreoffice (running with Xserver XDSL) and VSCode. Be aware that not every arch package will run bc. of lack of some needed components on android.
Edit: I host and use Nextcloud and don't like the android client so i use rclone to sync my folders.
This is SwiftKey, man.
Great keyboard, you don't need to put bloat on the screen with Hacker's Keyboard.
You've installed a user certificate from somewhere. A couple of apps do this, e.g. Packet Capture which can assist in sniffing SSL traffic.
Phone settings > Security > Trusted Credentials > User
Is where you can find them.
first off i dont recommend gboard, look into https://play.google.com/store/apps/details?id=org.pocketworkstation.pckeyboard
second, by default the shell to work with emacs style binding, for example: ctrl+a / ctrl+e move the cursor to the start / end of like, ctrl + r to search command history, ctrl+u to delete from cursor to start of like, ctrl + y to paste it back, ctrl+l to clear the screen. and many many more. like moving to the start/end of a word.
i can hardly remember those keys. so personally i keep 'set -o vi' in my .bashrc in this mode instead of having to click ctrl every time you click escape once to start issuing moventnt commands. for instance: 5b / 5w - will take you five words back / forward 0 / $ - start / end of line A / I - start typing at line start / end f@ / F@ - to find the next/previous instance of the character @ and more. to start typing at your pointer use i / a
https://play.google.com/store/apps/details?id=app.greyshirts.sslcapture is the right tool for what you are trying to do. It starts a local VPN for proxying all apps and view their traffic, optionally with decrypting SSL/TLS connections.
Since most Android applications use HTTP*S*, plain HTTP capture will be useless. Android does not allow to configure proxy for HTTPS through network settings.