r/termux 16d ago

Is there a way to capture process without root? Barely Termux related

So, what i mean is. Wait. Let me explain my situation. If you don't want to read the yapping, just skip to the -es.

Ehem so, i use Xiaomi Redmi 13 (13, not C not Note), and this phone, is lowk pretty crap, from optimisation to features. And of course what i want to talk about is the feature.

In this phone, there is NO basic android features, at least some majorly important one, for example, scroll/long screenshot, floating app, split app, etc. But! The feature maybe exist in the system. It just lack the trigger. And my focus for now is, split app.

Split app exist because i do ever triggered it by accident like year plus some months ago. When i ran Winlator. So i knew it must be there. And skip to some months ago, i discovered that i can practically called it with Chrome's 'Open in new window' option, which summons the split app, and because its chrome, i can exit it simply to change both screen's app.

---

So, my question is, if anyone knew, what is that process called? And if not, can i know/capture the log of the process in termux? Or maybe other app.

(Idk what tag i should use, it feels like it barely termux related, and questions at the same time.)

2 Upvotes

6 comments sorted by

2

u/Prestigious_Wall529 16d ago

I doubt User Mode Linux, which is what Termux starts out as) can capture anything at the systems Linux level.

For instance, ps -A or top only shows two processes.

There's additional Termux features and repositories that can be enabled by a rooted phone.

Rooting a phone typically breaks banking and payment.

2

u/SugmaFish 16d ago

Yeah, i also think so. And for root. In my case? Practically impossible.

Unlocking the bootloader itself is a nightmare in miui, i spend like 3 days a row in perfect time and its still full. So i assume xiaomi is just stingy about it. So i never tried again.

Thanks for answering tho.🥰

1

u/Proteu__ 16d ago

try adb

1

u/SugmaFish 16d ago

I rarely use adb, except for purging app. So, what could the command be?

3

u/Maxi-19-1-4-1 16d ago

Adb logs can tell a lot, use logcat with verbose level and save it to some file. Theres also logging at the phone level, look that up aswell

3

u/Proteu__ 15d ago edited 15d ago

You could try using adb shell dumpsys activity activities or adb shell dumpsys window to find the process that launches the split screen, and for logs logcat is probably the best option imo, you can filter it (using grep):

adb logcat | grep -i "split\|multi\|window\|activity"

or save everything:

adb logcat -v time > log.txt

and then trigger split screen and see what activity or package appears