[Mod] CM11 (unofficial) Camera Mod -Max Quality - T-Mobile Samsung Galaxy S 4

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...

Related

[MOD][CM7] Camera Hack => Set ISO values + Metering Modes

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

[Q] Android 4.2 Camera

Anyone here got a working Android 4.2 Camera that uses 5 Mega pixels instead of 3?
I've tried lots of mods out there but it doesn't seem to work.
Besides, I wonder why it only is able to use up to 3MP and not 5MP unlike other phones?
mugenbine said:
Anyone here got a working Android 4.2 Camera that uses 5 Mega pixels instead of 3?
I've tried lots of mods out there but it doesn't seem to work.
Besides, I wonder why it only is able to use up to 3MP and not 5MP unlike other phones?
Click to expand...
Click to collapse
It takes pictures exactly like it was 5mp not like you can see the different anyways
there is a difference
RoyalYeo said:
It takes pictures exactly like it was 5mp not like you can see the different anyways
Click to expand...
Click to collapse
Try zooming in using 4.2 camera .. you wil find that its a bit blurry. Where as if your using cm10's camera its much more clear when you zoom in.try it.
ivanrvf said:
Try zooming in using 4.2 camera .. you wil find that its a bit blurry. Where as if your using cm10's camera its much more clear when you zoom in.try it.
Click to expand...
Click to collapse
I second that. The difference comes in when you're viewing it on the computer.
Hence, I was wondering if I could retain the 5MP on the 4.2 Camera because it's blazing fast.
ivanrvf said:
Try zooming in using 4.2 camera .. you wil find that its a bit blurry. Where as if your using cm10's camera its much more clear when you zoom in.try it.
Click to expand...
Click to collapse
i dont take pictures with my phone , that what i have a dslr for
RoyalYeo said:
i dont take pictures with my phone , that what i have a dslr for
Click to expand...
Click to collapse
Good for you. I don't have one though. I wouldn't say I depend on my camera a lot, but should there be any events, I'll depend on my phone's camera. Too bad that the new camera only takes up to 3MP. I was hoping if someone would fix it. It can easily replace the previous CM10 camera
in any custom rom.
mugenbine said:
Good for you. I don't have one though. I wouldn't say I depend on my camera a lot, but should there be any events, I'll depend on my phone's camera. Too bad that the new camera only takes up to 3MP. I was hoping if someone would fix it. It can easily replace the previous CM10 camera
in any custom rom.
Click to expand...
Click to collapse
The camera will be able to take 5mp shot when:
a. someone mods it
b. roms with android 4.2 starts coming for our device.
1ceb0x said:
The camera will be able to take 5mp shot when:
a. someone mods it
b. roms with android 4.2 starts coming for our device.
Click to expand...
Click to collapse
Agreed. Since I've no experience in coding and modding, I can only come here to seek help from more professional people.
I wonder if 1ceb0x will give it a go? Since it's available in paranoid android rom, naturally it's good to get it fix and share it with the community.
mugenbine said:
Agreed. Since I've no experience in coding and modding, I can only come here to seek help from more professional people.
I wonder if 1ceb0x will give it a go? Since it's available in paranoid android rom, naturally it's good to get it fix and share it with the community.
Click to expand...
Click to collapse
Will have to look into it
1ceb0x said:
Will have to look into it
Click to expand...
Click to collapse
Thank you so much. Will look forward to it.:victory:

[MOD] Camera drivers | No JPEG compression - UPDATE Sense 5

I was playing with camera drivers on my ONEX+ and managed to remove JPEG compression and also some auto enhance algorithms that sometimes can destroy the quality in some details which u can see if you zoom in specific parts of picture.
I did few pics around my garden and pics go up to almost 6MB now.
Try it out and report back results
New HTC ONE Camera with GIF mode and Face smoothing options for Sense 5.
View attachment NEW_CAMERA_Sense5.zip
Mod with Compression disabled for Sense 5 android 4.2.2 roms!
HTC_ONEX_CAMERA_DRIVERS_MOD_Sense_5.zip
Mod with Compression disabled and Noise reduction Disabled.(Sense4+)
View attachment HTC_ONEX_CAMERA_DRIVERS_MOD.zip
Mod with Compression disabled and Noise reducion is Enabled.(Sense4+)
View attachment HTC_ONEX_PLUS_CAMERA_DRIVERS_MOD_NOISE_REDUCE_ON.zip
Restore original stock drivers.(Sense4+)
View attachment HTC_ONEX_PLUS_CAMERA_DRIVERS_RESTORE_ORIGINAL.zip
testing now. will report back.
EDIT: Can confirm this. Better images, larger file size, minimal amount of noise.
+1
EDIT 2: Using this on Blade rom, without extrim mod pack.
Will installing the mod pack change drivers or anything ? @ivicask Can you confirm this? Or provide a moded extrim camera which will cause no trobules ?
Thanks. And as always good work
Qwerty123 \m/ said:
testing now. will report back.
EDIT: Can confirm this. Better images, larger file size, minimal amount of noise.
+1
EDIT 2: Using this on Blade rom, without extrim mod pack.
Will installing the mod pack change drivers or anything ? @ivicask Can you confirm this? Or provide a moded extrim camera which will cause no trobules ?
Thanks. And as always good work
Click to expand...
Click to collapse
This are stock Sense camera drivers with modification i did to them via hex editor.
It doesnt matter which camera app you use, this is direct modification to camera drivers, even if app you used before had "compression removed" it was not 100% true as libs where still limiting this and i unlocked it fully!
So it will work with any camera app
EDIT: I dont know what's extrim mod pack, but check inside of it if it contains the same libs as i provided in this zip.
EDIT2:I checked, that extrim mod pack only has Camera.apk, there no drivers included, so what i did is something different.
I'm gonna try it out on the latest ViperX and report back here. Thanks !
I still have no more than 3mb files. Any way to tell ifworking?
Can u also have the ability to unlock raw files?
Sent from my HTC One X using xda premium
acidspider said:
I still have no more than 3mb files. Any way to tell ifworking?
Can u also have the ability to unlock raw files?
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Depends what are you taking a photo off, that 3mb file was 1.5 mb before, did you try taking a same photo before of same thing?
Also it may be limited by camera app you use if your not using camera mod that also has disabled compression.
Any chance to have it in htc butterfly?
Sent from my HTC Butterfly using Tapatalk 4 Beta
lthawker said:
Any chance to have it in htc butterfly?
Sent from my HTC Butterfly using Tapatalk 4 Beta
Click to expand...
Click to collapse
I think all code is hidden on Qualcomm, so you cant edit nothing except from source.
Cool do you get better pictures with this using stock camera app? Or we need to use modded app?
skynet77 said:
Cool do you get better pictures with this using stock camera app? Or we need to use modded app?
Click to expand...
Click to collapse
Not sure, all Venom roms have moded stock app which allows setting Image encoding quality to 100%.
So try taking same picture with and without this moded drivers, if no change install camera mod, or some app from market which allows setting image quality (Like Camera JB+)
Thanks
I've just tried that, took one picture in my room, size 1,85MB, than installed your modded drivers, and took image again, same position, same object, but size is now 4,65MB ... so i guess it's working with stock app also
ivicask said:
I was playing with camera drivers on my ONEX+ and managed to remove JPEG compression and also some auto enhance algorithms that sometimes can destroy the quality in some details which u can see if you zoom in specific parts of picture.
I did few pics around my garden and as you can pics go up to almost 6MB now.
https://www.dropbox.com/sh/tixwhs3jpfx13fh/LgyeSxd7Wk
Note i haven't tested this on ONE X yet, only one ONEX+ but cameras are the same and i moded this based on latest base for ONE X (SENSE).
Try it out and report back results
View attachment 2070350
Click to expand...
Click to collapse
Ivicask maybe you can help me activate RAW mode of the stock camera ?
Sent from my HTC One X using xda premium
tessut said:
Ivicask maybe you can help me activate RAW mode of the stock camera ?
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
I think thats camera libs related, not camera, i did try to set compression to 0 (100 quality) but it ended up with inverted picture and all photos where just one big glitch.
Also dont think its good idea of getting RAW sensor data, libs fix alot of hardware imperfections, like dead pixels on camera which you may not even know you have, colors, saturation, brightness and so on, getting RAW data would produce alot of problems for many people.
But please tell me if u have more info than me and think im wrong .)
what is the difference between this and lyapota's mod?
carlowise said:
what is the difference between this and lyapota's mod?
Click to expand...
Click to collapse
This one actually works
But seriously, reason i started working on this drivers because i notice my old HTC Sensation does better pictures than my ONEX+ and i was frustrated with this, and we are also using lyapota's camera mod on ONEX+ and i couldn't even notice difference until now.
Try and see your self.
ivicask said:
This one actually works
But seriously, reason i started working on this drivers because i notice my old HTC Sensation does better pictures than my ONEX+ and i was frustrated with this, and we are also using lyapota's camera mod on ONEX+ and i couldn't even notice difference until now.
Try and see your self.
Click to expand...
Click to collapse
ur right I also niticed that in lyapotas's mod pictures are the same size without mod about 1.8 mb. also not all modes uses 100% quality like macro , portrait etc. even if mod works changing scene loses compression effect.
will try this, tnx
THIS WORKS!!!!!!
gr8 tnx
ivicask said:
I think thats camera libs related, not camera, i did try to set compression to 0 (100 quality) but it ended up with inverted picture and all photos where just one big glitch.
Also dont think its good idea of getting RAW sensor data, libs fix alot of hardware imperfections, like dead pixels on camera which you may not even know you have, colors, saturation, brightness and so on, getting RAW data would produce alot of problems for many people.
But please tell me if u have more info than me and think im wrong .)
Click to expand...
Click to collapse
We or better say you (think that you know more in this specific) could test it if we/you can get it working. The Image sense chip of the HOX could use the raw mode without problems dead pixels you maybe are right its tippical for samsung camera modules but could you just try it would be the ultimate photographer feature
Sent from my HTC One X using xda premium
Works great! Tnx
Sent from my HTC One X using xda premium
Thanks. How about video recording, anything to improve that auto focus during recording..HTC cameras are disappointing even in the one.
Sent from my HTC One X using xda premium
tessut said:
We or better say you (think that you know more in this specific) could test it if we/you can get it working. The Image sense chip of the HOX could use the raw mode without problems dead pixels you maybe are right its tippical for samsung camera modules but could you just try it would be the ultimate photographer feature
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
No go, whatever i try i kills camera complete, what i done is best so far..
I can maybe change pictures format to any of this
jpeg,jfif,exif,yuv420p,yuv420sp
But not sure if that helps at all..
mafia187 said:
Thanks. How about video recording, anything to improve that auto focus during recording..HTC cameras are disappointing even in the one.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
U got to understand im hacking closed source libs, i cant do miracles, and probable its hardware limitation and no change to software will ever fix it.

[Q] Xperia S photo focus issue?!?!

Hi guys...
There's one stupid and annoying issue that happens in my Sony Xperia S when taking photos!
I don't know if it's global, but i don't think so, because i didn't see anyone else claiming about it.
When i'm taking photos with close focus (like 20cm distance), i press camera button to focus and it shows green, but the image is a little blured, and i press the button all the way down to take the photo even with the blured image, and then the pre-visualisation of image is well focused...
I have already tried to focus again like 20cm distance, and then move the phone so the image gets not blured, like with excellent focus, then i take the photo, and it gets with really bad focus... -_-
I have already tried different camera mods, like advanced stock camera, cybershot mod, all the same.
Any one with same issue? Any way to fix it?
you can fix with root
you need to edit build prop though
Ill paste some things for you to put in your build prop later
#--right here
Envious_Data said:
you can fix with root
you need to edit build prop though
Ill paste some things for you to put in your build prop later
#--right here
Click to expand...
Click to collapse
Ok thanks... I have my phone rooted and bootloader unlocked, and stock ROM with DOOMKERNEL v6.
someone2kill said:
Ok thanks... I have my phone rooted and bootloader unlocked, and stock ROM with DOOMKERNEL v6.
Click to expand...
Click to collapse
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=192000
ro.media.enc.hprof.vid.bps=192000
ro.media.camera.focal=3000.0,3500.0
ro.media.camera.principal=1500.0,1750.0
paste the above in your build props
leave a few empty lines below, this is as good as XS camera will get, I tested this for months and can be found in my Custom Rom
Best of luck
Edit (3:29Am 21st of Nov) - Sorry that took me so long , had to find it inside of my
200gb mess of files
Envious_Data said:
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=192000
ro.media.enc.hprof.vid.bps=192000
ro.media.camera.focal=3000.0,3500.0
ro.media.camera.principal=1500.0,1750.0
paste the above in your build props
leave a few empty lines below, this is as good as XS camera will get, I tested this for months and can be found in my Custom Rom
Best of luck
Edit (3:29Am 21st of Nov) - Sorry that took me so long , had to find it inside of my
200gb mess of files
Click to expand...
Click to collapse
Big thanks man! I will try it tomorrow, here is already dark night (Portugal)... Then i will tell you if it works.
If you know more nice tweeks for XS camera, i will apreciate
What camera mod are you using in your ROM? stock one? I am using Rizal Lovins' cybershot mod right now.
someone2kill said:
Big thanks man! I will try it tomorrow, here is already dark night (Portugal)... Then i will tell you if it works.
If you know more nice tweeks for XS camera, i will apreciate
What camera mod are you using in your ROM? stock one? I am using Rizal Lovins' cybershot mod right now.
Click to expand...
Click to collapse
stock camera mods
you can flasg Cybershot Over it though
Sent from my LT26i using XDA Premium 4 mobile app
Envious_Data said:
stock camera mods
you can flasg Cybershot Over it though
Sent from my LT26i using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Problem still present... :/ Tried to clear cache and dalvik cache, still the same...
Tried to record screen, but camera screen gets dark at the video, only showing camera buttons. :/
It's really bad when i try to take photos with macro lens, e can't get any perfect shot like i used to take with my SX ARC... :/
I think i have to get used to this issue :/
Thanks anyway
someone2kill said:
Problem still present... :/ Tried to clear cache and dalvik cache, still the same...
Tried to record screen, but camera screen gets dark at the video, only showing camera buttons. :/
It's really bad when i try to take photos with macro lens, e can't get any perfect shot like i used to take with my SX ARC... :/
I think i have to get used to this issue :/
Thanks anyway
Click to expand...
Click to collapse
Whats your meteting setting i usualy use centre or spot
My iso is low and in low light(inside my house no mater what) flash on
Hardly ever have these issues
Sent from my LT26i using XDA Premium 4 mobile app
Envious_Data said:
Whats your meteting setting i usualy use centre or spot
My iso is low and in low light(inside my house no mater what) flash on
Hardly ever have these issues
Sent from my LT26i using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I have centered metering, ISO auto, auto-focus i have already tried single, multi and touch focus.
I've also tried taking fotos with original camera, camera FV5 and Lenovo supercamera. All of them with the same problem.
Taking photos with flash at night, preview is really fast and i can't see if it do the same like without flash...
I have to try to record with my brother's Honamy, maybe it's visible while recording that way, since i can't capture screen while taking photos...
The worst problem is when i try to take macro photos or taking photos with super macro lens. Being really hand-stable isn't enough. I have to get used to this focus issue :/
someone2kill said:
I have centered metering, ISO auto, auto-focus i have already tried single, multi and touch focus.
I've also tried taking fotos with original camera, camera FV5 and Lenovo supercamera. All of them with the same problem.
Taking photos with flash at night, preview is really fast and i can't see if it do the same like without flash...
I have to try to record with my brother's Honamy, maybe it's visible while recording that way, since i can't capture screen while taking photos...
The worst problem is when i try to take macro photos or taking photos with super macro lens. Being really hand-stable isn't enough. I have to get used to this focus issue :/
Click to expand...
Click to collapse
Then i have no idea
Have you tried these tweaks with the stock camera
What i have:
Stock Rom No mods besides the build props
96FW
Stock kernel
Bootloader unlocked
Dualboot installed
Sent From The ACP Development HQ
Envious_Data said:
Then i have no idea
Have you tried these tweaks with the stock camera
What i have:
Stock Rom No mods besides the build props
96FW
Stock kernel
Bootloader unlocked
Dualboot installed
Sent From The ACP Development HQ
Click to expand...
Click to collapse
I just don't know where to find the original camerra app... I've searched but i couldn't find it for JB...
I have stock ROM with DoomKernel, 96FW Rooted and unlocked.
I have only moded notification bar, Home.apk, and Camera (cybershot)... and build.prop but only adding lines not related with camera.
Maybe it's my phone's fault... Thanks anyway for your help.
someone2kill said:
I just don't know where to find the original camerra app... I've searched but i couldn't find it for JB...
I have stock ROM with DoomKernel, 96FW Rooted and unlocked.
I have only moded notification bar, Home.apk, and Camera (cybershot)... and build.prop but only adding lines not related with camera.
Maybe it's my phone's fault... Thanks anyway for your help.
Click to expand...
Click to collapse
for stock camera
try downloading a stock rom
just copy the 3 camera apps
Sent from my LT26i using XDA Premium 4 mobile app

UPDATE: 60 fps Achieved!! 4.3

So after a decompile I was sifting through the smali file and noticed something. First, some super odd 3K recording resolution - this is in the file dealing strictly with recording video so no, its not for still captures. Anyone have thoughts/input on this?
Also, we can record at 60 fps in 1080p. Albeit only at 14mbps (yeah, so I'm going to modify that ) but how great is that?! Now people can stop asking for it. Before anyone asks - I have no idea if this carries to 4.4 but I'm sure it does.
If anyone wants proof and doesn't want to decompile the apk on their own - say so here and I'll post the smali.
UPDATE:
Well I did it. Haven't done any extensive testing but I managed to record two videos without any issues. There may be issues so as always - be careful. I tested this on Wicked v10, it should work on any 4.3 TW ROM but only time will tell. I need to add that so far its limited to about 10 seconds. Past that it drops to 30 again, not sure why yet.
This is my modified camera. What does that mean? Recording bit rates are higher (both audio and video, 1080 and 720). Video records at 60 fps (keep reading if you don't know why that matters).
Bit rates:
1080p: 20 mbps @ 60fps
720p: 17 mbps @ 60fps
Audio: 320 kbps @ 48 KHz
For those that don't understand why 60 frames per second matters it really comes down to quality. For analyzing videos, editing them, capturing frames for a still shot, even general viewing. It allows you to slow a video down (same concept as those super slow motion cameras on TV). Videos just seem more fluid overall also, when played at normal speed.
I'm sure someone can elaborate on the above better than myself.
This is just the apk. Not a CWM installer package. So you'll have to install it manually. One you replace the stock SamsungCamera2.apk you'll have to reboot. Please be mindful of how large these video files will get. Let me know if there are any bugs (I'm sure there will be a few).
Here's the link. It's on my Google Drive.
https://drive.google.com/file/d/0Bw3mIOQ0TV63cDJJN0ltdGRXM0k/edit?usp=sharing
So I modded the camera to record 1080p and 720p both at 60fps on the standard settings. Both with higher bit rates for audio and video. So far it installs and works flawless. Can't say much for recording since it's nighttime and I'm not about to disturb my pregnant wife
Will update tomorrow with results. If it all looks good I'll update with a test version in the themes and mods section.
Sent from my SGH-M919 using xda app-developers app
How did the camera changes go I'm interested in testing it also!
Good, but it didn't get over 31fps so I'm doing some more edits. Hopefully I'll have it pinned down soon and post it for testing.
Sent from my SGH-M919 using xda app-developers app
When you get it working, can you build it into an .apk for those of us that don't use custom recovery? I'm stock 4.3 rooted, but don't want to trip KNOX flag just yet
Sent from my SGH-M919 using XDA Premium 4 mobile app
I can try. I think all you have to do us drop it right into /system/app. Though I think with your type of install it installs that to a different partition and I don't know which one.
Sent from my SGH-M919 using xda app-developers app
Well I'd be happy to test it out for you, either method
Sent from my SGH-M919 using XDA Premium 4 mobile app
I can test it for you on TW4.3.
Still doing some work, just so you know I haven't dropped this.
Also I've found a couple other interesting things while digging around. I don't want anyone to get their hopes up on these two but here they are.
1: In fast mode our rear camera has two options - 60fps and 120fps. The latter is limited to 720p from what I can tell and I'm not sure if anyone would want that. Though on a higher end display (TV or whatever) it might be handy. In the real world though, I have no idea if it would be ok for the camera module. Not to mention the file sizes would kill your memory and battery even if I dropped the bit rate. We'll see I guess - That's what owning Android is about
2: UHD. 'nuff said. I'm having trouble finding the exact 4K resolution listed but UHD is listed in it as an option.
Like I said - don't get your hopes up on those two. They're a bit far fetched, though I know Sammy underused this phones camera. Battery life would be the reason for that.
If anyone with experience writing apps or any devs read this, I would appreciate the help.
I'm subscribing to this thread. Have high hopes
Sent from my SGH-M919 using XDA Premium HD app
Way cool. I'll be following this. Will this work on any ROM?
Sent from my SGH-M919 using xda app-developers app
Excuse me if I am not overly optimistic...
Usually the development model is working in a logical and chronically method & not backwards.
First you publish out the solution (Application) even if it's not completed & then your advertise it or asking for testing volunteers.
Its not about bring out an idea, it's about making some user excited about it & then tell everyone there are issues, delays...etc.
KCRic said:
Still doing some work, just so you know I haven't dropped this.
Also I've found a couple other interesting things while digging around. I don't want anyone to get their hopes up on these two but here they are.
1: In fast mode our rear camera has two options - 60fps and 120fps. The latter is limited to 720p from what I can tell and I'm not sure if anyone would want that. Though on a higher end display (TV or whatever) it might be handy. In the real world though, I have no idea if it would be ok for the camera module. Not to mention the file sizes would kill your memory and battery even if I dropped the bit rate. We'll see I guess - That's what owning Android is about
2: UHD. 'nuff said. I'm having trouble finding the exact 4K resolution listed but UHD is listed in it as an option.
Like I said - don't get your hopes up on those two. They're a bit far fetched, though I know Sammy underused this phones camera. Battery life would be the reason for that.
If anyone with experience writing apps or any devs read this, I would appreciate the help.
Click to expand...
Click to collapse
quite curious as to if the phone can even handle 120fps at 1080p. others have said UHD was not supported due to chipset limitations within the 320 vs the 330 found in int/note 3 which i call bs on. i highly doubt the chips are limited in that way, if anything maybe the native api was removed for the 320 firmwares. as you say UHD is listed... when your done tinkering perhaps you could see if you can force all recording to the external SD as the current setup utilizes the internal sd card for video feeds/burst shots due to the higher bus interface. class 6/extreme sd chips i think can handle 1080 properly at 30fps according to some sites.
nvm my mistake just burst shots are saved to the internal regardless video feed obeys the camera setting.
Any update?
Sent from my SGH-M919 using XDA Premium HD app
RotaryXperiment7 said:
Any update?
Sent from my SGH-M919 using XDA Premium HD app
Click to expand...
Click to collapse
Not yet. I can't get it to work at 60 fps only editing the apk. Not giving up though, I just had to take a break because of no sleep. My pregnant wife keeps me up tossing and turning.
I doubt the kernel is limiting the frame rate, or if that's even something that would be in a kernel. I don't touch those - I think I'm far too green for that and have no idea where I would start.
I'm off today so I'll have a chance to mess around with it some more and hopefully have something for you to test that does more than say "recording failed".
KCRic said:
Not yet. I can't get it to work at 60 fps only editing the apk. Not giving up though, I just had to take a break because of no sleep. My pregnant wife keeps me up tossing and turning.
I doubt the kernel is limiting the frame rate, or if that's even something that would be in a kernel. I don't touch those - I think I'm far too green for that and have no idea where I would start.
I'm off today so I'll have a chance to mess around with it some more and hopefully have something for you to test that does more than say "recording failed".
Click to expand...
Click to collapse
It must be kernel related, I say this because some custom kernels on this very forum can't even handle the slow motion option in the camera. They crash your phone and make it reboot. BUT the stock kernel can do it? So maybe some kernel tweaking will get the fps to 60
HTCMDA said:
It must be kernel related, I say this because some custom kernels on this very forum can't even handle the slow motion option in the camera. They crash your phone and make it reboot. BUT the stock kernel can do it? So maybe some kernel tweaking will get the fps to 60
Click to expand...
Click to collapse
DONE! :fingers-crossed: Let's just hope it works for the rest of you
KCRic said:
DONE! :fingers-crossed: Let's just hope it works for the rest of you
Click to expand...
Click to collapse
Hey, what exactly did you do? I am using the Note3 camera so I don't wanna install the attached apk in the OP. Plus, I could probably turn this into an xposed module for you. Making future mods easier.
Sweet Thank u! How do I exactly install this?
Sent from my SGH-M919 using XDA Premium HD app
elesbb said:
Hey, what exactly did you do? I am using the Note3 camera so I don't wanna install the attached apk in the OP. Plus, I could probably turn this into an xposed module for you. Making future mods easier.
Click to expand...
Click to collapse
I would still stick with the Note 3 camera for now. It's still being very buggy. It looks like there are definitely some other mods that need to be done other than just the apk. I get frame drops in the logs and every now and then it throws and error that "the device might be doing too much" and drops 40+ frames.
Currently all I did to the apk was editing a smali file. Then a couple reboots and let it settle for a few minutes. I just need to figure out the frame drops.
RotaryXperiment7 said:
Sweet Thank u! How do I exactly install this?
Sent from my SGH-M919 using XDA Premium HD app
Click to expand...
Click to collapse
Depends on what method you like. The easiest it to use a file explorer (root explorer or another one). Mount the /system as rw and replace your current samsungcamera2.apk, then change the permissions to rw-r-r. Make sure to backup your current one of course. Also remember, this is for testing so there will be issues. Logs and feedback would be great too.

Categories

Resources