yashsingh1/xdaforums huggingface dataset:
[HTC One X] electronizer:
It actually makes it worse like a gazillion times, there is just too much noise...But the image looks sharper by the way
[HTC One X] ivicask:
Hm, thats weird, did you saw my pictures examples i provided? Do you find them also with too much noise? Also did you try turning off Image auto enhancement in camera menu.And also use all contrast, sharpness values and others on default. (or -1 sharpness)

But if nothing helps just flash back original libs no big deal :)
[HTC One X] torque2584:
this is the pic which i just clicked from the front camera
[HTC One X] ivicask:
Ah your talking about front facing camera, well that's very very bad, but i dont have this problem on my phone, looks clear and without any noise.
[HTC One X] SM-Cryterions:
Brother! Congratulations! Saw a change in the pictures with the same resolution of 3264x1840 1.82MB to 3.51Mb in size. Striking improvement in the photos! Thank you! :laugh::good:
[HTC One X] pisc3s1203:
is your camera dirty?
[HTC One X] Qwerty123 \m/:
To user facing bad ffront camera probles, clean the camera ;)

Use earbud, will make it WAYYYYYYYYY better.

trust me
[HTC One X] tessut:
To the ones who have problems with sseing a diffrence with this mod: flash it twice
[HTC One X] killa12222:
Flashed onto ViperX 3.7.4 and works great. File sizes are about double (5-7mb). Did a comparison but there wasn't a huge difference in quality for me.
[HTC One X] lesscro:
@ vicask

Did you try the lastest Camera and gallery from 4.3 build ?

Does your librairy can be used for new camera app ? i see data/data/new camera google / some librairy and find picture really good...

i have already flashed your mod and have some previous integration from lyapota and Bravia 2 compression feature and enhancement using build.prop too...

Cheers
[HTC One X] Cashreedhar:
Does this work on aokp roms too?
[HTC One X] carlowise:
I don't mind for the front camera, but with this mod from camera has a lot of noise and pictures are grainy.
[HTC One X] ivicask:
Hope you dont have sharpness set to +1? Try reducing it one step or to -1

But anyways here's version with noise reduction ON, only picture compression disabled.

View attachment HTC_ONEX_PLUS_CAMERA_DRIVERS_MOD_NOISE_REDUCE_ON.zip

But also note not everyone's camera is same, some may have damaged camera lens plastic, even too much sunlight exposure can damage your sensor, that's why this noise reduction algorithms exist, but on other hand if your camera is in perfect shape, this noise reduction just reduces quality of your otherwise clean pictures.
[HTC One X] eNeliDo:
Will this work in AOSP roms or is part of the Sense framework?
[HTC One X] ivicask:
Dont know, do AOSP roms use sense drivers for camera? Try..if doesnt work simple restore same libs from AOSP rom back.
[HTC One X] eNeliDo:
Ok. I'm now on ViperX, but if I change to AOSP I'll try. Thanks :)
[HTC One X] CM17X:
Do you think it could work on Cyanogenmod rom's?
[HTC One X] tomascus:
the guy 2 posts above you just asked the same thing -_-
[HTC One X] Sadman Khan:
It's not supposed to work on aosp...aosp most definitely does not use sense drivers..so after install, either you will get bootloop or fc-s ..if you still wanna give it a shot, go ahead :P
[HTC One X] land.apfel:
Does someone know if this works on AOSP ROMs or on Sense only?

Thanks

land.apfel
[HTC One X] skynet77:
Unbeliveable!!! Are you blind or something? Try to read at least last whole page...
[HTC One X] land.apfel:
Oh. Sorry :D

Somehow I haven't seen that there are multiple pages and have only read the first one ;)
[HTC One X] CM17X:
Slap him in the face just because op failed making a detailed post.
[HTC One X] ivicask:
I dont have details, i dont use AOSP roms, or have ONE x, i have ONEX+. I could just keep this mod for ONEX+, but i shared it here so everyone can test it out and ONEX users could also benefit from it.

So give me some break :)
[HTC One X] CM17X:
I know. I was saying that the question about aosp compatibility is valid because it wasn't denied at first.

Many people read the OP and they will jump to ask for their own Interest.
[HTC One X] ivicask:
Read OP again u will see i wrote mod is based on Sense...:) If it works on aosp or not is up to you to test.
[HTC One X] skynet77:
Exactly... and those people are very annoying, because many people do it. Why is so hard to search, or read few pages before asking?
[HTC One X] cornel.atomei:
I use Android Revolution HD 21 on HOX. What command line do i use in fastboot to flash this zip? And will it work with my curent rom?
[HTC One X] AdrianM:
You flash the zip in your recovery, not in fastboot. And it will work for your ROM as it is a Sense ROM.
[HTC One X] Sadman Khan:
To everyone asking about aosp compatibility, please READ...a few have already posted that it wouldnt work (including myself)..common sense should tell you that a sense based thing, would not work on aosp..DO YOU have beats audio in aosp? NO...so sense is a separate thing from aosp..there you have your answer..
[HTC One X] tessut:
To all ViperX users did you have bugs playing facebook vids or activating xloud and so on ? pls reply
[HTC One X] Super-Veloce:
I'm using ViperRom.. 1st foto on 100% quality, 3,23mb , after mod, 3,38mb with the stock camera app
[HTC One X] glai3:
Not as good

I just installed the driver and compared the 2 pics I took: both pics are 100% cropped.

Result: the Serenity v1.1 Rom camera took much better pictures. May be the mod has applied this driver already and added some other tweaks. The Serenity Rom pic is even 0.3MB bigger. Then I began to notice that all the pics I took with Serenity Rom are 4+ MB in size. Got to restore the Rom from backup.

Just for your reference!
[HTC One X] ll_r1d0_ll:
i think you havent focused your cam on the 2nd picture and it seems like its shakng :/
[HTC One X] glai3:
May be the second one is a little shaking, but compare the noise level, the first one is obviously better.

I'll try another one tomorrow under sunshine. It is dark now in my city.
[HTC One X] ivicask:
This camera mod doesn't improve low light recording :)

I added 3 flashable zips to OP, original mod, one with noise reduction Enabled, and restore original.

So you can test out as much you want.
[HTC One X] lthawker:
For indoor shots use snap camera hdr with set iso to 100 and watch magic...;)
[HTC One X] matthew33:
Here's a pic I just took of my Venus Fly Trap with the reduce noise version:

screenshot program

Matt
[HTC One X] glai3:
Test pics before I found the new versions

One more thing I notice is the color washout in this mod driver.

You can tell the difference right away.

The flower was taken under cloudy sky early in the morning.

I am not happy with the sharpness, or focus on all these pictures.
[HTC One X] matthew33:
Colour & everything seems perfect in my Venus fly trap pic.
[HTC One X] Jostian:
Damn, traded my One X in for the One and there is no such modd (or any camera mod) for it, would love something like this for the One... maybe u need to upgrade to a One Ivicask, hehe.
[HTC One X] ivicask:
Acutely i played with ONE yesterday, and i would say ONE X+ camera is better in most cases.. Im not that impressed with low light performance of ONE camera, not to mention while in night mode camera preview lags so badly.. Also onex front facing camera is so much better than HTC one, it performs much better in low light and has better quality..:)
[HTC One X] vhjc:
Thank you so much ivicask, my photos are now twice the size and much much better than the original ones :D
[HTC One X] diegosps:
Does this work at any base? Ics also?
[HTC One X] ivicask:
Does Jelly bean drivers work on ICS? Also, why are you still on ICS ? :)
[HTC One X] athulele:
Some people having weird and rare CIDs are still stuck on ICS. There's no official update for them yet.
[HTC One X] somemadcaaant:
That's what roms are actually for, to have access to firmware/updates/tweaks that you otherwise couldn't officially.
[HTC One X] ivicask:
Hm, so your not rooted to flash any custom Jelly bean rom? How would you than replace system driver? :)
[HTC One X] godutch:
Can you have a look at the HTC One camera too and see if you can do the same?

---------- Post added at 08:22 PM ---------- Previous post was at 08:20 PM ----------

They can root but they need to flash a newer version of hboot to be able to run JB but they can't because only signed packages are accepted and none for their cids exist
[HTC One X] ivicask:
OH :/

I did check ONE camera, on Qualcomm drivers are different, and i think its all controllable via Camera.apk, so just flashing some camera without compression mod should work, its only case with tegra where it doesn't work properly due direct compression in camera driver.
[HTC One X] godutch:
And the image enhancement? Especially blue skies look horrible on the one?

(can't test or show because my one is send back for repairs though)
[HTC One X] Jostian:
+1 for this mod on HTC One please!
[HTC One X] diegosps:
Laziness, basically. When jb roms popped out I was in a busy time. When i finally got a free time, the 4.3 already had rumours so I decided to wait.

Longest wait ever lol
[HTC One X] heropage:
i am going to try it out

---------- Post added at 11:11 PM ---------- Previous post was at 10:45 PM ----------

the size of the pic does get double.

But the quality doesn't improve a lot.
[HTC One X] diegosps:
In which rom did you try it?
[HTC One X] silv3rfox:
Works perfectly on rooted stock! Thanks OP!
[HTC One X] ryman95:
Can`t see any differenz beside the size of the picture.
[HTC One X] ivicask:
Added Sense 5 mod!
[HTC One X] lesscro:
Cool... Camera is now updated a bit for better quality.... i hope see more dev on sense 5... like audio pack hack/enhancement... Kernel support and more...
[HTC One X] Herrmaro:
Working perfect for me! Thx;)
[HTC One X] farazejaz:
any chance for zero compression for htc sensation in jellybean ? as hq camera for ICS? that mod was awesome man and as u have sensation with viper jb just like me is it possible to get zero compession for sensation on viper jb
[HTC One X] JoHnNy08PL:
It's not a big difference, only better details.

Stock: http://i.imgur.com/1hiLmTr.jpg

Mod: http://i.imgur.com/5XY8OoH.jpg

The fence on stock is all blurry, on modded you can count railings (don't know if it is a good word for that).
[HTC One X] ivicask:
Yea difference is in details!

This is perfect example what mod does! Simple zoom in and compare fence details :)
[HTC One X] Bushido1992:
it's minimal better. test it myself now :good:
[HTC One X] skyalvinlee:
[MENTION=1792279]ivicask[/MENTION]

mind sharing how you did it? wish to do the same for the HTC One M7 :angel:

Just read your previous posts, you mentioned its controllable via the camera apk, how to do it? ><
[HTC One X] ivicask:
I'm sorry but i dont know exactly how to do it on ONE, or if its even needed, i already explained this in back pages, its relative easy on tegra, but works different on Qualcomm, and u need to do it via Camera.apk or framework and not by modding camera driver.

BTW i checked few ONE camera photos, they are 2-3mb for larger ones, considering its only 4Megapixels camera that already looks just fine to me, am i wrong?
[HTC One X] Tigerlight:
2-3MB for a 4MP JPEG is about right.
[HTC One X] somemadcaaant:
A 13mp or greater ultra pixel sensor will blow a lot of the completion out of the water if they r ever produced. The 4mp image r already very good, just held back by it's very low resolution.
[HTC One X] pisc3s1203:
does sense 5 mod still have night+hdr bug?
[HTC One X] Tigerlight:
Very low resolution? lol

Obviously you believe HD video is low resolution aswell since it's only 1920x1080. That's a little under 2.1 million pixels.

Poor camera in the One can only resolve at twice that of an HD television. It's practically useless.

And do you know what a 13 pixel UP camera phone would cost? How big the sensor would be? The power requirements?

There's a reason a DSLR is a little bigger than a point&shoot with a much larger battery and price tag. The sensors are enormous and cost real cashy money to manufacture.
[HTC One X] somemadcaaant:
Yes it is very low a resolution by today's standards for a camera phone and against higher resolution camera phones currently out obviously, higher pixel size or not. Reviews say the same thing.

No point in comparing DSLR lenses against camera phone lenses obviously, even the Lumia 1020...

And I've been gaming on higher resolutions since before 1080p tv's/movies came out so yeah I'd say FHD is definitely a low resolution imo ;)
[HTC One X] :
works great so far:)
[HTC One X] JoHnNy08PL:
Yes, it is still working :)

Wysłane z mojego HTC One X za pomocą Tapatalk 4
[HTC One X] pisc3s1203:
good :D so our camera is better than one :D
[HTC One X] neuTrue:
@ivicask:

Thanks for your great mod. It was working great on Sense 4, however on Sense 5 it's not working.

I am sure you forget to include /system/lib/libnvmm_camera.so, so could you please include it? :)
[HTC One X] ivicask:
U concluded its not working by looking at missing libs, or actually trying mod? :) Its working just fine, i didint include libnvmm_camera.so because i didint disable noise reduction algorythms becaus it cause problems for some ppl.
[HTC One X] neuTrue:
LOL, no I didn't check the libs as I decided to do it the lazy way. Flash it, and take pictures. ;)

Unfortunately, I tried tried it, and that's why I was reporting it.

The older version (Sense 4) was working perfectly.

However, I am reporting this for stock Sense 5 Camera (ARHD31) + your modified lib.
[HTC One X] ivicask:
Well its working, its working for everybody as u can read from previous pages and threes even few compare pics..
[HTC One X] terrorblade23:
Does anyone observ that this mode works just in landscape mode? Of camera? If I take vertical pictures they're around 1 mb... If it is taken in landscape mode it's around 5 mb
[HTC One X] neuTrue:
Hmm, this is strange. I though people were having a placebo.

I guess, it would be a matter of time of flashing a new ROM with wifi-fix, and give this mod another try. Otherwise, I would have to check the libs myself.

Again, thanks for answering me. :)
[HTC One X] hamzashariq:
Do you need to root your phone to do this??
[HTC One X] Tigerlight:
Modify system files?

Yes.
[HTC One X] Uğur:
Thank you for mods, do you have stock driver for Sense5?
[HTC One X] ivicask:
Added new HTC camera from new HTC ONE base with GIF recording option and Face smoothing, works just fine on my HOX+ should work also on ONE X. (Sense 5, 4.2.2)
[HTC One X] haq.adnan:
Can i flash this mod on my at&t htc one x(evita)
[HTC One X] chaun1308:
Thanks man . Will give it a shot and make a feedback .

Sent from my HTC One X ( Android Revolution HD )
[HTC One X] ivicask:
No, its Qualcomm not Tegra.
[HTC One X] lesscro:
Everything work for me... Merci Mister ! You make my day to enhance my phone !!
[HTC One X] haq.adnan:
Mine is snapdragon S4....is this for tegra
[HTC One X] Tigerlight:
OMG. YES.

This is entirely the wrong forum for your device in any case.
[HTC One X] chaun1308:
Just flashed New camera zip . Everything works perfectly .
[HTC One X] permatahati:
Im just curiois, what do the makeup level does ?? and is there any different in the GIF modes to the photos ??

And is there any visible improvements than the official sense 5 in htc one than the sense 5 in the HOX camera ?
[HTC One X] ivicask:
Makeup is face smoothing, GIF mode is max 6 SEC GIF videos, very very low resolution.
[HTC One X] lovewind:
My camera can't work in ARHD 31.1,which one can solve it?
[HTC One X] manikdhir:
The first zip file camera of htc one will have darma shot.. k??
[HTC One X] mr1029x:
The Zoe function has been fully enabled for the One XL, any chance that could be done on our Tegra 3 HOX, too?
[HTC One X] ivicask:
I dont think so, zoe has many dependence in camera libs, camera.msm8960.so, liboemcamera.so, libcameraservice.so and libcamera_client.so and some more.

And we CANT use any of this libs as we have different camera chip and different processor..
[HTC One X] mr1029x:
Sorry if I'm wrong, but I thought the One XL and the One X have the same Image Sense 1 chip?
[HTC One X] pisc3s1203:
i think one xl and one is all snapdragon but one x is tegra, so it cant be ported?
[HTC One X] ivicask:
Im actually trying now, but it doesnt look good, when i enable Zoe camera cant even start anymore, required libs from ONE simple cant talk to other Tegra libs, + kernel needs moding also..
[HTC One X] treebill:
Zoe uses a 4 megapixel on the one right so you tried lowering it to that rather than 8?

Worth a shot.
[HTC One X] ivicask:
It has nothing to do with resolution.

EDIT, it will never work, Tegra uses completely different interface , for Zoe liboemcamera.so is essential, Tegra doesnt have that lib, its replaced by libnvmm_camera.so, there is no way to get Zoe working!

Unless htc released Tegra phone with enabled Zoe..
[HTC One X] pisc3s1203:
ok so we need to say goodbye to zoe:(
[HTC One X] ivicask:
Zoe is useless if u ask me.. im not gonna cry for it..
[HTC One X] pisc3s1203:
haha actually i dont use that too, just crying for others :p
[HTC One X] lipovcan:
HTC One X - not working on latest MIUI V5, just delete the camera app!
[HTC One X] ivicask:
Well its for sense 5, but you tried :)
[HTC One X] lipovcan:
I flash file for "Sense4+" :confused:
[HTC One X] ivicask:
How could it delete your camera app?Only sense 5 camera zip can do that, also again, its for Sense! I cant help you with anything else..
[HTC One X] lipovcan:
OK, understand, btw on sense 5 (ARHD 31.2) rom works fine :good:

thanks
[HTC One X] ImagioX1:
Zoe does have some cool features like object removal and sequence shot that Im interested in...
[HTC One X] ivicask:
But isnt that only working if for example some object or person "jumps" in your shoot, than that object can be removed, but you cant remove still object which are there all the time?

So i can than just take burst shoot of 20 pics and select best one where that "person" didint jump in in my picture .. ? :)
[HTC One X] lthawker:
I install sense 5 modes on htc butterfly sense 5...works good ...but still noise in indoor shots and i dont see any change in quality...
[HTC One X] ivicask:
Where it says it should fix noise? And you cant see change in quality on phone, you can see it on PC zoomed in in details, HTC already added best ratio for compression/picture quality, this just gives max possible quality in details, which again depends in shooting conditions..
[HTC One X] lthawker:
Tanx dude...any chance to have low iso in indoor shots without get dark photos???
[HTC One X] ivicask:
Uhh i just read, u installed this on htc butterfly ?? Drivers are for TEGRA, u wont see any difference, drivers will do nothing, and camera only adds GIF mode and Face smoothing doesnt change quality or compression.

For low iso request, simple activate night mode from camera menu, its best you can get..
[HTC One X] lthawker:
Any chance to have your mod on butterfly...? ..

Like this:

http://xdaforums.com/showthread.php?t=2116486
[HTC One X] Tigerlight:
Increase exposure to increase light at lower ISO, but since it's a software amplification of brightness and not a real increase in shutter time or aperture, I think it makes the pictures look horrid.
[HTC One X] HTC Venom:
is there a chance to have a camera mod to make the camera without depending on the g-sensor? a lot of devices there have broken g-sensors including mine and without it sense 5 camera cant work at all
[HTC One X] nikolis2000:
i installed it on maximshd 21v and still the same size.no change at all
[HTC One X] ivicask:
Because if i remeber correctly hes already using my modified driver, i gave him first..
[HTC One X] pirlano:
EDIT
[HTC One X] akpe:
Hello, just flashed this on my ViperX+ 1.1.0 (still on Sense 4+) and will test it out tomorrow since it's already dark here.

Quick question, I have already set image encoding quality to 100%, any other settings I should have to get an optimal result? For example, Sharpness (-1, right?), Auto-enhance, ZSL, Antibanding? Do I specifically enable or disable any one of them?

Thanks in advance :)

==================================================================================================

I just tested your mod (and camera in general), I'm not an expert in judging photo quality, but I'm more than happy with the result!

Having lots of free time I went ahead and took a bunch of pictures using different configurations.

I only tested HDR and Auto Enhance mode with image encoding quality to 100%. I left Image Adjustment settings to default for the time being because I have no idea what to set there, I've only heard of setting Sharpness to -1 but I wanted everything at default to have a "control" batch. Also, I did not experiment with turning ZSL on or off as I assumed it would have any effect in picture quality.

Here are the results:

Batch #1: Auto-Enhance ON:

https://db.tt/Sk6C1hSz

https://db.tt/l3fnUqab

https://db.tt/i2f1SEg7

Batch #2: Auto-Enhance ON, HDR:

https://db.tt/C1uP7evE

https://db.tt/ugOjlMRW

https://db.tt/hOfnl0an

Batch #3: Auto-Enhance OFF:

https://db.tt/QLLpKFIp

https://db.tt/U5a7IAQX

https://db.tt/zUqe4Qun

Batch #4: Auto-Enhance OFF, HDR:

https://db.tt/26GsvAvJ

https://db.tt/5bWb9ZbV

https://db.tt/8eoqINAn
[HTC One X] pirecrompir:
why does this mod only work in landscape?? in landscape the size of the photo is around 3 mb, in portrait around 900 kb. i'm on arhd 31.3. and my camera app doesn't have a setting for image quality to set it to 100%.

thanks!
[HTC One X] ivicask:
And whats the size of same picture in portrait without this mod and with it?

Btw, this is normal behavior and has nothing to do with this patch, it works regardless how u hold your phone.
[HTC One X] ivicask:
Testing V2 mod for Sense 5 on my ONEX+, if all ok ill make version for ONE X and upload.

As you can see after i disabled noise reduction algorithms, color and edge enhancement and few others, theres less noise on picture, and you can see more details when u zoom in.

Photos taken from my monitor -
[HTC One X] ivicask:
And looks like i "fixed" why portrait pictures comes out so small size. Look at this random pics me walking to home.

Landscape 7.54MB

https://www.dropbox.com/s/553b26mml5gnuaw/IMAG0163.jpg?m

Portrait 7.12MB

https://www.dropbox.com/s/yruuez0yp1lwj0a/IMAG0162.jpg?m

Not bad, hm ? :)
[HTC One X] totalcmdext:
Is it possible to improve also quality of the front camera.....?
[HTC One X] ivicask:
There is no separate setting for cameras, it should already work for both cameras.
[HTC One X] lesscro:
Good Job

Your Original 1st post is updated ?
[HTC One X] pirecrompir:
so there was a problem afterall ;)...

so which version fixes that? the one on the first page or the one you are about to upload?

thanks!
[HTC One X] ivicask:
It's not bug, its supposed to be like that, and 'fix' is in camera. apk,
[HTC One X] acidspider:
Has this been updated?
[HTC One X] pirecrompir:
i think not, the date on the download page still says 18. 8. 2013.
[HTC One X] TheEndHK:
http://www.sendspace.com/file/aka7kn

For the 4.2.2 Sense 5 mod camera. You guys just need to adb push my slightly modified media_profiles.xml in /system/etc and it will set the 1080P video to 40Mbit max. Most of the time, it will be recorded at around 30 ~ 35Mbit but the fps will drop to 25 ~ 27fps.

We'll need OP to do camera.apk hack and fix the videobit at 40Mbit and constant 30fps.
[HTC One X] ivicask:
Im very busy currently so didit had much time to work on it, can anyone test out V2 mod with disabled noise and few other algorithms, do some compares on same situations on zoomed in parts.

View attachment HTC_ONEX_CAMERA_DRIVERS_MOD_Sense_5_V2_TEST.zip
[HTC One X] tomascus:
seems to make my front camera go green. anyway, check this out in logcat:

W/NvCameraSettingsParser( 155): Changed: jpeg-quality: 99 -> 90 {(null)}

looks like your settings get overwritten?
[HTC One X] ivicask:
Looks normal to me, and pictures are quite larger size, i got up to 8MB pics, so its definetly working, green picture may be coz i gave u lib from onex+..nobody even tested or commented so far so i didint know..