If within the remote control settings, you restricted SMS commands to friends, SMS commands are only accepted if they are being sent from phone numbers that match one of the friend phone numbers you specified. All SMS commands s ent from other numbers will be ignored.
SMS command structure
All SMS commands must begin with your avast! password. For example, if your avast! password is set to 2222, a lock command should look like this:
Sample: 2222 LOST
Marks the phone as LOST. This command initiates the same actions as a SIM card change, depending on the protection behavior settings.
Sample: 2222 FOUND
Marks the phone as FOUND. This command disables the phone lock as well as the siren alarm.
Sample: 2222 LOCK
Lock the mobile phone
Sample: 2222 UNLOCK
Unlock the mobile phone
MESSAGE <message text>
Sample: 2222 MESSAGE Give back my phone!
Will display a message on the phone. Can be dismissed. Use LOCK and SET LOCKTEXT to display a sticky message
Sample: 2222 SIREN ON
Turn siren on
Sample: 2222 SIREN OFF
Turn siren off
Sample: 2222 LOCATE
Locate the device
LOCATE <interval duration in minutes>
Sample: 2222 LOCATE 5
Track the device continuously
Sample: 2222 LOCATE STOP
Stop continous tracking
CALL [phone number]
Sample: 2222 CALL
Sample: 2222 CALL +43660333555
If no phone number is given this command causes the phone to call you back. If you give the phone number the phone will call the given number
FORWARD SMS [phone number]
Sample: 2222 FORWARD SMS
Sample: 2222 FORWARD SMS +43660333555
If no phone number is given, incoming SMS will silently be forwarded to the phone that sent the command. If a phone number is given, incoming SMS will be forwarded to the given phone number. This command overrides all previously issued SMS-forwarding-settings.
The forwarding can be cancelled by issuing the FORWARD SMS STOP command or by launching avast! Anti-Theft.
CC SMS [phone number]
Sample: 2222 CC SMS
Sample: 2222 CC SMS +43660333555
Same as FORWARD SMS, but will not delete the SMS after forwarding which means that the forwarded SMS will still be delivered to the target phone (CC means carbon copy). This command overrides all previously issued SMS-forwarding-settings.
The forwarding can be cancelled by issuing the CC SMS STOP command or by launching avast! Anti-Theft.
CC CALLS [phone number]
Sample: 2222 CC CALLS
Sample: 2222 CC CALLS +43660222333
By issuing this command you can request SMS notifications about incoming calls. The notifications will be sent to the phone that issued the command if no other phone number is given. This command overrides all previously issued call-forwarding-settings.
We did not implement direct forwarding of the calls as this works differently in the networks around the world. Also it is not possible to hide the forwarding settings from the thieves eyes reliably.
The forwarding can be cancelled by issuing the CC CALLS STOP command or by launching avast! Anti-Theft.
CC ALL [phone number]
Sample: 2222 CC ALL
Sample: 2222 CC ALL +43660222333
Combines the CC SMS and the CC CALLS command. This command overrides all previously issued SMS- and call-forwarding- settings.
The forwarding can be cancelled by issuing the CC ALL STOP command or by launching avast! Anti-Theft.
Sample: 2222 WIPE
Wipe all data from the phone
GET <query limit> SMS
Sample: 2222 GET 10 SMS
Query SMS messages
GET <query limit> INBOX SMS
Sample: 2222 GET 10 INBOX SMS
Query received SMS messages
GET <query limit> SENT SMS
Sample: 2222 GET 10 SENT SMS
Query sent SMS messages
GET <see above> SMS FOR <phone number>
Sample: 2222 GET 10 SMS FOR +43660333555
Query SMS messages matching the phone number given
Sample: 2222 GET CONTACTS
Query the contacts from the address book
GET LOG <query limit>
Sample: 2222 GET LOG 10
Query the call and SMS log
Sample: 2222 LAUNCH
Launches avast! Anti-Theft user interface
Sample: 2222 CLOSE
Closes avast! Anti-Theft user interface
(only for rooted devices)
Sample: 2222 REBOOT
Reboots the device
SET OWNER <name of owner>
Sample: 2222 SET OWNER Charles Chaplin
Will change the device owner name
SET PASSWORD <access code>
Sample: 2222 SET PASSWORD 3333
Will change the avast! password. You will need to provide a password of 4-6 digits
SET FRIEND 1 <phone number>
Sample: 2222 SET FRIEND 1 +43660122220192
Will change the phone number of the first friend. Provide a valid mobile phone number
SET FRIEND 2 <phone number>
Sample: 2222 SET FRIEND 2 +43660122220192
Will change the phone number of the second friend. Provide a valid mobile phone number
SET ONLYFRIENDS <friends mode>
Sample: 2222 SET ONLYFRIENDS 1
Will change the SMS command authorization mode (0 = allow all numbers, 1 = allow only friend commands)
SET LOCKMODE <lock mode>
Sample: 2222 SET LOCKMODE 1
Will change the phone lock protection behavior (0 = do not lock, 1 = auto lock)
SET SIRENMODE <siren mode>
Sample: 2222 SET SIRENMODE 1
Will change the siren protection behavior (0 = no siren on lock, 1 = siren on lock)
SET APPLOCKMODE <app lock mode>
Sample: 2222 SET APPLOCKMODE 1
Will change the program manager or phone setting protection behavior (0 = no setting active, 1 = deny program manager, 2 = deny phone settings)
SET USBLOCKMODE <USB lock mode>
(only for rooted devices)
Sample: 2222 SET USBLOCKMODE 1
Will change the USB debugging access protection behavior (0 = do not lock USB debugging access, 1 = lock USB debugging access)
SET FORCEDATAMODE <force data mode>
(only for rooted devices)
Sample: 2222 SET FORCEDATAMODE 1
Will change the force data connection protection behavior (0 = do not force data connection, 1 = force data connection)
SET BATTERYSMSMODE <battery mode>
Sample: 2222 SET BATTERYSMSMODE 1
Will change the low battery notification protection behavior (0 = do not notify on low battery, 1 = notify on low battery)
SET LOCKTEXT <lock text>
Sample: 2222 SET LOCKTEXT Please call me back at +4313283483
Will change the custom lock text
SET AUTOGPS <gps mode>
Sample: 2222 SET AUTOGPS 1
Will enable or disable automatic enablement of GPS (0 = turn off, 1 = turn on)
SET WIPEMODE <wipe mode>
Sample: 2222 SET WIPEMODE 1
Will enable or disable thorough wipe (0 = turn off, 1 = turn on)
SET PROTECTION <protection mode>
Sample: 2222 SET PROTECTION 1
Will enable or disable Anti-Theft protection (0 = turn off, 1 = turn on)
Caution: By using this command you will completely disable the Avast! Anti-Theft system thus rendering the Anti-Theft protection useless.
Implement own remote commands
Avast! Anti-Theft is able to launch any programs on the phone and pass data to the launched program.
SMS command: <Activity or service name, fully qualified> <arguments>
2222 at.domain.package.Activity Test will start the activity OR service at.domain.package.Activity and pass Test as an parameter to it.
2222 at.domain.package.Activity This is my command line will start the activity OR service at.domain.package.Activity and pass This is my command line as an parameter to it.
The activity or service needs to be positioned on the root of the package (sub-packages are NOT supported).
Data transfer is done via Intent:
Intent i = new Intent();
This means you can then read (in your service or activity) the sender number in the String extra number and the command from the String extra cmd.
Anti-Theft always tries to start an Activity first, if none is found it tries to start a Service, if this fails it will reply with an error SMS.