View Full Version : working on HTC camera 4.11 drain issue Solved but inverted images
kamalneet
4th November 2007, 04:20 PM
i am using touch IX gulum ,before installing cab files of htc camera 4.11 i copied all older camera files then compared them and came out with 5 suspected file which are
1. S5K3BAFX.dll
2. PoomIntegration.dll
3. HTCUtil.dll
4. HTCSourceFlt.dll
5. HtcRenderFlt2.dll
other files are moslty decoders or encoders
i need to know what do last 2 do, my main suspect is S5K3BAFX.dll because its for camera and wifi (discussed some where in prophet forum only) if i put the old file camera will not open and if i replace newer one and softreset camera starts but drain part i am still trying to understand, it is observed that even when not using camera battery drain overnight with original 4.11 installed is over 25%, where as it should be about 4 to 6 % overnight or less so its gonna be time consuming to test these files and one might have to specially replace S5K3BAFX.dll everytime he wants to use camera if this file is the culprit or may be we can cab original camera drivers too so that after we use camera we restore original ones to save power ,this is tiring process any suggestions are welcome.
kamalneet
4th November 2007, 05:49 PM
solution is S5K3BAFX.dll,PoomIntegration.dll,HTCUtil.dll
steps are install the cab gullum camera4.11 file following link
http://rapidshare.com/files/67411076/HTC_Camera_411.CAB
then reset press ok
then upon reset replace with PoomIntegration.dll,HTCUtil.dll in given 3.zip in /windows directory
you are ready to use camera but with drain.
when camera is used replace with S5K3BAFX.dll(37kb) in 3.zip in /windows and softreset.
till when you next need to use camera replace S5K3BAFX.dll(45kb) in 4.zip in /windows ,else camera gives initiation error. (and may be reset) and viceversa .
ofcourse this eliminates power drain in offline mode means when you are not using camera which is more than 25% overnight a significant amount.
i still am keeping under observation
i still have very less time to find about PoomIntegration.dll,HTCUtil.dll but i gave the original ones since it comes with touch IX.
kamalneet
4th November 2007, 06:52 PM
could this dll be opened with .NET
gullum
4th November 2007, 07:57 PM
hi good to see that you are working on the camera :)
but you only need the camera.dll htccamera.dll htccamerautility.dll s5k3bafx.dll (s5k3bafx is the one causing battery drain) and registry setting for camera 4.11 all the other files that are needed for the camera to work are already in the rom.
kamalneet
5th November 2007, 05:54 AM
hi good to see that you are working on the camera :)
but you only need the camera.dll htccamera.dll htccamerautility.dll s5k3bafx.dll (s5k3bafx is the one causing battery drain) and registry setting for camera 4.11 all the other files that are needed for the camera to work are already in the rom.
yes (thanx for IX) ,good news is that touch IX dropped only 2% overnight with older s5k3bafx.dll (37KB) ,so when i need to use camera i have to replace older with 4.11 s5k3bafx.dll (47KB)in 4.zip file and viceversa ,
i think alot of files are depending on s5k3bafx.dll so renaming it won't be a good choice neither in registry nor in /windows folder. i cannot make a code file which replaces this file and is run parallel with camera and then switches back to original file later on and performs a softreset if neccessary.
,there was a 2KB difference in HTCUtil.dll (18KB,20KB) so my judgement was based on difference in sizes beyond 1kb.that is why i changed PoomIntegration.dll,HTCUtil.dll .
kamalneet
12th November 2007, 11:51 AM
p3400 or Trinity ( http://www.mobile-review.com/pda/review/htc-p3400-en.shtml )has wm5 but has camera 4.11 like its battery is same as prophet could some one reading this provide
camera.exe
camera.dll
htccamera.dll
htccamerautility.dll
s5k3bafx.dll
Zakr
13th November 2007, 03:15 PM
У меня ничего не получилось ....пишет что не возможно переместить S5k3bafx
panda88
13th November 2007, 03:34 PM
looks like we need translator....
Zakr
13th November 2007, 03:39 PM
sory...For me nothing turned out ....say that it is not possible to move S5k3bafx
kamalneet
14th November 2007, 03:51 AM
if this file is extracted the problem is solved (only one thing for wifi we will have to switch back to prophet s5k3bafx.dll) because this set don't has wifi but it has camera 4.11 it has 1250 mah battery like prophet all other features are the same except it doesn't have infrared and wifi.
panda88
15th November 2007, 03:17 AM
which other platforms are using S5K3BAFX.dll camera driver? I think Gullum mentioned about Hermes somewhere in this forum. Is Artemis one of them too?
theloon
15th November 2007, 03:41 AM
• Support for the Pocket Outlook Object Model (POOM)
Check this Link: http://www.microsoft.com/downloads/details.aspx?FamilyID=f41fc7c1-f0f4-4fd6-9366-b61e0ab59565&DisplayLang=en
kamalneet
15th November 2007, 12:53 PM
i need these p3400 gene files to test camera ,problem is this model is only in russia africa and south east asia i guess
kamalneet
16th November 2007, 07:33 AM
sory...For me nothing turned out ....say that it is not possible to move S5k3bafx
ok if it is not possible to copy ,please tell me the file size how much kilobyte is is? (like 35KB or 42 KB something like this what exact size do you see)
kamalneet
16th November 2007, 06:11 PM
SOLVED drain issue the cab link given below is same as gullums 4.11 but with 2 files changed inside (S5K3BAFX.dll,HTCCamera.dll from 3.02 version ) camera works BUT screen is inverted and hence the photo is inverted and you have to adjust white balance to auto everytime ,tested on crystal v4 and gullum X beta ,battery drain is stable and under test too ,the inverted issue is due to may be because this rom is based closely to WIZA200 and where as identity shows it as PM300 and WIZA200 HTCCamera.dll might be needed, OR because of hardware issue because neither p3400 nor ELF (touch) have macro mode which means lens or camera is hardware inverted which means more modification to current situation but with battery drain solved i assume if i get the above both files for wiza200 and pm300 and original prophet wm5 i might be able to reinvert the inverted image.also i am unable to recall but i have read this inverted camera issue long time back.
Conclusion : you can use both cams 3.02 (with non inverted and some colour change due to codec issues) and 4.11 (inverted image colour not tested) with no battery drain on crystal v4 follow the steps unzip cam 3.02 on storage card and to operate it you would need to go to 3.02 folder and click camera.exe file inside it.incase you don't like you can always hard reset. this is not the final solution because image is inverted in cam 4.11 but 3.02 works fine , atleast now you can have them together .
NOTE : if you do not want to hard reset do not uninstall cam4.11 but instead unzip rar from step II(3.02) and put all those files in /windows folder and give softreset to device which would revert you back to cam 3.02 without headache of hard reset
HELP needed on : There must be a screen coordinate set registry value which i am not aware of yet because camera.exe or associated dll files can't be opened as far as i know but any help on these 2 issues (registry or exe ,dll file opening )is invited .
STEP I http://rapidshare.com/files/70162943/HTC_Camera_4.11modified.CAB.html
STEP II http://rapidshare.com/files/70296267/302files.rar.html
Fantazmas
17th November 2007, 09:36 PM
Finally :) Great job man!!! Testing right now ;)
iiiox
18th November 2007, 03:06 AM
wow! sounds interesting! you're making a mission impossible possible (so many tried, and failed)! keep going, man!
maxniper
18th November 2007, 12:35 PM
Great job man, you are on the right way.
haunterx
18th November 2007, 03:00 PM
i noticed that the invertness occurs when u use the v3 camera drivers because it auto rotates....is that the same driver thats caussing the power issues on the v4 camera?
kamalneet
19th November 2007, 08:32 AM
Yes simple explaination is original 4.11(file-S5K3BAFX.dll) causes drain (due to wifi integration in itself)
if we change only this file after we have installed original 4.11 with cam3.02 (file-S5K3BAFX.dll) camera will give initialisation error so we also have to replace cam3.02(file-HTCCamera.dll) to remove initialisation error which inturn causes the inverse,but drain issue gets solved.
matthieup
19th November 2007, 09:17 AM
hum ok but does wifi still work though?
kamalneet
19th November 2007, 03:34 PM
hum ok but does wifi still work though?
wifi works because we use 3.02 file instead of 4.11 which uses touch rom file
nadz
19th November 2007, 07:31 PM
SOLVED drain issue the cab link given below is same as gullums 4.11 but with 2 files changed inside (S5K3BAFX.dll,HTCCamera.dll from 3.02 version ) camera works BUT screen is inverted and hence the photo is inverted and you have to adjust white balance to auto everytime ,tested on crystal v4 and gullum X beta ,battery drain is stable and under test too ,the inverted issue is due to may be because this rom is based closely to WIZA200 and where as identity shows it as PM300 and WIZA200 HTCCamera.dll might be needed, OR because of hardware issue because neither p3400 nor ELF (touch) have macro mode which means lens or camera is hardware inverted which means more modification to current situation but with battery drain solved i assume if i get the above both files for wiza200 and pm300 and original prophet wm5 i might be able to reinvert the inverted image.also i am unable to recall but i have read this inverted camera issue long time back.
Conclusion : you can use both cams 3.02 (with non inverted and some colour change due to codec issues) and 4.11 (inverted image colour not tested) with no battery drain on crystal v4 follow the steps unzip cam 3.02 on storage card and to operate it you would need to go to 3.02 folder and click camera.exe file inside it.incase you don't like you can always hard reset. this is not the final solution because image is inverted in cam 4.11 but 3.02 works fine , atleast now you can have them together .
NOTE : if you do not want to hard reset do not uninstall cam4.11 but instead unzip rar from step II(3.02) and put all those files in /windows folder and give softreset to device which would revert you back to cam 3.02 without headache of hard reset
HELP needed on : There must be a screen coordinate set registry value which i am not aware of yet because camera.exe or associated dll files can't be opened as far as i know but any help on these 2 issues (registry or exe ,dll file opening )is invited .
STEP I http://rapidshare.com/files/70162943/HTC_Camera_4.11modified.CAB.html
STEP II http://rapidshare.com/files/70296267/302files.rar.html
Links not working.. Please upload on new links.. Thanks!
rondol1
19th November 2007, 07:34 PM
@ nadz:
Please be so kind not to quote when it isn't neccesary. It make this forum cluttered and slow.
THANKSSSS!
trxerz
6th January 2008, 06:27 AM
@ kamalneet
Any update with your working on HTC Camera ??
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.