Avoid Boot-time Auto Configuration? - Windows Mobile Software Development

Does Anybody knows how to avoid the Auto Configuration (that program that starts only the first time after a Cold Boot)?
I think that program (AutoConfig.exe) is part of the ROM, but in O2 ROMs it does not start after a Cold Boot, so it should be any way to disable it, any idea?
Regards.

Avoid AutoConfig.exe is easy
You only have to comment the corresponding lines in Welcome.cpp:
RunApp(L"\\Windows\\AutoConfig.exe", L"");
and if you can avoid the reboot, you should also comment the lines which has a comment that says:
// reboot
KernelIoControl(0x0101003c, 0, 0, 0, 0, 0);

Related

UNI_QTEK_13096_185_10900_GER_Ship.exe: WiFi Today plugin

Hello group
A strange thing happened yesterday. I updated a Qtek 9000 with that ROM. After the setup, which went without a glitch, I clicked my way through the initial setup until it told me that it would now start installing default apps. Before that, I got a glimpse of the today screen. It showed a WiFi applet, telling me that at the moment no AP was near.
After the automatic default app setup, the plugin was gone. Not just deactivated, I couldn't activate it in the "Today" settings tool.
Uhm... any suggestions? Is it possible that there's software hidden which can be made visible? How so?
Thank you.
I just did it - updated to UNI_QTEK_13077_176_10900_WWE_Ship.exe. During the custom app install sequence, it ran a program called something like "PT_remove_wireless_today.cab" :x
Why is this?
To see this, you have two choices. Either hard reset your device and then just after completing the screen setup soft reset your device, to prevent the customization. Or you can add the following registry values to your device;
HKLM\SOFTWARE\Microsoft\Today\Items
Then add a new key called "Wireless"
under this key add the following DWord values
Enabled = 0x1 (1)
Flags = 0x0 (0)
Options = 0x0 (0)
Order = 0x1 (1)
Type = 0x4 (4)
And then add a new String Value called
DLL = netui.dll
Thank you - it works. Is there a list somewhere with "hidden gadgets"?

MSM7200 again

Hi, All!
I have some trouble with my device, i got SVC mode, i can disable MMU, i can set Region Access Control Register via mcr p15, 0, Rx, c15, c2, 4 command, i can do anything but i cant get access to peripheral bus registers
What I doing wrong
Regards

Smith's simple android boot script

Ok, so there are a few things I've ran into when it comes to running android.
1.) If you have WinMo overclocked, Android will not boot.
2.) If you have WinMo handling your backlight, then sometimes the backlight will always be turned on, even if you "power off" your phone.
3.) Lastly, after running android, my WinMo time gets messed up, very very messed up. (Still coming up with a solution for this)
So, In order to remedy all of the above problems, I've created a simple android startup script, complemented by a WinMo startup script.
Well, here they are, simple, but effective!
Code:
#Android Boot Script
#Sets proper WinMo settings for booting Android
#################################
If(Question("Boot Android?","Droid", "OkCancel")=CANCEL)
Exit
Else{
RegWriteDWord ("HKCU", "ControlPanel\BackLight", "LightDetectOn", "0")
Copy("\Storage Card\andboot\backlight.mscr" , "\Windows\Startup\backlight.mscr" , TRUE)
Run("\Program Files\OverClockTool\OCT_Stop.exe")
WaitForActive("OCT: message" , 5)
SendOk
Run("\Storage Card\andboot\haret.exe")}
endif
As seen above, in line 2 of the actual code, that script mentions "backlight.mscr" so here is that as well:
Code:
#WinMo settings restore
#Simply sets autobacklight back on.
#################################
RegWriteDword("HKCU", "ControlPanel\Backlight", "LightDetectOn", "1")
Delete("\Windows\Startup\backlight.mscr")
Again, simple, but effective.
I would love to see what others would like to add to this!
Regards
Smith

Changing a Registry Key Automatically on Startup.

Hi everyone. Trying to find a way (if possible) to automatically change a registry key every time the device reboots. Every time I reboot I have to go in and change one registry key manually, I know it's not that bad but I would love it if it could do it by itself. The key is to Enable Audio Booster without using a headset (I use a stereo bluetooth).
The key is: HKLM/System/State/Hardware/Headset
The default is 0, and I have to change it to 1 after a reboot.
You could use Mortscript and create a little script to run on startup
I don't know anything about creating scripts, is it pretty easy or self explanatory?
Not sure about self explanatory, but I am not a programmer and I was able to look at sample scripts and figure out something simple. My original Tilt had an issue where when exchange password was enforced something was setting the backlight to 10 seconds and it drive me nuts. I created a script that was:
RegReadDword HKCU,"ControlPanel","Backlight",BatteryTimeOut
if equals %8%,1
regWriteDword HKCU,"ControlPanel","Backlight","BatteryTimeOut",60
Endif
And that solved my problem 95% of the time.
That's exactly what I did, looked at some scripts that were close to what I wanted and just through trial & error whittled it down to what I needed & it worked!
For anyone who wants it I posted the file here, because I can't be the only one who needs this. You just need to place it in the "StartUp" folder. I named the file ABWBTH.mscr (Audio Booster With Bluetooth Headset).
The Script is very simple:
RegWriteDword ("HKLM", "System\State\Hardware", "Headset",1)

[Q] Gps auto data delete

Hi. I'm a fun of yours work on Samsung Wave. I come here to ask if is possibile to create a program that automatically delete the gps+ data.
I have the JL2 unofficial fw on my Wave and I checked that, without a manual delete data + gps, they are not downloaded. It 's always necessary, any time, enter the secret menu (*#4097*4097#) and manually delete the data.
It would be possible to build a tool able to do this procedure automatically and, perhaps, start Route66 in the same time. In short, do everything with one click. With this settings the fix of our Wave will be always in the order of time of 20-30 seconds. It's possible in yours opinion?
Why do you need to delete any data? I've installed Sygic and i get a lock after about 10-20 sec ....
pockobg said:
Why do you need to delete any data? I've installed Sygic and i get a lock after about 10-20 sec ....
Click to expand...
Click to collapse
Is difficult to explain the situation. I use Ruote66 and fw JL2. I haven't a flat plan on phone and I use wap configuration. I think isn't a problem of Ruote66 but of the internal settings of gps. In my case, if I don't used the gps from a week, the fix is slow (12 min). I have active gps+ but the download doesn't run automaticaly if I delete gps data.
Nezmanpro said:
Is difficult to explain the situation. I use Ruote66 and fw JL2. I haven't a flat plan on phone and I use wap configuration. I think isn't a problem of Ruote66 but of the internal settings of gps. In my case, if I don't used the gps from a week, the fix is slow (12 min). I have active gps+ but the download doesn't run automaticaly if I delete gps data.
Click to expand...
Click to collapse
So this is a problem for Route66? Why dont you try Sygic?
pockobg said:
So this is a problem for Route66? Why dont you try Sygic?
Click to expand...
Click to collapse
Becouse I buyed Route66. I want use it and not another software.
Question: Can you give me the fw in your Wave and the setting in secret menĂ¹ of gps (*#4097*4097#)? My interest is for "gps type" and the value of "time - out" in the "application settings". Thanks
Time out - 60000
GPS Device-Type - HYBRID
I found that setting a timeout to 1000 worked a little better but effectively deleting the data gets it going more quickly. That is after setting up the system correctly in the first place.
Sent from my Hero using Tapatalk
duxxyuk said:
I found that setting a timeout to 1000 worked a little better but effectively deleting the data gets it going more quickly. That is after setting up the system correctly in the first place.
Sent from my Hero using Tapatalk
Click to expand...
Click to collapse
I use this settings:
gps mode: standalone;
gps option: location+ velocity + altitude;
session type: tracking mode;
gps device - type; build - in;
data receive..: All;
time out: 60000 (change to 1000);
Horizzontal Accuracy: 1000;
Vertical Accuracy: 500;
I tryed to use the hybrid type of gps, but my apn doesn't support traffic of data. So I set built - in and it's ok if I delete gps data. Now, the most rational solution is waiting a new fw that, perhaps, will solve this problem but my idea is easy and can give to all those who use route66 an immediately solution.
So, there is anyone that can realise this application? Is possible?
Here's how I got mine working correctly. (effectively I finish with Nezmanpro's settings as well)
1. Dial *#4097*4097#
2. Choose 3-User setting
3. Choose 1-Assist Method Type then select AGPS. System will reboot.
4. When the phone boots and returns to idle mode (after entering pin and checking the SD Card) dial *#4097*4097#.
2. Choose 3-User setting
3. Choose 2-SUPL Setting and set the options as below
Use AGPS or NOT = On
MT-Auto Configuration = Off
SUPL MT-Response Type = Accept
Server Address Type = IP_ADDRESS
Server FQDN Type = Custom Config (this was originally BMC LIVE TEST )
SUPL Secure Socket = Off
Server IP Address = 74.125.77.192
Server Port = 7276
I then go back up to "Server Address Type" and set that to "HOST_NAME". I can then set Server Custom FQDN = supl.google.com
I think there's a bug here as the port should also be available when using a host name - when choosing host_name the port field is locked, that's the reason behind going back up and changing the "Server Address type".
Save this. then go into 4-Network Profile
4. Set the network to the one you use for your internet access, not the mms.
5. Check that in the PDR Setting all is checked.
6. Go back to the main menu of LBS Application then select 2. Application Setting
7. Set the following options:
GPS Mode = A-GPS CP Based
(See the following post for further info http://forum.xda-developers.com/showthread.php?t=729118)
GPS Option = Location+Velocity + Altitude
Session Type = Tracking Mode
GPS Device-Type = HYBRID
Date Recieve Type = All
Time Out = 1000 (like Nezmanpro)
Horizontal Accuracy = 100
Vertical Accuracy = 500
8. I then go back into User Setting
9. Back into Assist Method
10. Set Assist Method Type = GPS+
System will restart
11.When the phone boots and returns to idle mode (after entering pin and checking the SD Card) dial *#4097*4097# to get back to the LBS Application.
12. Go back into 3-User Setting
You'll see that SUPL settings are no longer present.
13. Go into GPS+ Setting and check that Auto Download = Enabled
14. Go back to the LBS Application menu then 6- DELETE GPS DATA
16. Happy navigation. Phew
duxxyuk said:
Here's how I got mine working correctly. (effectively I finish with Nezmanpro's settings as well)
1. Dial *#4097*4097#
2. Choose 3-User setting
3. Choose 1-Assist Method Type then select AGPS. System will reboot.
4. When the phone boots and returns to idle mode (after entering pin and checking the SD Card) dial *#4097*4097#.
2. Choose 3-User setting
3. Choose 2-SUPL Setting and set the options as below
Use AGPS or NOT = On
MT-Auto Configuration = Off
SUPL MT-Response Type = Accept
Server Address Type = IP_ADDRESS
Server FQDN Type = Custom Config (this was originally BMC LIVE TEST )
SUPL Secure Socket = Off
Server IP Address = 74.125.77.192
Server Port = 7276
I then go back up to "Server Address Type" and set that to "HOST_NAME". I can then set Server Custom FQDN = supl.google.com
I think there's a bug here as the port should also be available when using a host name - when choosing host_name the port field is locked, that's the reason behind going back up and changing the "Server Address type".
Save this. then go into 4-Network Profile
4. Set the network to the one you use for your internet access, not the mms.
5. Check that in the PDR Setting all is checked.
6. Go back to the main menu of LBS Application then select 2. Application Setting
7. Set the following options:
GPS Mode = A-GPS CP Based
(See the following post for further info http://forum.xda-developers.com/showthread.php?t=729118)
GPS Option = Location+Velocity + Altitude
Session Type = Tracking Mode
GPS Device-Type = HYBRID
Date Recieve Type = All
Time Out = 1000 (like Nezmanpro)
Horizontal Accuracy = 100
Vertical Accuracy = 500
8. I then go back into User Setting
9. Back into Assist Method
10. Set Assist Method Type = GPS+
System will restart
11.When the phone boots and returns to idle mode (after entering pin and checking the SD Card) dial *#4097*4097# to get back to the LBS Application.
12. Go back into 3-User Setting
You'll see that SUPL settings are no longer present.
13. Go into GPS+ Setting and check that Auto Download = Enabled
14. Go back to the LBS Application menu then 6- DELETE GPS DATA
16. Happy navigation. Phew
Click to expand...
Click to collapse
Ok. But you must always manually delete gps data after this operation? I Knew that this operation was for functionally to have more speed to data download but my problem doesn't solve, becouse you must always delete gps data. Or not?
In order to get a fix quickly - ahem - in less than 3 minutes I need to delete the gps data.
Compared to a HTC hero I have the impression that the phone has no A in GPS.
the HTC hero locks in under 30 seconds the wave in under 3 minutes.
duxxyuk said:
In order to get a fix quickly - ahem - in less than 3 minutes I need to delete the gps data.
Compared to a HTC hero I have the impression that the phone has no A in GPS.
the HTC hero locks in under 30 seconds the wave in under 3 minutes.
Click to expand...
Click to collapse
An application that auto deletes the gps data would fix this problem.
So the Wave does not use network assisted GPS? Then those Application settings in the GPS menu do not make sense other than the Standalone mode?
bsbharath1987 said:
So the Wave does not use network assisted GPS? Then those Application settings in the GPS menu do not make sense other than the Standalone mode?
Click to expand...
Click to collapse
Having deleted the gps data this morning. I put the phone in 3G mode... gps lock in under a minute... I think YES the phone is capable of being assisted it's just that Samsung appear to have completely misconfigured and have forgotten to implement the gps data timeout :-(
definitely not something that would get past Steve Jobs....
i think we have nothing to do untill now except waiting a new firmware fixing this

Categories

Resources