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 Apache
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 05-24-2007, 08:29 PM
FSTNG's Avatar
N00b
Offline
Pocket PC: HTC Touch Pro 2 (CDMA)
Carrier: Sprint
 
Join Date: Mar 2007
Posts: 27
Reputation: 5
FSTNG is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Sorry for the late reply. What happens is the device hangs on the first boot screen (device boot) when I add one of my OEMs to the kitchen. I get no errors during the build process. I tried just using a simple single executable file program to test, generated the UUID for the dsm filename, made the shortcut and initflashfiles.txt files, etc. Basically followed the directions in the oem faq on this forum. I'm a bit stumped on why it's not working but I haven't had the time to run through the process of elimination to figure out what is happening. I'm going to work on it some more this evening.
Reply With Quote
  #22 (permalink)  
Old 05-24-2007, 09:02 PM
FSTNG's Avatar
N00b
Offline
Pocket PC: HTC Touch Pro 2 (CDMA)
Carrier: Sprint
 
Join Date: Mar 2007
Posts: 27
Reputation: 5
FSTNG is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Well I don't get it. I tried using WinRAR as a test, no luck. I have four files in a folder I named "XTRA_WinRAR" and put in the OEM folder.

initflashfiles.txt:
Directory("\Windows\Start Menu\Programs\Accessories"):-File("WinRAR.lnk","\Windows\WinRAR.lnk")

WinRAR.lnk:
18#"\Windows\rar.exe"

0dceefc8-b94d-11db-8314-0800200c9a66.dsm:
(blank)

rar.exe
(program file)


Adding that to the OEM folder causes the device to hang on the device boot screen prior to the windows boot screen. Leave it out and it boots.
Reply With Quote
  #23 (permalink)  
Old 05-24-2007, 11:27 PM
haus's Avatar
Halfway to VIP Status
Offline
Pocket PC: Evo Shift 4G
Carrier: Sprint
Threadstarter
 
Join Date: Jan 2007
Posts: 711
Reputation: 765
haus knows their stuffhaus knows their stuffhaus knows their stuffhaus knows their stuffhaus knows their stuffhaus knows their stuffhaus knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Edit: the following post may be incorrect (read on in this thread):
----
(old info)

I think I posted about this somewhere else. The reason it's not working is that the directory you are pointing to (Accessories) does not exist. You need a different command in your initflashfiles.txt to create directories. You should be able to search for it; I don't know it offhand.
Reply With Quote
  #24 (permalink)  
Old 05-25-2007, 04:14 AM
badkarma's Avatar
N00b
Offline
Pocket PC: Vogue
Carrier: Bell Mobility
 
Join Date: Mar 2007
Posts: 28
Reputation: 0
badkarma is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Sorry guys, where do I find luv2chill's VC OEM ? Couldn't find it via the search.
Reply With Quote
  #25 (permalink)  
Old 05-25-2007, 05:43 AM
FSTNG's Avatar
N00b
Offline
Pocket PC: HTC Touch Pro 2 (CDMA)
Carrier: Sprint
 
Join Date: Mar 2007
Posts: 27
Reputation: 5
FSTNG is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Actually I just removed the line I had in initflashfiles.txt to create the directory first thinking that it might be causing the problem. This is how I had it before, it does the same thing this way:

initflashfiles.txt:
Directory("\Windows\Start Menu\Programs")irectory("Accessories")
Directory("\Windows\Start Menu\Programs\Accessories"):-File("WinRAR.lnk","\Windows\WinRAR.lnk")
Reply With Quote
  #26 (permalink)  
Old 05-25-2007, 11:13 AM
haus's Avatar
Halfway to VIP Status
Offline
Pocket PC: Evo Shift 4G
Carrier: Sprint
Threadstarter
 
Join Date: Jan 2007
Posts: 711
Reputation: 765
haus knows their stuffhaus knows their stuffhaus knows their stuffhaus knows their stuffhaus knows their stuffhaus knows their stuffhaus knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Check your syntax just to be sure. I know for sure that trying to place an item in a nonexistent directory causes a hang at boot. That's not to say something else isn't causing your problem, but I look at "obvious first". Have you tried changing that line to put the program somewhere else, or better yet just take it out entirely and see if the program shows up in \Windows after you flash?

Beyond that there are threads devoted to this sort of problem, you might find some tips there. (You'll need to search; I don't recall where they are).

BadKarma, the OEMs are in the FTP. Some are under subdirectories of the names of the people that compiled them for the ROM kitchen (like luv2chill).
Reply With Quote
  #27 (permalink)  
Old 05-25-2007, 02:12 PM
brightedge's Avatar
Regular 'Geeker
Offline
Pocket PC: Touch Pro
Carrier: Sprint
Location: Columbus, OH
 
Join Date: Feb 2007
Posts: 419
Reputation: 140
brightedge is keeping up the good workbrightedge is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quote:
Originally Posted by FSTNG
Well I don't get it. I tried using WinRAR as a test, no luck. I have four files in a folder I named "XTRA_WinRAR" and put in the OEM folder.

initflashfiles.txt:
Directory("\Windows\Start Menu\Programs\Accessories"):-File("WinRAR.lnk","\Windows\WinRAR.lnk")

WinRAR.lnk:
18#"\Windows\rar.exe"

0dceefc8-b94d-11db-8314-0800200c9a66.dsm:
(blank)

rar.exe
(program file)


Adding that to the OEM folder causes the device to hang on the device boot screen prior to the windows boot screen. Leave it out and it boots.
Some things to check:
1) Make sure that you have one blank line at the end of your initflashfiles.txt file
2) Make sure your initflashfiles.txt is being saved as Unicode
3) You shouldn't need the extra line that creates the Accessories folder. If the folder doesn't exist before copying the file, it will be created automatically
__________________
One ROM to rule them all,
One ROM to find them.
One ROM to bring them all,
And in the kitchen, bind them.
Reply With Quote
  #28 (permalink)  
Old 05-25-2007, 05:08 PM
FSTNG's Avatar
N00b
Offline
Pocket PC: HTC Touch Pro 2 (CDMA)
Carrier: Sprint
 
Join Date: Mar 2007
Posts: 27
Reputation: 5
FSTNG is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
heh, after changing things one at a time and rebuilding/flashing more times than I want to count, I figured out those three things lol. Also I discovered that the character count in the shortcut file doesn't seem to be needed, I tried just making it

#"\Windows\whatever.exe"

instead of having the character count before the #, and it seems to work fine that way. Thanks for the post, wish I'd have read it before spending a couple hours troubleshooting

I guess the OEM faq that I got is out of date or a little incomplete.
Reply With Quote
  #29 (permalink)  
Old 05-26-2007, 05:01 PM
haus's Avatar
Halfway to VIP Status
Offline
Pocket PC: Evo Shift 4G
Carrier: Sprint
Threadstarter
 
Join Date: Jan 2007
Posts: 711
Reputation: 765
haus knows their stuffhaus knows their stuffhaus knows their stuffhaus knows their stuffhaus knows their stuffhaus knows their stuffhaus knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quote:
Originally Posted by brightedge
3) You shouldn't need the extra line that creates the Accessories folder. If the folder doesn't exist before copying the file, it will be created automatically
Really? I did not have success with that. My ROMs crashed on boot when I tried to write things to nonexistent directory. I'm kind of tired of re-creating ROMs just for kicks (I've got a nice one now) so I'll just take your word for it but my apologies to anyone who got bad advice from me about that.
Reply With Quote
  #30 (permalink)  
Old 05-26-2007, 08:09 PM
FSTNG's Avatar
N00b
Offline
Pocket PC: HTC Touch Pro 2 (CDMA)
Carrier: Sprint
 
Join Date: Mar 2007
Posts: 27
Reputation: 5
FSTNG is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Yeah I can confirm that you don't have to create the folder first, and I think that I've done it multiple levels deep into a nonexistant directory. Thanks again for the tips, I have my rom working now I have to chase down all the quirks and get everything working right, registry stuff, etc and pretty soon I'll have all my apps and settings in a rom without having to use any of the designated storage space, sweet!
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Apache


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 01:16 AM.


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