• 0 Posts
  • 33 Comments
Joined 1 year ago
cake
Cake day: November 10th, 2023

help-circle




  • Is there any difference between the native shell and Termux’s? I just installed fish and chsh’ed it to default: after syncing over all my dotfiles it looks and acts as expected.

    I did the same, but that’s not what I’m talking about.

    I don’t know for sure, but if I hat to guess I’d say that Termux uses chroot to emulate a more Linuxy experience by changing your root to /data/data/com.termux/files/ with it’s own bin, etc, lib and so on directories

    Using su you escape that chroot and start using your roms root directory at /

    I might be totally wrong with this, but that should hopefully clarify the way it behaves





  • Just fyi, adb authorization resets like every 7 days by default. So if you hope to use your home PC to fix this you should not wait to long

    For the future maybe get Termux, make it boot with your system, give it root access and setup ssh in there

    And also please, for the love of good never download random TWRP images and install them to your phone. Same goes for Magisk and pretty much anything you do with root/in fastboot/in your recovery. This could open up a HUGE vulnerability in your phone which will not be fixable for you unless you’re willing to spend a lot of time