Post Reply

[App][Part-Root][4.0+] Sms Tasks!

OP jkok

7th July 2013, 11:29 PM   |  #1  
jkok's Avatar
OP Senior Member
Flag Parkersburg W.V.
Thanks Meter: 166
 
260 posts
Join Date:Joined: Jan 2013
Donate to Me
More
Hello This is my first app ive made so please be kind about it.

but first in regards to the bad-apk upload to google-play prior to 7/03/2014

for all those who dont know, the update was in regards to a settings not applying glitch causing the app to fail completely if it wasnt my set device id so i had no clue untill i saw a review then tested on mine then on my friends phone:

i feel bad i uploaded a bad apk and got around 30 people disapointed and 3 who baught pro disapointed so i have refunded all for pro version, removed it, then removed all ads from the free version and republished on 7/03/2014 and work a straight 6 hours to get it up+running fully from scratch with minimal code reusing to make sure it works, same android restrictions apply so gps toggling and a few others still apply, but i tried many methods to get it working, but only tested on 4.4.2 but some codes should work for 4.0+ but i feel really bad about it so i did all i could to remake it as well as i could so please try to give it another shot as i worked hard to get it up+running to work again =)

**For GoSMS+Other SMS/MMS App Users that are not receiving commands:

Quote:
Originally Posted by Abraheem

I haven't used this program yet. I use Cerberus which has the same problem with GOSMS.
Here is a solution that works for cerberus and should work in similar situations:

Open Go SMS Pro, tap 'Menu', 'Settings', 'Advanced', 'Other setting' then uncheck 'Disable other message notifications'.
Then back to 'Advanced', then 'Notification settings', check 'Notification bar privacy mode' and that so it will not display the recieved sms commend!

Then open the stock SMS App, tap 'Menu', 'Settings' then uncheck 'Notifications'.

The idea can be used with Handcent sms and other sms programs. Hope it works

otherwise: THIS APP WILL NOT WORK IF YOU HAVE GOSMS INSTALLED, GOSMS must be frozen or uninstalled**


Intro:

This is a sms-receiver app that will listen to incoming Text messages and do a pre-compiled task by them
This app was partially inspired by the Remote Terminal, Remote ShutOff, and Remote Unlock apps from the xda-announcements (not sure of developer names at the moment, but i did like those apps myself and thought "why dont i make one just like that?" So i did. and it doesn't need to be a system app or fully rooted to do so!
**note** im a single person developer so i cannot make every function compatible for every phone because i only have a samsung fascinate sch-i500, so if a feature doesn't work for you, i cannot help much cause i only can test it on mine, and this works perfectly on mine, sorry in advanced.


Features include: [R] = root required [~R] = root may be required for newer phones [D] = Disabled in Disable Dangerous On Wildcards
-customizable passphrase used for all commands except both echo's (cannot be blank, but unlimited length (as long as you can fit commands after it), there is no old passphrase, so on your first run(or after data wipe), leave the old Passphrase alone, and type your new one in the two other text fields)
-turning on/off the service when changing passcodes(or typing in the same passcode in old, new, and confirm)
-[R]Shutting off phone
-[R]Rebooting phone
-[R]Rebooting into recovery
-[R][D]Sending terminal commands
-[R][D]Uninstalling apps remotely (By package name, eg. com.rovio.angrybirds, **reboot afterwards required**, system apps uninstallable also)
-Sending Echo's (toast messages, multi-lined acceptable)
-Sending multiple Echos (multi-line Echo's, separated into different toast messages one-after-another)
-[R]Bypassing the security lock of your phone, with reboot (beta feature, picks and chooses when to work when screen off) (supports: regular patterns, cyanogenmod 4x4-6x6 patterns, passwords, digit pins)
-[D]SDcard Wiping (Cannot be undone, see notes and warnings below command)
-[D]Remote Factory Reset (device admin needs to be enabled, android 2.2+)
-[~R]Toggle wifi, wifi hotspot, gps, bluetooth, ADB (on newer android firmware, some toggles need to be on a rooted phone for toggles to work; GPS requires to be a system app)
-Text-to-Speech (Makes your phone talk and say what you put after the command, some censors are put)
-One-Time Alarm sound (makes your phone set off the alarm sound, if failed (or media/sdcard unmounted) does System Alarm sound, if failed notification sound, if that fails does ringtone)
-Looping Alarm sound (shuts off with snooze command)
-Custom Alarm ( place "Alarm.mp3" in (external sdcard path)/KittleApps/Smstasks/Alarms/Alarm.mp3)
-Snooze alarm
-[R]Toggle ADB
-Rechecks Superuser (just basic rechecks superuser request, if already allowed does the toast message)
-Reading all your incoming text messages with the announcement "Text from (number or email) saying... (message)" (can be disabled/enabled in commands, or in the more settings menu.)
-Disabling/enabling almost any command (does not disable command to check superuser or the command to enable/disable commands)
-White-listing 2 numbers, and one email (no special characters use only numbers 0 through 9, no Country codes, Can allow all numbers (not email), by setting only the wildcard * )
-GPS Tracking (only as good as the gps on your phone, gives overall accuracy in metres, this will turn on gps on start) (separate command to stop tracking)
-Testing if app is installed and running correctly.
-Requiring Confirmation of pass phrase to disable/enable change whitelists


Commands (and format) to use these are, (where (pass)= your passphrase) (options for a few select commands are: true,false,enabled,disabled,t,f)

**Note: when it says "1234", or (option), do not include the ( ) or " Symbol(s) in the command. only your pass phrase and/or the option with spaces only to separate the command@, the passphrase, and options, with no spaces afterwards unless it is the speak, echo, multi-echo, cmd commands so far**:

Sending terminal commands:

cmd@1234 (terminal commands, seperate commands by new line)
cmd@1234 reboot
cmd@1234 echo "hi" >> sdcard/test.log

and such

Shutting off phone:

off@1234
cmd@1234 reboot -p
cmd@1234 poweroff

Rebooting phone:

reboot@1234
cmd@1234 reboot

Reboot into recovery:

recovery@1234
cmd@1234 reboot recovery

Uninstalling apps:

uninstall@1234 (package name of app, and include /system/app file name without .apk also if a system app)

echos:

echo (what to put in a single toast, can also be separated by new lines for multi-lined toasts)
echo hi!

echo hi
how are you today?
im doing good!


multiple echos

multi-echo (what to put in the first/single toast, new seperated-echos are separated by new lines)

multi-echo hi
how are you today?
im doing good!


Bypassing android LockScreen security:

unlock@1234

SDcard Wiping:

sdcard@1234
cmd@1234 rm -rfv (path you wish to delete)
**note SDcard Wiping cannot be undone when started it will erase all sdcard contents (fixed to only use external mount points V1.4+ on the sdcard@command not cmd@method)

Wiping Data:

data@1234
**note Wipe Data command cannot be undone**

toggles:

(options are: wifi, gps, bluetooth, adb, hotspot) (hotspot is the wifi hotspot)
toggle@1234 (option) (Value)
toggle@1234 wifi off
toggle@1234 adb on

Text-to-Speech:

speak@1234 (what to say)
speak@1234 Hi, how are you today?

Alarm (No-Loop):

alarm@1234

Alarm (Looped version):

loop-alarm@1234

Snooze Alarm:

snooze@(pass)

Remotely Lock Device:
// sends a text back with new password to get into phone
lock@1234
lock@1234 (optional Custom password can be added here)

Check superuser request:
// just type only one of the following to get the prompt Alternitivly use the "SU?" button on the settings to initiate the Initial Superuser prompts
superuser@1234
Superuser@1234
SuperUser@1234

Testing if app is installed and running correctly;

test@1234
**you will get a text back to the phone that sent the command if its working)

GPS Location Tracking:

locate@1234

Stop Tracking:

stop@1234

End OF Commands:

in regards to convert this (or any app) to a system app via commands?

type these in seperate texts in new messages (as it will be long...) make #### your currently set pass phrase
Code:
cmd@#### cp /data/app/com.kittleapps.app.smstask.apk > /system/app/smstasks.apk
cmd@#### chmod 644 /system/app/smstasks.apk
cmd@#### rm /data/app/com.kittleapps.app.smstasks.apk
then reboot the phone =) its how i debug it on-the-fly just do not remove from data/app before you chmod 644 the system app as you will no longer see the app as installed; so if you need to use the test@ command to test if it is still reading the commands =)

**do not use this method maliciously! i'm just showing for some users to convert to system app easily using my app for gps toggling issues! **

Download:
Google Play Link (for Free version, Pro is no more)
Last edited by jkok; 4th August 2014 at 01:49 PM. Reason: fixed up formatting of the commands section+edited the superuser command+added the adb toggle[R]
The Following 31 Users Say Thank You to jkok For This Useful Post: [ View ]
8th July 2013, 02:33 PM   |  #2  
maranello69's Avatar
Senior Member
EU
Thanks Meter: 171
 
802 posts
Join Date:Joined: Apr 2011
nice app, mate, sure looks promising

would be great to be able to send a command to fully wipe phone / sd card, this should be a great feature to have in case you loose or get your phone stolen
8th July 2013, 03:10 PM   |  #3  
zh0pp3r's Avatar
Junior Member
Flag Default city
Thanks Meter: 1
 
15 posts
Join Date:Joined: Oct 2011
More
Thumbs up
Thanks for the app. Full wipe phone/sdcard via sms would be great function.
P.S. Sorry for my bad English.
8th July 2013, 03:21 PM   |  #4  
abderrezak's Avatar
Senior Member
Flag NEW YORK
Thanks Meter: 261
 
399 posts
Join Date:Joined: Jan 2013
More
tested on samsung galaxy SL i9003 GB Stock rooted 2.3.6 And it's not work !!!
8th July 2013, 04:18 PM   |  #5  
jkok's Avatar
OP Senior Member
Flag Parkersburg W.V.
Thanks Meter: 166
 
260 posts
Join Date:Joined: Jan 2013
Donate to Me
More
Quote:
Originally Posted by abderrezak

tested on samsung galaxy SL i9003 GB Stock rooted 2.3.6 And it's not work !!!

weird because it works on my phone, i cant really test on other phones, but ill tweak it around a bit and check every command again, but the wakelock picks and chooses when to work when the screen is locked or shut off with patterns/pin/password, ill try to find a better way to use one, but make sure you accept/grant the superuser request But there is also a glitch when sending non-commands making the app crash, but ill try to fix that soon also, might i ask what command you tried to use (not with your pass code just the function would do)

i will also try to add the wipe functions soon, ill have to find a reliable way to wipe data with shell commands, as thats how these commands (with the exception of the echo's) work, but for sdcard wipe, that will be easier ill start working on it soon.
Last edited by jkok; 8th July 2013 at 04:23 PM. Reason: added more details
The Following 2 Users Say Thank You to jkok For This Useful Post: [ View ]
8th July 2013, 05:29 PM   |  #6  
Member
Thanks Meter: 8
 
31 posts
Join Date:Joined: Apr 2013
I had very similar ideas after the first shutdown app came out. One idea i got to tweak that a little bit more was why don't listen to other msg services like whatsapp, instead of SMS, cause it's a little bit old school. Might be a next version of your app come up with other msg systems?

Another thing I have regonized are for Samsung branded Devices: Samsung offers a protect services to shut your phone down or locate it wheb it's stolen etc. . So because you do this through a website Samsung needs to create a SU Access to the phone. Ain't it possible to access this services over an API and build a program around it? ...or I am completely wrong?
8th July 2013, 05:34 PM   |  #7  
jkok's Avatar
OP Senior Member
Flag Parkersburg W.V.
Thanks Meter: 166
 
260 posts
Join Date:Joined: Jan 2013
Donate to Me
More
Quote:
Originally Posted by SunShiner

I had very similar ideas after the first shutdown app came out. One idea i got to tweak that a little bit more was why don't listen to other msg services like whatsapp, instead of SMS, cause it's a little bit old school. Might be a next version of your app come up with other msg systems?

Another thing I have regonized are for Samsung branded Devices: Samsung offers a protect services to shut your phone down or locate it wheb it's stolen etc. . So because you do this through a website Samsung needs to create a SU Access to the phone. Ain't it possible to access this services over an API and build a program around it? ...or I am completely wrong?

im not sure tbh, ive only been able to do this over the broadcast receiver for receiving sms, idk if i can get this to work with other sms apps, but if i find a way to add the other message systems that would be a good alternative.
And idk about that samsung phone thing, i thought that could only be done for the stock roms, this app here ive only really tested on Unjustified dev''s domination and PAC roms cause those are my daily drivers, but that would be a good thing to try if i knew how to do it lol
8th July 2013, 05:44 PM   |  #8  
Junior Member
Thanks Meter: 1
 
2 posts
Join Date:Joined: Apr 2011
More
Quote:
Originally Posted by jkok


Download:
Resuable Download Link Click Here

Is it "Suable" or "Resumable"?

Thanks by the way, awesome app
8th July 2013, 06:07 PM   |  #9  
jkok's Avatar
OP Senior Member
Flag Parkersburg W.V.
Thanks Meter: 166
 
260 posts
Join Date:Joined: Jan 2013
Donate to Me
More
Quote:
Originally Posted by getdead69

Is it "Suable" or "Resumable"?

Thanks by the way, awesome app

opps i meant reusable ill fix that once i finish the wipe options lol
8th July 2013, 08:46 PM   |  #10  
Junior Member
Thanks Meter: 0
 
8 posts
Join Date:Joined: Jul 2013
Nice idea dude, gonna try it on my rooted stock ROM GT-I9500 and give you feedback.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android Apps and Games by ThreadRank