Replies: 4 comments 6 replies
-
If anyone is using this method with LineageOS termux may not connect with network after reboot. In that case, go to Settings > Apps > Termux > mobile data & Wi-Fi > toggle 'Unrestricted data usage' on and off. Now termux can connect with network. Follow those above steps after every reboot. The issue and workaround was reported here https://gitlab.com/LineageOS/issues/android/-/issues/6444 |
Beta Was this translation helpful? Give feedback.
-
I was able to install it on the SD card, but after each reboot Termux get reset, and it installs bootstrap packages again. |
Beta Was this translation helpful? Give feedback.
-
Alternatives that do not require root access |
Beta Was this translation helpful? Give feedback.
-
also root file manager isnt needed. as you can access filesystem from adb shell itself. you just need to cd/ls to the path at sdcard and copy it, then do the command at /data/data |
Beta Was this translation helpful? Give feedback.
-
Requirement
Step by step
mnt/expand/
60a327d3-d9af-49ca-99af-ff98f7ec86b0
, that's where your SD card is mounted. (The name will be different but it's kinda look like that)com.termux
folder inuser/
/data/data/
because Termux is hardcoded to that location.adb root
to get root accessadb shell
to open Android shellcd /data/data
to go to where Termux expected.ln -s <path to your com.termux folder>
In my case it'sln -s /mnt/expand/60a327d3-d9af-49ca-99af-ff98f7ec86b0/user/0/com.termux
Beta Was this translation helpful? Give feedback.
All reactions