Camera driver working (kind of) in gingerbread - Click Android Development

Camera takes raw images in kalim 10.9
translate.googleusercontent.com/translate_c?hl=en-GB&ie=UTF-8&sl=es&tl=en&u=http://www.htcmania.com/forumdisplay.php%3Ff%3D201&rurl=translate.google.co.uk&usg=ALkJrhiuQ-KUWzTbwAieMGtyhVj3w26H_A
Sent from my HTC Tattoo using XDA App

Thanks. I see that it is possible to convert the outputted .raw image to jpg. We can somehow say it is done! Just to complicated to be done everyday!

Hopefully they will translate in English and post the ROM in here. Would love to try it out. Lots of outstanding features and capturing images in RAW is exactly what I need.

Taking photos in raw format seems to be working well (someone even posted a photoshop script that'll translate those raw photos to jpeg). However, there are a couple of things that aren't working right now, namely:
Preview isn't working yet.
There seems to be some problem with camera unloading. When you close camera app, the camera won't behave correctly in any other app.
But it is, indeed, a giant leap forward thanks to kalimochoaz

bladez said:
Hopefully they will translate in English and post the ROM in here. Would love to try it out. Lots of outstanding features and capturing images in RAW is exactly what I need.
Click to expand...
Click to collapse
http://translate.google.com/transla....htcmania.com/showthread.php?t=169524&act=url

message deleted by user
posted in the wrong thread sorry

Why I have not posted my work here
Hi all,
I have decided not to post it here this ROM together with Arco ( from the past this forum has been filled of ) for some good reasons.
Yo already have Arco's Gingerbread. This is an excelent ROM
I realy want to have camera working, so I prefere not to doble post ( spanish / english ) takes time.
Not fill this foro with people thinking that the ROM makes photos. This ROM only makes RAW at this moment.
I don't like credit, this is a work together with HTC mania guys and Arco's work. The ROM is from Cyanogen Team, so all credit for them.
If anyone feels that can help, of course, always it will be welcome. I don't need credit as I said before, I need camera working. Take a look at my github, all is in there. I hope in not to much time is in cyanogen so it will be more esasy for all of you to download and compile...
For the ROM statements, Arco's ROM is always one step advanced from mine, He is doing a great work for all of us. Also I am receiving help from HCDRJacob and Cyanogen.
Feel free to take the git or the ROM and suggest for camera topics. More people helping -> more possibilities to have it working.
Thanks for asking for my work.

one question, where are the RAW files stored... i can't seem to find a folder...

Servantez said:
one question, where are the RAW files stored... i can't seem to find a folder...
Click to expand...
Click to collapse
Now it's released the version 10.11. Saves jpeg to sdcard at folder DCIM/Camera

filipepferraz said:
Now it's released the version 10.11. Saves jpeg to sdcard at folder DCIM/Camera
Click to expand...
Click to collapse
after taking a picture I have no trace of the .jpg in DCIM folder / when I switch camera to camcoder mode something actually is saved to sdcard, but the file is corrupted...

Servantez said:
after taking a picture I have no trace of the .jpg in DCIM folder / when I switch camera to camcoder mode something actually is saved to sdcard, but the file is corrupted...
Click to expand...
Click to collapse
Create a directory in sdcard: /DCIM/Camera ( case sensitive ). This camera app is for test so I don't make the directory if it doen't exists and no jpeg can be stored.
Once you go out of the camera reboot the tattoo it will consume resources and you will not be able to go again into camera app witout reboot

calimochoazucarado said:
Create a directory in sdcard: /DCIM/Camera ( case sensitive ). This camera app is for test so I don't make the directory if it doen't exists and no jpeg can be stored.
Once you go out of the camera reboot the tattoo it will consume resources and you will not be able to go again into camera app witout reboot
Click to expand...
Click to collapse
Thanks for the tip

x @calimochoazucarado:
I'm trying to follow your excellent work in camera things from few months, and you are the only one that is trying to solve this thing.
Tattoo is not a great phone, hardware is not realy like his major brothers, so lost also camera and fm is realy making me hungry.
Obviusly is not a fault of the people like you that spend lot of time and money (becouse time is money) on this great work, but i think that the most important thing before make a fully costumized rom,is gain a working kernel with at least camera working, i hope that is the point that all rom maker like you are trying to do.
I belive that an opensource community MUST collaborate to gain the max from a common ideal, HTC lost us in the deep space of 1.6, you and others still working hard, but please, do this hard work in english on this forum, just to make us able to test and , others that can, able to help.
Thanks to all rom developer, thanks to you for your hard work, i hope this pray would be recived

-vt- said:
x @calimochoazucarado:
I'm trying to follow your excellent work in camera things from few months, and you are the only one that is trying to solve this thing.
Tattoo is not a great phone, hardware is not realy like his major brothers, so lost also camera and fm is realy making me hungry.
Obviusly is not a fault of the people like you that spend lot of time and money (becouse time is money) on this great work, but i think that the most important thing before make a fully costumized rom,is gain a working kernel with at least camera working, i hope that is the point that all rom maker like you are trying to do.
I belive that an opensource community MUST collaborate to gain the max from a common ideal, HTC lost us in the deep space of 1.6, you and others still working hard, but please, do this hard work in english on this forum, just to make us able to test and , others that can, able to help.
Thanks to all rom developer, thanks to you for your hard work, i hope this pray would be recived
Click to expand...
Click to collapse
I 100% agree. FMRadio probably will never work, but camera would be THE step. And if behind the great kalim there is cyanogen we are in excellent hands.

Related

Camera Problems

I have this problem with the camera on the herald.
Once I press the camera button, it does nothing, but the screen and dpad lights up. That's it. The program doesn't even open.
After that, I tried to open it through the programs folder and still nothing happens...
Does anyone have the cab file for the latest camera build for herald or a fix to this problem. It's been bothering me for so long.
Also, once I am able to obtain the fix or cab file, I will have completed a new rom for the herald AND wing that will publish ASAP.
Any help would be appreciated! =]
umchriswho said:
I have this problem with the camera on the herald.
Once I press the camera button, it does nothing, but the screen and dpad lights up. That's it. The program doesn't even open.
After that, I tried to open it through the programs folder and still nothing happens...
Does anyone have the cab file for the latest camera build for herald or a fix to this problem. It's been bothering me for so long.
Also, once I am able to obtain the fix or cab file, I will have completed a new rom for the herald AND wing that will publish ASAP.
Any help would be appreciated! =]
Click to expand...
Click to collapse
All I can tell you, I already said in the PM. I've done this before, twice now that I think about it. Once I just started the ROM from scratch, the second time... umm.... I don't remember how, but I fixed it. It was a small dumb little file, too... send me a copy of the ROM, RGU's and all and I'll see what could be missing. Or download my ROM and try to match the OEMAPP folders between them and see what files you're missing.
ivanmmj said:
All I can tell you, I already said in the PM. I've done this before, twice now that I think about it. Once I just started the ROM from scratch, the second time... umm.... I don't remember how, but I fixed it. It was a small dumb little file, too... send me a copy of the ROM, RGU's and all and I'll see what could be missing. Or download my ROM and try to match the OEMAPP folders between them and see what files you're missing.
Click to expand...
Click to collapse
That's exactly what i did, i used your rom to compare with mine and everything is basically the same...
I also started from scratch again and it still won't work. I'm starting to believe that it may be a program that i have added to the rom.
Did you check ALL the OEM folders? Or just the OEMAPPS? What have you added if you don't mind revealing it to the world.
ivanmmj said:
Did you check ALL the OEM folders? Or just the OEMAPPS? What have you added if you don't mind revealing it to the world.
Click to expand...
Click to collapse
yes i checked all folders, but it's complicated.
do you still want me to send you my .nbh file so you can take a look?
I'm not home right now, but go ahead. Make sure you leave the RGUs intact, though. It might be something in the registry as well.
I glanced over it quickly and found the following files missing from your ROM that were in my ROM. I didn't look TOO hard so I may have missed a few things.
OEM_Lang_0409
DRM0409.dll
OEMAPPS
Arail.amf
ding.amr
taskserstart.exe
transport.exe
different camera file sizes
CannedText_0409.bin
ding.amr
Engine.Dll
FlashLiteDll.dll
getMMSCtxMenuInfo.dll
getMMSCtxMenuInfo.dll.0409.mui
HTCDrmAPI.dll
HTCFlashLiteDll.dll
HTCFSrc.dll
HTCICON.dll
ImageDLL.dll
impie.dll
internal.config
mm1lib.dll
all the mms files including the provxml
mxip_tmus_ppc_cert.provxml
phcanOverbmp.dll
svgplayback.dll
system.config
taskserStart.exe
transport.exe
VerInfou.dll
OemDrivers
PLAYSND.dll
StartupAnimationEngine.dll
TIInit_3_4_27.bts
I know I gotta finish cleaning my ROM... but I'm so focused on getting that flashing limiter taken off...
all right, i have the camera working now because i download the camera build for the hermes, but since it's not the same, everything is distorted and out of place. all i need to do is fix that up and i think i should be able to release this rom.
Where did you find the camera build? I am having the same problem. I have tried two different ROMs, but I think it may be related to JasJam Vs. Hermes. I have the JasJam and the camera app doesn't even pretend to start.
it's all right!!! i got everything fixed! i'm pretty much going to release it now and hope all turns out well!
@ prostar. you need the reg files for the camera. the reason why it wasn't working for me was because i didn't have them. I was able to do it by breaking down any herald ROM and extracting the specific reg files for the camera and BOOM! it worked like a charm...took me a while to figure it out. if you would like, pm me and i'll see what i can do to help you

Camera not as good as Mogul?

Hi, I am coming from a Mogul and the camera wasn't great, though it did work in a pinch. Now I have a Sprint Diamond which I love, though the camera is so slow that I cannot take a picture or video without blur. I am not trying to complain as the phone suits my needs very well. The question is, can registry edits be made to improve the camera? Maybe speed up the process a bit?
By the way, thanks for this great site! I have learned so much already!
crizyal said:
Hi, I am coming from a Mogul and the camera wasn't great, though it did work in a pinch. Now I have a Sprint Diamond which I love, though the camera is so slow that I cannot take a picture or video without blur. I am not trying to complain as the phone suits my needs very well. The question is, can registry edits be made to improve the camera? Maybe speed up the process a bit?
By the way, thanks for this great site! I have learned so much already!
Click to expand...
Click to collapse
Good question my friend. Well search for the tool called Advance Config. by default ( and i dont know why) the phone is programmed to have a slight delay when you press the action button and when it actually take the pictures.
So install that app and search for the photo options, there you can set the details, activate another options.
Have fun,

No autofocus in gtrabs rom??

I have trying out gtrab WM 6.5 + R3A beta rom for a couple of hours now. Its good but there is one thing. Then opening the camera and I want to take a picture, where is the autofocus?? The green square which used to appear then I pressed the camera button: Where is that ???
Is autofocus disabled in this Rom??
Maybe you shouldt post this in the right rom thread...Or ask straight to gtrab....
Hope this help.......
Fulgore69 said:
Maybe you shouldt post this in the right rom thread...Or ask straight to gtrab....
Hope this help.......
Click to expand...
Click to collapse
I didn't think the second one, but the first one. Hey the thread is 30 pages long who would want to read another
I use the latest version, w4x.23, and I have the autofocus when I take pictures.
Euroman28 said:
I didn't think the second one, but the first one. Hey the thread is 30 pages long who would want to read another
Click to expand...
Click to collapse
Every single post is important for me, and I did read yours
I have not replied to your inquire because I have not found a reason
I do have autofocus, as everybody else using the ROM
But don't worry: Sometimes big problems have simple solutions
Possibility 1:
Have you tryed settings -> Focus ??
(autofocus is the empty square)
Possibility 2:
Corrupted download or corrupted RAR decompression or corrupted flash...
You can try to re-flash the ROM to see if the problem persists
Possibility 3:
A hardware issue with your phone ??
gtrab said:
Every single post is important for me, and I did read yours
I have not replied to your inquire because I have not found a reason
I do have autofocus, as everybody else using the ROM
But don't worry: Sometimes big problems have simple solutions
Possibility 1:
Have you tryed settings -> Focus ??
(autofocus is the empty square)
Possibility 2:
Corrupted download or corrupted RAR decompression or corrupted flash...
You can try to re-flash the ROM to see if the problem persists
Possibility 3:
A hardware issue with your phone ??
Click to expand...
Click to collapse
Gtrab, you knwo what. maybe in others minds your rom is not the best, but you are the nicest guy. while in my mind, both the best.
hear hear, gtrabs, take a bow, cos you've really earned it.
and yah i do confirm that auto focus works on mine. am trying to recreate the disabled autofocus to try to help, and may have just done that,
1. go to the settings icon, (the spanner one), in your camera app. its on the bottom right.
2.click on the 2nd icon on the left, it should say focus, choose either the first icon (touch) or the one beside (Auto), and you should get your autofocus back. Good luck.
Yours may have been stuck on either the 3rd or 4th icon.
Don't know whats wrong Because it worked with the previous rom
Euroman28 said:
I didn't think the second one, but the first one. Hey the thread is 30 pages long who would want to read another
Click to expand...
Click to collapse
Yeah, thanks to lazy people like you REPEATEDLY don't dare to search or posted to the right thread.
camera does not work in Touch Flow 3D beta 3??
three qustions regarding beta 2 of touchflow 3D
IDS_Camera and beta 3 touchflow
If SE will not let us upgrade til WM 6.5?
This forum is flooded w/ lots of junk post/thread and make the search even harder... No wonder most of your post simply got ignored.
http://forum.xda-developers.com/showthread.php?t=511391
Euroman28 said:
Don't know whats wrong Because it worked with the previous rom
Click to expand...
Click to collapse
euroman28, have you tried out the possible solution outlined in post #7

[Q] Need help getting button lights working on GB rom

Hi,
I've searched and even PM'd a couple of people but haven't got anywhere so far with this...
I've ported a rom from the Desire S to the Incredible S and it's rather lovely but I can't get the backlights on the buttons to work. There is a script that I can run once booted but it only lasts one boot so you have to run it again each time - also, rotation doesn't work but that's not a killer really, just a nice to have.
It's only a GB 2.3.7 based rom built on Cyanogen 7.2RC2 so I know this is something very simple for a lot of devs out there (most roms have it working already) but I'm very new at all this and having a hard time teaching myself pretty much anything!
I'm very willing to put the work in but I'm really struggling so anything anyone can do to help would be greatly appreciated.
Thanks,
DF
You need to decompile the framework-res.apk
go to res/values and open arrays.xml in a note editor
Scroll down to I think it is config_autoBrightnessButtonBacklightValues
Edit the values (make them like the LCD backlight)
Recompile the apk
I recommend using apk tool for this
OR
You can just copy the arrays.xml from another CM7 rom to save you the trouble
And a question for you, what rom is it?
Oh I could just kiss you! That is great, I've decompiled and can't find arrays.xml but I don't care cos it is a push in the right direction and now I'm rolling... I'll find it somewhere!
The rom is called IncredibleSmoke. It is a port of BlindSMOKE (a mooke os) from blindndumb and it really is a very nice rom to use... It's in the developers forum (but that version had all the device details in build.prop wrong so I will replace it as soon as I get the lights working).
Also have a little issue with the volume controls on the rom. Voice quality isn't great in calls so I have to work on that too.
So you've got it working?
The rom looks awesome, clean looking
Sorry I can't help you with that
Anyway, are you going to post it??
Took a while to get the files. Neither of my source roms had those files (worrying) so I went and got the generic Cyanogen 7.2 release for the Incredible and pulled the files from there. Applying it in a few mins after I finish taking a backup to see if I got it right... Fingers crossed it will work and if it does then yes, I'll be uploading it
After that I'll start to work on the voice quality issues (currently a bit loud, volume in call is not very responsive and the other end can hear an echo).
Hmm. Not so successful. Not that the lights might not have worked but unfortunately can't boot so restoring and I'll go have a look at what I done wrong. Maybe I killed it in the decompile/compile as I don't think the addition of the files itself would have knackered it.
Anyway, second try will come soon

[Q]need help for WP8 Development

Hi, I'm really new to wp8 development..
I'm working out to create wp8 app functioning like instaweather, able to take a photo and apply simple editing like words, numbers to the photo.. so are they any proper sample or tutorial for me?
In addition, I want it also to do some ability to drag the words/text on the screen while people taking photo so that they can put the text on their own wish.. got my point?
thank you for answer
keyoren said:
Hi, I'm really new to wp8 development..
I'm working out to create wp8 app functioning like instaweather, able to take a photo and apply simple editing like words, numbers to the photo.. so are they any proper sample or tutorial for me?
In addition, I want it also to do some ability to drag the words/text on the screen while people taking photo so that they can put the text on their own wish.. got my point?
thank you for answer
Click to expand...
Click to collapse
First question: there are samples around, just google em
second question: have a look at http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj206990(v=vs.105).aspx
..
mcosmin222 said:
First question: there are samples around, just google em
second question: have a look at "i cant quote link"
Click to expand...
Click to collapse
thx for ur answer :fingers-crossed:
beside asking here,i already googled,just wanna find something that i cant find in googling..hehe
nice link there, never found before because cant find suitable words to search
good to hear that. hope that you can come here often and help others too.
If you hava a Nokia check out its Imaging SDK othewise , checkout examples of System.Windows.Media.Imaging

Categories

Resources