FORUMS

Galaxy S6 & Edge get €100 Price Cut—New Models Incoming

Samsung has dropped the price of both the Galaxy S6 and S6 Edge by … more

How To Port Fully Featured Sony Xperia Z4 Camera

Xperia Z4’s hardware may not impress, but its software is definitely … more

Experimental TWRP Available For Moto G 2015

XDA Senior Member squid2 has posted experimental builds of TWRP for the Moto G … more

Sunday Debate: How Can We Get a No-Compromise Phone?

Join us in a fun Sunday Debate on Compromises. Come with your opinions and … more

[APP] Remote Terminal - (Execute Any Shell Command by SMS) - Update 05/07/2013

380 posts
Thanks Meter: 308
 
Post Reply Subscribe to Thread Email Thread
REMOTE TERMINAL
Execute any shell command by SMS

Introduction:
This app will read receiving sms and executes shell commands in them. It is very useful in many ways. You can delete your private data from your device in case you lost your phone. You can even turn off your device by this method. Every command that you execute in terminal emulators in your devices can be executed by this method. Every command is executed with super user permissions. So you have full control over your device by a simple sms. To stop any other people using this other than the owner, I added password protection for it.

Instructions:
1. Open the app (Remote Terminal)
2. Enter "null" as the current password. (case sensitive)
3. Enter anything as you wish as your password. (case sensitive)
4. Start typing a sms from any device, anywhere in the world starting with your password. (CASE SENSITIVE)
5.Enter your set of commands - each command in a NEW line
(when starting terminal session it's in the root folder)

Example: making a folder in sdcard named ravindu
Code:
yourpassword
cd sdcard
mkdir ravindu
or
Code:
yourpassword
mkdir sdcard/ravindu
6.Send the sms to your device.
7. You will be asked to grant SuperUser access to the app. Give permanent superuser permissions (only for the first time)

You don't have to waste your sms by sending 1 sms for 1 command. Send all commands in 1 sms

Requirements:
A ROOTED device

NOTE:
Password is case sensitive in every place.


Give me your comments and suggestions about this app. If I have any time, I will try to develop this app.


See the 2nd post for a list of some useful commands

SCREENSHOT:


Flash it & enjoy!!!



If you like my work, hit the THANKS button!!!


Donate me if you think my work is valuable
Attached Files
File Type: zip RemoteTerminal.zip - [Click for QR Code] (332.3 KB, 612 views)
Last edited by RavinduSha; 5th July 2013 at 04:32 PM.
The Following 30 Users Say Thank You to RavinduSha For This Useful Post: [ View ]
 
 
28th April 2013, 07:25 AM |#2  
RavinduSha's Avatar
OP Senior Member
Flag Kurunegala, Sri Lanka
Thanks Meter: 308
 
Donate to Me
More
Tutorial List of Useful Commands
1. reboot - reboot your device
2. reboot -p - turn off your device
3. rm data/dalvik-cache/*.* - clear dalvik cache
4. rm sdcard/pictures - delete entire pictures folder from sdcard ( change the path to your desired folder to delete it )
5. rm data/system/gesture.key - reset your pattern lock ( accepts any pattern you input )
6.rm data/system/password.key - reset your password lock


I'll update the list when I get more free time
Last edited by RavinduSha; 5th July 2013 at 04:21 PM.
The Following 2 Users Say Thank You to RavinduSha For This Useful Post: [ View ]
28th April 2013, 07:55 AM |#3  
sandy7's Avatar
Recognized Contributor / Recognized Developer
Flag bangalore
Thanks Meter: 6,921
 
Donate to Me
More
U are determined to make some remote apps...
Good going..

Sent from my Sk17i using xda premium
The Following User Says Thank You to sandy7 For This Useful Post: [ View ]
28th April 2013, 08:02 AM |#4  
RavinduSha's Avatar
OP Senior Member
Flag Kurunegala, Sri Lanka
Thanks Meter: 308
 
Donate to Me
More
Quote:
Originally Posted by sandy7

U are determined to make some remote apps...
Good going..

Sent from my Sk17i using xda premium

Thanks bro!!

Broadcast receivers! I love playing with them
28th April 2013, 01:16 PM |#5  
codfx's Avatar
Senior Member
Flag Maho
Thanks Meter: 69
 
More
keep it up bro!!! I love that GUI
The Following User Says Thank You to codfx For This Useful Post: [ View ]
28th April 2013, 02:22 PM |#6  
RavinduSha's Avatar
OP Senior Member
Flag Kurunegala, Sri Lanka
Thanks Meter: 308
 
Donate to Me
More
Quote:
Originally Posted by codfx

keep it up bro!!! I love that GUI

Thanks bro!!!
16th May 2013, 02:19 AM |#7  
tucstwo's Avatar
Senior Member
Thanks Meter: 344
 
Donate to Me
More
This sounds....secure
16th May 2013, 04:31 AM |#8  
Senior Member
Flag Auckland
Thanks Meter: 31
 
More
Use a strong password... then send it via SMS. Hmmmmm...
16th May 2013, 05:01 AM |#9  
Member
Thanks Meter: 5
 
More
question....
Is it compatible with gryphon secure messaging platform? Or does it listen to default SMS app only...?

I use gryphon a lot, and would prefer to use it to send the commands; just as an extra precaution...
16th May 2013, 08:15 AM |#10  
Senior Member
Thanks Meter: 31
 
More
when you loss your phone, your SIM card was replaced! and you can not know Phone number, can we control by 3G or wifi?

and can you give us all command of emulator?
16th May 2013, 06:02 PM |#11  
abcdjdj's Avatar
Recognized Contributor
Flag Thane
Thanks Meter: 3,183
 
More
Quote:
Originally Posted by dynamic503

when you loss your phone, your SIM card was replaced! and you can not know Phone number, can we control by 3G or wifi?

and can you give us all command of emulator?

By default the only available commands for the emulator are :-
Code:
echo -- prints text to stdout.
set -- sets shell variables
export -- makes shell variables available to command-line programs
cd -- change the current directory.
pwd -- print name of the current directory.
But if you have busybox installed on your device then you have many more commands like cp, rm and many more Linux commands

@RavinduSha- Nice work bro. Happy programming
Last edited by abcdjdj; 16th May 2013 at 06:16 PM.
The Following User Says Thank You to abcdjdj For This Useful Post: [ View ]

Read More
Post Reply Subscribe to Thread

Tags
remote, remote terminal, shell, sms terminal, terminal
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes