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 > HTC Apache Development

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-24-2007, 11:58 AM
cakek's Avatar
PPCGeeks Regular
Offline
Pocket PC: Samsung Omnia
Carrier: Verizon
Location: Central Florida
 
Join Date: Feb 2007
Posts: 58
Reputation: 15
cakek is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
"no Unicode byte order mark"??????

OK, this is my first time adding my own programs to the Kitchen. I did everything as the "Apache Kitchen Walkthrough" told me to. As soon as I start up the BuildOS the following message comes up for every program that I added:

USER_OEM\Optional_Misc_(my program)\Option.xml
There is no Unicode byte order mark. Cannot switch to Unicode.

I tried to go back and change the Encoding to Unicode and back to ANSI but is does not seem to make a difference. Any help would be greatly appreciated. I feeel like I'm almost there!
Reply With Quote
  #2 (permalink)  
Old 11-24-2007, 03:02 PM
luv2chill's Avatar
Retired Staff
Offline
Pocket PC: Apache (PPC6700); Titan (Mogul)
Carrier: Sprint
Location: Lawrence, KS
 
Join Date: Nov 2006
Posts: 1,524
Reputation: 143
luv2chill is keeping up the good workluv2chill is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via ICQ to luv2chill Send a message via AIM to luv2chill Send a message via MSN to luv2chill Send a message via Yahoo to luv2chill Send a message via Skype™ to luv2chill
Option.xml files should never be Unicode--always ANSI. I know that's confusing because every other text file you create (rgu, initflashfiles) needs to be Unicode BOM.

Re-encoding the file to ANSI should work, but if it doesn't try making a brand new option.xml file and leave it in ANSI to begin with.

BTW I suggest notepad2 (google for it) for text editing. If you don't have that you should be using notepad (not Word or Wordpad or whatever).
Reply With Quote
  #3 (permalink)  
Old 11-25-2007, 03:05 PM
cakek's Avatar
PPCGeeks Regular
Offline
Pocket PC: Samsung Omnia
Carrier: Verizon
Threadstarter
Location: Central Florida
 
Join Date: Feb 2007
Posts: 58
Reputation: 15
cakek is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Thanks luv2chill!! What I ended up doing was to change the "UTF-16" to UTF-8 and the BuildOS took it. The problem that I encountered now is that the programs did not go where they were suppose to. They went into Windows, however, they did not go into the Programs file, and/or the Games file. I ended up finding the shortcut to them and physically putting them into there respective files. And now it works, but it pisses me off that can't figure out what is right in front of me! I have gone back and checked what I have done compared to what was mentioned, and I did everything right. I even extracted the WM6 files and looked at what you guys did on a few programs and mine compared to everything you did! Something is really kicking my ass here!
Reply With Quote
  #4 (permalink)  
Old 11-25-2007, 04:22 PM
luv2chill's Avatar
Retired Staff
Offline
Pocket PC: Apache (PPC6700); Titan (Mogul)
Carrier: Sprint
Location: Lawrence, KS
 
Join Date: Nov 2006
Posts: 1,524
Reputation: 143
luv2chill is keeping up the good workluv2chill is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via ICQ to luv2chill Send a message via AIM to luv2chill Send a message via MSN to luv2chill Send a message via Yahoo to luv2chill Send a message via Skype™ to luv2chill
your problem is with initflashfiles.txt. Either you didn't create one, didn't put it in Unicode format, or didn't use the correct syntax in the file(s). If you want to post up your initflashfiles.txt here someone can take a look at it and let you know if it's correct. And if you don't have an initflashfiles.txt in your OEMs then that's why the shortcuts didn't get copied.
Reply With Quote
  #5 (permalink)  
Old 11-26-2007, 05:05 PM
cakek's Avatar
PPCGeeks Regular
Offline
Pocket PC: Samsung Omnia
Carrier: Verizon
Threadstarter
Location: Central Florida
 
Join Date: Feb 2007
Posts: 58
Reputation: 15
cakek is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Thanks again luv2chill!!! I did create a initflashfile.txt file for each program. Here is what I had put for one of the programs:

Directory("\windows\Start Menu\Programs\Games"):-File("Billiard Master2.lnk"."\windows\bm2.lnk")

I originally put in the Start and End to the command just as the Apache Kitchen Walkthrough had suggested, but my final attempt I tried it without (as you see above) and it still did the same thing. Hopefully some will see something I'm not!
Reply With Quote
  #6 (permalink)  
Old 11-26-2007, 05:08 PM
cakek's Avatar
PPCGeeks Regular
Offline
Pocket PC: Samsung Omnia
Carrier: Verizon
Threadstarter
Location: Central Florida
 
Join Date: Feb 2007
Posts: 58
Reputation: 15
cakek is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Not to sound like a Dummy, but, I JUST noticed when I sent this over that I have a period instead of a comma between the quotes right after Billiard Master2. I bet that is culprit. Can someone comment?
Reply With Quote
  #7 (permalink)  
Old 11-26-2007, 07:47 PM
tiermann's Avatar
VIP Member
Offline
Pocket PC: XV6800 Titan (on Sprint) / PPC6700 (Sprint) Apache / Sprint Touch
Carrier: Sprint
Location: PA, USA
 
Join Date: Apr 2007
Posts: 815
Reputation: 3165
tiermann is still contributing even after becoming a VIPtiermann is still contributing even after becoming a VIPtiermann is still contributing even after becoming a VIPtiermann is still contributing even after becoming a VIPtiermann is still contributing even after becoming a VIPtiermann is still contributing even after becoming a VIPtiermann is still contributing even after becoming a VIPtiermann is still contributing even after becoming a VIPtiermann is still contributing even after becoming a VIPtiermann is still contributing even after becoming a VIPtiermann is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to tiermann Send a message via Yahoo to tiermann
That'll do it. Needs to be a comma.

Just some background as to why initflashfiles.txt is needed...
All files in an OEM get put directly in \Windows. If anything needs to be copied anywhere else it must be done in initflashfiles.txt
These files are only copied, not moved because you cannot move a ROM file. So just remember that anything copied using initflashfiles will be using up storage space. Best OEMs use very little initflash.

Last edited by tiermann; 11-26-2007 at 07:50 PM.
Reply With Quote
  #8 (permalink)  
Old 11-26-2007, 10:33 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)
Quote:
Originally Posted by tiermann View Post
Best OEMs use very little initflash.
Conversely, if you're doing a lot with initflashfiles.txt, you might consider not making it an OEM and stick to .cab installation.
__________________
Grammar: The difference between knowing your shit and knowing you're shit.
Reply With Quote
  #9 (permalink)  
Old 11-27-2007, 06:56 AM
cakek's Avatar
PPCGeeks Regular
Offline
Pocket PC: Samsung Omnia
Carrier: Verizon
Threadstarter
Location: Central Florida
 
Join Date: Feb 2007
Posts: 58
Reputation: 15
cakek is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
So, if I'm understanding you correctly, it is probably better to do what I did and have the BuildOS just dump everything into \windows and than go back after the ROM boots, find the shortcuts, and put them into the Programs folder?
Reply With Quote
  #10 (permalink)  
Old 11-27-2007, 08:14 AM
tiermann's Avatar
VIP Member
Offline
Pocket PC: XV6800 Titan (on Sprint) / PPC6700 (Sprint) Apache / Sprint Touch
Carrier: Sprint
Location: PA, USA
 
Join Date: Apr 2007
Posts: 815
Reputation: 3165
tiermann is still contributing even after becoming a VIPtiermann is still contributing even after becoming a VIPtiermann is still contributing even after becoming a VIPtiermann is still contributing even after becoming a VIPtiermann is still contributing even after becoming a VIPtiermann is still contributing even after becoming a VIPtiermann is still contributing even after becoming a VIPtiermann is still contributing even after becoming a VIPtiermann is still contributing even after becoming a VIPtiermann is still contributing even after becoming a VIPtiermann is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to tiermann Send a message via Yahoo to tiermann
No.. it's the same exact thing that initflashfiles can do for you, but just remember that anything copied is copied and not moved so it takes up space in ROM as well as program memory. A couple of shortcuts are fine, but once you start copying images, themes, exe's, dlls or other files to subfolders or other places on the device, then the OEM isn't really worth it anymore.
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Apache > HTC Apache Development

Thread Tools
Display Modes

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 09:44 AM.


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