Found Some Nifty Codes - Desire General

Hunting around different web site and I stumbled across these, dont know if they will be any good to any one.
FYI These codes have been obtained by decoding various .apk files present in the phone firmware.
*#*#4636#*#*
This code can be used to get some interesting information about your phone and battery. It shows following 4 menus on screen:
Phone information
Battery information
Battery history
Usage statistics
*#*#7780#*#*
This code can be used for a factory data reset. It'll remove following things:
Google account settings stored in your phone
System and application data and settings
Downloaded applications
It'll NOT remove:
Current system software and bundled applications
SD card files e.g. photos, music files, etc.
PS: Once you give this code, you get a prompt screen asking you to click on "Reset phone" button. So you get a chance to cancel your operation.
*2767*3855#
Think before you give this code. This code is used for factory format. It'll remove all files and settings including the internal memory storage. It'll also reinstall the phone firmware.
PS: Once you give this code, there is no way to cancel the operation unless you remove the battery from the phone. So think twice before giving this code.
*#*#34971539#*#*
This code is used to get information about phone camera. It shows following 4 menus:
Update camera firmware in image (Don't try this option)
Update camera firmware in SD card
Get camera firmware version
Get firmware update count
WARNING: Never use the first option otherwise your phone camera will stop working and you'll need to take your phone to service center to reinstall camera firmware.
*#*#7594#*#*
This one is my favorite one. This code can be used to change the "End Call / Power" button action in your phone. Be default, if you long press the button, it shows a screen asking you to select any option from Silent mode, Airplane mode and Power off.
You can change this action using this code. You can enable direct power off on this button so you don't need to waste your time in selecting the option.
*#*#273283*255*663282*#*#*
This code opens a File copy screen where you can backup your media files e.g. Images, Sound, Video and Voice memo.
*#*#197328640#*#*
This code can be used to enter into Service mode. You can run various tests and change settings in the service mode.
WLAN, GPS and Bluetooth Test Codes:
*#*#232339#*#* OR *#*#526#*#* OR *#*#528#*#* - WLAN test (Use "Menu" button to start various tests)
*#*#232338#*#* - Shows WiFi MAC address
*#*#1472365#*#* - GPS test
*#*#1575#*#* - Another GPS test
*#*#232331#*#* - Bluetooth test
*#*#232337#*# - Shows Bluetooth device address
*#*#8255#*#*
This code can be used to launch GTalk Service Monitor.
Codes to get Firmware version information:
*#*#4986*2650468#*#* - PDA, Phone, H/W, RFCallDate
*#*#1234#*#* - PDA and Phone
*#*#1111#*#* - FTA SW Version
*#*#2222#*#* - FTA HW Version
*#*#44336#*#* - PDA, Phone, CSC, Build Time, Changelist number
Codes to launch various Factory Tests:
*#*#0283#*#* - Packet Loopback
*#*#0*#*#* - LCD test
*#*#0673#*#* OR *#*#0289#*#* - Melody test
*#*#0842#*#* - Device test (Vibration test and BackLight test)
*#*#2663#*#* - Touch screen version
*#*#2664#*#* - Touch screen test
*#*#0588#*#* - Proximity sensor test
*#*#3264#*#* - RAM version
NOTE: All above codes have been checked on Google Android phone Samsung Galaxy I7500 only but they should also work in other Google Android phones.
Source- www.symbiantalk.net

Kickasskev said:
Hunting around different web site and I stumbled across these, dont know if they will be any good to any one.
*#*#7594#*#*
This one is my favorite one. This code can be used to change the "End Call / Power" button action in your phone. Be default, if you long press the button, it shows a screen asking you to select any option from Silent mode, Airplane mode and Power off.
You can change this action using this code. You can enable direct power off on this button so you don't need to waste your time in selecting the option.
Click to expand...
Click to collapse
The battery info one works fine, that one has been around for ages. The one supposedly for the power button does absoutely nothing.

All that I have tried do nothing. Like the GPS test, WLAN test, the power button one... Except for the INFO one, that one works as always.

ljesh said:
All that I have tried do nothing. Like the GPS test, WLAN test, the power button one... Except for the INFO one, that one works as always.
Click to expand...
Click to collapse
LOL yeah u are rite they are crap I never tried them as i didnt need to know any of the stuff, but now that I have tried them ohh well sorry people my mistake

Related

[APP]SVMPowerMgr 2.0 - Power comm. utility

Hello.
This is the "reloaded" of SVMPowerMgr 1.0.
With this app. You can:
- turn off the screen of Your device
- put the device in suspended mode
- soft reset the device
- turn off the device (HTC devs.).
- turn on/off wifi
- turn on/off phone module
- turn on/off bluetooth (make discoverable/invisible)
- switch phone bands Auto-2G-3G
You also can create 7 shortcuts to the program with parameters:
0 - turn off the screen of Your device
1 - put the device in suspended mode
2 - soft reset the device
3 - turn off the device(HTC devs.).
4 - turn on/off phone module
5 - turn on/off wifi
6 - turn on/off bluetooth
somethig like this
[simbols count]#"[path to program]SVM Power Mgr.exe" [parameter]?[path to icon file you want to use],-[icon index]
You can change the images of backrounds button separator and buttons, they will be located in "Images" folder after install. With one restriction: now the buttons are black, so if you change the back of main program, consider this ...
Remarks: To close the main window you must tap anywhere outside the buttons or in space between buttons. Also to close additional windows tap the Close button or empty space of window.
P.S.
On/off bluetooth works well on Microsoft and Broadcom stacks, but discoverable/invisible mode for bluetooth is working just on Microsoft stacks, on broadcom is to be developped
P.S.S.
Supported screen resolutions: QVGA (240x320), Square (240x240), SquareQVGA (320x320), VGA(480x640), Square VGA (480x480), WVGA (480x800)
Regards.
Seems really useful. Gonna try it with powerbutton long press
Looks promising....will give this a whirl...thx
hello and thaks. i am looking for something like this.
happy new year
Looks useful... Gonna try it.
Thanks for sharing.
Best regards
It looks awesome. Will give it atry on my phone.,..
Looks great, thank you very much!
It works but there is no icon on each button on my HD. Using stock ROM
Works great on my Diamond. The only thing that does not work is the 3G and 2G switch, which I assume is because I am on CDMA. Would it be possible to get the button to switch from Ev (3)G to 1x? Good work.
mwalt2 said:
... Would it be possible to get the button to switch from Ev (3)G to 1x? Good work.
Click to expand...
Click to collapse
Hi,
I'll try to find a way for this.
Best regards.
Error
For my device it can do almost all it promises including turning off the gsm but turning it on or switching between 2G/3G does nothing except gives me a dialog box named "Warning!" that containins the sentence
"The Phone status can not be switched."
Also turning the gsm and 3G on/off with HTC comm manager works just fine but as soon the gsm gets turned off by svmpm the HTC one also looses control over the gsm module (including 3G switch). I love your tool but how to get over this case?
I've got a feeling that this app has one of the best forum-replies per downloads ratio. I mean people just use it and don't complain. So great app when mapped to a comfortable hardkey. My issue was rare, so download it!
Hello and thanks for the program. I have instaled in my HD and mapped to one of the home bottom button. I have an spasnish stock ROM 1.56 and the final button doesn´t work and I would want to link it to another application like mylight. How can I make this?
Thanks for this applicatin
Missing icons
The app functions correctly for me, but the icons are missing (the text for each button are present). Anyway to bring the icons back?
Thanks
MEG
HTC HD2
Thanks a lot.
A very useful app for my GPS guided treeking.
works very well, thank you very much!
Example to create a shortcut please
s.virtan said:
You also can create 7 shortcuts to the program with parameters:
0 - turn off the screen of Your device
1 - put the device in suspended mode
2 - soft reset the device
3 - turn off the device(HTC devs.).
4 - turn on/off phone module
5 - turn on/off wifi
6 - turn on/off bluetooth
somethig like this
[simbols count]#"[path to program]SVM Power Mgr.exe" [parameter]?[path to icon file you want to use],-[icon index]
Regards.
Click to expand...
Click to collapse
Dear Virtan, would you please give me an axample to create a shortcut please.
I think I don't know about [symbol count] and [parameter]?...
What should i write (i use resco explorer) when i want to create a shortcut, for suspend for example...
Thank You
EDIT :
It's okay...I found it..i just add number 1 after the shortcut.
For example :
"\Program Files\SVM Power Mgr\SVM Power Mgr.exe" 1
But Still don't know how to change the icon.
PS:
When i use this shortcut as a link to SPB Mobile Shell i found that everytime i wake up the device, the device starting with "something working" logo (circle that quartered and moving). This is not found when i use the SVM Power Mgr usual link (with menu). Any suggestion?

[APP] 100 Pushups - Beta - Stage1 - 0.1.9 [23/07/2010]

As requested I have begun development on a windows mobile version of a program on the iphone called "100 Pushups"
Web Link: http://www.hundredpushups.com/.
The idea of the application is to put you on a 6 week program which will lead you to being able to perform 100 push-ups. This is achieved by performing so many reps, for so many sets, 3 times a week. At the end of each week you will be tested on how many you can do and then a program is worked out for the following week. You can track your progress via bar charts and logs.
GUI PREVIEW VERSION ADDED. SEE POST #115 -(UPDATED 20-09-2010)
There will be 3 stages of the development of the program.
Stage 1 - Functionality.
At this point all I am concerned about is "does it work?". This means the GUI will probably look rubbish but the idea is to ensure the program is doing as it should.
Stage 2 - GUI
Once I'm happy with stage 1 I will begin developing a nice GUI to make a better user experience and to make the program look half decent
Stage 3 - Final
This is the point where I will start adding people's request/suggestions, fine tuning etc. Once done the version will then end Beta and become final build.
See Post 2 for changes log
Requirements:
.Net 3.5 for Windows Mobile
Developed for Windows Mobile 6.5.3. Not sure if it will work on anything less.
Example on how to use
Lets say you start this program on a Sunday
Sunday - Perform as many "good form" push-ups as you can and enter value.
Monday - Do first day Program.
Tuesday - Rest
Wednesday - Do second day program.
Thursday - Rest
Friday - Do third day program.
Saturday - Rest
Repeat.
Using the above example, every time you get to Sunday you will be required to enter a new value. This will set the program up for the next weeks training.
NOTE: First Release - Please take the following under consideration before testing.
# This is at Stage 1 so yes it will look rubbish! lol
# The "Good Form" button is disabled at the moment so pushing it will do nothing.
# If the program is in first run mode i.e no push-ups have been logged, pushing the graphs button will display random data. This is just for beta testing.
# This was developed and tested on the HTC HD2 only. I'm not sure what it will look like on other devices as I have none to test with.
# Upon first launch a log file will be created in \My Documents\PushupLog\. I suggest backing this up when trying new versions of this program as it contains all your progress!
# The Graph may not display correctly on other devices and I'm already working on fixing that.
# To clear all the data simply delete the log file located in "\My Documents\Pushuplog\log"
NOTES FOR STAGE 1 BETA TESTERS
If you press the menu button you will notice a sub menu called Debug. Here is an explanation on what the options are.
# Reset Timer - In the "Todays Program" screen, pushing this buttons will set the rest timer to 2 seconds. This is if you wish to quickly skip through the rest periods.
# Maximize - Basically just makes the program full screen (covers top task bar).
# No Limit - Check this if you want the program to ignore when you can perform the next program.
IF YOU ARE UPDATING FROM VERSION 0.1.7 OR BELOW PLEASE DO THE FOLLOWING
# Uninstall previous version.
# Go into "\Program Files" folder and delete folder "Pushups". There also maybe a file in the "\Program Files" folder called "100 push-ups - beta", delete this too.
# Go to "\My Documents" and delete the folder named "PushupLog"
Release Log
# 0.1.9 [23/07/2010]
- Added "No Limit" option to Debug menu. Pressing this will cause the application to ignore rest periods between programs. i.e You don't have to wait a day before continuing.
# 0.1.8 [22/07/2010]
- Fixed various issues with resetting log.
- Fixed Graph layout.
- Fixed issue where entering a test value and then resetting the log to a forward date would cause the wrong push-up program to be loaded.
- After performing a test and entering a value, the program will now not allow you to continue with "Todays Program" until 24 hours has passed.
- After completing push-up program for today, you must wait a day before continuing to the next program. This is so you get enough rest.
- After performing a test and entering a value, the new weeks program is added to the calender. Resetting the log will also update calender (not fully tested).
- Added basic Log View which can be accessed via "Logs and Graphs" button.
- Pushing "Rep Completed" button will cause "Perform X Pushups" text to change to "Rest Period".
# 0.1.7 [18/07/2010]
- Reset now only enabled in Main screen
- Fixed issue where entering Test value and then resetting log forward a day, causes you to enter test value again.
- Fixed issue where partially completing today's program and then returning back cause's the display of completed reps to be incorrect.
# 0.1.6 [17/07/2010]
- Complete re-write of log recording. (You old log file will be ignored if present)
- Added "Reset Log" to menu button.
- Added feature to reset log progress back and forward to any given week and week day. To reset log just select "Week 1 and Day 1".
- On first run, if you enter more than 20 on the test screen the program will move you to week 3
- Short cuts now in "Programs Folder" and "Start Menu"
- Program now remembers what set you was doing if you leave "Today's program" and then return back to it. NOTE: this only works while the program is running. You must restart sets again if you close the application.
# 0.1.5.40968 [13/07/2010]
- Removed top and bottom grey tabs to improve layout for low res screens.
- Added Menu button
- Moved Debug --> Rest Timer to Menu button
- Added Maximize to Debug in Menu button. Pressing this will maximize the application which hides the top bar in windows mobile. Press this button again to go back to normal view.
- Added Exit button to Menu button
- Added count down timer sound for stop watch/rest timer. Should kick in at about 6 seconds remaining
- Moved return button to bottom right
# 0.1.4.37187 [12/07/2010]
- Fixed various issues with logging.
- Fixed issue where entering test value and then exiting "Todays Program" will cause you to enter test value again.
- Fixed error occurring when repeatedly pressed "Reps Completed".
- Fixed error occurring when pressing "Return" button while rest timer is activated.
- Developed at 240 x 260 resolution so hopefully any display greater will work ok.
- Added debug Menu with item "Rest Timer". NOTE: Checking this item at the main screen will set the rest timer to always be 2 seconds. This is for people beta testing that want to speed up the rest periods.
# 0.1.3.11738 - [12/07/2010]
- Fixed error occurring when pressing return button on test screen.
# 0.1.2.41712 - [11/07/2010]
- Slight performance increase - switching screens is a little smoother
- A little GUI tweak to get a ruff idea of GUI layout
- After Completing a days program, if you try to do another a message is shown suggesting a days rest.
- Good Form button disabled - not implemented yet.
# 0.1.1.24890 - [10/07/2010]
- Fixed "ArgumentOutOfRangeException" which occurred after entering test result
# 0.1.0.23190 - [08/07/2010]
- First Release
Known Issues
Pressing the Return button on "Todays Program" will cause an error. Don't press it!
Pressing the completed button repeatedly on "Todays Program" may cause an error
This is being developed using a HTC HD2 so smaller screens may see error's with layout. Will try to fix this.
interested
Hi, is the source available for this? i'd be interested in contributing if it is.
thanks for the interest donbing
Sadly I would have to say the source is not available. It's a nice small project for myself and I would like to see it through like this. Once completed, I may think about releasing the source.
If you have any idea's you wish to cntribute then I'm all ears!
Also, if you fancy doing a similar project like this, there is also a similar app called "200 Situps". Basically works the same but you do situps and not push ups. I could easily modify my program to do this but if you fancy doing it then go for it. I would gladly use it
Ok, I installed the tool.
It starts, but thats about it. On my first run, i got an unexpected error.
ArgumentOutOfRangeException.
On the second run, i got ObjectDisposedException. This happened after pressing "completed" in the "todays program" page.
Hope this helps.
Excellant!!! bugs is what I'm after lol
Ok when you first run it you should get a screen with 3 buttons like so
Todays Program
Logs and Gaphs
Good Form
When you click Todays program it should come up with the test screen and asking you to perform some push ups and enter a value. Enter the value, press OK and it should take you to a screen for your first program.
For the first run problem, I just installed a new ROM on my phone and installed the program and now I am having the same problem. Will have a look tonight and hopefully post a fix, if not then tomorrow latest.
As for the problem when pushing the 'Completed' Button, does that occour when you first push the button or the last time you push it? Seem to work fine on my phone.
Gaz25 said:
For the first run problem, I just installed a new ROM on my phone and installed the program and now I am having the same problem. Will have a look tonight and hopefully post a fix, if not then tomorrow latest.
As for the problem when pushing the 'Completed' Button, does that occour when you first push the button or the last time you push it? Seem to work fine on my phone.
Click to expand...
Click to collapse
Got some bugs for you;
first thing is: The goodform button doesn't work, i don't know for what it is used but it doesn't do anything. second of all; the graphs tab just shows some random pushups third: It doesnt say how much push ups you need to do. it says week 1 - day 1 and a complete button + timer. Not how much pushups you need to do. And when i press the complete button a couple of times it crashes.
Got some bugs for you;
first thing is: The goodform button doesn't work, i don't know for what it is used but it doesn't do anything. second of all; the graphs tab just shows some random pushups third: It doesnt say how much push ups you need to do. it says week 1 - day 1 and a complete button + timer. Not how much pushups you need to do. And when i press the complete button a couple of times it crashes.
Click to expand...
Click to collapse
Right lets take this 1 by 1.
Yes the Good forms button doesn't do anything at the moment, Sorry I should have mentioned. Basically it will just show you how to perform a correct push-up
The Graphs screen will show random stuff if nothing is stored in log i.e first run of the program. This was for beta testing purposes.
When you push the "Todays Program" button, on the first run it should come up with a screen asking for you to do so many push ups and then enter the value. When you enter a value and press ok it should then take you to the "Todays Program" screen where you see the following.
Today (Week 1 - Day 1)
Rest Timer 00
1 - Pushups to perform #
2 - Pushups to perform #
3 - Pushups to perform #
..... etc etc
Press the 'Completed' button after
each rep to start timer
Completed
When you push the 'Todays Program', does it take you to a test screen or does it go straight to the screen I mention in blue above?
Gaz25 said:
Right lets take this 1 by 1.
Yes the Good forms button doesn't do anything at the moment, Sorry I should have mentioned. Basically it will just show you how to perform a correct push-up
The Graphs screen will show random stuff if nothing is stored in log i.e first run of the program. This was for beta testing purposes.
When you push the "Todays Program" button, on the first run it should come up with a screen asking for you to do so many push ups and then enter the value. When you enter a value and press ok it should then take you to the "Todays Program" screen where you see the following.
Today (Week 1 - Day 1)
Rest Timer 00
1 - Pushups to perform #
2 - Pushups to perform #
3 - Pushups to perform #
..... etc etc
Press the 'Completed' button after
each rep to start timer
Completed
When you push the 'Todays Program', does it take you to a test screen or does it go straight to the screen I mention in blue above?
Click to expand...
Click to collapse
Thanks for the info!
About the last thing: Yes, it asked me to push up as many times, so i did 5 as a test number. But i don't see pushups to perform. Just
Today (Week 1 - Day 1)
Rest Timer 00
Press the 'Completed' button after
each rep to start timer
Completed
EDIT:
When i press the "Return" button, the app crashes.
I also made a little video for you, to help you! http://www.youtube.com/watch?v=F4HgEX_Lu4Q
hhhmmm thats intersting, I can't seem to replicate it. I will have something posted later which should fix it
I don't know if you have seen my edit because i edited it @ 3.59 and you posted @ 3.54 but anyway: http://www.youtube.com/watch?v=F4HgEX_Lu4Q
igi0n
I can see the problem. It's because your screen size is much smaller than mine so what has happened is the list of push-ups you must perform has shrunk so much that it has become invisible. I'm just about to upload another version which I'm now thinking may not look right on your phone.
Could you try it out and post another video clip?
on tonights version, I get error after return from Todays program on HD2.
pushups.exe
ArgumentException
Column 'PROG0' does not belong to table PUSHUPS.
at
System.Data.DataRow.GetDataColumn(StringcolumnName)
at System.Data.DataRow.get_Item(StringcolumnName)
at pushups.Core.GetTodaysProgram()
at pushups.UserControls.ucToday..ctor()
at
Pushups.frmMainNew.TestTime_Disposed(Object sender, EventArgs e)
at
System.ComponentModel.Component.Dispose(Boolean disposing)
at
etc. tired of typing..lol...sorry and hope this helps
Thanks for your great app & idea....
Thanks noellenchris for the post
ok let me just understand a bit more on how this error happened.
You clicked "Todays Program" and test screen came up?
You then entered a value and was brought to "Todays Program" screen?
You then completed the days program which was indicated by a message?
Pressing ok on this message brought you back to the main menu?
Did the error occur when you was brought back to the main menu?
Edit
Never mind I think I see what your saying. The error comes when you press return on the "test screen". uploading fix now :-D
Im going to try the new version now! Btw, if you press the return button but the timer is still @ 0 its not crashing, only when the timers counts down
EDIT:
Hmm the GUI is better but the layout on the screen is pretty messed up @ 320x320.
Im uploading a new video now
EDIT: http://www.youtube.com/watch?v=VvtB1ZASWAs
you videos are helping alot
ok the next course of action, which I hope I will get finished for tonight, will be this.
# Fix the crash when pressing the return button while the timer is running.
# Fix crash when hitting the completed button multiple times while timer is running.
# Fix the GUI layout for smaller screens :-D
Edit
Try newest version I just uploaded. I developed at a lower res so hopefully it will display better.
Please uninstall the old version first and delete \My Documents\PushupLog\log before installing new one.
Gonna install it now, and make a little video!
EDIT:
The text doesn't fit the screen, the size is ok but you cannot scroll down. Also, the timer uses 2 seconds each rep, it needs to be 60?
And when you are done for today, it tell you. Have a days rest before attempting the next program
It needs to be without the S
Video: http://www.youtube.com/watch?v=1l2amIRGf0U
EDIT2:
After completion of the exercise it says: "You have compeleted" The E needs to be deleted
Excellent, no crashes!!!! lol
The count down timer will only do 2 seconds if you pushed and checked Debug -> Rest Timer.
Try running the program again and don't push the debug button.
Other than that it seems there is still an issue with layout and an Issue with I can't spell haha.
Strange because the window size is set to 240 x 260 so I'm not sure why its not displaying correctly.
Oh yeah, i see it . Btw, is there a way to add a feature so that you can begin at a certain week/day and maybe can you add a reset button? Thanks already!

ever done this before?

So I get on my samsung focus (at&t locked) and go onto the diagnostic mode (via the tethering hack) and type in different combos untill I get to a menu called Test Mode with some weird numbers and a back and end key. type this into your diagnostic mode (app) and you will see the same thing *#1111# and then I pushed another # for good measure and, sure enough it led me to the screen. Once this is tested, can someone PLEASE tell me what it is for? (ps, my phone will also not turn off or dim in this mode) (also, diagnostic menu has become an app now in my app list??!?)
Dyskmaster said:
So I get on my samsung focus (at&t locked) and go onto the diagnostic mode (via the tethering hack) and type in different combos untill I get to a menu called Test Mode with some weird numbers and a back and end key. type this into your diagnostic mode (app) and you will see the same thing *#1111# and then I pushed another # for good measure and, sure enough it led me to the screen. Once this is tested, can someone PLEASE tell me what it is for? (ps, my phone will also not turn off or dim in this mode) (also, diagnostic menu has become an app now in my app list??!?)
Click to expand...
Click to collapse
That's the Samsung Diagnosis App on WP7, people have been using it for months now, here are some 60 codes that I could come up by brute-forcing the hash function in the app [1] and [2]

[howto] Disable stock puzzle lock

Stumbled across this and thought I'd share..
Go into the Dialer and enter *#83786633 then press the Home key Go back into the phone dialer and enter *#22745927 Now a box will come up asking for the SPC code. Enter 000000 Press the Hiddenmenu Enable radio button.
Now you can use these codes.
Shutdown
*#7594# This enables you to shut your phone off by long-pressing the power/lock key. No more pop-up confirmation. I have tested this and it works successfully. I've also discovered by doing this, it will disable the puzzle/glass unlock screen. Personally, having to push a button and slide the screen is redundant.
Enjoy
Here are a bunch of others "secret menu" items, for those who care.
Go into the Dialer and enter *#83786633 then press the Home key
Go back into the phone dialer and enter *#22745927
Now a box will come up asking for the SPC code. Enter 000000
Press the Hidden menu Enable radio button.
Now you can use these codes.
The dialing code string you have to use is *##
Here are some things you can gain access to
Audio Tuning
*#28346#
Several audio tuning menus.
I've only tested the two items below:
To silence boot and shutdown audio go to Situation/BOOTSOUND and turn the values to 0. I've tested and confirmed this works.
To silence the volume key audio when turning the volume up/down go to Situation/VOLUMEKEY and turn the values to 0. I've tested and confirmed this works.
Full Bat Popup
*#3844228#
This allows you to disable the full battery pop-up.
I have tested this and it works successfully.
HwCodec
*#0002*28346#
Audio path volume controls. Most importantly, it looks like there's a sidetone adjustment.
I have not tested any of these items yet.
Shutdown
*#7594#
This enables you to shut your phone off by long-pressing the power/lock key.
No more pop-up confirmation.
I have tested this and it works successfully.
I also need to point out that this disables your slide lock screen.
Diag/Testing Mode
*#4636*1111#
GPSSetup menu
*#1472365#
The settings are set to the "fixed" values by default.
You can go into Command and then start GPS and force a satellite lock.
There's other cool info there too.
*#7594#
If your enable this, it appears to not only shutdown your phone with a long press of the power key, but it also disables your lock screen (puzzle/glass screen).
*#1472365# - GpsSetup
Very useful tests for the GPS!!!
Setup/Position Mode/ Operation Mode: (Standalone/MSAssisted/MSBased) Starting Mode: (Cold Start/Warm Start/Hot Start) Session Type: (Single Fix/Navigation) Setup/Command allows you to test the GPS and look at the results
*#INFO*1111# - Testing
Phone information/Battery information/Battery history/Usage statistics
Very useful diagnostics
*#0*# - LCD TEST
red/green/blue/melody/vibration/dimming/megacam/Sensor/touch/sleepmode/LED/RECEIVER
Very useful tests for the LCD
##RTN# - Real-Time Network (RTN)
Lots of useful information, like the Life timer / calls and Life Byte usage stats
*#DATA*727336*# - DataCreate
Call log/System Space/User Space/Phone Book/Schedule/Message/Ring tone/Screen/IMEI/ESN/Error log
Very useful information!!!
*#0228# - BatteryStatus
Very useful real-time battery statistics!
##UPST# - PhoneUtil - UART/USB
Universal Asychronous Receiver/Transmitter / Universal Serial Bus
Most likely controls how you connect technician testing equipment to test out the UART/USB subsystems
##DATA# - Data Programming - (Verizon customers: whenever prompted for SPC enter 000000)
User Name/Advanced/Restore/Enable HFA/DSA Server/MMSC/URL/Multimedia/WorkMode/WiMAX
##DEBUG# - Debug Menu - (Verizon customers: whenever prompted for SPC enter 000000)
Debug Screen/Test Calls/RC Data/HDR/1X Selection/Voice Privacy/DTMF Set/Korea Mode Set
##AKEY# - Data A key menu - (Verizon customers: whenever prompted for SPC enter 000000)
##<MSL># - (Verizon customers: whenever prompted for SPC enter 000000)
Program your Mobile Device Number(MDN) and Mobile Station ID(MSID)
##GPSCLRX# - Reset the GPS - (Verizon customers: whenever prompted for SPC enter 000000)
##SCRTN# - Changes DSA back to Factory - (Verizon customers: whenever prompted for SPC enter 000000)
##TTY# - TTY TestMode
*#0842# - Device Test - Vibration Test
*#0673# - MelodyTest
*#7780# - Factory data reset
*#232331# - BluetoothTest
*#2664# - Touchscreen Accuracy Test
Nice if you want to see how accurate your touchscreen is
*#0283# - ServiceMode - PACKET LOOPBACK
Need to hit home to get out - I couldn't get this to do anything but it could be the data packet that you sent coming back to you on the loopback device
*#767*3855# - Factory Format - WARNING!!!
Will go to Hands Free Activation
Nice if you'd like to reactivate your phone, it will do so automatically
*#197328640# - ServiceMode - Menu key to bring up menu - WARNING!!!
Will turn off your radio - Not sure what this does
*#0011# - ServiceMode - Force Closes - Menu key to bring up menu
Will turn on your radio, and then reboot
*#32489# - ServiceMode - Force Closes - Menu key to bring up menu
Doesn't seem to affect the radio
*#2580# - ServiceMode - Not sure what this does
*#0782# - RTCTimeRead - Displays Date and Time
*#745# - Sec_RIL_Dump - Has the LogFileList
Copy to phone memory/Copy to SD card(grayed out)/View Ril Log(grayed out)/Clear Ril Log/Exit
Probably dumps the logs for the Radio Interface Layer (RIL) between the Operating System and the phone's radio and modem
I haven't tested a dump yet
*#9900# - SysDump
copy logcat/dumpstate/dumpsys/enable debug log/copy/watchdogdumpstatelog
Probably dumps the logs for the Operating System kernel
I haven't tested a dump yet
Whoah! I didnt know about all those other ones.. Nice job
Thanks to both of you, good to know, possibly may come in handy at one point or another.

[GUIDE] Use NFC to unlock your phone, Galaxy S3 or other!

UPDATE!!! There's a new XPosed Framework module in town that makes this whole thread obsolete. Check out the new NFC Unlock module, forked from the NFC LockScreenOff Enabler module already used in this project. Way simpler, fewer moving parts to configure, and works well. Check it out. Otherwise, this has been a fun way to learn how to use Tasker! Thanks, all!
Original Post
This is a guide to show you how to set up your phone to be unlocked by an NFC tag. There are several other threads on the subject for various phones and carriers, but it took me several weeks worth of research and testing to come up with something that actually worked on my phone, and this tutorial is the culmination of that effort. In theory, it should work for a wide variety of ROMs (including Stock), phones and carriers, and even survive ROM updates (provided you maintain root), but I have only tested it on a Sprint Galaxy S3 (model d2spr) that is rooted and running CyanogenMod 10.1.
DISCLAIMER! I am NOT responsible for any damage to your phone, loss of data, use of your phone, or spontaneous sharknadoes that may occur if you try these steps! It worked for me, but I make no guarantees that it will work for you! Back up all your data and your ROM, and use this at your own risk!
HARDWARE REQUIREMENTS
An NFC capable phone, like your Sprint Samsung Galaxy S3 with Root Access enabled
An NFC tag, such as Samsung TecTiles
SOFTWARE REQUIREMENTS
XPosed Framework
ONE of these XPosed Framework plugins:
MoDaCo Toolkit Plugin for the XPosed Framework (NFC Always On or On When Unlocked)
NFCLockscreenoffEnabler.apk for the XPosed Framework (lets you choose between Always On, On When Unlocked OR On At Lockscreen for better battery life)
NFC Task Launcher from the Play Store
Tasker from the play store
Secure Settings Plugin for Tasker
STEP 1: Install the software!
Install all of the software listed above.
Open XPosed Framework and enable the MoDaCo Toolkit OR the NFCLockscreenoffEnabler.apk in the Modules tab
STEP 2: Turn on NFC scanning all the time
Normally, Android only scans for NFC tags when the phone is unlocked. We need to scan for NFC tags when the phone is locked, and in our case, when the screen is off. Open the MoDaCo Toolkit app and check the box to Enable NFC when screen is off under Settings -> Wireless
WARNING!!! Turning on NFC scanning when the screen is off may adversely affect your battery life!
STEP 2 ALTERNATIVE: Turn on NFC scanning at Lockscreen
Open the NFCLockscreenoffEnabler.apk app and select Enable NFC when phone is locked, but the screen is on. This option should be a little easier on your battery. (Thanks to @nacron for finding this!)
STEP 3: Make Secure Settings a Device Administrator
Open Secure Settings and go to the Configuration Menu by tapping the wrench icon in the upper-right hand corner. Once there, check the box next to Device Administrator and select "Activate" on the confirmation screen.
STEP 4: Teach Tasker how to Lock and Unlock your phone
We can either do this the easy way, or the hard way.
Easy Way - Import the Tasks
Download and unzip NFC-Unlock-Tasker-Tasks.zip and copy the enclosed XML files to your phone
Open Tasker and long-press the Tasks tab
Select Import and open the files that you just copied
There is no step 4.
Hard Way - Manually Enter the Tasks
If you don't trust the import function, or just want to learn more about creating tasks in Tasker, you can create the tasks manually.
Open Tasker and select the Tasks tab. Create a new Task by tapping the big "+" sign, name it "LOCK", and add the following actions:
Select Task -> If
Under Condition on the LEFT side of the condition, type TRUN (the variable for Tasks Running)
Tap the Condition Operator icon (the grey button in the middle) and select Doesn't Match, or !~
On the RIGHT side of the condition, type *Unlock*
Under the If statement, select Plugin -> Secure Settings then tap Edit.
Select Keyguard and set the following options:
Select radio button On
Select Plugin -> Secure Settings then tap Edit.
Select Lock Device and set the following options:
Box for Device Admin Enabled is checked
Select Task -> End If
Create a new Task named "Unlock", and add the following actions:
Select Task -> Stop And select the Lock Task that we created earlier.
Select Plugin -> Secure Settings then tap Edit.
Select Wake Device and set the following options:
Wake Type: Screen & Keyboard Lights On
Duration: 30 seconds
Select Task -> Wait and set duration to 100 MS
Select Plugin -> Secure Settings then tap Edit.
Select Keyguard and set the following options:
Select radio button On
Select Task -> Wait and set duration to 100 MS
Select Plugin -> Secure Settings then tap Edit.
Select Keyguard and set the following options:
Select radio button Off
Check box Run in background (No Notification)
If you run this Task now, you probably won't notice anything different right away. However, if you lock your phone and then unlock it, you'll notice that any security that you had set up is now bypassed. That's why we needed to teach Tasker how to lock your phone, as well.
STEP 5: Teach NFC Task Launcher to Unlock your phone
Open NFC Task Launcher and create a new task for NFC named "Unlock Phone".
Take your NFC tag and follow the instructions on the screen to write the tag for this task.
Add a new Task by tapping the big "+" icon in the upper right corner.
Select Category Tasker
Check "Tasker Task" and tap "Next"
Type "Unlock" in the field next to the magnifying glass icon under Tasker Task and tap "Add to Task"
Congratulations! You can now unlock your phone with your NFC tag! Of course, as we mentioned above, this leaves your phone without any passcode protection that you may have previously enable. Which leads us to our final step...
STEP 6: Teach Tasker to Lock your phone
Open Tasker and select the Profiles tab
Create a new Profile with the big "+" at the bottom of the screen and select Event
Select Display -> Display Off
Go back to the Profiles page by tapping the "< Event Edit" icon in the upper left corner.
Select the Lock Task that you made earlier
Now when the screen goes off, your phone is secure again.
That's it! My hope is that this tutorial is easy to follow so that anyone who wants to unlock their phone with an NFC tag can get it working. While there are a lot of steps, I tried to make them clear and specifically looked for a method that was flexible enough to allow me to update my phone or even use a different phone with this method, without having to track down a modified NFC.apk for my specific firmware every time I wanted to update.
In regards to how battery life is affected by having NFC turned on all the time, my personal experience shows no appreciable decrease in battery life. I went all day yesterday without charging (about 15 hours) with typical usage for me, which includes 2-3 hours of podcast playback over both wired and bluetooth headphones, occasional GMail and Facebook usage, Solitaire, and 45-60 minutes of phone calls, which is on par with what I was getting before the hack. As with all things, your mileage may vary. If battery life becomes an issue, try the new NFCLockscreenoffEnabler.apk plugin that @nacron found instead of the MoDaCo one which gives you the On At Lockscreen option in addition on Always On. It should save you a bit on battery life.
Many thanks to the authors of the software I used (XPosed Framework, MoDaCo Toolkit Plugin, NFCLockscreenoffEnabler.apk, NFC Task Launcher, Tasker, Secure Settings Plugin), as well as this thread and this web page for giving me the framework to construct this rather elaborate NFC hack.
I would love to hear from others if this works on other phones.
Changelog:
2013-09-05 - Add NFCLockscreenoffEnabler.apk option for NFC on at Lockscreen (thanks @nacron for this!)
2013-08-14 - Changes to the Tasker Tasks that make the lock and unlock functions run a bit more smoothly by avoiding collisions. (i.e., if you're unlocking the phone, it won't try to lock it until the unlock is done.) I've also added easy-to-import XML files for the Tasks, so you don't have to type them in manually anymore!
2013-08-09 - Initial release (can you "release" a process?)
Wow, thanks for the info.
New instructions and importable task files make getting this set up a whole lot easier! Updates in the OP!
I've attached a cheap NFC tag to my watch wristband, cleverly disguised by gold nail polish, and unlock by NFC is now my preferred unlock method.
I like this. Posting to keep track of it.
Well, as soon as root is found for the DROID MAXX, I will be using this.
Sent from my Nexus 7 using Tapatalk 2
Hello,
After trying this on a Samsung Galaxy S3 Stock 4.1.2 and Slim Bean (worked like a charm), I have found a glitch on the stock firmware. When making a call the screen would go off via the Proximity sensor so <b>Tasker</b> would lock the phone.
So I made a little addon to the following part and the problem stoped:
Original:
STEP 6: Teach Tasker to Lock your phone
Open Tasker and select the Profiles tab
Create a new Profile with the big "+" at the bottom of the screen and select Event
Select Display -> Display Off
Go back to the Profiles page by tapping the "< Event Edit" icon in the upper left corner.
Select the Lock Task that you made earlier
Modified:
STEP 6: Teach Tasker to Lock your phone
Open Tasker and select the Profiles tab
Create a new Profile with the big "+" at the bottom of the screen and select Event
Select Display -> Display Off
Go back to the Profiles page by tapping the "< Event Edit" icon in the upper left corner.
Select the Lock Task that you made earlier
[*] Select Display off (long-press) -> Add -> State -> Sensor -> Proximity sensor -> Check invert
That's it!
Now when you get a call and answer it Tasker will know that the proximity sensor is used and will not lock the phone
Hope it works for you too.
Thanks,
[/QUOTE]
stealthdave said:
New instructions and importable task files make getting this set up a whole lot easier! Updates in the OP!
I've attached a cheap NFC tag to my watch wristband, cleverly disguised by gold nail polish, and unlock by NFC is now my preferred unlock method.
Click to expand...
Click to collapse
Thats slick man. I may have to use that for myself lol :good:
This is great, thanks man but one problem. When I use my tag to unlock the phone, use the phone then hit the android home button to return to my default screen, it locks the phone instead. If I unlock it normally (Entering PIN) it doesn't display this behavior. What am I doing wrong.
Deleted
LevanG said:
Hi, can I use this method to unlock my LG Lucid2?
I want to use it on GSM network...
Click to expand...
Click to collapse
Wrong kind of "unlock", I'm afraid. This unlocks your screen so that you can bypass the lock screen; it doesn't do anything for carriers locking the phone to their network. Think of this as using an NFC tag as your password.
OK, sorry and thanks for your reply
lloydcabraham said:
This is great, thanks man but one problem. When I use my tag to unlock the phone, use the phone then hit the android home button to return to my default screen, it locks the phone instead. If I unlock it normally (Entering PIN) it doesn't display this behavior. What am I doing wrong.
Click to expand...
Click to collapse
Try adding a 200ms delay to the beginning of the LOCK Task. This seemed to make things a bit more predictable on my phone.
stealthdave said:
Try adding a 200ms delay to the beginning of the LOCK Task. This seemed to make things a bit more predictable on my phone.
Click to expand...
Click to collapse
Actually, already have added a delay at the beginning to the Lock task but it didn't do anything to correct the behavior to the Home button. I should probably add that I'm using this with an HTC One that already has a funky Home / Menu button configuration. Home button works fine when I unlock normally but seems to get remapped to go back to the lock screen when I unlock it using NFC.
lloydcabraham said:
Actually, already have added a delay at the beginning to the Lock task but it didn't do anything to correct the behavior to the Home button. I should probably add that I'm using this with an HTC One that already has a funky Home / Menu button configuration. Home button works fine when I unlock normally but seems to get remapped to go back to the lock screen when I unlock it using NFC.
Click to expand...
Click to collapse
Likewise. I have the same problem as well. The physical Home button just takes me back to my pin lockscreen if I had unlocked via NFC. If I unlocked my phone manually by entering my pin then everything just works fine.
EDIT: Should also say that my phone is the S3.
@lloydcabraham and @bleAf! , what version(s) of Android are you running? I'm on 4.2.2 (CM 10.1.2), and my Home button is working as expected. I'm also using Nova Launcher as opposed to the stock Android launcher. Also, I presume that you haven't inadvertantly remapped the Home button, either by Tasker or some other setting or app? (Forgive me if some of this sounds like basic tech support stuff; just spitballing ideas since I can't reproduce.)
stealthdave said:
@lloydcabraham and @bleAf! , what version(s) of Android are you running? I'm on 4.2.2 (CM 10.1.2), and my Home button is working as expected. I'm also using Nova Launcher as opposed to the stock Android launcher. Also, I presume that you haven't inadvertantly remapped the Home button, either by Tasker or some other setting or app? (Forgive me if some of this sounds like basic tech support stuff; just spitballing ideas since I can't reproduce.)
Click to expand...
Click to collapse
Not at all, I appreciate your help. I'm using ElementalX kernel that remaps the HTC logo as a menu button but leaves the back and home button alone. Maybe that's the issue? It's just funny that I only have the problem if I use my NFC to unlock the phone using the supplied scripts. Oh well, no biggie but if you can help me figure it out, it would be great. I can send you a cwm backup (wiped of course) if you'd like to try my setup?
lloydcabraham said:
Not at all, I appreciate your help. I'm using ElementalX kernel that remaps the HTC logo as a menu button but leaves the back and home button alone. Maybe that's the issue? It's just funny that I only have the problem if I use my NFC to unlock the phone using the supplied scripts. Oh well, no biggie but if you can help me figure it out, it would be great. I can send you a cwm backup (wiped of course) if you'd like to try my setup?
Click to expand...
Click to collapse
Actually, it would probably be easier for you to just try a different kernel and see if it still works. Given the description of what it does, my guess is that might be the issue.
It also might be an issue with the XPosed Framework or MoDaCo plugin on the HTC One specifically. (It does have its own special installation procedure.)
- Dave
stealthdave said:
@lloydcabraham and @bleAf! , what version(s) of Android are you running? I'm on 4.2.2 (CM 10.1.2), and my Home button is working as expected. I'm also using Nova Launcher as opposed to the stock Android launcher. Also, I presume that you haven't inadvertantly remapped the Home button, either by Tasker or some other setting or app? (Forgive me if some of this sounds like basic tech support stuff; just spitballing ideas since I can't reproduce.)
Click to expand...
Click to collapse
I'm on 4.1.2 (Samsung based rom with stock kernel). I'm also using Nova launcher and I just tried stock Touchwiz launcher but same result.
I'm thinking it may be just something to do with Samsung Touchwiz or HTC Sense based rom (If lloydcabraham is also running HTC based rom or stock).
Thanks for your help stealthdave.
For some reason I can't get my phone to recognize the NFC tag when the screen is off or even in the lock screen. Only when I'm past the lock screen will the NFC tag recognize. The xposed framework was part of the ROM i'm using (M.O.A.R.) and I just installed the MoDaCo mod via the link. I checked off NFC on always and restarted several times but it still won't recognize when the screen is off.
[EDIT]
Got it to work using this xposed module instead of the MoDaCo one for always on NFC.
http://forum.xda-developers.com/showthread.php?t=2122019
Also having issues of lock coming back on after doing any action post unlock via NFC. I think it's a hack Samsung put together for the latest firmware upgrade after the whole problem with the bypassing the lockscreen by going through the emergency screen. The op wouldn't have this issue as he's not using a TW rom. I wonder if there is a way to have it input the key instead of bypassing the key.
[EDIT 2]
Overcame this issue by using the secure settings to reset the pin to nothing when unlocking via NFC and enable the pin when the screen goes off. This method even prevents the phone from locking during a call. I have a new issue of the swipe screen coming back right after NFC unlock. I'll post my findings a little later. It's not the most elegant of fixes but it prevents the lock screen from coming up when pressing the home button. I also removed all the waits and made lights and keyboard on for 5 seconds, makes unlocking faster.
The action for password/pin reset in Secure Settings is in All Actions > Dev Admin Actions > Password/Pin. You just select disabled when unlocking and it removes your existing pin and when you select enabled for lock, it prompts you to enter your pin twice in the settings. Not sure how secure this is or where it stores your password/pin. The only problem with this method is that you'll have to change the password/pin in secure settings if you decide to change your password/pin in the android settings or you'll end up with 2 different passwords/pins
Not sure if this works if you have pattern unlock. Haven't had time to test that.
So this is how my unlock task looks like:
1. Stop task lock
2. Secure Settings > configuration > Screen and keyboard lights on for 5 seconds
3. Secure Settings > configuration > clear password
4. Secure Settings > configuration > Keyguard disabled
and my lock is simply
1. Secure Settings > sonfiguration > Set Pin
and my profile is
Display Off > Lock
[EDIT3]
Figured out why it was presenting the swipe lock screen when doing a quick NFC unlock removal . I'm using the hacked version of AnyTAG NFC Launcher, instead of the NFC Tag Task Launcher, that detects NFC Tag removal as well as placement. Thought this app would be more extensible in the future. The only problem with this is that it will keep insisting on launching on NFC Tag removal if you don't set something so I just set the task to do nothing and that was locking the swipe screen again. I just set it to the same task as unlock and it doesn't pull up the swipe screen anymore.
Also, the battery replacements from Sprint suck. It's a generic sprint branded battery that DOES NOT have an NFC antenna in it. Picked up the replacement along with tectiles yesterday and couldn't figure out for the longest time why this unlock thing wasn't working. Their battery part number is BSML71021L. Gotta call them up to see if they can give me back my old battery or give me a real samsung replacement.
[EDIT 4]
After trying to get this to work consistently, I've disabled it. I can get tasker to remove/reenable the pin consistently but only sometimes will it clear the lockscreen automatically.
nacron said:
For some reason I can't get my phone to recognize the NFC tag when the screen is off or even in the lock screen. Only when I'm past the lock screen will the NFC tag recognize. The xposed framework was part of the ROM i'm using (M.O.A.R.) and I just installed the MoDaCo mod via the link. I checked off NFC on always and restarted several times but it still won't recognize when the screen is off.
[EDIT]
Got it to work using this xposed module instead of the MoDaCo one for always on NFC.
http://forum.xda-developers.com/showthread.php?t=2122019
Click to expand...
Click to collapse
Thanks for this find! I've added it to the OP for others. It's worked pretty consistently for me with this new module for the 30 minutes I've had it installed, and hopefully it will lead to better battery life. (Battery life wasn't too bad, but I was starting to notice a difference with NFC always on.)
nacron said:
[EDIT 4]
After trying to get this to work consistently, I've disabled it. I can get tasker to remove/reenable the pin consistently but only sometimes will it clear the lockscreen automatically.
Click to expand...
Click to collapse
I'm sorry to hear that it's not working for you. Hopefully Google will eventually enable this functionality in Android proper. The Moto X certainly shows that it's not only possible, but practical.
- Dave

Categories

Resources