secret code for samsung - Galaxy Note II General

Hi all,
Okay there you have it.
* # 0 * # This code tests all
Write code as if you wanted to call in dialer
After entering the start testing mod.
Is there a test: sensor, barometer, display, Gyroscope, LED, camera, speaker, vibro, sound 100Hz-300Hz, and much more.

You are only more than a year late with this information...

go there and find more
Galaxy NOTE Secret CODE - xda-developers
http://forum.xda-developers.com/showthread.php?t=1603210

old info.

Does this work for ROMs...No right?

Related

Can you sample a vertical movement of the device?

I'm trying to sample a gesture of physically moving the device up and down (not necessarily tilting it) - is this possible?
The only values that i get either from the accelerometer/orientation/magnetometer is from tilting the device..
yes.
download "Sensor Test" from the market to see what sensor data is available to your program
sensing a jerk is easy simply root sum squates (RSS) the accelerometer values and test against some threshold.
If you want to know up from down you need to rotate the acceleration values by the normalized orientation vector.
Then integrate acceleration with respect to time.
p = (1/2)at^2 + vt +p;
if you want relative sample to sample movements you can simplify by assigning initial conditions to 0... thus
p = 1/2at^2.
p = change in position
t = change in time from sample to sample.
now the accelerometer is probably only accurate to 0.1 G which is very poor
so don't expect super accurate distances.
machine learning gesture algorithm
Thanks, but unfortunately "elevator" like movements can't be detected by simply using any of the sensors.
i guess for that you'll need to manipulate some data using the device's camera.
or for a simpler solution, check if any natural vertical movement is joined with some tilt to the device which can be easily sensed by any of the built in sensors.
But for anther topic, do you know by any chance where could i find a working machine learning gesture algorithm?

[Q] LED Flashlight code

Ive tried so many ways to have the led flash light to turn on in one of my apps, but every code i try fails. Can any one please give me some type of example code?
I'm no programmer but I looked around in the Android API documentation and found this:
http://developer.android.com/reference/android/hardware/Camera.Parameters.html#FLASH_MODE_TORCH
And after 2minutes of googling I found this on the forum:
Code:
echo 125 > /sys/devices/platform/flashlight.0/leds/flashlight/brightness
From: http://forum.xda-developers.com/showpost.php?p=6305305&postcount=8
It's phone specific
Motorola you need to use some reflection like this:
http://code.google.com/p/droidled/s...com/droidled/demo/DroidLED.java?spec=svn2&r=2
HTC you can echo to the /sys/devices as patric.f mentioned
Nexus One/Galaxy S you can use FLASH_MODE_TORCH (also as patric.f mentioned)
Alternatively, if your app is focusing on something else and you don't want to deal with supported every device's flash light method, my TeslaLED app accepts service intents:
if you do a startService with an action of:
com.teslacoilsw.intent.FLASHLIGHT
You can attach a boolean extra with a key of "on", "off" or "toggle"
and a value of true to turn the flashlight on or off.
Strobe can be done by using an int extra of "strobe" followed by the
rate in Hz.

[REF] Diagnosis Codes

Samsung Focus Diagnosis Codes​Lets get a list started.
To access the diagnostic program you will need to dial ##634# from the phone pad. Below is a list of commands that I could find. Post more here and lets see what we can do.
If you are experiencing any issues with accessing the diagnosis main menu press and hold the app from the applist and uninstall it the reinstall using the procedure above. This is due to some having an updated app.​
Function Codes
!!WARNING SETTINGS CHANGED IN 197328640 MODE DO NO RESET ON HARD RESET THESE SETTING STAY WITH THE PHONE YOU MIGHT GET THINGS BACK TO NORMAL BY USING *2767*3855# - Full Reset (Caution every stored data will be deleted.)!!​*#197328640# - Root Menu (See attached for full menu layout)
Things you can do with this code​
Improve your Signal
*#197328640#
1,8,3,6,1,[END] and reboot.
Speed up your internet by enabling hspda/hsupa
*#197328640#
1,8,3,5,2,3,[END]​
Teather your phone​*#7284#
Modem, Teathered Call
Remeber you have to move it back to ZUNE to USB sync
Increase your default volume. (Confirmed working now!! )
*#0002*28346#
Click Get under the Device Gain (max/min)
In the first box keep the number 7
In the second box put 16000
In the third box put 0
Click Set
Click Start​Click the home button.
Restart your phone. To verify the setting took click the get button and it should show your values.
Run a system diagnostic.
*#05#​
Single function Code
*#0*# - LCD Test
*#0002*28346# - Audio control utility.
*#0011# - Power and Temprature settings
*#0228# - Battery Information
*#0289# - Melody Test\Test External and Internal Speaker
*#03# - SMDInfo
*#05# - Simple test menu
*#06# - Show IMEI #
*#0673# - MP3 Test Menu\Shows Audio sound tests
*#0782# - Shows Clock & Alarms settings
*#0842# - Vibrate test menu
*#0987# - Multitouch test
*#1111# - Show FTA software version
*#1234# - Shows the PDA and the Phone version number
*#197328640# - The Root Menu
*#2*# - Battery Information
*#2222# - Show FTA hardware version
*#2263# - RAT Selection option is resricted
*#232331# - BT RF Test Mode
*#232332# - BT Audio
*#232333# - BT Search Test
*#232337# - Bluetooth MAC Adress
*#232338# - WLAN MAC address
*#232339# - WLAN Test mode
*#2580# - Integrity Control
*#3*# - Test Brightness
*#32489# - (GSM test) Shows the ciphering status and options to enable or disable it.
*#7284# - USB Path control
*#745# - Operation (2): Ril log done
*#7450# - Operation (99):Error Report off done
*#7451# - Operation (99):Error Report off done
*#7465625# -Shows status of the Network, Service Provider, SIM or Corporation lock
*#770# - Operation (99):Vphone 770 done!
*#771# - Operation (99):Vphone 771 done!
*#772# - Operation (99):Vphone 772 done!
*#773# - Operation (99):Vphone 773 done!
*#774# - Operation (99):Vphone 774 done!
*#775# - Operation (99):Vphone 775 done!
*#776# - Operation (99):Vphone 776 done!
*#777# - Operation (99):Vphone 777 done!
*#778# - Operation (99):Vphone 778 done!
*#779# - Operation (99):Vphone 779 done!
*#780# - Operation (99):SR Test done!
*#9090# - Diag Config\UART/USB settings
*2767*3855# - Full Reset (Caution every stored data will be deleted.)
vphone
what is vphone 777?
*#7465625# Personalize Menu - Examine the various phone locks
*#232337# Bluetooth MAC Adress
This is the best set of posts I have seen on this forum for the Focus yet. Thanks!
Hope you don't mind I added this to the wiki.
When you use *#2580# it brings up " Phone Integrity". Default is "ON". This is purely a guess, but if that is "ON" then possibly no options explored or mistakenly changed will be permanent. The reason for my guess is, that I explored many of the screens and changed setting and changed them back with out any negative affects. However, after I mistakenly changed phone integrity to "OFF" (option 2, on that menu) Thats when my accelerometer craped out on me. With phone integrity off and I entered the LCD TEST screen and opened the Accelerometer Test screen.
Does anyone know what " Phone Integrity " represents?
Wow, I like that this list keeps on growing. This thread deserves a sticky.
Spent about 5 hours to get the info and also updated the wiki. I want this to be the next most hackable phone.
Dyslexia
Dyslexia.
*#7248# - USB Path control
Should be
*#7284# - USB Path control
Great work on getting all these codes. I exchanged my focus because of a noticeable audio hiss when playing music or listening to podcasts. The new one has the same issue. But the audio control utility looks like I can change some settings to minimize this. Anyone else having this issue and found a solution through this audio menu?
Any way to turn off echo cancel?
I'm finding the echo cancel during phone conversations is horrible. For example, plug in the headset/mic, if I call my phone from a land line and hum, I can't hear myself in the ear buds. But if I mute the phone, I hear myself fine.
I've only been on a few calls and I can hear this behavior ALOT.
Does anyone know what might be the setting to turn this off?
I have a unlocked rogers focus.
i can make calls and receive text messages but i get no data connection.
I've accessed the diag and when entering *#197328640# and nothing happens.
did a hard reset, and same thing.
any suggestions?
APN
Did you set your apn correctly?
try
*2767*3855#
download the pdf go to the main menu possibly here.
​3. AUDIO LOOPBACK
1. PACKET LOOPBACK ON
2. LOOBBACK OFF
I hope there is something to adjust the horrid quality for streamed video such as youtube and movie trailers
karelj said:
I hope there is something to adjust the horrid quality for streamed video such as youtube and movie trailers
Click to expand...
Click to collapse
amen!!! It would be awesome if someone could figure out something
What code gets the wifi MAC address? I could swear I've seen it...
Nevermind it's *#1234#
I had hopes of boosting the headset audio by going into the root menu to section 5.2. but when I get there, no menus exist.
There must be an audio defeat occurring at the headset level for our own protection or something...
TOA Duck said:
amen!!! It would be awesome if someone could figure out something
Click to expand...
Click to collapse
Switch your IE from Mobile to Desktop. Enjoy quality video. Drive through.

FMRadio Secret Code

Found this one while trying to make Japan come back to region list in the FMRadio app.
*#*#0368#*#* - Lets you enter the FM Radio Test Mode.
Has two options,
Set Seek RSSI (long)
Set Seek SNR (long)

[Q] proximity sensor accurate values

Hi,
using the service diagnostic application on my s4 I can read a range of values (ADC) from proximity sensor spanning from 0 to 255 (they are more or less proportional to the object distance). Is there a method to get this values within a native (or ndk) app. With the standard android api I get only near/far value.
Thanks,
Marco
marco.co said:
Hi,
using the service diagnostic application on my s4 I can read a range of values (ADC) from proximity sensor spanning from 0 to 255 (they are more or less proportional to the object distance). Is there a method to get this values within a native (or ndk) app. With the standard android api I get only near/far value.
Thanks,
Marco
Click to expand...
Click to collapse
*#0*#
Sensors.
"If someone helps, never forget to hit thanks ? "
DeepankarS said:
*#0*#
Sensors.
"If someone helps, never forget to hit thanks ? "
Click to expand...
Click to collapse
I know that, I would like to replicate the same behaviour by code into one of my apps.

Categories

Resources