We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [terminal]

A terminal app is the way of providing a command prompt to Android devices.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

Is there a way to host a public minecraft server on a 32-bit Android device

I have only a 32-bit android device. Is there a way to host a minecraft bedrock edition server on it?
1
vote
1answer
70 views

How To Enable Debug Mode From ADB Shell or ADB Via Terminal In Linux

so far I have put my android device in ftm mode i have tried from adb sideload now i am trying with busybox ash I'm able to run ls but anything else says permission denied or error:closed. / $ ls ...
0
votes
1answer
62 views

Local equivalent to adb install

With a PC connection and adb, I can install packages by running adb install foobar.apk There is also an option to downgrade a package to an earlier version and keep data (as long the app itself did ...
0
votes
0answers
25 views

file manager doesn't find folders

I am using a terminal, Termux, and Qute. The terminal Qute shows me a path data/user/0/com.ddm. In the file manager Cx File explorer I am not able to find them. In Android folder, there is a data ...
0
votes
0answers
32 views

How to change my Android lock screen from Terminal? [duplicate]

What I want to achieve is to change lock screen, regularly. As an example, the lock screen is a PIN, and the PIN number should be increased by one everyday (e.g., using cron jobs). It seems there is ...
0
votes
0answers
18 views

mdadm and other services in android x86 8.1

I have been reading up on android x86 lately and would like to know if it can read /dev/md0 (RAID5) created by mdadm (with ext4 partition on it) and whether it is possible to use applications such as ...
1
vote
1answer
57 views

“agrep” for Android Terminal?

How can I do this (agrep) in the Android Terminal? This program allows elastic text searching, which means that searchqwery would match searchquery, and searching Android would also match Anfroid or ...
0
votes
1answer
91 views

How can you open a URI from the command line?

I recently started playing with the app called 'Automate'. The starting block for each Automate flow provides a URI. Can this URI be used to initiate a flow? Can I accomplish this from the command ...
0
votes
0answers
30 views

stat -c “%x” [file] shows the current time. ls -lu [file] too

How to get the access time of a file in terminal? stat -c "%x" [file] shows the current time. ls -lu [file] too.
0
votes
0answers
36 views

Mount image as USB-OTG

Is there a way to emulate an image to the phone as being an usb device? I don't want to mount the image in a computer like DriveDroid does (Mounting .img from internal storage as USB Mass Storage) but ...
0
votes
1answer
25 views

While pushing to git using Termux, it crashes while compressing files

I am pushing large number of files to git from android using Terrmux. git push origin master There is no issue pushing up to 40 files of around 1.5 MB. But when number of files is larger, Termux ...
1
vote
0answers
2k views

Install Split APK Manually

Recently I got to know a thing called split apks, and found the slices as invalid apk files, only the base is. Unfortunately, this means the usual default package installer is unable to handle this, ...
0
votes
0answers
146 views

Using Termux to Backups Android's Contact List

In Termux's website's main page, they write (among other stuff): "use rsync to store backups of your contact list on a remote server" This makes me wonder: Android's Contact List is stored in an ...
0
votes
0answers
32 views

Issue trying to flash lineage OS on Samsung s6 through heimdall on terminal - mac

Trying to flash lineage OS to my Samsung galaxy s6 but for some reason the Mac cannot detect my device.. The only way I can cannot it to transfer data files through USB is by enabling USB debugging in ...
1
vote
1answer
405 views

How can run native executables compiled for ARM on unrooted Android devices? [duplicate]

Following this tutorial I have compiled a Hello World! ARM binary from C source using gcc. I want to run this program on my unrooted Android phone but I can't figure out an easy way to do it. What I'...
1
vote
1answer
497 views

What sepolicy context will allow any other context to access it?

I am on a bootloader locked Sprint Samsung Galaxy S7, eng boot.img flashed to phone with SELinux permissive, which gives root adb shell from where I can change system partitions, debloat, install ...
0
votes
0answers
21 views

Netstat -l -p stop working when I'm root

I need to know why this process named "camera test" in Nestat plus (though I can't find this name in the lsof log) is listening some ports it is the first four processes after netstat -l-p in the ...
0
votes
0answers
37 views

Problems in Local Terminal in Android's Developer Menu

I am currently having a problem in my Android 9's local terminal from the developer menu, where keys such as $ are turned into their counterpart in the QWERTY keyboard without pressing shift (for ...
0
votes
0answers
454 views

Android Terminal: Vibration command?

Which command in the Android Terminal can be used to vibrate? (for a custom length such as 50 milliseconds) I would like to integrate vibration feedback into a shell script. Maybe I need permission ...
2
votes
1answer
323 views

How to find UID of an app installed on Android and use it as a shell user?

I am trying to find a way to determine the user name of the current shell user from within a shell / terminal on an Android device. The Android environment that I have in /system/bin and /system/xbin ...
0
votes
0answers
52 views

How to press & long press the “back” key with a terminal command?

We manage Zebra Mobile computing units running on Android 6.0 Marshmallow through an MDM. For some reason, the MDM interface doesn't show the Android buttons at the bottom of the screen (back, home, ...
1
vote
0answers
50 views

Android Terminal does not work immediately after reboot

jackpal.androidterm does not work immediately after starting the phone. Instead, it first just shows a blank screen. Then I need to wait around 20 to 60 seconds. Then, the terminal's prompt is ...
0
votes
0answers
53 views

Path to sensors and GPS data? (for Android Terminal)

For battery information, the path is /sys/class/power_supply/battery. What is the equivalent path for barometer (hPa), brightness sensor (lux) and GPS speed, altitude, latitude, longitude, accuracy?
0
votes
1answer
209 views

Send data via Bluetooth to Serial

I have an application running on Win that the JavaScript would capture the string from a webpage and wake up the cmd, cmd would have the parameter as below. bridgetool.exe -c serial -p com1: -b ...
2
votes
1answer
332 views

How to use lsof, netstat and ps commands with complete options on Android?

I tried T-ui and although it has the lsof command, it cannot do lsof -i for example, so I need to go through every single process in Android. My phone is rooted and I wanna know the PID of the process ...
0
votes
2answers
1k views

Is it possible to have temporary root access on termux or any other terminal without rooting your android phone?

I would like to know whether it is possible to be able to have a temporary root access to an android phone using a Termux or any other terminal in the same way that ubuntu does without rooting your ...
0
votes
0answers
290 views

Android Terminal volume keys do not send keyboard strokes

The volume keys in jackpal.androidterm do not emulate The terminal shows > or < while pressing the keys respectively, yet when pressing Volume Down + C, the Ctrl+C does not get sent to the ...
0
votes
2answers
1k views

how to change the Mac address without rooting your phone

I do have a Samsung Galaxy J5 2016, and I am trying to change its MAC address without rooting it. I've done a lot of internet search, and I've come across many useful guides and advice, such as ...
2
votes
1answer
692 views

Where can I get more information on the sm tool (command) used in the Terminal

I have seen the sm tool used a few places for example here. The way I understand it, it is a storage management tool but I haven't been successful in finding any more info about it. Where can I find ...
2
votes
0answers
3k views

Package installation in Termux

I'm reading this guide that describes how to install the statistical language R on Termux. My installation journey is briefly outlined below. I need to determine why nothing happens at Step #2 ...
0
votes
1answer
466 views

Possible to remap `Esc` key to `Caps Lock` on a bluetooth keyboard

Samsung Galaxy Note 9 with any old bluetooth keyboard. How do I remap the Esc key to Caps Lock? And remap the Caps Lock key to Esc. Swap them basically. I need this to make it easier to use Vim on ...
1
vote
0answers
347 views

Termux says file does not exist but it does

A while back I installed nano on Termux and it worked fine, but when I accidentally tried to copy a file into a nonexistant directory at nano's location, nano wouldn't run. I checked and the ...
0
votes
1answer
660 views

How can i mount all partitions of harddisk in android x86?

i installed android-x86-4.2-20130228 as a live but does'nt read my partition of my hardisk i tried with Paragon UFSD Root Mounter but not work good in 4.2.2 and es explorateur does'nt read any ...
-1
votes
1answer
4k views

Enable debug terminal in android x86

I download android-x86-4.2-20130228 from https://code.google.com/archive/p/android-x86/downloads and run it as live daul boot with windows i try to root it with Android-x86-RootScript but the ...
0
votes
2answers
955 views

Permission denied when working with/without “su -c” in /cache

I am trying to issue this command adb shell "su -c echo 'boot-recovery' > /cache/recovery/command" //OR// adb shell "echo 'boot-recovery' > /cache/recovery/command" outputs the same: /system/...
0
votes
1answer
583 views

How to change font scale from Terminal

I know these two commands to change density and resolution via Terminal: wm density <dpi> wm size <resolution> But how do I change the scale of system-wide font via Terminal?
1
vote
2answers
2k views

How can I run a python script in terminal emulator?

I tried running a python script in terminal emulator (app) with "./script.py" and I get an error saying "permission denied" so I googled how to do this and it said I have to download a file called ...
0
votes
0answers
1k views

Change Resolution of HDMI output (USB-C / Slimport)

I have been working on this problem to avail I want to change the screen resolution of my EXTERNAL monitor connected to my android phone. Phone is android 7.0 LG v20, and I am using a USB-C Hub with ...
0
votes
2answers
687 views

How to do GREP text searching without root?

There is busybox and there are terminal emulators that include grep, but they require root to run. It would be better if they could also run without root but with limited access. I only need to grep (...
1
vote
1answer
1k views

Immersive mode in Termux?

How can I enable immersive/fullscreen mode in Termux? I want to hide the bars at the top and bottom of the screen so that the entire screen displays the terminal. In summary, I'm looking for either ...
1
vote
1answer
85 views

How do I change the factory settings that an Android device reverts to?

'm looking to change some of the default settings that a device reverts to such as language, timezone, resolution. Is there a way to do this through the terminal assuming my device is rooted?
0
votes
1answer
333 views

How to use GNU Root Debian from android terminal emulator?

I install GNU Root Debian on my android. Also i install jdk8. I can compile java programs. For example i can get java version. cd /data/data/com.gnuroot.debian/debian/usr/java/jdk1.8.0_181/bin ./java ...
0
votes
0answers
246 views

Running commands operating on files always results in permission denied errors

When I try executing commands operating on files, they always fail. I can't check permissions on the terminal because I'd have to run a command that operates on a file (directory) in order to do so. ...
0
votes
1answer
87 views

After programmatically setting the resolution through an app, how can I make the device remember the new setting?

So I'm setting the resolution by editing system files. This has been the only way that works for me. More preciesly I issue this command: echo 1080p60hz > sys/class/display/mode to the device's ...
1
vote
0answers
77 views

Termux android usage for linux based work on the go

Any tutorial to lear termux commands??? for termux-ubuntu package, to perform allmost all the linux based work on android.
-1
votes
1answer
118 views

Closing zygote and seeing simple interface

Can i'm close zygote on my phone and see "terminal"? If i'm closing zygote with killall zygote my phone just rebooted and graphics interface starts again.
1
vote
0answers
167 views

How to manually activate download manager process via adb or terminal emulator?

Playstore relies on a process called download manager embedded in Android OS, yet it cannot be manually activate resulting in prolong wait time when using secure proxy to download playstore apps. What ...
2
votes
3answers
7k views

How to run “parted” command in terminal emulator on my android smartphone

Updated question (2018/2/20) Thanks to grawity's answer and comment, my question can be updated. My final goal is to acquire detailed partitioning information (including the start and end address ...
0
votes
1answer
74 views

scp for “Material Terminal”

OS: 5.0 Lolly-pop Device: Samsung Galaxy note 3 Using the terminal emulator "Material Terminal" is it possible to add an ssh command scp?
0
votes
2answers
45 views

Ran :(){ :|: & };: on my android device!

So I was seeing dangerous command in linux and I found a command which seemed funny: :(){ :|: & };: So I ran it on my Samsung Galaxy A7 term non-rooted phone and guess what it hung immediately. ...