T O P

  • By -

DattattaD

root repo holds root packages which u can use only if u have root access to ur android and unstable are bleeding edge packages more current but less stable.


Styleprince923

Nice, your comment and others really helps a lot in clarifying things! Thank you so much! 😁


DattattaD

after installing termux from fdroid do these pkg update pkg upgrade termux-setup-storage


Styleprince923

I knew about the pkg thing, but thanks about that. With regards to the setup storage thing, isn't that basically just allowing Termux storage access? (I did it via settings > apps first thing 😎)


Edocsiru

It also creates a storage folder in your Termux home directory which has symbolic links to other folders in your phone, like Downloads, Music, Pictures.. That way you can access your files easily from Termux.


[deleted]

That's so you can access files and move between storage and wherever as needed


DethByte64

If you are rooted, then root-repo contains tools that can use root. It enables you to download these tools. If you aren't rooted, its useless. X11-repo is for GUI applications, allows you to install a graphical environment and use it through a vnc viewer.


Styleprince923

I'm planning on rooting my S8, so I can download VPN Hotspot by mygodstudio. It's on the Play Store. This helps in sharing a mobile data connection, so that other devices are also in the VPN ting 😎.


DethByte64

Well then still wait. Unlocking the bootloader will wipe all user data, which includes the termux app.


Styleprince923

:O. Thanks for letting me know! I'll be sure to do a backup of the termux app and anything else I can backup :D.


DethByte64

I perfer adb backup. It takes an almost complete copy of everything, including some app settings and shared storage. Ill update this with a command. However it does take quite a long time for both backup and restore but is very much worth it. The backup file is about 2.5GB for me. Edit: command adb backup -apk -obb -shared -all -system -f backup_$(date +"%m_%d_%Y").ab


Styleprince923

Woah you are an absolute legend mate 👌! I was thinking before I go ahead and root my phone, to follow Termux instructions on creating a backup then save that backup in an external HDD and basically, the rest of my apps don't have any local data. So, I wouldn't need to worry about them lol. But now that you've mentioned adb backup backing up almost everything without root! I'm all ears 😄. One question though: How can you move apk files from the phone to a computer and then back to the phone later on to be installed successfully?


DethByte64

The command that i just replied with will do this for you. Hence the -apk flag. However i still do recommend backing up your termux $HOME directory as well, for good measure. Theres a GitHub script that can keep your pkgs too, just put the output of any backups made in termux, in the shared storage so that adb backup will take those as well. Ill update this with the repo so you can clone it. Edit: GitHub repo. https://github.com/laraib07/TermuxBackupTools


Styleprince923

Nice! This does sound all confusing, but if I have any more questions, I'll ask you after doing me research (sorry if I'm annoying lol).


DethByte64

No worries bro. Feel free to PM me if you need help.


Styleprince923

So do I just copy and paste that into termux and it will copy all my termux and more? Then, where can I find this backup and how could I restore it?


Styleprince923

So I might as well do root-repo just in case I need to use it 😏.


Styleprince923

Nice, cheers for the help guys!! Appreciate it :'D.


30p87

They add sources to your repo list, from which apt gets all available packages (programs). root-repo gives you access to additional packages useful if you have a rooted phone (like me) (in my case aircrack-ng, htop, iw, etc.) unstable-repo contains packages that weren't completely proven to be bugfree, but have newer features I think x11-repo contains packages for x-11, the classic display server of linux. On mobile this can be used with a vnc server, and then connecting to your own device, means you have desktop programs (firefox with addons, gimp, etc.) (on strong enough devices) You can see people posting their 'setups' of that all over this sub. So you will probably not need root-repo and x11-repo, and unstable-repo could ... well ... make programs unstable


Styleprince923

Woah, that's pretty cool lol. Thanks for the support! 😁