1

I want to setup a chroot environment on my android x86 installation in which I can perhaps run or install various apks. Is there any way to launch an application in a custom chroot environment?

5
  • You may want to edit your post to include which emulator environment (including OS version) you are using and the type of behavior you are expecting out of the chroot environment. Oct 26, 2021 at 23:50
  • 1
    Keep backups or snapshots of your Android-x86 to revert to, should something goes wrong and you cannot fix it. You are unlikely to get a Linux like chroot implementation in Android. You can however try using a secondary user to prevent app interactions with sensitive data. Work profile can also be used in this regard.
    – Firelord
    Oct 27, 2021 at 1:59
  • I specifically want to use chroot, it's for a personal project. Oct 27, 2021 at 2:36
  • 2
    I don't think chroot will not work in Android for apps. Android bases on Linux but the Android app system works totally different. Only for command-line programs (on adb or inside termux) chroot can work.
    – Robert
    Oct 27, 2021 at 7:09
  • I see, well thanks. Oct 27, 2021 at 22:22

0

You must log in to answer this question.

Browse other questions tagged .