Hi all,
I'm using Paul's great Gr1 (GB 2.3.4) from almost day one and even as my "daily driver" .
I tried the usual camera mods and found none of them working (just experienced boot loops).
So, I was longing for a respective camera mod - similar to somemadcaaant's mod but for GB/ Gr1. As no mod for Gr1 surfaced until now, I decided to rip apart the app by myself.
After some googling and a time intensive code analysis, I figured out how to accomplish what I was looking for (no shutter sounds, quality improvements).
I finally decided to share my mod with the community.
You can flash it with the update zip in CWM or just copy the apk to \system\app using a root file explorer.
NB: Unfortunately I was not able to make most of the Full-HD video mods work. After some testing I came to the conclusion, it must be some kernel bug because there are no hints in the logcat, that something is going wrong. And even the stock app behaves in the same way!
Maybe it's just happening to me, so provide some feedback/ hints here please!
I'm sharing it anyway, because maybe somebody finds it useful like it is.
Please find the resulting apk (plus update script) attached to this post. Enjoy!
Installation:
Flash the attached zip with CWM ("install zip from sd-card") or copy the apk to your \system\app folder manually.
I modded the following (please note the current restrictions!):
Disabled shutter & AF sounds (still & video) - timer sounds are still enabled (on purpose --> no change!)
Increased preview fps to 40 (--> reduced page tearing)
Changed default to show video after capture to false
Picture quality:
Set normal picture quality to 80
Set fine picture quality to 95
Set superfine picture quality to 100
1080p:
*Set FPS to 30
*Set normal video quality to 7Mbs (=fine in LG app)
*Set fine video quality to 12Mbs
*Set superfine video quality to 17Mbs
Set audio bitrate to 128Kbs
*not working due to buggy kernel (Gr1)? --> reverts to default 15fps & 9Mbs
720p:
Set normal video quality to 4Mbs (=superfine in LG app)
Set fine video quality to 9Mbs
Set superfine video quality to 14Mbs
Set audio bitrate to 128Kbs
PS:
1. Zoom is working now (no crash on Paul's Gr1) !!
2. If you have a darker icon for your camera app, then update script worked like it should!
3. Please be polite, as a) this is my first mod b) operation iron fist
4. If this is useful for you, hit the "Thanks" button on the lower right!
This mod is valid for stock roms?
Enviado desde mi LG-P990 usando Tapatalk
@Lo_RaT_PeNaT
I don't think so , this mod is for Modaco GR1 (Gingerbread)
the ROM Stock are Froyo
AndiCP said:
Hi all,
I'm using Paul's great Gr1 from almost day one and even as my "daily driver" .
I tried the usual camera mods and found none of them working (just experienced boot loops).
....
3. Please be polite, as a) this is my first mod b) operation iron fist
4. If this is useful for you, hit the "Thanks" button on the lower right!
Click to expand...
Click to collapse
Thanks for your efforts. Going to try this out.
Anyway you can make widescreen photos option available? Don't like 4:3 ratio.
how did you disable shutter sound ?
in cm, focus sound is played by camera app, so it is easy to reduce, while shutter sound is hard-coded in libcameraservice.so and you have to modify frameworks/base/services/camera/libcameraservice/CameraService.cpp (maybe Gr1 is different ?)
another question is that in cm, picture quality drops once you go to video recording mode and back to still image mode. do you also have this ?
Good work
i have a gr2 i will test your camera mod
thanks
Thanks for your posts guys!
el_liberator said:
@Lo_RaT_PeNaT
I don't think so , this mod is for Modaco GR1 (Gingerbread)
the ROM Stock are Froyo
Click to expand...
Click to collapse
yup
ksekhar said:
Thanks for your efforts. Going to try this out.
Anyway you can make widescreen photos option available? Don't like 4:3 ratio.
Click to expand...
Click to collapse
You're welcome!
I don't like 4:3 too. Let's see what I can do.
pastime1971 said:
how did you disable shutter sound ?
in cm, focus sound is played by camera app, so it is easy to reduce, while shutter sound is hard-coded in libcameraservice.so and you have to modify frameworks/base/services/camera/libcameraservice/CameraService.cpp (maybe Gr1 is different ?)
another question is that in cm, picture quality drops once you go to video recording mode and back to still image mode. do you also have this ?
Click to expand...
Click to collapse
It's sort of a hack. I disabled it by removing the middle layer.
To make it short: The app actually plays the sound, but the sounds won't be loaded in the first place There isn't even an error message in log cat about that though!
If you just remove the actual playing part, it simply plays the default sound instead (like you mentioned).
About pic quality...didn't notice that so far, will test it.
vekkio said:
Good work
i have a gr2 i will test your camera mod
thanks
Click to expand...
Click to collapse
Thanks! I'm eager to hear your feedback for the Gr2 (esp. if it also reverts the Full-HD settings)!
Looking forward to more feedback!
vekkio said:
Good work
i have a gr2 i will test your camera mod
thanks
Click to expand...
Click to collapse
I'm going to test it too today.
Update: can you post the zip file, because I can't overwrite the camera apk ...
Nice work, you read my mind...
I couldn't fix the 1080p issues either since the camera app looks to be unfinished, looks like its missing updated libs (libcamera.service.so|libnvmm_camera.so|libcamera_client.so) as I could restore some functions like 1080p higher compression via using the froyo code [cameraengine.java|modevideonormal.java] but it would screw other features, all LG seems to have done is started a quick and dirty port to GB.
Also looks like their trying to make a universal GB camera app for GB phones using the media_profiles.xml like the sgs2 and aosp frameworks have, this looks like where the 1080p issues reside as it will be looking to this file for fps and audio/video compression in the O2X Gb update.
Done well so far matey keep it up.
-smc
Are you planning on adding MIUI compatibility? Currently it force closes on 1.8.12
Sent from my Optimus 2X using XDA App
somemadcaaant said:
Nice work, you read my mind...
I couldn't fix the 1080p issues either since the camera app looks to be unfinished, looks like its missing updated libs (libcamera.service.so|libnvmm_camera.so|libcamera_client.so) as I could restore some functions like 1080p higher compression via using the froyo code [cameraengine.java|modevideonormal.java] but it would screw other features, all LG seems to have done is started a quick and dirty port to GB.
Also looks like their trying to make a universal GB camera app for GB phones using the media_profiles.xml like the sgs2 and aosp frameworks have, this looks like where the 1080p issues reside as it will be looking to this file for fps and audio/video compression in the O2X Gb update.
Done well so far matey keep it up.
-smc
Click to expand...
Click to collapse
Thanks man! really appreciate it!
Good to hear, that its not just me having trouble with this
Actually I already thought that exactly these probs would keep you from posting a GB mod
Thanks for this valuable info! But I was almost sure this would be related to a buggy kernel, as I developed another cam app which is working great on Froyo but behaves on Gr1 exactly the same strange way as the LG cam app does in Gr1. I think the drivers are simply f*cked up for LG's GB port at this point of time. So let's wait and see what comes down the pipe...
PS: tried the media_profiles.xml as well (and included it into the update zip) - even b4 your post - but obviously no impact on said probs.
action294 said:
Are you planning on adding MIUI compatibility? Currently it force closes on 1.8.12
Click to expand...
Click to collapse
Nope. Plain modded LG GB cam app.
AndiCP said:
Thanks man! really appreciate it!
Good to hear, that its not just me having trouble with this
Actually I already thought that exactly these probs would keep you from posting a GB mod
Thanks for this valuable info! But I was almost sure this would be related to a buggy kernel, as I developed another cam app which is working great on Froyo but behaves on Gr1 exactly the same strange way as the LG cam app does in Gr1. I think the drivers are simply f*cked up for LG's GB port at this point of time. So let's wait and see what comes down the pipe...
PS: tried the media_profiles.xml as well (and included it into the update zip) - even b4 your post - but obviously no impact on said probs.
Nope. Plain modded LG GB cam app.
Click to expand...
Click to collapse
Dude this is great that your working on this for GB for the O2X. I have a thread in the G2X forums working on the same thing. Question how did you fix the zoom crash, I also use apktool , so let me know thanks.
Is this working for CM7 or people having some problems ?
sahilkhurana said:
Is this working for CM7 or people having some problems ?
Click to expand...
Click to collapse
+1 here, would it work with CM7?
Does it actually removes the "mist" effect from the camera when taking pictures? stock v10d removes(without any fix), tho in CM7 it's still there.
Any chance of updating this work with the camera module from the latest leaked V20c ROM (eg. Flair GB) or V20f (Korean??)?
LG have fixed the video zoom problem and upped the frame rate for 1080p to 24fps in V20c.
But I am still really disappointed with LG's lack of progress with the still photo quality. The white haze problem is not so noticeable (color saturation still no where as good as the Nokia cameras) but the image is still very grainy and I suspect that is all we are going to get Could do with your tweaking magic
greetings, I wonder if you think some mod make the camera view has achieved stability with ginger roms version based on 20c?, a greeting
Modded V20e stock camera
Hi all,
I went on and successfully modded the stock camera app of V20e.
In contrast to Gr1, everything I modded is working well in V20e now.
Please go ahead and dl my latest mod here.
Enjoy!
AndiCP
Installed the mod successfully.
Enhanced fotos before and after the mod, but no vissable difference between them.
What should be improved with this mod, except the missing shutter sound?
Sent from my LG-P990 using XDA Premium App
mach2005 said:
Installed the mod successfully.
Enhanced fotos before and after the mod, but no vissable difference between them.
What should be improved with this mod, except the missing shutter sound?
Sent from my LG-P990 using XDA Premium App
Click to expand...
Click to collapse
You said that before on the corresponding thread.
Read my answer there.
does it work on latest v20l? can you see if with this new update, you can enhance 1080p again? you wrote it couldn't be enhanced due to kernel problems... probably with the final one, have been resolved?
thanks
I have Froyo on my Milestone. Does Skype video work with the stock app from the market? Or is there a modified apk I can use to have video calling?
~80 views and no answer?
Surely someone must know
I finally managed to get skype video calls to work!
I can now both receive and send video and make two way video calls.
I am using the modified skype version here:
http://forum.xda-developers.com/showpost.php?p=16618967&postcount=452
Enable "use preview surface" in the tweaks menu.
My gratitude to droidrx for this great work.
Thank you so much for the tip! Working great on my phone, never knew it was possible.
Tried to run on my CM7 with android 2.3.7 and it works fine too for me.
Fan7 V1.0 SKYPE
I can see video just fine but cannot send video... Did something change since the last post?
Hi there... I'm using cm7 and just notice this issue...
Last weekend I recorded some vids, everything went good, watch them at phone and sound was good, transfer them to pc and still is everything ok, HD image quality and better sound quality [than stock rom]...
The thing is, before when using stock rom recorded a lot of vids and uploaded them to youtube and everything was good. Now using cm7 and once is upload at youtube the sound is a mess, it's like skippy like "tak-tak-tak-tak-tak" you know what I mean? Image runs normal is just the sound that's crapy and if I look back at the vid on mediaplayer, winamp or whatever everything is ok...
Thinking about it, is there a way to install stock camera app?? I think that's the only thing thats better at stock rom[froyo] than cm7 rom
Thnx all, regards
Hello Members,
one week ago i got a Galaxy S I9000.
I flashed ParanoidAndroid v1.1.d with the newest Devil Kernel (Devil3_0.79_i9000_CFS_BLN_VC_20120618.zip)
Very nice rom by the way
But unfortunaly iam not able to record videos. I changed nothing with the free ram space, so i think thats not the problem?
With the stock rom it was possible to record. Tried semaphore but without success..
Could not find another app for video recording and i dont know how to change recording resolution settings??. ... any suggestions?
Thanks for your Help in advance
Benzai
Yes you are right PA ROM has some issues with the camera. In tablet mode once you switch to front camera the switch camera button doesn't work.
Video recording works fine with other apps but not in 720p.
In the Development Site of PA i read nothing about cameraproblems...
With Skype e.g. its working fine... but i dont know on which resolution.
Do you have a hint for a different app for recording videos? It hasn't to be high res.
I found nothing in the market...
HI ,
I have installed most Custom roms available - and one thing that annoys me is how the videos play.
Now i am not being picky or choosy about this but did u notice without the hardware acceleration (SW , SW fast mode) the videos have a microsecond delay to load and then to move scrolling is slow.
In fact on MKV and FLV the video takes more time which is not there in ORiginal Firmware
no problme with officiel samsung rom or custom with samsung . but i have lag or no video with cm9 .
For exemple i have lag with multitask sense 4 with us cm9 rom but with official rom no prob no lag ...
For Devs Roms/kernels
what file can I take the official samsung rom?
Thanks in advance for replies ...
I have the same problem on ParanoidAndroid. I noticed that QuickPic's videoplayer (plays only a few codecs) works just fine without any lag or delay. VPlayer on the other hand is rubbish. I can't even play a 20 minute 480p video (150 MB) without some delay.
The best one i've tried is Dice Player which works fine without any lag or delays up to 1080p.
Where can I found code of official firmware for put it on cm9 rom please reply for help