yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] |ErosizeD|:
READ INDEX FIRST, TO KNOW WHERE IS LOCATED EVERYTHING.

First of all this mod can't break your phone, so stay calm, if everything not working, maybe you did something wrong, or maybe i did something wrong haha :p

MOD Information. ( Small info about what things i modified, and what do )

MOD Explanation for every rom. ( ensure to read this, there are few mods for each rom. )

MOD Downloads. ( the downloads from my host, there must be all the zips, usually flasheable )

MOD Comparisons. [ Videos and Photos with the mod ]

Extra Stuff. ( Tutorials, Video-Tutorials, Questions and answers...etc )

Sense 3.5

Actually.

Better image quality ( compression set to 0% )

Higher bitrate values ( 10mbps up to 40mbps practically BluRay DVD quality in terms of bitrate ) nothing is more clear than this ;)

Generally increased FPS stability, and camera performance.

boost of 80MB.

In the Future.

Try to get working the 60FPS in any video mode.

Make few UI.

Improve a lot more the FPS performance in low light conditions.

CyanogenMOD Based

Actually.

Better image quality ( compression set to 0% )

Higher bitrate values 8mbps up to 20mbps only HD working. ( 1080 not working due kernel or system )

Better FPS

boost of 80MB.

In the Future.

Try to get working the 60FPS in any video mode.

What do you need to know before download or flash anything.

First of all, know what type of rom you have, there are 2 types.

CyanogenMOD Roms ( also miui )

Sense roms ( 3.0 | 3.5 ) is not the same, so be careful.

If you know aleardy what type of rom you have, download the mod below.

Here is the link, this link will send you to the main repository download, there you can find all the MODs.

Ensure to download the right one!!

BR CameraMOD - Sense 3.5 - v2 40mbps [Flasheable]

BR CameraMOD - Sense 3.5 - v2 20mbps [Flasheable]

THe amaze camera needs to be fixed, due misaligned icons, im waiting to have free time to fix this issue, so please be patient.

BR CameraMOD - Sense 3.5 Amaze - v2 40mbps [Flasheable]

BR CameraMOD - Sense 3.5 Amaze - v2 20mbps [Flasheable]

BR Cyanogen CameraMOD - Alpha - 20mbps [Manual installation]

Cyanogen CameraMOD is in alpha stage, so maybe is unstable, and need to be properly tested, and reported to me, thanks.

MANUAL INSTALLATION OF CYANOGEN CAMERA ON EXTRA STUFF ( BELOW THIS POST )

::: MIRRORS ( thanks to Slassh ) Multi Upload :::

CYANOGEN CAMERA MOD Audio bitrate is wrong, the right one is 130kbps 44.1Khz

Video Quality at 1080p 40mbps ( sense 3.5 )

Special thanks to Preven

[YOUTUBE]48L4cGzHtzA[/YOUTUBE]

Recomended ROMS:

If there are more roms working fine with this mod ( or kernel ) must be added here, so i need reports, thanks.

Android Revolution HD 4.X.X ( sense 3.5 )

http://xdaforums.com/showthread.php?t=1098849

HyperSensation ( CyanogenMOD )

http://xdaforums.com/showthread.php?t=1302969

MANUAL INSTALATION FOR CYANOGEN MOD

[YOUTUBE]pX390opHd04[/YOUTUBE]
[HTC Sensation] LeeDroid:
You can play with the values in /system/etc/media_profiles.xml but may be ultimately limited by restrictions at kernel level for the moment

Edit: you also need to consider potential sd I/O limitations

Sent from my s-on HTC sensation
[HTC Sensation] |ErosizeD|:
The /system/etc/media_profiles.xml only work on Android 2.2 devices ( to my knowledge )

I don't care about I/O a class 4-6-10 works very well ( y can play videos with 20mbps and higher bitrate at 1080p without buffering ) and the SGSII with about 7MB/s of writes speed can do 30mbps so i think the sensation with higher i/o its ok.

The DSP it seems better than the SGSII, so i so I think you will not have bottleneck.

About the kernel... What?

to my knowledge, the O2X SGSII don't use the kernel to control bitrate speeds.
[HTC Sensation] dipje:
historically, the media_profiles linked to settings _in the kernel_. So changing a single file would do nothing without patching the kernel too.

(The media_profiles.xml file just describes the os what to expect, but it's the kernel + radio that actually controls the DSP). This is why you need a certain kernel + radio image for the HTC Desire for instance to enable 720p recording.

Now, I have no idea if it works the same on the sensation, I have _no_ information about the internal workings of the newer DSP.

For now, trust me when I say that comparing things to the SGSII has _no_ use whatsoever. The DSPs and the way of fetching images from the sensor are completely different. Also don't expect changing a simple .XML file will make a difference. This has not worked on HTC devices before, but who knows, maybe we're lucky now.
[HTC Sensation] LeeDroid:
Bitrate can be affected by tweaking media_profiles.xml alone, in GB too, and yes, the kernel does come into it - video decoders & encoders

Sent from my s-on HTC sensation
[HTC Sensation] |ErosizeD|:
Just take a look to media_profiles... i cant see 1080p there, and any usefull information... so i think media_profiles isnt being used.

Ok, so... if edit kernel is needed, what is next? we can't do nothing? ( until become S-OFF? )
[HTC Sensation] LeeDroid:
Look again at the bottom of said xml. Even if you lift any constraints in the apk smalis they will be overidden by the limitations in media_profiles

Done a lot of development on these devices over the past few years, min/max Bitrate is defined in media profiles, along with several other "limitations"/ "min/max" values.

If additional kernel modifications are required (which is in theory possible) we would require source and s-off yes ;)

Rest assured, as soon as the source is up on HTC developers, a custom kernel is my number 1 priority

Sent from my s-on HTC sensation
[HTC Sensation] |ErosizeD|:
Ok for now, we gonna wait.

The improvement of the camera is nessesary!! i think the sensation have a hard compression, and that was the reason why that crapy photos, and blurred videos. ( only 10mbps at 1080p and 8mbps at 720p )

thanks for the help.
[HTC Sensation] charnsingh_online:
media_profiles are only applicable to AOSP Roms and programs in the market, HTC controls everything on Sense from the Camera.apk itself
[HTC Sensation] |ErosizeD|:
Stupid answer... deleted xd
[HTC Sensation] |ErosizeD|:
Well, finally we get S-OFF, so i will download the kernel, and check if we can do something with the camera ;)
[HTC Sensation] |ErosizeD|:
Okay i managed to get it working.

i wanna make a few things more, on design of the camera, and i will show everyone.
[HTC Sensation] xl DIGITAL lx:
Nice! Great job

Sent from my HTC Sensation 4G
[HTC Sensation] |ErosizeD|:
Thanks! i'm done my best! ;)

Updated the first post with screenshoots and more information about the MOD.
[HTC Sensation] mayesmwhite:
Front Camera

Is there a way to improve the brightness/contrast of the front camera also? In med-low light levels when video chatting its completely dark.
[HTC Sensation] |ErosizeD|:
I'll take a look, but i think this is more from kernel, and not from the APK.
[HTC Sensation] w3by:
Here are two videos, first one with the mod and the second one without it - I hope tomeu won't mind if I post them :)

[YOUTUBE]RGX_VmWDzls[/YOUTUBE] [YOUTUBE]wUWckj0ynIo[/YOUTUBE]
[HTC Sensation] itsmikeramsay:
Can't wait to mess with this. I'm getting me and my fiancée probably two 16GB class 10 cards so we definitely take advantage of this.
[HTC Sensation] xl DIGITAL lx:
It actually looks way better. Can't wait to try it out on my phone :)
[HTC Sensation] dipje:
If you can (and may) can you upload your captured videos somewhere? The bitrate-improvement is visible, but youtube destroys it quite alot because 720p youtube has pretty low bitrate by itself. From the screenshots tomeu posted I'm actually very interested in the stream the Sensation creates, and I take back any negativity about it being possible :)
[HTC Sensation] BigBoppa:
Of course we can wait. Do your work and relax. :)
[HTC Sensation] dazzlet:
can i use this on the 2.3.4 roms the one from baadnewz or robocik ? and if so do we just implement it in the same way thanks
[HTC Sensation] LeeDroid:
The low light issues are specific to small camera apertures, the camera attempts to compensate by adjusting the colours, nothing to do with the kernels ;)

Sent from my s-off HTC sensation running LeeDrOiD Sensational
[HTC Sensation] joshdu1125:
i love the mod and thank you very much for your work but is it possible to release a version with the original icons?
[HTC Sensation] evinkay:
It's very easy to do using an app called Ninjamorph. You can make the icons (whichever icons, even the shooting button) whatever you'd like.

Here's the link https://market.android.com/details?id=stericson.ninjamorph.free
[HTC Sensation] |ErosizeD|:
Yea i know that also! ( because low light photos looks really bad on my SGSII also, but on N8 are much better )

But modifying the kernel, you can improve some things. or i'm wrong?

And i can say there still a limitation because i cant go higher than 20mbps on video, dont work on any mode, if you go far than 20mbps the camera will crash.

And the kernel doesnt seems to have nothing to do with this.
[HTC Sensation] reaperofwaywardsouls:
Hey tomeu0000, what type of HDR are you testing? One that is just tone-mapping (psuedo), or one that combines 2 or more photos with different exposures? - or some combination of the two?

Or is it a port of the HDR feature on the HTC mytouch 4G slide?

Thanks, and great mod by the way! :)
[HTC Sensation] dlads:
Will this fix the close up camera focus?

If you don't know what i mean, hold your camera close up next to something, around 2-4 inches away and focus, you'll notice it find the perfect focus and then keep trying, eventually stopping to focus when it's all blurry, it's a real pain in the ass as it obviously has the capability to do it?

Any ideas?
[HTC Sensation] bachviet:
Try to do that in macro mode instead of auto.
[HTC Sensation] |ErosizeD|:
I'm trying to port the HDR fron the desire HD.

Actually you can use the Desire HD APK because use the same structure, and the same sensor.

But i'm having some complications.... like mp4 container...
[HTC Sensation] reaperofwaywardsouls:
Oh I had no idea that the Desire HD had a stock HDR feature...shows what I know.

Looking forward to the next update! Awesome work!
[HTC Sensation] SYST3M4T1C:
once the original UI is available with this mod, can you add it to the first post please
[HTC Sensation] dlads:
I've tried every setting the phone has on offer, macro doesn't help, try it yourself.
[HTC Sensation] reaperofwaywardsouls:
It works in macro mode for me like 15% of the time. If I'm lucky. For the time being I just try to take the pic when the focus locks on for that half of a second...:rolleyes:
[HTC Sensation] |ErosizeD|:
The autofocus is a problem, but i dont know if on the apk there is something to modify this.

When i have finished the 3 differents UI, i will publish the standart ( without UI )
[HTC Sensation] Jimmah555:
Hey OP, is there any way to make the default focus point/box in the center of the frame? Thanks for your work :-)
[HTC Sensation] |ErosizeD|:
Can you post an image? because yesterday i modified the default image.
[HTC Sensation] Jimmah555:
I turned on the grid to show what I mean. The auto-focus box is misaligned to the left. I didn't tap the screen to focus either :-)

Just wondering if this is something that is easily fixed or modded on my end. Again, thanks for your awesome work.
[HTC Sensation] |ErosizeD|:
Oh! that was supressed!! download the new mod!

That is the beta mod ;)

Added some stuff on the main post like images of the UI, check it, and you see how is the new UI.

2 More are coming, i'm working on it.
[HTC Sensation] Hgaara:
Wait you updated the application again? Not talking about the one that came after the beta release.
[HTC Sensation] Jimmah555:
I just flashed one this afternoon from the OP. Should I clear data or something to get it to install properly?
[HTC Sensation] |ErosizeD|:
Nope, just install and reboot, that should work.
[HTC Sensation] |ErosizeD|:
No, before the v0.1 there is no update yet!

Soon i will upload the 0.2 with some UI modifications more, and image quality "improved" a bit more.
[HTC Sensation] Jimmah555:
I installed vis CWM while I was at work. I'll do the manual push this time and see if it works. Thanks for the prompt responses!
[HTC Sensation] bachviet:
Will v0.2 work with the new 2.3.4 ROM's?
[HTC Sensation] Jimmah555:
Alright got everything to work finally. I used root explorer to copy the new files, but icons didn't show after reboot. Changed permissions on the files, rebooted, and everything works perfectly!

Again, great job with this MOD. I can't thank you enough for all of your hard work.
[HTC Sensation] |ErosizeD|:
Actually works on 2.3.4 ROMS, ( im under insercoin right now ).

The only seems to not work is the image parameters selectors, just looks like the original.

But all the other stuff works.

Thanks, now i'm working on 2 Ui more. Minimalist style, wite and black.

And i whant to improve the quality of the mod ( the design of the images )

But i'm a bit bussy right now
[HTC Sensation] reaperofwaywardsouls:
Great work on the new version, everything works really well. The only thing I'd change (if possible and if you have the time, of course) is that the new grid is pretty distracting.... it looks cool but its really in your face. I think it would be awesome if the white lines of the new grid were a bit more transparent and not as bold. But I'm just being picky here...

Awesome work as always, cant wait until the other features you're working on are added!
[HTC Sensation] Hgaara:
I kinda agree on this. I used it for awhile but then I kept thinking I was a fighter pilot. Still looks awesome though.
[HTC Sensation] fmedrano1977:
Is this the mod being used by some on the roms.

Swyped on Tmobile USA Sensation
[HTC Sensation] |ErosizeD|:
Thanks to all!

If you can specify a bit more, what do you mean with that? the same grid but a bit more transparent?

if is that, i can put that in the next update, but first i whant to make the mp4 output working... i'm still looking for help, its a bit complicated, because i'm new on this world.
[HTC Sensation] zmfl:
Great mod!

Yes, the grid could be more transparent :)

And maybe an option to turn the grid on/off?

Thanks!
[HTC Sensation] Billyvnilly:
I like the Grid, Perhaps the side lines dont need to take up so much space (shorter), more transparent, would be ideal.

I was just in a Tmo store playing with a myt4g slide. Panorama, HDR, Burst, Portrait, Macro were all awesome features. I know we can't have it all bc of different hardware, but I will be really happy when you incorporate panorama and hdr.
[HTC Sensation] reaperofwaywardsouls:
Basically I think if the grid went to 40%-50% transparency, I would be very happy.
[HTC Sensation] |ErosizeD|:
As you wish! now its a bit better, take a look.

You can't apreciate here, but its at 50% opacity, and a bit shorter.

If someone have any other idea for the grid, you only need to ask ;)

Its done, and will come with the next update, i think soon, like the mp4 container and the ultra high bitrates.

Sergio1987 is helping me with this, because there is something "forcing" the video on 3gpp instead of mp4 and i dont know where it's placed, and i think he knows where.
[HTC Sensation] reaperofwaywardsouls:
Looks good!
[HTC Sensation] CrazyAngel1990:
but now it's compatible with 2.3.4?
[HTC Sensation] |ErosizeD|:
Yes, if you install correctly of course.

UPDATE: Added more previews of coming UI. ;) check and coment if u like o dislike.
[HTC Sensation] carlotta71:
v2

Hello I wanted to know but when the v2 release
[HTC Sensation] |ErosizeD|:
Soon as i get the mp4 working ;)

Maybe this week, not sure at all!
[HTC Sensation] carlotta71:
v 2

hello because I have certainly not responded at all! maybe my translation is wrong or maybe I do not want to fail but it will pay?
[HTC Sensation] carlotta71:
v2

hello because I have answered that perhaps will not be paid for all or maybe my translator to translate wrong?
[HTC Sensation] civicvx94:
I haven't tried this yet (will after work tonight) but it would be awesome if there was an option to take a picture with the volume button..
[HTC Sensation] aznpr1de808:
wow great quality pics with this. Thanks for the hard work dev :D
[HTC Sensation] jmcdonald58:
I agree this is soo much better than stock great work
[HTC Sensation] reaperofwaywardsouls:
This would be a very useful feature...

I wish that the capture button could be mapped to anywhere other than on the screen as when I finally seem to steady my hand the actual pressing of the capture button usually gives me a blurry shot.
[HTC Sensation] |ErosizeD|:
Yea but... actually the vol button are the zoom in out...

You loose that feature if you whant to take the photos with that!

( and i'm not sure what i need to modify )
[HTC Sensation] exb0:
Wow 50 mbps. Can't wait for that and the stock UI. ( sorry but you know, some of us like it stock. )
[HTC Sensation] BigBoppa:
We can zoom by touchpanel slider. No need for volume button to zoom.

I would like to take picture by volume (down) so much!

we can (???) evaluate this:

- Volume up: take picture with flash

- Volume down: take picture with no flash

- old touchscreen button: take picture with flash preset (on/auto/off)

Thanks for the awsome work!
[HTC Sensation] civicvx94:
Yeah that would be amazing if it was possible..

Personally, I would be happy with just either volume button to take a picture (not essential for flash/no flash imo) and give up the zoom hard button functionality.. I rarely zoom and when I do I use it on screen, i think a hard capture button would be much better than a hard button for zooming.

Either way, thanks for the great mod! :)
[HTC Sensation] |ErosizeD|:
Be patient when i finalize the UI and the mp4 output i will put the v1 with all the UI ( and the stock one ).

now i stay with 40mbps and i can say, 40mbps is the limit, 50mbps makes no sense in quality tersm because the optics are not soo god...

So the mod will be of 40mbps.

If i can't make the bitrate selector ( its hard to me but mdeejay doesnt whant to help and he knows some things like this and mp4 output )

Its hard to say, because i'm new in this world, and i understand some sintaxis on the apk.

I will try modifying some stuff, if not i will ask for help to someone, but some of the "best" doesnt whant to help with my mod.

again excuse my bad english, but i whish you will understand
[HTC Sensation] erdemdengel:
is it possible to use cameraMod with panaroma feature at the same time?
[HTC Sensation] BigBoppa:
i´m an absolute newbie to this android stuff and can´t help at all.

(But i´m ready to learn and maybe in a few years... :D)

And your english is very well to understand, better than mine i think :o
[HTC Sensation] Jimmah555:
I am a big supporter of having a hard button to take a picture. When taking a picture of me and my daughter or someone sitting behind me that's wearing something stupid, it's tough to tap the screen blindly. I rarely use the zoom, but when I do, I aways use it on the screen.

Again, thanks for the awesome work.
[HTC Sensation] Hgaara:
To be honest, that's personal preference cause i totally prefer to zoom with the volume key because the slider doesn't seem as accurate to me as the volume key.

Maybe give us the option of choosing either one.
[HTC Sensation] cyrarchy:
great job dude! cant wait for the mp4 output support!
[HTC Sensation] |ErosizeD|:
i let you here guys, the videos at 40mbps!! ****ing amazing!!!

QHD = http://www.megaupload.com/?d=2VD9MOAE

HD = http://www.megaupload.com/?d=RBTHHXKX

FHD = http://www.megaupload.com/?c=premium&l=1

Enjoy!
[HTC Sensation] Jimmah555:
+1

This would be the ideal solution of it's not too hard.

Also, I haven't looked, but is there a way to donate to the OP for his work? I'd like to at least buy the guy a beer (if he drinks that is).
[HTC Sensation] alibox87:
flash

why my flash is not working after i flash this mod.
[HTC Sensation] luismax:
Good job tomeu.
[HTC Sensation] |ErosizeD|:
No, just a thanks are sufficient, save the money for you anyway thanks ;)

I made this for everyone, to have a good camera on the phone.

Just i whant make this better, but some developers only whant that, a beer...

I dont say the names of "that" developers, that doesnt whant to help , because doesnt whant to loose credits...

poor developers...

only work the first time on any rom...
[HTC Sensation] Tone503773:
hey tomeu0000 big fan of your work. I was trying to watch the FHD video by the link you posted and for some it is not coming up. Do you still have it up? (same thing happened with HD)
[HTC Sensation] |ErosizeD|:
Its megaupload, its up again, but somethimes doesnt work, just wait and try later.

The same happened to me few times.
[HTC Sensation] carlotta71:
cameramod

hello tomeu0000 :D are really happy with your commitment to modify the camera and video camera no one ever did a really good camera sensasion know that I have already asked but to try your impassiente cameramod between what release version you will be able to have a second installation CWM way through I hope I write with a translator to understand thanks again
[HTC Sensation] vahid-hetfield:
Hey guys

who is know this mod works on P3D Neon 4.0 rom? cause im try on P3D Neon 3.0 but my camera icon was Disappeared!! :(
[HTC Sensation] danz8509:
hi tomeu0000 i saw your 720hd video its amazing! what class of sd would you prefer to use for that much fps? class 10 im guessing also the fullhd video i think is only video i cant see i think i need megaupload premium to see it is that right?
[HTC Sensation] |ErosizeD|:
You need to set permissions to the camera!! read write for all!! and that shoud work!

You can try right now the mod of 40mbps its placed on my host on beta_test_only.

for 30mbps or higher you need at least a very very good class 2-4 or 6.

Because 30mbps its arround 3.75MB/s of write speeds ( maybe a little more )

And 40mbps its arround 5MB/s of write speeds, and some phones cant handle it fluently, but relax i increased the buffer and the phone use the ram, to buffer the video and with a class 2 will work good, but maybe take a biit to put the video in to the SD.

how i say, the mod v1 will come with the mp4 feature ( if i can do that! because i dont know how to manage it, and now only 1 developer is trying to help me and isnt mdeejay he knows this and more, but doesnt whant to tell me the secret... )
[HTC Sensation] exb0:
Time to add a zeiss lens :p
[HTC Sensation] |ErosizeD|:
Yea! i dont know why any phones use zeiss ( only nokia one )

That are excellent optics! this phone with zeiss will be amazing! but i think its impossible hahaha.

Anyway this phone beats most of FHD cameras in the market right now.
[HTC Sensation] Derek0228:
I am trying to download the media_profiles.xml for the new beta, but I am unable to. I click it but it just takes me to another page. :/

BTW great job man. Thank you so much.
[HTC Sensation] |ErosizeD|:
Easy thing, right click and save as, and youre OK!
[HTC Sensation] Derek0228:
Ok nice, thx, will do when I'm at a PC :)
[HTC Sensation] Docmjldds:
Awesome is a huge understatement. Absolutely superb. My thanks :D
[HTC Sensation] |ErosizeD|:
Please, someone can make acomparison, before at 10mbps and after at 40mbps?

i will apreciate that! and please dont upload to youtube due the hard compression, just upload to megaupload and i will put in to my host to stream the video.

see ya!
[HTC Sensation] valamer:
How do I download the FHD version?

Really looking forward to trying out the FHD version however the link doesn't work for me. It goes to a premium link that says "Your download attempt from IP address 115.64.114.218 did not go through. Please try again." :confused: Is there another mirror available?
[HTC Sensation] |ErosizeD|:
Mirror FIXED!!
[HTC Sensation] Hgaara:
I take it FHD means full hd? Meaning 1920x1080p resolution?
[HTC Sensation] |ErosizeD|:
Yes FHD = Full High Definicion = 1080p
[HTC Sensation] exb0:
Zeiss is amazing! I had a few :p but sadly sold it. Of course mine is for my dslr.
[HTC Sensation] Masrawy:
Does this mod works on the new 1.45 base (Android 2.3.4)? I'm using ARHD 2.1.0 now

thanks!
[HTC Sensation] HashTagHell:
I was wondering if anyone wouldn't mind making an update zip?