Help with smartskey and the Cingular 8125 - 8125, K-JAM, P4300, MDA Vario Software Upgrading

I just "installed" smartskey onto my Cingular 8125 and I get the soft keys to work (holding the left softkey activates the start menu) but I can't get any other functions to work, mainly the volume/jog and the dpad launcher.
Can someone tell me what's missing? Thanks!
This is my config (pretty much the default):
; INI FILE MUST BE SAVED IN UNICODE, PLEASE USE NOTEPAD TO EDIT IT
[MAIN]
; set LSKEY to 1 if you want to override Left Soft Key (DEFAULT 1)
LSKEY=1
; set RSKEY to 1 if you want to override Right Soft Key (DEFAULT 1)
RSKEY=1
; set VOLKEY to 1 if you want to override Volume Key (DEFAULT 1)
VOLKEY=1
; set DPAD to 1 if you want to use dpad to launch call log, contacts in phone app (DEFAULT 1)
DPAD=1
; set CLOSEAPP to 1 if you want to close app instead of hide (DEFAULT 0)
CLOSEAPP=1
; set STARTONREBOOT=1 to 1 if you the program to be start automatically during
; reboot, use with RSKEY (DEFAULT 0)
STARTONREBOOT=1
; set VOLUMEONPHONE=1 if you want to set volume using volume key in phone app
; use with VOLKEY (DEFAULT 1)
VOLUMEONPHONE=1
; set VOLUMEONTODAY=1 if you want to set volume using volume key in today
; use with VOLKEY (DEFAULT 1)
VOLUMEONTODAY=1
; use with lskey, rskey (DEFAULT 1)
PAGEONEXPLORE=0
; set OMAPCLOCK to the clock if you want to use omapclock and automatically
; set the clock speed after wakeup, you should put OmapClock.exe in the same
; directory of smartskey.exe
; REMEMBER TO REMOVE ';' BEFORE THE LINE TO ENABLE IT
;OMAPCLOCK=264
;REMOVEDUPSDDAEMON=0
;STARTMENUMETHOD=0
DUP=2
DDOWN=3
DRIGHT=1
DLEFT=4
; if you set CLOSEAPP to 1, the program will hide the following
; apps (by title) instead of closing. Other apps will be closed.
; maximum can set 16 apps
[EXCEPTIONLIST]
APP00=Text Messages
APP01=Outlook E-mail
APP02=Hotmail
APP04=MMS
APP05=Contacts
APP06=Calendar
APP07=Camera

Jason_Wilkerson said:
I just "installed" smartskey onto my Cingular 8125 and I get the soft keys to work (holding the left softkey activates the start menu) but I can't get any other functions to work, mainly the volume/jog and the dpad launcher.
Can someone tell me what's missing? Thanks!
This is my config (pretty much the default):
; INI FILE MUST BE SAVED IN UNICODE, PLEASE USE NOTEPAD TO EDIT IT
[MAIN]
; set LSKEY to 1 if you want to override Left Soft Key (DEFAULT 1)
LSKEY=1
; set RSKEY to 1 if you want to override Right Soft Key (DEFAULT 1)
RSKEY=1
; set VOLKEY to 1 if you want to override Volume Key (DEFAULT 1)
VOLKEY=1
; set DPAD to 1 if you want to use dpad to launch call log, contacts in phone app (DEFAULT 1)
DPAD=1
; set CLOSEAPP to 1 if you want to close app instead of hide (DEFAULT 0)
CLOSEAPP=1
; set STARTONREBOOT=1 to 1 if you the program to be start automatically during
; reboot, use with RSKEY (DEFAULT 0)
STARTONREBOOT=1
; set VOLUMEONPHONE=1 if you want to set volume using volume key in phone app
; use with VOLKEY (DEFAULT 1)
VOLUMEONPHONE=1
; set VOLUMEONTODAY=1 if you want to set volume using volume key in today
; use with VOLKEY (DEFAULT 1)
VOLUMEONTODAY=1
; use with lskey, rskey (DEFAULT 1)
PAGEONEXPLORE=0
; set OMAPCLOCK to the clock if you want to use omapclock and automatically
; set the clock speed after wakeup, you should put OmapClock.exe in the same
; directory of smartskey.exe
; REMEMBER TO REMOVE ';' BEFORE THE LINE TO ENABLE IT
;OMAPCLOCK=264
;REMOVEDUPSDDAEMON=0
;STARTMENUMETHOD=0
DUP=2
DDOWN=3
DRIGHT=1
DLEFT=4
; if you set CLOSEAPP to 1, the program will hide the following
; apps (by title) instead of closing. Other apps will be closed.
; maximum can set 16 apps
[EXCEPTIONLIST]
APP00=Text Messages
APP01=Outlook E-mail
APP02=Hotmail
APP04=MMS
APP05=Contacts
APP06=Calendar
APP07=Camera
Click to expand...
Click to collapse
To use the Volume slider as a "Jog Wheel" yo need "PAGEONEXPLORE=1" not "PAGEONEXPLORE=0" as you currently have set. Make this change and soft reset, or tap the shortcut to "Launch" smartskeys. this will present a dialog window to close it, do so, then relaunch using the shortcut.

Thanks! That corrected the "jog wheel" but any suggestions on the DPad problem?
Jason

I'm not sure I understand the question. What are you trying to do with the DPad?

The documentation says that you can use the dpad to launch 4 different applications, depending on the direction:
DUP=x
DDOWN=x
DLEFT=x
DRIGHT=x
x =
0: Do nothing
1: Call Log
2: Quick Dial
3: Contacts
4: Messaging
Nevermind - I just figured it out... I thought this would work from the Today screen, but you have to be in the Phone Application.
Thanks for the help though!
Jason

Dpad problem
Jason_Wilkerson said:
Nevermind - I just figured it out... I thought this would work from the Today screen, but you have to be in the Phone Application.
Click to expand...
Click to collapse
Well, but dpad is not working for me (details)
Nobody has an idea?

Related

IMPORTANT [upadated] Wing/Herald Information and tweaks/cabs Thread

Current Update:Feb 1st 2008 12:58AM
Wing for NOOBS like me.
All information in this thread was copied from other peopled, all I have done is put it in one place.. I will update this from time to time
DISCLAIMER:
I am in no way responsible the content listed below, most of this should work as the people of the community do help each other. Please be careful. And report any errors to me.
Adding Information, If you wish to add information to this post, please private message me it, I will add the info, please provide me a link to the data if you have it, and the original writer of said info, I will give the credit to the writing and the provider of said info.
please send it with the general area for it to go
ie: part 2:tweaks or part 4: random stuff.
so i can add it to the proper area fast, and if it doesnt fit into anything - i will add it to random stuff or new area. but we have the random stuff
Part 1: useful thread Post.
[*]Part 2: Random tweaks.
[*]Part 3: Rom’s Touch it/Open Touch Wing.
[*]Part 4: Random Info: random stuff that is unsorted
[*]Part 5: T-Mo Wing RUU for USA [the original tmobile install]
Updated on December 17 2007
Part 1: Useful Threads
Cab install for the Wing
The Following is from zcink @ XDA
Original thread @ http://forum.xda-developers.com/showthread.php?t=341867
Great Wing Info Thread
The following is from Nyer78 @ XDA
Original Thread @ http://forum.xda-developers.com/showthread.php?t=326655
General HTC Cabs
The Following is from patr!k @ XDA
Original thread @ http://forum.xda-developers.com/showthread.php?t=344533
All WM6 Roms
The following is from papamopps @ XDA
http://forum.xda-developers.com/showthread.php?t=358030
Part 2 tweaks.
The Following is from – Tater_Tot24 @ Howard forums
Original thread @ http://www.howardforums.com/showthread.php?t=1215155
Please Note that some of these entries only apply to the WING.
Add Side Button Functionality:
1. Using a registry editor go to HKLM\Software\Microsoft\Shell\Keys
2. In Keys, create a new Key named "40C7".
3. Copy the contents of 40C5 to to 40C7.
4. Edit the "Name" value replacing the "4" with a "5" (5 is Voice command button).
5. Close the registry editor.
6. In Settings\Buttons you should see the new "Button 5(Hold)" entry. If not, soft reset.
Note: I had to make voice command the hold function and screentoggle the non hold function for it to work correctly.
Camera Settings:
1. Open the camera, so you can see images thru the camera lens.
2. Go to bottom of screen & click on the "Y" at far left side.
3. Now move to the 4th icon at the bottom, and set the resolution on "L" and the quality on Super Fine (not Basic).
4. Move to the next icon on the right, and set the Capture Mode on either "Burst" or "Sports"
5. Next, click the icon at far left and set your Capture Speed to either Moderate or Fast, and "Snapshots" to at least 3.
6. Click on the next icon on the right and set it on Storage Card.
7. Finally, click the "Sun" and set the White Balance on Auto.
8. Click OK in the upper right, and you're almost set. Just go now to far left of camera screen and click either of the tiny > arrows until you come to 1/3 (or 1/5 or 1/7 or 1/10, depending on how you set "Snapshots.")
9. Now you're set to take some really great pictures. They will be sharp & clear all the way from about 12 inches to infinity.
10. For sharper pictures, leave the setting at 1x. Anything else is a "Zoom" shot.
Enhanced File System Performance:
Registry: HKLM\System\StorageManager\FATFS
Key: CacheSize (dWord)
Default: 0 (I am not sure what this equates to, the valid values I know about are 4096, 8192, 16384)
New Value: 8192
Hide SIM Contacts:
Registry: HKCU\ControlPanel\Phone
Key: ShowSim (dWord)
Default: 1 (show)
New Value: 0 (hide)
Active Sync Running in the Background Fix:
1. Create a “Fake Server”
Configure Server Menu  Activesync  Programs 2.Go to Start
3. In the following screens you can enter any old garbage. It does not matter, but just in case your unsure, just type the following in the indicated boxes:
4. Server Address: fake / User name: fake / Password: fake / Domain: fake. Then you are finished creating the fake server
5. Finally, UNCHECK the box in the time zones tab in the phone settings (This may sound silly, but it works! I promise!!)
MyFavs Missed Call Fix:
Registry: \HKLM\Security\Phone\NoLog
Key: List
Action: REMOVE
Hard Reset Instructions:
1. Hold down both of the “soft buttons”
2. Perform a soft reset with the stylus while still holding down the buttons
3. Push the green phone button to confirm that you do want to do a hard reset
DeBrand the Phone:
1. Perform a Hard Reset (instructions listed below)
2. Phone cycles through format, installs WM6, then prompts you to config touch screen
3. Install finishes and loads WM6
4. Then a prompt appears warning that EXT ROM will install extra contents (don't install! poke the soft reset button before EXT ROM install)
5. Hit soft reset button when EXT ROM prompt appears, you have 3 seconds!
6. Power on like normal
Send Large MMS:
Registry: HKLM\Software\Arcsoft\ArcSoft MMS UA\Config\UI\Size Limit
Key: wap2sendlimit1 (you can also change wap1sendlimit1)
Default: 307200
New Value: 1228800 (1200K)
Set the new value by going to Text/Multimedia --> Menu --> New --> MMS --> Menu --> Options --> MMS Options --> Servers --> T-mobile MMS
MMS Sending Issue Fix:
1. Due to incorrect Port setting for the MMS server, the phone may not be able to send MMS messages all the time.
2. Go to Text/Multimedia --> Menue --> New --> MMS --> Menu --> Options --> MMS Options --> Servers --> T-mobile MMS
3. Make sure the settings are set to: Gateway: 216.155.165.50 / Port Number: 8080 / Server: http://216.155.174.84/servlets/mms
Remap Soft Buttons:
For Calendar
Registry: HKCU\Software\Microsoft\Today\Keys\112
Key: Default
Default: Calendar
New Value: Internet (anything you want goes here)
Registry: HKCU\Software\Microsoft\Today\Keys\112
Key: Open
Default: HTCCalendar.exe
New Value: \Windows\iexplore.exe (again, anything you want goes here)
For Contacts
Registry: HKCU\Software\Microsoft\Today\Keys\113
Key: Default
Default: Contacts
New Value: (anything you want goes here)
Registry: HKCU\Software\Microsoft\Today\Keys\113
Key: Open
Default: \Windows\RSK\Contacts.lnk
New Value: (again, anything you want goes here)
Remove / Modify Startup Sound:
Registry: HKLM\SOFTWARE\HTC\StartupAnimation
Key: Enable (dWord)
Default: 1 (jingle on)
New Value: 0 (jingle off)
Registry: HKLM\SOFTWARE\HTC\StartupAnimation
Key: Volume (dWord)
Default: 127
New Values: 16 - 200
You can also modify the sound and animation by changing the WAV and GIF files in these two keys.
Registry: HKLM\SOFTWARE\HTC\StartupAnimation
Key: WAVFile (SZ String Value)
Default: \Windows\T-Mobile startup.wav
New Value: (whatever you want)
Registry: HKLM\SOFTWARE\HTC\StartupAnimation
Key: GIFFile (SZ String Value)
Default: \Windows\TMO_Startup.gif
New Value: (whatever you want)
Remove the Tray Icon from Today Screen:
Registry: \HKLM\init\
Key: Launch92
Action: DELETE
Note: If you want to keep some but not all of the icons:
Registry: HKLM\Software\HTC\TrayApplet
There you'll find listings for each icon (the folders are for the WinWap, MyFaves, and CommManager tray icons). Remove the ones you don't want and soft reset. If you remove the music player settings, you will then have to uncheck the plug-in from Today items.
Adding Slide Sounds:
1. First you are going to need two .wav files.
2. Once you have the two sounds that you want to use, Rename them to Slider3_in.wav and Slider3_out.wav and place them in the \Windows Folder on your phone.
3. Go to the Registry: HKLM\Software\HTC\SlidingSound\.
4. Once your there you should see 3 Folders (keys) that are labeled 0-2, and 2 Dword Files (ActiveSlidingSound and SlidingSoundEffect).
5. In that same directory, you need to make a new folder (key) and label it "3". Once that is made, you need to go inside that "3" which should be empty and have nothing inside.
6. Now you need to make a new String.Label the String "in" without quotes, and then set the string to "Slider3_in.wav". Now you should have one string inside folder (key) 3.
7. Now you need to make another String inside of folder (key) 3. Just follow step 5, but instead of using "in" use "out". So it should be labeled "out" and should be set to "Slider3_out.wav".
8. Next, create another String inside of folder and call it “Default” (no quotes). Now set that sting to whatever you want the new schema to be called (i.e. wind chimes, customer, etc).
9. Now head back to the registry: HKLM\Software\HTC\SlidingSound\, where you should now see folders (keys) 0-3 now and two Dwords files.
10. Now change Dword ActiveSlidingSound to 3, which is the new sound you created.
Disable the SMS Sent notification
Regisrty: HKLM\Software\Microsoft\Inbox\Settings\
Key: SMSNoSentMs (decimal)
Default: 0 (on)
New Value: 1 (off)
Note: Please note that the 'Settings' key may not exist in your device, and thus may have to be created first.
Storage Card Settings:
Mail Attachments
1. Go to Text/Multimedia --> Menu --> Tools --> Options --> Storage
2. Then check the box!
IE Storage
Registry: HKCU\Software\Microsoft\Windows\CurrentVersion\Exp lorer\Shell Folders
Key: Cache (string)
Default: Program Memory
My Value: \Storage Card\Internet Files\Temporary Internet Files
Key: Cookies (string)
Default: Program Memory
My Value: \Storage Card\Internet Files\Cookies
part 2a
Key: History (string)
Default: Program Memory
My Value: \Storage Card\Internet Files\History
Note: Please see the “camera settings” to store pictures and video to the storage card.
Video from Portrait to Landscape:
Registry: HKLM\System\GDI\
Add key "Rotation"
Add Dword "LandscapeMode"=0
Move / Remove Startup Files:
1. make directory "\Windows\StartUpDisabled"
2. If you don't use MyFav5 Plan then copy "\Windows\StartUp\My5MsgCenter.lnk" to "\Windows\StartUpDisabled\My5MsgCenter.lnk"
3. If you don't use Voice Commands often (you can still manually start app) then copy "\Windows\StartUp\Voice Command.lnk" to "\Windows\StartUpDisabled\Voice Command.lnk"
Remove Services:
4. Go to "HKEY_LOCAL_MACHINE\Services"
5. If you don't use MyFav5 Plan (SMSCSend links to my5client.dll, I don't have My Fav plan, so I don't need this service)
a) save SMSCSend reg export somewhere for backup
b) delete "HKEY_LOCAL_MACHINE\Services\SMSCSend" from registry
6. Go to "HKEY_LOCAL_MACHINE\Services"
7. If you don't use Windows Live
a) save Windows Live reg export somewhere for backup
. b) delete "HKEY_LOCAL_MACHINE\Services\Windows Live" from registry
Other Services:
Other Services
"HKEY_LOCAL_MACHINE\Services\BTHIDSVC"
loads the Bluetooth Human Interface Device drivers and service
"HKEY_LOCAL_MACHINE\Services\BTAGSVC"
loads the Bluetooth Audio Gateway drivers and service
"HKEY_LOCAL_MACHINE\Services\BthAsPlugin"
loads Active Sync over BlueTooth service
"HKEY_LOCAL_MACHINE\Services\Trusted"
loads WSP Push, Push Router, SIM tool kit, SIM Init
"HKEY_LOCAL_MACHINE\Services\OBEX"
object exchange - protocol for data exchange between devices or syncing
"HKEY_LOCAL_MACHINE\Services\NOTIFY"
pop up notifications for events
"HKEY_LOCAL_MACHINE\Services\credsvc"
Credentials Manager
"HKEY_LOCAL_MACHINE\Services\CERTENROLL"
performs enrollment and renewal of certificates
"HKEY_LOCAL_MACHINE\Services\WirelessService"
Wireless Monitor Service
Increase voiceVolume:
Regisrty: HKCU\Control Panel\SoundCategories\InCall
Key: AttenuationCategory
Default: 2
New Value: 1
Regisrty: HKCU\Control Panel\SoundCategories\InCall
Key: InitVol
Default: 3
New Value: 10
Increase Voice Command Volume:
Registry: HKCU\Control Panel\SoundCategories\VoiceCommand1
Key: AttenuationCategory
Default: 3
New Value: 1
Registry: HKCU\Control Panel\SoundCategories\VoiceCommand1
Key: InitVol
Default: 5
New Value: 20
Better sound over A2DP
Registry: HKLM\Software\Microsoft\Bluetooth \A2DP\Settings
Key: MaxSupportedBitPool
Default: 30
New Value: 58
Registry: HKLM\Software\Microsoft\Bluetooth \A2DP\Settings
Key: BitPool
Default: 30
New Value: 58
Note: If not good enough, then delete: "MaxSupportedBitPool"=XXX &
"BitPool"=XXX.
Unlocks & Unhide the Extended Rom in Explorer:
Registry: HKLM\System\StorageManager\AutoLoad\TRUEFFS_DOC1
Key: bootphase
Default: 1
New Value: 2
Registry: HKLM\System\StorageManager\Profiles\TRUEFFS_DOC1
Key: mounthidden
Default: 1
New Value: 0
Registry: HKLM\System\StorageManager\Profiles\TRUEFFS_DOC1
Key: folder
Default: ?
New Value: Extended_ROM
GMail Settings:
You can access your Gmail messages from the Wing in three ways:
Set up Gmail as a POP3 account
Automatically forward Gmail
Access Gmail from the Internet
Set up Gmail as a POP3 Account
1. Log in to your Gmail account from your PC.
2. Select Settings at the top of any Gmail page.
3. Select the Forwarding and POP tab in the orange Mail Settings box.
4. Under POP Download, choose to Enable POP for all mail or Enable POP only for mail that arrives from now on.
5. Specify whether you want Gmail to keep a copy of messages in the Inbox when you access messages through POP.
6. Select Save Changes.
I. Auto-configure Gmail from your Pocket PC phone
1. Press Start --> Messaging.
2. Select New Email Account.
3. Enter your e-mail address and make sure the box is checked for getting the settings automatically
4. In the Auto configuration screen, wait until the Status changes from Connecting to Completed and then select Next.
5. Enter your name, user name, and password (DO NOT REMOVE the recent: from in front of the username that it automatically provides) and select Next.
6. Ensure Account type is set to POP3 and select Next.
7. Make sure that Incoming Mail is set to pop.gmail.com:995
8. Make sure that Outgoing Mail is set to smtp.gmail.com:465 and select Finish.
9. Select Yes to confirm that you would like to download mail for this new account now.
II. Automatically Forward Gmail to Another Account
1. Log in to your Gmail account from your PC.
2. Select Settings at the top of any Gmail page
3. Select Forwarding and POP in the orange Mail Settings box.
4. Select Forward a copy of incoming mail and enter the e-mail address to which you'd like your e-mail forwarded.
Now your Gmail will automatically be forwarded to this account.
III. Access Gmail from the Internet
If you don't subscribe to an unlimited data plan or need only occasional access to your Gmail account you may prefer to access your Gmail from your Pocket PC phone using Internet Explorer. To access your account through Internet Explorer, go to http://m.gmail.com.
alternate Gmail Settings
IMAP4 style
provided from Google!
http://mail.google.com/support/bin/answer.py?answer=78886&topic=12814
Part 3 Roms
Part 3 Roms...
Touch it and Open Touch are the popular Roms
as well as CleanROM
The roms are basicly rebuilds of the operationg system on the phone, and whats preinstalled. These roms are much faster and have more prog mem then the stock rom.
All WM6 Roms
The following is from papamopps @ XDA
http://forum.xda-developers.com/showthread.php?t=358030
Keyboard Fix For Roms
Thanks to duprade
http://forum.xda-developers.com/showthread.php?t=359696
I will not give advice to which is better. Use em and figure that out on your own
Part 4: Random Stuff
Part 4 : Random Stuff
Wing as a Webcam
Found at XDA
http://forum.xda-developers.com/showthread.php?t=348187&highlight=WING+AS+A+WEBCAM
Modifying and/or Removing Tray Icons
Remove the Tray Icon from Today Screen:
Registry: \HKLM\init\
Key: Launch92
Action: DELETE
Note: If you want to keep some but not all of the icons:
Registry: HKLM\Software\HTC\TrayApplet
There you'll find listings for each icon (the folders are for the WinWap, MyFaves, and CommManager tray icons). Remove the ones you don't want and soft reset. If you remove the music player settings, you will then have to uncheck the plug-in from Today items.
Part 5: T-mo Wing RUU - USA
Part 5 : T-mo Wing RUU - USA
From At XDA xavier6303
Found http://forum.xda-developers.com/showthread.php?t=321717
This will reset your phone, basically reinstall windows and all the phone, heard it works as a decent unbricker,
How to enter boot mode
Restart the phone and hold the voice and camera button
Please don´t post in this thread. All important things are mentioned. If something is missing please PM nyitalian - so he can isnert.
After all is in - the thread will be closed.
Thanks for this great thread!!!
updated with IMAP4 settings for gmail account connection
Feb 1st 2008

[REF][UPDATED 09/08]List of Diamond Tweaks

This is a summary of Diamond tweaks collected from various threads on XDA and from people's contributions. Thanks to all who discovered the Tweaks (not mentioning by name because there's too many to mention and all I did is aggregate). This is a collective effort so let's keep the list growing!
thread. Let's keep the comments in the Warning: Be sure you know what you're doing and read around the Diamond forums to see where others have run into trouble and with which tweaks on which ROMs. Many people have had to Hard Reset their devices while others have had no problems so read up!
1. Boost TFL3D Performance --> Using Advanced Config, change File system cache to 8mb and file system filter cache to 131072
2. Boost TFL3D Performance --> HKLM\System\Storagemanager\Fatfs and change key Cachesize from 16384 to 32768
3. Wake Up on New SMS --> HKLM\Drivers\BuiltIn\RIL : DisableSMSWakeUpEvent <-- set to "1" by default. Change value to "0"
4. Switch Mute Call on phone flipped face down: HKLM\Software\HTC\PHONE : FaceDownMuteRing: change value to "1" (FIXED: thanks KuKuRiKu and everyone)
5. Change CallWaiting Tone --> HKLM\Software\HTC\PHONE : by default set to \windows\waitingtone.wav by default. change to anything else
6. Boost TFL3D Scrolling Speed --> - HKLM\SYSTEM\GDI\GLYPHCACHE\limit = 16384 or 32768 (DWORD decimal)
- To change it back to the default: - HKLM\SYSTEM\GDI\GLYPHCACHE\limit = 8192 (DWORD decimal)
7. To do a Hard Reset, with the phone ON, hold down the Volume Down and Enter (round navigation) keys and press soft reset while they are pressed
8. Prevent screen switching off during phone call --> HKEY_Local_Machine\Drivers\BuiltIn\RIL\EnableFastDormantDisplayDuringCall to 0 (Note: does not work on all ROMs)
AND (tested and works on EU ROMs thanks to Rod65)
HKCU\ControlPanel\Phone\Sleep switch value from 1 to 0
9. Downlod original CONTENT folder (Wallpaper, VIDEO, MUSIC) here http://rapidshare.com/files/121271047/CONTENT_Internal_storage.rar.html
10. Set HTC Album X button to close not minimize:ok_minimize change value to 0
11. Disable Enlarged Title bar (when you click on a notification) to the default WM behavior: HKLM->Software->HTC->EnlargeTitleBar - and change "Enable" from 1 to 0.
12. Turn off startup aninmation and sound: HKEY_Local_Machine\Software\HTC\HTCAnimation\ -> rename both "StartupGif" and "StartupWav" to other names
13. Enable GPS photo: HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Camera\P10 -> change the value "enabled" from 0 to 1
15. Another supposed TFL3D tweak for better performance: HKLM\Software\OEM\TFLOSettings:
SpeedHigh: default value (25) <-- Change to (5) / SpeedLow : default value (70) <-- Chnge to (14) save and soft reset
16. Adjust screen sensitivity: HKEY_LOCAL_MACHINE\Drivers\TouchPanel
Value = PressureThreshold
Change from the default dword:00000027 or 34 to dword:000000f0 or 240 in decimal
17. Lightsensor Switching the Screen off- realised by yelitterulez, confirmed by pietrucci and tested by myself. When making a call the screen stays on if you leave the phone lying flat on a table. If you wait 10 seconds into the call, you can pick it up to your ear and the screen stays on.
BUT if you make a call with the phone slightly tilted/ slanted (you get the idea), the screen turns off as soon as the call gets connected!
The moment you hold the phone to your head the blacklight turns off. In fact: the moment you hide the screen with anything it turns off! (try your hand...).
This might be the reason why everybody's complaining about the screen turning off during a call: you hold the phone to your head! When you turn the screen back on manually, it stays on no matter if you hold your hand or head...
18. Automatically lock your Diamond --> HKEY_CURRENT_USER\ControlPanel\BackLight\AutoDevic eLockEnable from 0 to 1 and everytime your backlight goes off the device is locked
19. More Camera Modes:
To Enable 'Burst': HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Camera\P6 -> change the value "enabled" from 0 to 1
To Enable 'Sport': HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Camera\P8 -> change the value "enabled" from 0 to 1
To Enable 'Video Share': HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Camera\P9 -> change the value "enabled" from 0 to 1
20. Delay device autolock: HKEY_CURRENT_USER\ControlPanel\BackLight\AutoDeviceLockTimeout -> Change the Dword value (30 = 30 seconds, etc)
21. Enable Manual Screen Rotation (Portrait/Landscape): HKLM - System - GDI - Rotation - HideOrientationUI (change from 1 to 0)
22. Hide SIM Contacts: HKCU\ControlPanel\Phone - create a new DWORD value named "ShowSim" and set it to 0
23. Show Weekday in TFL3D (thanks to pulp) - download and install http://rapidshare.com/files/127174792/weekday.cab
24. Enable HSUPA:
HKLM\Software\HTC\AdvancedNetwork\SupportHSUPA =change it to 1
25. Enable Audio Booster without headset-->HKLM/System/State/Hardware/Headset set the value to 1 (soft reset will bring it back to 0)
26. Add a Call History tab to TF3D (discovered by sushilange, spread by Fabliv) --> http://forum.xda-developers.com/showthread.php?t=410180
27. Add new Cities to TF3D http://forum.xda-developers.com/showthread.php?t=408918 - thanks to R. DevilR
28. Remove orphan icons and shortcuts - http://forum.xda-developers.com/showpost.php?p=2461697&postcount=3
29. Four icons in a row in WM Programs/Settings screens - http://forum.xda-developers.com/showpost.php?p=2462244&postcount=16
30. Remove Vertical and Horizontal Scrollbars
For the horizontal (bottom) scrollbar:
HKLM\System\GWE\cyHScr = 0 (DWORD decimal)
For the vertical (right) scrollbar:
HKLM\System\GWE\cxVScr = 0 (DWORD decimal)
31. Remap Manila softkeys:
HKLM/Software/HTC/manila/
HomeLSKPath, which is the left softkey (Standard = Phonepad)
And
HomeRSKPath, which is the right softkey.
If you change these with the location of the programs you want to link to, and simultaneous change the names:
HomeLSKText = Left softkey text
And
HomeRSKText = Right softkey text.
HKEY_LOCAL_MACHINE\Software\HTC\HTCAlbum :
32. Change system and context menu font size:
HKEY_LOCAL_MACHINE\system\gwe\menu\popfnt
and change the value for the "Ht" entry to "1000" decimal (from 1200)
33. Increase maximum picture size when shooting in Burst and Sports mode:When activating "burst" and "sport" the max size of the pictures is "L" but if you change:
HKLM\SOFTWARE\HTC\Camera\P8\MainCamCaptSize value to 1024
and
HKLM\SOFTWARE\HTC\Camera\P8\MainCamSupportCaptSize to 1744Do the same for P6 and you can now shoot in these modes up to 3M and not just L - thanks to nnevynn for
34. Get Blackberry Connect working on your Diamond!! (thanks to cybertech99)
http://rapidshare.com/files/114522380/BBConnect_WM6_Profession.cab
35. Disable Diamond Phonepad Skin
HKLM -> Security -> Phone -> Skin -> Enable (set 1 to 0), then reset.
36. Enable Better Power Management
HKLM\Drivers\SDCARD\ClientDrivers\Class\SIM_Class
Set DisablePowerManagement = 0 (default=1)
HKLM\Drivers\SDCARD\ClientDrivers\Class\MMC_Class
Set DisablePowerManagement = 0 (default=1)
HKLM\Drivers\SDCARD\ClientDrivers\Class\NAND_Class
Set DisablePowerManagement = 0 (default=1)
nice one on the sms wake. We should expand the list! THanks!
Update:
Thanks for updating the list!
Since I don't see a tweak for Disabling SMS Conversation (The costly SMS Chat) I will post it here!
Disable SMS Conversation in WM 6.X
In Registry Editor: Create a folder named "OEM" in "HKEY_CURRENT_USER\Software\Microsoft\Inbox\Settings"
In the new "OEM" folder, make a new DWORD key called "SMSInboxThreadingDisabled" and give it a value of "1"
That will disable the SMS conversation. When you click on the messages on the SMS tab on TF3D, it will take you to the normal SMS inbox instead.
Hope it helps
thanks a lot, keep going please
Great!
This is very useful and it helps solve a lot of problem. Will the cache size change make the D unstable?
For some they say it has...but for me, my device is running great!
mkhattab said:
This is a summary of the proven tweaks taken from the Diamond Tweaks thread. Let's keep the comments in the Diamond Tweaks thread and keep this one as a list of the actual tweaks only to be an easily accessible summary. Thanks to all who discovered the Tweaks
1. Boost TFL3D Performance --> Using Advanced Config, change File system cache to 8mb and file system filter cache to 131072
2. Boost TFL3D Performance --> HKLM\System\Storagemanager\Fatfs and change key Cachesize from 16384 to 32768
3. Wake Up on New SMS --> HKLM\Drivers\BuiltIn\RIL : DisableSMSWakeUpEvent <-- set to "1" by default. Change value to "0"
4. Switch Mute Call on phone flipped face down: HKLM\Software\HTC\PHONE : FaceDownMuteRing: change value to "0"
5. Change CallWaiting Tone --> HKLM\Software\HTC\PHONE : by default set to \windows\waitingtone.wav by default. change to anything else
Click to expand...
Click to collapse
I have had a real issue with number 2, I had to do a hard reset after changing the Cachesize to 32768. During startup the device hanged and wouldn't load up the touch flow, nothing worked.
saveferris said:
I have had a real issue with number 2, I had to do a hard reset after changing the Cachesize to 32768. During startup the device hanged and wouldn't load up the touch flow, nothing worked.
Click to expand...
Click to collapse
I had the exact same problem, wouldn't recommend this one.
saveferris said:
I have had a real issue with number 2, I had to do a hard reset after changing the Cachesize to 32768. During startup the device hanged and wouldn't load up the touch flow, nothing worked.
Click to expand...
Click to collapse
Yes, I had same problem.
Hmm afaik 'File system cache' in 1) is the same as the key HKLM\System\Storagemanager\Fatfs\cachsize in 2).
So tip 1 sets it to 8mb, and tip 2 changes it from 16mb to 32mb. So that suggests its 16m to start with?
Sounds like the file system filter cache is whats making the main difference. Thats this key:
HKLM\System\StorageManager\Filters\fsreplxfilt\Rep lStoreCacheSize
Can someone maybe post the original values of these two keys?
someone1234 said:
Hmm afaik 'File system cache' in 1) is the same as the key HKLM\System\Storagemanager\Fatfs\cachsize in 2).
So tip 1 sets it to 8mb, and tip 2 changes it from 16mb to 32mb. So that suggests its 16m to start with?
Sounds like the file system filter cache is whats making the main difference. Thats this key:
HKLM\System\StorageManager\Filters\fsreplxfilt\Rep lStoreCacheSize
Can someone maybe post the original values of these two keys?
Click to expand...
Click to collapse
There are 3 values to be changed.
1. The Icon Cache which is suggested to be changed to 131072. The registry setting is:
[HKEY_LOCAL_MACHINE\System\GDI\GLYPHCACHE]
"limit"=dword:00020000
The value is shown as hexadecimal, which is equivalent to 131072 in decimal.
2. The second value is to be changed in FAT File System cache.
3. The third value is to be changed is Filters File System cache.
The cache sizes in #2 and #3 are usually kept same, for example 32768 decimal (32MB). Though, this eats up a lot of memory, but makes the system very fast. Lately, I have seen in KaiSer and Universal that these values are set as dynamic values.
Hope this is helpful.
KOR!
anyone know which registry key can make the phone not blank the screen when answering call?
lwclam said:
anyone know which registry key can make the phone not blank the screen when answering call?
Click to expand...
Click to collapse
Yeah, people do know. Search for it.
Just read about a 'tweak' in another thread. It seems disabling "GPRS auto attach" in Advanced Configuration Tool helps in preserving battery live.
Read about it here: http://forum.xda-developers.com/showthread.php?t=395301
For me turning that option to off would be best solution as well. Even more so if it really helps save the battery.
Since I don't have a Diamond yet I havent gotten a chance to actually test this tweak.
Another thing I've found eats up a lot of battery life is the schedule to check email. I have my Direct Push set to an Exchange account and a second Internet Email account. Changing the frequency of checking the second account really makes a difference.
mkhattab said:
Another thing I've found eats up a lot of battery life is the schedule to check email. I have my Direct Push set to an Exchange account and a second Internet Email account. Changing the frequency of checking the second account really makes a difference.
Click to expand...
Click to collapse
agree. my setup is similar to you. i was using 10 mins to check my second IMAP account, i have only around 9-10 hrs standby time. Now, i changed that IMAP account to check in every 60 mins, now, standby time is extended to more than 12 hrs.
what was the previous default File system cache and file system filter cache setting, cause my phone has slowed down since i have changed it. please reply back to me as soon as possible. thank you
http://forum.xda-developers.com/showthread.php?t=397935&page=8
posts 75 and 76
Thanks alot for the fast reply, and just one other question did any one arabize the diamond cause i have tried but it says installation not done. Thanks again man
sorry guys...noob question
to get the SMS to wake up the phone,
where is the HKLM folder in registry?
wishmaker738 said:
sorry guys...noob question
to get the SMS to wake up the phone,
where is the HKLM folder in registry?
Click to expand...
Click to collapse
Read the first post in this thread!

Help! Opera zoom w/scroll wheel

Has anyone tried installing the more recent general release Opera 9.5 Beta? If so, does the Diamond scroll wheel still function as a zoom?
I ask, because I am trying to figured out how to enable the zoom via scroll wheel on my HTC Touch Cruise. I need to figure out if its just that Opera on the Diamond is programmed differently for this feature, or if its because Windows Mobile handles the scroll wheel differently.
likewise
I am also having this problem with the version I got from the Opera site last week (assuming any updates have been made since the last post). Zooming works (double-tap), but only to a pre-set level. I want to be able to adjust the zoom with the scroll wheel (using TP) but get no response. Anyone know how to resolve this please?
I second this,
on the Touch pro, with the Opera preinstalled on the phone you can use the wheel to zoom, but when you download the latest version from their site, this feature is diabled,
will anyone be able to provide a way to reenable this feature?
I finally got the scroll wheel working in opera 9.7b1! Here is what you need to do:
1. Create (or modify) the following registry keys
- Open [HKEY_LOCAL_MACHINE\Software\HTC\SmartTouch\OperaMobile]
- Set String "ClassName"="OPERA-ML-MAINWNDCLASS"
- Set Dword "Mode"="4"
- Set Dword "WheelCount"="2"
2. Edit input.ini (mine is located in \Internal Storage\Programs\Opera Mobile\profile)
- Go to the [Browser Widget] group
- Change "Right = Navigate right" to "Right = Zoom in, 10"
- Change "Left = Navigate left" to "Left = Zoom out, 10"
- Change "Down = Navigate down" to "Down = Zoom in, 10"
- Change "Up = Navigate up" to "Up = Zoom out, 10"
Have fun
P.S. If you use opera 9.5 you have to set "ClassName"="Opera_MainWndClass"
Thanks, m8!! Works like a champ on my Polaris!!
Olioaglio
how to
Sounds great, but as a mere beginner I wonder how to realize the registry tweaks
Would love to use the diamond's zoom wheel with opera 9.7...
It is not working on My Diamond (ROM 2.03.456.2 wwe) with Opera 9.7b
I've double checked the registry entries and the input.ini file...
only if I PRESS the up, down, left, right buttons it is working, but the scroll is NOT
Did you try to soft reset your device after having done the registry modification ?
I've found the problem...
I have SensorScrolll installed (stupid me) and it seems that it is trying to scroll instead of zoom... when the scroll app is off the zoom in opera is working but it is not smooth like the original version
I'm trying to put in OperaL.exe in the igrone list so of the SensorScrol.
10x
sure there is a blank in "..\OperaMo bile" ?
There shouldn't be a space in OperaMobile.
Working on my Raphael
i have created the entrys but it doesnt work. (inkl. soft reset)
Touch Diamond
Windows Mobile 6.5 (Deep Shining)
Location: Internal Storage/Program Files/Opera Mobile/
g-god said:
I finally got the scroll wheel working in opera 9.7b1! Here is what you need to do:
1. Create (or modify) the following registry keys
- Open [HKEY_LOCAL_MACHINE\Software\HTC\SmartTouch\OperaMobile]
- Set String "ClassName"="OPERA-ML-MAINWNDCLASS"
- Set Dword "Mode"="4"
- Set Dword "WheelCount"="2"
2. Edit input.ini (mine is located in \Internal Storage\Programs\Opera Mobile\profile)
- Go to the [Browser Widget] group
- Change "Right = Navigate right" to "Right = Zoom in, 10"
- Change "Left = Navigate left" to "Left = Zoom out, 10"
- Change "Down = Navigate down" to "Down = Zoom in, 10"
- Change "Up = Navigate up" to "Up = Zoom out, 10"
Have fun
P.S. If you use opera 9.5 you have to set "ClassName"="Opera_MainWndClass"
Click to expand...
Click to collapse
i dont find opera mobile in Smart touch. what now?
sorry for my bad english
Even with some builds of 9.7, you need to have the following.
"ClassName"="Opera_MainWndClass"
g-god said:
I finally got the scroll wheel working in opera 9.7b1! Here is what you need to do:
1. Create (or modify) the following registry keys
- Open [HKEY_LOCAL_MACHINE\Software\HTC\SmartTouch\OperaMobile]
- Set String "ClassName"="OPERA-ML-MAINWNDCLASS"
- Set Dword "Mode"="4"
- Set Dword "WheelCount"="2"
2. Edit input.ini (mine is located in \Internal Storage\Programs\Opera Mobile\profile)
- Go to the [Browser Widget] group
- Change "Right = Navigate right" to "Right = Zoom in, 10"
- Change "Left = Navigate left" to "Left = Zoom out, 10"
- Change "Down = Navigate down" to "Down = Zoom in, 10"
- Change "Up = Navigate up" to "Up = Zoom out, 10"
Have fun
P.S. If you use opera 9.5 you have to set "ClassName"="Opera_MainWndClass"
Click to expand...
Click to collapse
And what about Opera 10 beta? Anyone test it?
g-god said:
I finally got the scroll wheel working in opera 9.7b1! Here is what you need to do:
1. Create (or modify) the following registry keys
- Open [HKEY_LOCAL_MACHINE\Software\HTC\SmartTouch\OperaMobile]
- Set String "ClassName"="OPERA-ML-MAINWNDCLASS"
- Set Dword "Mode"="4"
- Set Dword "WheelCount"="2"
2. Edit input.ini (mine is located in \Internal Storage\Programs\Opera Mobile\profile)
- Go to the [Browser Widget] group
- Change "Right = Navigate right" to "Right = Zoom in, 10"
- Change "Left = Navigate left" to "Left = Zoom out, 10"
- Change "Down = Navigate down" to "Down = Zoom in, 10"
- Change "Up = Navigate up" to "Up = Zoom out, 10"
Have fun
P.S. If you use opera 9.5 you have to set "ClassName"="Opera_MainWndClass"
Click to expand...
Click to collapse
Works for me, thanks a lot!
number16 said:
Works for me, thanks a lot!
Click to expand...
Click to collapse
This worked for your Diamond using OperaMobile 10???
Working for Opera 10 ??
The OM10 class is "ClassName"="OM10-ML-MainWndClass", but the hw zoom bar does not work on TP2 for me. :-|
g-god said:
I finally got the scroll wheel working in opera 9.7b1! Here is what you need to do:
1. Create (or modify) the following registry keys
- Open [HKEY_LOCAL_MACHINE\Software\HTC\SmartTouch\OperaMobile]
- Set String "ClassName"="OPERA-ML-MAINWNDCLASS"
- Set Dword "Mode"="4"
- Set Dword "WheelCount"="2"
Click to expand...
Click to collapse
On mine there doesn't seem to be an OperaMobile folder but there is an
Opera Browser folder. Modified values inside with ClassName = OM10-ML-MainWndClass, and Mode and WheelCount as shown.
No go, doesn't do anything on my Diamond with Opera 10.

Turning on bluetooth

Is there a fast way to turn on bluetooth on the Diamond? Whenever I want to use my headset, I have to go to Settings, Communications, bluetooth and its a bit too slow.
Any suggestions or tips?
Thanks,
Jon
I use QuickMenu (search the forum) which provides a nice little menu pick for this. Granted you need to select Start: Quick Menu: BlueTooth but then it's right there. It's not like you are selecting some application that will then occupy your screen so that you can toggle something on and then you have to get rid of the application/screen. Plus QuickMenu is a much better start menu anyway!
I use this, set to a soft key with softkey manager. One touch toggle, can't get much quicker!!
thanks for the program - does anyone know a way to hook this exe into an event? Perhaps such as turning on bluetooth when I plug in a USB cable?
-Mike
Download and install mortscript from here http://www.sto-helit.de/index.php?module=page&entry=ms_overview&action=view
Create script as follows:
Code:
VariableValue = 0
While (1)
USBState = RegRead("HKLM", "System\State\Hardware", "Cradled")
If (USBState = 1 && VariableValue = 0)
Run "\Windows\Start Menu\Programs\ToggleBTh.exe"
VariableValue = 1
EndIf
If (USBState = 0 && VariableValue = 1)
Run "\Windows\Start Menu\Programs\ToggleBTh.exe"
VariableValue = 0
EndIf
Sleep 2000
EndWhile
Save in Windows\Startup folder.
use advanced config to map one of the soft keys to run the Comm Manger and use the 10 buttons comm manager. this will give you easy access to all communications
What is a softkey?

Slipsystems Automate My Life

AUTOMATE MY LIFE
A LIST OF AUTOMATION SCRIPTS AND PROGRAMS THAT WILL AUTOMATE YOUR EVERYDAY LIFE.
MOST BUT NOT ALL OF THESE TUTORIALS REQUIRE TASKER AND A PLUGIN OF SOME SORT.
WINDOWS TUTORIALS CAN BE FOUND IN THE FIRST POST.
LINUX TUTORIALS CAN BE FOUND IN THE SECOND POST.
GENERAL TUTORIALS CAN BE FOUND IN BOTH POSTS.
THERE WILL BE SOME TASKS THAT ARE ONLY LISTED ON WINDOWS AND SOME TASKS THAT ARE ONLY ONLY LISTED ON LINUX, THIS DOES NOT MEAN IT IS NOT POSSIBLE TO PERFORM THEM ON OTHER PLATFORMS IT JUST MEANS I AM UNSURE OF HOW TO GET THEM TO WORK.
WINDOWS
Automatically Turn On Your Computer on a Schedule
Over View
This task is reasonable easy to set up, It will allow you to turn on your home or work pc on a schedule. In this case we are turning on our computer as soon as we unplug our device from the charger.
Requirements
Tasker
Wol Wake on Lan Wan
Setup
Before we get into creating our task we first need to set up the Wol Wake on Lan Wan application
Enable Wake on Lan
On the computer go to Control Panel>Network and Internet>Network and Sharing Center
Click on Change Adapter settings
Right Click on Ethernet and go to properties
Click Configure and then click the Advanced tab
Find Wake on Magic Packet and Change the Value to Enabled
Find Your Mac Address
Open Command Prompt
type "ipconfig /all"
under Ethernet adapter find physical address(00-11-22-33-44-55)
Remember It or write it down
Setup Wol Wake on Lan Wan
Open Wol Wake on Lan Wan
Press Add New
Under Name Call It Anything
Under Mac Enter your mac address as in ipconfig
Under SecureOn Leave As Is
Under IP or Domain Enter your Default Gateway also found in ipconfig
Under Port Leave as is
Check Send as Broadcast
The Rest is fine as default
Press Save
Create The Task
Open Tasker
Press the TASKS Tab
Press The +
Give The Task A Name Like Switch on Home PC
Press The +
Press Plugin
Press WoL Wake On Lan
Press the configuration pencil
Select the name you chose when setting up Wol Wake on Lan
Press the back button twice to save changes to configuration and task
Create The Profile
Press the profiles tab
Press the + Button to add a new profile
Select State
Select Power
Select Power
Select Source Any
press back to save
select the task we created
long press on the task and press move to exit
LINUX
Notify Me When Detecting Movement In My House
Overview
We will use simplecv as a security camera to detect motion in our house. it will then send a notification to our phone alerting us that someone is inside.
Requirements
SimpleCV
WebCam or IP Camera
Tasker
Autoremote
Setup
Install SimpleCV
Thanks To Tinkernut for this tutorial
Open Terminal and Type
Code:
sudo apt-get update
sudo apt-get install ipython python-opencv python-scipy python-numpy python-setuptools
sudo pip install https://github.com/sightmachine/SimpleCV/zipball/master
sudo pip install pyparsing svgwrite
simplecv
Setting Up The Script
Make a new python file called camera.py
Code:
sudo nano camera.py
and paste this code
Code:
'''THIS IS A MOTION DETECTING PROGRAM FOR THE RASPBERRY PI
It is part of a tutorial series that you can find here:
https://www.youtube.com/playlist?list=PLlg8lN4r9qWiDzF13lJY-lGtiTFHHGcpx
Running this program requires installing SimpleCV as well as
a few other prerequisits on your pi. You can find detailed
instructions for how to do that here:
http://tinkernut.com/YtQH9
The script was slightly modified by slipsystem to send a autoremote command
'''
#!/usr/bin/python
#import the SimpleCV, shutil and urllib libraries
from SimpleCV import *
import shutil
import urllib
#set autoremote variables
#key taken from http://goo.gl/xxxxx
autoremotekey = ""
#message to send autoremote
autoremotemessage = "Motion Detected"
#initialize the camera
cam = Camera()
#set the max display size
display = Display((800,600))
#create a threshold variable to change motion sensitivity
threshold = 0.5
#get the date for saving images
datestr = time.strftime("%Y%m%d")
#set a streaming variable to stream webcam online
streaming = JpegStreamer("0.0.0.0:1212")
#create destination directorie for the pictures
dst = "pic/%s" % (datestr) #destination directory for images
#if the picture directories don't exist, create them
if not os.path.exists(dst):
os.makedirs(dst)
#create a loop that constantly grabs new images from the webcam
while True:
#set a time variable that updates with the loop
current_time = time.time()
#grab an image still from the camera and convert it to grayscale
img01 = cam.getImage().toGray()
#wait half a second
time.sleep(0.05)
#grab an unedited still to use as our original image
original = cam.getImage()
#set webcam image
original.save(streaming)
#grab another image still from the camera and conver it to grayscale
img02 = cam.getImage().toGray()
#subract the images from each other, binarize and inver the colors
diff = (img01 - img02).binarize(50).invert()
#dump all the values into a Numpy matrix and extract the mean avg
matrix = diff.getNumpy()
mean = matrix.mean()
#find and highlight the objects within the image
blobs = diff.findBlobs()
#if the mean is greater than our threshold variable, then look for objects
if mean >= threshold:
#check to see if any objects were detected
if blobs:
#find the central point of each object
#and draw a red circle around it
for b in blobs:
try:
loc = (b.x,b.y) #locates center of object
original.drawCircle(loc,b.radius(),Color.RED,2)
except:
e = sys.exc_info()[0]
#use the current date to create a unique file name
timestr = time.strftime("%H%M%S")
#initialize the counter variable
i = 1
#check to see if the filename already exists
while os.path.exists("pic/motion%s-%s.png" % (timestr, i)):
#if it does, add one to the filename and try again
i += 1
#once a unique filename has been found, save the image
original.save(dst + "/motion%s-%s.png" % (timestr, i))
#print results to terminal
print("Motion Detected")
f = urllib.urlopen("https://autoremotejoaomgcd.appspot.com/sendmessage?key=" + autoremotekey + "&message=" + autoremotemessage)
print("Message Send " + f.read())
open autoremote and follow your link (goo.gl/xxxx)
once you have opened the link you will notice the url say something like key=xxxxx
paste the key inside autoremotekey = ""
save the script by typing ctrl+x
run the python script by typing
Code:
python camera.py
now your camera server should be running ,if you move in front of the camera you should see a output of motion detected
Create The Task
The Task can be whatever you want to run when the camera detects motion in my case I have it play your dongeon is under attack then open the camera viewer. but for the purpose of this tutorial we are going to make it just open the camera.
Open Tasker
Press the TASKS Tab
Press The +
Give The Task A Name Like Camera
Press The +
Click Net
Click Browse URL
Enter the Ip address of your computer(ifconfig) followed by :1212 (192.168.1.12:1212)
Press the back button to save
Press the +
Press Task
Press Wait
adjust the slider to one minute so we don’t get bombarded with messages
press back twice to save configuration and task
Create The Profile
Press the profiles tab
Press the + Button to add a new profile
Select State
Select Plugin
Select Autoremote
Press the Configuration pencil
Check Event Behavior
Message Filter type Motion Detected
press back twice to save
click the newly created task

Categories

Resources