View Full Version : AHH..... Camera problems with ROM building
ADB100
2nd September 2007, 03:27 PM
I have built lots of ROMs and every so often the Camera doesn't work. I have seen various OEM packages for the Camera application and I thought the 'Camera=3_00_25498_AKU20' was the final, fixed version. I have used this on a couple of ROM's previously and it worked fine. I have just built another ROM with the same OEM Package and bang 'Camera' is not a valid Pocket PC application', grrrr :mad: I have tried this several times now with different Camera OEM packages (usually having to remove duplicate files from other packages).
Apart from that the ROM I have built has everything else working fine - HTC Audio Manager, HTC Recorder, Streaming Media etc. All of these use some of the components needed for the camera. Can anyone point me in the right direction before the Wizard gets a trip through the window....
Andy
its right
2nd September 2007, 04:15 PM
check the initflashfiles.txt of the camera
Directory("\Windows\Start Menu\Programs"):-File("Camera.lnk","\Windows\HTC_Camera.lnk")
Directory("\Windows\Help"):-File("Camera.lnk","\Windows\Help_Camera.lnk")
Directory("\Windows\AppButtons"):-File("Camera.lnk","\Windows\HTC_Camera.lnk")
Directory("\My Documents\Templates"):-File("happybirthday.gif","\Windows\happybirthday.gif")
Directory("\My Documents\Templates"):-File("Holiday-scene.gif","\Windows\Holiday-scene.gif")
Directory("\My Documents\Templates"):-File("love.gif","\Windows\Holiday-scene.gif")
Directory("\My Documents\Templates"):-File("Mirror-effect.gif","\Windows\
Directory("\My Documents\Templates"):-File("Monkey.gif","\Windows\Monkey.gif")
Directory("\My Documents\Templates"):-File("Painting.gif","\Windows\Painting.gif")
Directory("\My Documents\Templates"):-File("smile.gif","\Windows\smile.gif")
Directory("\My Documents\Templates"):-File("softener effect.gif","\Windows\softener effect.gif")
Directory("\My Documents\Templates"):-File("stage.gif","\Windows\stage.gif")
Directory("\My Documents\Templates"):-File("TV-scene.gif","\Windows\TV-scene.gif")
Directory("\Windows\AppButtons"):-File("Camera.lnk","\Windows\HTC_Camera.lnk")
ADB100
2nd September 2007, 04:22 PM
check the initflashfiles.txt of the camera
Directory("\Windows\Start Menu\Programs"):-File("Camera.lnk","\Windows\HTC_Camera.lnk")
Directory("\Windows\Help"):-File("Camera.lnk","\Windows\Help_Camera.lnk")
Directory("\Windows\AppButtons"):-File("Camera.lnk","\Windows\HTC_Camera.lnk")
Directory("\My Documents\Templates"):-File("happybirthday.gif","\Windows\happybirthday.gif")
Directory("\My Documents\Templates"):-File("Holiday-scene.gif","\Windows\Holiday-scene.gif")
Directory("\My Documents\Templates"):-File("love.gif","\Windows\Holiday-scene.gif")
Directory("\My Documents\Templates"):-File("Mirror-effect.gif","\Windows\
Directory("\My Documents\Templates"):-File("Monkey.gif","\Windows\Monkey.gif")
Directory("\My Documents\Templates"):-File("Painting.gif","\Windows\Painting.gif")
Directory("\My Documents\Templates"):-File("smile.gif","\Windows\smile.gif")
Directory("\My Documents\Templates"):-File("softener effect.gif","\Windows\softener effect.gif")
Directory("\My Documents\Templates"):-File("stage.gif","\Windows\stage.gif")
Directory("\My Documents\Templates"):-File("TV-scene.gif","\Windows\TV-scene.gif")
Directory("\Windows\AppButtons"):-File("Camera.lnk","\Windows\HTC_Camera.lnk")
Yes, that's all there. I think this is either files missing or incorrect versions of some files, however I don't know what....
Andy
jruser
2nd September 2007, 04:45 PM
Check the package that I posted on the second page of this thread:
http://forum.xda-developers.com/showthread.php?t=325714&page=2
The files in the application folder are the only ones necessary for the camera to work. The rest of the files in the 'video filters' folder are only required for windows media player to play back videos recorded in the camera.
Note I have only tried this in 1413. Nobody has really ever told me if my package works for them.
ADB100
2nd September 2007, 05:18 PM
Check the package that I posted on the second page of this thread:
http://forum.xda-developers.com/showthread.php?t=325714&page=2
The files in the application folder are the only ones necessary for the camera to work. The rest of the files in the 'video filters' folder are only required for windows media player to play back videos recorded in the camera.
Note I have only tried this in 1413. Nobody has really ever told me if my package works for them.
Downloaded the package, rebuilt the ROM and hit the camera button or try to start it from the icon and:
'Camera' is not a valid Pocket PC application
This is getting really frustrating........ :(
Andy
ADB100
3rd September 2007, 01:19 AM
I managed to fix the problem but I am not too sure how....
I re-dumped the original ROM (Whiterat's latest released WRX) and went through the same process of moving files about, deleting some packaged, editing the initflashfiles.dat and creating the individual initflashfiles.txt for the various packaged before adding my own stuff. I have no idea why but now when I cook a ROM the camera works.... I can only assume there was either some corruption somewhere or some files were missing (accidentally deleted?).
Anyway, panic over......
Andy
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.