[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'm on the latest OTA update and I can't use these apps.
Filmic pro does not allow me to use 24fps (always goes to 30fps). When I choose the Force FPS option it does 24fps (but this is experimental). My videos shot in 4K are worse in quality than 1080p in native camera app. I talked with the support and they said that i'm the only one with P20 Pro with such a problem. Did any of you use this app and had such problems? Can you share a sample video?
Here is my sample from filmic pro (1080p and 4k video): https://we.tl/s-q5TPnIuzJg
In Cinema 4K it never records in 24fps, and the app crashes every time I try to use flat color profile.
Is my device broken?
b u m p
filmic is not using camera SDK for huawei ( or something like that)
you cannot use 3x zoom camera only main one and if you compare 4k filmic and 4k native (other camera app) 100% crop filmic looks like upscaled 1080p- quality is much worse.
i am using open camera app - at least i can use zoom camera and bitrate is decent 80mbit (max what p20 pro supports).
but whend testing the phone and shooting grass while walking (lot af moving objects) biterate is around 100mbit, when shooting static picture with some pans bitrate is 40-60mbit. i was using 150mbit hevc on galaxy s7 and it is always 150mbit in the dark when recording fast scenes or static objects. with huawei i want high bitrate in night scenes to reduce compression artefacts because of high iso and phone lowers it actualy which is dissapointing.
this phone is very bad for video. old galaxy s7 was much better and has ois.
for photography it is okif you use raw/ bw camera bud also here compression is too high. but actually i think it's only phonefor now that can bring output quality bit closer to nokia 808 output.
Thanks for the reply - that's sad that "the best camera phone" is that hard to use.
Hey!
I recently downloaded a few mkv HDR files to the phone, but when playing the files, it didn't activate the HDR feature (washed out colors and bad contrasts) in VLC or the native Samsung video app. How come and how can I watch HDR content? (It does work on YouTube HDR videos...)
Thanks!
HDR content is HIT AND MISS. Some will look fine after adjusting the brightness and contrast, some devices require Auto Brightness and Iris to be turned off. and sometimes a codec can fix the problem....
Have you tried using KODI and adjusting the hardware and software codec settings?
But honestly, HDR on a 6 inch screen isn't doing you any good. 1080p Will consume far less data and will look the same on that tiny screen. Unless you're using HDMI out to a screen over 50 inches, i don't see the need...
HDR has nothing to do with the resolution (and the fact that you should be watching it on big screens). HDR is about dynamic range and the color range which is perfect to watch on a high-end screen of a premium smartphone display like Galaxy S10.
Hello, XDA!
Can I include hdr forever on display on p30 pro?
It only turns on if you watch hdr videos.
TL;DR: I don't know, but it would be very unlikely - see below for reason.
Probably not, as it requires the source material to be HDR. So that means EVERYTHING needs to be HDR to achieve this. Your backdrop, menus, every single app, every single app icon - EVERYTHING. Add in to this that, currently, still images rarely have the 10-bit colourspace applied, along with a lack of dynamic brightness information that HDR video utilises - add in to this that most apps are developed for all displays, rather than specific ones, it would require developers to include both 8-bit colourspace and 10-bit colourspace variants of their assets, likely more than doubling the size of the apps required.
Huawei could, in theory, implement some kind of on-the-fly HDR conversions/ upscaling, but from experience with HDR TVs this rarely works well, so would probably make the display look worse rather than better - add in to that the processing overhead to do this, along with the brightness (as explained below) your batter would die quite quickly. So whilst I don't *know* for sure, I'd be incredibly surprised if such a thing existed.
Not to mention that HDR only works at near peak brightness, so you would also have very reduced battery life.
I found that using screen recording while using samsung camera app in photo mode makes the field of view wider compared to video. And dynamic range is better also.(forget 4k). But good for social media sharing.. but the only problem is the zoom toggle in the way. Is there any way to remove that toggles.. maybe a modded apk or something???...
I think it's because when the camera is in photo mode, the app uses the whole sensor. This means that it is recording with a resolution of 3000x4000 pixels (3:4 aspect ratio). But when you record 4K, the camera app uses only a portion of the sensor equal to 2160x3840 pixels (16:9 ratio). That is the reason you see a wider view in the photo mode and not in the video mode. The only solution right now, might be to use OpenCamera to record video but you have to select the 3:4 ratio in the video settings. If you do that though, OpenCamera will only film with a resolution of 1440x1080 so the video will not be that sharp. I admit, I would love to see a mod or a toggle from Samsung that lets you record in 3:4 though.
Thanks. But what about the hdr.. i mean i have tested it and the hdr performance with ultrawide camera in screen recording is great compared to normal video capture. Even in low light the screen recording looks way too wider and brighter and had great dynamic range. (I have also tested shoooting in 1:1 in video). Kindly test it out and see it yourself. But don't pixel peep it's obviously less crisp than 4k. But great for social media.
I see what you mean. Video from screen recorder is a bit different from video mode. However I do not know why this happens. I suspect that maybe screen recorder is not able to capture the whole color gamut of the HDR preview.