[MOD] HTC One 1080p Front Camera Video Recording (for AOSP ROMs) - One (M7) Android Development

This is very similar to my hugely popular mod for the Nexus 7 that I did. I did this because it seems CM on the One doesn't support 720p or 1080p, so maybe some vloggers or people who like to take videos of themselves (vain people?) would enjoy this very simple modification.
I got 1080p video recording working on my One under CM and felt you guys should know about this too. It's a simple fix as it's not a limitation of hardware or a kernel function or anything, rather for some reason HTC is using a weird way to enable 1080p in the stock firmware that doesn't carry over to CM. They aren't using the media_profiles.xml. This mod includes 1080p recording for the front camera, as well as some alterations to the bitrate of the audio and video to give it slightly better quality in the output videos. You won't really notice it unless you're really trying, but it's little things that all add up to give a better experience.
This is NOT needed under stock ROMs
Somehow, HTC have made their camera application NOT need to read the media_profiles.xml, and as a result the stock ROM does not need this modification. Only CM based ROMs need this. I don't know if it's needed under the Google Edition firmware or not. You'll have to let me know.
How To Install
Download the zip (M7-1080p-Camera-for-CM)
Reboot to recovery
Install
Reboot to Android
???
PROFIT!
The Mod
It's the same deal as on the Nexus 7: simply use my attached pre-modified file and push it to /system/etc/media_profiles.xml. I expect the permissions will be 644.
How It Works
I had to explain this on the Nexus 7, so I'll explain it again. The hardware already supports this functionality as the camera itself just sends RAW information to the processor, and then based on the settings the processor is given by Android, the processor encodes it in the format it's been told to, for example for the rear camera it would be told to record 1920x1080 @ a certain bitrate to H.264. The processor itself doesn't tell Android what the hardware is capable of (and considering the Snapdragon 600s enormous video encoder capabilities, they're very high), Android is told what it can do by the file media_profiles.xml.
No this will not improve video quality in Skype/Hangouts/whatever other thing you want to do, this will only work for video recording applications.
Download Link
Check the attachments below. There are two files: media_profiles and M7-1080p-Camera-for-CM - media_profiles is JUST the XML file, and M7-1080p-Camera-for-CM is the installer for CWM/TWRP. Most users will want that. Just install it from in CM.
Video For Your Delectation
I'll make a YouTube video of it soon

am I totally wrong or the HTC One front facing camera records on 1080p, so why this?
I'm guessing that somehow I'm wrong and this is actually useful

tyraelasd said:
am I totally wrong or the HTC One front facing camera records on 1080p, so why this?
I'm guessing that somehow I'm wrong and this is actually useful
Click to expand...
Click to collapse
You are not wrong, I'm also seeing all the same profiles (MMS, 720P, 1080P) when switching to the front camera... so why this MOD? lol

fongz27 said:
You are not wrong, I'm also seeing all the same profiles (MMS, 720P, 1080P) when switching to the front camera... so why this MOD? lol
Click to expand...
Click to collapse
Interesting. It appears to work in the stock firmware, but not on CM, but even in the stock firmware it doesn't have the 1080p media profiles. I'm guessing HTC are doing something sneaky to make it work. Well this mod still works for CM nonetheless. Guess I need to add this to CM like I did with the N7. Of course the purpose of this mod is slightly killed by the front camera working like *** on CM.
Good to know though.

Seeing this mod is rather pointless on the stock ROMs, I will make it useful and max out the encoder capabilities. Be back in an hour when I find the full abilities of the Snapdragon 600s video encoder.
EDIT: Updated first post to now include my updated media_profiles.xml for 1080p front camera recording and increased bitrate video and audio.

Just realised why CM doesn't do 1080p for the front camera. They use a common media_profiles.xml for ALL MSM8960 HTC devices.. which means older crappier phones have the same profile. Effectively, this limits CM on the One a lot. Lemme relearn how to make a commit to CM so I can add this into their repo.

Does this get rid of the green hue in the front camera too in CM?
Sent from my BNTV600 using Tapatalk 4 Beta

xjedi said:
Does this get rid of the green hue in the front camera too in CM?
Sent from my BNTV600 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Unfortunately not. I'm not sure what causes that, but I want to look into it because it's really odd it only happens to the front camera. I suspect the sensor has a weird colour profile that isn't being set up right? Could be wrong.

hillbeast said:
Unfortunately not. I'm not sure what causes that, but I want to look into it because it's really odd it only happens to the front camera. I suspect the sensor has a weird colour profile that isn't being set up right? Could be wrong.
Click to expand...
Click to collapse
In my case, that green hue is related to light surrounding (I ain't sure what's the term for it, but it's that sun/cloudy/AW/bulb thingy in camera settings circle).

Ramazor said:
In my case, that green hue is related to light surrounding (I ain't sure what's the term for it, but it's that sun/cloudy/AW/bulb thingy in camera settings circle).
Click to expand...
Click to collapse
Yeah I find it changes depending on the lighting as well.

Glad to see you over here
Sent from my HTC One using xda app-developers app

So much time past from last post but this mod works on GPE stock 4.4.3 (I'm not kidding).
Thanks a lot

Related

[MOD] 480x320 Recording for CM6 ROMs

This is a cross post from my mau5 ROM thread, but I think other people might enjoy it too.
I've put together an update.zip that allows for 480x320 recording via camcorder. Currently, our device only allows 352x288(high quality), this simple hack just allows a greater resolution and I think a clearer picture IMO.
I've set 352x288 as the default "low" quality and 480x320 as the default "high" res recording so that you do have a choice whenever you want. I've also changed the file format to mp4 instead of 3gp since well.. no one uses 3gp for anything.
There are few drawbacks though. 480x320 is the last somewhat "stable" res where the OMX core won't **** bricks all over the place so be weary of any force closes. Also, gralloc likes to crap out when switching resolutions on the fly along with being unable to view the 480x320 video in the gallery app (since we have such bad gfx power).
I do plan on making this STABLE at one point, but it'll require kanging some memory for gralloc to use while changing resolution.
You can check for yourself on the differences with a 352x288 recording and a 480x320 recording
(low light vs direct light)
You can see an example of a video I shot last night at a xmas party HERE to see 480x320 when it comes to more 'motion' recording. (Warning: White people dancing)
Download the 480x320 update.zip here:
Download
Awesome. I remember darchstar had unstable 720p in his aosp rom. Glad to know someone is still working here
Sent from my HERO200 using XDA App
brokentoaster24 said:
Awesome. I remember darchstar had unstable 720p in his aosp rom. Glad to know someone is still working here
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
I've always been messing around with it. The proprietary blobs just get in the way a lot and you end up at a dead end with no resources. :/
Decad3nce said:
I've always been messing around with it. The proprietary blobs just get in the way a lot and you end up at a dead end with no resources. :/
Click to expand...
Click to collapse
When are you due for an upgrade? I'm trying to follow the hero devs so I know what to get next
Sent from my HERO200 using XDA App
Works great. You said we're unable to watch videos in Gallery, but I can view them. I just shot a test 480x320 video.
Does this work with Aosp rom
Sent from my HERO200 using XDA App
raymond4 said:
Does this work with Aosp rom
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Not sure. Nandroid and find out
Why is the video quality in the CM/AOSP ROMS so bad? I know you said the 480x320 is better, but looking at both of your vides, while hte content was not fun (white people dancing never is) the quality is just unwatchable.
Just curious because on the HTC ROMs it is at least somewhat decent.
Not crapping on what you're doing here Dec, but just trying to understand what you're dealing with.
riggsandroid said:
Why is the video quality in the CM/AOSP ROMS so bad? I know you said the 480x320 is better, but looking at both of your vides, while hte content was not fun (white people dancing never is) the quality is just unwatchable.
Just curious because on the HTC ROMs it is at least somewhat decent.
Not crapping on what you're doing here Dec, but just trying to understand what you're dealing with.
Click to expand...
Click to collapse
I get bored. You can only push the framerate so high on either quality, and the hero itself has never had that good of recording capabilities.
The htc roms are 'decent' looking because their encoding is handled better and optimized for the proprietary omx libraries which we have no source too
Decad3nce said:
I get bored. You can only push the framerate so high on either quality, and the hero itself has never had that good of recording capabilities.
The htc roms are 'decent' looking because their encoding is handled better and optimized for the proprietary omx libraries which we have no source too
Click to expand...
Click to collapse
I was going to mention the video recording quality not more than two days ago and was messing around with the app a little here and there, but no need for that now
Thanks again Deca
Does the now low quality 352x288 save as mp4 as well?
bray424 said:
Does the now low quality 352x288 save as mp4 as well?
Click to expand...
Click to collapse
Yes it does.
bro that video was priceless lol thanks for the little upgrade
The quality is definitely superior compared to the standard. I can't thank you enough. You continue to breathe life into my Hero. Arigato!!
Will it work with AOSP 2.2 ROM?
Decad3nce said:
You can see an example of a video I shot last night at a xmas party HERE to see 480x320 when it comes to more 'motion' recording. (Warning: White people dancing)
Click to expand...
Click to collapse
Thanks .. Side note, what was with the guy checking himself out in his "hand mirror"? Great video for the laughing
Twolazyg said:
Thanks .. Side note, what was with the guy checking himself out in his "hand mirror"? Great video for the laughing
Click to expand...
Click to collapse
Lets just say he had a little bit too much "eggnog"
Hay decad I'm on asop and flash this the only thing I see so far is that after taking video it fc no big deal. When I got to video info it shows mpg4 for mat like it should. I think. If I go to video setting it show some thing different and can't change it. So it works for the most important part the video. Zoom works too
Sent from my HERO200 using XDA App
Thanks this works excellent Happy New year / New years Eve
Root-Hack-Mod-Always™
this works on liquidsense rom perfectly
it seems like at least one person is still dedicated to making our htc hero cdma camcording quality better it may not be 720 HD but.... I can't wait to see your future camcorder improvements

[Q] Any really decent non-Sense camera app out there?

While I love CM7 or many other stock android based roms out there, two things on stock android that keeps me going back to Sense-based rom. Rubbish camera app, and so so dialer/contact app.
So this week I have discovered "Go Contact", which is a really decent dialer+contact app that can make me forget about the Sense dialer/contact. But what about camera app?
Stock Android camera app really sucks. Ugly UI with extremely limited control settings, I'm not talking about "vintage looking" filters and all those stuff, but things like ISO settings. As much as I hate Blur or TouchWiz, but almost every phone that I have tried with custom manufacturer UI has camera app that is much better than stock Android's one.
I see that some people have extracted the camera app from Sony Ericsson phones and it seems like it can be installed and used on stock Android framework. I haven't tried that though. My question is, is there any decent camera app on the Market that is comparable to Sense's camera app? That is non-proprietary and not made by manufacturer like Samsung/HTC/Motorola/LG/Sony?
There's a market app called lgcamera that has been recommended to me. Going to try it out today. It also has a camcorder that supports higher bitrate video and in mp4 format instead of 3gp.
Thanks, just tried it out. The UI is a bit rough and needs some work, but it does seem promising. I'll try to do some serious testing with it tomorrow. BTW, does it have anything to do with LG?
No idea, maybe it's based on an lg camera or something..
Sent from my HTC Sensation Z710a using XDA App
Camera360 Ultimate has been my standby on my Desire running CM7. i threw it on my Sensation (running Leedroid) and for some reason, it doesn't go full screen. hopefully when i get CM7 on it, this will be fixed up...
Camera 360 works fullscreen. You will just have to change the picture resolution. It's a great replacement for the sense camera.
Sent from my HTC Sensation Z710e using Tapatalk
You might check out Vignette it is a paid app but has fantastic reviews. I use it and love it.
Vignette, or FxCamera for that matter, is definitely NOT the type of camera application that I'm looking for. I'm looking for camera apps that give various camera controls like ISO, white balance, exposure, contrast, sharpness, and preferably compression ratio. It would be great if there were apps that provides shutter speed and aperture settings, but I suppose these two settings are harder to implement die to hardware differences.
So far lgCamera seems to be the most promising... Camera 360 has much better UI, but does not offer as many camera controls as lgCamera.
tsekh501 said:
Vignette, or FxCamera for that matter, is definitely NOT the type of camera application that I'm looking for. I'm looking for camera apps that give various camera controls like ISO, white balance, exposure, contrast, sharpness, and preferably compression ratio. It would be great if there were apps that provides shutter speed and aperture settings, but I suppose these two settings are harder to implement die to hardware differences.
So far lgCamera seems to be the most promising... Camera 360 has much better UI, but does not offer as many camera controls as lgCamera.
Click to expand...
Click to collapse
lgCamera is promising, but it has it's problems with freezing videos - never quite sure if when you stop recording it will be able to save the video :-( - plus it cannot record in stereo :-(
let´s starting a petition ro getting hipstamativ on android.
it´s nothing than the most awesome camera.app out there.
http://hipstamatic.com/the_app.html
Glotzeulor said:
Camera 360 works fullscreen. You will just have to change the picture resolution. It's a great replacement for the sense camera.
Sent from my HTC Sensation Z710e using Tapatalk
Click to expand...
Click to collapse
But with Camer 360 Ultimate this will not work. I changed the resolution and nothing happened. It was still not fitting the screen (no fullscreen).
rogermiet said:
But with Camer 360 Ultimate this will not work. I changed the resolution and nothing happened. It was still not fitting the screen (no fullscreen).
Click to expand...
Click to collapse
Same problem here with atrix
The lgcamera app def takes better pictures imo. I was taking pictures back to back and can def see the difference.
Sent From My EVO3D
rogermiet said:
But with Camer 360 Ultimate this will not work. I changed the resolution and nothing happened. It was still not fitting the screen (no fullscreen).
Click to expand...
Click to collapse
Are you using a downloaded apk? If so then turn compatibility off within spare parts, reboot your phone and try the app again.
The thing i'm looking for is a camera with manual focus not the ****ty touch to focus crap which htc seem to deem acceptable or for that matter, 360, zoom, vignette or any of the others i've tried, no camera seems to offer manual zoom, like a slider or a dial.
Pretty bad when you want to take a pic up close, using macro doesn't always work.
lokhor said:
There's a market app called lgcamera that has been recommended to me. Going to try it out today. It also has a camcorder that supports higher bitrate video and in mp4 format instead of 3gp.
Click to expand...
Click to collapse
Great app, thx for the tip!
Glotzeulor said:
Camera 360 works fullscreen. You will just have to change the picture resolution. It's a great replacement for the sense camera.
Sent from my HTC Sensation Z710e using Tapatalk
Click to expand...
Click to collapse
I tried to do so, changed resolution to 3264x2448, restarted app, but can't get it to work full screen :/
Same problem here with my Sensation.
With the new roms based on ICS seems that the problem is solved (Camera360 runs full screen).
Two months ago, or more, I sent an email to the developers but they have not done anything.
I'm testing CameraPro that has enough advanced options.
Use MIUI rom... it has a decent camera. Here are a few pics taken with it... the one pic is the same but in night and day.

[MOD] ZeroCamera One S | V3.3 | JPG100 | Volume Shutter | 18-JAN Updated]

UPDATE 18/01/13 :
V3.3 ( For roms with JB 3.16 base )
-----------------------------------------------------------------------
* Fixed audio bitrate and channels. Thanks lthawker
-----------------------------------------------------------------------
This camera is based off lyapota's - One X HTCCamera JB Plus, Extrim edition. Thanks for the awesome camera.
http://forum.xda-developers.com/showthread.php?t=1925013
I compared the code of the One S and X cameras and it was 99% the same. I have added the few code changes and also some images had to be resized for the One S.
40/30/20 Mbps are now selectable from the settings menu of the camera.
Image Non Forced and Forced 100% is the same.
Video Auto mode = 30 Mbps
Image Quality non forced = 100%
UPDATE 05/09 :
V2.3 ( For roms with 2.31 base, eg ViperOneS 1.1 )
-----------------------------------------------------------------------
* Added optional Volume+Up Camera Shutter ( in Camera app only. Normal functionality when not using Camera )
* Fixed JPEG 100 bug. Thanks abo_mara7
* All in one installer. Choose from
Quick test I did. I zoomed in on my monitor and took some video, these are two screenshots from the stock camera and 40mbps. Tried to keep the zoom level the same to make it a fair test.
http://s8.postimage.org/b6niv6vat/10mbps.png
http://s8.postimage.org/bkouusfed/40bmps.png
Download
ZeroCamera V3.3 / for JB 3.16 base roms
Download
ZeroCamera V2.3 / for 2.31 base roms
Download
ZeroCamera V1.21 / for pre 2.21 base roms
Download
What the diff between 20 n 40?
Sent from my HTC VLE_U using Tapatalk 2
x1tyme said:
What the diff between 20 n 40?
Sent from my HTC VLE_U using Tapatalk 2
Click to expand...
Click to collapse
err 20Mbps and 40Mbps bitrates
OMG. I've waited so long for a mod like this. Will try tomorrow!
Sorry for my noobness but I'm guessing the bigger the number the better the quality of the picture will be?
Sent from my HTC VLE_U using xda premium
l3g3nd.k1ll4h said:
Sorry for my noobness but I'm guessing the bigger the number the better the quality of the picture will be?
Sent from my HTC VLE_U using xda premium
Click to expand...
Click to collapse
You got it.
you'll need camera.apk modding to remove caps (but it's very simple)
media_profiles is not used at all, so video bitrate will be 10mbps with this mod.
i was trying to hack some camera libs to have higher res on slow motion recording before release. I got some problems and only 800x480 is working at 4X recording, it's almost impossible to debug *.so libs, if someone can help me i'll be happy to learn (i can do 2x slow motion recording but 720p is not working like HTC Sensation, only 800x480 at 4X)
pirlano said:
you'll need camera.apk modding to remove caps (but it's very simple)
media_profiles is not used at all, so video bitrate will be 10mbps with this mod.
i was trying to hack some camera libs to have higher res on slow motion recording before release. I got some problems and only 800x480 is working at 4X recording, it's almost impossible to debug *.so libs, if someone can help me i'll be happy to learn (i can do 2x slow motion recording but 720p is not working like HTC Sensation, only 800x480 at 4X)
Click to expand...
Click to collapse
Your wrong on this mate.
Axiom could use something like this.
Posted using HTC One S using TapaTalk...
pirlano said:
you'll need camera.apk modding to remove caps (but it's very simple)
media_profiles is not used at all, so video bitrate will be 10mbps with this mod.
i was trying to hack some camera libs to have higher res on slow motion recording before release. I got some problems and only 800x480 is working at 4X recording, it's almost impossible to debug *.so libs, if someone can help me i'll be happy to learn (i can do 2x slow motion recording but 720p is not working like HTC Sensation, only 800x480 at 4X)
Click to expand...
Click to collapse
I don't pretend to know what I'm talking about, but trying the 40 mod gave me a bit rate of 39Mbps so I'm guessing you're mistaken. Tried the twenty but still had 13Mbps (same as 'stock')
The 40 only recorded for 11 seconds then froze. The file still saved though.
Sent from my HTC One S using xda premium
Wow, this sounds exciting. I was a bit let down when they did a match up between the Galaxy S III and the One S/One X video recording comparison. The One series video seems noticeably inferior and exhibit what seems to be some choppiness. Hopefully this mod will make the One S bar none the best camera phone (well pure view and N9 will still be better). Now my other grip with the One series camera is the overuse of filtering like sharpness and over saturation. Hopefully there will be a mod to solve that issue.
raikesy said:
The 40 only recorded for 11 seconds then froze. The file still saved though.
Click to expand...
Click to collapse
Yeh I've noticed, sometimes happens when going into the camera app too soon after boot up. If you try it again is it ok?
raikesy said:
Tried the twenty but still had 13Mbps (same as 'stock')
Click to expand...
Click to collapse
Just tested 20Mbps and getting around 19. I think it depends whats in the scene, if you tax it enough and shake the camera I think you will get 20.
Stock I think 10Mbps is the limit.
good news then! i found bitrate values hardcoded in camera.apk too so i was thinking that they was capping media_profiles
What about higher bitrates on 720p? The video would be smaller and the 1s just has a qHD screen, so 1080p is useless, unless you watch them on a FullHD TV.
This is a great mod though!
is this for Sense or Vanilla Roms? or should it work on both of them?
This should work with no issues coming off a fresh wipe right?
This mod also works with One X?
c1-p8 said:
This mod also works with One X?
Click to expand...
Click to collapse
Not so much, since the One X is xhdpi....their may not be the correct images available for it to work...One S is hdpi
itsmikeramsay said:
Not so much, since the One X is xhdpi....their may not be the correct images available for it to work...One S is hdpi
Click to expand...
Click to collapse
Zeroprobe but can easily fix it... right?

[Q] Rooted my phone have some camera questions.

When ever I take pictures their are black bars on the side of the pictures. Also when I'm in the camera app everything looks like it has a weird filter but when I take the picture they are clear.
RAdical_Future said:
When ever I take pictures their are black bars on the side of the pictures. Also when I'm in the camera app everything looks like it has a weird filter but when I take the picture they are clear.
Click to expand...
Click to collapse
Which ROM are you using?
Rom I'm using.
Fuzi0719 said:
Which ROM are you using?
Click to expand...
Click to collapse
Im using CM 9.1 by scverhagen.
Yeh I have the same rom as you CM9 R8 and to me the image on the screen isnt as clear but when you take a pic it seems the resolution turns out better than you expected. I also noticed that the camera button on the side of your phone doesnt work which is lame I really liked using that for picture taking it was handy but oh well cant be perfect for a rom. If you want also do what I did, I just downloaded other camera and video apps. Way better than the stock app and on the screen they show up as better resolution than the stock app
Yeah, unfortunately the camera apps that come with CM/AOKP ROMs are very lacking on this phone, compared to the stock camera app. There are some third-party apps that do reasonably well, though. I like Camera360.
RAdical_Future said:
When ever I take pictures their are black bars on the side of the pictures. Also when I'm in the camera app everything looks like it has a weird filter but when I take the picture they are clear.
Click to expand...
Click to collapse
The black bars on the side is because the phone has a 16x9 screen but the picture is being taken in the 4:3 ratio. It's the same thing as watching an old tv show on a new widescreen tv.
Talking about our camera, has anyone figured out a way to port our camera to Cyanogen? That's the only thing that's stopping me from flashing a Rom, considering I've had this phone for a year.
Nas Escobar said:
The black bars on the side is because the phone has a 16x9 screen but the picture is being taken in the 4:3 ratio. It's the same thing as watching an old tv show on a new widescreen tv.
Talking about our camera, has anyone figured out a way to port our camera to Cyanogen? That's the only thing that's stopping me from flashing a Rom, considering I've had this phone for a year.
Click to expand...
Click to collapse
CM will never run a Sense camera because of framework/libs
Sent from my HTC Evo Shift 4G using RemICS V-2.0
Give ICS Camera or Camera JB+ a try. They are definitely fitting replacements for stock and you'll be very happy with results.
Sent from my myTouch_4G_Slide using xda premium
I've tried both apps but have serious issues with those and the included ICS or JB camera apps. So far none have worked to record video.
Sent from my myTouch_4G_Slide using xda app-developers app
1080 does not work on anything but a GB ROM with this phone, make sure that at most 720 is selected...
Sent from my Transformer Prime TF201
rorytmeadows said:
Give ICS Camera or Camera JB+ a try. They are definitely fitting replacements for stock and you'll be very happy with results.
Sent from my myTouch_4G_Slide using xda premium
Click to expand...
Click to collapse
Well I'm running the RemICS_UX port from the HD2. Not bad of a rom. It's over samsungized but I'll find a theme for it. It claims to have the 1080p recording so lets see how that works out.
I personally don't care for all the "features" of the stock CAMERA app since I can always download a 3rd party app that will be on par. I only use night mode, macro and automatic. My main concern is 1080p recording (and that the mic doesn't sound so crappy).
Nas Escobar said:
Well I'm running the RemICS_UX port from the HD2. Not bad of a rom. It's over samsungized but I'll find a theme for it. It claims to have the 1080p recording so lets see how that works out.
I personally don't care for all the "features" of the stock CAMERA app since I can always download a 3rd party app that will be on par. I only use night mode, macro and automatic. My main concern is 1080p recording (and that the mic doesn't sound so crappy).
Click to expand...
Click to collapse
I believe the 1080 not working has more to do with HTC Android drivers for the camera, rather than the available choice in the software.
Sent from my Transformer Prime TF201
rorytmeadows said:
I believe the 1080 not working has more to do with HTC Android drivers for the camera, rather than the available choice in the software.
Sent from my Transformer Prime TF201
Click to expand...
Click to collapse
Yeah, trying to record in 1080 makes the button useless. I'm starting to feel that the phone doesn't have real 1080p feature. My last phone was a Huawei Comet/U8150 and I had a very similar issue with the camera. Turned out that the phone had a 2.0 megapixel camera that was made to look like a 3.0 by the stock software. It was a sorry excuse of a camera.
I'm going to have to think about this one. I wonder if we could somehow port or rewrite a code to get 1080p working. Sadly, I know nothing about android development. My main thought was to sit the htc camera apk on top of cyanogen but I've read up that it's not that simple.... which I find weird considering someone has the beats by dre stuff on their mytouch4g slide rom.
Its not to complicated to understand but it is to fix. You see it does have true 1080 recording and it still one of the best cellphone cameras to date. Thing is if you want to run a custom ROM that is not based of the original T-Mobile release then some things may not be the same, the camera being one.
Unless you can get ahold of the proprietary camera drivers or write you're own you will be missing much of what is available. And any app based off the HTC framework will not work of different, such as cyanogen or even aosp.
Even phones that have been nearly torn apart by some super smart people doesn't mean that everything imaginable is possible or at least not easy. Try running sense on a Samsung phone, not too easy. Just saying be happy for what you have unless you know a sneaky backdoor to these issues that no one has thought of yet
Sent from my Nexus 7 using xda premium
I knew it had to lay within the coding.
I already imagined that it would be hard. Such a shame...

[BOUNTY] Port MIUI camera to CM 12.1/13 rom

I dont know about you guys but I belive the MIUI camera is excellent, it has fast shutter speed and image processing. I have tried a lot of camera apps when I was on CM rom and none of them could match it.
Other members are welcome to donate (I will update the post) and to start of I will be putting $10 in the bounty for anyone who can port the MIUI camera to CM.
@xiaobai112220
@ekkilm
Donations:
Me $10
kar5ten 10€​
ermacwins said:
I dont know about you guys but I belive the MIUI camera is excellent, it has fast shutter speed and image processing. I have tried a lot of camera apps when I was on CM rom and none of them could match it.
Other members are welcome to donate (I will update the post) and to start of I will be putting $10 in the bounty for anyone who can port the MIUI camera to CM.
@xiaobai112220
@ekkilm
Click to expand...
Click to collapse
Have you tired this?
Snapit Lenovo Super Camera. Just exelent quality. I recommend this camera app for now.
I would put another $10 in
ekkilm said:
Have you tired this?
Snapit Lenovo Super Camera. Just exelent quality. I recommend this camera app for now.
Click to expand...
Click to collapse
There are another options, as the OPO cam that has been ported to many devices, or the Cyanogen Camera, that it's which I have been using till now. That last is very good, it has many options to configure, including HDR and Slow-Mo video recording in HD. It's in another thread of xda.
http://forum.xda-developers.com/moto-g/themes-apps/apps-cyanogen-camera-gallery-t3187041
Regards.
ekkilm said:
Have you tired this?
Snapit Lenovo Super Camera. Just exelent quality. I recommend this camera app for now.
Click to expand...
Click to collapse
I've tried one and its good but sadly shutter speed isnt as fast as miui. There are about 20 different apks which one did you choose?
ermacwins said:
I've tried one and its good but sadly shutter speed isnt as fast as miui. There are about 20 different apks which one did you choose?
Click to expand...
Click to collapse
For now I've been used Snapit Lenovo super camera.
ermacwins said:
I've tried one and its good but sadly shutter speed isnt as fast as miui. There are about 20 different apks which one did you choose?
Click to expand...
Click to collapse
ekkilm said:
For now I've been used Snapit Lenovo super camera.
Click to expand...
Click to collapse
I flashed the one from here (ver 5.8 ) and its working great, with very good picture quality (i would say its like stock miui camera, only some options dont work). What i find very cool is the "moving people" Option. It realy takes clear pictures, even if someone is moving fast (good when you have a little child, which never stands still ). With this Option i get shuttertimes faster than 1/300 sec.
I only miss the HDR PRO Option from miui camera.
Thanks @ekkilm for the tip and the link in your forum on your Website
rob rich said:
I flashed the one from here (ver 5.8 ) and its working great, with very good picture quality (i would say its like stock miui camera, only some options dont work). What i find very cool is the "moving people" Option. It realy takes clear pictures, even if someone is moving fast (good when you have a little child, which never stands still ). With this Option i get shuttertimes faster than 1/300 sec.
Click to expand...
Click to collapse
Thanks, I was on 3.6 and thought I'll try 5.8 and I can confirm the shutter speed is definitely faster than 3.6 so I'm happy with that. Which rom you on now?
After a few tests, indoor at lowlight, miui takes clearer photos I.e. better focused.
I'll try this when I try cm at some point but I'm still hoping for a miui camera port.
ermacwins said:
Thanks, I was on 3.6 and thought I'll try 5.8 and I can confirm the shutter speed is definitely faster than 3.6 so I'm happy with that. Which rom you on now?
After a few tests, indoor at lowlight, miui takes clearer photos I.e. better focused.
I'll try this when I try cm at some point but I'm still hoping for a miui camera port.
Click to expand...
Click to collapse
I'm on TS Cm12.1, but I'm going to flash their CM13 now
Can somebody port Xperia Z4 camera?
I would also donate 20$ via Paypal for the port.
It's not about the handling/design of the MIUI camera app. It's more about the (probably closed-source) libraries to use all features of the Sony camera/lense and to get the best picture quality.
Try the oppo camera: it is the best. Dont forget install plugins. http://forum.xda-developers.com/oneplus-one/themes-apps/port-coloros-camera-cm11s-t3030369
bezke said:
Try the oppo camera: it is the best. Dont forget install plugins. http://forum.xda-developers.com/oneplus-one/themes-apps/port-coloros-camera-cm11s-t3030369
Click to expand...
Click to collapse
thanks for recommendation
for me it's far better than MIUI or lenovo super camera, as it doesn't use so aggressive noise reduction which is especially visible at higher ISO levels - for me, MIUI camera smears away way too much detail.
also, the shutter speed seems very good
_________
EDIT: a bug found!
after you run oppo camera, all camera apps use only warmer flash, the colder one stays off, some camera apps don't enable the flashlight at all (even if you force the flash) - like CameraMX. only the system torch works properly
can't tell what's the reason, but as soon as you uninstall the oppo camera app, both leds return to normal work
kevinkvothe said:
There are another options, as the OPO cam that has been ported to many devices, or the Cyanogen Camera, that it's which I have been using till now. That last is very good, it has many options to configure, including HDR and Slow-Mo video recording in HD. It's in another thread of xda.
http://forum.xda-developers.com/moto-g/themes-apps/apps-cyanogen-camera-gallery-t3187041
Regards.
Click to expand...
Click to collapse
The Cyanogen Camera does seem to work very well. Thank you for pointing me there. Shutter sound can not be disabled, but that can be fixed.
How did you manage to get slow-motion working?
Will try Opo Cam as well.
bezke said:
Try the oppo camera: it is the best. Dont forget install plugins. http://forum.xda-developers.com/oneplus-one/themes-apps/port-coloros-camera-cm11s-t3030369
Click to expand...
Click to collapse
Maybe you could point us in a direction where we can get the plugins? They have been taken down due to DMCA claim.
Opo cam is not that good. some plugins crash the app, overall it is not as good as Cyanogen Camera imo. Are there any other good alternatives?
And yes, would be nice if miui cam got ported.
Full Potential
I was looking through some files from the EU weekly ROM and found some interesting files. As you can see in the image there is files in system/vendor/lib such as imx258_HFR_120. HFR stands for high frame rate and 120 suggests 120fps recording while the stock camera app for me seems to record at about 49 fps at 720p. The specifications of the camera sensor found here: http://www.sony.net/Products/SC-HP/IS/sensor1/img/products/ProductBrief_IMX258_20151015.pdf say the sensor is capable of 1080p at 60fps. Can someone please try unlock the full potential of our camera?
darer99 said:
I was looking through some files from the EU weekly ROM and found some interesting files. As you can see in the image there is files in system/vendor/lib such as imx258_HFR_120. HFR stands for high frame rate and 120 suggests 120fps recording while the stock camera app for me seems to record at about 49 fps at 720p. The specifications of the camera sensor found here: http://www.sony.net/Products/SC-HP/IS/sensor1/img/products/ProductBrief_IMX258_20151015.pdf say the sensor is capable of 1080p at 60fps. Can someone please try unlock the full potential of our camera?
Click to expand...
Click to collapse
Isn't it used for the slow motion? The full HD is indeed consistent at 29-30 fps and 4K videos are nearly half of it, not sure about 720p though.
That's what I mean, I only get 49fps at slow motion and other camera apps can't record at higher than 30fps.
i'm using cm and i miss a feature from my previous smiui.
in smiui i could take pics while pressing volume down.
i like to take a quick photo without wasting time.
i looked around and just found those spy stuff things but nothing like the miui feature.
would it be possible to port this with the original camera ?
i would also donate some money (10€ or more) for a port of these features.

Categories

Resources