Related
Nice and easy Tool:
http://www.softsea.com/review/Portmon.html
Maybe someone saw/know the yellow Message "UPLOAD data to pc"...
How to catch Data if "Bluescreen" comes and "UPLOAD data to pc" message appears?
It seems this nuke my Portmon...
Any suggestions please?
Maybe I'm blind or these are not stored in Debug folder...
Best Regards
Edit 1.
Changed title.
If you have a Windows XP machine left, try this to watch the serial port:
ups, i can't post links here. Google for serialmon dot com .....
It's output is a little easier to use than portmons. In general, using a serial port monitor to watch the communication between wave and pc, seems to be very unstable business.
Now I'm closer...
Taken info from Samsung GT-S8500L Wave Training Manual SW.ppt...
If someone needs the Settings to attach handset correct, ask me... in this Thread.
Best Regards
Could you post the settings, found this earlier, but couldn't do anything with it.
Thanks
I'll try to describe "short" steps.
1.
You have to be sure that Debug Level Middle is on. Please read here:
http://forum.xda-developers.com/showpost.php?p=10616930&postcount=3
Level Mode High shows more events...
2.
If you have access to Internal menu:
*#7092463*#
Maybe set to High or go to Debug Settings... described in ...Manual SW.ppt...
site 15
3.
Start WinComm and now check site 16 on *.ppt manual. All settings are on Picture.
4.
On handset I have choose Debug Mode instead Kies... this thingie if you plug cable into Wave... maybe go to Settings and set to ask by connection instead Kies
5.
Be sure you choose the "second" Port. Now Wave have 2 COM Ports activated.
Second one is for incoming Data.
Hope this helps an little bit.
If problems ask again.
Then I'll try to make some Screenshots or maybe some other hints...
Best Regards
Ehm have you found that Wincomm2010.exe
Click to expand...
Click to collapse
2010 no, but 2009 like in this Picture is attached.
WinComm2009.zip
Best Regards
Handset
Under Settings->Connectivity->USB->Ask on connection
To have chance to set USB Debugging
Wincomm
I will try later maybe Open or Close for connect to the port.
Important is to choose second COM Port...
Also important to activate UE Awake in settings like on Picture.
As it seems initial AT command is mandatory AT+WINCOMM...
Best Regards
P.S.:
I'm using XP 32 Bit... no other OS tested by me.
so now you can upload fw files from the phone or what???
so now you can upload fw files from the phone or what???
Click to expand...
Click to collapse
Now you could see internal process like Key press, which files involved... etc...
Many high technical stuff. But this could help to understand more.
For me it is very usefull.
I will soon attach few Log examples... maybe then more clear.
Best Regards
i don't suppose that anything can be done if *#7092463*#
doesn't get me a menu?
http://forum.xda-developers.com/showpost.php?p=12798896&postcount=5
Please read deeper this post and follow Links.
As Internal menu is disabled if you flashed ever Rsrc2_S8500_xxx(Low).rc2
Or if you not use Multiloader, then Kies did for you.
This is internal stuff, you have to "unlock" few things before... so read my instruction prior posted.
Please. This is more for advanced users. This is NO must have for all users.
At your own risk.
Best Regards
It seems also good idea to set Trace Level to High... in Internal Menu.
Best Regards
Edit 1:
Seems difference between Firmwareversions...
On JE7 I can see logging if handset is "off" if battery charge Animation is on.
Then if you press ON you can see parts of Booting sequence...
On JL2 I see first something, if Wave is fully on...
Maybe in higher Build some things disabled/removed...
Code:
3539 2255.054 [B]KEY_EVENT_SIG[/B]: [B]Keycode[/B] = 0x8f, STATUS = 0x0.
3540 2255.054 [LCD C]: INFO - FIMD_Drv_Resume()
3541 2255.054 S6E63M0 : LDI_Pentile_Set_Change Pentile_Value =6c
3542 2255.054 S6E63M0 : LDI_PortInit +
6217 2255.055 P00.T11.D001.G-1.E-01:0000 EXCEPTION > [CPLog]: Sub 0014 2263.372 -1: BOOTMGR > _BmPacketReceiveCallback: Boot command is [0x6]
6218 2255.055 P00.T11.D001.G-1.E-01:0000 EXCEPTION > [CPLog]: Sub 0015 2263.372 -1: EXCEPTION > OemTapiNetworkRadioInfoInd: RSSI refresh as AP's awaken
6219 2255.056 P00.T11.D001.G-1.E-01:0000 EXCEPTION > [CPLog]: Sub 0016 2263.372 -1: EXCEPTION > OemTapiNetworkCellInfoInd: Refresh cell Info as AP's awaken
6220 2255.063 P00.T10.D103.G22.E054:B25B EXCEPTION > SmsSvcRegGetSellOutToBeSent: bToBeSent = [0].
6221 2255.069 P00.T10.D103.G22.E054:B269 EXCEPTION > SmsTapiEventHandler: unknown tapi event type.
[B]3543 2255.085 S6E63M0 : LDI_PortInit -
3544 2255.085 S6E63M0 : LDI_S6E63M0_Power_On +
3545 2255.095 S6E63M0 : LDI_S6E63M0_Power_On [hwrev > [COLOR="Red"]S8200[/COLOR]_UNIV_B7]
3546 2255.095 S6E63M0 : LDI_Pentile_Set_Change Pentile_Value =6c
3547 2255.219 S6E63M0 : LDI_S6E63M0_Power_On -
3548 2255.219 Display_LSI : disp_Main_Wakeup [/B]
3549 2255.219 [TSP] reset acq atchcalst=0, atchcalsthr=0
3550 2255.220 [TSP] clear garbage data : Success!! [read 0 times]
3551 2255.220 [TSP] TSP Wakeup...........!
I was wondering why S8200... but now its more clear.
http://forum.xda-developers.com/showpost.php?p=12797112&postcount=249
What we can do...
Collect Key Events...
Monitoring processes like start JAVA Midlets...
Then we can see infos about Heap size...
Code:
9301 433.174 P00.T10.D094.G52.E103:2D83 EXCEPTION > KJxMemoryAvailable: [B]available memory heap[/B] size is 131268608
9302 433.178 P00.T10.D300.G52.E103:2D83 EXCEPTION > KJxSvcIsFileSystemValid: return TRUE!
9303 433.178 P00.T10.D300.G52.E103:2D83 EXCEPTION > KJavaGetMidletAttributeBySuiteID suiteID = 5 is not found
9304 433.179 P00.T10.D094.G52.E103:2D83 EXCEPTION > KJxSvcIsMemoryFull fmQuotaStat.availableSize(943128576), APP_MEMORY_STATUS_MX_MEMORY_FULL_LIMIT(0)
9305 433.180 P00.T10.D094.G52.E103:2D83 EXCEPTION > KJxSvcIsMemoryFull KJx execute limit size = 16384
9306 433.180 P00.T10.D300.G52.E103:2D83 EXCEPTION > KJxSvcIsFileSystemValid: return TRUE!
Many more things...
Best Regards
adfree said:
Code:
3539 2255.054 [B]KEY_EVENT_SIG[/B]: [B]Keycode[/B] = 0x8f, STATUS = 0x0.
3540 2255.054 [LCD C]: INFO - FIMD_Drv_Resume()
3541 2255.054 S6E63M0 : LDI_Pentile_Set_Change Pentile_Value =6c
3542 2255.054 S6E63M0 : LDI_PortInit +
6217 2255.055 P00.T11.D001.G-1.E-01:0000 EXCEPTION > [CPLog]: Sub 0014 2263.372 -1: BOOTMGR > _BmPacketReceiveCallback: Boot command is [0x6]
6218 2255.055 P00.T11.D001.G-1.E-01:0000 EXCEPTION > [CPLog]: Sub 0015 2263.372 -1: EXCEPTION > OemTapiNetworkRadioInfoInd: RSSI refresh as AP's awaken
6219 2255.056 P00.T11.D001.G-1.E-01:0000 EXCEPTION > [CPLog]: Sub 0016 2263.372 -1: EXCEPTION > OemTapiNetworkCellInfoInd: Refresh cell Info as AP's awaken
6220 2255.063 P00.T10.D103.G22.E054:B25B EXCEPTION > SmsSvcRegGetSellOutToBeSent: bToBeSent = [0].
6221 2255.069 P00.T10.D103.G22.E054:B269 EXCEPTION > SmsTapiEventHandler: unknown tapi event type.
[B]3543 2255.085 S6E63M0 : LDI_PortInit -
3544 2255.085 S6E63M0 : LDI_S6E63M0_Power_On +
3545 2255.095 S6E63M0 : LDI_S6E63M0_Power_On [hwrev > [COLOR="Red"]S8200[/COLOR]_UNIV_B7]
3546 2255.095 S6E63M0 : LDI_Pentile_Set_Change Pentile_Value =6c
3547 2255.219 S6E63M0 : LDI_S6E63M0_Power_On -
3548 2255.219 Display_LSI : disp_Main_Wakeup [/B]
3549 2255.219 [TSP] reset acq atchcalst=0, atchcalsthr=0
3550 2255.220 [TSP] clear garbage data : Success!! [read 0 times]
3551 2255.220 [TSP] TSP Wakeup...........!
I was wondering why S8200... but now its more clear.
http://forum.xda-developers.com/showpost.php?p=12797112&postcount=249
What we can do...
Collect Key Events...
Monitoring processes like start JAVA Midlets...
Then we can see infos about Heap size...
Code:
9301 433.174 P00.T10.D094.G52.E103:2D83 EXCEPTION > KJxMemoryAvailable: [B]available memory heap[/B] size is 131268608
9302 433.178 P00.T10.D300.G52.E103:2D83 EXCEPTION > KJxSvcIsFileSystemValid: return TRUE!
9303 433.178 P00.T10.D300.G52.E103:2D83 EXCEPTION > KJavaGetMidletAttributeBySuiteID suiteID = 5 is not found
9304 433.179 P00.T10.D094.G52.E103:2D83 EXCEPTION > KJxSvcIsMemoryFull fmQuotaStat.availableSize(943128576), APP_MEMORY_STATUS_MX_MEMORY_FULL_LIMIT(0)
9305 433.180 P00.T10.D094.G52.E103:2D83 EXCEPTION > KJxSvcIsMemoryFull KJx execute limit size = 16384
9306 433.180 P00.T10.D300.G52.E103:2D83 EXCEPTION > KJxSvcIsFileSystemValid: return TRUE!
Many more things...
Best Regards
Click to expand...
Click to collapse
Heap size can already be changed by accesing the jwc_properties.ini in the AppEx and the User>Exe folder.
astrotom said:
Heap size can already be changed by accesing the jwc_properties.ini in the AppEx and the User>Exe folder.
Click to expand...
Click to collapse
can you recommend a value for it??
give an example for the change??
thanks in advance
mylove90 said:
can you recommend a value for it??
give an example for the change??
thanks in advance
Click to expand...
Click to collapse
There are three jwc_properties.ini files. 1st one in Appex>SysDefault>Java>jwc_properties.ini, 2nd one in Exe>Java>jwc_properties.ini and 3rd one in SystemFS>User>Exe>Java>jwc_properties.ini. Use trix, TkFile explorer or Stune. Personally, I think the first ini file is fore the default java apps on the phone. I think the 2nd one is useless since I didnt see any java apps in that folder using stune. I think the 3rd file is for user installed java apps. I dont know since I am still in the process of modifying the whole bada firmware as far as possible and then I will later flash my phone with my custom firmware. Maybe you could help me tell which files are used for what? Ok, enough talk. Now here are settings for heap sizes that I used: (You can find heap settings at the end of each file)
## Limited MVM configuration
MAIN_MEMORY_CHUNK_SIZE = 82313216 # (78 * 1024 * 1024) + (500 * 1024), 78.5MB
JAVA_MAX_HEAP_SIZE = 65011712 # (62 * 1024 * 1024) + (0 * 1024), 62MB
JAVA_MIN_HEAP_SIZE = 10485760 # (10 * 1024 * 1024) + (0 * 1024), 10MB
MAX_ISOLATES = 4 # AMS Isolate + One application
The last setting, MAX_ISOLATES is the max number of java apps you can run simultaneously while paused. My setting allows 5 apps to run simultaneously. (Remember, Max_ISOLATES value should be one less than the desired value.) Earlier it wave could run only 3 apps.
I am surprised the Samsung provided low java heap sizes for such a good phone! Anyways enjoy!
Thanx astrotom
I'll try next days.
About WinComm... now I understand what this setting means...
I'll try to find combination to work with both, Qualcomm and WinComm.
To log also via QXDM...
Maybe BT is helpfull...
Best Regards
Uuupsi.
Not realized before. But now I have Modem Port connected with:
Upload data to pc
Hmm. But no idea how to catch Data now...
I've changed Port in WinComm...
Hmmmmmm, mabye 1 day in future.
Best Regards
I've played little bit with old SGH-U700...
It has also few similar things like Upload data to pc...
Via known code *#197328blabla... I can find Upload Funct.:
Enable Upload Funct
Disable Upload Funct
Enable Debug Mode in Low
If I try to enable... Can't enable as Dbg Lvl Low...
This U700 is damaged... (damn Touch keys)... maybe I can repair... maybe I can find out what Upload ... can do.
Best Regards
Edit.
I've set Debug Level to high, then also Enable Upload Funct is available...
But still no idea how to start Upload...
how to send AT commands to the phone? i have the first port of my phone as COM9 and the second one as COM10
The last 3 Chars of Firmwarename are timecode...
Example JL2:
J for 2010
L for ...
ehm A is january, B is feb...
The oldest Firmware I found is XXJB6 from February 2010.
The latest from 2011...
Btw. these timecodes are Compile dates for apps_compressed.bin...
One way is to enter Internal menu. See Screenshot.
Here are little overview...
Code:
[B]S8500XXJB6[/B]
Type : Unofficial Version
Number : 1907
Builder : scm27
Host : SCMSERVANT03
Date : 2010/02/24
Time : 04:49:31
Size : 66323804 bytes
CheckSum : 0x7a1fe855
[B]S8500XXJL2[/B]
Type : Unofficial Version
Number : 362
Builder : Administrator
Host : S1-AGENT05
Date : 2010/12/23
Time : 14:24:54
Size : 82576764 bytes
CheckSum : 0x32cdbee8
[B]S8500XEKA1[/B]
Type : Unofficial Version
Number : 12
Builder : Administrator
Host : HP28076212482
Date : 2011/01/04
Time : 11:54:38
Size : 72615292 bytes
CheckSum : 0x9620d783
[B]S8500XIKA1[/B]
Type : Unofficial Version
Number : 118
Builder : dell22
Host : SCM_DELL_23
Date : 2011/01/31
Time : 20:39:15
Size : 82576764 bytes
CheckSum : 0x31f17a34
[B]S8500JPJKB1[/B]
Type : Unofficial Version
Number : 1
Builder : user
Host : SEL-E4285A63E81
Date : 2011/02/08
Time : 17:14:38
Size : 73663868 bytes
CheckSum : 0x984141f3
Best Regards
may i ask how you get build info from menu??
http://forum.xda-developers.com/showthread.php?t=906966
further infos for RC2 file is here:
http://forum.xda-developers.com/showthread.php?t=915469
It look like another way to find date for Build... under Phone info. Look under:
Softw.-Version
bada 1.x
123456blablaLISS8500blabla
The first 6 Digits seems Compile Date too. Need to be check twice...
Best Regards
hmmm....i do not have this internal menu. i saw in phone info first six digits are indeed date. maybe next 4 are time?? but my digits are 1341 wheras u have given time as 1424 for xxjl2. btw i am on xxjl2 modified for social hub premium. perhaps you have taken stock not full firmware from samfirmware.com??
hmmm....i do not have this internal menu.
Click to expand...
Click to collapse
This is correct, if you flash Rsrc2_S8500_Open_Euro_Common(Low).rc2
Menu is disabled.
If you flash Rsrc2_S8500_Open_Euro_Common(Mid).rc2
Best Regards
Very good description.
http://samsung-stuff.de/board/thread.php?threadid=24148
Big Thanx.
year
J: 2010
K: 2011
month
A: JAN
B: FEB
C: MAR
D: APR
E: MAY
F: JUN
G: JUL
H: AUG
I: SEP
J: OCT
K: NOV
L: DEC
revsision
1-9
A-
XXJL2 is from 2010, December, revision 2
Best Regards
To be precise, the bootloader decodes that and supports dates from the letter F (2006) to P (2016), Revision 1-9, A-W (case unsesitive) meaning 1-32. There's still one more letter that is parsed case unsesitive A-Z with meaning 1-26 and space, tabulation or null meaning 100, but I haven't looked close enough to know what that is.
@adfree from where did u get the mid file? why does samfirmware says never to flash with mid always low. any extra settings we need to check in multiloader? and finally are there any changes other than this internal menu? thank u for your patience
Code:
Type : Unofficial Version
Number : 194
Builder : scmdpi06
Host : DPI06
Date : 2011/04/04
Time : 15:52:32
Size : 72353148 bytes
CheckSum : 0x95f5bb78
Nice to see that in April also S8500 Firmware is compiled.
Taken from DDKD1 India.
Best Regards
no updates for s8530 since february
Code:
Type : Unofficial Version
Number : 7
Builder : Venugopal
Host : M_VENUGOPAL-LAP
Date : 2011/05/16
Time : 23:59:05
Size : 73139580 bytes
CheckSum : 0x97909654
S8500JPKE1
So also from May Firmware available...
Best Regards
It seems that a new firmware for the Wave II is available (Bada 1.2)
The Firmware is the S8530XXKC1/S8530OXAKC1 (Open Europe) it is a March 2011 build. i will flash it later the at day, bootloader and so on is in, but it is only a update firmware.
//Edit:
Better is the scrolling in dolfin (much better) and the scrolling in voluntas (a little bit better, already not smooth)
XPKG5, both S8500 and S8530...
bada 2.0 (alpha/beta)
S8530
Code:
Type : Unofficial Version
Number : 952
Builder : Administrator
Host : S1-AGENT06
Date : 2011/07/[B]19[/B]
Time : 17:22:18
Size : 39323008 bytes
CheckSum : 0xe0d0beba
S8500
Code:
Type : Unofficial Version
Number : 806
Builder : Administrator
Host : S1-AGENT08
Date : 2011/07/[B]19[/B]
Time : 17:23:23
Size : 39323004 bytes
CheckSum : 0xe09410e7
We will see when first official release will arrive.
In September or much later...
Best Regards
@ Adfree are you sure? Is the worklload so much or are they Lazy?
One way we can compare: Bada 1.2 XX versions:
1.XXJID: September
2.XXJJ9: October
3.XXJK1: November
4.XXJL2: December
(source: Samfirmware)
Four months fom beta to a stable Version....
So Bada 2.0 Stable:October?
S8500 XPKG6
Code:
Type : Unofficial Version
Number : 817
Builder : Administrator
Host : S1-AGENT08
Date : 2011/07/22
Time : 16:35:52
Size : 39323004 bytes
CheckSum : 0xe0cef3c4
S8500 XPKG7
Code:
Type : Unofficial Version
Number : 824
Builder : Administrator
Host : S1-AGENT08
Date : 2011/07/26
Time : 15:26:07
Size : 39323004 bytes
CheckSum : 0xe11b43b5
S8530 XPKH1
Code:
Type : Unofficial Version
Number : 981
Builder : Administrator
Host : S1-AGENT06
Date : 2011/08/02
Time : 16:25:54
Size : 42206592 bytes
CheckSum : 0xede5e259
So between KG6 and 7 only 4 days... from KG5 to KG6 3 days...
So theory, all 4 or 3 days new build... but this also means, that only minor changes can be... minor bugfixes...
Maybe more changes/bugfixes possible with 14 days time... between builds...
Theory... only 1 month left for September start... but it seems bugy, ehm unfinished...
So minimum 2 months... for stable Firmware...
Btw...
These leaked Firmware are very fresh... so I think direct from Testserver...
Thanx to friendly Mr. Nice Guy from Samsung for sharing.
Best Regards
Sure they are fresh FWs
Maybe if we left bada team work silently for 2 weeks we will see a good FW
As you can see from KG6 to KG7 the change made it so much stable and they have only 4 days between them
What will happen if the 4 days were 2 weeks??
Best Regards
apps.bin from official bada 2.0 SDK
Code:
Type : Unofficial Version
Number : 255
Builder : darren.ha
Host : BA-XP4
Date : 2011/08/23
Time : 21:22:09
Size : 36177276 bytes
CheckSum : 0xc8c9e8b1
S8500 XPKH3
Code:
Type : Unofficial Version
Number : 863
Builder : Administrator
Host : S1-AGENT08
Date : 2011/08/16
Time : 20:56:16
Size : 42468732 bytes
CheckSum : 0xee43ccad
S8530 XPKH3
Code:
Type : Unofficial Version
Number : 1008
Builder : superuser
Host : S1-AGENT06
Date : 2011/08/16
Time : 20:19:21
Size : 42468736 bytes
CheckSum : 0xee79fb68
Wave 3 S8600 is seen with XPKHB... maybe on IFA in Germany.
Maybe we can test this Version also an Wave 1+2...
SDK Apps are latest compiled I found yet... 2011/08/23
Best Regards
S8500MBUKI1
Code:
Type : Unofficial Version
Number : 262
Builder : Dell02
Host : SCMDELL16
Date : 2011/09/16
Time : 19:35:07
Size : 42468732 bytes
CheckSum : 0xef3c5853
S8600XXKI9
Code:
Type : Unofficial Version
Number : 952
Builder : superuser
Host : S1-AGENT05
Date : 2011/09/27
Time : 02:53:48
Size : 55050240 bytes
CheckSum : 0x0cbbad48
Latest known/downloadable Firmware yet:
S8600BOKJ1_TPLKJ1
Code:
Type : Unofficial Version
Number : 981
Builder : dpi
Host : DELL42
Date : [COLOR="Red"][B]2011/10/03[/B][/COLOR]
Time : 15:48:05
Size : 55050240 bytes
CheckSum : 0x0c9a8ca5
This means we have no idea, what is now actual status of bada 2.0... because tested Version is older then 4 weeks...
This is SDK 2.0.2 ... 2 days between latest known S8600 Firmware.
Code:
Type : Unofficial Version
Number : 338
Builder : darren.ha
Host : BA-XP4
Date : [B]2011/10/01[/B]
Time : 07:51:28
Size : 35128700 bytes
CheckSum : 0xc2e51d24
Best Regards
S8600XXKJC
Code:
Type : Unofficial Version
Number : 1096
Builder : superuser
Host : S1-AGENT05
Date : [B]2011/10/26[/B]
Time : 17:26:52
Size : 55050240 bytes
CheckSum : 0x0d3edb3f
No idea if date is same from Kies Version...
Between 2011/10/26 and today are 2 weeks...
Also no idea, if this means, if available from Kies. It is now final bada 2.0 Version...
Maybe soon, if Wave III is real available. We can see Firmware Version on device... maybe it is higher or lower XXKJC.
Best Regards
S8500XPKJ1
Code:
Type : Unofficial Version
Number : 984
Builder : Administrator
Host : S1-AGENT08
Date : [B]2011/10/05[/B]
Time : 22:44:23
Size : 42730876 bytes
CheckSum : 0xf57d5099
S8530XPKJ1
Code:
Type : Unofficial Version
Number : 1141
Builder : superuser
Host : S1-AGENT06
Date : [B]2011/10/06[/B]
Time : 00:37:37
Size : 42730880 bytes
CheckSum : 0xf580ab96
This means older then 1 month...
So again, we have no idea if Final are close, closer or in the closet... this month.
Best Regards
Since i can't post directly to development Forums, i post it here. So please move the post!
I reflected the Samsung Diagnostic App and wrote a programm that creates on a bruteforce basis almost all of the diagnostic codes available.
The source code contains 175 codes, my program was able to create 150.
I can't really create the missing 25 codes, because the input you enter into the diagnostig app, is hashed and then compared, so there is no way (for me) to reverse this hashing.
Please notice: I know some of these codes aren't working but i post them anyway for completeness.
g_FTAMain : 15, 71671835, 56#805353, 716717#15
g_QUALCOMM_TEST : *09#
g_SIMPLE_FUNCTION_TEST : *#05#
g_TouchDelta_80 : *#80#
g_IMEI_NUMBER : *#06#, 57*69*4#0
g_BATT_TEST : *#2*#, 57*69*580
g_TMOServiceMenu : *74*#
g_SMDINFO : *#03#
g_LCDTEST : *#0*#, 57*69*380
g_VIEWHISTORYNW : *#07#
g_QWERTYTEST : *#1*#, 57*69*480
g_BRIGHTNESS_TEST : *#3*#, 57*69*680
g_VPHONE772 : *#772#, 521*86376
g_VPHONE779 : *#779#, 63679*149, 87*809841
g_VPHONE770 : *#770#, 521*86356
g_VPHONE777 : *#777#, 63679*129, 87*809821
g_RILNETLOG : *#638#, 517794#67, 87*808431
g_VPHONE775 : *#775#, 63679*109, 87*809801
g_SR_TEST : *#780#, 521*86456
g_LIGHTTEST : *#12*#, 5*239715#
g_VPHONE773 : *#773#, 405505##8, 521*86386
g_VT_DUMP : *#938#, 517797#67
g_BTLOGDUMP : *#232#, 517790#07
g_RILDUMP : *#745#, 87*809501
g_VPHONE774 : *#774#, 521*86396
g_WIFI_FACTORY_TEST : *#526#, 43985#490, 84#*42#65, 87*807311
g_VPHONE771 : *#771#, 521*86366, 820#611#7
g_VPHONE778 : *#778#, 63679*139, 820#611*7, 87*809831
g_VPHONE776 : *#776#, 63679*119, 87*809811
g_Enable_Testbed : *12358#, 177523034, 7#6850676, 910594*46
g_DEBUGMODE1 : *#0011#, 1#8877754, 472667011
g_LIGHTSENSORTEST : *#0589#, 75#573125, 7#6*32986
g_AUDIOTEST : *#0673#, 6*9495#11, 7#6*33826
g_ILLUMINATIONTEST : *#0843#, 7#6*35526
g_MultiTouch : *#0987#, 75#577105, 7#6*36966
g_TouchFirmare_2663 : *#2663#, 7#6*53726
g_GPSTEST : *#1575#, 7#6*42846
g_AUDIOTEST2 : *#0289#, 472669791, 75#570125
g_FMRADIORX : *#0368#, 18#10#77#, 7#6*30776, 82854#120
g_RRCVERSION : *#0599#, 75#573225
g_DebugOption : *#7450#
g_SOUNDTEST : *#0675#, 6*9495#31, 7#6*33846
g_MOUSETEST : *#121*#, 4726790*1, 75#580*#5
g_MOUSECAL : *#123*#, 4726792*1
g_PHONEDUMP : *#2454#, 7#6*51636
g_HWversionFTA : *#2222#, 1#8899864, 472689121, 4#71746#5
g_BANDSELECTION : *#2263#, 472689531
g_TouchDelta_2665 : *#2665#, 7#6*53746
g_NAVIKEY_TEST : *#2486#, 7#6*51956
g_RTC : *#0782#, 7#6*34916
g_DEBUGDUMP : *#9900#, #9803999
g_ERRORREPCAB_INSTALL : *#9907#, 4316#9456, 8421*4606
g_BATTERYINFO : *#0228#, 472669181
g_DEVICETEST : *#0842#, 7#6*35516
g_CAMERAUPDATE : *#2470#
g_TouchDelta_2664 : *#2664#, 7#6*53736
g_SWversionEx : *#1234#, 1#8889984, 39473*#9*, 472679241
g_MOUSECAL06 : *#126*#, 4726795*1
g_MICROUSB_TEST : *#1793#, 614921**9
g_PHONELOOPBACKTEST : *#0283#, 472669731
g_USBPATHCHANGE : *#7284#
g_CAMERADISABLE : *#2480#
g_RILNETLOG_OFF : *#6380#
g_ERROR_REPORT_VERIFY : *#7452#
g_VPHONE_DISABLED : *#77*0#, 954312475
g_SWversionFTA : *#1111#, 1#8888754, 472678011
g_NETLOCK_NETWORK : *#6955#, 4248*#4#3, 7#6*96646
g_UARTCHANGER : *#9090#
g_SUWON3G_CAB_INSTALL : *#9909#, 4316#9476, 8421*4626
g_INTEGRITY : *#2580#
g_ERROR_REPORT_ON : *#7451#
g_NETLOG_LOG_START : *#9905#, 4316#9436
g_UARTPATH : *#9910#
g_YSSHINTEST : *#9999#, 9*190*03*
g_RILNETLOG_ON : *#6381#, 18#16#90#, 7#6*90906
g_POWERONATTACH : *#7298#, 3604494*2
g_SELF_DIAGNOSTIC_MODE : *#7353#, 18#17#62#
g_PILEDUMP : *#9901#, 8421*46*6
g_GUMITEST3G_CAB_INSTALL : *#9908#, 4316#9466, 8421*4616
g_NETLOCK_SERVICE : *#7755#, 8832#9601
g_VPHONE_ENABLED : *#77*1#, 954312485
g_DEBUG_RIL_DUMP : *#9906#, 166026#0, 4316#9446
g_BATTERYMONITOR : *#9911#, 8421*47*6
g_CONNECTION_SETTING : *#9920#
g_VERIFYCOMPARE : *#9990#, 9*190*0**
g_Disable_Testbed : #12358#, 170523034
g_VersionScript : 19104#2*, *#99732#
g_BLUETOOTH_LOG_ENABLE : 20652619, 61709134
g_BT_SSPDEbugModeDisable : 20652639, 61709154, 1#2066816, 92#351307
g_CELOG_LOG_DISABLE : 20654609, 6*670#817
g_OMADMCLIENT_LOG_DISABLE : 20653609, 9448**0*8
g_OMADMCLIENT_LOG_ENABLE : 20653619
g_BLUETOOTH_LOG_DISABLE : 20652609, 61709124
g_BT_SSPDEbugModeEnable : 20652629, 61709144, 1#2066806
g_CELOG_LOG_ENABLE : 20654619, 6*670#827
g_TOTALCALLTIME : 2934331*
g_ERASE_IMEIITEM : 35190728, 76247243, 81689*06#, 908*#7725
g_IMEI_ADJUST : 35190738, 76247253, 81689*07#, 908*#7735
g_RESET_CUSTOM : 35180948, 76237463, 81688*28#
g_RESET_FACTORY : 35190718, 76247233, 81689*05#, 908*#7715
g_BLUETOOTH_RF_TEST : 3##65*88
g_BLUETOOTH_AUDIO_TEST : 3##65*98
g_AutoSimSetting : 40*047#3, *#94765#
g_PVKKey : 40*549#3, 6#137011, *#99785#, 2069393#3, 505214014, 974495169
g_RESET_FACTORY_WITHDEFAULTLANGUAGE : 76264513
g_NONSLEEPCALL_ON : *#069*1#, 4372903*4, 45*973*82
g_LEDTEST : *#14789#, 318379752
g_NONSLEEPCALL_OFF : *#069*0#, 45*973*72
g_DMSessionInit : *#15428#, 318386142, 9*#85#581
g_NETLOCK_SUBSET : *#78255#, 2067240#3
g_CAMERAUPDATESVC : *#32589#, 318557752
g_LAUNCH_UAEDIT : *#92782#, 974425139
g_CIPHERING : *#32489#, 24#59#547, 318556752
g_LOGDUMPMGR : *#33284#, 318564702
g_PdaBuildTime : *#99820#, 777551390
g_SR_DISABLED : *#780*0#, 4926#99*5, 81*255280
g_SR_ENABLED : *#780*1#, 81*255290
g_VersionTime : *#99821#, 62421*4*6
g_DIS_LOCK_SUB_NW : 17#991#3*
g_PVKFileName : 18*357#25, 6#13702##
g_EN_LOCK_SUB_NW : 193582504
g_EN_LOCK_CORP : 1*0273411
g_EN_LOCK_SVC : 1*0278411, 61491#442
g_GPSTESTTOOL : 1#8865#55
g_DIS_LOCK_NW : 20789802*, 863164*71
g_SellOutSMS : 2615#0922, 5530*6100
g_TFlashUnPairing : 30334*733, 3*87*9122
g_FILE_SYSTEM_TEST : 36*4601*9, 982676614
g_DIS_LOCK_SVC : 38025*93#, 44*7#2049
g_GPSTESTXTRA : 400#40*18
g_GPSTESTTOOL2 : 400#40*08
g_SerialNumber : 5317*0648
g_EN_LOCK_NW : 5494477*3, 71204*91#
g_EN_LOCK_SIM : 5494585*3, 587*9*7#*
g_SERVERURL : 553378683
g_SLIDECOUNT : 584644021
g_SellOutSMSTestMode : 597#*224#
g_APPSLAUNCHER : 5**6244*3, 9372799#5
g_SLOGSERIAL_M2 : 66#6757#1
g_TESTMODE : 718071#49
g_AutoReceive_Enable : 7160*5088
g_RESET_SERVICE : 72673#00#
g_ReactivateSellOutSMS : 74201#086
g_AUDIOGAINCONTROL : 7#16#1#47
g_AUDIOCODEC : 7#16#1#37
g_ADMIN_GENERIC : 838*5448*
g_SLOGSERIAL_ALL_ON : 8644*3081
g_VT_MANUALSETTING : 8802*7*5#, 972#6#115
g_WIFI_TEST : 9304554#5
g_DISLOCK_SIM : 98217*243
g_DMTESTMENU : 9#7357764
regards,
Flow
Hey Flow, thanks for this.
Does this apply to all samsung WP7 devices or is it specific to just one?
Just asking so I can move this to the most appropriate location.
Sorry for taking a while to get round to this as well.
Cheers
I don't have a focus to test this, but my guess is yes, this should apply for the focus too.
And maybe non WP7 Samsung Devices.
Flow WP7 said:
I reflected the Samsung Diagnostic App and wrote a programm that creates on a bruteforce basis almost all of the diagnostic codes available.
Click to expand...
Click to collapse
If you would have searched the forums, you would see that you didn't have to do that, because I already did that for you. I believe there are 174 codes and I found all of them.
Ciao,
Heathcliff74
Yeah tell me how the search works, did you look at the title of that thread?
Anyway if your needs are already satisfied, fine just ignore it. I invested some time to do that (not just copy paste) and my solution provides more then one code for some of the items.
Flow WP7 said:
Yeah tell me how the search works, did you look at the title of that thread?
Anyway if your needs are already satisfied, fine just ignore it. I invested some time to do that (not just copy paste) and my solution provides more then one code for some of the items.
Click to expand...
Click to collapse
Wow. No flame intended! It was just meant as a heads-up for the remaining codes you missed. I always appreciate hacking-efforts
1) Inject your own launch code (with your own passwords )
2) PROFIT!
Now, since i dont know about coding or how to understand to read this codes. I have to ask if, through this tool you could visualize the 3g/2g switch that some Omnia 7 have, and some dont in there setting?
thanks for this.Great,,,
ı have a questıon, whar r the numbers for after the (,) sign?
Alternative code for the same action.
This is the updated sirfgps.conf file ONLY for ICS and has been modded by myself. As the GPS serial port is changed in ICS ROM.
#CSR SiRF plc
#PROJECT_NAME : white Space is not allowed
#UART_DRIVER : Uart Driver Path
#RESET_GPIO : Reset GPIO Driver Path
#ONOFF_GPIO : OnOff GPIO Driver Path
#EXTERNAL_LNA : 1 - use External LNA, 0 - use Internal LNA only
#REF_CLOCK_26MHZ: 1 - use 26MHz TCXO, 0 - use 16.369MHz TCXO
#UART_BAUD_RATE : 0 - 115200bps 1 - 230400, 2 - 460800, 3 - 57600
#FREQUENCY_AIDING : 0 - Disable, 1 - Enable
#SENSOR_AIDING : 0 - Disable, 1 - Enable
#SET_ID_IMSI : 1 - Use IMSI for SET ID, 0 - Use MSISDN for SET ID, especially for Japan Network Operators
#DEBUGGING_FILES : 0 - no log file, 1 - log files enabled
#SSL_ENABLED : 0 - SSL Disabled, 1 - SSL Enabled
#CERTI_VERSION : 0 - TLSv1 , 1 - SSLv3 , 2 - SSLv23
#CP_RESPONSETIME : 0 - no priority, 1 - resposne priority time, 2 - resposne priority position ,3 - resposne priority use entire response time
#REAIDING=20
#CONTROL_PLANE : 1 - CP Enabled, 0 - CP Disabled, for MP3 player or PND
#ATT_NETWORK_OPERATOR : 1 - for AT&T, 0 - for other network operator
#SGEE : 1 - SGEE ENABLE 0 - SGEE DISABLE
PROJECT=SAMSUNG_S5PC210
UART_DRIVER=/dev/ttySAC1
RESET_GPIO=/sys/devices/virtual/sec/gps/GPS_nRST/value
ONOFF_GPIO=/sys/devices/virtual/sec/gps/GPS_PWR_EN/value
REAIDING=20
EXTERNAL_LNA=1
REF_CLOCK_26MHZ=1
UART_BAUD_RATE=2
FREQUENCY_AIDING=1
SENSOR_AIDING=1
SET_ID_IMSI=1
DEBUGGING_FILES=0
SSL_ENABLED=1
CERTI_VERSION=1
CP_RESPONSETIME=3
CONTROL_PLANE=1
ATT_NETWORK_OPERATOR=0
ICS_NETWORK_OPERATOR=0
EMC_ENABLE=1
CIQ_ENABLE=1
SGEE=1
CGEE=1
LOG_PATH=/data
Click to expand...
Click to collapse
======================================
I meddled with the stock SGS KH3 firmware and found this file inside (/etc/sirfgps.conf).
It got so many settings for GPS chipset but is untouched by AngryGPS program or any system's GPS settings, it must be edited manually.
I noticed a big differences by turning on this sensor aiding, freq aid, and emc feature in this file.
I do notice that sensor aiding is toggleable in the system's setting but it only work in software level and this conf file is in hardware level.
If any of you want the edited file, let me know and I'll post it for you.
============================================
Please share, I'm curious about your discovery
Sent from my htc.desireZED
Yes. It would be nice if you posted the updated file.
This is the mentioned file found in my stock rooted /etc folder. Modified of course...
Permission is rw-r--r--
Group is root|root
hm I m looking for difference and you switch AIDING to ON manuall but when I enable in setting>>location>>use sensors- It is the same I think .)
Crescendo Xenomorph said:
This is the mentioned file found in my stock rooted /etc folder. Modified of course...
Permission is rw-r--r--
Group is root|root
Click to expand...
Click to collapse
This looks interesting, but unfortunately the zip file seems to be corrupt. Can you please re-upload the file?
I just trying to open the file and it works OK.
Try to extract it using WinRAR. I compressed it via WinRAR.
Hmm, when I enable the sensor aiding in the location menu, the sensor aiding in that conf file is still 0. When I disable it, the file also says 0. The last modified time is months ago, which is before I activate this device.
I notice the faster fix (mainly when you try to get a cold fix inside a fast moving car) and slight improvement in accuracy.
The interesting settings are: frequency aiding and emc feature.
I dunno what it's for but it improve my lock time and accuracy.
#CSR SiRF plc
#PROJECT_NAME : white Space is not allowed
#UART_DRIVER : Uart Driver Path
#RESET_GPIO : Reset GPIO Driver Path
#ONOFF_GPIO : OnOff GPIO Driver Path
#EXTERNAL_LNA : 1 - use External LNA, 0 - use Internal LNA only
#REF_CLOCK_26MHZ: 1 - use 26MHz TCXO, 0 - use 16.369MHz TCXO
#UART_BAUD_RATE : 0 - 115200bps 1 - 230400, 2 - 460800, 3 - 57600
#FREQUENCY_AIDING : 0 - Disable, 1 - Enable
#SENSOR_AIDING : 0 - Disable, 1 - Enable
#SET_ID_IMSI : 1 - Use IMSI for SET ID, 0 - Use MSISDN for SET ID, especially for Japan Network Operators
#DEBUGGING_FILES : 0 - no log file, 1 - log files enabled
#SSL_ENABLED : 0 - SSL Disabled, 1 - SSL Enabled
#CERTI_VERSION : 0 - TLSv1 , 1 - SSLv3 , 2 - SSLv23
#CP_RESPONSETIME : 0 - no priority, 1 - resposne priority time, 2 - resposne priority position ,3 - resposne priority use entire response time
#REAIDING=20
#CONTROL_PLANE : 1 - CP Enabled, 0 - CP Disabled, for MP3 player or PND
#ATT_NETWORK_OPERATOR : 1 - for AT&T, 0 - for other network operator
PROJECT=SAMSUNG_S5PC210
UART_DRIVER=/dev/s3c2410_serial1
RESET_GPIO=/sys/devices/virtual/sec/gps/GPS_nRST/value
ONOFF_GPIO=/sys/devices/virtual/sec/gps/GPS_PWR_EN/value
EXTERNAL_LNA=1
REF_CLOCK_26MHZ=1
UART_BAUD_RATE=2
FREQUENCY_AIDING=1
SENSOR_AIDING=1
SET_ID_IMSI=1
DEBUGGING_FILES=0
SSL_ENABLED=0
CERTI_VERSION=0
CP_RESPONSETIME=2
CONTROL_PLANE=1
ATT_NETWORK_OPERATOR=0
EMC_ENABLE=1
LOG_PATH=/sdcard/gps/csr
Testing
Hi,
I have tried this trick, but i saw no difference ...Inside my car (i have those "heat-protected" windows) i still have problems, my accuracy is awful, usually between 15-20 m in an open road (with spots of 5-10 m), and 25-30 m inside the city (which makes it useless).
I have changed the UART_BAUD to 3 and i will test it later....the reason is that i realized that when i turn right/left with my car, or in the road when a curve is closed enough to generate "centrifugal force" the accuracy drops from 10 m to 25 m and then when i come back to a straight lane the precision goes down to "normal" values....so i reduced BAUD to minimum, it will be slower but i hope more stable....
I'll try and post my results tomorrow
Crescendo Xenomorph said:
#CSR SiRF plc
#PROJECT_NAME : white Space is not allowed
#UART_DRIVER : Uart Driver Path
#RESET_GPIO : Reset GPIO Driver Path
#ONOFF_GPIO : OnOff GPIO Driver Path
#EXTERNAL_LNA : 1 - use External LNA, 0 - use Internal LNA only
#REF_CLOCK_26MHZ: 1 - use 26MHz TCXO, 0 - use 16.369MHz TCXO
#UART_BAUD_RATE : 0 - 115200bps 1 - 230400, 2 - 460800, 3 - 57600
#FREQUENCY_AIDING : 0 - Disable, 1 - Enable
#SENSOR_AIDING : 0 - Disable, 1 - Enable
#SET_ID_IMSI : 1 - Use IMSI for SET ID, 0 - Use MSISDN for SET ID, especially for Japan Network Operators
#DEBUGGING_FILES : 0 - no log file, 1 - log files enabled
#SSL_ENABLED : 0 - SSL Disabled, 1 - SSL Enabled
#CERTI_VERSION : 0 - TLSv1 , 1 - SSLv3 , 2 - SSLv23
#CP_RESPONSETIME : 0 - no priority, 1 - resposne priority time, 2 - resposne priority position ,3 - resposne priority use entire response time
#REAIDING=20
#CONTROL_PLANE : 1 - CP Enabled, 0 - CP Disabled, for MP3 player or PND
#ATT_NETWORK_OPERATOR : 1 - for AT&T, 0 - for other network operator
PROJECT=SAMSUNG_S5PC210
UART_DRIVER=/dev/s3c2410_serial1
RESET_GPIO=/sys/devices/virtual/sec/gps/GPS_nRST/value
ONOFF_GPIO=/sys/devices/virtual/sec/gps/GPS_PWR_EN/value
EXTERNAL_LNA=1
REF_CLOCK_26MHZ=1
UART_BAUD_RATE=2
FREQUENCY_AIDING=1
SENSOR_AIDING=1
SET_ID_IMSI=1
DEBUGGING_FILES=0
SSL_ENABLED=0
CERTI_VERSION=0
CP_RESPONSETIME=2
CONTROL_PLANE=1
ATT_NETWORK_OPERATOR=0
EMC_ENABLE=1
LOG_PATH=/sdcard/gps/csr
Click to expand...
Click to collapse
I dont think this will make much difference.. on my phone anyway if you look at the line
Crescendo Xenomorph said:
UART_DRIVER=/dev/s3c2410_serial1
Click to expand...
Click to collapse
looking in that file location there is no such driver present..
I DO have the s3c2410_serial1 file on that location....And a serial0, serial2, serial3 and serial4
I dont really know if this is doing something or not...I tried to enable debugging and i see no file created on sdcard
But why Samsung put that file inside their ROM?
Hi,
this works for me, gps fix in 10sec.
with friendly greet
starbase64
So you only copy sirfgps to /etc and not more?
Thanks. Sounds interesting.
Sent from my GT-I9100 using XDA App
lynx2k50 said:
So you only copy sirfgps to /etc and not more?
Thanks. Sounds interesting.
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
yes
german forum: http://goo.gl/o2aa4
IN new italian ROM LA2 2.3.6
Code:
#CSR SiRF plc
#PROJECT_NAME : white Space is not allowed
#UART_DRIVER : Uart Driver Path
#RESET_GPIO : Reset GPIO Driver Path
#ONOFF_GPIO : OnOff GPIO Driver Path
#EXTERNAL_LNA : 1 - use External LNA, 0 - use Internal LNA only
#REF_CLOCK_26MHZ: 1 - use 26MHz TCXO, 0 - use 16.369MHz TCXO
#UART_BAUD_RATE : 0 - 115200bps 1 - 230400, 2 - 460800, 3 - 57600
#FREQUENCY_AIDING : 0 - Disable, 1 - Enable
#SENSOR_AIDING : 0 - Disable, 1 - Enable
#SET_ID_IMSI : 1 - Use IMSI for SET ID, 0 - Use MSISDN for SET ID, especially for Japan Network Operators
#DEBUGGING_FILES : 0 - no log file, 1 - log files enabled
#SSL_ENABLED : 0 - SSL Disabled, 1 - SSL Enabled
#CERTI_VERSION : 0 - TLSv1 , 1 - SSLv3 , 2 - SSLv23
#CP_RESPONSETIME : 0 - no priority, 1 - resposne priority time, 2 - resposne priority position ,3 - resposne priority use entire response time
#REAIDING=20
#CONTROL_PLANE : 1 - CP Enabled, 0 - CP Disabled, for MP3 player or PND
#ATT_NETWORK_OPERATOR : 1 - for AT&T, 0 - for other network operator
#SGEE : 1 - SGEE ENABLE 0 - SGEE DISABLE
PROJECT=SAMSUNG_S5PC210
UART_DRIVER=/dev/s3c2410_serial1
RESET_GPIO=/sys/devices/virtual/sec/gps/GPS_nRST/value
ONOFF_GPIO=/sys/devices/virtual/sec/gps/GPS_PWR_EN/value
EXTERNAL_LNA=1
REF_CLOCK_26MHZ=1
UART_BAUD_RATE=2
FREQUENCY_AIDING=0
SENSOR_AIDING=0
SET_ID_IMSI=1
DEBUGGING_FILES=0
SSL_ENABLED=0
CERTI_VERSION=0
CP_RESPONSETIME=2
CONTROL_PLANE=1
ATT_NETWORK_OPERATOR=0
ICS_NETWORK_OPERATOR=0
EMC_ENABLE=0
CIQ_ENABLE=0
SGEE=1
LOG_PATH=/sdcard/gps/csr
This line are new:
ICS_NETWORK_OPERATOR=0
CIQ_ENABLE=0
SGEE=1
Hi,
Please would someone post the original settings as my GPS will not lock at all now and I would like to reset them.
Thanks
From stock rom..
#CSR SiRF plc
#PROJECT_NAME : white Space is not allowed
#UART_DRIVER : Uart Driver Path
#RESET_GPIO : Reset GPIO Driver Path
#ONOFF_GPIO : OnOff GPIO Driver Path
#EXTERNAL_LNA : 1 - use External LNA, 0 - use Internal LNA only
#REF_CLOCK_26MHZ: 1 - use 26MHz TCXO, 0 - use 16.369MHz TCXO
#UART_BAUD_RATE : 0 - 115200bps 1 - 230400, 2 - 460800, 3 - 57600
#FREQUENCY_AIDING : 0 - Disable, 1 - Enable
#SENSOR_AIDING : 0 - Disable, 1 - Enable
#SET_ID_IMSI : 1 - Use IMSI for SET ID, 0 - Use MSISDN for SET ID, especially for Japan Network Operators
#DEBUGGING_FILES : 0 - no log file, 1 - log files enabled
#SSL_ENABLED : 0 - SSL Disabled, 1 - SSL Enabled
#CERTI_VERSION : 0 - TLSv1 , 1 - SSLv3 , 2 - SSLv23
PROJECT=SAMSUNG_U1
UART_DRIVER=/dev/s3c2410_serial1
RESET_GPIO=/sys/devices/virtual/sec/gps/GPS_nRST/value
ONOFF_GPIO=/sys/devices/virtual/sec/gps/GPS_PWR_EN/value
EXTERNAL_LNA=1
REF_CLOCK_26MHZ=1
UART_BAUD_RATE=2
FREQUENCY_AIDING=1
SENSOR_AIDING=0
SET_ID_IMSI=1
DEBUGGING_FILES=0
SSL_ENABLED=0
CERTI_VERSION=0
Crescendo Xenomorph said:
But why Samsung put that file inside their ROM?
Click to expand...
Click to collapse
did you try to use an external SiRFIII GPS through BT, maybe it's for that....
Crescendo Xenomorph said:
Hmm, when I enable the sensor aiding in the location menu, the sensor aiding in that conf file is still 0. When I disable it, the file also says 0. The last modified time is months ago, which is before I activate this device.
Click to expand...
Click to collapse
Most likely there is an interface (maybe a control socket?) that allows these settings to be overridden by the Settings app without changing the file.
To confirm if the file is even used (sometimes cruft makes it into a ROM for no good reason...), try changing the serial port from s3c2410_serial1 to something else - it should completely break things. If it does not totally break things, then the file is most likely not used.
Hi everybody
I need some help with uploading a File from a Javascript / HTML App to a PHP Server using WinJS. Everything looks good, the Server gives me a "200 OK" answer, but no File was saved on the Server. The upload application is built on the sample from MS. (https://code.msdn.microsoft.com/windowsapps/Background-Transfer-Sample-d7833f61#content)
I dont know why the file wont be stored on the Server. Im started with a simple PHP-Script on the Serverside:
PHP:
<?php
$uploaddir = '/home/app/uploads/';
$uploadfile = $uploaddir . basename($_FILES['Filename']['name']);
move_uploaded_file($_FILES['Filename']['tmp_name'], $uploadfile);
?>
Sorry for my bad english!
Can somebody help me out of my problem?
It doesn't look like the WinJS example provided at that link actually uploads a file using the same mechanism as a form upload - rather, the file body is directly posted.
It looks like it sends a request similar to:
POST /upload.aspx HTTP/1.1
Filename: [the name of your file]
Content-Type: [whatever type]
Content-Length: [however long]
...
In PHP, to handle that:
PHP:
<?php
if (isset($_SERVER['HTTP_FILENAME'])) {
$name = $_SERVER['HTTP_FILENAME'];
$uploaddir = '/home/app/uploads/';
$uploadfile = $uploaddir . basename($name);
$input = fopen('php://input', 'r');
$output = fopen($uploadfile, 'w');
stream_copy_to_stream($input, $output);
}
andy123456 said:
Hi everybody
I need some help with uploading a File from a Javascript / HTML App to a PHP Server using WinJS. Everything looks good, the Server gives me a "200 OK" answer, but no File was saved on the Server. The upload application is built on the sample from MS. (https://code.msdn.microsoft.com/windowsapps/Background-Transfer-Sample-d7833f61#content)
I dont know why the file wont be stored on the Server. Im started with a simple PHP-Script on the Serverside:
PHP:
<?php
$uploaddir = '/home/app/uploads/';
$uploadfile = $uploaddir . basename($_FILES['Filename']['name']);
move_uploaded_file($_FILES['Filename']['tmp_name'], $uploadfile);
?>
Sorry for my bad english!
Can somebody help me out of my problem?
Click to expand...
Click to collapse
I have searched so long for this, and now it works, tank you very much!
Does this mean, that the MS upload sample doesnt send the "Filename" in the headers? Does the Code
PHP:
$_SERVER['HTTP_FILENAME'];
means, that every headername will be accepted from the PHP Script?
Edit// Ok i understand it now, this is the headers name.
One more little problem i have. I need also the ability to upload multiple files. Now i have edited the PHP Script, with a foreach loop to handle that. But it seems that the MS Multiupload sample does send the files in another way, as i want to receive them in the PHP Script. I have done the following:
PHP:
<?php
if (count($_SERVER['HTTP_FILENAME'])) {
foreach ($_SERVER['HTTP_FILENAME'] as $file) {
$uploaddir = '/home/app/uploads/';
$uploadfile = $uploaddir . basename($file);
$input = fopen('php://input', 'r');
$output = fopen($uploadfile, 'w');
stream_copy_to_stream($input, $output);
}
}
?>
andy123456 said:
One more little problem i have. I need also the ability to upload multiple files. Now i have edited the PHP Script, with a foreach loop to handle that. But it seems that the MS Multiupload sample does send the files in another way, as i want to receive them in the PHP Script. I have done the following:
Click to expand...
Click to collapse
For the multiple file upload case, it looks like it performs the same thing as a typical form post based on the upload handler. Handling that should mostly be a case of determining what gets stuck into PHP's $_FILES array.
irony_delerium said:
For the multiple file upload case, it looks like it performs the same thing as a typical form post based on the upload handler. Handling that should mostly be a case of determining what gets stuck into PHP's $_FILES array.
Click to expand...
Click to collapse
I have tested this, but it doesnt ssem to work. There is everytime an error in the webservers logfile:
Code:
PHP Notice: Undefined index: File in...
But when i look at the exampe Code, i see the name of the index is named "File", or do i understand this wrong?
I don't know what the name being posted happens to be.
Try doing:
PHP:
error_log(print_r($_FILES, true));
And see what comes out in the error log.
irony_delerium said:
I don't know what the name being posted happens to be.
Try doing:
PHP:
error_log(print_r($_FILES, true));
And see what comes out in the error log.
Click to expand...
Click to collapse
Ok i have done that and i see now the problem, but i dont know what to do. I cleaned up the error log for a better view, so here is the error.log output:
Code:
[Mon Oct 13 17:51:44 2014] [error] [client 192.168.1.10] Array\n(\n [File0] => Array\n (\n [name] => test1.png\n [type] => \n [tmp_name] => /tmp/phpSyP9u2\n [error] => 0\n [size] => 6827\n )\n\n [File1] => Array\n (\n [name] => test2.png\n [type] => \n [tmp_name] => /tmp/php1jaQ0u\n [error] => 0\n [size] => 6827\n )\n\n [File2] => Array\n (\n [name] => test3.png\n [type] => \n [tmp_name] => /tmp/phpGHBxwX\n [error] => 0\n [size] => 6827\n )\n\n)\n
[Mon Oct 13 17:51:44 2014] [error] [client 192.168.1.10] PHP Notice: Undefined index: File in /home/app/multiupload.php on line 4
[Mon Oct 13 17:51:44 2014] [error] [client 192.168.1.10] PHP Notice: Undefined index: File in /home/app/multiupload.php on line 5
The problem is, that i can set only one index in the PHP-Script, in my example "File" -> $_FILES['File']['name']. Now i checked the code from the uploader app in the MS example:
Code:
BackgroundTransferContentPart part = new BackgroundTransferContentPart("File" + i, files[i].Name);
This is the reason, why the index from the client(app) is named "File0", "File1", "File2". Now when i remove the "+i - counter", all uploaded Files will have only "File" as index, but then only the first one shall was uploaded.
andy123456 said:
The problem is, that i can set only one index in the PHP-Script, in my example "File" -> $_FILES['File']['name']. Now i checked the code from the uploader app in the MS example:
Code:
BackgroundTransferContentPart part = new BackgroundTransferContentPart("File" + i, files[i].Name);
This is the reason, why the index from the client(app) is named "File0", "File1", "File2". Now when i remove the "+i - counter", all uploaded Files will have only "File" as index, but then only the first one shall was uploaded.
Click to expand...
Click to collapse
Try using "File[]" as the name instead - when sending form data to PHP, if you want to have multiple fields with the same name, they need to have an array-like name; otherwise, PHP overwrites the data with the last submitted value. The thing to note here is that PHP has slightly odd handling of that case - your file upload data will be structured as:
PHP:
$_FILES = [
'File' => [
'name' => [
0 => 'test1.png',
1 => 'test2.png',
2 => 'test3.png'
],
'tmp_name' => [ /* upload paths */ ],
'type' => [ /* file types */ ],
'size' => [ /* file sizes */ ],
'error' => [ /* upload errors for each item */ ]
]
];
irony_delerium said:
Try using "File[]" as the name instead - when sending form data to PHP, if you want to have multiple fields with the same name, they need to have an array-like name; otherwise, PHP overwrites the data with the last submitted value. The thing to note here is that PHP has slightly odd handling of that case - your file upload data will be structured as:
PHP:
$_FILES = [
'File' => [
'name' => [
0 => 'test1.png',
1 => 'test2.png',
2 => 'test3.png'
],
'tmp_name' => [ /* upload paths */ ],
'type' => [ /* file types */ ],
'size' => [ /* file sizes */ ],
'error' => [ /* upload errors for each item */ ]
]
];
Click to expand...
Click to collapse
Do you mean i should change the "name" in the BackgroundUploader?
Yes, in your code example above, change:
"File" + I
To:
"File[]"
Yes, it works! As you said, i changed the "name" in the BackgroundUploader, it looks as follows now:
Code:
BackgroundTransferContentPart part = new BackgroundTransferContentPart("[B]File[][/B]", files[i].Name);
My PHP-Script looks now:
PHP:
<?php
error_log(print_r($_FILES, true));
foreach ($_FILES['File']['name'] as $key=>$file) {
$uploaddir = '/home/HoPic/uploads/';
$target = $uploaddir.$file;
move_uploaded_file($_FILES['File']['tmp_name'][$key], $target);
}
?>
The error log gives me the following output:
Code:
[Mon Oct 13 19:32:11 2014] [error] [client 192.168.1.10] Array\n(\n [File] => Array\n (\n [name] => Array\n (\n [0] => test1.png\n [1] => test2.png\n [2] => test3.png\n )\n\n [type] => Array\n (\n [0] => \n [1] => \n [2] => \n )\n\n [tmp_name] => Array\n (\n [0] => /tmp/phpTJb14w\n [1] => /tmp/phplhgpAV\n [2] => /tmp/phpX5cW5j\n )\n\n [error] => Array\n (\n [0] => 0\n [1] => 0\n [2] => 0\n )\n\n [size] => Array\n (\n [0] => 6827\n [1] => 6827\n [2] => 6827\n )\n\n )\n\n)\n
I think everthing is ok now?