'Admin Policy' is a little-known feature of Microsoft PocketPC that was built mainly for security-aware corporate customers. It allows one to lock a PocketPC device in a mode that no longer display a 'run' dialog, disallows the addition of external programs via ActiveSync or through Internet Explorer, disallows renaming of files to .exe and disallows remote changes to the registry through 'RapiRegMod'.
To be able to play with 'Admin Policy', on most PPCs one has to rename the registry value 'Redirect' in the registry at '\HKLM\Controlpanel\AdminPassword' to something else. Then go to 'Settings' / 'System' and look for the 'Policy' applet.
To enter the 'Secure Mode' the user has to enter a password, and the same password needs to be entered if the user is to leave again. The unicode representation of this password (0x0000 appended) is hashed using MD5 and placed in the binary value 'AdminInfo' in '\HKLM\Security\Policies\Shell' (on WM2003) or '\HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Shell' (on PPC2002).
However, they forgot to move the DWORD value 'NoExternalExes' (set to one when the Admin Policy is on) from the old to the new spot in the registry, and so the whole system just doesn't work on WM2003: you can still move binaries to the device and run them.
It still claims it works: it says:
Once enabled, users will not be able to download new programs via Pocket Internet Explorer, ActiveSync, or beaming to their mobile device. Users will not be able to rename programs to enable them to start on the device.
Click to expand...
Click to collapse
But that's Not True (tm) until you manually add the 'NoExternalExes' value.
This has been a public service announcement from XDA-developers.com.
Source Code now Open- Project hosted at http://smsrules.codeplex.com/
The most comprehensive SMS management tool which gives you an option to do what you always wanted to do.
Some of the things which it enables you to do!!
1. Filter all the incoming messages and Move/Copy them to a folder
2. Create/Delete user folders.
3. Hide private messages.
4. Automatically delete messages.
5. Archive messages and store in a date-wise folders.
6. Apply rules either automatically or manually.
7. Apply some rules automatically and some manually.
8. Contact and Message content based filtering.
9. Low on memory and battery. No background process to monitor SMS.
10. View and delete created rules. Silly to mention it.
11. Simple Deployment and easy interface. works from storage Card.
This was developed with the help of open source project MAPIDotNet .
Needs .NET CF 3.5
Using and Configuring SMSRules
1. All rules are configured through CreateRules GUI in program shortcut.
2. Initial Password also needs to be configured through Createrules GUI (about tab->personal->show)
3. AutoRun, Manual filtering of user folders, Archiving all done through CreateRules GUI.
4. After setting up rules you can use Runrules to filter SMSes.
5. After setting up initial password you can use PrivateSMS app to show hide PRIVATE folder.
The PRIVATE folder will be shown/Created automatically in WM SMS app(tmail)(will automatically open on providing correct password), you need to go and look into the folders to see your SMSes.
GUIDE
FAQs:
1>How to autorun the rules?
To autorun a rule/rules autorun option should be checked in the main menu. auto run run only those rules which have auto option selected.
2>Can I create/delete folders using this?
yes, but you can only create and delete the user folders in SMS account
3>Will copy option copy every time it is run?
No, copy option will copy the message into destination folder and mark the copied message as read at both places. so only unread message will be copied.
4>What folder to select with delete option?
you can select any folder as the message is finally going to be deleted so it wont matter(better option is to chose "deleted items" as it is easy to view in rules view)
5>What is HIDE option!(EDIT)
this option can only be used for now in contacts page.
V3.1>If a message comes from the user it will be deleted from the inbox and saved inside the application. also autorun should be enabled for this feature to work.
V4.1>From v4.1 messages are moved to a hidden folder in the Outlook, so basically the messages are still in outlook but u can't see those.
6> Where to look for HIDDEN messages(EDIT)?
to view hidden messages go to about page and there personal menu->show and select the dropdown to select the user for which u want to see the messages.
From v4.1>To see the hidden messages u have to provide correct password and then click on the show private folder button. Doing this will create a new folder(PRIVATE) and will have all the private messages of yours
From v4.3 An extra shortcut has been supplied which will directly allow you to hide/show private smses. But you need to initially set password from the createrules application.
7>Can i delete the hidden messages?
Yes you can. In 3.1 just select and delete the message and from 4.1 delete it like you delete any other message from your outlook.
8>Do i need to create a folder to store a hidden message?
No, there is no need to select any folder name as application will take care of it. and in view rules option you can find your hidden messages rule in folder named as "#".
9>What is this "#" in contact rules folder dropdown?
refer FAQ 8.
10>How frequently will this app be updated?
As frequently as ideas pour in.
11>What is the initial password?
There is no initial password. After installing v3.1/v4.1 opening personal messages will ask you for a password, that will be used automatically in next logins.
Before using the new PrivateSMS shortcut in 4.3 you need to set up a password for use through CreateRules gui.
12>Can I change password?
Yes, when you have created a password and want to change it you can do that by checking the change password checkbox and providing the old and then the new password.
13>I forgot my password, can i recover it?
no, Contact me here for the solution.
NOTE: You have to create a new password from CreateRules link before you try to use the PrivateSMS shortcut.
14>How to install/Uninstall it?
please uncheck autorun before installing/uninstalling.
15> How to hide the PRIVATE folder?
Just close the application or again provide the password and there you can see the same button will have a text prompt to hide the folder.
For PrivateSMS shortcut it will give you an option to hide also, even if you close the application it will automatically hide the folder.
16> How can i Delete all Private messages?
to delete all the hidden messages go to your private area by providing password and there u can click on the delete private messages button, which deletes all the private messages.
17>When i go to my SMS folder i cant see any PRIVATE folder!
PRIVATE folder will be enabled only when u have started the application and clicked the show button after proving the password.
18>Do i need to create a PRIVATE folder first on my own?
No, there is no need to do so as the application will take care of it.
19>So what folder name should i give to HIDE rule?
refer FAQ8
20>Do i need to delete my earlier rules?
No there is no need to so but all the messages which were stored earlier with hide option wont be accessible. if you used 3.1
21>I want to save my earlier rules! what to do?
Just install the application at the same location or copy the rules.db, ur password and all the rules will remain same.
CHANGES IN 4.1
1. Modified the hide logic, now saves the messages in outlook.(Thanks to krups for sharing the idea)
2. Fixed some bugs.
3. Autorun application now won't remain running after a message arrives(saving battery and memory).
Changes in 4.2
1. Autorun option stops wm default notification and provides custom notifications for the rules applied. Unchecking Autorun starts wm notification.(Seems it may toggle threaded mode in some devices. U may try this solution)
2. Contact names are now in order.
3. First Name last name rules now working.
4. One more option added to add wildcard numbers. to match common format numbers.
5. Some minor fixes.
6. Select option to view PRIVATE folder in SMS inbox opens the tmail application automatically.
Changes in 4.3
If 4.2 is installed please first un-check autorun.
1. Horizontal ScrollBar added to add contact list.
2. New Tab added (Tools), gives option to Archive selected folders.
Archiving will move all the messages from the selected folders to the ArchivedSMS folder and create a subdirectory tree with same name as of the source folder and under that will create folders datewise.Eg
ArchivedSMS->Inbox->Inbox_160110
Tools tab also provides another option to run the rules over any subfolders.
Select the folder from the dropdown list and then apply rules.
3. New shortcut added in program menu with name "Private SMS" which enables you to access your private folder directly.
NOTE: You have to create a new password from CreateRules link before you try to use the shortcut.
4. The time for which wait cursor was getting displayed when a SMS is intersepted, has been reduced.
5. While changing the password from the main application it asks for the new password two times to confirm.
6. Enabling/Disabling Autorun changes the way the New Text Message is notified. Now this will change the sound and notification settings.
Changes in 4.3a
Modifies the cab to create a folder and keep all the exes shortcuts there.
Added a slider control in PrivateSMS application to fetch number of private smses it should display. Keeping it low will display the last one and maximum will show all.
This was done incase you have alot of Private SMS it used to take time to show them, this option reduces the time by limiting the number of smses you want to see
Changes in 4.4
1. Made custom notification optional, you can now select, to have or not to have a notification displayed when a sms is filtered. You can choose it from Createrules GUI menu.
2. If you have opted to be notified it will display only one notification for all the sms you receive and will have two buttons in notification window, one to close the notification and other to refresh, refresh updates the no of rules completed, incase there were more messages filtered after the first time notification was displayed.
Changes in 4.5
1. Menu modified.
2. Option added for scheduled run(Only at first tab)
3. Control over notification, choose over windows default notification, custom notification and hidden rules notification.
4. One bug fix
Changes in 4.5b
1. Fixed SMS filtering in case filtering was done in Sent items
Changes in 4.6b
1. Size reduced
2. Faster filtering
3. Should Work on threaded mode Finally
GUIDE
Known Bugs: (Thanks to Jibreil)
1. Autorun option wont work in HD2. Is this a fix?
Your Comments are welcome
Plz report bugs....
PLZ TAKE A BACKUP OF YOUR MESSAGES, I DONT WANT TO BE HELD RESPONSIBLE FOR LOST MESSAGES Just a precaution "Never happened"
!!!WARNING!!!
Suggested by: LCyberFox
This app uses the MessageInterceptor APIs (to save battery power) from PocketOutlook which is very buggy. may cause tmail (pocket outlook) to lag or completely freeze if you receive messages quickly back to back.
A post on that:
http://social.msdn.microsoft.com/For...-a455840c75d4/
ps: This *ONLY* applies if you are using this app using the "Auto" mode, if you aren't, then you're safe
Incase you are about to uninstall it PLZ *UNCHECK AUTORUN* or may still lead to some lags.
DONATE IF YOU WANTED/LIKED THIS
not bad....ill give it a go
VGA ready?
benko286 said:
VGA ready?
Click to expand...
Click to collapse
This one seems to be a VGA ready... infact should support all screen resolutions...
ranasrule said:
not bad....ill give it a go
Click to expand...
Click to collapse
sure thanks, n let me know of any problems
Please provide feedback
I know it is still a under development app and lot of improvement will be comming but still your ideas/comments will be appreciated.
Nice job
Well done, awesome to see MAPIdotnet being used around the place!
Robert
Look's nice i will trie...yes..yes...
Thank's
thanks for this mate
rwt33 said:
Well done, awesome to see MAPIdotnet being used around the place!
Robert
Click to expand...
Click to collapse
thanks to you robert, i was searching for these wrappers for months...finally found it.
seems u joined xda to provide comments... nice place for you. it will b good if you publish ur work here also
I have installed now your program but I have more contact with equal firstname and more contact with equal lastname, you can add to next version on default option union of firstname and lastname?
Thanks for your work.
will try it on my HTC Touch HD
normally I sort them manually (big effort), now it seems, I found a solution.
You get my feedback ;-)
How exactly should a rule be written?
My goal is to write a rule so that:
messages starting with,
and/or ending with,
a certain word or several words,
(without a difference in capital letters or not),
get moved to a certain folder that I've created in my SMS/MMS inbox.
My failed attempt so far was to try it the following way:
I created a folder called "Filter".
I then created a new Message Rule.
For the rule I entered "BANANA" in the "Filter Message" box.
I selected the folder in the list called "FILTER".
I pressed "Add".
Now it's in the existing message rules when I select the FILTER folder.
That obviously didn't work but it was a fun try
Sidenote 1: I'm using an HTC Touch Pro 2 (European Version) with threaded messages disabled so I could create a new folder in my SMS/MMS inbox.
Sidenote 2: The program's working perfectly on a WVGA screen. Even when I slide out my keyboard and the screen turns it still works fine, apart from the fact that half of the screen hides as no scroll bars appear. This is easily resolved by sliding the keyboard back in.
Sidenote 3: It would be great if the "Unkown Contact" could be added. (The one that lacks a first and last name in the address book.)
I haven't seen the program work yet but I'm loving it already.
ysva said:
How exactly should a rule be written?
My goal is to write a rule so that:
messages starting with,
and/or ending with,
a certain word or several words,
(without a difference in capital letters or not),
get moved to a certain folder that I've created in my SMS/MMS inbox.
My failed attempt so far was to try it the following way:
I created a folder called "Filter".
I then created a new Message Rule.
For the rule I entered "BANANA" in the "Filter Message" box.
I selected the folder in the list called "FILTER".
I pressed "Add".
Now it's in the existing message rules when I select the FILTER folder.
That obviously didn't work but it was a fun try
Sidenote 1: I'm using an HTC Touch Pro 2 (European Version) with threaded messages disabled so I could create a new folder in my SMS/MMS inbox.
Sidenote 2: The program's working perfectly on a WVGA screen. Even when I slide out my keyboard and the screen turns it still works fine, apart from the fact that half of the screen hides as no scroll bars appear. This is easily resolved by sliding the keyboard back in.
Sidenote 3: It would be great if the "Unkown Contact" could be added. (The one that lacks a first and last name in the address book.)
I haven't seen the program work yet but I'm loving it already.
Click to expand...
Click to collapse
Thanks for testing it ysva
well after creating the filter rule did you run it Menu-> run rules ?
well the current filter works like it will search for whole message content for the given filter and that will be case insensitive.
and also it wont work for MMS
You're welcome mohitsapru.
I created 1 rule.
I opened the "MessageRule" tab.
The filter message was "BANANA", (which I entered in capital letters for tests with case sensitivity).
I selected the folder called FILTER and then I pressed "Add".
EDIT: I did get the "Message rule added" message.
The rule had been added to the "message rules" in the "Existing" tab.
I then continued to send myself a couple of text messages from a different phone number with messages such as "BANANA", "banana", "test BANANA", "banana test".
I then went back to press the "Run Rules" button. The windows loading icon appeared for a couple of seconds.
Then I went to check the "Inbox" folder and the text messages are still there. The "Filter" folder is still empty. I will now do some tests to see what happens if I choose a different folder.
Another result of testing: I just deleted the BANANA rule and the application crashed with an unknown error.
The error is as follows:
CreateRules.exe
NullReferenceException
at
CreateRules.Rules.menuItem2_Click(Object sender, EventArgs e)
at
System.Windows.Forms.MenuItem.Onclick(EventArgs e)
at
System.Windows.Forms.Menu.ProcessMnuProc(Control ctlThis, WM wm, Int32 wParam, Int32 lParam)
at
System.Windows.Forms.Form.WnProc(WM wm, Int32 wParam, Int32 lParam)
at
System.Windows.Forms.Control._Internal WnProc(WM wm, Int32 wParam, Int32 lParam)
at
Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)
at
System.Windows.Forms.Application.Run(Form fm)
at
Createrules.Program.Main()
Click to expand...
Click to collapse
I will continue my tests.
ysva said:
You're welcome mohitsapru.
I created 1 rule.
I opened the "MessageRule" tab.
The filter message was "BANANA", (which I entered in capital letters for tests with case sensitivity).
I selected the folder called FILTER and then I pressed "Add".
EDIT: I did get the "Message rule added" message.
The rule had been added to the "message rules" in the "Existing" tab.
I then continued to send myself a couple of text messages from a different phone number with messages such as "BANANA", "banana", "test BANANA", "banana test".
I then went back to press the "Run Rules" button. The windows loading icon appeared for a couple of seconds.
Then I went to check the "Inbox" folder and the text messages are still there. The "Filter" folder is still empty. I will now do some tests to see what happens if I choose a different folder.
Click to expand...
Click to collapse
Cant figure out y s is this happning... well we will wait till others confirm...
and thanks for testing heavily
You're still welcome.
After the error I ran the program again and it worked normally. The rule that I had deleted (that caused the error) was gone so that was fine too. I did not get another error. Perhaps it only happens when one deletes the rule, adds it again in the exact same way but with a different folder, and tried to delete it again. That's what happened the last time.
I tried selecting different folders and creating different text messages with BANANA in different folders, but that didn't work. The situation did not when if my inbox was open at the same time as your program or not. I am thinking that HTC's Touchflo might be interfering or that I need to soft reset my phone, I'm going to try that now.
Suggestion: Perhaps it would be easier if a folder could be selected that would be scanned for a certain criterium and then a folder could be selected where to move it to.
EDIT: Suggestion 2: For in the future when you're bored and have absolutely nothing to do and want to add new features: Option to auto mark as read for everything that gets moved.
Note: I noticed that you're using WM 6.5, I'm still using 6.1 because HTC has not yet provided an official upgrade for the european version of the HTC Touch Pro II. I do have the latest .NET framework etc. etc. installed. Might there be a compatibility issue?
ysva said:
You're still welcome.
After the error I ran the program again and it worked normally. The rule that I had deleted (that caused the error) was gone so that was fine too. I did not get another error. Perhaps it only happens when one deletes the rule, adds it again in the exact same way but with a different folder, and tried to delete it again. That's what happened the last time.
I tried selecting different folders and creating different text messages with BANANA in different folders, but that didn't work. The situation did not when if my inbox was open at the same time as your program or not. I am thinking that HTC's Touchflo might be interfering or that I need to soft reset my phone, I'm going to try that now.
Suggestion: Perhaps it would be easier if a folder could be selected that would be scanned for a certain criterium and then a folder could be selected where to move it to.
EDIT: Suggestion 2: For in the future when you're bored and have absolutely nothing to do and want to add new features: Option to auto mark as read for everything that gets moved.
Note: I noticed that you're using WM 6.5, I'm still using 6.1 because HTC has not yet provided an official upgrade for the european version of the HTC Touch Pro II. I do have the latest .NET framework etc. etc. installed. Might there be a compatibility issue?
Click to expand...
Click to collapse
I found out why it is erroring while deleting a rule... when either no selection has been done or no rule is selected...
Well sorry for confusion i am using wm6.1 cooked rom.... i just keep changing ROMS more than changing Signature
I have manila2d and it keeps showing SMSes. well i tried with my inbox open and ran a rule and it is working... maybe someone can give inputs for their runs... maybe some issues with different OS versions...
mohitsapru said:
I found out why it is erroring while deleting a rule... when either no selection has been done or no rule is selected...
Well sorry for confusion i am using wm6.1 cooked rom.... i just keep changing ROMS more than changing Signature
I have manila2d and it keeps showing SMSes. well i tried with my inbox open and ran a rule and it is working... maybe someone can give inputs for their runs... maybe some issues with different OS versions...
Click to expand...
Click to collapse
another test result: contact rules don't seem work either. shame
that's it for now with the testing. I'll check back later, if you need any testing done feel free to reply to this thread, I have subscribed to it so I'll get an email instantly.
good luck!
I have been trying to enable tethering on my Spring Note II SPH-L900 w/4.4.2. Tried many of the most common fixes floating around, incl. TrevEMod. No success with any of the combinations (TrevEMod always gives the "tethering started with errors. see show log ..." whereby the log is stubbornly empty. The phone is rooted.
The native Hotspot when turned on ultimately comes back with "You are not subscribed to the Hotspot service."
I have been playing with SQLite Editor to set tethering_dun_required flag to 0. This always fails because of a strange thing: this db entry gets always overwritten after I attempt to engage the native Hotspot. I have created a copy of the settings.db, edited, and copied back, but still the same phenomenon: the flag ends up being reset to 1.
Does anyone have any suggestions which process could be causing this override?
Many thanks (very frustrated over here...)
Greetings dellow xda dev's, I am currently running a Tmobile galaxy note 3, with the newest stock odexed FOL1 firmware, rooted, running twrp 2.8.5.0, I hav been installing apps and setting things up all day as a recent problem has forced me to factory reset my phone. Due to the way I use tasker to lock my phone (using secure settings to set a password) and restoring the old tasker profiles, my password appears to have been corrupted in some form or another as I have entered it a bunch of times and it won't unlock, claiming that the password is wrong. I have spent most of the evening looking at exploits and bypasses but none seem to work with my phone, there is no password.key file in the data/system folder, and deleting the gesture.key doesn't help. Using android device manager I can send a message to my phone and 'lock' it, but there is no unlock option anywhere on the screen; until I hit the home button and it simply sends me back to the normal lockscreen, and whatever new password I punched in with the manager doesn't work. I have tried several flashable zip files (lockscreen security bypass and pattern password disable), I have also tried everything mentioned in :http://forum.xda-developers.com/showthread.php?t=2620456 that article, as well as poking around in adb and in twrp's file manager, as well as some old lockscreen vulnerabilities (sadly copy and paste do not appear on the emergency dialer or the password field).
I am rather desperate to get my phone unlocked without a factory reset, as I just barely recovered from one recently, and need my phone for work tomorrow morning. I do have some tasker and autoremote profiles running that will tell my phone to setoff an alarm through tasker, and that will alert my phone to when my tablets battery life is low, but I don't know if either of those will help. I do not have any trusted bluetooth devices that can unlock the phone, nor do I ever seem to find a password reset/forgot your password option after typing in my password.
Any help or guidance would be greatly appreciated and tried come morning before work.