[MOD] Better camera mod for TB Fusion, Kingdom port and RCMixHD V6xxx - Desire HD Themes and Apps

After the N1 and Arc mods for better camera, here's my first release for DHD under the RCMixHD rom, tried it with V6.1.0.0
Mainly it's just a tweaked camera jpeg compression and buffer memory not a difficult work
Advantages:
Lowering jpeg compression means larger sized photos reaching up to 3.5mb each bringing up more details and less noises!
Be aware:
There is probably no difference when shooting in dark conditions, the size of the photos are the same BUT when shooting in daylight the difference is huge!
Install:
1 -You need root
2 -For Kingdom and RCMix roms: Download the file media_profiles.zip and rename zip to xml
For TB Fusion roms: Download the file media_profiles.cab and rename cab to xml
3 -You can use Rootexplorer to copy paste the file into /system/etc or push it via ADB:
-adb devices
-adb remount
-adb push media_profiles.xml system/etc
-adb reboot
4 -REBOOT

how about some screenshots? if the app is the same would love some sample before/after pictures..
and what about other roms?

maybe changing the values in another ginger rom(media_profile) the result is the same , no?????
it is for gingerbread base rom 2.36.405.8 , put it in system/etc
rename .txt in .xml

I has found it long time ago!! Thanks! it's so great!!!!!!!!!!!

Anyway to increase camcorder bitrate? I've tried in media_profiles but with no luck..,.

There are numerous video profiles in this xml, perhaps we should tweak them all!
There are minimum and max in each like for jpeg,so if you don't have a ''rich'' scene to record (good light and lot of colors) the video bitrate will not use the max settings

tested and aprouved on Coredroid ROM v6

vegetaleb said:
There are numerous video profiles in this xml, perhaps we should tweak them all!
There are minimum and max in each like for jpeg,so if you don't have a ''rich'' scene to record (good light and lot of colors) the video bitrate will not use the max settings
Click to expand...
Click to collapse
But after I changed minimum value, bitrate shouldn't drop below this. It stays at ~10mbits. I'm pretty sure that video recording bitrate can be only tweaked in kernel.

krogoth said:
But after I changed minimum value, bitrate shouldn't drop below this. It stays at ~10mbits. I'm pretty sure that video recording bitrate can be only tweaked in kernel.
Click to expand...
Click to collapse
i think so

Thanks very much..It works fine on LeeDroid 3.0.2

Thanks, will try it out!

Anyone tried my MOD with the new Kingdom rom?

vegetaleb said:
Anyone tried my MOD with the new Kingdom rom?
Click to expand...
Click to collapse
yes i did and ........... OK !!!

Good I will change the title

good job vegetaleb, ill try it out and add it to my camera guide if you don't mind, can you please explain the tweaked memory buffer, does it improve 720p recording?
forum.xda-developers.com/showthread.php?t=875230&styleid=16
alla ye7me lebnen

LOL am having a blonde moment lol, i downloaded the file and renamed it . xml but now its called media_profiles.xml.zip i can't get rid of the .zip file assosiation lol anyone fancy giving me a hand lol

hamdir said:
good job vegetaleb, ill try it out and add it to my camera guide if you don't mind, can you please explain the tweaked memory buffer, does it improve 720p recording?
forum.xda-developers.com/showthread.php?t=875230&styleid=16
alla ye7me lebnen
Click to expand...
Click to collapse
Sorry, 720p is adjustable only on kernel side.
Sent from my Desire HD using Tapatalk

Works fine on AR HD 5.1.3... Thx!

Working on Android Revolution HD, but I don't really see any differences
Edit : too slow lol
Sent from my Desire HD

goofylad said:
LOL am having a blonde moment lol, i downloaded the file and renamed it . xml but now its called media_profiles.xml.zip i can't get rid of the .zip file assosiation lol anyone fancy giving me a hand lol
Click to expand...
Click to collapse
if you use windows 7 this is what you should do
Control Panel - Folder Options - View - Hide extensions for known file types (uncheck this)
Then rename your file

Related

[MOD][CAM] Stock froyo LG Camera 1080p @ 30fps @ 17 mb bitrate @ 128kbp/44khz

Moved from thread to make it easier for me to keep tabs:
http://forum.xda-developers.com/showthread.php?t=1055026
Working LG Camera mod Latest [Camera-1.1.3.4].
Recomended version for froyo:
Camera-1.1.3.4_44-96.zip
Video enhancements:
-1080p @ 30fps in all quality settings.
-No recording sound fix.
-Memory buffer increase for extra speed (no real impact)
-Audio bitrate increased from 64kbps to 128kbps for 720p, 96kbps for 1080p and sample rate increased from 22khz to 44khz for all bitrates - should fix crackling sound experienced by some.
-Increased (Variable) video quality for 1080p and 720p:
(Found under video quality in the menu for each resolution)
-1080P SUPER_FINE_ENCODER_BITRATE 9mb to 17mb
-1080P FINE_ENCODER_BITRATE 7mb to 14mb
-1080P NORMAL_ENCODER_BITRATE 5mb to 11mb
-720P SUPER_FINE_ENCODER_BITRATE 4mb to 13mb
-720P FINE_ENCODER_BITRATE 3mb to 11mb
-720P NORMAL_ENCODER_BITRATE 2mb to 9mb
-Increased video preview fps to 40fps to decrease screen tearing while recording.
Image enhancements:
-Attempt to increase image resolution for 8mp.
-Attempt at brightness fix.
-Increased quality setting file size (doubled).
GPS fix/tweak for Australian residence:
-GPS_FasterFix_Oceania.zip
To install:
No need to rename the zip, just copy to sdcard, boot to CMW, select "install zip from sdcard" then select "choose zip from sdcard" and flash.
or
Extract the camera.apk from the required zip file, copy to memory card and use root explorer to delete current camera.apk file then copy to system/app folder.
Possible future to do list:
-Enable Continuous Autofocus in video recording option.
-Enhance tweak for Photo quality higher bitrate.
-Tweak custom camera options to stick once restarted stored here:
/data/data/com.android.camera/shared_prefs/arc_camera_prefs.xml
-60fps mod (should be interesting, aim is for 720p).
-Custom requests.
-Add user configurable settings in menu.
-Transparent menu?
-Fix for bottom black bar covering setting menu image in video mode.
-Raw image file format.
-Option to pause video while recording, similar to Nokia N8 feature.
Note:
-Reports state working with 64mb mod kernels, use compatible version Camera-1.1.3.4_22-64.zip.
-Currently only working for froyo/stock/modaco roms.
-Use Camera-1.1.3.4_22-64.zip if any1 is having audio issues with new build, 22khz/64kbps.
-GPS_FasterFix_Oceania.zip flash in CWM.
-3 builds:
Camera-1.1.3.4_44-128.zip - @ 17mb + highest quality audio 44khz/128kbps, (some have experienced crackling in recordings tho not myself).
Camera-1.1.3.4_44-96.zip - @ 17mb + Normal quality audio 44khz/96kbps, best compromise between avg fps and sound quality.
Camera-1.1.3.4_22-64.zip - @ 17mb + default stock audio 22khz/64kbps for original LG build + my tweaks.
Give credit to whom ever mods this if using in roms etc, if you wish to make a mod or help mod feel free to drop me a line and i can assist you.
Here is the CM7 camera mod, 1080p @ 30fps @ 20mb + AutoFocus by Lejay:
http://forum.xda-developers.com/showthread.php?t=1094424
Here is the modded Gingerbread (Pauls Gr1) camera mod by AndiCP:
http://forum.xda-developers.com/showpost.php?p=16653925&postcount=1
Edit:2012/06/18
Added LG Esteem fps camera tweaks | LG ZVD 2.7 | Gingerbread 2.3.4
Old:
http://forum.xda-developers.com/showthread.php?t=1089228
Thanx to all for the compliments, very much appreciated 8)
-smc
of coz this is good, but what is the disadvantages of this?
Not to much hopefully, definately a reduced memory card capacity tho as files are BIG.
Still working out the best bitrate to use for video recording, I think 720p could be reduced by half 8mb as it makes almost zero difference to quality imho, what do you think?
-smc
somemadcaaant said:
Not to much hopefully, definately a reduced memory card capacity tho as files are BIG.
Still working out the best bitrate to use for video recording, I think 720p could be reduced by half 8mb as it makes almost zero difference to quality imho, what do you think?
-smc
Click to expand...
Click to collapse
Make a clip of [email protected] and put it on YouTube?
could you upload the APK with the 30fps recording and 19mbps ?
I can't see the download link.
somemadcaaant said:
Move from thread to make it easier for me to keep tabs:
.....
-smc
Click to expand...
Click to collapse
somemadcaaant, could you inrease audio bitrate as well for better quality?
Oh my, you actually did it . Awesome work.
Only problem is that now I have to flash away from cm7 to check it out .
I'm pleasantly surprised the hardware is actually capable of it.
didnt work at cm, get fc
but... where's the download link?
n3n00 said:
Make a clip of [email protected] and put it on YouTube?
Click to expand...
Click to collapse
There you go
Video: http://goo.gl/tcNBp
Info: http://db.tt/LbBegYe
Sorry just modifying a new build, link is now up, I tried to make the bitrates more modest thru out 720p and 1080p.
I'll add higher audio probs tomorrow, i need a break lol
-smc
TheMorpheus said:
There you go
Video: http://goo.gl/tcNBp
Info: http://db.tt/LbBegYe
Click to expand...
Click to collapse
Wow look at the min fps @ 23,148 fps there.
-smc
Just replaced the default Camere with this one in my roms, thanks
Thank you, what is exactly name the folder? Where i put this modded apps? I can´t search system folder.
I'm just getting an fc when trying to run the camera app.. Which exact rom are you running?
All I want is just haven auto focus while recording.
carreaum said:
Thank you, what is exactly name the folder? Where i put this modded apps? I can´t search system folder.
Click to expand...
Click to collapse
i made zip file for installing in recovery, here you go :
Camera
ranrick said:
All I want is just haven auto focus while recording.
Click to expand...
Click to collapse
Well... There is one setting that looks very interesting regarding that.
Anyone got audio sync problems? Got it on my first recording.
Sent from my LG-P990 using Tapatalk
Sckank said:
Anyone got audio sync problems? Got it on my first recording.
Sent from my LG-P990 using Tapatalk
Click to expand...
Click to collapse
Which rom? I'm flashing left and right here, trying to hit something that works.

[ REQ / FLASH ] Sense Camera with PANO&HDR mode

It seems that Leedroid Rom support HTC Camera with panoramic and HDR mode.. (tnx Lee )i'm asking to m(g)ods if its possibile to extract the apk and relative dependencies to have a working Camera on other roms too ( specially ARHD,lol ) Why? Because Panoramic mode in HTC Camera is fantastic! its the best. no rivals. photos are 90% merged correctly and the result is always awesome!
--------------------------------------------------------------------
EDIT:
i've taken the files and the lib from Lee Rom and make a flashable zip..tried,and:
HDR works;
PANO works first time,then it gets stuck, and killing camera from task manager cause FC all applications who use camera until reboot.
I have to find some other files in the framework that have camera dependencies..its a good start btw
For those who wanna try,i've uploaded a restore zip that will put back original ARHD files.
http://www.mediafire.com/?9bkc6z61kr9zhq6
http://www.mediafire.com/?xqdxcl2xjwlc3ui
Currently uploading the camera app for you.
Here it is:
HTCCamera.apk
It is from Sense 3.0.
Cool
Sent from my PC36100 using xda premium
Ditti4 said:
Currently uploading the camera app for you.
Here it is:
HTCCamera.apk
It is from Sense 3.0.
Click to expand...
Click to collapse
thanks, but the app won't install
20mark said:
thanks, but the app won't install
Click to expand...
Click to collapse
Hm, it should work without any app, because you have Android Revolution running which includes Sense 3.0 by stock.
And my camera app is also from this.
Are you sure there is no support for panorama and HDR?
Have you looked under Effects in the Menu?
20mark said:
It seems that Leedroid Rom support HTC Camera with panoramic and HDR mode.. (tnx Lee )i'm asking to m(g)ods if its possibile to extract the apk and relative dependencies to have a working Camera on other roms too ( specially ARHD,lol ) Why? Because Panoramic mode in HTC Camera is fantastic! its the best. no rivals. photos are 90% merged correctly and the result is always awesome!
Click to expand...
Click to collapse
+10000000
i realy want it specially work on ARHD 6.1.can anypne do thaht?
Ditti4 said:
Currently uploading the camera app for you.
Here it is:
HTCCamera.apk
It is from Sense 3.0.
Click to expand...
Click to collapse
The HDR all right but Panorama style will be FC.
triaqu said:
The HDR all right but Panorama style will be FC.
Click to expand...
Click to collapse
Which ROM are you on?
Ditti4 said:
Which ROM are you on?
Click to expand...
Click to collapse
stock 3.06.405.1
Same here. Same ROM, but won't install...
triaqu said:
stock 3.06.405.1
Click to expand...
Click to collapse
But it should be included in it, 'cause you are on Sense 3.0.
i've taken the files and the lib from Lee Rom and make a flashable zip..tried,and:
HDR works;
PANO works first time,then it gets stuck, and killing camera from task manager cause FC all applications who use camera until reboot.
I have to find some other files in the framework that have camera dependencies..its a good start btw
For those who wanna try,i've uploaded a restore zip that will put back original ARHD files.
http://www.mediafire.com/?9bkc6z61kr9zhq6
http://www.mediafire.com/?xqdxcl2xjwlc3ui
20mark said:
i've taken the files and the lib from Lee Rom and make a flashable zip..tried,and:
HDR works;
PANO works first time,then it gets stuck, and killing camera from task manager cause FC all applications who use camera until reboot.
I have to find some other files in the framework that have camera dependencies..its a good start btw
For those who wanna try,i've uploaded a restore zip that will put back original ARHD files.
http://www.mediafire.com/?9bkc6z61kr9zhq6
http://www.mediafire.com/?xqdxcl2xjwlc3ui
Click to expand...
Click to collapse
now the question is : why panorama works only one time ?
nice sharing italiano
famonaco said:
now the question is : why panorama works only one time ?
nice sharing italiano
Click to expand...
Click to collapse
ty
I think there's a problem with sensor..when i press shoot button and move around the line in the middle of the screen just freeze ..i think there must be some other lib to include for the sensor work properly..
And i'm wondering if HDR is working too. I can't discover any major changes in the quality of the shots taken. Or am i missing something (of have to do something extra, like wipe cache)?
From what i understand of photography, to make a HDR picture, either you have a sensor with a a larger bit depth, that is then compressed to the standard 8bit + color maping,
or you take 2+ fotos at a different exposure, "blend" them to get the most of shadows and highlights making for a greater bit depth, and then compress to the standard 8bit + color mapping.
daedric said:
From what i understand of photography, to make a HDR picture, either you have a sensor with a a larger bit depth, that is then compressed to the standard 8bit + color maping,
or you take 2+ fotos at a different exposure, "blend" them to get the most of shadows and highlights making for a greater bit depth, and then compress to the standard 8bit + color mapping.
Click to expand...
Click to collapse
yes,but in this case its a "artificial" HDR effect. when photo is taken the software creates a duplicate with different exposure and then blends photo toghether.so you will have HDR effect. btw i can see that pano and hdr doesn't work in this thread too..but in that case only camera apk provided. My flash file takes out some other system files used in the past by seo (credits to him) to port sense 3 camera with HDR&PANO to 2.5 based roms. I thought it would work btw there is someone who is on leedroid rom that can confirm if lee'camera is working good?
20mark said:
yes,but in this case its a "artificial" HDR effect. when photo is taken the software creates a duplicate with different exposure and then blends photo toghether.so you will have HDR effect. btw i can see that pano and hdr doesn't work in this thread too..but in that case only camera apk provided. My flash file takes out some other system files used in the past by seo (credits to him) to port sense 3 camera with HDR&PANO to 2.5 based roms. I thought it would work btw there is someone who is on leedroid rom that can confirm if lee'camera is working good?
Click to expand...
Click to collapse
have the same problem , camera crash after first pano mode
i tried it
see ya
famonaco said:
have the same problem , camera crash after first pano mode
i tried it
see ya
Click to expand...
Click to collapse
The leaked dhd build with sense 3.0 myt have those effects, try pushing that camera.apk or try leedroids think his is working
Sent from my HTC Desire HD using Tapatalk
shaky153 said:
The leaked dhd build with sense 3.0 myt have those effects, try pushing that camera.apk or try leedroids think his is working
Sent from my HTC Desire HD using Tapatalk
Click to expand...
Click to collapse
nope mate sense.30 leaked rom haven't those effects and leedroid camera have a panorama issue
see ya

[MOD] Stock camera mod LG GB V20e/i/j/l: No shutter sounds & improved Pic/Vid quality

[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

(Fully working) V5 (20120918) Camera Mod - for better pictures and low light videos

Updated to version V5
Changes:
Photos: No over exposure. (0 ev)
Videos: As always videos look good in low light (more or less equal to the brightness you have when taking photos)
Install instructions same as below.
Links:
ADB: http://www.mediafire.com/?z0idch09sgl5r20
CWM: http://www.mediafire.com/?spiv8o9lav017t8
I see more than 60 downloads of v4 but surprisingly no feedback/report from anyone whether you see any difference with this mod. I ll not be able to improve this any further without feedback guys.
--
Please find the updated version V4.
I had to change lot of variables and also had to mod cameraapp to get this working. I used somboons camera apk and his script so you ll have sound off mod in this one. Thanks to somboons.
Also thanks to Somboons for creating automation scripts for us.
Prerequisites
Deodexed rom from here http://forum.xda-developers.com/showthread.php?t=1871858
Firmware v10F
Changes you should notice:
Improvement in video brightness in low lights
Reduced over exposure (only +0.1ev)
Improvement in video quality when making video calls like over Skype/Gtalk
I am also trying to improve sharpness by changing the metering mode and increasing the meter spot size (feedback is important)
Reduced saturation (it helps improving video quality in low lights)
INSTALLATION
Method 1:
Flash via CWM.
1. Download CWM_Install_Camera_mod_V4.zip
2. Flash it via recovery
Method2:
1. Download the adb_camera_mod_vV4.rar file
2. Extract it
3.run the script
4. let it reboot
5. It also makes backup of the original files so, if you dont like it you can always revert (backup will be at external_sd/backupcamera).
These methods are tested and confirmed working.
Do let me know your feedback.
I really really spent lot of hours understanding and modifying these files. So i dont mind small donation to motivate me to work more on such mods. Thanks.
Links:
CWM: http://www.mediafire.com/download.php?ph3scev44he3mvy
ADB: http://www.mediafire.com/download.php?d307z8c3ex2tm1l
---
I tested this on 10F Swedish rooted phone and confirm that it is working well. Should work on 10D and may be previous versions as well. But i cannot guarantee.
(this is my first ever mod I made it by myself and post it in XDA. So dont flame me if anything is not right, thou I am happy to take your suggestions and improve further).
---
Hi friends,
Finally after 3 days of continuous work (spent at least 20-30 hours on this project) I managed to make a breakthrough in this brightness issue when shooting in semi lit conditions. As mentioned earlier, problem is not with the camera app but with the drivers itself. For some reason LG chose not to support higher ISO or proper adjustment of exposure/brightness/contrast for low light settings (it was the same case on LG optimus 2x as well).
Attached is the modifed camera.tegra.so (camera driver for our LG 4X). You need to copy it to /system/lib/hw using Root Explorer or similar application and set permissions. When possible I ll make flashable zip or some other automated way for everyone and also comparison videos. If anyone can help me with that i'd really appreciate it.
Benefits of this new driver:
1. Improved image quality. You ll see size of the photos will be about 2.5mb (instead of 1mb). You ll also notice ISO values in low light photos hitting around ISO2500 (even i didnt know that this camera can support such high ISO).
2. Improved visibility in the video recording in low light conditions.
3. Improved bit rate in video recording upto 25mbit/s.
4. Constant 25-30FPS in video recording.
Drawbacks:
For video recording I increased the brightness level twice as much. So dont use highest brightness when taking videos in dark. If you do so you ll see very high noise.
Comparision videos in both indoor and outdoor:
https://www.dropbox.com/sh/20rxmifrqzxjgby/dzY4BZuN6E (obviously difference is obvious in indoor than outdoor).
Installation:
1. Download and extract LG4x_working_camera_driver_20120830.rar
2. Using Root Explorer, go to /system/lib/hw and backup existing camera.tegra.so to camera.tegra.so.bak
3. Copy camera.tegra.so to /system/lib/hw
4. Set rw-r--r- permissions
Reboot.
When you open native camera app you should see the improvements.
Let me know in case you have any questions.
Change log:
V3 : 20120901
a. Reverted to automatic saturation as pictures look better with unmodified one
b. Reduced exposure to +0.3ev so that picutres dont look over exposed yet we ll see some improvement in videos. Should you need higher brightness in videos please use +/- correction. (hard to please all, right?)
c. Reworked on sharpness. Pictures/Videos look much sharper now.
V2 (enhancements): 20120830
a. Optimised saturation. Pictures in bright light looks colorful and in low light reduced noise
b. Reduced over exposure on pictures taken in bright sunlight
c. Improved sharpness of the pictures by edge enhancement (read here http://en.wikipedia.org/wiki/Edge_enhancement)
V2 (no enhancements):
No saturation or sharpness enhancements but just reduced over exposure.
Also uploaded original file in case you forget backing up
As always you are responsible for the changes you make on your device. I dont want you to complain about phone transforming into aliens or turning to paper weights if you use my mods. I am happy to help if I can.
Hope you enjoy my mods. Looking forward for your feedback.
PS: One should not experience any bootloops or any major issues with this mod. So dont be worried
-S
----
In this thread I am seeking help to make LG 4X camera better. If you dont know what you are doing then thread is not for you, move on!!!
As I am really frustrated with the dark videos in a semi lit room and as there no other camera apps available to help get better videos I decided to mod the camera myself. I reached a point where I need help from experts here at XDA
Camera dark light problem video samples: https://www.dropbox.com/sh/r0xdgyo34oyhlq0/pPF8M8VNcj
To make it clear, problem lies with camera driver not the camera app (and thats the reason why other apps arent of much help). Camera driver is /system/lib/hw/tegra.camera.so
I took drivers from OneX and Asus Transformer Prime as an example (btw Asus prime takes amazing photos/videos even in low light) and modded the driver. Problem lies with ISO settings. Our dear LG 4X doesnt use ISO settings for video recording and seems it cannot change FPS on the fly when it is low light (still tries to record at 30 fps). High ISO and high fps causes dark videos. Read here: http://www.izzyvideo.com/low-light-video/
Now I managed to eliminate dark videos in low light successfully but
1. while taking video view finder is tilted by 90 degrees regardless of what direction you hold it. (see attachment camera.tegra_titled.rar)
or
2. It takes only photos but no videos. (see attachment camera.tegra_partlyWorking.rar)
You ll need HexEdit (http://www.hexedit.com/) to mod these files.
Just extract either of the two attachments and copy the tegra.camera.so file to /system/lib/hw and set permissions. Just backup old one before you do this thou. To save the noobs from flashing this file I put it in rar but not zip.
If anyone wants to know what changes i made, how I made please PM or write below and I can explain. Hoping for helping hands here to solve camera issue
-S
thank you,i wait for next versions
Working good ! using the partly mod
Sent from my LG-P880 using xda premium
Good work
EDIT: Don't work flash in videorec and shutdown .(
with v10D,i replace original my file aand now worked.
Can't open flashlight .
edit, the flashlight works fine in camera mode, but can't open in recording .
Sent from my LG-P880 using xda premium
Did video recording work for you at all? For me it didn't with partly working file. Which file were you using?
Sent from my LG-P880 using xda app-developers app
The Camera of teh 4X is same than The Optimus 3D or 2X?
http://forum.xda-developers.com/showthread.php?t=1502963
I not understand this code,only help you.
WillySonicteam said:
The Camera of teh 4X is same than The Optimus 3D or 2X?
http://forum.xda-developers.com/showthread.php?t=1502963
I not understand this code,only help you.
Click to expand...
Click to collapse
No. That one is for OMAP CPU based phones where as we have tegra. No similarities in the code as far as i know. Thanks for the info thou.
-S
Ok,read This,the One X have Tegra 3:
http://forum.xda-developers.com/showthread.php?t=1765416
WillySonicteam said:
Ok,read This,the One X have Tegra 3:
http://forum.xda-developers.com/showthread.php?t=1765416
Click to expand...
Click to collapse
Thanks. I sent a PM to the developer there. Let's see if we can get any help. Will keep you guys posted.
Sent from my LG-P880 using xda app-developers app
Nice work! fully working on my p880 with V10c
Sent from my LG-P880 using xda app-developers app
Good job ksekhar!!:good:
WillySonicteam said:
Good job ksekhar!!:good:
Click to expand...
Click to collapse
See the V2, you ll like them. I recommend V2 with enhancements.
V2 with enhancements works good,thank you.
Thank for your work.
Thank for your work.
All works good, but twice brightness gives overespoxure in photos.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Ale-xs said:
Thank for your work.
All works good, but twice brightness gives overespoxure in photos.
Click to expand...
Click to collapse
thanks for the feedback. can you confirm if you are using V2 mod as I fixed it. Also it depends on where you focus as well, can you try focusing the same photo indifferent locations and see if the over exposure still exists?
Sent from my Transformer Prime TF201
ksekhar said:
thanks for the feedback. can you confirm if you are using V2 mod as I fixed it. Also it depends on where you focus as well, can you try focusing the same photo indifferent locations and see if the over exposure still exists?
Sent from my Transformer Prime TF201
Click to expand...
Click to collapse
Iam trying V2Enhancements.zip and sotck camera.tegra.so V10F firmware. Today had a lot of tests with the standard and your driver. When shooting, I did not use the touch focus, the camera will chose the exposure.
Empirically found that your driver all pictures differ by about +0.5 +0.7 EV, that is, they are brighter in any light.
Just seemed to me that the video was a little antsy (laggy) in 1080, maybe it isch due to increased bit rate, but I have not yet fully tested. And it is strange that one minute of recording goes about the same size in megabytes on your and the usual driver.
Sorry for google-english.
Ale-xs said:
Iam trying V2Enhancements.zip and sotck camera.tegra.so V10F firmware. Today had a lot of tests with the standard and your driver. When shooting, I did not use the touch focus, the camera will chose the exposure.
Empirically found that your driver all pictures differ by about +0.5 +0.7 EV, that is, they are brighter in any light.
Just seemed to me that the video was a little antsy (laggy) in 1080, maybe it isch due to increased bit rate, but I have not yet fully tested. And it is strange that one minute of recording goes about the same size in megabytes on your and the usual driver.
Sorry for google-english.
Click to expand...
Click to collapse
Hi, Thanks for the feedback. Ca you try this test version and see if it helps. Thanks.
ksekhar said:
Hi, Thanks for the feedback. Ca you try this test version and see if it helps. Thanks.
Click to expand...
Click to collapse
I have testing this version and found why photos is overexposed. See screenshot. Modded version add +0.4EV in each shot.
I also checked the video. In low light the video was better. Bitrate instead 7mbit was 10 megabits. However, all the videos began to appear a significant head (lag) when the camera is moving. Perhaps this is due to increasing the bitrate. For video, I use the internal memory and not the memory card.
Ale-xs said:
I have testing this version and found why photos is overexposed. See screenshot. Modded version add +0.4EV in each shot.
I also checked the video. In low light the video was better. Bitrate instead 7mbit was 10 megabits. However, all the videos began to appear a significant head (lag) when the camera is moving. Perhaps this is due to increasing the bitrate. For video, I use the internal memory and not the memory card.
View attachment 1293583
Click to expand...
Click to collapse
Thanks. But i couldnt find a way to increase only video brightness without affecting exposure on image. I use Samsung 32gb class 10 microsd card and probably thats why I havent noticed any difference. I ll check again and come back. But in general night mode records slow videos than in broad day light
Btw where it the screenshot?

MOD[Camera] Less Aggressive Sharpening | Noise Reduction

I've modified the calibration on the g5+ I've reduced noise reduction strength by using the calibration from the Google pixel also disabled luminance noise reduction left only color so image maybe a lil grainy.
In the chromatix libs I've disabled
Adaptive Bayer Filter - Blurs the image
ASF 5*5 7*7 9*9 - Sharpness the image
Chroma Suppression
CAC
To copy libs use Solid Explorer to copy the libchromatix to /system/vendor/lib/
The libmm lib also goes in the same vendor lib folder
Use Case Test it in low light it Bins the sensor in sum mode to collect more light by merging pixel charges but because binned the image res is reduced to to 2016 x 1512
I would backup your stock files before copying new ones happy testing
IMG_20170510_075835401_HDR by defcomk, on Flickr
IMG_20170510_075756537_HDR by defcomk, on Flickr
any before/after photos?
ckret said:
any before/after photos?
Click to expand...
Click to collapse
I'm on a limited mobile connection I have after photos tho if on telegram I can forward them to you.
But you can test the libs and see solid explorer works best as it auto changes permissions so you don't need to
Sent from my NX503A using XDA Free mobile app
should this work on stock?
dhk.- said:
should this work on stock?
Click to expand...
Click to collapse
should work on all roms
defcomg said:
should work on all roms
Click to expand...
Click to collapse
OK, so, in DU and stock, moto camera get a max image size of 2 mpx... Google camera works ok in resolution terms.
dhk.- said:
OK, so, in DU and stock, moto camera get a max image size of 2 mpx... Google camera works ok in resolution terms.
Click to expand...
Click to collapse
you probably did
The libmm lib also goes in the same vendor lib folder
Use Case Test it in low light it Bins the sensor in sum mode to collect more light by merging pixel charges but because binned the image res is reduced to to 2016 x 1512
Click to expand...
Click to collapse
this is to be used in low light it increases sensor sensitivity by binning
only chromatix file are needed to fix sharpness and nr
defcomg said:
you probably did
this is to be used in low light it increases sensor sensitivity by binning
only chromatix file are needed to fix sharpness and nr
Click to expand...
Click to collapse
You were right... Fixed it and works as expected​
Also, here you have a flashable zip if you don't care... This one is without libmm.
dhk.- said:
Also, here you have a flashable zip if you don't care... This one is without libmm.
Click to expand...
Click to collapse
Awesome you can post sample shots in this thread too:good:
Please someone post before and after images
Made a few scripts to inject these files without rebooting.
I don't know why but it returns a lot of errors messages but it works nonetheless
I have added shortcuts of these scripts using FX file manager. So I can enable and disable these mods from a tap.
You think this could be done even on other devices?
sharan.nyn said:
Made a few scripts to inject these files without rebooting.
I don't know why but it returns a lot of errors messages but it works nonetheless
I have added shortcuts of these scripts using FX file manager. So I can enable and disable these mods from a tap.
Click to expand...
Click to collapse
Can you please post comparison photos with mod applied and without mod
defcomg said:
I've modified the calibration on the g5+ I've reduced noise reduction strength by using the calibration from the Google pixel also disabled luminance noise reduction left only color so image maybe a lil grainy.
In the chromatix libs I've disabled
Adaptive Bayer Filter - Blurs the image
ASF 5*5 7*7 9*9 - Sharpness the image
Chroma Suppression
CAC
To copy libs use Solid Explorer to copy the libchromatix to /system/vendor/lib/
The libmm lib also goes in the same vendor lib folder
Use Case Test it in low light it Bins the sensor in sum mode to collect more light by merging pixel charges but because binned the image res is reduced to to 2016 x 1512
I would backup your stock files before copying new ones happy testing
IMG_20170510_075835401_HDR by defcomk, on Flickr
IMG_20170510_075756537_HDR by defcomk, on Flickr
Click to expand...
Click to collapse
Sound interesting. Can u show how do calibrate that, or maybe edit?
X-Tsubasa said:
Sound interesting. Can u show how do calibrate that, or maybe edit?
Click to expand...
Click to collapse
Maybe in the weekend I will post a how to. I use Hex Workshop and manually map all the values I've mapped CPP fully 3A Partially ISP only important bits related to sharpening and blurring from there I can disable PR adjust strength I usually just disable them as the images work better for post processing applying filters etc
defcomg said:
Maybe in the weekend I will post a how to. I use Hex Workshop and manually map all the values I've mapped CPP fully 3A Partially ISP only important bits related to sharpening and blurring from there I can disable PR adjust strength I usually just disable them as the images work better for post processing applying filters etc
Click to expand...
Click to collapse
Definitely post a How-To - those photos look superb!
p.s. Does this require a ROM? Or would rooted Stock do? Thanks!
srb- said:
Definitely post a How-To - those photos look superb!
p.s. Does this require a ROM? Or would rooted Stock do? Thanks!
Click to expand...
Click to collapse
Should work in any ROM as there is nothing special done that would require a specific ROM. In fact you could duplicate these changes on another device with same chromatix version ie op3t pixel mi5 v20 mi5s etc
Can I use this mod on Moto Z Play?
This should work on Moto Z Play, right ?

Categories

Resources