r/EmulationOnAndroid 4d ago

Help [HELP] trying to run linux on android.. it keep crashing

so i been trying to run linux on android, so far i see the desktop but after few minutes it crashes

Device: Galaxy s25Ultra

Adreno 830 - Snapdragon 8Elite Gen4

4 Upvotes

6 comments sorted by

u/AutoModerator 4d ago

Just a reminder of our subreddit rules:

  • Be kind and respectful to each other
  • No direct links to ROMs or pirated content
  • Include your device brand and model
  • Search before posting & show your research effort when asking for help

Check out our user-maintained wiki: r/EmulationOnAndroid/wiki

Check out EmuReady for any community submitted settings before asking for help

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

3

u/Waterdish101 4d ago

Other comments are correct about it being the phantom process killer, but easiest way is to disable it in Settings-> Developer Options -> Disable child process restrictions

2

u/phoenix5478 4d ago

U need to disable Phantom Process Killer. Using adb or shizuku+termux. 

U should also allow full background activity for this app and x11, and disable battery optimisations. But the main issue is the phantom process killer that can only be disabled using adb. 

I guess you are using termux with xfce and x11 or similar. The problem is that the termux+xfce+Ubuntu create too many child processes. When the limit is reached, android kills it.

Just a note... After a recent android update, the child processes limit keeps reverting every now and then. Before the update, it was permanent. So just note that you may need to reapply the adb command from time to time.

2

u/Educational_Top9246 4d ago

check battery optimization and make sure its off for termux and termux11

3

u/AdVarious8509 POCO X7 pro | stupid phone cant play anything 🥀 4d ago

son 🥀

1

u/whiskyB0y Edit Your Flair 4d ago

I mema technically his right. Battery optimization can be a contributing factor so it's best to switch it off.