Tagged Questions

The shell is a piece of software that provides an command-line interface to the operating system. Use this tag for shell-specific issues; general command-line issues should use the 'command-line' tag instead. See full tag wiki for other related tags.

I'm connected to a wifi spot with my android, but i'd like to connect with my laptop aswell. I don't want to root my phone (warranty and stuffs) nor reset the router, as it has complex settings on it. ...

With reference to my question here:
IM-A870L Radio Interface Layer broke down
Summary:
My android phone broadband chip is dead. For some reason, its not working anymore. Now I can use the phone for ...

I want to make a simple utility where I can read the current setting for the stayon portion of svc, and also change it. I got changing the setting down, but how do I find out the current value of it?
...

Looking at the reference to svc on my phone there are options for svc power stayon [true|false|usb|ac|wireless]. I'm curious what usb, ac, and wireless do when you use them?
I tried svc power stayon ...

I downloaded Ngrok which I want to install on a old HTC Hero [the project is to transform the phone in a ipcam, reachable behind a NAT network], so I chose the version compiled for Arm5. You can find ...

I want to see a list of all active TCP connections on my Android device, regardless of whether they terminate in the device.
E.g., when my phone is serving as a WiFi hotspot, I would like to see all ...

I have a really simple shell script, that just adds a route to my internal development machine. This is useful, as that machine has some LXC containers inside, so I can reach all my containers from my ...

On my rooted Android 4.4.2 Samsung Galaxy S4 phone with armv7l chipset, if I start a shell, I can use the stat command, but some devices report strange. In particular, the / device shows zero size, ...

I have a 16GB external SD card that I'm currently using for my music collection. Android reads it just fine, and CWM mounts it perfectly. I'm on Gingerbread (I have my reasons).
I opened up adb shell ...

I'd like to mount an NFS share on my Android cell phone, with perhaps a mount-unmount button on the home screen. Any ideas of how to accomplish this?
My /system/lib/modules is empty. It doesn't have ...

I am having Nexus 7 running multiple users. I am trying to find out which is currently running user using ADB. The best I could get so far was to check legacy directory linking which is either linked ...

To run a game on my Nexus 5 (5.1), I need to change my screen resolution. I'm trying to write a shell script that will detect the current resolution and change it, basically a toggle.
I know that I ...

I've been trying to recover some photos and I've been following this guide here
http://forum.xda-developers.com/galaxy-nexus/general/guide-internal-memory-data-recovery-yes-t1994705
However, after I ...

When I try to boot my chinese tablet it halts on a small android icon and does not go ahead. It is not a boot loop. I just stays there.
It booted successfully a couple of hours ago after two days and ...

Is it possible to open the sim manager under setting in the android phone using an adb shell command?
I have alot of Android 4.04 devices (300) where I need to enable data roaming in the sim manager. ...

I have a Runbo X5-King phone which is manufactured by a small Chinese company. I need to shrink /system and expand /data. All tutorials I can find online say to run fdisk in recovery, but the problem ...

Usual shar archives fail to extact in adb shell due to problems with lock directory and temporary files for HERE documents. Zip archives are also not an option.
How do I make an archive that can be ...

I have a tablet from China, it's a Q8H Allwinner.
It is rooted, and I've browsed the internal storage for hours to find the battery animation, I found them at framework-res.apk...
Now I want to find ...

I'm trying to use WinSCP to FTP a file out of /data/data (well, it's directory is contained in the /data/data directory, which is the important part). But I get a "Code: 5" error from WinSCP, access ...