[MOD] Stock camera mod LG GB V20e/i/j/l: No shutter sounds & improved Pic/Vid quality
Hi folks,
I modded the stock LG Camera-app and implemented new features.
Every improvement (except 16:[email protected]) is working seamlessly with this mod. Please find the list of improvements below.
I also included the "media_profiles.xml" in the package.
V1.0 is based on V20e and can be used up to V20e.
V2.x is based on V20l and can be used from V20i onwards.
Please find the modded camera apps attached to this post. Enjoy!
Installation Instructions:
Flash the attached zip with CWM ("install zip from sd-card" --> "choose zip from sd-card").
I modded the following (in every version of the mod):
Disabled shutter & AF sounds (picture & video) - timer sounds are still enabled (on purpose --> no change!)
Increased preview fps to 40 (--> reduced page tearing)
Picture quality:
Set normal picture quality to 80 (= 20% compression)
Set fine picture quality to 90 (= 10% compression)
Set superfine picture quality to 100 (= 0% compression)
Video quality 1080p:
Set FPS from 24 to 30 (varies a little, similar to stock LG app)
Set normal video quality from 5Mbps to 7Mbps (= fine in stock LG app)
Set fine video quality from 7Mbps to 12Mbps
Set superfine video quality from 9Mbps to 17Mbps
Video quality 720p:
Set normal video quality from 2Mbps to 4Mbps (= superfine in stock LG app)
Set fine video quality from 3Mbps to 9Mbps
Set superfine video quality from 4Mbps to 14Mbps
Additional changes in the V2.x (V20l) mod are the following:
Changed 5MP picture resolution to 6MP 16:9 (3264 x 1840) - Implemented additional preview setting logic; AR not correct yet! trying to fix it.
Increased video bit rate for VGA (improves esp. quality of videos recorded by the front cam):
- Superfine from 1.5 Mbps to 5 Mbps
- Fine from 1.2 Mbps to 3 Mbps
- Normal from 768 kbps to 1.5 Mbps
Persistent flash mode setting (i.e. last flash mode is being saved; default mode is off)
DCF compliance (adopted DCF requirements like directory- and filenames)
Storage path changed to "DCIM/CAMERA/" (DCF compliant)
Removed closing/ not starting on low battery (still shows a toast to remind you on your low charge though)
Shutter-sound menu adjusted/ fixed (only option now: "Off")
Several changes in German translations
Modded further resources
Additional changes in V2.1:
Increased video bit rate for 1080p:
- Superfine: 20Mbps
- Fine: 17Mbps
- Normal: 12Mbps
Increased audio bit rate to 128kbps for 1080p and 720p
Increased audio sampling rate to 44.1kHz for 1080p and 720p
Persistent focus mode setting (focus mode is being saved)
Persistent GPS setting (GPS mode is being saved)
Music keeps on playing (removed auto-pause music on app start)
Implemented ODEX fix for odexed roms (Camera.odex is being deleted automatically)
Fixed DCF compliance for video filenames (missing underscore)
ToDo:
Fix AR for 16:9 @ 6MP
Adjust preview size for 16:9 pictures
Optimize code for better performance
The rest is still stock.
PS:
1. If you have a darker icon for your camera app, then update script worked like it should!
2. If this is useful for you, hit the "Thanks" button on the lower right!
3. If you cook this mod in your rom, please give proper reference to this thread in the list of included features and in your change log!
yeaaaaaaaaaaah, thank you very much
Froyo compatible?
Installed it succesfully on 20e, but i can not see any difference in quality. Blown up the fotos taken before and after the mod, but no difference at all.
What should be the improvement, i ask myself.
Main differences are on video mode. Original LG couldn't take very high quality/bitrates video in high resolutions...
Very nice thing to have this plus stock features as panoramic images for example (not present in CM 7).
Great and fast job!!!
O2X withTopogigi ROM 1.5/NeoBlaze kernel
Lo_RaT_PeNaT said:
yeaaaaaaaaaaah, thank you very much
Click to expand...
Click to collapse
You're welcome mate
Mediax said:
Froyo compatible?
Click to expand...
Click to collapse
No. For Froyo you can use somemadcaaant's mod.
mach2005 said:
Installed it succesfully on 20e, but i can not see any difference in quality. Blown up the fotos taken before and after the mod, but no difference at all.
What should be the improvement, i ask myself.
Click to expand...
Click to collapse
If you compare just few pics, you probably won't see a difference. But technically speaking there is quite a difference (jpeg compression i.e. picture quality was changed from 90 to 100 in superfine setting - if you're familiar with image editing of any sort, you know what I'm talking about). You can use fine/ normal quality to limit file sizes though.
Additionally picture quality is just one (small) part, video quality (incl. fps) and removed shutter & auto-focus sounds the other
Striatum_bdr said:
Main differences are on video mode. Original LG couldn't take very high quality/bitrates video in high resolutions...
Very nice thing to have this plus stock features as panoramic images for example (not present in CM 7).
Great and fast job!!!
O2X withTopogigi ROM 1.5/NeoBlaze kernel
Click to expand...
Click to collapse
Correct. Thank you!
Great job, much appreciated!
Sent from my LG-P990 using XDA App
Hi,
thanks for that mod!!
But i have a question. Is it possible to increase the fps for 720p for getting good slowmotions?
thx
@AndiCP
Is there a chance to add "touch to focus" in video recording ? or some autoF in camcorder?
action294 said:
Great job, much appreciated!
Sent from my LG-P990 using XDA App
Click to expand...
Click to collapse
Thank you!
dickeplatte said:
Hi,
thanks for that mod!!
But i have a question. Is it possible to increase the fps for 720p for getting good slowmotions?
thx
Click to expand...
Click to collapse
I'll try that in the next few days, but I think it won't work due to limitation in the kernel (max fps=30, otherwise reverting to standard fps).
petyo.tsanov said:
@AndiCP
Is there a chance to add "touch to focus" in video recording ? or some autoF in camcorder?
Click to expand...
Click to collapse
Let me see what I can do. Constant AF is not a target for me though, as the only effect would be AF-pumping (AF constantly analyzing the whole focus range to get the sharpest picture).
Possible future to do list:
-Option to pause video while recording, similar to Nokia N8 feature.
-Enhance tweak for Photo quality higher bitrate.
Is possible? Tks
Lo_RaT_PeNaT said:
Possible future to do list:
-Option to pause video while recording, similar to Nokia N8 feature.
-Enhance tweak for Photo quality higher bitrate.
Is possible? Tks
Click to expand...
Click to collapse
And it could be very useful an option to take 16:9 pictures.
Nice work guys!
Further Development
Picture quality (in terms of compression) is maxed already.
Pause mode is not possible, because it is not implemented in the API (only start & stop are).
Same goes for a non-pumping AF during video recording (not supported by API).
But I have 16:9 format for pictures and a 60 FPS mode for 720p on my list
Let's see when I can find some time to play with it...I'll keep you updated.
question...will this mod work if i'm using a CM7 or should i use this with a stock rom ?
AndiCP said:
But I have 16:9 format for pictures and a 60 FPS mode for 720p on my list
Let's see when I can find some time to play with it...I'll keep you updated.
Click to expand...
Click to collapse
sounds good
looking forward to 720p60
AndiCP said:
But I have 16:9 format for pictures and a 60 FPS mode for 720p on my list
Let's see when I can find some time to play with it...I'll keep you updated.
Click to expand...
Click to collapse
Great!!! Thx a lot!
Thanks! Working perfectly with the 20E version!
is it ok with v20c leak GB ? because i used Flair GB v3 rom atm..
update: tested already.. it's fine.. looks better for video as not lagging as before..
720p60 would be good, but 1080p24 would be very welcome too. And, I guess, easier to make
Thanks for this great Mod
The 16:9 will be amazing feature as it is a lot better to watch pics in 16:9 dipslay, which became a standard
The 720p at 60 fps will give some nice effects
Hello, I have tried DarkyRom and CM7. I liked the camera hack in DarkyRom and I want to get it to CM7.
Is this possible?
If by camera hack you mean taking a pic with the power button, go check the settings in the CM7 camera app... you will find more settings than you hoped for
No, darkyrom had better quality picture and more options...
How about Camera ICS for Non-ICS ROM`s like Zeus v.6 :
- it has the silent mode (no disable/enable option needed into ZeusTweaker) , already tested and no need that option to disable/enable in zeus script to take effect
- has a ICS look (like the name says)
- you can use volume keys +/- to zoom
- i think is more simple (in my opinion)
- only problem i found was (no zoom, in or out in video recording mode)
- the question is , can be ported to the Zeus ROM ? (is for Huexxx too), since we have some apps ported to this GREAT ROM version and no longer need to go to zeus script to disable the sound of camera .
thanks
explor3r3 said:
How about Camera ICS
- you can use volume keys +/- to zoom
Click to expand...
Click to collapse
stock GB also got that feature, even froyo as far as I remember
explor3r3 said:
- only problem i found was (no zoom, in or out in video recording mode)
Click to expand...
Click to collapse
since froyo this wasn't possible, before I got OB I had a samsung marvel [non-android] and that was a very cool feature to zoom in and out while recording video, so one of the first things a tried with OB was that zooming thing and it wasn't possible, that was kind of disappointing
Felsar said:
stock GB also got that feature, even froyo as far as I remember
since froyo this wasn't possible, before I got OB I had a samsung marvel [non-android] and that was a very cool feature to zoom in and out while recording video, so one of the first things a tried with OB was that zooming thing and it wasn't possible, that was kind of disappointing
Click to expand...
Click to collapse
yes the negative points are about the same as in Zeus v.6.xx camera but the difference is the sound on/off which you don`t need zeus script to activate/deactivate them ...
Hello, I use a lot the camera on my Z3c. Can someone tell me what's the best mod to improve the camera? I'm rooted on LP .232
Im using the Phone right now, so cant add links, try to find the mod v4 camera, and then flash the Xperia z5 camera libs, It really improved photo quality and cando Super Auto 20mp and HDR 20mp in manual Mode.
I love my note 5 too much but i am tried of low battery performace even with 180 debolated apps including touchwiz
And i know the best way to get bettery life is lower resolution.
I am on stock rom and i dont want to use note 7 roms with unsteable usage even these roms have resolution changing feature.
Is there any way to change resolution (NOT DPI) with stock rom rooted or non-rooted. 1080p or 720p
Some people talk about it can changeable with ADB but i have never used it
Can anyone help me about this prob. And is there any good site or title on xda tells how to change resolution step by step with ADB or anything else.
tfacex said:
I love my note 5 too much but i am tried of low battery performace even with 180 debolated apps including touchwiz
And i know the best way to get bettery life is lower resolution.
I am on stock rom and i dont want to use note 7 roms with unsteable usage even these roms have resolution changing feature.
Is there any way to change resolution (NOT DPI) with stock rom rooted or non-rooted. 1080p or 720p
Some people talk about it can changeable with ADB but i have never used it
Can anyone help me about this prob. And is there any good site or title on xda tells how to change resolution step by step with ADB or anything else.
Click to expand...
Click to collapse
It's possible with ADB (with or without root) but causes FC and crashes in System UI and many stock apps.
Try Naptime for rooted Note5 and enable doze immediately after screen off.. This saved me a lot of battery even with Wifi, Data and GPS always on.
More importantly, turn off the battery percentage. Believe it or not, it was making me paranoid about battery life ad without it on the status-bar, my life is much easier now.