How to use terminal? - HTC Sensation

I've read in a few threads which required the use of terminal/fast boot.
What exactly is this? Can anybody point me to a guide/tutorial on how to use it?
Thanks in advance!
P.S. - I am a newbie in playing around with the Android system.

bump bump bump

Terminal basically allows you to run certain commands directly on your device rather than having to be coupled to your pc.
Android Terminal Emulator
Description
This application lets you access your Android's built-in Linux command line shell. It emulates a Digital Equipment Corporation VT-100 terminal. You can use this application to run utility programs on your device.
What is this app good for?
This application lets you run Linux command line utilities on your Android phone. It is mostly useful for computer programmers. It might also be useful for people who want to explore the Linux internals of their Android phone.
Click to expand...
Click to collapse
Some Android basics - http://forum.xda-developers.com/showthread.php?t=619153
How to use ADB - http://forum.xda-developers.com/showthread.php?t=502010
Terminal commands - http://www.busybox.net/downloads/BusyBox.html

Related

[Q] Robust Linux command-line utils for Android?

Has anyone compiled a set of command line utilities for Android more robust than BusyBox? Coming from an iPhone, I love Android and its hackability, but I'm surprised that I haven't seen more about command line tools like the BSD Subsystem packages that provide common utils on the iPhone.
It would be incredibly convenient for me (and others, I would think) to have a more complete set of commands available. I know that some have compiled bash for Android, though I haven't seen an installable version of that either.
Any insights?
Android command line utilities archive
I maintain an archive of useful command line utilities at vkfox"dot"com"slash"android and a blog at androidcommandline"dot"apps-1and1"dot"com that describes installation and use for the NON-ROOT terminal emulator user. Included are a properly compiled busybox, popular command line interpreter/compilers (tcl, nodejs, d8, pforth, squirrelfish javascript, php-cli, python, perl, java, pforth, etc.), utilities (grep, strace, gdb, ctags, links, etc.) and other things in which I have an interest. I also describe in the blog how to use dalvikvm without root to compile and execute java and provide dexed versions of the eclipse java compiler and other java utilities for this purpose.
Other places where you can get properly (NDK) compiled tools are the applications CCTools, Terminal IDE, and other terminal based developer apps.
Use at your own risk, and don't point the gun at your own feet.

[Q] How to run multiple terminals ?

Hello
I am very new to Android OS and by no means am I a linux guru
but when I use linux on my desktop I am used to have multiple terminal windows open
usually 2 - 4 terminals in which I run different programs simultaneously.
I would love to be able to do that in Android as well
because right now when I use OpenVPN I launch it from console, it runs until I ter down the tunnel
so far so good
but when I need to perform some operations from console, I CANNOT because openVPN is still running in console
for predictable operations I use shell scripts and Gscript but it is not sufficient often
I would like to be able to create more instances of terminals and switch between them like I can switch between tabs in internet browser
Could someone please tell me whether this is possible and if so, what app do I need to install.
Thank you very much in advance
Home use connectbot that let's you use multiple terminals.
Sent from my Pulse Mini using Tapatalk
thank you very much
so no more terminal emulators that allow only one instance at a time
connectbot rules
THANKS

How to write scripts for android

I'm more of an Desktop programmer, writing all the background work and shying away from the GUI stuff. I'm good with commandline scripting type work, and stuff like that, but I want to create something for android that will access the filesystem and manipulate things in the system directory. How can I best accomplish this? I'd prefer a computer application, but I dont know how to write a program that will access things in the command line...
damastah said:
I'm more of an Desktop programmer, writing all the background work and shying away from the GUI stuff. I'm good with commandline scripting type work, and stuff like that, but I want to create something for android that will access the filesystem and manipulate things in the system directory. How can I best accomplish this? I'd prefer a computer application, but I dont know how to write a program that will access things in the command line...
Click to expand...
Click to collapse
Have you tried to simply write it with C, C++ or any other language you like and just crosscompile it to ARM? I don't see any reason why this doesn't work, when the programs are just for yourself
Greetings,
KanocX

What is ADB [Explained]

When it comes to Android modding, most novice users are confused or left wondering by reference over reference to a certain “adb”. This is specially true when you are looking up something on modding your device, or root it in particular. ADB is the wonder toy of Android and everyone seems to love it, so lets have a look at understanding what it is and why you need it, and how you can get it.
What is ADB
ADB stands for Android Debug Bridge. It comes as a part of the standard Android SDK, which you can grab here. Basically, it provides a terminal-based interface for interacting with your phone’s file system. Since Android platform is based on Linux, command-line is often required to perform certain advanced operations on your device using root access.
While these things can be done directly on the device itself using some terminal emulator, it will be rather difficult to execute complex commands on such a small screen. ADB provides the bridge between your machine and your computer.
Read full post : http://dreamproject.asia/faq/terms-slang/what-is-adb/

[DEV][LIBRARY][2015-06-12] RootFW4 - An Android Root Shell Framework

RootFW4 - An Android Root Shell Framework
RootFW is a tool that helps Android Applications act as root. The only way for an application to perform tasks as root, is by executing shell commands as Android has no native way of doing this. However, due to different types of shell support on different devices/ROM's (Shell type, busybox/toolbox versions etc.), this is not an easy task. RootFW comes with a lot of pre-built methods to handle the most common tasks. Each method tries to support as many different environments as possible by implementing different approaches for each environment. This makes the work of app developers a lot easier.
RootFW is the largest of it's kind. It does not only provide a feature of connecting to a root shell and executing a few shell commands. It also provides a very large range of additional features and extra shell tools that are all build to make RootFW the most cross-device compatible library for Android, and very fast and easy to use in your app.
Besides the ability to connect and communicate with a shell, it provides tools for working with files, properties (Both registered and prop files), file systems, binaries, busybox, memory (RAM, SWAP, ZRAM etc), processes and so on.
Links
Source
Usage and Overview
Full Documentation
Reserved...
Thanks @dk_zero-cool. This looks interesting. I'm currently using Chainfire's SU library. I'll give it a try !
Edit: Just out of curiosity, Why LGPL ?
ukanth said:
Edit: Just out of curiosity, Why LGPL ?
Click to expand...
Click to collapse
GPL has got to much limitation on how and where. I use GPL most of the times, but for something like this, I think LGPL fits much better.

Categories

Resources