Termux Matrix Portable [ Quick ]

| Command | Action | |---------|--------| | /join #room:server | Join a room | | /leave | Leave current room | | /invite @user:server | Invite user | | /toggle encryption | Enable/disable E2EE | | Ctrl+L | Redraw screen (useful after suspend) | For weechat: weechat /plugin install matrix /set matrix.server.matrix.homeserver "https://matrix.org" /connect matrix Then use /matrix login to authenticate. Step 4 – Practical Termux-Specific Tips Keep running in background Install Termux:Boot to auto-start a session:

pkg install termux-services sv-enable matrix-client Create script ~/.termux/boot/start-matrix.sh : termux matrix

→ Your session is untrusted. Run /verify own and verify with another device. | Command | Action | |---------|--------| | /join

/verify start /verify cross "Cannot allocate memory" → Close other Termux sessions or run pkg install termux-exec /verify start /verify cross "Cannot allocate memory" →

→ Use weechat with minimal UI: /matrix set format text Advanced: Run Your Own Matrix Bridge in Termux Want to bridge Discord to Matrix? Install a puppeted bridge:

pkg install openssh sshd # On laptop: ssh -p 8022 user@phone_ip # Then run gomuks | Risk | Mitigation | |------|-------------| | Screen logging | Termux logs aren’t persistent by default, but disable history: set +o history | | Key storage | E2EE keys stored in ~/.gomuks/ – backup with tar -czf matrix-keys.tar.gz ~/.gomuks/ | | Clipboard exposure | Termux can read Android clipboard – avoid pasting recovery keys | | Background process | Use termux-wake-lock to prevent Android killing the client |