Still can increase the photo quality with stock camera via media_profile - HTC One V

Hello everyone,
I come from One S board because my One S was lost and I have no money so I just pick an One V as a backup phone for a couple of months til I have budget to get HTC M4 or again One S(I love it). Long ago, I was already notice this tiny toy and want to buy it as a second phone.
Unlike One X/S, I found the stock camera on One V locked some settings down in media_profiles.xml. However, little modification is still useable I found that.
ImageEncoding quality (95.99|80|70|60|50|40)
^^^^^^
Change default max 90% JPG to 95.99%
<ImageEncoding quality="95.99" />
<ImageEncoding quality="95.99" />
<ImageEncoding quality="95.99" />
<ImageDecoding memCap="40000000" />
^^^^^^
Change default 90, 80, 70 JPG to force 95.99% all the time and increases the file size cap to 4MB from 2MB. You will need to change this settings in two places.
http://forum.xda-developers.com/showthread.php?t=2210607
I use the One V Sense5 camera(actually just a stock cam with sense5 theme) in this post. Ended up, I found the file size bigger and got better quality(100JPG is really better on One X/S but I think 95.99% should close to). One V stock camera.apk not allowed to get pass 96% JPG, your camera will freeze when you take picture, max you have is 95.99. Force it to use 95.99% JPG all times is important because sometimes it will just choose 80% or 70% instead.
The sense 4.5 mod cam in the above link indeed allowed to use 100JPG on One V but sadly it has FC issue. The JPG algorithm isn't good so better to don't let it to do any compression, 100JPG is recommended in all HTC phones but we don't have this choice.
For the 720p video part, I am still trying to increase the bitrate but I think it just ignore the settings in media_profiles.xml.

Nice:thumbup:

Noob question but how do we change these settings and make it 95.99?
Sent from my HTC One V using xda premium

served24 said:
Noob question but how do we change these settings and make it 95.99?
Sent from my HTC One V using xda premium
Click to expand...
Click to collapse
You need a rooted One V to do this, media_profiles.xml is located in /system/etc
Use root explorer to copy it to SD card and edit it, or else extract the file from any sense based one v rom and use root explorer or adb push to put it back into /system/etc
I found you guys are still running 4.0.3 sense4.0-based camera.apk on this board(image quality is exactly same in my old date with One S 4.0.3 camera.apk), it is already dated. I just tried my 4.0.4 sense4.1-based camera.apk on One V(flashed mySENSE-v RC3.5 rom) and it looks like working but I need more time to do testing, not sure is it real works. 404's camera.apk should got huge improvement on image quality but focus isn't as good as 403 though.
Official 4.1.1 camera.apk got both quality and speed(I mean real ver, not those so-called sense 4.5 camera.apk) but One V doesn't has sense based JB because 512MB ram doesn't enough.
For the 720P, currently the only way to increase bitrate is to use LGCamera, I tested it can shoot [email protected] with 12Mbit max. Stock camera up to 8Mbit only.

Updated2
1. The 12Mbit from LGCamera doesn't do any better because the video is zoomed in too much. I will just stick with HTC camera to shoot video.
2. My 4.0.4 sense 4.1 camera.apk actually works on One V with the rom I flashed mySENSE-v RC3.5. You can take photo or access the setting menu freely, no FC issue, the default vol-up shutter key is working good. There is a small bug about video. Everytime after you shoot video, you can't take photo immediately(camera will freeze need reboot the phone), you will need to kill the camera in memory(I use systempanel lite on playstore) and relaunch the camera and you are good to go.
http://www.sendspace.com/file/l97pxm
This file included my media_profiles.xml and camera.apk. I was used this camera.apk for almost half year on my One S last year. Remember to wipe cache and dev-cache in recovery. The location of media_profiles.xml is /system/etc and Camera.apk is in /system/app
Updated3
I did some extensive testing yesterday. I found with my camera.apk + media_profiles.xml, though the image quality real has improved but not come close to the level of One S. I think camera.apk + media_profiles.xml only effect the after-processing but the base file related to camera library/driver is still dated, it's obviously remains as 403 image quality style. I think HTC only put all optimize in flagship line(One X/S) and never update low end models. My rom is mySENSE-v RC3.5, it claimed desire X + one sv based files but no help at all, HTC didn't put new library/driver in it. At last, I still recommend all guys to use my camera.apk + media_profiles.xml, there are still some improvement.

Updated 4
For the 100% JPG, you guys can use Snap Camera(HDR photo & video) or Camera 360 Ultimate on PlayStore. I've tested they all can output true 100% JPG with much bigger file size but their focus accurate are really bad compared to sense camera(with the help of imagechip), be careful.
Snap Camera can shoot 12Mbit 720P videos and I think the result is better than LGCamera 12Mbit.

any suggestion on improvement on AOSP camera. I am currently using UCAM & CameraFX

hello there, can you please upload some screenshoots comparison between your mod-camera & the stock one?
i mean we're all want to see the differences before installing the mod

Nishblueweapon said:
any suggestion on improvement on AOSP camera. I am currently using UCAM & CameraFX
Click to expand...
Click to collapse
No way, you can't access the imagechip(mainly for good focus) without using sense rom.
Almost all 3rd apps on playstore are bad focus though the image quality can be as good as or even better than sense camera. Camera ICS+/JB+ should be the best software focus app I've ever tried, aren't they pre-loaded on AOSP?? I'm not sure.

camera doesnt work for the 1 that i am running but 3rd party app is good.
stock & camera ics are very clsoe

Nishblueweapon said:
camera doesnt work for the 1 that i am running but 3rd party app is good.
stock & camera ics are very clsoe
Click to expand...
Click to collapse
That is sense camera.apk, you can't run it on AOSP, it doesn't has sense framework. Camera ICS/JB is just port/mod from Nexus stock camera and made it works on all android roms, they are pretty much the same.

theiNDrAs said:
hello there, can you please upload some screenshoots comparison between your mod-camera & the stock one?
i mean we're all want to see the differences before installing the mod
Click to expand...
Click to collapse
I don't have time to post a full review, it is extremely time consuming because my work is busy now and I'm still doing further testing, didn't completed it. For safety purpose, I'll suggest you just mod the media_profiles.xml to force it 95.99% JPEG quality and raises the file size cap to 4MB though 99.99% you won't get a pic over 3MB without 100% JPEG. After doing this, your photos will generate 40 ~ 50% larger in size and got better quality really.
Graphics is difficult. It's very complicated to control image that's why no perfect camera phone yet on android system. With different combination of kernels + roms + camera.apk may lead to different results from large to hardly notice level, everything need to be test and re-test for hundred of times because problem may only appear in some limited environments. Kernel/rom should be for RAW data pre-processing and camera.apk does the after-processing things.
Currently, I found mySENSE-v RC3.5 got the best WB/exposure probably because it used more updated of camera settings on Desire X/One SV though the result is still behind One X/S but better than stock.
The camera.apk I posted is nothing but a stock apk from the lastest build on One X/S of sense4.1 4.0.4 camera which I've been used it for half year on my One S back to the ICS day. The only modded thing is vol-up key for shutter. This apk should give you slightly better WB other than the one from stock rom.
Now, the only problem I have had is Titanium-KISS doesn't doing good with RC3.5 + mycamera.apk. The colour will easy to wash-out especially during at indoor, probably has some problems about exposure, I don't know why maybe it doesn't compatible with mycamera.apk. After that, I flashed the kernel from the rom of MCR - MoDaCo.one(I think it is just a stock kernel), the exposure problem totally fixed but wifi got bugged with RC3.5, it can't be turn on.
I will say with my media_profile.xml + camera.apk + RC3.5 + kenerl from MCR. You should get the best image quality out of the One V. For the wifi issue, I'm still testing other kernels.

i'm using myONEv RC9.5 with ckpv5's kernel (modded from KISS), how bout that?
and is it really works if i just replace the media_profile.xml, without also replacing the camera.apk?

theiNDrAs said:
i'm using myONEv RC9.5 with ckpv5's kernel (modded from KISS), how bout that?
and is it really works if i just replace the media_profile.xml, without also replacing the camera.apk?
Click to expand...
Click to collapse
no u need to replace camera apk

Seraz007 said:
no u need to replace camera apk
Click to expand...
Click to collapse
Have you find any difference after replacing media_profile.xml & camera.apk?
I've already replace the media_profile.xml, but i can't really see the difference.
And also the size of photo taken is still the same and not even bigger as told.

theiNDrAs said:
Have you find any different after repalcing media_profile.xml & camera.apk?
I've already replace the media_profile.xml, but i can't really see the different
And also the size of photo taken is still the same and not even bigger as told.
Click to expand...
Click to collapse
im no expert in photography but pictures do seem to be a bit more sharp when i did the steps

Seraz007 said:
im no expert in photography but pictures do seem to be a bit more sharp when i did the steps
Click to expand...
Click to collapse
yup, lower the JPG compression rate not only makes the photo sharper and perserve better colour. HTC JPG(and H264) algorithm is bad, it does improved in sense JB but we don't have it.
theiNDrAs said:
i'm using myONEv RC9.5 with ckpv5's kernel (modded from KISS), how bout that?
and is it really works if i just replace the media_profile.xml, without also replacing the camera.apk?
Click to expand...
Click to collapse
I remember I had tested RC3.5 + modded KISS + stock cam + media_profiles.xml(95.99 JPEG) but not for long, only tested it for one to two hours. I think there is no wash-out bugs at indoor(not exactly sure but it seems no) but image and colour no good. Pretty much remain as the old and original HTC 4.0.3 style.
Seraz007 said:
no u need to replace camera apk
Click to expand...
Click to collapse
The answer is no. Modify the media_profiles.xml to get control the JPEG quality is a general method on android, it's not a magic. There is media_profiles.xml on Samsung or even N4. The only problem on One V sense camera is limited to JPEG 95.99%(but I think it might be ignored the .99 and read it as 95).
theiNDrAs said:
Have you find any difference after replacing media_profile.xml & camera.apk?
I've already replace the media_profile.xml, but i can't really see the difference.
And also the size of photo taken is still the same and not even bigger as told.
Click to expand...
Click to collapse
You did something wrong. If you replace the media_profiles.xml with root explorer, you will need to set the permission and reboot. If you do it via adb push in recovery, please remember to enable system mount before mount otherwise the command prompt will tell you successfully copied the file but actually not.
http://forum.xda-developers.com/showthread.php?t=1607976
Yesterady, I switched to this TITANIUM KERNEL(GSM only) and it doesn't has wifi issue with RC3.5. The kernel supports overclocking(I clocked to 1.5G) and smartassv2 but the development is discontinued and this kernel speed isn't fast, sometimes it will lag. However, the battery life is good, not bad. It doesn't has wash-out bugs at indoor and I think the brightness/exposure is even a bit better than MCR kernel.
For the video part, I suggest to use Camera JB+ now(you can use it on ICS, not really need a JB rom), it does has the fastest software focus I've ever used. Default is 12Mbit 720p and quality is good, remember to set the storage to internal because it is bugged when you set it as sdcard it will save the file to internal memory, verse vica. If you want more control and settings try Snap Camera but the focus is not as good as Camera JB+.

TheEndHK said:
yup, lower the JPG compression rate not only makes the photo sharper and perserve better colour. HTC JPG(and H264) algorithm is bad, it does improved in sense JB but we don't have it.
I remember I had tested RC3.5 + modded KISS + stock cam + media_profiles.xml(95.99 JPEG) but not for long, only tested it for one to two hours. I think there is no wash-out bugs at indoor(not exactly sure but it seems no) but image and colour no good. Pretty much remain as the old and original HTC 4.0.3 style.
The answer is no. Modify the media_profiles.xml to get control the JPEG quality is a general method on android, it's not a magic. There is media_profiles.xml on Samsung or even N4. The only problem on One V sense camera is limited to JPEG 95.99%(but I think it might be ignored the .99 and read it as 95).
You did something wrong. If you replace the media_profiles.xml with root explorer, you will need to set the permission and reboot. If you do it via adb push in recovery, please remember to enable system mount before mount otherwise the command prompt will tell you successfully copied the file but actually not.
http://forum.xda-developers.com/showthread.php?t=1607976
Yesterady, I switched to this TITANIUM KERNEL(GSM only) and it doesn't has wifi issue with RC3.5. The kernel supports overclocking(I clocked to 1.5G) and smartassv2 but the development is discontinued and this kernel speed isn't fast, sometimes it will lag. However, the battery life is good, not bad. It doesn't has wash-out bugs at indoor and I think the brightness/exposure is even a bit better than MCR kernel.
For the video part, I suggest to use Camera JB+ now(you can use it on ICS, not really need a JB rom), it does has the fastest software focus I've ever used. Default is 12Mbit 720p and quality is good, remember to set the storage to internal because it is bugged when you set it as sdcard it will save the file to internal memory, verse vica. If you want more control and settings try Snap Camera but the focus is not as good as Camera JB+.
Click to expand...
Click to collapse
right now i change & replace with your media_profiles.xml & camera.apk that you attached in your previous post, without changing the kernel, is that enough?
will it have the same result if i just change & replace media_profiles.xml, without replacing with your camera.apk?
because one thing that i don't like replacing with your camera.apk is because it is also installed mirror apps; and it's useless on One V, since it has no front camera
and i should change the permission for both files to -rw-r--r--, right?

theiNDrAs said:
right now i change & replace with your media_profiles.xml & camera.apk that you attached in your previous post, without changing the kernel, is that enough?
will it have the same result if i just change & replace media_profiles.xml, without replacing with your camera.apk?
because one thing that i don't like replacing with your camera.apk is because it is also installed mirror apps; and it's useless on One V, since it has no front camera
and i should change the permission for both files to -rw-r--r--, right?
Click to expand...
Click to collapse
Well, I've to say it again. Different mix. of kernel+rom+camera.apk will not get same result. They all have jobs to do individually for the camera.
It's impossible for me to test all kernels/roms/camera.apk out there. Just make sure don't flash Titanium-KISS when you use this camera.apk on RC3.5 or RC9.5FX+ or else you would meet the wash-out colour bugs at indoor sometimes.
You won't get the best result if you don't use my camera.apk(though the major part of quality bases on kernel cam driver and rom based, camera.apk is only on an assistant role). I've to say it again, it's just a stock apk from the lastest build of sense4.1 4.0.4 on One X/S. The camera.apk you guys using is probably an old camera.apk.
It's safe to use my camera.apk and it is ridiculous to say minor apps installed because the stock camera.apk highly possible got front cam installed too, I beat if you put it(One V original camera.apk) on One X/S the front cam function will turn on. HTC won't have time to write three camera apps for One X/S/V they got the same camera other than One V CMOS is only 5M pixel and no front cam. HTC will only write one camera.apk and asks it to detect model. When I use my camera.apk on One V, I found the front cam option is hidden automatically and the 8M option is hidden as well. Actually, when you edit the stock media_profiles.xml from One V, you see HTC left the front cam settings in it too. There is cameraId="0" and cameraId="1" and they are meant to be main camera and front camera. The stock media_profiles.xml should be a direct copy from One X, I'm sure we all know HTC is a lazy pig.
You need to change the permission for both files when you use root explorer. You don't need only if you do it via adb push in recovery.
I decided to stick with TITANIUM KERNEL though the kernel isn't fast/smooth(not good for gaming) and discontinued but I like the photo/video from it generally more bright while MCR/Kiss-mod/Stock is a bit dark. It is just a matter of taste.

One more question, how to remove or exclude Mirror app when installing your camera.apk?
{
"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"
}

Related

Rom with best camcoder app? (maybe also ebst sense 2,1 rom?)

Hi guys. I have tried proboably every rom out there and I most like virtuous sense 2.0.0 It have strange problem of not memorizing some apps settings. Like when listening to podcast and pausing it(in music player), It will forget its position after couple of minutes and then I have to search for where I left off. ... But that aside:
I am looking for ebst recording and photo application. From my experiments, it appears that best app is sense camera app, with expousure and sharpness set to -1.
Any other tips for recording? especially in the dark outside. Maybe different rom or application?
Music player is probably getting dropped from memory. And default for the music player in that case, is to go to the beginning of the track. Of course, not ideal for podcasts. I use the app "Podcast Player", it has an ugly stripped-down (purposely low overhead) interface. But it remembers where you are in the podcast, and the skip buttons are vastly better for navigating in a podcast then a slider.
Its been a while since I've tried any non-Sense ROMs. But my opinion, is that Sense offers the best video and still camera experience.
If you want the BEST out of your phone's camera, use the HTC Amaze Cam, it takes the best photos by far. Check out my post http://forum.xda-developers.com/showpost.php?p=22480298&postcount=63
You need a Sense 3.* ROM to use it though. So for that, i'd highly recommend Virtuous Affinity as it was 100% stable for me. I used it with Supercharger v6 and without a swap file.
Here's a guide on how to set up supercharger too if you want, it gives a useful boost to Sense 2.1 ROMs as well http://forum.xda-developers.com/showpost.php?p=21118325&postcount=191
Thanks! I will fiddle with it sometime this week
hmmm. Ive tried to activate supercharger v6 on virtuous 2.0.5 as after Youe guide.
Downloaded update9 rc7 and busybox+scriptmanager.
Everything run as root.
Durning supercharget wizard setup, selected local.prop instead of build.pro (what is this)
Then typed "6" and it loaded and asked me to reboot.
after reboot Ive ran it again to see if it working but Image is defferent than one You posted
minfrees are different but there are other minfrees lines below which also have other numbers. And it says that supercharger is at 25%
HiCZoK said:
hmmm. Ive tried to activate supercharger v6 on virtuous 2.0.5 as after Youe guide.
Downloaded update9 rc7 and busybox+scriptmanager.
Everything run as root.
Durning supercharget wizard setup, selected local.prop instead of build.pro (what is this)
Then typed "6" and it loaded and asked me to reboot.
after reboot Ive ran it again to see if it working but Image is defferent than one You posted
minfrees are different but there are other minfrees lines below which also have other numbers. And it says that supercharger is at 25%
Click to expand...
Click to collapse
That means that you haven't properly supercharged, run the script again and choose the unsupercharger or whatever it's called, you'll see the option to remove it in one of the 30 settings the script offers. Then, go to your sd card and delete the v6 supercharger folder. Then run the script again (following that guide) and choose build.prop instead of local.prop. Otherwise continue running the script in the same way that you did last time. If it says that you are 100% supercharged, then all is well and you are definitely supercharged correctly.
Thanks for support.
Ive installed energized blue 3,5 rom and supercharged worked no problem! Also with swapper from market(I don't mind disabling swap before connecting to pc)
htc amaze camera is really better than standard camera.
And rom with v6+swap is almost as fast as virtuous2.0.0
Tho I wish amaze camera would work on older than 3.0 sense
About the camera tho. I am not sure if HDR mode is working. Pics look the same as normal. Panoramic mode is great tho, macro is very good and overall pics are quite sharp
HiCZoK said:
Thanks for support.
Ive installed energized blue 3,5 rom and supercharged worked no problem! Also with swapper from market(I don't mind disabling swap before connecting to pc)
htc amaze camera is really better than standard camera.
And rom with v6+swap is almost as fast as virtuous2.0.0
Tho I wish amaze camera would work on older than 3.0 sense
About the camera tho. I am not sure if HDR mode is working. Pics look the same as normal. Panoramic mode is great tho, macro is very good and overall pics are quite sharp
Click to expand...
Click to collapse
Yeah i was amazed by that app as well when i installed it (no pun intended haha). I'm glad you got it working well, and yeah it's a bummer that it doesn't work on Sense 2.1 ROMs. Otherwise i'd probably still be using Sense just for that app.
HDR doesn't make a difference because it's not supported by our phone's hardware. This applies to other modes like burst shoot and panorama.
Also, since i helped, could you hit the "thanks" button under one of my posts?
Sure thanks
and panorama totally works

[Q] Please sir can you spare some knowledge ;p

OK so I got this phone a few days ago and jumped right in, looking for one main thing in a rom. Good camera. and what I have found from flashing back (starting with) stock 2.2.1 is that the camera rocks. Very quick shot response time and the options are great, along with sharp pictures. But at the same time it was lacking features in the os that you can't live without at this point. ( its been so long since I have used a 2.2.1 ROM like omg) then moved on to stock GB and same UI and speed just crap for
quality, what's up with that. So the natural course is to then move on to CM builds
starting with 7.2 and in this I found everything I wanted an advanced os with a good
camera. The issue with this is that for the life of me I could not enable the shutter
sound so now on to my questions.
#1-In CM7.2 stable how can I enable the shutter sound. ( don't ask why I want it, I'll
just tell you I'm OCD and it was driving me nuts)
#2-Is there a mod for build 9-10 that could give me a type of options UI like that of the stock ROMs such a night mode, Iso selection etc...
#3-Is there a fully working photosphere mod for our device.
#4-What do you all think. What rom gives you the best image quality (x) options and are there mods to make our cameras better.
Quote
MultiQuote
Edit
seraphim5 said:
OK so I got this phone a few days ago and jumped right in, looking for one main thing in a rom. Good camera. and what I have found from flashing back (starting with) stock 2.2.1 is that the camera rocks. Very quick shot response time and the options are great, along with sharp pictures. But at the same time it was lacking features in the os that you can't live without at this point. ( its been so long since I have used a 2.2.1 ROM like omg) then moved on to stock GB and same UI and speed just crap for
quality, what's up with that. So the natural course is to then move on to CM builds
starting with 7.2 and in this I found everything I wanted an advanced os with a good
camera. The issue with this is that for the life of me I could not enable the shutter
sound so now on to my questions.
#1-In CM7.2 stable how can I enable the shutter sound. ( don't ask why I want it, I'll
just tell you I'm OCD and it was driving me nuts)
#2-Is there a mod for build 9-10 that could give me a type of options UI like that of the stock ROMs such a night mode, Iso selection etc...
#3-Is there a fully working photosphere mod for our device.
#4-What do you all think. What rom gives you the best image quality (x) options and are there mods to make our cameras better.
Quote
MultiQuote
Edit
Click to expand...
Click to collapse
the only thing makes a difference in image quality on any camera is wether its a megapix camera or VGA camera and how many megapixels.
seraphim5 said:
OK so I got this phone a few days ago and jumped right in, looking for one main thing in a rom. Good camera. and what I have found from flashing back (starting with) stock 2.2.1 is that the camera rocks. Very quick shot response time and the options are great, along with sharp pictures. But at the same time it was lacking features in the os that you can't live without at this point. ( its been so long since I have used a 2.2.1 ROM like omg) then moved on to stock GB and same UI and speed just crap for
quality, what's up with that. So the natural course is to then move on to CM builds
starting with 7.2 and in this I found everything I wanted an advanced os with a good
camera. The issue with this is that for the life of me I could not enable the shutter
sound so now on to my questions.
#1-In CM7.2 stable how can I enable the shutter sound. ( don't ask why I want it, I'll
just tell you I'm OCD and it was driving me nuts)
#2-Is there a mod for build 9-10 that could give me a type of options UI like that of the stock ROMs such a night mode, Iso selection etc...
#3-Is there a fully working photosphere mod for our device.
#4-What do you all think. What rom gives you the best image quality (x) options and are there mods to make our cameras better.
Quote
MultiQuote
Edit
Click to expand...
Click to collapse
There is no photosphere mod for our device because of hardware limitations.

[Port][App] GS3 TouchWiz camera app for all AOSP 4.2.2 ROMs [4.3 beta now available!]

Hi! This is my first mod for Android; a partially working attempt at getting the Samsung camera (from the leaked 4.2.2 ROM; XUFME7) to work on AOSP ROMs. Not a skin, this is the full camera along with most of the features!
Want to see it in action? No screenshot - it looks exactly the same as on TW ROMs - but here's a video. http://www.youtube.com/watch?v=mYX4PSVDiIU Apologies for the terrible quality, but it's hard to film a phone with the Nexus 7's front camera, and I couldn't find a decent screen capture app :<
--
Port for Android 4.3
Beta version NOW AVAILABLE, click here for details + download: http://forum.xda-developers.com/showpost.php?p=46566446&postcount=135
It doesn't work as well as the 4.2.2 version - in particular, video recording is 100% broken, even in the AOSP camera - but you can still try it out if you don't mind this!
--
Port for Android 4.2.2
Working/Non-Working Features List:
What Works:
Front and back cameras
"Wand" Filters
Flash
Auto & Macro focus modes
Tap-to-focus
White Balance options
GPS tagging
Gallery shortcut (uses AOSP Gallery)
Shooting modes:
Single Shot
Best Photo
Face Detection
HDR
Beauty
Smile Shot
Low light
Possibly Working, depending on kernel:
(These features require that the mediaserver process can write to /sdcard (for burst shot/best face) and /data (for panorama). The only way to change this is using a modified kernel with an init.rc which gives it that access. In my experience, with Googy-Max kernel, Panorama works but the other two don't. Your mileage may vary.)
Burst shot
Best Face
Panorama
Not Working, may be fixed later:
Shutter sounds
Automatic mDNIe / screen brightness adjustment
Not Working, unlikely to be fixed:
Camcorder
Share Shot
Voice recognition
Weather/city photo tagging in the media database (what's this used for exactly?)
Untested:
Buddy Photo Share
External SD card
Download:
Download:
This patch is ONLY compatible with AOSP-based 4.2.2 ROMs running on the GT-I9300 and GT-I9300T; the international models of the Galaxy S3 (Exynos chip, no LTE)
CWM zip: http://d-h.st/sg8 (5.26 MB / MD5: f53d603f49de1bb0aba90546b9bbc1ce)
Notes:
This patch has only been tested on RootBox 4.1. Please let me know if you have trouble using it on any other ROM!
Disclaimer:
This is an experimental patch, and you install it at your own risk! I am not responsible for anything that occurs as a result of this. Always make backups.
Installation:
You need a recovery that allows you to install .zip files; most likely CWM or TWRP. But you probably already have one of these if you're running AOSP on this phone
1. Boot into recovery mode: turn the phone off, hold down VolumeUp+Home and then press the power button
2. Make a Nandroid backup (not obligatory, but recommended in case something goes wrong!)
3. Flash the camera mod zip
4. Wipe the Cache and Dalvik Cache - just in case
Hope you enjoy it! Now go out and take some awesome photos
Changelog:
20th July 2013: Released first version. Camera (+ most features) is functional. Camcorder appears but does not record successfully.
22nd July 2013: Released new version which should work on any AOSP ROM, instead of needing a custom built ROM.
17th October 2013: 4.3 beta release is out.
Hm, I'm guessing that the picture quality isn't different from the AOSP camera app and this tho there still is missing sources from Samsung that we'll never get.
Otherwise. Nice mod!
Eleve11 said:
Hm, I'm guessing that the picture quality isn't different from the AOSP camera app and this tho there still is missing sources from Samsung that we'll never get.
Otherwise. Nice mod!
Click to expand...
Click to collapse
Thank you
I've seen people talk about how the camera on AOSP is worse because of missing sources, but I'm not sure what sources these are. The Samsung kernel module is open source, and this mod replaces all the user space code related to the camera - as far as I know, anyway - with the TW versions. (Please correct me if I'm wrong on this )
This is purely anecdotal and rather hard to test accurately, but I never noticed much of a difference in picture quality between AOSP and TW, I just wanted the camera app because of the extra modes and options that are really useful.
I was not Using AOSP based ROMs only for the sake of camera.
But now, i can use any ROM i want..
Thannks man.. This is super cool.. will test this ASAP..
Well, the full version method didn't work for me on todays' CM nightly build. I installed it following the procedures, and then opened the camera app. The screen went black, and then froze. I restarted the phone, and it kept looping on the boot animation
Luckily I don't delete the CM updater temporary files, so I was able to boot into recovery and re-install the 'stock' CM build. Also, despite the fact that I mostly understood the instructions, they were quite confusing!
does hdr work? is it like the tw cam?
Sent from my GT-I9300 using xda app-developers app
kuci06 said:
Okay, so I just flashed the modified Rootbox rom, and the burst shot feature does not work properly. The little counter bar comes up, but doesn't shoot photos at all. Also breaks functionality after that, not even the close button works.
Click to expand...
Click to collapse
Just as I expected I'll have to figure out a fix for this somehow...
Writing to /data does seem to work, so maybe I can patch the Samsung lib to store burst shots there, and move them to the SD card from the camera apk :x
iSasha said:
Well, the full version method didn't work for me on todays' CM nightly build. I installed it following the procedures, and then opened the camera app. The screen went black, and then froze. I restarted the phone, and it kept looping on the boot animation
Luckily I don't delete the CM updater temporary files, so I was able to boot into recovery and re-install the 'stock' CM build. Also, despite the fact that I mostly understood the instructions, they were quite confusing!
Click to expand...
Click to collapse
Apologies for the confusing instructions :< I think I got carried away a bit with the technical details!
You cannot use this mod with an existing build of another ROM (like the CM nightlies) unless it has been compiled with the source code patches I provided. Samsung's camera libs are not compatible with normal AOSP builds, but my patches change the interface in AOSP to fix that.
It's a bit of a lofty goal but I hope that other ROMs will some day include these patches, because it doesn't affect normal camera operation, and it allows you to use the Samsung camera if you flash the appropriate libs...
I would like to provide builds of other ROMs in the future, but this is difficult to do because it takes me 2-3 days to download the source code of each ROM and 8 hours to compile it from scratch - this is why I only have RootBox right now. So it would be extremely helpful if other developers would integrate this.
Notor1ouS- said:
does hdr work? is it like the tw cam?
Click to expand...
Click to collapse
HDR works perfectly Exactly like in the TW 4.2 camera, you get an Options menu with Normal/Strong HDR effect and with the option to save original/HDR photo or just HDR.
Treeki said:
Apologies for the confusing instructions :< I think I got carried away a bit with the technical details!
You cannot use this mod with an existing build of another ROM (like the CM nightlies) unless it has been compiled with the source code patches I provided. Samsung's camera libs are not compatible with normal AOSP builds, but my patches change the interface in AOSP to fix that.
It's a bit of a lofty goal but I hope that other ROMs will some day include these patches, because it doesn't affect normal camera operation, and it allows you to use the Samsung camera if you flash the appropriate libs...
I would like to provide builds of other ROMs in the future, but this is difficult to do because it takes me 2-3 days to download the source code of each ROM and 8 hours to compile it from scratch - this is why I only have RootBox right now. So it would be extremely helpful if other developers would integrate this.
Click to expand...
Click to collapse
Oups... I just copied over the lib and camera files over using a root explorer app. I doubt that I'll have the patience to wait days to build it form source myself, but I'll be looking forward to see these libs integrated in future versions of CM!
"Not Working, unlikely to be fixed:
Camcorder"
is that a typo for "cam recorder" ? or cam recording is working just fine?
AvivEliyahu said:
"Not Working, unlikely to be fixed:
Camcorder"
is that a typo for "cam recorder" ? or cam recording is working just fine?
Click to expand...
Click to collapse
Camcorder is a term for video recorder.
Also op thanks this mod hope it gets implemented in the rom I'm using!
Sent from my GT-I9300 using xda app-developers app
@Treeki would you continue to publish updated Rootbox Nightlies with this camera every time Rootbox is updated?
EDIT: I also think you should move this to Android Development forum instead of apps and games because you are working on a ROM based of Rootbox sources... Not just the app itself..
Sent from my GT-I9300 using Tapatalk 2
sorry for quick quesrion...
if i merge this to rom, will it just replace the original cm camera or cm camera is still there and it make new icon for the sammy camera?
Sent from S3, power By Temasek'Rom and Kernel!
I'm quoting the answer provided on the Original Thread...
Treeki said:
.
It's a bit of a lofty goal but I hope that other ROMs will some day include these patches, because it doesn't affect normal camera operation, and it allows you to use the Samsung camera if you flash the appropriate libs...
.
Click to expand...
Click to collapse
If I'm not wrong it doesn't break CM Camera, it just helps Sammy camera to Partially work...
Sent from my GT-I9300 using Tapatalk 2
thanks~
Sent from S3, power By Temasek'Rom and Kernel!
jimbo77 said:
@Treeki would you continue to publish updated Rootbox Nightlies with this camera every time Rootbox is updated?
Click to expand...
Click to collapse
Hm.. that's something I hadn't thought about yet :x
I will try and publish a new one every few days but I don't have the resources to make daily builds, unfortunately...
Now that I have some more experience with the Android build system and I know exactly what needs to be changed, I'm going to look again at modifying the Samsung binaries to work with any AOSP ROM instead of doing this the other way round. That was my intention when I first started the project, but I changed tactics because I wasn't sure exactly how much I would need to modify.
I don't know if I'll succeed at this but I'll give it a shot ... If I could get it to work, it would be a much better solution because it should work on practically any ROM with just a flashable zip. Can't promise anything yet though :<
Treeki said:
Hm.. that's something I hadn't thought about yet :x
I will try and publish a new one every few days but I don't have the resources to make daily builds, unfortunately...
Click to expand...
Click to collapse
Well, the Rootbox Nightlies doesn't come out every day as well so I think it will be nicely timed with you, btw if you ever want a beta tester of some sort.. Shoot a PM and I'll be more than glad to help...
I'm a Rootbox user since long time so it will not affect me to try your builds...
Sent from my GT-I9300 using Tapatalk 2
Welp.
I was going to post a picture of myself facepalming... taken with the TW camera app, of course... but I figured XDA is just a bit too public for that.
It turned out that one single byte in mediaserver was all I needed to change for my original attempt from several days ago to work. I wish I had known that before I started all this stuff about compiling ROMs... I suppose it was a good learning experience, though. I really didn't expect the fix to be that simple.
So my final mod turns out to be much, much simpler:
- Use Samsung files, with one modified to add a version of Camera::connect that only takes one param
- Modify mediaserver to allocate a CameraService that is 12 bytes bigger than the AOSP version
I feel kinda dumb now. Oh well! Hindsight is 20/20. And... sometimes the simplest solutions turn out to be the right ones
I'll put together a CWM zip that should [hopefully] work on all ROMs and add it to the OP shortly! Now available. Please try it out and let me know how it goes, and what ROM you're using! Off to sleep now, at the very appropriate time of 9am...
It is working correctly on the temasek rom. Thanks a lot.
Treeki said:
Not Working, unlikely to be fixed:
Camcorder
Click to expand...
Click to collapse
first. really cool mod !!!! exactly what im waiting fot
Q
is it possible to change the shortcut to googlecam recorder , when we click on video?
and a shortcut to photosphere from sammys cam "scenes" would be cool
Gesendet von meinem GT-I9300 mit Tapatalk 2
Wow if this could be optimised with AOSP it will be perfect! Flashing it now.
Sent from my GT-I9300 using xda premium

LG G3 D851, CyanogenMod, Camera quality is much lower than stock Android

I flashed my G3 to have the latest (when I flashed it) CyanogenMod (Version: 12.1-20151023-NIGHTLY-d851 ). Since then, I've been loving my G3. However, I'm having some problems with the camera. I've tried the default camera app CM uses, and then with OpenCamera. My pictures are just generally very low-quality compared to stock Android.
I've tried: Bumping up the image quality in Open Camera's settings. (settings -> photo settings -> Image Quality)
Waiting longer for the camera to focus.
Double and triple-checking the resolution. (Images are correct resolution, but are blotchy and/or fuzzy.)
It doesn't seem to be any of those, but I'm fairly new to the Android crowd.
I will provide photos for comparison, but not of the same object. (I haven't taken photos of much more than my cat, so bear with me.) Both before and after installing CyanogenMod, pictures of my cat turn out lower-quality than of other things. This may be because of a noise algorithm that has issues with fur, but what do I know? Seriously, I'm super new.
Here's an Imgur album (Two pictures): imgur (dot) com /a/AxAhT
I know Imgur compresses images or whatever, but the difference is pretty clear. I couldn't find anything else I had taken pictures both before and after installing CyanogenMod. I have a picture of gummy worms from before, but that doesn't help without an after.
Any other relevant questions, I can probably answer.
Go on apk mirror and search CyanogenMod camera (the one plus one ) it works perfect (good quality ) after try flashing Androidcid-MOD-G3_20150511_V11-SPARTAN.zip and choose your aroma.
From what I understand stock camera is better because of proprietary files that are not present in CM. So if camera quality is a priority, stock is the way to go. I love CM Official, but I'm trying out stock based roms for this reason.
Liberr said:
From what I understand stock camera is better because of proprietary files that are not present in CM. So if camera quality is a priority, stock is the way to go. I love CM Official, but I'm trying out stock based roms for this reason.
Click to expand...
Click to collapse
This makes a lot of sense, actually. Camera quality isn't a huge priority. I rarely use it, and am going to get a GoPro fairly soon. I just wasn't sure what was causing the issue. I love CM too much to give it up for better quality photos.
Semi on-topic: With this Nightly build of CM, my phone seems to shut down at random (though fairly rarely), and become unresponsive. I have to remove the battery and re-insert it before I'm able to power on my phone. This didn't happen with stock Android, so I'm fairly certain it's a CM thing. Is it that the Nightlies are generally unstable? Is there a stable version I can switch to?
Would I be able to copy my current 'data' folder (apps and their sign-in info, as far as I can tell) to the stable CM version and cut out all the extra setup time of re-downloading and signing into my apps?
I have a love/hate relationship with CM. On one hand it's buttery smooth when it works, but frequent (for me) random reboots kill it. They always seem to happen at the most inopportune times. I haven't been able to find an AOSP rom that doesn't have this symptom either.
Sent from my LG-D850 using Tapatalk

Best LG G3 D855 AOSP CAMERA

Hi, I am looking for the best camera app for my D855 with Dirty Unicorn 7.1.2. Can you help me? there is an original camera's porting for aosp?
gianm.93 said:
Hi, I am looking for the best camera app for my D855 with Dirty Unicorn 7.1.2. Can you help me? there is an original camera's porting for aosp?
Click to expand...
Click to collapse
what should i do?
Impossible.
I have tried htc 10 camera port, snap camera hdr, google camera. They are all the same. The best alternative is lg g2 camera port. You can see the difference in low light conditions.
This one:
https://www.androidfilehost.com/?w=files&flid=146615
You have to downgrade your display resolution to 1920x1080 @ 420 dpi.
Coolgoly said:
This one:
https://www.androidfilehost.com/?w=files&flid=146615
You have to downgrade your display resolution to 1920x1080 @ 420 dpi.
Click to expand...
Click to collapse
Why I have to downscale the screen resolution?
tylerberk said:
Impossible.
Click to expand...
Click to collapse
Why the porting is impossible?
gianm.93 said:
Why the porting is impossible?
Click to expand...
Click to collapse
LG didn't release the sources.
Why there is LG G2 camera ported (without certain features, but it is), and there aren't any g3 camera port :/
TheBerebian said:
Why there is LG G2 camera ported (without certain features, but it is), and there aren't any g3 camera port :/
Click to expand...
Click to collapse
Because no one did it. You can try.
gianm.93 said:
Why I have to downscale the screen resolution?
Click to expand...
Click to collapse
Because G2 has a full hd display and this app comes from it.
If you run it on a qhd display like the G3 one you wiil encounter an incorrect visualization.
It's easy to change the resolution and dpi
using terminal emulator,if the phone is rooted
Coolgoly said:
Because G2 has a full hd display and this app comes from it.
If you run it on a qhd display like the G3 one you wiil encounter an incorrect visualization.
It's easy to change the resolution and dpi
using terminal emulator,if the phone is rooted
Click to expand...
Click to collapse
Easy DPI Changer works as well, and it is best to use lg g3 on 1080p res makes the phone much more fast and stable.
Hi, I also miss the superior quality of camera from stock ROM. I was trying to follow some tutorials on porting vendor apps to AOSP (getting the camera apk file, some libraries, framework files and permission files and compiling them all together), but it never worked with the camera. Sadly, I'm pretty sure that if it was possible, somebody smarter would have already done it. With LG being jerks and not releasing the sources, we most likely won't get the stock camera on AOSP, ever. That being said, I can think of four possible ways of dealing with the situation.
First, use stock ROM only. Yes, I know, that sucks. Or stock based ROM such as Fulmics, if you really think there is a difference between these two.
Second option is multirom. I was using it for last few months with LineageOS as primary and stock as secondary ROM, and everytime when I knew I would be taking some photos (when I went to concerts/holidays/celebrations/some unusual stuff), I booted to stock ROM and was good to go.
Third option is to have a TWRP backup of your current system and of stock ROM and restoring the backup of the ROM you want to use (AOSP for daily usage, stock for the days you know you'll be using your camera a lot). The previous (multirom) option is faster and easier to manage, and you can always add new ROMs and experiment as you wish. However, it requieres a custom recovery and I wasn't able to pass SafetyNet test with multirom and LineageOS with Magisk. Also, multirom makes a little bit of a mess at your /system partition. This third option (backing up/restoring system in TWRP) takes longer, the backups are large, but I'm liking that a bit more for some reason - it feels "cleaner" and more transparent to me.
The last option is to be on AOSP and use a camera app of your choice which you find has the best quality. I was experimenting with this a lot and tried dozens of camera apps (including the LG G2 camera port). Honestly, most of the photos were about the same quality. Even the G2 camera wasn't better than the rest I tested. I also compared the test pictures to stock camera (yes, I took the time to reboot to my secondary ROM for every test I was making at that time) and I was very sad that nothing was close to the stock camera quality. LG really does some magical post processing which works like a charm and looks really good. Anyways, after the tests I decided to stick with Snap Camera HDR. It has a trial and a paid version on the Play Store, in case you want to give it a shot. At good light conditions, the photos are actually comparable to stock camera. There is tons of settings to play with. It has a special "LG mode", which actually works even on AOSP ROMs and enables some LG specific features. It can also record 4K videos with stabilization. If you give it a try and really look into the settings (I recommend going also to the developer's website, where every option in the settings is described), you might end up with decent stock camera replacement. It took me about an hour to go through all the settings, but I'm fairly satisfied with the photos now. Although it has been last updated almost a year ago on the Play Store, there is a much more recent beta version here on the xda forums.
tl;dr I believe that porting stock camera app to AOSP is impossible. If you want stock camera quality, you really have to use stock ROM one way or another (either be on stock, or have a stock ROM TWRP backup and restore it whenever you want to take a good photo, or use multirom to switch your current ROM more quickly). If you want to use AOSP exclusively, I recommend Snap Camera HDR.
felmaster said:
Second option is multirom. I was using it for last few months with LineageOS as primary and stock as secondary ROM, and everytime when I knew I would be taking some photos (when I went to concerts/holidays/celebrations/some unusual stuff), I booted to stock ROM and was good to go.
Click to expand...
Click to collapse
There's another option similar (or not) to multirom:
For installing multiple ROMs I use DualBootPatcher, a great method devised originally for the SGS4, but available for a number of devices now, including our G3. I highly recommend it, it seems cleaner than multirom to me and more user friendly. It is possible to flash ROMs from within the app (they have to be patched first, this also happens inside the app, hence the name), backup, restore and more. There may be some hiccups now and then, but all in all it works smoothly.
Just search the LG G3 forums for DualBootPatcher, there's a thread with download links, description and how-to.
LG G3 AOSP Camera Comparison
felmaster said:
Hi, I also miss the superior quality of camera from stock ROM. I was trying to follow some tutorials on porting vendor apps to AOSP (getting the camera apk file, some libraries, framework files and permission files and compiling them all together), but it never worked with the camera. Sadly, I'm pretty sure that if it was possible, somebody smarter would have already done it. With LG being jerks and not releasing the sources, we most likely won't get the stock camera on AOSP, ever. That being said, I can think of four possible ways of dealing with the situation.
First, use stock ROM only. Yes, I know, that sucks. Or stock based ROM such as Fulmics, if you really think there is a difference between these two.
Second option is multirom. I was using it for last few months with LineageOS as primary and stock as secondary ROM, and everytime when I knew I would be taking some photos (when I went to concerts/holidays/celebrations/some unusual stuff), I booted to stock ROM and was good to go.
Third option is to have a TWRP backup of your current system and of stock ROM and restoring the backup of the ROM you want to use (AOSP for daily usage, stock for the days you know you'll be using your camera a lot). The previous (multirom) option is faster and easier to manage, and you can always add new ROMs and experiment as you wish. However, it requieres a custom recovery and I wasn't able to pass SafetyNet test with multirom and LineageOS with Magisk. Also, multirom makes a little bit of a mess at your /system partition. This third option (backing up/restoring system in TWRP) takes longer, the backups are large, but I'm liking that a bit more for some reason - it feels "cleaner" and more transparent to me.
The last option is to be on AOSP and use a camera app of your choice which you find has the best quality. I was experimenting with this a lot and tried dozens of camera apps (including the LG G2 camera port). Honestly, most of the photos were about the same quality. Even the G2 camera wasn't better than the rest I tested. I also compared the test pictures to stock camera (yes, I took the time to reboot to my secondary ROM for every test I was making at that time) and I was very sad that nothing was close to the stock camera quality. LG really does some magical post processing which works like a charm and looks really good. Anyways, after the tests I decided to stick with Snap Camera HDR. It has a trial and a paid version on the Play Store, in case you want to give it a shot. At good light conditions, the photos are actually comparable to stock camera. There is tons of settings to play with. It has a special "LG mode", which actually works even on AOSP ROMs and enables some LG specific features. It can also record 4K videos with stabilization. If you give it a try and really look into the settings (I recommend going also to the developer's website, where every option in the settings is described), you might end up with decent stock camera replacement. It took me about an hour to go through all the settings, but I'm fairly satisfied with the photos now. Although it has been last updated almost a year ago on the Play Store, there is a much more recent beta version here on the xda forums.
tl;dr I believe that porting stock camera app to AOSP is impossible. If you want stock camera quality, you really have to use stock ROM one way or another (either be on stock, or have a stock ROM TWRP backup and restore it whenever you want to take a good photo, or use multirom to switch your current ROM more quickly). If you want to use AOSP exclusively, I recommend Snap Camera HDR.
Click to expand...
Click to collapse
Snap Camera would look good on good light conditions but the actual problem starts with low light, Snap camera adds too much noise on photos compared to LG Camera Port, LG camera port is also great on good light conditions. Any camera app can seem close to stock on good light but real comparison should be made on low light. None of them is comparable to stock LG G3 camera of course, i think laser autofocus and object tracking don't work in any of them.
Check my comparison below(On Snap Camera, LG mode and noise reduction enabled):
https://yadi.sk/d/wEn4oOTw3JxEik
felmaster said:
Hi, I also miss the superior quality of camera from stock ROM. I was trying to follow some tutorials on porting vendor apps to AOSP (getting the camera apk file, some libraries, framework files and permission files and compiling them all together), but it never worked with the camera. Sadly, I'm pretty sure that if it was possible, somebody smarter would have already done it. With LG being jerks and not releasing the sources, we most likely won't get the stock camera on AOSP, ever. That being said, I can think of four possible ways of dealing with the situation.
Click to expand...
Click to collapse
You know how to port the Stock Music player of Fulmics 7.5 to AOSP?
I am on Resurrection Remix 7.1.2
I was looking for best camera without any problems
Finally i installed Google Camera. Works fine
Not the best quality but is ok
vampirakos said:
I am on Resurrection Remix 7.1.2
I was looking for best camera without any problems
Finally i installed Google Camera. Works fine
Not the best quality but is ok
Click to expand...
Click to collapse
Try Snap Camera, or Open Camera.
What about Snapdragon Camera? There is a versione for Nougat that we could use?
Try Footej Camera

Categories

Resources