Galaxy Note Dial Pad codes - AT&T Samsung Galaxy Note I717

Not sure these have been posted or not
Thanks go to Johnsondr80 for this
USE ALL OF THIS AT YOUR OWN RISK, I NOR JOHNSONDR80 IS RESPONSIBLE FOR YOUR ACTIONS
Just sharing this.
Some GalaxyNote dialpad codes.
————————————————
1. dial *#0*# to enter hardware test mode. (bnapalm)
2. Some general codes:
#*#4636#*#*- Shows*Phone information,*Battery information,*Battery history,*Usage statistics
#*#8255#*#*- Show GTalk service monitor
#*#1111#*#*- Service Mode
#*#232331#*#*- Bluetooth test
#*#3264#*#*- RAM version
#*#0588#*#*- Proximity sensor test
#*#2664#*#*- Touch screen test
#*#0842#*#*- Vibration test
(Galaxytab1)
3. Probably the full list of codes, but some may not work, use at your own risk:
*#06# = IMEI Number.
*#1234# = Firmware Version.
*#2222# = H/W Version.
*#8999*8376263# = All Versions Together.
*#8999*8378# = Test Menu.
*#4777*8665# = GPSR Tool.
*#8999*523# = LCD Brightness.
*#8999*377# = Error Menu.
*#8999*327# = EEP Menu.
*#8999*667# = Debug Mode.
*#92782# = PhoneModel. (Wap)
#*5737425# = JAVA Mode.
*#2255# = Call List.
*#232337# = Bluetooth MAC Adress.
*#5282837# = Java Version.
#*4773# = Incremental Redundancy.
#*7752# = 8 PSK uplink capability bit.
#*7785# = Reset wakeup & RTK timer cariables/variables.
#*7200# = Tone Generator Mute.
#*3888# = BLUETOOTH Test mode.
#*7828# = Task screen.
#*#8377466# = S/W Version & H/W Version.
#*2562# = Restarts Phone.
#*2565# = No Blocking? General Defense.
#*3353# = General Defense, Code Erased.
#*3837# = Phone Hangs on White screen.
#*3849# = Restarts Phone.
#*3851# = Restarts Phone.
#*3876# = Restarts Phone.
#*7222# = Operation Typ: (Class C GSM)
#*7224# = !!! ERROR !!!
#*7252# = Operation Typ: (Class B GPRS)
#*7271# = CMD: (Not Available)
#*7274# = CMD: (Not Available)
#*7337# = Restarts Phone. (Resets Wap Settings)
#*2787# = CRTP ON/OFF.
#*2886# = AutoAnswer ON/OFF.
#*3737# = L1 AFC.
#*5133# = L1 HO Data.
#*7288# = GPRS Detached/Attached.
#*7287# = GPRS Attached.
#*7666# = White Screen.
#*7693# = Sleep Deactivate/Activate.
#*7284# = L1 HO Data.
#*2256# = Calibration info? (For CMD set DEBUGAUTONOMY in cihard.opt)
#*2286# = Databattery.
#*2527# = GPRS switching set to (Class 4, 8, 9, 10)
#*2679# = Copycat feature Activa/Deactivate.
#*3940# = External looptest 9600 bps.
#*4263# = Handsfree mode Activate/Deactivate.
#*4700# = Please use function 2637.
#*7352# = BVMC Reg value (LOW_SWTOFF, NOMINAL_SWTOFF)
#*2558# = Time ON.
#*3370# = Same as 4700.
#*3941# = External looptest 115200 bps
#*5176# = L1 Sleep.
#*7462# = SIM Phase.
#*7983# = Voltage/Freq.
#*7986# = Voltage.
#*8466# = Old Time.
#*2255# = Call Failed.
#*5187# = L1C2G trace Activate/Deactivate.
#*5376# = DELETE ALL SMS!!!!.
#*6837# = Official Software Version: (0003000016000702)
#*7524# = KCGPRS: (FF FF FF FF FF FF FF FF 07)
#*7562# = LOCI GPRS: (FF FF FF FF FF FF FF FF FF FF FF FE FF 01)
#*2337# = Permanent Registration Beep.
#*2474# = Charging Duration.
#*2834# = Audio Path. (Handsfree)
#*3270# = DCS Support Activate/Deactivate.
#*3282# = Data Activate/Deactivate.
#*3476# = EGSM Activate/Deactivate.
#*3676# = FORMAT FLASH VOLUME!!!
#*4760# = GSM Activate/Deactivate.
#*4864# = White Screen.
#*5171# = L1P1.
#*5172# = L1P2.
#*5173# = L1P3.
#*7326# = Accessory.
#*7683# = Sleep variable.
#*8465# = Time in L1.
#*2252# = Current CAL.
#*2836# = AVDDSS Management Activate/Deactivate.
#*3877# = Dump of SPY trace.
#*7728# = RSAV.
#*2677# = Same as 4700.
#*3728# = Time 2 Decod.
#*3725# = B4 last off.
#*7372# = Resetting the time to DPB variables.
#*7732# = Packet flow context bit Activate/Deactivate.
#*6833# = New uplink establishment Activate/Deactivate.
#*3273# = EGPRS multislot. (Class 4, 8, 9, 10)
#*7722# = RLC bitmap compression Activate/Deactivate.
#*2351# = Blinks 1347E201 in RED.
#*4472# = Hysteresis of serving cell: 3 dB
#*2775# = Switch to 2 inner speaker.
#*9270# = Force WBS.
#*7878# = FirstStartup. (0=NO, 1=YES)
#*3757# = DSL UART speed set to. (LOW, HIGH)
#*8726# = Switches USBACM to Normal.
#*8724# = Switches USBACM to Generator mode.
#*8727# = Switches USBACM to Slink mode.
#*8725# = Switches USBACM to Loop-back mode.
#*3838# = Blinks 3D030300 in RED.
#*2077# = GPRS Switch.
#*2027# = GPRS Switch.
#*0227# = GPRS Switch.
#*0277# = GPRS Switch.
#*8370# = Tfs4.0 Test 0.
#*8371# = Tfs4.0 Test 1.
#*8372# = Tfs4.0 Test 2.
#*8373# = Tfs4.0 Test 3.
#*8374# = Tfs4.0 Test 4.
#*8375# = Tfs4.0 Test 5.
#*8376# = Tfs4.0 Test 6.
#*8377# = Tfs4.0 Test 7.
#*8378# = Tfs4.0 Test 8.
#*8379# = Tfs4.0 Test 9.
#*7878# = FirstStartup. (0=NO, 1=YES)
#*3838# = Blinks 3D030300 in RED.
#*2077# = GPRS Switch.
#*2027# = GPRS Switch.
#*0227# = GPRS Switch.
#*0277# = GPRS Switch.
#*22671# = AMR REC START.
#*22672# = Stop AMR REC. (File name: /a/multimedia/sounds/voice list/ENGMODE.amr)
#*22673# = Pause REC.
#*22674# = Resume REC.
#*22675# = AMR Playback.
#*22676# = AMR Stop Play.
#*22677# = Pause Play.
#*22678# = Resume Play.
#*77261# = PCM Rec Req.
#*77262# = Stop PCM Rec.
#*77263# = PCM Playback.
#*77264# = PCM Stop Play.
#*22679# = AMR Get Time.
*#8999*364# = Watchdog ON/OFF.
*#8999*427# = WATCHDOG signal route setup.
*2767*226372# = Camera Reset. (deletes photos)
*2767*3855# = E2P Full Reset.
*2767*2878# = E2P Custom Reset.
*2767*927# = E2P Wap Reset.
*2767*226372# = E2P Camera Reset.
*2767*688# = Reset Mobile TV.
#7263867# = RAM Dump. (On or Off)
* # 06 # Show IMEI number
next
* # 0 * # LCD Test Menu
* # * # 4636 # * # * user statistics and Phone Info
* # 0011 # Displays status information for the GSM
*#1234# View SW Version PDA, CSC, MODEM
*#12580*369# SW & HW Info
*#197328640# Service Mode
*#0228# ADC Reading
*#32489# (Ciphering Info)
*#232337# Bluetooth Address
*#232331# Bluetooth Test Mode
*#232338# WLAN MAC Address
*#232339# WLAN Test Mode
*#0842# Vibra Motor Test Mode
*#0782# Real Time Clock Test
*#0673# Audio Test Mode
*#0*# General Test Mode
*#2263# RF Band Selection
*#9090# Diagnostic ConfiguratioN
*#7284# USB I2C Mode Control
*#872564# USB Logging Control
*#4238378# GCF Configuration
*#0283# Audio Loopback Control
*#1575# GPS Control Menu
*#3214789650# LBS Test Mode
*#745# RIL Dump Menu
*#746# Debug Dump Menu
*#9900# System Dump Mode
*#44336# Sofware Version Info
*#7780# Factory Reset
*2767*3855# Full Factory Reset
*#0289# Melody Test Mode
*#2663# TSP / TSK firmware update
*#03# NAND Flash S/N
*#0589# Light Sensor Test Mode
*#0588# Proximity Sensor Test Mode
*#273283*255*3282*# Data Create Menu
*#273283*255*663282*# Data Create SD Card
*#3282*727336*# Data Usage Status
*#7594# Remap Shutdown to End Call TSK
*#34971539# Camera Firmware Update
*#526# WLAN Engineering Mode
*#528# WLAN Engineering Mode
*#7412365# Camera Firmware Menu
*#07# Test History
*#3214789# GCF Mode Status
*#272886# Auto Answer Selection
*#8736364# OTA Update Menu
*#301279# HSDPA/HSUPA Control Menu
*#7353# Quick Test Menu
*2767*4387264636# Sellout SMS / PCODE view
*#7465625# View Phone Lock Status
*7465625*638*# Configure Network Lock MCC/MNC
#7465625*638*# Insert Network Lock Keycode
*7465625*782*# Configure Network Lock NSP
#7465625*782*# Insert Partitial Network Lock Keycode
*7465625*77*# Insert Network Lock Keycode SP
#7465625*77*# Insert Operator Lock Keycode
*7465625*27*# Insert Network Lock Keycode NSP/CP
#7465625*27*# Insert Content Provider Keycode
#272*imei# Product code , works on Froyo
#*#7780#*# Factory data reset - Clears Google-account data, system and program settings and installed programs. system will not be deleted, and OEM programs, as well as My Documents (pictures, music, videos). (skyhew)

SO mortem, should I get a Note?

Thanks mortem i was just looking for a good list yesterday
Sent from my SAMSUNG-SGH-I717 using XDA App

keller.jeff said:
SO mortem, should I get a Note?
Click to expand...
Click to collapse
Of course you should

00mred00 said:
Thanks mortem i was just looking for a good list yesterday
Sent from my SAMSUNG-SGH-I717 using XDA App
Click to expand...
Click to collapse
welcome, thanks to Johnsondr80 as well

all them ones in section 2 I have to put a * before to get them to work.

sorry i have to ask, does any of these #s fix 3G/4G signal?

Cool list thanks
Sent from my SAMSUNG-SGH-I717 using xda premium

Pls MODS sticky this! I have to google it everytime i need to find a code. Thanks.

Thumbs Up Bro
Wow!!!!
I Love your list buddy wonderful post mate

babymatteo said:
Pls MODS sticky this! I have to google it everytime i need to find a code. Thanks.
Click to expand...
Click to collapse
^ this
Sent from my SAMSUNG-SGH-I717 using XDA

Mortem Tuam said:
Not sure these have been posted or not ...
Click to expand...
Click to collapse
I can confirm that *#7284# works for my N7105T (Telstra) to get into PhoneUtil (as described here http://forum.xda-developers.com/showthread.php?t=1946915&highlight=n7105.
I can also confirm that *#06# displays the IMEI for the N7105T.
Awesome post...guru!

FINALLY!
I've been trying to get my phone working for months. I've even looked at this list before.
Just found out the thing I needed to change could be accessed via service mode!
Thank you, thank you, a million thank yous! I'm quite literally shaking with excitement.
:good::good::good::good::good:

thank you Mortem
Thank You. Very cool. :good:

i accidentally pressed *#003# on my samsung galaxy note 3 and the screen comes black with a letters GK appearing on it...and the welcome screen doesn't showed up anymore (e.g. "Samsung Galaxy Note III SM-N900")...what can i do to turn it back to normal welcome screen??please reply me @ [email protected] in advance

Related

[WM6.5] [Programs] JML.... tools (02-Nov-2010)

Programs Used in JMLToday <= 5.92​
Post#2 : Programs Informations
JMLPicture.exe See Post#3
Build a picture from multiple images/texts
JMLMenu.exe
Displays a context popup menu.
JMLComm.exe
Phone on/flight-mode, Wifi on/off, BT on/off/discoverable, Data on/off
JMLCalendar.exe
Saves the next appointments in registry
JMLSms.exe
Saves SMS in registry
JMLContacts.exe
Saves the next birthdays/anniversaries AND Favorites contacts in registry
JMLMeteo.exe
Saves the MSN or ACCU or GOOGLE weather informations in registry
JMLTasks.exe
Saves the next tasks in registry
Programs Informations ​
JMLMenu v1.80
The menu is configurable via a .mnu file :
- The main menu is [Menu]
- One element per line of menu : label= program;parameters
- One section per submenu : use [] -> label=[mysubmenu]
- External submenu (.mnu file) : use {} -> label={filesubmenu.mnu}
- Separator : sepX=SEPARATOR (X=unique number)
Parameters :
Code:
[b][color=red]-execute[/color][/b] if menu as once choice, it execute it immediately (menu not show)
[b]-x:[/b]X = X coordinate (X clic per default)
[b]-y:[/b]Y = Y coordinate (Y clic per default)
[b]-timeout:[/b]N = timeout in seconds to hide menu (10s per default)
Example : JMLAction.mnu
Code:
[Menu]
Restart Titanium=%JMLTODAY%\JMLToday.exe;-refresh
Update=%JMLTODAY%\JMLToday.exe;-update
Weather=%JMLTODAY%\JMLMeteo.exe;-jmltoday
Configuration=[color=blue][b][Config][/b][/color]
Parameters=[color=blue][b]{JMLParameters.mnu}[/b][/color]
[color=blue][b][Config][/b][/color]
Clock=%WINDOWS%\ctlpnl.exe;cplmain.cpl,16,0
Skin=%JMLTODAY%\JMLTodaySkins.mscr
City=%JMLTODAY%\JMLTodayVille.mscr
Language=%JMLTODAY%\JMLLang.mscr
To Launch :
- in a .pnx file : %JMLTODAY%\JMLMenu.exe;JMLAction.mnu
- in a .mscr script : Run(instPath&"\JMLMenu.exe","JMLAction.mnu")
---------------------------------------------------------------------------------
JMLComm v1.98
Parameters :
Code:
[color=red]-vibrate:duration[/color] = make a vibration (duration=25ms per default)
[color=red]-volume[/color] = toggle vibrate/mute/normal mode[color=red]
-volume:mode[/color] = volume mode : [b]vibrate,mute, normal[/b]
[color=red]-volume:level[/color] = volume level : [b]silent,verylow,low,medium,high,loud[/b]
[color=red]-backlight[/color] = toggle auto/manual mode
[color=red]-backlight:mode[/color] = backlight mode : [b]auto,manual[/b]
[color=red]-backlight:level[/color] = backlight level : [b]mini,low,medium,high,maxi[/b]
[color=red]-gps:timeout[/color] = store latitude/longitude in HKCU\\Software\\JML\\Comm (timeout=60s per defaut)
[color=red]-status[/color] = store some informations in HKCU\\Software\\JML\\Comm
-data = toggle on/off data-connection
-data:on = switch ON data-connection
-data:off = switch OFF data-connection
-phone = toggle on/off phone
-phone:on = switch ON phone
-phone:off = switch OFF phone
-flight = toggle on/off flight-mode
-flight:on = switch OFF phone, wifi, bluetooth
-flight:off = switch ON phone
-bt = toggle 3 states bluetooth
-bt:on = switch ON bluetooth
-bt:discoverable = switch ON with discoverable mode bluetooth
-bt:off = switch OFF bluetooth
-bt2 = toggle on/off bluetooth
-bt2:on = switch ON bluetooth
-bt2:off = switch OFF bluetooth
-wifi = toggle on/off wifi
-wifi:on = switch ON wifi
-wifi:off = switch OFF wifi
Example : turn OFF bluetooth
Code:
instPath = SystemPath( "ScriptPath" )
RunWait(instPath&"\JMLComm.exe", "-bt:off")
exit
---------------------------------------------------------------------------------
JMLCalendar v2.45
Registry structure:
Code:
[HKEY_CURRENT_USER\Software\JML\[color=green][b]Calendar[/b][/color]]
"total" = dword: number of appointments found
[HKEY_CURRENT_USER Software\JML\[b]Calendar[/b]\Cal[color=orange][b]N[/b][/color]]
"oid" = oid item in poom database
"allday" = 0=FALSE, 1=TRUE
"categories" = list of categories
...
"subject" = subject
Parameters for searching :
Code:
-max:N = maximum number wanted (5 per default)
-days:N = number of days involved (5 per default)
-reg:key = registry key to store ("[color=green][b]Calendar[/b][/color]" per default)
Parameters for appointment :
Code:
-dateview:[color=orange][b]N[/b][/color] = open poutlook.exe to view the appointment number N
-deleteall:end = delete all [b]ended[/b] appointments (except reccurring appointments)
-deleteoid:oid = delete an appointment identified by his oid
-notifyoid:oid = show an appointment identified by his oid
---------------------------------------------------------------------------------
JMLSms v1.80
Registry structure:
Code:
[HKEY_CURRENT_USER\Software\JML\[b]Sms[/b]]
"total" = dword: number of SMS found
[HKEY_CURRENT_USER Software\JML\[b]Sms[/b]\Sms[color=orange][b]N[/b][/color]]
"oid" = oid item in SMS in database
"unread" = 1 if unread SMS, 0 otherwise
...
"subject"= subject
Parameters for searching :
Code:
-max:N = maximum number wanted (5 per default)
-read:all = last all type SMS (last unread per default)
-reg:key = registry key to store ("[color=green]Sms[/color]" per default)
Parameters for sms :
Code:
[color=red]-phone:phone-number[/color] = Call a phone number
-reply:[color=orange][b]N[/b][/color] = Send a response SMS
-reply:[color=orange][b]N[/b][/color] = [color=red]-text:"my text"[/color] = Send a pre-defined text response SMS
-mark:[color=orange][b]N[/b][/color] = Mark as read the SMS
-mark:all = Mark as read all SMS
-markid:oid = Mark as read the SMS identified by his oid
-delete:[color=orange][b]N[/b][/color] = Delete the SMS
-delete:all = Delete all SMS
-delete:unread = Delete all Unread SMS
-deleteid:oid = Delete the SMS identified by his oid
-call:[color=orange][b]N[/b][/color] = Call in response to SMS (in order if exist : sender, mobilePhone, homePhone)
-notify:[color=orange][b]N[/b][/color] = show the SMS
-notifyid:oid = show the SMS identified by his oid
-sms:phone-number = Send a response SMS
-sms:phone-number = [color=red]-text:"my text"[/color] = Send a pre-defined text response SMS
---------------------------------------------------------------------------------
JMLContacts v1.95
Registry structure :
Code:
[HKEY_CURRENT_USER\Software\JML\[b]Contacts[/b]\Anniversaries]
"total" = dword: number of contacts found
[HKEY_CURRENT_USER Software\JML\[b]Contacts[/b]\Anniversary[color=orange][b]N[/b][/color]]
"oid" = oid of Contact in database
...
[b][/b]
"picture"= full path of picture file name (in \My Documents\My Pictures...)
Idem for Favorites : in [HKEY_CURRENT_USER\Software\JML\Contacts\Favorites]
Parameters for searching :
Code:
-max:N = maximum number wanted (5 per default)
-days:N = number of days involved (30 per default)
-reg:key = registry key to store ("[color=green][b]Contacts[/b][/color]" per default)
-anniversaries = search in 'Anniversary' field of contact
-birthdays = search in 'Birthday' field of contact
-anniversaries -birthdays are per default
Parameters for contact :
Code:
[color=red]-call:N[/color] = Call a contact
[color=red]-email:address -account:account[/color] = Send a email from an account-name (Outlook per default)
[color=red]-addfavorite:N[/color] = Add a new favorite contact
[color=red]-removefavorite:N[/color] = Remove a favorite contact
[color=red]-callfavorite:N[/color] = Call a favorite contact
-phone:phone-number = Call phone number
-sms:phone-number = Send SMS to phone number
-smsoid:oid = Send SMS to phone number to contact identified by his oid
---------------------------------------------------------------------------------
JMLMeteo v2.55
Registry structure:
Code:
[HKEY_CURRENT_USER\Software\JML\Meteo]
"total" = dword: number of days found
...
[HKEY_CURRENT_USER Software\JML\Meteo\Current]
...
[HKEY_CURRENT_USER Software\JML\Meteo\DayN]
...
Parameters :
Code:
[color=red]-gps[/color] : acquire gps location (as JMLComm.exe)
-msn:code = city code (ex. : [b]FRXX0016[/b])
-lang:ll-ll = language (en-en per default)
-degree:C = C or F (C per default)
-map:m = number of map to download
-accu:code = city code (ex. : [b]EUR|FR|FR002|BORDEAUX[/b])
-metric: = 1 or 0 (1 per default)
-google:code = city code (ex. : [b]Bordeaux[/b])
-lang:ll = language (en per default)
-degree:C = C or F (C per default)
GPS location with built-in jmlPosition:
Code:
-gps
-accu:[b]jmlPosition[/b]
-metric: = 1 or 0 (1 per default)
OR Acquire GPS-location with JMLComm.exe and next call JMLMeteo with :
Code:
-accu:[b]jmlPosition[/b]
-metric: = 1 or 0 (1 per default)
GPS location with Sleuth's myLocation Service :
- first, install http://forum.xda-developers.com/showthread.php?t=607102
- use it to update Latitude/Longitude coordinates
- next, call JMLMeteo.exe with these parameters :
Code:
-accu:[b]myLocation[/b]
-metric: = 1 or 0 (1 per default)
GPS location with Google Latitude:
- first, copy your googleLatitude account in google.ID file.
- next, call JMLMeteo.exe with these parameters :
Code:
-accu:[b]googleLatitude[/b]
-metric: = 1 or 0 (1 per default)
---------------------------------------------------------------------------------
JMLTasks v1.40
Registry structure:
Code:
[HKEY_CURRENT_USER\Software\JML\[color=green][b]Tasks[/b][/color]]
"total" = dword: number of tasks found
[HKEY_CURRENT_USER Software\JML\[b]Tasks[/b]\Task[color=orange][b]N[/b][/color]]
"oid" = oid item in poom database
"categories" = list of categories
...
"subject" = subject
Parameters for searching :
Code:
-max:N = maximum number wanted (5 per default)
-days:N = number of days involved (5 per default)
-reg:key = registry key to store ("[color=green][b]Tasks[/b]][/color]" per default)
-withCompleted = show all tasks
-sort:due = sort by due tasks
-sort:start = sort by date (per default)
manila = store all tasks in HKEY_LOCAL_MACHINE\Software\HTC\\Manila
Parameters for task :
Code:
-view:[color=orange][b]N[/b][/color] = open poutlook.exe to view the task number N
-delete:[color=orange][b]N[/b][/color] = delete the task number N
-complete:[color=orange][b]N[/b][/color] = complete the task number N
-deleteall:due = delete all [b]due[/b] tasks
-deleteall:completed = delete all [b]completed[/b] tasks
-deleteoid:oid = delete the task identified by his oid
-completeoid:oid = complete the task identified by his oid
---------------------------------------------------------------------------------
JMLFavorites v1.00 (SOON)
Registry structure :
Code:
[HKEY_CURRENT_USER\Software\JML\[b]Favorites[/b]]
[HKEY_CURRENT_USER Software\JML\[b]Favorites[/b]\Favorite[color=orange][b]N[/b][/color]]
"type" = type of favorite : '[color=orange]contact[/color]' or '[color=orange]program[/color]'
"picture"= full path of picture file name
"label"= fistname for contact, filename for program
...
Parameters for favorite :
Code:
-call:N = CALL a contact or RUN a program
-add:N = Add a new favorite (contact per default)
-type:contact = with -add parameter, add a '[color=orange]contact[/color]'
-type:program = with -add parameter, add a '[color=orange]program[/color]'
-remove:N = Remove a favorite
---------------------------------------------------------------------------------
JMLPicture Thank you for offering me a beer. All donations (3€, 5$, +) are appreciated !
Build a picture from multiple images/texts (see picture below).
<Picture...> Parameters :
Code:
[b]Width[/b] result picture with
[b]Height[/b] result picture height
[b]Bkg[/b] initial background color (RGB format)
[b]Transparent[/b] set one color of result picture as transparent (RGB format)
[b]Target[/b] png file name of result picture
[b]Source[/b] png file name of background picture
<Image...> Parameters :
Code:
[b]Left[/b] left-coordinate
[b]Top[/b] top-coordinate
[b]Width[/b] with of displaying picture (with of picture per default)
[b]Height[/b] height of displaying picture (heigh of picture per default)
[b]ScaleStyle[/b]
[b]Alignment[/b]
[b]ID[/b] JMLToday ID ITEM (Page is required)
[b]Page[/b] JMLToday Page ITEM (ID is required)
<Text...> Parameters :
Code:
[b]Left[/b] left-coordinate
[b]Top[/b] top-coordinate
[b]Width[/b] with of displaying text
[b]Height[/b] height of displaying text
[b]Value[/b] text value
[b]FontFamily[/b] font name
[b]FontSize[/b] font size
[b]FontStyle[/b] font style : 'italic', 'bold'
[b]Color[/b] text color (RGB format)
[b]Alignment[/b] 'center', 'right' or 'left' (per default)
[b]ID[/b] JMLToday ID ITEM (Page is required)
[b]Page[/b] JMLToday Page ITEM (ID is required)
Example : ClockText.xml
Code:
<Picture Width="400" Height="200" Bkg="192,192,192" Target="%APPDIR%/ClockText.png">
<Image Left="0" Top="0" ID="BGAMPMALARM" Page="Page1" />
<Image Left="20" Top="40" ID="H1" Page="Page1" />
<Image Left="100" Top="40" ID="H2" Page="Page1" />
<Image Left="225" Top="40" ID="M1" Page="Page1" />
<Image Left="305" Top="40" ID="M2" Page="Page1" />
<Text Left="15" Top="140" Value="AM" Color="128,0,0" FontFamily="Tahoma" FontSize="8" FontStyle="Bold,Italic" />
<Text Left="15" Top="160" ID="City" Page="Page1" FontFamily="Tahoma" FontSize="6" FontStyle="Italic" />
</Picture>
@all : add some program informations ..... in Post#2
A++
Hi.
I sure do love command-line tools! I added them to the Mortscript Source Compendium's list.
And to facilitate my testing them to see if magically they will work with wm5 smartphones, I added a Command-Line tester to The Mortifier. So we can browse to the exe and enter our command line parameters. Keeps the old exe and parameters in memory so you can re-test them easily.
Thanks for these.
Hi.
So i was using Message2reg.exe. It seems with wm653 m2reg gives an error.
I am trying to use jmlsms.exe to see if that can work.
Code:
RunWait(SystemPath("ScriptPath") \ "\Utility\JMLSms.exe","-read:all")
MsgSender = RegRead(HKCU, "\Software\JML\Sms\Sms1", "sender")
MsgBody = RegRead( HKCU,"\Software\JML\Sms\Sms1", "subject")
Think that looks good?
@howdykeith : Yes I think it should work.
StatusTicker and JML...
Hi,
So i incorporated JMLsms.exe and JMLcomm.exe into the StatusTicker.
Works super great!
In future version I will include more of you apps infos... I also will make sure to include the URL to your apps as well.
Thanks much!
Hello,
I'm trying to use JMLContacts.exe to have birthdays on my WAD2 Skin.
I've installed JMLToday and everything worked fine and registry was filled by next 5 birthdays information.
Now I'm trying to update information outside of Titanium/JMLToday and to do it I'm using a mortscript.
Inside script I wrote the following line:
RunWait("\Storage Card\Program Files\UtilsExe\JML\JMLContacts.exe", "-max:3")
Unfortunately it seems not working, at least registry values are not updated. I double checked path and it appears absolutely correct.
More I tried to simply launching JMLContacts.exe directly from TCMD, and I expected it worked with all default values, but of course it didn't... Is my supposition a wrong one?
Meanwhile, thanks a lot to let available for us those little but great tools
@dagosjt :
you must use also -days (0 per default), -birthdays (and /or -anniversaries) parameters
example :
-max:3 -days:365 -birthdays
Ok ? thanks for feedback.
A++
PS : i think i 'll change the default parameters values in a next version...
JMHL said:
@dagosjt :
you must use also -days (0 per default), -birthdays (and /or -anniversaries) parameters
example :
-max:3 -days:365 -birthdays
Ok ? thanks for feedback.
A++
PS : i think i 'll change the default parameters values in a next version...
Click to expand...
Click to collapse
Yes!
Works perfect now I thought days:0 meaning was "all days", sometime it happens in software
HI JMHL
I want to know if JMLMeteo can search for a location based on latitude and longitude
@saeli : not for the moment. Next feature perhaps if more people are interested and if it's easy to hard-coded.
A++
@jmhl: perhaps ypu can use this for location awareness:
forum.xda-developers.com/showthread.php?t=607102
then it could work
Salut
Micha
@Micha : thanks, i look ....
@saeli : ok, weather location based on latitude and longitude certainly in next version.
@micha : thanks for the tips.
A++
JMHL,
Still no HD2 ?
@Zepiii : no. waiting more operator points to change....
A++
@saeli & @all : location based on latitude and longitude in next version of JMLMeteo (in next JMLToday v5.80).
2 ways :
- Sleuth's myLocation Service
- google Latitude
A++
JMHL said:
@saeli & @all : location based on latitude and longitude in next version of JMLMeteo (in next JMLToday v5.80).
2 ways :
- Sleuth's myLocation Service
- google Latitude
A++
Click to expand...
Click to collapse
this is a wery fantastic news
when you think to release new version ?

galaxy ace secret codes and test codes

FIRMWARE VERSION INFORMATION
*#*#1234#*#* - PDA and Phone
*#*#1111#*#* - FTA SW Version
*#*#2222#*#* - FTA HW Version
*#*#44336#*#* - PDA, Phone, CSC, Build Time, Changelist number
*#*#4636#*#*-This code is used to get various information about your phone and battery. It shows following 4 menus on screen:
Phone information
Battery information
Battery history
Usage statistics
*#*#7780#*#*-Factory data reset.It REMOVES:
Google account settings
System and application data and settings
Downloaded applications
It DOES NOT REMOVE:
system software and bundled applications
SD card files
*2767*3855#-WARNING:Factory Reset.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.
*#*#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.
*#*#8255#*#*-This code can be used to launch GTalk Service Monitor.
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
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
UPDATE 18/06/2012
ALL SAMSUNG UNLOCK CODE....
---------------------------
*2767*688# = Unlocking Code
*#8999*8378# = All in one Code
*#4777*8665# = GPSR Tool
*#8999*523# = LCD Brightness
*#8999*3825523# = External Display
*#8999*377# = Errors
#*5737425# = JAVA Something{I choose 2 and it chrashed}][/b]
*#2255# = Call List
#*536961# = Java Status Code
#*536962# = Java Status Code
#*536963# = Java Status Code
#*53696# = Java Status Code
#*1200# = AFC DAC Val
#*1300# = IMEI
#*1400# = IMSI
#*2562# = ??? White for 15 secs than restarts.
#*2565# = Check Blocking
#*3353# = Check Code
#*3837# = ??? White for 15 secs than restarts.
#*3849# = ??? White for 15 secs than restarts.
#*3851# = ??? White for 15 secs than restarts.
#*3876# = ??? White for 15 secs than restarts.
#*7222# = Operation Typ (Class C GSM)
#*7224# = I Got !! ERROR !!
#*7252# = Operation Typ (Class B GPRS)
#*7271# = Multi Slot (Class 1 GPRS)
#*7274# = Multi Slot (Class 4 GPRS)
#*7276# = Dunno
#*7337# = EEPROM Reset (Unlock and Resets Wap Settings)
#*2787# = CRTP ON/OFF
#*3737# = L1 Dbg data
#*5133# = L1 Dbg data
#*7288# = GPRS Attached
#*7287# = GPRS Detached
#*7666# = SrCell Data
#*7693# = Sleep Act/DeAct (Enable or Disable the Black screen after doing nothing for a while)
#*7284# = Class : B,C or GPRS
#*2256# = Calibration Info
#*2286# = Battery Data
#*2527# = GPRS Switching (set to: class 4, class 8, class 9 or class 10)
#*2679# = Copycat feature (Activate or Deactivate)
#*3940# = External loop test 9600 bps
#*4263# = Handsfree mode (Activate or Deactivate)
#*4700# = Half Rate (Activate or Deactivate)
#*7352# = BVMC Reg value
#*8462# = Sleeptime
#*2558# = Time ON
#*3370# = EFR (Activate or Deactivate)
#*3941# = External looptest 115200 bps
#*5176# = L1 Sleep
#*7462# = SIM phase
#*7983# = Voltage/Frequenci (Activate or Deactivate)
#*7986# = Voltage (Activate or Deactivate)
#*8466# = Old time
#*2255# = Call ???
#*5187# = L1C2G trace (Activate or Deactivate)
#*5376# = ??? White for 15 secs than restarts.
#*6837# = Official Software Version
#*7524# = KCGPRS
#*7562# = LOCI GPRS
#*7638# = RLC allways open ended TBF (Activate or Deactivate)
#*7632# = Sleep mode Debug
#*7673# = Sleep mode RESET
#*2337# = Permanent Registration Beep
#*2474# = ???
#*2834# = Audio Path
#*3270# = DCS support (Activate or Deactivate)
#*3282# = Data (Activate or Deactivate)
#*3476# = EGSM (Activate or Deactivate)
#*3676# = Flash volume formated
#*4760# = GSM (Activate or Deactivate)
#*5171# = L1P1
#*5172# = L1P2
#*5173# = L1P3
#*7326# = Accessory (I got Vibrator)
#*7683# = Sleep variable (8)
#*7762# = SMS Brearer CS (Activate or Deactivate)
#*8465# = Time in L1
#*9795# = wtls key
#*2252# = Current CAL
#*2836# = AVDDSS Management (Activate or Deactivate)
#*3877# = Dump of SPY trace
#*7728# = RSAV done# (Everything went to standart but nothing was deleted)
#*2677# = ARM State (None or Full Rate)
*#8999*636# = Have no clue what it is, i see 20 lines
*#9999# = Software version
*#8999*8376263# = HW ver, SW ver and Build Date
*#8888# = HW version
*#8377466# = Same HW/SW version thing
*#7465625# = Check the locks
*7465625*638*Code# = Enables Network lock
#7465625*638*Code# = Disables Network lock
*7465625*782*Code# = Enables Subset lock
#7465625*782*Code# = Disables Subset lock
*7465625*77*Code# = Enables SP lock
#7465625*77*Code# = Disables SP lock
*7465625*27*Code# = Enables CP lock
#7465625*27*Code# = Disables CP lock
*7465625*746*Code# = Enables SIM lock
#7465625*746*Code# = Disables SIM lock
*7465625*228# = Activa lock ON
#7465625*228# = Activa lock OFF
*7465625*28638# = Auto Network lock ON
#7465625*28638# = Auto Network lock OFF
*7465625*28782# = Auto subset lock ON
#7465625*28782# = Auto subset lock OFF
*7465625*2877# = Auto SP lock ON
#7465625*2877# = Auto SP lock OFF
*7465625*2827# = Auto CP lock ON
#7465625*2827# = Auto CP lock OFF
*7465625*28746# = Auto SIM lock ON
#7465625*28746# = Auto SIM lock OFF
*2767*3855# = E2P Full Reset
*2767*2878# = E2P Custom Reset
*2767*927# = E2P Wap Reset
*2767*226372# = E2P Camera Reset
#*6420# = MIC Off
#*6421# = MIC On
#*6422# = MIC Data
#*6428# = MIC Measurement
#*3230# = Trace enable and DCD disable
#*3231# = Trace disable and DCD enable
#*3232# = Current Mode
#7263867# = RAM Dump (On or Off)
*2767*49927# = Germany WAP Settings
*2767*44927# = UK WAP Settings
*2767*31927# = Netherlands WAP Settings
*2767*420927# = Czech WAP Settings
*2767*43927# = Austria WAP Settings
*2767*39927# = Italy WAP Settings
*2767*33927# = France WAP Settings
*2767*351927# = Portugal WAP Settings
*2767*34927# = Spain WAP Settings
*2767*46927# = Sweden WAP Settings
*2767*380927# = Ukraine WAP Settings
*2767*7927# = Russia WAP Settings
*2767*30927# = GREECE WAP Settings
*2767*73738927# = WAP Settings Reset
*2767*49667# = Germany MMS Settings
*2767*44667# = UK MMS Settings
*2767*31667# = Netherlands MMS Settings
*2767*420667# = Czech MMS Settings
*2767*43667# = Austria MMS Settings
*2767*39667# = Italy MMS Settings
*2767*33667# = France MMS Settings
*2767*351667# = Portugal MMS Settings
*2767*34667# = Spain MMS Settings
*2767*46667# = Sweden MMS Settings
*2767*380667# = Ukraine MMS Settings
*2767*7667#. = Russia MMS Settings
*2767*30667# = GREECE MMS Settings
*335# = Delete all MMS Messages
*663867# = Dump Mm file
#*536961# = WAPSAR enable / HTTP disable
#*536962# = WAPSAR disable / HTTP enable
#*536963# = Serial eable / Others disable
#*53696# = Java Download Mode
#*5663351# = Wap Model ID [Your Model]
#*5663352# = Wap Model ID [SEC-SGHXXXX/1.0]
#*566335# = Wap Model ID [SEC-SGHXXXX/1.0]
*2767*66335# = Check on which model it is
*2767*7100# = SEC-SGHS100/1.0
*2767*8200# = SEC-SGHV200/1.0
*2767*7300# = SEC-SGHS300/1.0
*2767*7650# = Nokia7650/1.0
*2767*2877368# = Reset WAP Model ID to standart
I hope you enjoy it
DO ANYTHING AT YOUR OWN RISK!
IF YOU DO NOT KNOW WHAT YOU ARE DOING PLS DO NOT DO IT!
I never knew there were so many codes!
Thanks!
Sent from my GT-S5830 using Tapatalk 2
i will update it as soon as i find some more working
i have a file full of codes but i have to tes them before post
in 1 or 2 days it will be updated
thankyou brother
do you know how to change regional with a screet code?
sorry for my bad english
what do you mean by regional?
you need sim unlock code?or something else?
stealthware said:
thankyou brother
do you know how to change regional with a screet code?
sorry for my bad english
Click to expand...
Click to collapse
*272*yourimeinumber#
You cam find your imei with this code.
*#06#
Sent from my GT-S5830 using Tapatalk 2
Awesome
Thanks
kumicho said:
what do you mean by regional?
you need sim unlock code?or something else?
Click to expand...
Click to collapse
not sim unlock code, but the regional restore for readability if there is an update on Kies
for example the base regional ddkq8 is indan firmware, i want to regional indonesian is xse. without replacing the firmware can be used a screet code
sorry for bad english
---------- Post added at 03:24 PM ---------- Previous post was at 03:21 PM ----------
galaxyace152 said:
*272*yourimeinumber#
You cam find your imei with this code.
*#06#
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
thankyou brother for info
like it
great
thanks for that thorough list of codes, this might come in handy sometime!
Thanks for the huge collection.
Sent from my GT-S5830 using Tapatalk 2
factory data reset
It is an awesome list you gave us. Thanx
I just want to know...if i type *#*#7780#*#* it will leave my cell phone as when i took it out of the box??
or is it the one with *2767*3855#? and will it restore apps i erased with root superuser??
thanks
Great...but
These codes posted are definitely a great collection, wonderful I would say. But beware, some websites may utilise these code to hack your phone. Like for example, the website may just dial one of the reset codes and reset the entire phone. This is definitely not a very great experience. There is a solution thou, by installing a third party dialer to prevent these codes from executing.
stevenkyk said:
These codes posted are definitely a great collection, wonderful I would say. But beware, some websites may utilise these code to hack your phone. Like for example, the website may just dial one of the reset codes and reset the entire phone. This is definitely not a very great experience. There is a solution thou, by installing a third party dialer to prevent these codes from executing.
Click to expand...
Click to collapse
Elaborate on how we can protect ourselves from said threat.
Sent from my GT-S5830 using xda app-developers app

Compiling a list of hidden dialpad codes!

For those that don't know about it - there are a number of "hidden" codes to enter on your dialpad to call up hidden menus and information about your phone.
For instance, here are some I've seen in other posts and other sites. I don't know if they are carrier specific or not, but these work on my AT&T SG3. I'll add to the OP as I learn about more of them. I'll add screenshots when I can...
*#SELF# (*#7353#) Test menu
*#0*# Test menu style 2
*#0228# BatteryStatus screen
*#0011# Enter Service Mode (use menu and back softkeys to move around)
*#06# Show IMEA Number
*#1111# S/W Version
*#1234# Firmware Version
*#2222# H/W Version
Sent from my A500 using Tapatalk 2
These are Samsung Global Codes
*#1234# = Firmware Version.
*#2222# = H/W Version.
*#8999*8376263# = All Versions Together.
*#8999*8378# = Test Menu.
*#4777*8665# = GPSR Tool.
*#8999*523# = LCD Brightness.
*#8999*377# = Error Menu.
*#8999*327# = EEP Menu.
*#8999*667# = Debug Mode.
*#92782# = PhoneModel. (Wap)
#*5737425# = JAVA Mode.
*#2255# = Call List.
*#232337# = Bluetooth MAC Adress.
*#5282837# = Java Version.
#*4773# = Incremental Redundancy.
#*7752# = 8 PSK uplink capability bit.
#*7785# = Reset wakeup & RTK timer cariables/variables.
#*7200# = Tone Generator Mute.
#*3888# = BLUETOOTH Test mode.
#*7828# = Task screen.
#*#8377466# = S/W Version & H/W Version.
#*2562# = Restarts Phone.
#*2565# = No Blocking? General Defense.
#*3353# = General Defense, Code Erased.
#*3837# = Phone Hangs on White screen.
#*3849# = Restarts Phone.
#*3851# = Restarts Phone.
#*3876# = Restarts Phone.
#*7222# = Operation Typ: (Class C GSM)
#*7224# = !!! ERROR !!!
#*7252# = Operation Typ: (Class B GPRS)
#*7271# = CMD: (Not Available)
#*7274# = CMD: (Not Available)
#*7337# = Restarts Phone. (Resets Wap Settings)
#*2787# = CRTP ON/OFF.
#*2886# = AutoAnswer ON/OFF.
#*3737# = L1 AFC.
#*5133# = L1 HO Data.
#*7288# = GPRS Detached/Attached.
#*7287# = GPRS Attached.
#*7666# = White Screen.
#*7693# = Sleep Deactivate/Activate.
#*7284# = L1 HO Data.
#*2256# = Calibration info? (For CMD set DEBUGAUTONOMY in cihard.opt)
#*2286# = Databattery.
#*2527# = GPRS switching set to (Class 4, 8, 9, 10)
#*2679# = Copycat feature Activa/Deactivate.
#*3940# = External looptest 9600 bps.
#*4263# = Handsfree mode Activate/Deactivate.
#*4700# = Please use function 2637.
#*7352# = BVMC Reg value (LOW_SWTOFF, NOMINAL_SWTOFF)
#*2558# = Time ON.
#*3370# = Same as 4700.
#*3941# = External looptest 115200 bps
#*5176# = L1 Sleep.
#*7462# = SIM Phase.
#*7983# = Voltage/Freq.
#*7986# = Voltage.
#*8466# = Old Time.
#*2255# = Call Failed.
#*5187# = L1C2G trace Activate/Deactivate.
#*5376# = DELETE ALL SMS!!!!.
#*6837# = Official Software Version: (0003000016000702)
#*7524# = KCGPRS: (FF FF FF FF FF FF FF FF 07)
#*7562# = LOCI GPRS: (FF FF FF FF FF FF FF FF FF FF FF FE FF 01)
#*2337# = Permanent Registration Beep.
#*2474# = Charging Duration.
#*2834# = Audio Path. (Handsfree)
#*3270# = DCS Support Activate/Deactivate.
#*3282# = Data Activate/Deactivate.
#*3476# = EGSM Activate/Deactivate.
#*3676# = FORMAT FLASH VOLUME!!!
#*4760# = GSM Activate/Deactivate.
#*4864# = White Screen.
#*5171# = L1P1.
#*5172# = L1P2.
#*5173# = L1P3.
#*7326# = Accessory.
#*7683# = Sleep variable.
#*8465# = Time in L1.
#*2252# = Current CAL.
#*2836# = AVDDSS Management Activate/Deactivate.
#*3877# = Dump of SPY trace.
#*7728# = RSAV.
#*2677# = Same as 4700.
#*3728# = Time 2 Decod.
#*3725# = B4 last off.
#*7372# = Resetting the time to DPB variables.
#*7732# = Packet flow context bit Activate/Deactivate.
#*6833# = New uplink establishment Activate/Deactivate.
#*3273# = EGPRS multislot. (Class 4, 8, 9, 10)
#*7722# = RLC bitmap compression Activate/Deactivate.
#*2351# = Blinks 1347E201 in RED.
#*4472# = Hysteresis of serving cell: 3 dB
#*2775# = Switch to 2 inner speaker.
#*9270# = Force WBS.
#*7878# = FirstStartup. (0=NO, 1=YES)
#*3757# = DSL UART speed set to. (LOW, HIGH)
#*8726# = Switches USBACM to Normal.
#*8724# = Switches USBACM to Generator mode.
#*8727# = Switches USBACM to Slink mode.
#*8725# = Switches USBACM to Loop-back mode.
#*3838# = Blinks 3D030300 in RED.
#*2077# = GPRS Switch.
#*2027# = GPRS Switch.
#*0227# = GPRS Switch.
#*0277# = GPRS Switch.
#*8370# = Tfs4.0 Test 0.
#*8371# = Tfs4.0 Test 1.
#*8372# = Tfs4.0 Test 2.
#*8373# = Tfs4.0 Test 3.
#*8374# = Tfs4.0 Test 4.
#*8375# = Tfs4.0 Test 5.
#*8376# = Tfs4.0 Test 6.
#*8377# = Tfs4.0 Test 7.
#*8378# = Tfs4.0 Test 8.
#*8379# = Tfs4.0 Test 9.
#*7878# = FirstStartup. (0=NO, 1=YES)
#*3838# = Blinks 3D030300 in RED.
#*2077# = GPRS Switch.
#*2027# = GPRS Switch.
#*0227# = GPRS Switch.
#*0277# = GPRS Switch.
#*22671# = AMR REC START.
#*22672# = Stop AMR REC. (File name: /a/multimedia/sounds/voice list/ENGMODE.amr)
#*22673# = Pause REC.
#*22674# = Resume REC.
#*22675# = AMR Playback.
#*22676# = AMR Stop Play.
#*22677# = Pause Play.
#*22678# = Resume Play.
#*77261# = PCM Rec Req.
#*77262# = Stop PCM Rec.
#*77263# = PCM Playback.
#*77264# = PCM Stop Play.
#*22679# = AMR Get Time.
*#8999*364# = Watchdog ON/OFF.
*#8999*427# = WATCHDOG signal route setup.
*2767*226372# = Camera Reset. (deletes photos)
*2767*3855# = E2P Full Reset.
*2767*2878# = E2P Custom Reset.
*2767*927# = E2P Wap Reset.
*2767*226372# = E2P Camera Reset.
*2767*688# = Reset Mobile TV.
#7263867# = RAM Dump. (On or Off)
Not sure where you pulled those from, but I ran across them on another site and tried them. However, MOST of them don't seem to do anything on the GS3. The ones I posted definitely work, at least on my phone. I'm guessing most of those codes in your list were for the GS2 or earlier. Or maybe the international version of the GS3. I want to post codes that we KNOW work.

Raspberry GPIO email script

Hi,
I made a simple script that sends me an email when the raspberry detects a rising signal on a gpio input
Between the switch and the gpio i have mounted a resistor (1K ohm all connections are soldered) to prevent the gpio from flaoting
Script works well but when it is up and running for about 15min the RPI detects a rising signal?
Can someone help me out?
greets kawa
Script:
--------------------------------------------------------------------------
import smtplib
import time
def sendemail(from_addr, to_addr_list, cc_addr_list,
subject, message,
login, password,
smtpserver='smtp.gmail.com:587'):
header = 'From: %s\n' % from_addr
header += 'To: %s\n' % ','.join(to_addr_list)
header += 'Cc: %s\n' % ','.join(cc_addr_list)
header += 'Subject: %s\n\n' % subject
message = header + message
server = smtplib.SMTP(smtpserver)
server.starttls()
server.login(login,password)
problems = server.sendmail(from_addr, to_addr_list, message)
server.quit()
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setup(23, GPIO.IN, pull_up_down=GPIO.PUD_DOWN)
GPIO.setup(24, GPIO.OUT, initial=False) #Siren pin setup
try:
GPIO.wait_for_edge(23, GPIO.RISING)
print "\nRising edge ALARM"
sendemail(from_addr = '@gmail.com',
to_addr_list = ['@gmail.coml'],
cc_addr_list = [''],
subject = 'ALARM',
message = 'alarm',
login = '@gmail.com',
password = '****')
GPIutput(24, True)
time.sleep(5)
except KeyboardInterrupt:
GPIO.cleanup() # clean up GPIO on CTRL+C exit
GPIO.cleanup() # clean up GPIO on normal exit

[Ugoos X3 and probably a lot of other devices, and even NAS devices] [Solved] Why samba/smb transfer rate is slow despite a gigabit Ethernet port ?

Hello everyone,
For my first thread, I won't ask a question, I will post a solution.
I have recently acquired a second-hand Ugoos X3 device, which is quite a good device.
But I have been really frustrated upon testing it after unboxing it, because despite the fact that this device advertises for the ability of having a Gigabit ethernet port and a builtin samba server, my tests showed a max 11,4 MiB/s instead of rather a 114 MiB/s.
I started to identify the reason, with a vast amount of Googling. After realizing how many people on earth already been through this (mostly unsolved) issue, and after testing the good gigabit-readiness of my Ethernet cable, I dug into the rabbit hole of the system.
I then discovered the root causes, and you won't like it :
- the smbd binary dates from 2005
- the smb.conf is counter-optimized and dates from this 2005 era
See for yourself:
Code:
/data/system/samba_________________ug # ./smbd -V
Version 3.0.20a
Code:
[global]
interfaces = wlan0 eth0 eth1 eth2
min protocol = SMB2
bind interfaces only = yes
workgroup = WORKGROUP
server string = Samba on Android mediacenter
netbios name = mybox
#remote announce = 255.255.255.255
encrypt passwords = yes
security = SHARE
restrict anonymous = 0
load printers = no
printcap name = /dev/null
disable spoolss = yes
deadtime = 5
delete readonly = yes
nt acl support = no
inherit permissions = yes
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=64000 SO_RCVBUF=64000 SO_KEEPALIVE
local master = no
unix extensions = yes
[internal storage]
vfs objects = fake_perms
comment = mybox /sdcard
path = /sdcard
force user = root
read only = no
writable = yes
guest ok = yes
A lot of directives in this config file are totally deprecated, and the "socket options" is responsible for capping at 11,4 MiB/s.
So after having spent this vast amount of time finding the issue, I took some to patch.
Here's my solution.
0) Root your device
1) Download the Termux compiled package of your device architecture of the "samba" package : https://grimler.se/termux-packages-24/pool/main/s/samba/
2) On your device, replace the smbd binary with the Termux one, at this location : "/data/system/samba_________________ug"
3) Replace the original "smb.conf" (same directory than previous) configuration with this one (which by way the contains security hardening features and support SMBv2 which allows not installing SMBv1 on Windows...)
Code:
[global]
lock dir = /data/local/tmp/lock/
state directory = /data/local/tmp/state/
ncalrpc dir = /data/local/tmp/ncalrpc/
interfaces = wlan0 eth0 eth1 eth2
server min protocol = SMB2
bind interfaces only = yes
workgroup = WORKGROUP
server string = Samba on Android mediacenter
netbios name = mybox
server role = standalone server
security = user
map to guest = Bad Password
usershare allow guests = yes
load printers = no
printcap name = /dev/null
disable spoolss = yes
deadtime = 5
delete readonly = yes
nt acl support = no
inherit permissions = yes
local master = no
disable netbios = yes
smb ports = 445
lm announce = no
multicast dns register = no
[internal storage]
vfs objects = fake_perms
comment = mybox /sdcard
path = /sdcard
force user = root
read only = no
writable = yes
guest ok = yes
4) Edit the "smbd" binary calling line in the "samba-rc" launching script, with this one
Code:
$PRE/smbd -D -s /data/system/samba_________________ug/smb.conf
Reboot your device, you now have a best-of-breed samba server and configuration.
A simple but heartful message to Ugoos: update the packages you use in your image ! We need more up-to-date binaries and configuration from your products ! Provide firmwares that does not require to make people do insecure stuff such as installing SMBv1 client on their client !
I am really grateful to these resources which helped a lot:
- https://lafibre.info/nas/perfs-moisies-avec-samba/ (sorry, in french, use google translate)
- https://serverfault.com/questions/470650/samba-configuration-for-public-shares/700449#700449
- https://blog.hiebl.cc/posts/why-your-samba-config-does-not-work/
Hello. According to your instructions with file replacement and line editing, the server becomes inoperable. The server activation checkbox is not activated in the ugoos settings. Please describe the actions in more detail or upload files for replacement.
Hello @Nereal-NeSkill,
As of step 1), try to perform a "pkg install samba" first with Termux.
Then, can you perform a "./samba-rc start" and paste here the output ?
Was a bit skeptical replacing daemon but It works great!

Categories

Resources