yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G2x] xantonin:
Photo Data Not Saved

This is not a critical bug, but I just noticed that the photo information is not being saved with the photos.

By "photo information" I'm talking about the details of how the photo was taken. Sites like Picasa will read this and it's handy to know how the photo was taken.

Here's an example of a photo I took from stock LG GB Camera (the crappy one):

Dimensions:	2048 x 1536 pixels

File Size:	264.65K

Camera:	LG-P999

Exposure:	0.003 sec (1/333)

Aperture:	f/2.8

Focal Length:	4.4899 mm

ISO Speed:	100

Exposure Bias:	-

Flash Used:	-

And another from Picasa, the page says "exif", this was with the old LG camera from Froyo:

Date	May 19, 2011 6:18:43 AM
Width	1536
Height	2048
File Size	398153
Camera	LG Electronics
Model	LG-P999
ISO	125
Exposure	1/9 sec
Aperture	2.8
Focal Length	4mm
Flash Used	true
Orientation	1
White Balance	0
Metering Mode	2
Exposure Bias	0.0
Date and Time (Original)	2011:05:19 13:18:43
Copyright	�
Color Space	1
X-Resolution	72.0
Y-Resolution	72.0
Resolution Unit	2
Software	LG-P999-V10f
Date and Time	2011:05:19 13:18:43
YCbCr Positioning	1
Date and Time (Digitized)	2011:05:19 13:18:43
Compressed Bits Per Pixel	4.0
Max Aperture	1.603
Custom Rendered	0
Exposure Mode	0
Digital Zoom Ratio	1.0
Scene Capture Type	0
Interoperability Index
[T-Mobile LG G2x] xantonin:
In response to myself, this may not be a bug. I'm apparently having problems with Google+, Picasa, and the application on my phone...

If someone else can verify it for me though, it would be appreciated.
[T-Mobile LG G2x] steve841:
Worried.... no updates in 4 days .... :(
[T-Mobile LG G2x] derekedw:
Yep...i plan on donating but only after it's fully functional. I use ffc alot and can't use this until it's fixed. Hopefully whitehawks will be able to add to this with his framework skills.
[T-Mobile LG G2x] Schizoeffective:
They must doing alot of work on and don't wanna release something till its perfected
[T-Mobile LG G2x] bakedpatato:
On vacation. Got some progress but not too much...

Sent from a cool guy
[T-Mobile LG G2x] jsauce75:
Not to sound like an ungrateful ass, but has development stalled on this project?
[T-Mobile LG G2x] flak0:
Sorry everyone the project is not stalled. I got my new car so i been paying attention to that. I will start working on V1.6 before Monday. Attached a pik of the car incase u all r interested.
[T-Mobile LG G2x] Deadstyle:
Grats on the car, but had to go with the bowtie..... Shame

Jk of course
[T-Mobile LG G2x] swuln:
Awesome car flak0 .... Good luck with it... Everyone should have a toy.. Been thinking of getting a project car myself .... I have a small autobody shop...
[T-Mobile LG G2x] flak0:
Thanks dudes
[T-Mobile LG G2x] flak0:
Any progress is better than none
[T-Mobile LG G2x] SpOuK-3-:
Ok... now, thats a serious car... congrats!
[T-Mobile LG G2x] albertorodast2007:
You lucky bastard! Awesome car... I can imagine all those gurls asking u for a "ride" XD XD But u deserve that kinda luck for all ur hard work on this proyect... thanks man!

LG G2x EB 2.3.3 v1.08
[T-Mobile LG G2x] steve841:
I'll keep my eye open for you since you're right down the street from me....

Davie, FL
[T-Mobile LG G2x] c_brown93:
Is this project finished or something ?
[T-Mobile LG G2x] eleeo037037:
Why do you ask that?
[T-Mobile LG G2x] c_brown93:
Just been quiet. Didn't know if they got stopped at a roadblock or something.
[T-Mobile LG G2x] ahspyerr:
Does this cam mod work on cm7 yet?

Sent from my Galaxy Tab 7in.
[T-Mobile LG G2x] richteralan:
but but but

Can it run Crysis?????????????

couldn't resist....:D:D
[T-Mobile LG G2x] bakedpatato:
oh i wish!I'm on vacation atm ;) (locked out of my hotel room lol)

Sent from a cool guy
[T-Mobile LG G2x] jose makalolot:
So we are just neighbors! Damn!

Sent from my Calculator with Android.
[T-Mobile LG G2x] realtype:
So I just bought a new g2x on ebay, and love everything about this phone except the horrible camera app (although the same app is on my Nexus 1 and I love it, but unlike on the N1 doesn't nearly take full advantage of the hardware) and want to flash the froyo app. I've searched through the g2x forums for days, but still have concerns. I just want to be clear that these are the only steps required:

1. Use nvflash to flash clockworkmod to the phone

2. use clockworkmod to flash the camera app to the phone

So just to make sure, I don't need to root and I don't need a custom rom?

Sorry I'm pretty new to this level of customization and am afraid of bricking my phone.
[T-Mobile LG G2x] s10shane:
well im not sure if u need to be rooted to do it. but do those 2 steps then make a backup copy of ur stock rom asap through cwm. just encase something doesnt flash right or whatever. then just flash this http://xdaforums.com/showthread.php?t=1179748 stock rom and its already rooted. then flash the camera app through cwm.

also remember when u take pictures with the 1.5v it saves them upside down which is the only reason i dont use it anymore. that kinda drove me nuts lol. im sure they will find a fix soon though. cant wait till this camera app works perfect.. i think its 10x better then the stock gingerbread camera app. thank you guys for ur hard work on this mod.
[T-Mobile LG G2x] s10shane:
oops meant to edit my last comment lol
[T-Mobile LG G2x] burhanistan:
G2x source released

Just in case anyone missed it, LG released the source for the G2x:

http://xdaforums.com/showthread.php?t=1220885

Maybe that will help work on the camera?
[T-Mobile LG G2x] bmann_420:
@whoever posted a pages back

This is meant to flash over the ota rom/ota modified roms.

This is not working for cm7 yet

Sadfully the sourcecode for the ota has the camera that were flashing this version over. You may (or the devs on this may) get an easier or better understanding of the file structure / files dependencies upon other files to help incorporate the lg camera to the ota, but I don't think its going to easily make this work.
[T-Mobile LG G2x] s10shane:
with this lg camera app or with the stock froyo camera app were u guys ever able to touch to focus when u were recording a video? like sometimes i do videos of things and well im recording i like to touch anywhere on the screen so it will auto focus when i get close to something without having to stop the video. also can u record a video and while ur doing that ur able to turn on and off the video light? i got my phone preinstalled with gingerbread so i never got to use the better camera app.
[T-Mobile LG G2x] bmann_420:
I can't remember =\ but dont forget, if you have cwm installed via nvflash, you can always go to froyo for the camera app. Hell if I'm going to an event, ill flash eb froyo, just so I know nothing will get messed up. Then of course you get to show off your badass pictures and videos. Although its very hard to switch back with the open source and new themes.
[T-Mobile LG G2x] s10shane:
i saw i could go to froyo but i think gingerbread looks better and i have had no issues with my phone at all so im afraid to jump back to froyo from gingerbread to try it. i have done the cwm and nvflash and im running the stock 2.3.3 rooted rom. but i thought something with froyo was causing the reboots or shut downs. not sure though..
[T-Mobile LG G2x] bmann_420:
I never had an issue with froyo and I got this phone the week it came out. But like I said, you can flash between roms, as long as its a stable rom and you wipe everything before you flash (and backup of course) you shouldn't have any issues switching between them.
[T-Mobile LG G2x] s10shane:
oh ok. yeah i dont wanna go back to froyo just for that camera app. i dont use it a whole lot but i cant wait till this lg camera app will work fine on gingerbread rom. i just cant deal with the upside down pics and the camera flash i think acts up when taken pics.
[T-Mobile LG G2x] xantonin:
Now that both the Froyo and GingerBread stock LG source codes have been released, will we be able to see significant advancement on this?
[T-Mobile LG G2x] bmann_420:
About 5 posts back has some general info on that subject. Although nobody else has chimed in so I'm not sure how factual my generalizations are.
[T-Mobile LG G2x] bakedpatato:
Nice! LGE kept its promise! I was going to egg their building...

Anyway...we'll see. The cam is a binary that they don't need to release the source code for. But the libs will help.
[T-Mobile LG G2x] yodataco:
Gingerbread source won't matter since the lg camera and libraries aren't in gingerbread ota. Aside from that, I really hope this is still being worked on. Those libraries are key to why the lg camera results in greater image quality. If only nvidia would release driver source for tegra, we could have higher quality image processing in every camera app...
[T-Mobile LG G2x] Helixdimension:
I am watching this forum like a hawk every day waiting for this to happen. I am back on froyo because I simply cannot go without a good camera.
[T-Mobile LG G2x] s10shane:
wow this thread has seemed to die out.. lol hopefully not but ive been checking everyday and still havent seen nothing going on yet.
[T-Mobile LG G2x] supersilko:
Too buggy that's why. I'm happy with my gb can ever since I increase the bitrate and fPS on 1080p
[T-Mobile LG G2x] jsauce75:
I hear yah. I really want to flash it, but I can't have my pictures saving upside down.
[T-Mobile LG G2x] mojorisin7178:
GREAT JOB!!!!!!!!!!!!!!!!!

I have to say you are just about some of the smartest people I know (the real Smartest guys in the room) Keep up the good work I am Happy to donate to you you really deserve it. Oh and I"m sure you know this already but some people are wondering if you need to be rooted to install this YOU DO NOT NEED ROOT TO INSTALL THIS!!!!!!!!! Like I said you probally know that already but just in case you didnt now you do.

Charlie
[T-Mobile LG G2x] supersilko:
You can just install it through came without root

sent from a phone
[T-Mobile LG G2x] s10shane:
is there anyway we can add full widescreen 16:9 when taken pics? i hate that its chopped off the sides and there is no option for widescreen photos.
[T-Mobile LG G2x] derekedw:
Lets get pictures working 1st :)

Ready to donate once this actually works. Maybe we need a new bounty lol. I really hope no one has taken bounty and quit working on this.
[T-Mobile LG G2x] s10shane:
well it takes pictures fine but the upside down thing is the only reason i dont use the camera app. other then that this would be my camera for good.
[T-Mobile LG G2x] tantan20171:
I know the LG camera app willtake time for it to be perfect..... but i have a dumb question, is it possible to have MIUI's latest camera app on 1.8.19 rom?.... it can record 1080p at 24fps and picture guality is not bad at all.
[T-Mobile LG G2x] derekedw:
I would suggest you bring that up in the miui thread or the apps forum. Have you just tried to do it?
[T-Mobile LG G2x] speedbreaker:
i seem to have problems viewing pics that i take and trying to find them when i connect the phone to the pc they just don't show up! i have the pics saving on to the sd card and they a no show on the pc but when i save the pics on to the phones internal memory they show up on the pc! anyone experiencing this?
[T-Mobile LG G2x] tantan20171:
Haven't tried it.....
[T-Mobile LG G2x] swuln:
Pics take and save fine if taken holding the phone like a camera ... they can also just be flipped in the gallery ... I've also tried many apparently before installing 1.5 but none compare to the LG cam.... well the cm cam isn't bad either
[T-Mobile LG G2x] speedbreaker:
pics save fine on the phone saving to the sd card but when i try to connect the phone to the pc and try to view the pics ive taken they don't show up at all! only way they show up on the pc is if i put the pics to save in the phones internal memory!
[T-Mobile LG G2x] swuln:
That's odd.. I haven't had a problem viewing pics saved on my SD from the PC... Have you tried taking your SD out and putting it back in or try a different SD card...
[T-Mobile LG G2x] billydroid:
We haven't heard from anyone for awhile.

How is progress going on this? Are you guys getting closer to making this port solid? Is cm7 not looking possible?

I'm ready to throw $30 into into the bounty pot, once this fully functional.
[T-Mobile LG G2x] speedbreaker:
thanks that seemed to do the trick!
[T-Mobile LG G2x] speedbreaker:
is there anyway to get 30 fps in 1080p mode? when i record and watch my vids on the pc when i right click under properties it says 23 fps, is it supposed to be like that?
[T-Mobile LG G2x] supersilko:
Edit your media profile
[T-Mobile LG G2x] cutegelo:
any updates from dev?
[T-Mobile LG G2x] speedbreaker:
How would i go about doing this? Sorry for the noobness!
[T-Mobile LG G2x] derekedw:
A couple said they were working on this still, but that's not confirmed. Feels like a dead project for the past two weeks.
[T-Mobile LG G2x] flak0:
To everyone that's wondering what the status of the project is: This trolling and nagging is why i have temporarily stopped work on the LG Cam on 2.3.3 . Someone posted that i took the bounty and cleared it. That shyt pissed me off and i am totally turned off to the project at least for now. Some of you are supporters and i appreciate it. For the trolls i did not take the bounty and clear it. I might move the project to where Faux has his. Doniqq, Jface, Bakedpotato will be notified .XDA is really turning into something else.
[T-Mobile LG G2x] mt3g:
Like what was said and implied there people here have become to neediness and just want want want. There is no need for people to be sharing there work none of it, they can be doing all this for them selves and them alone, themers devs, cookers, modders, all is a blessing people... if you don't like what they did, said, or acted upon, then turn the page.

I feel better now :-)
[T-Mobile LG G2x] billydroid:
Being curious about the projects status is "nagging and trolling "? I think we have all seen projects fizzle out. I don't think anyone really cares, except those who already donated, if this port is ends up not completed. It happens. But be called a troll because of honest question?
[T-Mobile LG G2x] flak0:
Dude im talking bout the negativity. Asking about the status is ok and i dont mind, its things like "did Flak0 clear it with the bounty" that pissed me off.
[T-Mobile LG G2x] billydroid:
I didn't see that comment. I agree in the amazing amount of arrogance and just plain ****ty behavior of some xda crowd.
[T-Mobile LG G2x] bakedpatato:
That's allrght by me. On the note of progress, I built my own camera app and DDMSed it to see what's going on...odd, everything works as expected.
[T-Mobile LG G2x] Deadstyle:
Trolls do all they can to make everyone else feel ****ty so they can get a little laugh. In reality they are scared wanna be's that are often too scared to tell their server when the food they ordered was wrong but grow a pair when they get on a forum.

To those who are working on it thank you for your efforts. Just know there are more of us than the trolls.
[T-Mobile LG G2x] flak0:
Dude can you pm me with the Camera? Is it a replica of the LG Cam. This is great news
[T-Mobile LG G2x] swuln:
There are alot of us here flak that have been behind you and everyone else involved in this port and appreciate everything you're doing... I agree there are alot of unappreciative trolls in xda lately but please don't forget the non- trollers who are here and have been here a long time...
[T-Mobile LG G2x] s10shane:
that is stupid that people are saying stupid **** like that.. all i wanted to know is that its still a go. but now that i know it is just take ur time.. no hurry
[T-Mobile LG G2x] bakedpatato:
Heh it's a reverse engineered version of the cm7 cam
[T-Mobile LG G2x] swuln:
Your welcome ... Glad to see it worked out for you...
[T-Mobile LG G2x] flak0:
Ill test :-D
[T-Mobile LG G2x] adevilfish:
I have no idea why dev's and modders want to get worked up when 1 or 2 guys out of a hundred make bone headed comments. 10% of the population is totally batshet crazy, do you expect that to be different on here?
[T-Mobile LG G2x] tantan20171:
Totally agree..... devs should just ignore those jealous, ungrateful, useless trolls.... I'm still waiting patiently for the app ...... flak0, bakepotato, doniqq, and the rest of the devs please dont give up.
[T-Mobile LG G2x] Deadstyle:
You guys realize your comments are no better than the trolls? Devs have feelings just like anyone else and when you repeatedly get told something, for most people, they start to be effected by them.

Reread your post from their perspective, reads something like this:

"How dare you devs have feelings, stop your whining and get back to work so I can get what I want."
[T-Mobile LG G2x] bakedpatato:
I'm using it to find smali to inject...
[T-Mobile LG G2x] s10shane:
i had a question for anyone that has used the stock froyo lg camera app. were u guys able to touch to focus? like when up close to something u can touch anywhere on the screen touch focus on that one spot. or is htc sense the only camera app that does that stock without third party apps? i really miss this feature a lot. thanks
[T-Mobile LG G2x] xantonin:
Sorry boss but I never tried it when I had that camera.
[T-Mobile LG G2x] s10shane:
lol ok thanks.. my phone came with gingerbread so i never got to use it. but i dont wanna downgrade to froyo to find out lol i love gingerbread
[T-Mobile LG G2x] mt3g:
Yes it did.
[T-Mobile LG G2x] flak0:
I like ur thinking. .. keep me posted on the developments
[T-Mobile LG G2x] flak0:
FFC Code Found

Front Face Camera Java Code, any takers want to help?

package com.android.camera;

import android.content.Context;
import android.util.AttributeSet;
import android.view.SurfaceView;
import android.view.View.MeasureSpec;
import com.android.camera.utils.LogUtils;

public class PreviewSurface extends SurfaceView
{
public static final float DONT_CARE = 0.0F;
public static final String TAG = "PreviewSurface:";
private float mAspectRatio;
private int mHeight;
private int mHorizontalTileSize = 1;
private int mVerticalTileSize = 1;
private int mWidth;

public PreviewSurface(Context paramContext)
{
super(paramContext);
}

public PreviewSurface(Context paramContext, AttributeSet paramAttributeSet)
{
super(paramContext, paramAttributeSet);
}

public PreviewSurface(Context paramContext, AttributeSet paramAttributeSet, int paramInt)
{
super(paramContext, paramAttributeSet, paramInt);
}

private int roundUpToTile(int paramInt1, int paramInt2, int paramInt3)
{
return Math.min((paramInt1 + paramInt2 - 1) / paramInt2 * paramInt2, paramInt3);
}

protected void onMeasure(int paramInt1, int paramInt2)
{
if (this.mAspectRatio != 0.0F)
{
int i = View.MeasureSpec.getSize(paramInt1);
int j = View.MeasureSpec.getSize(paramInt2);
int k = this.mWidth;
int m = this.mHeight;
paramInt1 = View.MeasureSpec.makeMeasureSpec(k, 1073741824);
paramInt2 = View.MeasureSpec.makeMeasureSpec(m, 1073741824);
if ((k > 0) && (m > 0))
{
float f1 = k;
float f2 = m;
float f3 = f1 / f2;
float f4 = this.mAspectRatio;
if (f3 < f4)
{
float f5 = k;
float f6 = this.mAspectRatio;
m = (int)(f5 / f6);
}
while (true)
{
setMeasuredDimension(k, m);
return;
float f7 = this.mAspectRatio;
if (f3 <= f7)
continue;
float f8 = m;
float f9 = this.mAspectRatio;
k = (int)(f8 * f9);
}
}
}
super.onMeasure(paramInt1, paramInt2);
}

public void setAspectRatio(float paramFloat)
{
String str = "PreviewSurface:setAspectRatio = " + paramFloat;
LogUtils.LOGI(4, str);
if (paramFloat <= 0.0D)
throw new IllegalArgumentException();
if (this.mAspectRatio == paramFloat)
return;
this.mAspectRatio = paramFloat;
}

public void setAspectRatio(int paramInt1, int paramInt2)
{
String str = "PreviewSurface:setAspectRatio, width = " + paramInt1 + ", height = " + paramInt2;
LogUtils.LOGI(4, str);
float f1 = paramInt1;
float f2 = paramInt2;
float f3 = f1 / f2;
setAspectRatio(f3);
this.mWidth = paramInt1;
this.mHeight = paramInt2;
}
}\
[T-Mobile LG G2x] S0NiX0928:
How did you come to that conclusion as to what the guy meant... that's quite a sensationalised interpretation. I percieved his exclaimation to be more like a blunt fact about life, insult to the trollers, and some simple advice to just ignore the scum.

Anyways, my two cents on the matter of the thread is that I will gladly donate once there is a final result from this project. Best of luck & take your time to the devs at work for this.
[T-Mobile LG G2x] therealag:
Arguing is getting everyone nowhere, lets thank these guys for what has been accomplished so far and let them continue to work!!

Thanks for your work, hope the bugs get squashed soon!!
[T-Mobile LG G2x] renocivik:
When I get mms the pictures are always sideways too.... has anyone else noticed?

Sorry if already mentioned...
[T-Mobile LG G2x] aowendoff:
I don't see how that would have anything to do with the camera. What rom are you running?
[T-Mobile LG G2x] bakedpatato:
It actually kinda does as it seems like something's up with the cam drivers flipping the image...
[T-Mobile LG G2x] jsauce75:
If you touched and held....it would focus on that spot. So yes.
[T-Mobile LG G2x] andyjang8944:
I just wanna say thank you for your hard work!!! I really wish more devs can jump in and finish this once and for all! haha really love the LG cam but can't go back to FroYo (lag/crap battery) so LG cam + GB= Happiness! I'm willing to donate after LG Cam project is complete! again, thanks!! :D
[T-Mobile LG G2x] princeasi:
Much props to the the devs for working on this project, but honestly I think they've gone as far as they can with this. To go any further is probably way too tedious and maybe "incentives" is just not worth the labor involved lol!
[T-Mobile LG G2x] derekedw:
This might be true, but a update saying so would be awesome.....not expected, just desired.
[T-Mobile LG G2x] flak0:
OP Updated with increased bounty.

BOUNTY IS NOW: $100.00

@bakedpotato LG decided not to include the LG Cam becuase they are lazy and this OTA was only in response to the class-action suit filed. I do have one question though, in looking at the TMO pikz of GB on G2X the status bar icons are green from what I have heard the OTA icons remain gray even after sync with google.
[T-Mobile LG G2x] Mikey:
Thats true
[T-Mobile LG G2x] bakedpatato:
I work for a software firm(we make android apps among other things:D) and I can assure you that we triage ie if a feature is holding up the ship deadline it will go.

I'm thinking that LG was porting the frameworks* until the class action lawsuit lit a fire under their butt and gave them a forced ship deadline in which case they gave TMOUS a working fully Q&A'd build.

I'm thinking that the android department at LG is severely understaffed(look at their code dump...dude its like the same 2 people commenting not to mention the froyo kernel)....at least they open source their stuff.

I'm impressed though as LG seems to be implementing some sort of agile development in that something was always ready to ship and when s***t hits the fan(ie lawsuit) they were ready to ship a build.

*I bet Nvidia has something to do with this...Nvida's not well known for their drivers ;)
[T-Mobile LG G2x] jlsolorio5746:
I took my phone In to a tmobile store and they updated it for me via lg update tool, (pretty cool guys) butttt I was upset like most of the ppl here on xda with the camera and the green status bar. I heard that the status bar issue is fixed with the tmobile ota but is this true?! if so how do I go back to froyo to get the ota update?!;)

oh and great work on the porting the lg camera ui hope this works!!! willing to donate :D
[T-Mobile LG G2x] Black6spdZ:
what is so damn special about the LG camera app? does it have x-ray vision or double the resolution? I never used it before flashing my phone to GB so I don't know what I'm missing.. but the camera app I've been using in CM7 works just fine!
[T-Mobile LG G2x] jumaaneface:
I have the LG camera working on 2.3.3 ota if someone wants to test it.
[T-Mobile LG G2x] frescoraja:
Lg cam for gb

Please allow me to contribute $15 to the pot, under the condition that it be completed by august 3. That is the deadline for me to return my g2x and if there is no lg camera for gb by then, I am exchanging for the sensation or a samsung phone. How do I contribute and to whom?

Thanks for your hard work and dedication!