PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Vogue
Register Community Search

Notices


Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-12-2008, 07:05 AM
DHarvey's Avatar
VIP Member
Offline
Pocket PC: HTC Touch PRO(AT&T Fuze)
Carrier: T-Mobile Pre-Paid
 
Join Date: Sep 2007
Posts: 1,296
Reputation: 6224
DHarvey is a trusted member of the communityDHarvey is a trusted member of the communityDHarvey is a trusted member of the communityDHarvey is a trusted member of the communityDHarvey is a trusted member of the communityDHarvey is a trusted member of the communityDHarvey is a trusted member of the communityDHarvey is a trusted member of the communityDHarvey is a trusted member of the communityDHarvey is a trusted member of the communityDHarvey is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Question Question for Seasoned Chefs.

Question for seasoned chefs:

How can I go about making my ROM soft-reset it self after initial boot as if customizations had just run? I do not want any customizations to run, I just want it to soft-reset after first boot and would like to know how to get it to do this.

Thanks,

Dan.
__________________

  #2 (permalink)  
Old 07-12-2008, 08:29 AM
ImCoKeMaN's Avatar
Retired Staff
Offline
Pocket PC: Touch PRO 2! Touch Pro, Touch, Mogul, 6700
Carrier: Sprint
 
Join Date: Dec 2006
Posts: 918
Reputation: 3178
ImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Question for Seasoned Chefs.

sounds like an easy way would be to allow customizations, but not have anything actually occur in them. Remember it does need to make sure that whatever makes it reset gets removed from the startup procedure after it runs once though. Since customizations already do that seems the easiest. Just edit the config.txt.
__________________
Note: 3 Color screen is stuck in bootloader NOT "bricked"; just flash a stock rom exe
Touch Custom rom unlocker
Undoing advances in Mogul's since 2007. Titan ReLocker, WM5 roms (don't use w/ gps radio): Telus, TNZ
  #3 (permalink)  
Old 07-12-2008, 09:51 AM
DHarvey's Avatar
VIP Member
Offline
Pocket PC: HTC Touch PRO(AT&T Fuze)
Carrier: T-Mobile Pre-Paid
Threadstarter
 
Join Date: Sep 2007
Posts: 1,296
Reputation: 6224
DHarvey is a trusted member of the communityDHarvey is a trusted member of the communityDHarvey is a trusted member of the communityDHarvey is a trusted member of the communityDHarvey is a trusted member of the communityDHarvey is a trusted member of the communityDHarvey is a trusted member of the communityDHarvey is a trusted member of the communityDHarvey is a trusted member of the communityDHarvey is a trusted member of the communityDHarvey is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Question for Seasoned Chefs.

Quote:
Originally Posted by ImCoKeMaN View Post
sounds like an easy way would be to allow customizations, but not have anything actually occur in them. Remember it does need to make sure that whatever makes it reset gets removed from the startup procedure after it runs once though. Since customizations already do that seems the easiest. Just edit the config.txt.
That sounds easy and all but my Vista ROM, the ROM I want to do this to, does not have any customizations. How would I go about actually implementing this process into the ROM?
  #4 (permalink)  
Old 07-12-2008, 11:01 AM
snovvman's Avatar
Regular 'Geeker
Offline
Pocket PC: Most new phones from these carriers except BBs (don't like RIM).
Carrier: Sprint, ATT, Verizon AND T-Mobile. Yes, you read right.
 
Join Date: Jun 2008
Posts: 456
Reputation: 1190
snovvman is halfway to VIP status based on repsnovvman is halfway to VIP status based on repsnovvman is halfway to VIP status based on repsnovvman is halfway to VIP status based on repsnovvman is halfway to VIP status based on repsnovvman is halfway to VIP status based on repsnovvman is halfway to VIP status based on repsnovvman is halfway to VIP status based on repsnovvman is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Question for Seasoned Chefs.

I haven't done any cooking, so I hope I don't waste your time by posting here. Just want to help...

In typical desktop Windows, there is a "run once" key in the registry. Does CE/WM have a similar key? In that case, one would simply need to call a "reset" app under that key. I can have one of my developers look through MSDN on Monday if the problem is not resolved.

The other idea--can you make the last step of the customization (I presume it is a script) to invoke a reset routine or reset application?

Best of luck. Looking forward to 3.x.
  #5 (permalink)  
Old 07-12-2008, 01:15 PM
rstoyguy's Avatar
SuperNoob
Offline
Pocket PC: iPhone 5s
Carrier: TMobile
Location: Wichita, KS
 
Join Date: Jan 2008
Posts: 6,309
Reputation: 23264
rstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation level
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Question for Seasoned Chefs.

Quote:
Originally Posted by snovvman View Post
I haven't done any cooking, so I hope I don't waste your time by posting here. Just want to help...

In typical desktop Windows, there is a "run once" key in the registry. Does CE/WM have a similar key? In that case, one would simply need to call a "reset" app under that key. I can have one of my developers look through MSDN on Monday if the problem is not resolved.

The other idea--can you make the last step of the customization (I presume it is a script) to invoke a reset routine or reset application?

Best of luck. Looking forward to 3.x.
WinCe doesn't have a runonce key. The best approach is to take autorun.exe that comes with the rom and modify so the first command it runs is RST or reset
__________________
If this post was helpfull, let me know by clicking Thanks!

  #6 (permalink)  
Old 07-12-2008, 05:45 PM
DaPeeps's Avatar
Halfway to VIP Status
Offline
Pocket PC: 16GB iPhone 4
Carrier: AT&T
Location: Oklahoma City
 
Join Date: Apr 2008
Posts: 689
Reputation: 815
DaPeeps knows their stuffDaPeeps knows their stuffDaPeeps knows their stuffDaPeeps knows their stuffDaPeeps knows their stuffDaPeeps knows their stuffDaPeeps knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to DaPeeps Send a message via Yahoo to DaPeeps Send a message via Skype™ to DaPeeps
Re: Question for Seasoned Chefs.

Quote:
Originally Posted by rstoyguy View Post
WinCe doesn't have a runonce key. The best approach is to take autorun.exe that comes with the rom and modify so the first command it runs is RST or reset
Couldn't you jsut have it run something like PPST.exe, since its usually run once anyway?
__________________
Phone History:

If I or someone else helps you out, don't just say thanks, click!
  #7 (permalink)  
Old 07-12-2008, 06:45 PM
Whosdaman's Avatar
VIP Member
Offline
Pocket PC: HTC EVO 3D
Carrier: Sprint
Location: Lake City, Florida
 
Join Date: Dec 2007
Posts: 2,402
Reputation: 4662
Whosdaman should be added to the payroll for their contributionsWhosdaman should be added to the payroll for their contributionsWhosdaman should be added to the payroll for their contributionsWhosdaman should be added to the payroll for their contributionsWhosdaman should be added to the payroll for their contributionsWhosdaman should be added to the payroll for their contributionsWhosdaman should be added to the payroll for their contributionsWhosdaman should be added to the payroll for their contributionsWhosdaman should be added to the payroll for their contributionsWhosdaman should be added to the payroll for their contributionsWhosdaman should be added to the payroll for their contributions
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to Whosdaman Send a message via MSN to Whosdaman Send a message via Yahoo to Whosdaman Send a message via Skype™ to Whosdaman
Re: Question for Seasoned Chefs.

Quote:
Originally Posted by scottsimon1979 View Post
Couldn't you jsut have it run something like PPST.exe, since its usually run once anyway?
Yea, Dan you should just put in PPST.exe and there you go
  #8 (permalink)  
Old 07-12-2008, 09:39 PM
gguruusa's Avatar
Deep Thinker
Offline
Pocket PC: Tin Can
Carrier: Atomic Vibration
Location: Mountain top
 
Join Date: Jan 2007
Posts: 3,252
Reputation: 4726
gguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributionsgguruusa should be added to the payroll for their contributions
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Question for Seasoned Chefs.

What is the purpose of this?

The easiest way by far is to let autorun do it, as ImCoKeMaN suggested.
__________________
Grammar: The difference between knowing your shit and knowing you're shit.
  #9 (permalink)  
Old 07-13-2008, 01:23 PM
DHarvey's Avatar
VIP Member
Offline
Pocket PC: HTC Touch PRO(AT&T Fuze)
Carrier: T-Mobile Pre-Paid
Threadstarter
 
Join Date: Sep 2007
Posts: 1,296
Reputation: 6224
DHarvey is a trusted member of the communityDHarvey is a trusted member of the communityDHarvey is a trusted member of the communityDHarvey is a trusted member of the communityDHarvey is a trusted member of the communityDHarvey is a trusted member of the communityDHarvey is a trusted member of the communityDHarvey is a trusted member of the communityDHarvey is a trusted member of the communityDHarvey is a trusted member of the communityDHarvey is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Question for Seasoned Chefs.

Quote:
Originally Posted by gguruusa View Post
What is the purpose of this?

The easiest way by far is to let autorun do it, as ImCoKeMaN suggested.
And this is inevitably what I ended up doing. The purpose of having my ROM soft-reset was to solve initial boot issues.
Closed Thread

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Vogue


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 07:34 PM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com