If you are using the EVO based build, you can ignore this thread.
This fix is ONLY for Desire based build with EVO's Camera application.
PLEASE DO NOT USE THIS FIX IF YOU ARE USING THE EVO BASED BUILD.
First!!
After i fix the real 5MP capture in HTCCamera, i have also fix the Thunder Cloud Review window in HTCCamera today.
The fix APK is including the real 5MP fix and correct review window after you capture.
There is no more thunder & cloud strange picture again. You can also do some actions, like Share,Delete,Goto Media Gallery or Capture again.
What's the fix
1.fix the Thunder Cloud Review Window
2.fix the real 5MP
3.fix the Shutter Sound , if you use my old file, please download it again(Update @2010/11/07)
I have only test in Desire base, OTA 2.29
How to install it?
The APK CAN NOT INSTALL into your HD2 Android.
You have two way to install this fix.
Make sure your /system is Rear/Write not Read Only.
1. Putting the HTCCamera.apk into your HD2 SD Card using File Explorer with root access, copy the fixed HTCCamera.apk to /system/app and overwrite the original one, if you can find HTCCamera.odex in the /system/app, please delete it. In order to prevent the default shutter sound, you have delete(or rename) the camera_click.ogg in system. Go to /system/media/audio/ui and find out the camera_click.ogg, delete it or rename it.
I suggest you can use a Free root File Explorer called "Super Manager". The software you can search it on Market by "Super Manager" or "gpc". It is my design. It can help you move the fixed APK file into /system/app.
2. Using shell command
Code:
adb push HTCCamera.apk /system/app
adb shell rm /system/app/HTCCamera.odex
adb shell rm /system/media/audio/ui/camera_click.ogg
If you use it in your release build, CREDITS, thanks
How to use it?
First, you have using the last EVO-bases kernel and the attachment APK file.
After installing it, you just have to launch the Camera.
If you are lucky, you can enjoy the new real 5 Mega pixel camera without Thunder Cloud right now. You don't have to reset you HD2-Android.
Enjoy it!!
If the fix is helpful, you can donate to me. thanks
Awesome!
Thanks a lot. I've been looking for something like this for quite a while.
Oh yes !
Thanks a lot !
Thanks for your work. now fix HD recording
(i know its codec related)
i have tried this but it just disable review after photo taking, is it something wrong?
Worked like a charm for me. thanks.
I used Android Commander to copy the file, I tried using super manager like you said but it would copy the file incorrectly to 0.00k, weird.
Anyway works now.
Thanks man. Works great.
Great Job
Tested Work 100%
Thanks
Does this fix the widescreen picture at 5mpx resolution. I don't think so
Sent from my HTC HD2 using XDA App
Any one having this resolution with this?
2592*1944 (Real 5 Mega Pixel)
How is it possible?
I did as mentioned in the first post, cloud at preview has been successfully fixed, but I didn't get the real 5 mega pixel. I desire it!
Can some one please help me?
After replacing my Camera app I now have no camera app at all! I tried 3 or 4 times, downloaded the file twice and used 2 different root explorers, including the one suggested.
Anyone know what could be causing this?
I am using a Desire-based build for Tmo-US, and I upgraded the kernel to Hastarin r8 before attempting this.
EDIT: Nevermind, switched builds now fix is already applied
works for me!
Hiya, first a big thanks for this one, seems to work perfectly, getting full 5mp (2592 x 1944) res photo's without the cloud stuff, review window works well, seems to keep to the 5 second timeout i put in settings for it too.. replaced original file with android commander btw, just make sure u got usb debugging mode on for that to work
one more request though: could you also fix the setting for shutter sound? i've tried setting it off/on, but the sound remains on no matter what the setting says.. i don't know if that's kernel related (though i don't think so), so that would be really nice if u could fix that as well
working with darkstone froyostone 3.2 with hastarin r8 + letama's pppd wrapper v0.3 here
edit: been trying some more settings, and it seems that setting the camera to widescreen just stretches the photo to widescreen, the picture looks squashed compared to what u see in the viewfinder(screen) before u take the photo. doesn't seem to be the case for the 4:3 mode though, taking pictures there just gives nice unsquashed photos
Perfect !
Thank for your hard work !
But how to ZOOM ?!
djbarney said:
one more request though: could you also fix the setting for shutter sound? i've tried setting it off/on, but the sound remains on no matter what the setting says.. i don't know if that's kernel related (though i don't think so), so that would be really nice if u could fix that as well
Click to expand...
Click to collapse
Thanks for the work and I second the shutter sound request too.
noobshite said:
Thanks for the work and I second the shutter sound request too.
Click to expand...
Click to collapse
fix it now.
You can referrer to the first post
Can you help me? How can I have the real 5mpx camera with widescreen resolution as in the screenshots
Will next fix for Face detection?
shree.cse said:
Can you help me? How can I have the real 5mpx camera with widescreen resolution as in the screenshots
Click to expand...
Click to collapse
We don't have HTC customize camera library.
The camera library in your HD2 is based on Nexus One with some modify. It is impossible to fix the widescreen and face detection in HD2 HTC [email protected] without the HTC customize camera library for HD2.
I think it is very hard for us to get the camera library.
If we can get the HTC customize camera library source (NOT the current library with the open source,Nexus One), we can modify it to work in HD2.
However, how can we get the source code?
Maybe somebody can be a thief and steal the source code from HTC office
I remember 1 of the version from darkstone ROM, the camera face detection is working fine. But i can't recall which version is that.
iamgpc said:
We don't have HTC customize camera library.
The camera library in your HD2 is based on Nexus One with some modify. It is impossible to fix the widescreen and face detection in HD2 HTC [email protected] without the HTC customize camera library for HD2.
I think it is very hard for us to get the camera library.
If we can get the HTC customize camera library source (NOT the current library with the open source,Nexus One), we can modify it to work in HD2.
However, how can we get the source code?
Maybe somebody can be a thief and steal the source code from HTC office
Click to expand...
Click to collapse
Then what does this mean?
Fix: Real 5mpx
Sent from my HTC HD2 using XDA App
Hey, in this guide is a instruction to unlock some hidden camerafeatures on redmi devices :
Unlock Camera Features i want to try it for our redmi pro omega and figured out, that the xml has moved from internal miuisystem.apk file, to #/system/etc/device_features/omega.xml . Now, if i change some things, like in the introduction from the link, the camera shows the features. Some of them working, like tiltshift and other mods, but the important ones (for me) like exposure, manual focus and live hdr, does not . The features are shown and can be activated, but the camera took a normal photo. Now, i hope someone can help me with this. I bought the phone, because of the camera and thought it has included this settings, because the special thing on this phone is the camera. The important features for me are workig livehdr and exposure settings.
Try one more thing, add this lines at the end of build.prop:
#Camera2 API
persist.camera.HAL3.enabled=1
If still not work with stock camera app, try it with another app like Snapcamera HDR.
how to keep the changes made to the xml file as it keep getting back to original when i reopen the xml
My phone is redmi note 8 pro .in my phone there is one problem in camera .my back camera is have some problem .it can't focus the photo
I have created a Magisk based DIY GCAM port for our 10's. Basically, it installs everything you need for it to work, and you try/select whatever GCAM you think works the best. All this will do is enable the extra features for GCAM
***SLOMO NOT WORKING ON OREO FOR ME***
Prerequisites:
2.xx.xxx.xx Nougat Stock sense, not sure about LOS or others (you can try, no guarantees).
3.xx.xxx.xx Oreo Stock sense, not sure about LOS or others (you can try, no guarantees).
Magisk 15.0 or newer (Uses 1500 template)
No Other GCAM installed (remove any prior to flashing magisk module)
REMEMBER TO SET ALL SETTINGS AND FC ONCE BEFORE USE!!!!!
What it does:
It replaces media_profiles.xml in system/etc : this allows for HEVC and 60fps
Oreo Version
It adds ARCore and ARStickers to system/app
It sets ro.config.calibration_cad=/system/etc/calibration_cad.xml
It adds res_ctrl.conf to system/etc
it updates all the various .xml files that have media settings within them
This is a free-for-all zip, meaning i dont care if you modify it, pass it off to other groups, help anybody else, etc.
I am not responsible if you get your phone messed up, it works for me, and for others. I will help as much as i can. Its a work in process, hopefully, it will make life easier for everybody. This is really close to being a DD, i will try other GCams as i find time. Im really waiting for Oreo on VZW, then ill really get into it. (AR Stickers, etc.)
Also, this is a HTC 10 thread, and while i dont mind helping people (I want everybody to have a working GCAM) this magisk module, especially the media_profiles.xml is very very very 10 specific. You can however, do the legwork, use this zip as a template, and make one for your threads/personal use as well. And i dont mind. Just dont come in here without a logcat with some phone that's not a 10 and say its broke. I will at least look at a logcat and help if its not a 10, but my demands have been expressed.
Also, for those with a 10.. Dont come in here and tell me its broke, not tell me anything relevant, have no logcat, and expect a fix...you will be meme flamed for my amusement...You have been warned. You should know better at this point!!!
Thanks
@Arnova8G2 Porting Gcam over to us, and listening to our needs
@tsalta Getting everything moving along, and testing with me
Link Nougat (DIY GCAM MOD)
https://www.androidfilehost.com/?fid=890129502657598199
Link Oreo (DIY GCAM MOD)
https://www.androidfilehost.com/?fid=746010030569969249
GCAM Repo
https://www.celsoazevedo.com/files/android/google-camera/
Old Versions Here
https://www.androidfilehost.com/?w=files&flid=256412
Enjoy
Changelog/Bugs:
DIY GCAM MODS: Everything but GCAM, Pick the one you like the best and use this mod to get the extras to work.
V31: Version back to 2 revs. 1: Skulshady V3.0, portrait works (6p or pixel 2017 zsl hdr +, that one has low light bug still), Tolyan009 v1.3.5, portrait doesnt work, more options (needs alot of configuration, pixel 2, 2017 pixel zsl hdr+ new, black level 64, hdr+ control on, turn off use google photos in debug settings)
V30: Oreo and Nougat: Added HEVC Back in, Removed Lens (Built into photos now), some people say slomo works in oreo now, you tell me Uses Arnova V7B6 Camera...too bad it's junk......
V28: Cleaned up media_profiles_vendor.xml and added HEVC support. (Slo-Mo at least loads the viewfinder now, getting warmer )
V24: Low Light/Flash Bugs fixed, increase sharpness might be better, still no slo-mo
V23: Same oreo bugs
v8 Nougat: Updated to arnova pixel2mod v6b14, probably the last good one
v8 Oreo: Initial release, has b14, and AR stickers, need someone to test it on oreo.
v7: 99.98% works, only "little" bug is if you take a low light/room is completely dark photo (front and rear), very rarely, but sometimes the camera app crashes.
v1: Initial release
Bugs: No front HDR, Slo-mo crashes went set to 240fps (120 is fine), can only take picture with hdr+ enhanced on for rear, view finder is a little slow for portrait mode rear.
V28: To ease confusion, 6P works with everything it appears, 2017 Pixel HDR ZSL has some issues in low/no light still (wanna help, PM @tsalta )
V24: Either works i believe
V23: I use nexus6P, you can use pixel 2 as well
v8: Use nexus 6P, it all works, you can use 2017 pixel zsl HDR+, but it will FC in dark/no light using flash.
How to modify the zip for your a new gcam:
1. uninstall gcam mod
2. reboot
3. Install gcam of your choosing
4. using root browser, copy directory from data/app containing google camera directory.
5. take the contents of that folder, copy the contents to the zip file, in system/app/GCAM, replace the contents in there.
6. reflash zip with new gcam
thank for share
aer0zer0 said:
I have created a Magisk based GCAM port for our 10's, based off of whatever GCAM is working mostly at the time. It has Google Lens support, portrait mode front and rear, HDR rear, Slo-Mo, 60FPS support.
Prerequisites:
2.xx.xxx.xx Nougat Stock sense, not sure about LOS or others (you can try, no guarantees).
Magisk 15.0 or newer (Uses 1500 template)
No Other GCAM installed (remove any prior to flashing magisk module)
What it does:
It replaces media_profiles.xml in system/etc : this allows for slo-mo and 60fps
It adds google_build.xml in system/etc/sysconfig: Lens
It adds nexus.xml in system/etc/sysconfig: Lens
It adds pixel_2017.xml in system/etc/sysconfig: Lens
It adds pixel_2017_exclusive.xml in system/etc/sysconfig: Lens
It adds GCAM in system/app:
This is a free-for-all zip, meaning i dont care if you modify it, pass it off to other groups, help anybody else, etc.
I am not responsible if you get your phone messed up, it works for me, and for others. I will help as much as i can. Its a work in process, hopefully, it will make life easier for everybody. This is really close to being a DD, i will try other GCams as i find time. Im really waiting for Oreo on VZW, then ill really get into it. (AR Stickers, etc.)
Also, this is a HTC 10 thread, and while i dont mind helping people (I want everybody to have a working GCAM) this magisk module, especially the media_profiles.xml is very very very 10 specific. You can however, do the legwork, use this zip as a template, and make one for your threads/personal use as well. And i dont mind. Just dont come in here without a logcat with some phone that's not a 10 and say its broke. I will at least look at a logcat and help if its not a 10, but my demands have been expressed.
Also, for those with a 10.. Dont come in here and tell me its broke, not tell me anything relevant, have no logcat, and expect a fix...you will be meme flamed for my amusement...You have been warned. You should know better at this point!!!
Also: Since for right now, there is really only 1 good working configuration, you will need to look at 3rd post for settings. Please fiddle as you like, post settings that are better than mine.
Link v1
https://www.androidfilehost.com/?fid=673956719939816978 (Latest Version)
Enjoy
Click to expand...
Click to collapse
Hello dude i see you are starting like you sayd befor im just wondering what version you used like a base?
Arnova 1.6 or maybe 1.2 ?
Just wondering
Thanks for the Share will test it now!
Edit: Yes 1.6 i guess or perhaps 1.7 but the feel is like more 1.6
Yes this is the most stable build with all the options that we can have the only one thing we gona miss is the Pixel 2017 HDR+ ZSL the ZSL works only with this presets and since the new versions it doesnt work anymore the last time was worked fine on V 1.2
---------- Post added at 09:20 AM ---------- Previous post was at 08:54 AM ----------
aer0zer0 said:
Changelog/Bugs:
v1: Initial release
Bugs: No front HDR, Slo-mo crashes went set to 240fps (120 is fine), can only take picture with hdr+ enhanced on for rear, view finder is a little slow for portrait mode rear.
Click to expand...
Click to collapse
well i can take pictures with HDR+ and HDR+ Enhchanced from the Back camera so it is working fine not bug.
Also the Front HDR+ is working what i mean is it is made to work only In portrait MOD so when you shoot Portrait with the Front and you have HDR+ portrait camera enabled will get the effect this is how the build is mean to work so you can remove this from the Bugs it is not actually a bug.
Slow mo crashes on stock Oreo
And also 60fps does not work
tsalta said:
Hello dude i see you are starting like you sayd befor im just wondering what version you used like a base?
Arnova 1.6 or maybe 1.2 ?
Just wondering
Thanks for the Share will test it now!
Edit: Yes 1.6 i guess or perhaps 1.7 but the feel is like more 1.6
Yes this is the most stable build with all the options that we can have the only one thing we gona miss is the Pixel 2017 HDR+ ZSL the ZSL works only with this presets and since the new versions it doesnt work anymore the last time was worked fine on V 1.2
---------- Post added at 09:20 AM ---------- Previous post was at 08:54 AM ----------
well i can take pictures with HDR+ and HDR+ Enhchanced from the Back camera so it is working fine not bug.
Also the Front HDR+ is working what i mean is it is made to work only In portrait MOD so when you shoot Portrait with the Front and you have HDR+ portrait camera enabled will get the effect this is how the build is mean to work so you can remove this from the Bugs it is not actually a bug.
Click to expand...
Click to collapse
Arnova 1.7 beta 1
It will only take pics on hdr+ if it decides hdr should be used. If you turn hdr off, it won't work.
Yea, I'm aware of the work around for front hdr+. But you can't just have hdr+ on the front camera in normal mode. So it's a bug still until we find a better alternative camera that works.
You can be the tester @tsalta if you like. I explained how to put different GCAMS in the magisk zip, so you can find the perfect version.
aer0zer0 said:
Arnova 1.7 beta 1
It will only take pics on hdr+ if it decides hdr should be used. If you turn hdr off, it won't work.
Yea, I'm aware of the work around for front hdr+. But you can't just have hdr+ on the front camera in normal mode. So it's a bug still until we find a better alternative camera that works.
You can be the tester @tsalta if you like. I explained how to put different GCAMS in the magisk zip, so you can find the perfect version.
Click to expand...
Click to collapse
Yes im planing to make one version same with 1.6 because 1.6 is more stable than 1.7 beta ad 1.7 in 1.6 will take pictures always with HDR+ or Enchanged whatever you want from the back camera.
and i think 1.6 is one idea faster no freeze slownes on the viewfinder
Los Ron (rr), HDR working, portrait mode too, but slow motion mode not
Thanks anyway)
@aer0zer0 i was planing to make another version but after alot of test the most stable build that work is 1.7 Beta 1 so thanks for the share.
I mean compared to the Other builds that have Portraid mode if not 1.2 is the most stable
Like ive sayd many times every build have some advantage and dissadvantages for example 1.2 is super fast and stable also has working Pixel config with ZSL in other hand do not have POrtrait
Well above 1.6 they have everything but the pixel config is not working and no ZSL at all.
Also i have some other builds that are Not Arnova diferent from different russian sites and i had the best Front + HDR+ mod and take amazing HQ selfies but only this is the advantage of the mod.
if we have somehow to make a mix like frankenstain from the mods we know who is best and work perfect to make One build that include all the things.
Thanks for the Magisk Module.
tsalta said:
@aer0zer0 i was planing to make another version but after alot of test the most stable build that work is 1.7 Beta 1 so thanks for the share.
I mean compared to the Other builds that have Portraid mode if not 1.2 is the most stable
Like ive sayd many times every build have some advantage and dissadvantages for example 1.2 is super fast and stable also has working Pixel config with ZSL in other hand do not have POrtrait
Well above 1.6 they have everything but the pixel config is not working and no ZSL at all.
Also i have some other builds that are Not Arnova diferent from different russian sites and i had the best Front + HDR+ mod and take amazing HQ selfies but only this is the advantage of the mod.
if we have somehow to make a mix like frankenstain from the mods we know who is best and work perfect to make One build that include all the things.
Thanks for the Magisk Module.
Click to expand...
Click to collapse
No problem, once Oreo hits, everything will be better, I'm sure
romixer said:
Los Ron (rr), HDR working, portrait mode too, but slow motion mode not
Thanks anyway)
Click to expand...
Click to collapse
You have a 10, right? The only thing I can think of is media_profiles.xml is not in the right spot.
aer0zer0 said:
You have a 10, right? The only thing I can think of is media_profiles.xml is not in the right spot.
Click to expand...
Click to collapse
Yes it is media Profile xml i never ever had Slow Mo to work no matter of the presets in best case just freeze and i found out that this heppand only in Viper Magisk ROM people who are with Lee Droid v 4 have Slow Mo working so im pretty sure its ROM related and thats why i leave it thats way i get tired of trying to fix it and just waiting the OREO.
@tsalta have you tried older builds, like in the 1.4s I would sacrifice portrait mode for clean front and rear camera implementation. The 10 was my daily driver till I got a essential phone mid September. So I haven't messed with it much. Are the bsg versions any good?
tsalta said:
Yes it is media Profile xml i never ever had Slow Mo to work no matter of the presets in best case just freeze and i found out that this heppand only in Viper Magisk ROM people who are with Lee Droid v 4 have Slow Mo working so im pretty sure its ROM related and thats why i leave it thats way i get tired of trying to fix it and just waiting the OREO.
Click to expand...
Click to collapse
You have to add Google's preset media configs to media_profiles.xml that's how it works. 240 fc, since the sensor can't handle it.
aer0zer0 said:
You have to add Google's preset media configs to media_profiles.xml that's how it works. 240 fc, since the sensor can't handle it.
Click to expand...
Click to collapse
I have the google preset for the slow motion but same the viewfinder freezes imideately when i press slow motion.
Anyway in the Magisk version u provide you have media profile xml with the settings and is the same if you have another idea how to add this google media configs let me know or write me them here to chek what i have now to see if they differ.
About the Gcam Mods.
I tested all of them by all i mean even builds that are not even listen on XDA.
for me Arnova 1.2 is one of the best for us because its fast and all HW levels are added to support level 3 so we HTC 10 users and many other devices that have and can handle camera 2 api have HW level 3 support.
In the 1.2 Bold Red build from Arnova even the Pixel 2017 ZSL HDR+ preset work in all conditions i never had a single crash there shooting day and night, the only one downside is that there is no Portrait MODE.
Another info like i mentioned befor i had one Build if you wish will upload it that it has the Most amazing fron Shooter with HDR+ it is based on BSG build but edited by some Russian folk from 4pda i used this mod only because of the front facing camera a slefie is about 5 mb in size Crisp and clear like you shoot it with back camera.
Other than that one of my Favorite as well is the ArtZ based Mod that is Pixel based Version 2.
Have everything working ZSL all is set to use Pixel configs have a Portrait Mod working and so on.
The only problem with this build is like i explain several times befor shooting in the dark when there is not Object to focus the app force crash it is somthing related to the Focus plus the Flash it is like the Flashligh do not work properpy in synhron with the Focus and the HDR+
but for a day and good light photos i got the best pictures with this ArtZ MOD.
---------- Post added at 03:55 PM ---------- Previous post was at 03:48 PM ----------
aer0zer0 said:
@tsalta have you tried older builds, like in the 1.4s I would sacrifice portrait mode for clean front and rear camera implementation. The 10 was my daily driver till I got a essential phone mid September. So I haven't messed with it much. Are the bsg versions any good?
Click to expand...
Click to collapse
Try this out just set up the camera on 1st run for Max Quality and shoot with the Front Camera in Good Light condition.
If we have somehow to see what settings use this apk for the front to implement in the 1.7 regular front will be Awesome.
https://drive.google.com/open?id=1wzNyFYW0C8Esz2yZb2M0-fvXTw_1p8Sf
tsalta said:
I have the google preset for the slow motion but same the viewfinder freezes imideately when i press slow motion.
Anyway in the Magisk version u provide you have media profile xml with the settings and is the same if you have another idea how to add this google media configs let me know or write me them here to chek what i have now to see if they differ.
About the Gcam Mods.
I tested all of them by all i mean even builds that are not even listen on XDA.
for me Arnova 1.2 is one of the best for us because its fast and all HW levels are added to support level 3 so we HTC 10 users and many other devices that have and can handle camera 2 api have HW level 3 support.
In the 1.2 Bold Red build from Arnova even the Pixel 2017 ZSL HDR+ preset work in all conditions i never had a single crash there shooting day and night, the only one downside is that there is no Portrait MODE.
Another info like i mentioned befor i had one Build if you wish will upload it that it has the Most amazing fron Shooter with HDR+ it is based on BSG build but edited by some Russian folk from 4pda i used this mod only because of the front facing camera a slefie is about 5 mb in size Crisp and clear like you shoot it with back camera.
Other than that one of my Favorite as well is the ArtZ based Mod that is Pixel based Version 2.
Have everything working ZSL all is set to use Pixel configs have a Portrait Mod working and so on.
The only problem with this build is like i explain several times befor shooting in the dark when there is not Object to focus the app force crash it is somthing related to the Focus plus the Flash it is like the Flashligh do not work properpy in synhron with the Focus and the HDR+
but for a day and good light photos i got the best pictures with this ArtZ MOD.
---------- Post added at 03:55 PM ---------- Previous post was at 03:48 PM ----------
Try this out just set up the camera on 1st run for Max Quality and shoot with the Front Camera in Good Light condition.
If we have somehow to see what settings use this apk for the front to implement in the 1.7 regular front will be Awesome.
https://drive.google.com/open?id=1wzNyFYW0C8Esz2yZb2M0-fvXTw_1p8Sf
Click to expand...
Click to collapse
So even using the magisk mod, slo- mo crashes? It works fine for me, just 240 crashes, 120 works fine
aer0zer0 said:
So even using the magisk mod, slo- mo crashes? It works fine for me, just 240 crashes, 120 works fine
Click to expand...
Click to collapse
Yes even the Magisk Mod and i know this heppans in Viper ROM i don`t know why.
Im sure if i flash now LeeDroid will work but like i say im just waiting OREO
tsalta said:
Yes even the Magisk Mod and i know this heppans in Viper ROM i don`t know why.
Im sure if i flash now LeeDroid will work but like i say im just waiting OREO
Click to expand...
Click to collapse
Works perfect here, what rom are you on?