[MOD][CM7] Camera Hack => Set ISO values + Metering Modes - Galaxy S I9000 Android Development

I've noticed that Camera app in CM7 doesn't show any values for ISO settings, but in the official ROM it's a supported feature.
So, I've modified a bit the Camera app source code, to show the ISO settings for the I9000 model.
Also, ISO 50 and ISO 1600 are supported, that were not listed in the offical rom. I think ISO50 = ISO100 because of hardware or driver limitations.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
Instalation methods:
I have attached the modified Camera.apk that you can install by doing:
# adb install -r Camera.apk
or
by simply copying the apk to the device and installing it like any other application.
----------------------------------------------------------------------------------------------------------------------------------------------------------------
Modified Sources:
I don't know really if this hack should be in the CM7 repository, so I've forked the module in github and anyone is free to checkout the code and my mods.
https://github.com/mauro235/android_packages_apps_Camera
It's merely an easy hack, but I hope you can find it quite interesting and useful.
I've added support for metering modes while we wait for official support.
Touch focus didn't work.
It's all Cyanogenmod magic code, thanks to the devs who are working on it.

Here some logcat logs that show the effective settings:
D/CameraSettings( 2476): Parameters: [antibanding-values=auto,50hz,60hz,off, antibanding=auto, effect-values=none,mono,negative,sepia, effect=none, exposure-compensation-step=0.5, exposure-compensation=0, focal-length=3.79, focus-distances=0.10,0.20,Infinity, focus-mode-values=auto,infinity,macro, focus-mode=auto, horizontal-view-angle=51.2, iso=400, jpeg-quality=90, jpeg-thumbnail-height=120, jpeg-thumbnail-quality=100, jpeg-thumbnail-size-values=160x120,0x0, jpeg-thumbnail-width=160, max-exposure-compensation=4, max-zoom=30, min-exposure-compensation=-4, picture-format-values=jpeg, picture-format=jpeg, picture-size-values=2560x1920,2560x1536,2048x1536,2048x1232,1600x1200,1600x960,800x480,640x480, picture-size=2560x1920, preview-format-values=yuv420sp, preview-format=yuv420sp, preview-fps-range-values=(7000,30000), preview-fps-range=7000,30000, preview-frame-rate-values=30,20,15,10,7, preview-frame-rate=30, preview-size-values=1280x720,800x480,720x480,640x480,592x480,352x288, preview-size=640x480, rotation=0, scene-mode-values=auto,portrait,landscape,night,beach,snow,sunset,fireworks,sports,party,candlelight, scene-mode=auto, vertical-view-angle=39.4, video-frame-format=yuv420sp, whitebalance-values=auto,incandescent,fluorescent,daylight,cloudy-daylight, whitebalance=auto, zoom-ratios=100,110,120,130,140,150,160,170,180,190,200,210,220,230,240,250,260,270,280,290,300,310,320,330,340,350,360,370,380,390,400, zoom-supported=true, zoom=0]
D/CameraSettings( 2476): Parameters: [antibanding-values=auto,50hz,60hz,off, antibanding=auto, effect-values=none,mono,negative,sepia, effect=none, exposure-compensation-step=0.5, exposure-compensation=0, focal-length=3.79, focus-distances=0.10,1.20,Infinity, focus-mode-values=auto,infinity,macro, focus-mode=auto, horizontal-view-angle=51.2, iso=50, jpeg-quality=90, jpeg-thumbnail-height=120, jpeg-thumbnail-quality=100, jpeg-thumbnail-size-values=160x120,0x0, jpeg-thumbnail-width=160, max-exposure-compensation=4, max-zoom=30, min-exposure-compensation=-4, picture-format-values=jpeg, picture-format=jpeg, picture-size-values=2560x1920,2560x1536,2048x1536,2048x1232,1600x1200,1600x960,800x480,640x480, picture-size=2560x1920, preview-format-values=yuv420sp, preview-format=yuv420sp, preview-fps-range-values=(7000,30000), preview-fps-range=7000,30000, preview-frame-rate-values=30,20,15,10,7, preview-frame-rate=30, preview-size-values=1280x720,800x480,720x480,640x480,592x480,352x288, preview-size=640x480, rotation=0, scene-mode-values=auto,portrait,landscape,night,beach,snow,sunset,fireworks,sports,party,candlelight, scene-mode=auto, vertical-view-angle=39.4, video-frame-format=yuv420sp, whitebalance-values=auto,incandescent,fluorescent,daylight,cloudy-daylight, whitebalance=auto, zoom-ratios=100,110,120,130,140,150,160,170,180,190,200,210,220,230,240,250,260,270,280,290,300,310,320,330,340,350,360,370,380,390,400, zoom-supported=true, zoom=0]

Thank you! I'll try it (even if I think that iso increase could bring too much digital noise, on such a camera)

Thanks!
Sent from my GT-I9000 using Tapatalk

sweet! thanks m8

°Dexter° said:
Thank you! I'll try it (even if I think that iso increase could bring too much digital noise, on such a camera)
Click to expand...
Click to collapse
You could set it to ISO 100 instead of auto and get great pictures without too much noise, at least with natural / artificial light

+1
is it even related to videos?

hostilevader said:
+1
is it even related to videos?
Click to expand...
Click to collapse
Thanks!
It's a setting for pictures. I don't know if there is another missing feature.
Now I'm doing some experimental research on video improvements and the myth of 1080p recording.

mauro235 said:
Thanks!
It's a setting for pictures. I don't know if there is another missing feature.
Now I'm doing some experimental research on video improvements and the myth of 1080p recording.
Click to expand...
Click to collapse
[ot] ma sei italiano? [/ot]
We were discussing about 720p problems in low light situations in another 3d. Did you notice that on your phone? I've the same problem on MIUI/CM7/CM Insanity (all CM based releases).

hostilevader said:
[ot] ma sei italiano? [/ot]
We were discussing about 720p problems in low light situations in another 3d. Did you notice that on your phone? I've the same problem on MIUI/CM7/CM Insanity (all CM based releases).
Click to expand...
Click to collapse
Can you please post the link to the thread?
As far as I know, the current libcamera.so doesn't have an api to set the light sensivity on video recording. It may be hardcoded deep in hardware, I'll check again the Kernel driver.
Another issue is the continuous auto-focus on video recording. Apparently not supported, I'll try that also.

Here you can find some good links:
http://www.youtube.com/user/itagem?feature=mhsn
http://forum.xda-developers.com/showthread.php?p=15154828#post15154828
http://forum.xda-developers.com/showthread.php?p=15154595#post15154595

mauro235 said:
I think ISO50 = ISO100 because of hardware or driver limitations.
Click to expand...
Click to collapse
I taken pictures with miui rom at daylight and in this pictures propietes show me 50 iso

P$T said:
I taken pictures with miui rom at daylight and in this pictures propietes show me 50 iso
Click to expand...
Click to collapse
Yes and it's an accepted value by the driver. But deep in the kernel driver I remember seeing something like ISO_50 = ISO_100.
Anyways, the hability of setting a custom ISO in the range from 100 to 1600 it's a good thing. At least for me.

well done nyc job

Added more experimental stuff, seems to work.

Tested ISO 100 and Touch focus - works like a charm Thanks!
PS: add metering mode to that

Hi,
realy realy good.
But please, could you implement, that we can save the videos to sdcard???
This would realy realy realy raly NICE AND GOOD!!!!
Big big thanks
Bye

Маuro youare the MAn
port is awesome m8 especially on camera
camacoder have some litle issue ,freezing,breаcking down
but your job is great
10ks again

ashwinds said:
Tested ISO 100 and Touch focus - works like a charm Thanks!
PS: add metering mode to that
Click to expand...
Click to collapse
Thanks for the feedback
djsven said:
Hi,
realy realy good.
But please, could you implement, that we can save the videos to sdcard???
This would realy realy realy raly NICE AND GOOD!!!!
Big big thanks
Bye
Click to expand...
Click to collapse
I'll try.
hensk said:
Маuro youare the MAn
port is awesome m8 especially on camera
camacoder have some litle issue ,freezing,breаcking down
but your job is great
10ks again
Click to expand...
Click to collapse
I haven't touched the Video interface yet. It's working ok for me on lastest CM7 nightly and stock kernel.
BTW: It's all Cyanogenmod magic code, thanks to the devs who are working on it.

Hi, I'm a happy user of your app on cm7 and i saw that a lot of features are added in last nightlies.
Is it possible that you include them (power button shutter, zoom in camcorder with volume buttons...)?
Thank you for your great work.
Sent from a CM7 Galaxy

Related

Working camera RHOD-100

is there ANYONE with camera working on the rhod100? even now with these new fixes for the camera, nothing changes for me. complete freeze-up at starting cam at or the cam works for 1-2 secs then the app freezes..
the camera "updates" dont change anything for me,
who has it WORKING on an rhod100? and by working i dont mean the crashes i have..
shatred said:
is there ANYONE with camera working on the rhod100? even now with these new fixes for the camera, nothing changes for me. complete freeze-up at starting cam at or the cam works for 1-2 secs then the app freezes..
the camera "updates" dont change anything for me,
who has it WORKING on an rhod100? and by working i dont mean the crashes i have..
Click to expand...
Click to collapse
On my rhod100_fr, I have the same problems.
The test kernel of viruscrazyyyy was work. But not the new...
Same here. I did notice that during boot up is looking for some files it can't find; I posted in the wistilt testing thread (somewhere around p.90) do you see that also?
Sent from my MSM using XDA App
My camera is working, but you probably got an AUO panel(i have EID).
If someone wants to try it, here my files i use.
- FRX05
- Wistilt2 test kernel
- F22 rootfs
RHOD 100 - no problem
I've got working camera with RHOD100, no freezing, but sometimes screen glitches with stripes, or can be splitted for several squares =) but it's the problem with stock "Camera" only, "CameraFX" working perfectly-zoom, autofocus..
Using Froyo RED the last one with the last system.ext2 update and camera kernel 1214 with corresponding zImage.
I have rhod100 from uk and camera still not working. What i have noticed is that it works on a low light ambient, almost dark room. when i switch the room lights, the camera freezes after 2 seconds with the usual issues. i am using the 1276 kernel. sad.
mzmf said:
I have rhod100 from uk and camera still not working. What i have noticed is that it works on a low light ambient, almost dark room. when i switch the room lights, the camera freezes after 2 seconds with the usual issues. i am using the 1276 kernel. sad.
Click to expand...
Click to collapse
please post your experiences with the problems here , it will help viruscrazy fixing the cam problem for us
oops! thanks for the tip.
If you have a RHOD100, specify if you have an AUO or EID panel.
IF you're running one of WisTilt2's test kernels, it's in dmesg somewhere. I think panel type 13=AUO, 14=EID, I may have those switched tho.
Entropy512 said:
If you have a RHOD100, specify if you have an AUO or EID panel.
IF you're running one of WisTilt2's test kernels, it's in dmesg somewhere. I think panel type 13=AUO, 14=EID, I may have those switched tho.
Click to expand...
Click to collapse
This is correct.
There's a third panel type to, for those RHOD300 folk - 15 .
Ahem....
Anyone mind providing some feedback?
Camera works for me now! But Wifi is down in the update says Fault
Rhod100,AUO,
Thanks!
djcrosstunez said:
Camera works for me now! But Wifi is down in the update says Fault
Rhod100,AUO,
Thanks!
Click to expand...
Click to collapse
Awesome!
But as I clearly stated, you should only be testing cam. Other things will be broken - wifi being one of them.
Wow, thanks arrrghhh!!!!
I've searched for a kernel with working camera for rh100 for a long time and I never read this post xD
I'm not an expert at this topic but I downloaded "FRX07.1", installed it and used the files you've uploaded. Then it worked. The quality of the cam is good, all options (Changing brightness, sepia, aqua etc) worked, but it seemed darker than normal (the reason for this could be that the cam is very old and dust lies upon it xDD). Sorry for my bad english, it's not my native language
Will try it later today
Sounds very very good
Be sure to check out his new version, version 3:
http://forum.xda-developers.com/showpost.php?p=17887046&postcount=1101
Chillout said:
Be sure to check out his new version, version 3:
http://forum.xda-developers.com/showpost.php?p=17887046&postcount=1101
Click to expand...
Click to collapse
Yes! I confirm it's work better for me on HTC TP2 Rhodium100(FR)
See my post with a photo comparison between the result of the patch V2 and the patch V3: http://forum.xda-developers.com/showpost.php?p=18091539&postcount=1104
The complete thread is: > Legacy & Low Activity Devices > HTC Raphael: Touch Pro, Fuze > Touch Pro, Fuze Android Development > [UPDATED 04/29][DEV - Camera ( camcorder improvement ) ] Camera tests --> http://forum.xda-developers.com/showthread.php?p=17887046#post17887046
Credits to Brinka123 and others who help him
Camera100_ver3
Hi all,
great work, guys!!! My camera is fully working for me for the first time! Wifi and BT also work with this kernel/modules! Only video camcoder has't recording sound (only some rustle), video is OK. Thanks to all dev!
Rhod100_uk

[MOD] Hacked Camera.APK for better audio quality, usage with any battery life & MORE!

[MOD] Hacked Camera.APK for better audio quality, usage with any battery life & MORE!
Final Update-
Some people have been asking for sourcecode/instructions, so once more, this is the method I used, all credit to Rafalense.
http://forum.xda-developers.com/showpost.php?p=10980448&postcount=268
Those of you wanting me to reupload the APK's, I'm sorry, I don't have them stored anymore, and I wouldn't put them up even if I did. They're based on ANCIENT firmware revisions, and whilst I can appreciate you still would like the functionality somehow, I'm not interested in taking on the project again at this time. Thank you very much for your continued use and desire for my work though, it's very flattering.
I won't be actively developing or supporting this anymore because of it's defunct nature. If you want something similar, I highly recommend the lgCamera app, which has a far better implementation of improved bitrates (select whatever bitrates you want in a menu.) You can get lgCamera on the market- I highly reccomend it.
Anyone who wants to pick up this project can feel free to discuss here or make a new thread, as you please. If you do, please include the link to the guide by Rafalense, as it was the basis for this mod and will doubtlessly be of use to someone.
(Original Post Below)
-----
In light of my new student status, and since my student loan doesn't even cover my accommodation... I have made a donate link.
If you use the mod regularly, please consider donating, it would really help me out. Don't worry if you can't though, the mod will always be free for all to use.
Thanks for all the support-
- Potatoman.
------------------------------------------------------------------------------
Hey folks-
It's with great pleasure that I'm releasing a hacked Camera.apk for you all today! This is my first android mod, so be gentle
Info-
The apk replaces the stock Camera.Apk in the Galaxy S II (or Samsung Captivate!), and has the following features-
- Allows use of the camera & camcorder at any battery life
- Records Audio in 192kbps/44.1Khz quality (CD Quality) rather than stock (64kbps/16khz quality)
- Increased Video Bitrate in 1080 and 720p modes* (See 2nd post for info and download link for this version)
- Optional No Sounds versions (for Standard and Highbit versions!). All of the features, None of the noise! Yes, even the autofocus noise is gone!
- HyperX-'s SuperHighBit version now available (See 2nd post for info and download link for this version)
I have left the settings for the 320x240 and 176x144 resolution modes as stock, so they will be the same size and with the same audio. This is to ensure video messages are kept within the filesize limits
Before/After Comparison (thanks robbiekhan)-
robbiekhan said:
Before:
After:
Treble is high for loud sources in this mod, I'm working on improving it in v2. for now, just stand further back like robbiekhan said - Potatoman
Treble seems high so apologies for that, car volume was higher than I realised ¬_¬
Click to expand...
Click to collapse
Additional info:
If you want to get rid of the shutter sound, create a file in /data called local.prop and add the line "ro.camera.sound.forced=0" and restart your phone. This removes both the shutter sound and the focus sound when your phone is on silent, but keeps the sound when it's not on silent. - llBlackenedll
Install Guide:
1) Root & install a file manager which lets you browse root
2) browse to /system/app, and rename your Camera.apk to Camera.apk.bak and your Camera.odex to Camera.odex.bak (for use as a backup to restore from)
3) Unrar my APK (password: [email protected]) and copy it over to /system/app.
4) Rename it Camera.apk
5) Close the file manager and run the Camera app from the main menu
6) IF the app fails to run, or the shortcut is missing, go back to the /system/app folder and try to install it (tap it in root explorer then "install"). This step is only a fallback, do NOT do this if it works already at step 5.
7) Enjoy!
ADB Install Guide- See 2nd post!
This mod was tested on my own Galaxy S II with KE2, KE7, KG1, VillainROM and CognitionROM firmwares.
-------------------------------------------------------------------------
Thanks all, hope you enjoy! Thank if you like it
(Download: http://www.multiupload.com/KHRWLERS4J)
(Download with no sounds: http://www.multiupload.com/NNR1SYDYL6 Same password. Be sure to remove cam_start.ogg, cam_stopp.ogg, Camera_click.ogg, Camera_click_short.ogg, Shutter_01.ogg and videoRecord.ogg from /system/media/audio/ui as well!)
-------------------------------------------------------------------------
Credits-
Potatoman - Sound implimentation & merging of features & Version Splitting/Maintainance
Soraxd - Original battery life functionality & upcoming music playing functionality
Rafalense - A great post which lead me through how to do this mod over on the Galaxy S forums
pulser_g2 - Original battery life functionality (with soraxD )
llBlackenedll - tip on how to disable shutter sounds
robbiekhan - Before/After Comparison videos
Antoniotdi - An excellent bugfix
hyperX - Great minds think alike eh? HyperX released a similar mod to this on the same day as me! Anyway, we'll be working together on cameramods from now on. Good news huh?
Knightnz - The ADB install guide
ADB Install guide (Thanks knightnz!)-
knightnz said:
How to install using adb with phone connected to your computer:
Copy the new .apk to the root of the internal sdcard of the phone. then run the appropriate set of commands:
STANDARD VERSION:
adb shell
su
mount -o remount,rw -t ext4 /dev/block/mmcblk0p9 /system
cp -r /sdcard/Camera.apk /system/app/Camera.apk
chmod 644 /system/app/Camera.apk
NO SOUND VERSION:
adb shell
su
mount -o remount,rw -t ext4 /dev/block/mmcblk0p9 /system
cp -r /sdcard/CameraSoundless.apk /system/app/Camera.apk
chmod 644 /system/app/Camera.apk
cd /system/media/audio/ui
rm cam*
rm Cam*
rm Shut*
rm Video*
Click to expand...
Click to collapse
-----------------------------------------
HyperX-'s SuperHighBit version released!
This is kept here because it isn't mine to remove, and I haven't heard from HyperX in a while. Please note I wont be able to support anyone with this if you choose to use it.
hyperX- said:
Since some of you know me... i imigrated from Symbian here to Android.
Now i am working on several mods with Potatoman to bring you more mods/tweaks stuff.
I have prepared a package, with the following settings:
1080p mode: Normal – 17 Mbit Fine – 24 Mbit – Super fine – 30 Mbit
720p mode Normal – 9 Mbit Fine – 13 Mbit Super fine – 17 Mbit
Both modes have audio at 48000 khz at 192 kbit
Download
Also for those, who are interessted, my site will be soon updated for an Android section.
www.hx-custom-roms.com
Click to expand...
Click to collapse
DISCLAIMER TO AVOID DRAMA-
I work on this in my own time as a project, as and when I see fit. At no point does using or donating to the development of this app entitle you to demand anything from me other than what has already been shared. The app is also for use "as is", with no warranty. Support is provided by me (and other helpful members) in this thread and in my PM box as and when we desire.
Anyone who takes an issue with this is more than welcome to not use the app, not post here, and otherwise avoid being a nuisance to the rest of us in this thread.
thanks it works
Nice will download it. But for version 2.. I am able film and listen to music at the same time now on KE7
Cool . Are you able to make the power button work as a shutter key when in the camera app ?
good work, thanks!
This looks great, can someone please upload it to an Android browser friendly file sharing site, like megashare.com for example. Many thanks.
pin spot still here ?
sorrowuk said:
Cool . Are you able to make the power button work as a shutter key when in the camera app ?
Click to expand...
Click to collapse
+1 Good idea
Screen brightness low
Hi nice work, thanks. I have one problem with it. When I turn on Camera screen brightness turns to the lowest value, so it is very hard to see what I am filming or photographing.
Potatoman said:
Info-
The apk replaces the stock Camera.Apk in the Galaxy S II, and has the following features-
- Allows use of the camera & camcorder at any battery life
- Records Audio in 192kbps/44.1Khz quality (CD Quality) rather than stock (64kbps/16khz quality)
Click to expand...
Click to collapse
Great work man!
Quesiton: does anyone think that there might be a little more video quality to squeeze out of the phone too, or is this already flat maxed out on 1080p at highest settings?
^^ The video quality is already very good. low light sensitivity is a lot better than iPhone 4, for example. I have tested side by side and the ip4 is blocky in low light and motion isn't as good.
Before:
After:
Treble seems high so apologies for that, car volume was higher than I realised ¬_¬
really good job! Works like a charm !!!!
Excellent, could you also fix the force close when running camera on LCD density 160?
It seems only working on the default LCD density 240.
Mine is working fine at 182dpi. But we need a few modifications to the design. It only looks usable at 240dpi.
Sent from my GT-I9100 using XDA Premium App
Thankssssssssssss waiting for v2
Samsung Galaxy S II gets 1080p 24 Mbit/s recording hack
http://www.slashgear.com/samsung-galaxy-s-ii-gets-1080p-24-mbits-recording-hack-31155902/
Wow, fast replies
zxz0O0 said:
Nice will download it. But for version 2.. I am able film and listen to music at the same time now on KE7
Click to expand...
Click to collapse
Really? Lucky you then when I tested on mine it closes the music player while camera app is open... but maybe it's because I'm not using stock music player. I'll test some more. Either way, enjoy:
sorrowuk said:
Cool . Are you able to make the power button work as a shutter key when in the camera app ?
Click to expand...
Click to collapse
I was thinking about trying this, I'll look into it. Shouldn't be too hard.
padlad said:
This looks great, can someone please upload it to an Android browser friendly file sharing site, like megashare.com for example. Many thanks.
Click to expand...
Click to collapse
Done. Password is potatoman: http://www.MegaShare.com/3306744. Enjoy
djase said:
pin spot still here ?
Click to expand...
Click to collapse
Can you explain what you mean? I don't understand
mdaaddic said:
Hi nice work, thanks. I have one problem with it. When I turn on Camera screen brightness turns to the lowest value, so it is very hard to see what I am filming or photographing.
Click to expand...
Click to collapse
Was your battery very low? I know if the battery is VERY low the brightness on the whole phone dims completely, but this isn't something I can fix. If not, it's an odd problem, I can't seem to replicate it... mine retains the brightness it is set to. Can you try enabling the "Auto Brightness" in settings (Display -> brightness -> automatic brightness) and see if it works better then? If not you may have to resort to enabling "outdoor visibility mode" in the camera settings to use it until I can replicate it to fix it.
Richdog said:
Great work man!
Quesiton: does anyone think that there might be a little more video quality to squeeze out of the phone too, or is this already flat maxed out on 1080p at highest settings?
Click to expand...
Click to collapse
Robbiekhan hit the nail on the head, increasing the bitrate doesnt necessarily increase the quality by a margin that is worth having... especially with the associated filesize increase. I managed to get it working at 32Mpbs bitrate, but the quality didnt warrant doubling the amount of space it used up.
robbiekhan said:
^^ The video quality is already very good. low light sensitivity is a lot better than iPhone 4, for example. I have tested side by side and the ip4 is blocky in low light and motion isn't as good.
Before:
After:
Treble seems high so apologies for that, car volume was higher than I realised ¬_¬
Click to expand...
Click to collapse
Thank you for the comparison videos! I'll add them to the first post for people to see as an example (if you don't want me to just let me know :3)
trUePN said:
Excellent, could you also fix the force close when running camera on LCD density 160?
It seems only working on the default LCD density 240.
Click to expand...
Click to collapse
KLoNe1 said:
Mine is working fine at 182dpi. But we need a few modifications to the design. It only looks usable at 240dpi.
Click to expand...
Click to collapse
As much as I'd like to, I'm not sure how to go about it. Did the camera app work before at those resolutions? I don't imagine it did, since I didn't change any of the graphics... which means its crashing because of something else. Probably needs a graphic redraw to suitable sizes for the resolutions, but that's quite time consuming and I can't really commit to something like that right now. Sorry.
ermacwins said:
Samsung Galaxy S II gets 1080p 24 Mbit/s recording hack
http://www.slashgear.com/samsung-galaxy-s-ii-gets-1080p-24-mbits-recording-hack-31155902/
Click to expand...
Click to collapse
Yeah but I did it first Mine was ready a few days ago, I just waited for a reply from soraxd as a courtesy before releasing publicly.
The method is the same for changing the video settings as it is audio, but I felt when testing that the difference in quality was not worth the difference in filesize. When I shot a video at 1080p with 36Mbps (that was the max I could use without the phone crashing) it looked virtually identical to the original one, but used up twice the space. If enough people really want it (though I don't see why) I will happily add the functionality to this apk, so you can enjoy the other features as well.
Hope this helped-
Potatoman
Potatoman said:
Wow, fast replies
As much as I'd like to, I'm not sure how to go about it. Did the camera app work before at those resolutions? I don't imagine it did, since I didn't change any of the graphics... which means its crashing because of something else. Probably needs a graphic redraw to suitable sizes for the resolutions, but that's quite time consuming and I can't really commit to something like that right now. Sorry.
Potatoman
Click to expand...
Click to collapse
It actually works on LCD density 160, but crashes when you try to scroll down at camera settings or change to videocam.
For now I switch density when I use my camera properly, np.
Password on the file
Edit: My bad, wrong password...

[Mod] CM11 (unofficial) Camera Mod -Max Quality

Created by : Jishnu Sur
Tested and working on this rom
V1.
1080P Video @ 20Mb/s
720P Video @ 20Mb/s
JPEG Quality 100%
High-Medium-Low quality = 100%
Auto ISO In camera will max out to 1200 instead of 1600 now. Switched off denoise! and switched on Touch Contrast..
Sound Recording quality Increased to 196000Kb/s.
Flash the zip below in recovery and enjoy!
Cool will try it.
To get the best quality, wouldn't it be best to take the values from a touchwiz rom? Am I wrong?
Using yours, the pictures look like this
and here is what it looks like using touchwiz default media_profiles.
Download link: http://www.mediafire.com/?96e4gkjhaqatbng
Im SUPER excited that there is some one working on this. I have never been impressed with the CM camera (stock or focal) and always wished it was on par with the TW camera.
That being said, I'll download this and give it a try soon.
Thanks!
Seems to work, didnt fix the green lines on ffc... Thanks OP!!
Master™ said:
To get the best quality, wouldn't it be best to take the values from a touchwiz rom? Am I wrong?
Using yours, the pictures look like this
and here is what it looks like using touchwiz default media_profiles.
Download link: http://www.mediafire.com/?96e4gkjhaqatbng
Click to expand...
Click to collapse
The Touchwiz libs will not work on CM ROMs sir..
Jishnu Sur said:
The Touchwiz libs will not work on CM ROMs sir..
Click to expand...
Click to collapse
I wasn't saying the libs, but the media_profile.
I know the libs wouldn't work.
Am I the only one that notices that the stock cm gallery is like 2 zoomed in even when is zoomed out all the way...... Even if you download an app from the market it doesn't show that is so zoomed in...... Couldn't this be what's messing up the quality of the pictures since is way 2 zoomed in even when you zoom it out as much as you can ????
Trev420 said:
Im SUPER excited that there is some one working on this. I have never been impressed with the CM camera (stock or focal) and always wished it was on par with the TW camera.
That being said, I'll download this and give it a try soon.
Thanks!
Click to expand...
Click to collapse
Same here. . Only reason why I keep going back to TW roms cause of the camera. Whenever I use cm/aokp/etc, something always happens to where I have to use the camera and the quality isn't that good .
Master™ said:
I wasn't saying the libs, but the media_profile.
I know the libs wouldn't work.
Click to expand...
Click to collapse
The media_profile.xml doesn't really do what you think it does. It's not what controls the quality of audio/video/photos.
That my friend, is done in the .apk or the kernel depending on the type of ROM. In AOSP, it's mostly kernel controlled vs TW which can be adjusted when you decompile the apk. I can take the TW camera up to 30Mbps on 1080p though it's pointless.
OP, why not take the audio bitrate to 320kbps? Would be much better and the phone can handle it. Also, what's the sampling rate? 44.1 or 48? Lastly, do the increased bitrates apply to both cameras or just the back camera?
If you need any help with this, PM me. I did a TW mod like this but would like to help in any way I can on this.
KCRic said:
The media_profile.xml doesn't really do what you think it does. It's not what controls the quality of audio/video/photos.
That my friend, is done in the .apk or the kernel depending on the type of ROM. In AOSP, it's mostly kernel controlled vs TW which can be adjusted when you decompile the apk. I can take the TW camera up to 30Mbps on 1080p though it's pointless.
OP, why not take the audio bitrate to 320kbps? Would be much better and the phone can handle it. Also, what's the sampling rate? 44.1 or 48? Lastly, do the increased bitrates apply to both cameras or just the back camera?
If you need any help with this, PM me. I did a TW mod like this but would like to help in any way I can on this.
Click to expand...
Click to collapse
if you can make a better mod make it m8 ill add it to the op
haldi15 said:
if you can make a better mod make it m8 ill add it to the op
Click to expand...
Click to collapse
I'll see what I can do. I suggest checking the quality of my work before adding it lol. I'm pretty drugged up at the moment :silly: almost 30 and just now got my tonsils removed.
Installed this in S4 for Sprint (jfltespr) and it worked like a charm. No more green lines on the front facing camera. Cheers.
passwords log file
How come there is a password logger file in side this zip?
Where do you see a password logger? I only see 2 .so files for the camera and the media_profile.xml ...
On my S4, the video camera does not work constant. In dark rooms, it still records with [email protected] and on bright szenes, it uses [email protected] with this patch. The only ROM where i got a constant 30 fps in all situations is the original one from Samsung.
Sent from my GT-i9505 using XDA Premium 4 mobile app
haldi15 said:
Flash the zip below in recovery and enjoy!
Click to expand...
Click to collapse
does this work on other device like i9305 s3 lte on cm11? thanks
I can use this mod on kitkat 4.42? Thanks
Sent from my SGH-M919 using xda app-developers app
xda23 said:
I can use this mod on kitkat 4.42? Thanks
Sent from my SGH-M919 using xda app-developers app
Click to expand...
Click to collapse
CM11 is 4.4.2
can this work on s3?
not work on the CM of 08 september14
Stay on application launch after Wipe cache and Wipe dalvik cache
Sorry for my bad english...

I found a good camera for CM11 & SlimKat

Camera KK this looks like it was built with CameraNext and has had the best results from any camera app on Fire Phone I have used. Even with flash!
I attached some unaltered shots outdoors and indoors with lights on and off in my server room.
Free has ads and $1.99 to remove them. So try it and let me know any tips you might find.
Still has flash issue in low light. It's going to take more than an app in the store to resolve the issue.
Nice, good find, flash pic quality looks similar to the ones from Snap Camera... I found the post I was thinking about:
mhill1986 said:
Snap Camera:
• Exposure compensation to -2 ev
• ISO manually set to 1600
Click to expand...
Click to collapse
And now get that cable management in order! *shudders*
Just kidding... this should be posted in "General", since it's useful information about one of the biggest issues, Magnum_Enforcer to the rescue!
Do I have the power to move it?
distearth said:
Do I have the power to move it?
Click to expand...
Click to collapse
No, but I do.
I tried reducing exposure -1 and that did a little but the flash normal was also pretty good. The pic from the op was in a completely dark room so have to see what low light looks like.
distearth said:
I tried reducing exposure -1 and that did a little but the flash normal was also pretty good. The pic from the op was in a completely dark room so have to see what low light looks like.
Click to expand...
Click to collapse
Oohhh very nice, that's a very solid result for basically "default settings"! Will download it and take on a "test drive" tomorrow.
Compared to the pics taken with the new Huawei Mate S, why are we even complaining... :laugh:
(...added the quote about the Snap Camera settings in my previous post, SC requires a little more work to yield good results...)
HDR freezes the app... sigh...
... and so will * every other app when using HDR. I don't need it, some people can't live without it (looking at you, russy23 ^^).
Camera KK is a solid alternative to Snap Camera or Camera MX, and easy to use because of the stock Android look & feel.
*almost
Camera Zoom FX
I tried taking HDR pics using Camera Zoom FX and it didn't crash.
I also found a good camera app that works great on the slimcat rom: cymera. Flash works and great filters are integrated. Couldnt find an option for HDR though...
Could someone try Simple Camera, it went free in the amazon app store today. Didn't know if maybe being from the Amz App Store might make a difference in getting a good flash... I'm back on Stock Fire OS right now so I can't try myself...
Thanks,
distearth said:
Could someone try Simple Camera [...] Didn't know if maybe being from the Amz App Store might make a difference in getting a good flash
Click to expand...
Click to collapse
Thanks for mentioning (It's free in the US store, in Germany for example, they want 74 cents, hehe)
But sadly, being from the Amzn Store means nothing. A lot of "Devs" (more like "copy paste coder" ^^) publish their apps on multiple portals to make a little more $$$. This app is the exact same version as on Google Play Store.
It's based on OpenCamera, it even creates the "OpenCamera" subfolder in the "DCIM" folder. ^^ Default settings: flash pics are overexposed...
edit: Also tried "Cymera" on the weekend. It's, uhh, very "girly". For people who love filters & gramin' it's a feasible alternative, I'll stick with the "functional" ones, like Camera KK.
Can't you use the camera apk from Fire OS? Or does that require all the Amazon framework, kernel, our HAL stuff?
DePingus said:
Can't you use the camera apk from Fire OS? Or does that require all the Amazon framework, kernel, our HAL stuff?
Click to expand...
Click to collapse
Correct, source code for the camera HAL is needed. Highly unlikely that it will be released by Amazon.
Oh wait, we're all getting bootloader unlock codes for Christmas when they put the developer version under our trees.
LOL Camera KK force closes on me. Cymera works though.
Bingo Bronson said:
Thanks for mentioning (It's free in the US store, in Germany for example, they want 74 cents, hehe)
But sadly, being from the Amzn Store means nothing. A lot of "Devs" (more like "copy paste coder" ^^) publish their apps on multiple portals to make a little more $$$. This app is the exact same version as on Google Play Store.
It's based on OpenCamera, it even creates the "OpenCamera" subfolder in the "DCIM" folder. ^^ Default settings: flash pics are overexposed...
edit: Also tried "Cymera" on the weekend. It's, uhh, very "girly". For people who love filters & gramin' it's a feasible alternative, I'll stick with the "functional" ones, like Camera KK.
Click to expand...
Click to collapse
How is this compared to snap camera? Anyone tried both?
krackers said:
How is this compared to snap camera? Anyone tried both?
Click to expand...
Click to collapse
I bought Snap Camera, it has a good amount of options for people who want to customize their photo settings.
Quality is good, flash pics work too, you can correct the exposure if needed (other apps have this as well, ofc.)
Right now, I'm still using Camera KK (free version), because I just need a simple "shooter", just like the stock android app.
Anyone found a decent camera to take pictures when light is low without using flash? My pictures are always too dark even if I try to change light exposure...
goosele said:
Anyone found a decent camera to take pictures when light is low without using flash? My pictures are always too dark even if I try to change light exposure...
Click to expand...
Click to collapse
Camera KK, exposure -1, is the best I got. Tried a bunch.

Unlock longer shutter speeds

Hello everyone,
Long story short, just bought nexus 5x, I have developed a few kernels in past for various devices, and I am little bit disappointed with n5x camera.
Phone does make awesome pictures, but it lacks longer shutter speeds, I would like to unlock it. Some people say that it is hardware limited, some that software, so here I am asking you how is it for real, and please, answer with any arguments, proofs, I would like to avoid guessing.
I would like to know if there is any sense in trying to unlock it and digging through source code.
Cheers
I managed to take photos with 1 s shutter speed with L Camera.
przemcio510 said:
I managed to take photos with 1 s shutter speed with L Camera.
Click to expand...
Click to collapse
How did you do it? I could only select 1/6s as the slowest shutter speed.
CazeW said:
How did you do it? I could only select 1/6s as the slowest shutter speed.
Click to expand...
Click to collapse
Most probably fake Bulb mode, which is as stated by app creator - fake. Just multiple 1/6s pictures stacked up together
CazeW said:
How did you do it? I could only select 1/6s as the slowest shutter speed.
Click to expand...
Click to collapse
KOala888 said:
Most probably fake Bulb mode, which is as stated by app creator - fake. Just multiple 1/6s pictures stacked up together
Click to expand...
Click to collapse
L Camera. And no, no fake, because I used to edit the DNG file in Photoshop.
przemcio510 said:
L Camera. And no, no fake, because I used to edit the DNG file in Photoshop.
Click to expand...
Click to collapse
Please, first read how does the app work and then argue.
KOala888 said:
Please, first read how does the app work and then argue.
Click to expand...
Click to collapse
Nexus 5 hardware is capable of capturing photos at 0.86s shutter speed (5x probably too). And this app uses this capability.
1 fps preview confirms this.
(swoją drogą, nigdy nie robiłeś zdjęć w nocy?)
przemcio510 said:
L Camera. And no, no fake, because I used to edit the DNG file in Photoshop.
Click to expand...
Click to collapse
przemcio510 said:
Nexus 5 hardware is capable of capturing photos at 0.86s shutter speed (5x probably too). And this app uses this capability.
1 fps preview confirms this.
(swoją drogą, nigdy nie robiłeś zdjęć w nocy?)
Click to expand...
Click to collapse
different hardware, how did you take this picture then?
KOala888 said:
different hardware, how did you take this picture then?
Click to expand...
Click to collapse
Like this
przemcio510 said:
Like this
Click to expand...
Click to collapse
Huh, the older version of L Camera does indeed allow you to select 1/1,2 exposure and in the exif it's shown as 1s.
przemcio510 said:
Like this
Click to expand...
Click to collapse
which version is it? Gonna have a closer look at it
KOala888 said:
which version is it? Gonna have a closer look at it
Click to expand...
Click to collapse
This one https://github.com/PkmX/lcamera/releases/download/v0.3/lcamera-debug.apk. The newest dev-build only allowed down to 1/6s.
Thank a lot.
Now I hope that will be possible to implement this feaute on other (more advanced) camera apps (fv5,proshot,....)
CazeW said:
This one https://github.com/PkmX/lcamera/releases/download/v0.3/lcamera-debug.apk. The newest dev-build only allowed down to 1/6s.
Click to expand...
Click to collapse
It does work, I will have a look at it
I confirm the with L-Camere 0.3 is possible to have a shutter time of 1s (if I select 1/1,2) and the night photos are incredible
I asked to ProShot developer if is possible to implement this feature on his great app. I hope that is possible....
Looks like HTC 10 has same camera sensor and it's camera app allows to use 2s shutter speed, unfortunately, none of htc camera app versions let's me go manual on our nexus.
Also Xiaomi YI 2 action camera has it, and it allows up to 30s while taking pics. So i guess I/we would have to edit camera libs. I also emailed lcamera creator but I don;t think that he will respond.
Looks like HTC 10 has same camera sensor and it's camera app allows to use 2s shutter speed, unfortunately, none of htc camera app versions let's me go manual on our nexus.
Also Xiaomi YI 2 action camera has it, and it allows up to 30s while taking pics. So i guess I/we would have to edit camera libs. I also emailed lcamera creator but I don;t think that he will respond.
Hey guys, I have Nokia 8 (TA 1012) and I don't like the fact that the longest exposure time is 1/2 s. Can you help me override it? To unlock longer exposure time.

Categories

Resources