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
1answer
18 views

How to launch a pdf from a terminal?

I gain precious time by launching pdf from the terminal in Linux evince ~/mypdf.pdf What is the exact command that allows me to do that on android? This post gives the following template: am start ...
0
votes
1answer
54 views

How to Sending SMS from terminal in background on Android

I'm trying to send text message (sms) from my Android terminal app in background (sim 1 or 2). I can send message in foreground using this command: am start -a android.intent.action.SENDTO -d sms:...
0
votes
0answers
37 views

Unable to get root access on Meizu 5 Pro Flyme OS

I'm trying to copy a file using Busybox and terminal emulator on Android. The command I need to execute but fails with "Permission denied": /system/xbin/busybox cp -f /sdcard/proinfo-MeizuPro5-...
2
votes
2answers
106 views

How to automate sending my current battery percentage to PC over the internet every 5 minutes?

I'm using Android 9 on my Xiaomi Redmi Note 7 Pro and on PC I use Windows 10 and Arch Linux, there are many times when I'm away from my phone and it is charging in a different room or someone else is ...
2
votes
2answers
132 views

How to perform a hot reboot using the terminal emulator?

How do I perform a hot reboot on my device using the Terminal Emulator? I do not have busybox installed, but my phone is rooted. EDIT: I am looking for a solution to perform a hot reboot(see Quick ...
1
vote
1answer
139 views

How to configure and Enable WiFi Hotspot through terminal without ROOT

How can i configure and enable/disable the WiFi Hotspot by using terminal command without ROOT? Also I want to kick user from my hotspot using terminal command
0
votes
0answers
22 views

How to upload GSM CID LAC to telegram channel

Various apps show GSM CellID (CID) and Location Area Code (LAC). How can I get current ones via Terminal and upload to a Telegram channel with hourly frequency? I tried this but it's not updated, ...
0
votes
0answers
17 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
228 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
97 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
31 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
39 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
20 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
62 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
155 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
39 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
43 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
30 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
3k 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
245 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
40 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
670 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
737 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
27 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
46 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
698 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 ...
3
votes
1answer
506 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
114 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
1answer
226 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
465 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
2k 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
2answers
2k 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 ...
3
votes
1answer
1k 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
4k 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
558 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
425 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
919 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
5k 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
1k 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
774 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
3k 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 ...
1
vote
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
864 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
2answers
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
86 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
379 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
264 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
92 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
79 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 2 3 4 5