Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Better understanding and cautions

wello6143 edited this page Nov 16, 2021 · 2 revisions

If you are new to sarchile and wonder how it really works. Then sarchile is like WSL of Windows, where:

  • proot and Termux is wsl.exe.
  • sarchile is a distro running under WSL.
  • Android and its kernel are Windows.

You should note some idea before going deeper (even sometimes, before using sarchile):

  1. sarchile is based on idea of mounting Arch Linux image and call Android system to execute what's inside the image. So Arch Linux is not booted nor have an init system, thus you did not installed a complete installation of Arch Linux.
  2. sarchile isn't an operating system, but a technique to make an operating system (in this case, Arch Linux) works on your phone without much hassle. We don't plan to make any distribution based on Arch Linux because this world has been done with overnumerous amount of Linux distributions.
  3. sarchile can't harm your device in anyways. PRoot does not need any super user permission but rather "use ptrace() for hijacking system call arguments and return values to fake the visible file system layout or user/group IDs"[1]. However, it has a drawback of performance. Rest assured those myths could never happen:
    • Void your phone warranty.
    • Root your device (unless you managed a way to exploit the Android).
    • Install and execute malware on your phone.
  4. When using sarchile, these issues are natural because of phone design and cannot be fixed:
    • Battery will drain faster (depends on weight of processes, consume no power at idle).
    • CPU is heated up than regular, but mostly won't higher than you play 3D Android games.
    • Your Android interface become stutter when you do heavy works with sarchile in background.
    • Phone storage will have a very, very slightly shorter lifespan.
  5. We are not making any distro based on Arch (for mobile). sarchile is name of a set of method of scripts and techniques to deploy ArchLinux on Android devices.
  6. We only work with aarch64 variant of Arch Linux (aka arm64, arm64-v8a) or simply, your Android system is running on an 64-bit ARM architecture processor. We have planned to support amd64 (x86_x64) architecture, but it would take a really long time.
  7. This project is in no way affiliated with Arch Linux, ArchLinuxARM, Termux team or any of their community. But we still seek for friendship and contribution from anyone. We also do not expect to bring this project to Arch (user) repository nor Termux.
  8. "Should I read archwiki t.." -Yes, if you work with anything that is related to Arch Linux, you should must read the Arch Wiki.
  9. Your phone is a phone, not a PC nor a workstation. So please do not push your device to work beyond it's limitations.

Reference:

  1. Termux wiki - Proot