View Issue Details

IDProjectCategoryView StatusLast Update
0007512Android OS / portable deviceSony smartphonepublic2025-08-22 00:57
ReporterDigitalMy 
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Summary0007512: Remote connection to android device
DescriptionEnable basic VNC protocol remote desktop server and more:
SSH server
HTTP server
TagsNo tags attached.
BuyTarget

Activities

DigitalMy

2025-08-21 08:25

administrator   ~0014485

Last edited: 2025-08-21 22:45

View 6 revisions

Use termux app to install packages:
pkg update
pkg install openssh
passwd
sshd
termux-setup-storage
ifconfig
netstat -tlp
ssh-keygen -t rsa -b 4096
pkill sshd
> edit file /data/data/com.termux/files/usr/etc/apt/sources.list
apt update
apt install apache2

pkg install php-apache

DigitalMy

2025-08-21 09:19

administrator   ~0014486

connecting via VNC works using droidVNC-NG apk

DigitalMy

2025-08-21 09:24

administrator   ~0014487

Last edited: 2025-08-21 14:09

View 2 revisions

Very critical make:
Always enable USB as tethering mode
Disable confirmations, always trust any USB pair, remove message "Allow access?"
Autostart after reboot

DigitalMy

2025-08-21 22:58

administrator   ~0014488

Last edited: 2025-08-22 00:57

View 6 revisions

Create apache php web site:
pkg install mc apache2 php php-apache
cd ~
same as /data/data/com.termux/files/home

mkdir web web/cfg web/log web/tmp web/root
mcedit ~/storage/shared/web/root/index.php
mcedit /data/data/com.termux/files/usr/etc/apache2/httpd.conf
httpd -k start

chmod +w /data/data/com.termux/files/home/storage/shared/web/root