[Port] Sense 6 Camera - Verizon HTC One (M7)

Im not one for fancy OP so lest cut to the chase. I have been working on this on and off for some time now and i am at a point i feel i can call it ALPHA. This should only be flashed on KK or L GPE or pure AOSP. CM will have to be done differently they did some strange things to HW keys that makes camera not work at all.
Screenshots available here:
http://forum.xda-developers.com/showpost.php?p=56752405&postcount=1
What works?
Camera
Pan360
Split Capture
PhotoBooth
Selfie
Photo preview
HTC gallery
What needs some work?
Zoe camera wont open. ( if you choose Zoe options you will need to go to settings > apps > Camera and clear data to make it stop)
Camcorder (rotates the video when saving and cause the video to glitch)
Please have a valid Nandroid in case you want to go back. At a later date i can make an uninstall zip.
Special thanks to:
HTC
Google
Neo he pointed out that gallery was update to work without the security check.
Team Ecliptic for pushing me to get this working.
https://www.androidfilehost.com/?fid=95853297432264770
*Disclaimer*
If you would like to use this work and continue on, be my guest. No need to ask for permissions. All i ask is that when you do use it, just give me a shout out.

@synisterwolf Do we need to install the gallery.apk also or is packaged up with the camera?

aaronpw0621 said:
@synisterwolf Do we need to install the gallery.apk also or is packaged up with the camera?
Click to expand...
Click to collapse
i cleaned up the zip and packaged gallery with the camera. it also comes with Zoe the social network. if people dont want it i can remove.

Looks like there will be a tiny issue with L vs KK. Im going to need to set up a zip for both until HTC updates Camera to API19

I havent found any bugs myself. Well one. Not able to open gallery from camera app

aaronpw0621 said:
I havent found any bugs myself. Well one. Not able to open gallery from camera app
Click to expand...
Click to collapse
Thus should work. Open gallery first then use the camera to open gallery.

Does slow motion video work in this camera? If not anyone know of a way to record slomo on stock lollipop, santods build if that matters?

abezzilla99 said:
Does slow motion video work in this camera? If not anyone know of a way to record slomo on stock lollipop, santods build if that matters?
Click to expand...
Click to collapse
video still needs to be worked on. the camcorder saves the video all wrong and cause video tearing.

synisterwolf said:
Thus should work. Open gallery first then use the camera to open gallery.
Click to expand...
Click to collapse
I tried this a few times but still wont open through camera. It starts to then just goes back to camera

@synisterwolf ... When recording video it only records in mms resolution from main camera. Not 1080p like it should.

When I had my HTC the only thing that kept me o 4.0 was the camera..this is a dream come true
Please if you canfind a way to make it work on cm12

Thank you very much man!! I'm on cm12 on HTC One S and it work! But I have only pan 360 , portrait and cam. Why?

Please don't tell me you'll drop this project :'(

Related

[Q] Sense 2.1 camera on 3.0/3.5 Rom???

Hey everyone, I love the Sense 3.0/3.5 roms, but have always had problems with the camera. Either the video is choppy, or if it's not choppy, no one can view the video files that I send over mms. Seems like I read something about porting the 2.1 camera into the 3.0 roms and I'm wondering if this is possible? If so, how?
Thanks!
spamicus said:
Hey everyone, I love the Sense 3.0/3.5 roms, but have always had problems with the camera. Either the video is choppy, or if it's not choppy, no one can view the video files that I send over mms. Seems like I read something about porting the 2.1 camera into the 3.0 roms and I'm wondering if this is possible? If so, how?
Thanks!
Click to expand...
Click to collapse
没怎么看懂你的意思大概明白了 就是相机不能用对么?话说 这是一个问题 貌似还没解决
给你个附件 你试试 你知道怎么用么?替换到data/system.app里
Huh? Lol English prease
TokedUp said:
Huh? Lol English prease
Click to expand...
Click to collapse
Sorry I am using Google Translate
You can use Google translation
liu2015 said:
没怎么看懂你的意思大概明白了 就是相机不能用对么?话说 这是一个问题 貌似还没解决
给你个附件 你试试 你知道怎么用么?替换到data/system.app里
Click to expand...
Click to collapse
So I translated this as best I could...Is porting the 2.1 camera to a 3.0 rom as easy as just replacing the APK in /System/App? Seems like there would have to be more to it than that. Basically, I love the 3.0 and 3.5 roms, but having a fully functional video camera is really important to me.
Thanks
omg helarious
liu2015 said:
没怎么看懂你的意思大概明白了 就是相机不能用对么?话说 这是一个问题 貌似还没解决
给你个附件 你试试 你知道怎么用么?替换到data/system.app里
Click to expand...
Click to collapse
you made me crack up man. I read the post and i was like, oh i wanna know too!
I look at first response.... SAY WUT!!!!!
So far I've tried replacing "HTCCamera.apk" in /data/system.app with the APK from Skyraider 4.3 and replacing the camera lib files that I can identify, but it hasn't worked. The camera/camcorder comes up, but then fc's if I try to take a picture/video. I've reset permissions and that doesn't seem to work. When I replace any of the lib files I've found that I don't even get past the splash screen on a reboot.
What am I missing? Is what I'm trying to do even possible?
Anyone???
Bringing this to the front, as I'm after the same goal. Sense 3.0 ROM, but a stable camera/video recorder that does 720p smoothly like stock.
Success!...sort of.
I have found a workaround for my issues with sending videos via text, at least on a 2.1/3.0 hybrid rom. I've been using WildStang83's Hybrid Speed and while the 720p recording works fine, any video that I sent via MMS was not able to be viewed by the recipient. I found this MIUI camera and installed it and finally had success!
I tried the MIUI cam out on one of the new 3.5 roms, and unfortunately it did not solve the problem of the choppy video.
Here's the apk for the MIUI cam.
spamicus said:
I have found a workaround for my issues with sending videos via text, at least on a 2.1/3.0 hybrid rom. I've been using WildStang83's Hybrid Speed and while the 720p recording works fine, any video that I sent via MMS was not able to be viewed by the recipient. I found this MIUI camera and installed it and finally had success!
I tried the MIUI cam out on one of the new 3.5 roms, and unfortunately it did not solve the problem of the choppy video.
Here's the apk for the MIUI cam.
Click to expand...
Click to collapse
Just tried it, not a fan. Doesn't give much in options. I don't like the sound effects of the video recorder of which you can't turn off. Looks like there is a 30min limit too. How do you know if this is 720p? Just says high 30m or low 30m...
Camera seems to work fine though, just not sure if takes pics at max resolution 8m?
I agree. the MIUI camera has absolutely no options. Id love a perfectly working camera. Thats the only thing that stops me from using some of the newer roms. I take a lot of pictures and videos and need one that works.

[Q] t989 with slim ben rom can't record video in low quality formats

Hello, i have the t989 and loaded the slim bean rom on it and everything works perfectly. However, Previously with the stock rom I could record in lower quality formats like 240, etc, but now in the video camera the lowest quality setting it will let me record in is 480p. Is there a way to record the lower quality videos. my wife like to take short small videos that can be sent via whats app to family.
Anyone have any info?
yeah im running slim i checked every where i dont see any other option try downloading ICS camera and see if they have the option in there its relatively the same cam
krazierokz said:
yeah im running slim i checked every where i dont see any other option try downloading ICS camera and see if they have the option in there its relatively the same cam
Click to expand...
Click to collapse
Thanks I downloaded every camera I could find on the store, Camera JB+, ICS Camera, Camera 360, Camera+, none of them give the option.
did you tri camera fx or something like that thats another popular one .. just a thought man trying to help you lol
krazierokz said:
did you tri camera fx or something like that thats another popular one .. just a thought man trying to help you lol
Click to expand...
Click to collapse
Thanks. Yeah, tried that one too. The apps must just take the settings from the rom and only use what is available according to the rom. I'd prefer to not go back to the stock rom if possible, but need to look for one that supports lower video qualities.

Modded Camera apk?

So for a few months now Ive been searching xda high and low for this, whAt I'm looking for is the htc camera apk that has all the normal features, as well as Raw AND ZOE camera options on it.
I've been able to find 1 or the other (camera w/raw but no zoe, or camera w/zoe but no raw)...
Could anybody please point me in the direction of where to find the camera with BOTH options? Whether it be a mod, apk, or even a Rom with this???
Again, it would be much appreciated, Ive searched high n low....
Look for the mod of the original you need o be rootedd camera with hw donkse on thjs foum
LLegion said:
Look for the mod of the original you need o be rootedd camera with hw donkse on thjs foum
Click to expand...
Click to collapse
stock camera app has raw feature, and ZOE will work if youz have the app installed. or do you mean you want to have raw while using zoe?
LLegion said:
Look for the mod of the original you need o be rootedd camera with hw donkse on thjs foum
Click to expand...
Click to collapse
DeeZZ_NuuZZ said:
stock camera app has raw feature, and ZOE will work if youz have the app installed. or do you mean you want to have raw while using zoe?
Click to expand...
Click to collapse
DeeZZ_NuuZZ said:
stock camera app has raw feature, and ZOE will work if youz have the app installed. or do you mean you want to have raw while using zoe?
Click to expand...
Click to collapse
I mean just the camera app where I can select between camera, split capture, photo booth, panorama, bokeh, Zoe, Raw... 1 that has ALL the modes enabled... I've been able to have a version that includes Raw, but not Zoe mode, or Has Zoe mode, but no Raw.. I'd like 1 that has the option to select between ALL the different modes ...
Ohh well jist download it from playstore if not let me check kf i can get the apk
---------- Post added at 12:01 PM ---------- Previous post was at 12:00 PM ----------
And zoe is apart i have not oncluded it with camera apk
Zoe isn't available on m9 ..
sallam5010 said:
Zoe isn't available on m9 ..
Click to expand...
Click to collapse
Wrong. It is there , but not in the cam app. Just install Zoe app from play store, works fine like earlier from cam app
Gesendet von meinem HTC One M9 mit Tapatalk
DeeZZ_NuuZZ said:
Wrong. It is there , but not in the cam app. Just install Zoe app from play store, works fine like earlier from cam app
Gesendet von meinem HTC One M9 mit Tapatalk
Click to expand...
Click to collapse
I've noticed something though . In system/customize/acc/default xml, if under the camera options, u change feature version from 8718 to 13414, it gets rid of Raw camera and gives u zoe camera available in the camera app.. There's gotta be a way to tweak this to get BOTH available
bdizzle1686 said:
I've noticed something though . In system/customize/acc/default xml, if under the camera options, u change feature version from 8718 to 13414, it gets rid of Raw camera and gives u zoe camera available in the camera app.. There's gotta be a way to tweak this to get BOTH available
Click to expand...
Click to collapse
OK that got me thinking... I've been trying to get the crop-me-in feature back on m8. So I changed that number to 5202 (desire eye) and got it in my camera but lost Zoe... There gotta be a way to get all though...
Edit for science: I changed it to 8718 on my m8 now I can see raw in my camera app but it crashes the camera when processing
Jbb3393 said:
OK that got me thinking... I've been trying to get the crop-me-in feature back on m8. So I changed that number to 5202 (desire eye) and got it in my camera but lost Zoe... There gotta be a way to get all though...
Edit for science: I changed it to 8718 on my m8 now I can see raw in my camera app but it crashes the camera when processing
Click to expand...
Click to collapse
Yes there are no libs for raw on m8... Since I'm not that into coding such stuff I couldn't get both working together...
Gesendet von meinem HTC One M9 mit Tapatalk
I can't see Zoe mode on m9 whatsoever !!!!! M9 doesn't have Zoe feature ! I know I can download it but it will only work a gimmicky mixer , not like m7 and m8 where it could pull 20 full frame pix with 3 seconds highlight video .... If there's anyway we could activate it on m9 it would be great as I used to use it ALOT
sallam5010 said:
I can't see Zoe mode on m9 whatsoever !!!!! M9 doesn't have Zoe feature ! I know I can download it but it will only work a gimmicky mixer , not like m7 and m8 where it could pull 20 full frame pix with 3 seconds highlight video .... If there's anyway we could activate it on m9 it would be great as I used to use it ALOT
Click to expand...
Click to collapse
If you're rooted, try changing feature version to 13414 in system/customize/acc/default XML, look for where it says camera, and I believe there's a string that says feature version: I think it's 8718, try changing to 13414 ... That gets rid of RAW, but brings back Zoe camera in the camera on latest camera 7.30 ... To get rid of Zoe and bring back RAW, change back to 8718
i have camera with raw (updated from playstore) and zoe updated from playstore as well, these 2 apss do not come together, you have to install/update separately one by one...personally i dont like zoe but if you do want both i dont see the problem at all, but you will never get camra and zoe app together ok? =D
LLegion said:
i have camera with raw (updated from playstore) and zoe updated from playstore as well, these 2 apss do not come together, you have to install/update separately one by one...personally i dont like zoe but if you do want both i dont see the problem at all, but you will never get camra and zoe app together ok? =D
Click to expand...
Click to collapse
I don't think u quite understand what I'm talking about- NOT the Zoe app, but the ZOE CAMERA ENABLED IN CAMERA AS I NOW HAVE IT, see screenshot attached. So yes , u CAN get them together, OK?
LLegion said:
i have camera with raw (updated from playstore) and zoe updated from playstore as well, these 2 apss do not come together, you have to install/update separately one by one...personally i dont like zoe but if you do want both i dont see the problem at all, but you will never get camra and zoe app together ok? =D
Click to expand...
Click to collapse
As u can see, it IS QUITE possible. The only tricky part not done yet is getting both Zoe camera and Raw mode both enabled at the same time to switch between in the camera app. You can have RAW with ZOE camera disabled, or ZOE with RAW disabled. What I'm trying to accomplish is modding the apk to have ALL modes enabled and selectable at the same time
LLegion said:
i have camera with raw (updated from playstore) and zoe updated from playstore as well, these 2 apss do not come together, you have to install/update separately one by one...personally i dont like zoe but if you do want both i dont see the problem at all, but you will never get camra and zoe app together ok? =D
Click to expand...
Click to collapse
Is this your 1st HTC phone? As most veteran HTC modders / users know that ever since HTC 1st released the concept of ZOE, htcs camera app always included a ZOE CAMERA MODE built into the camera app, NOT the Zoe APP. it wasn't until just recently that they started removing it from the camera for specific models....
bdizzle1686 said:
Is this your 1st HTC phone? As most veteran HTC modders / users know that ever since HTC 1st released the concept of ZOE, htcs camera app always included a ZOE CAMERA MODE built into the camera app, NOT the Zoe APP. it wasn't until just recently that they started removing it from the camera for specific models....
Click to expand...
Click to collapse
i think there is no possibility for ZOE plus RAW together in camera app... RAW only works for "normal" photos where ZOE is also meant for Videos...therefore you can't use both together...and even if i think the app would force close
All he meant is we want to use Zoe but if he modddd the xml file Raw will be disabled, he doesn't mean to use Zoe and capture it as raw format ,, ALL WE NEED IS ZOE ENABLED PLUS RAW SHOOTING MODE ENABLED not Raw Zoe capture
Clear ?????
sallam5010 said:
All he meant is we want to use Zoe but if he modddd the xml file Raw will be disabled, he doesn't mean to use Zoe and capture it as raw format ,, ALL WE NEED IS ZOE ENABLED PLUS RAW SHOOTING MODE ENABLED not Raw Zoe capture
Clear ?????
Click to expand...
Click to collapse
There is no need of using caps lock! Will look into that later, now at work, therefore no time. Sorry.
Gesendet von meinem HTC One M9 mit Tapatalk
sallam5010 said:
All he meant is we want to use Zoe but if he modddd the xml file Raw will be disabled, he doesn't mean to use Zoe and capture it as raw format ,, ALL WE NEED IS ZOE ENABLED PLUS RAW SHOOTING MODE ENABLED not Raw Zoe capture
Clear ?????
Click to expand...
Click to collapse
Exactly this.... I'm not trying to capture a Zoe in Raw format or anything like that, all I want is in the camera app, to have the ability to choose between all the different modes without having to MOD the default XML, (Raw, Zoe, Bokeh, Photobooth, split capture, Selfie, Camera,) ... To be able to pick between all the different modes without reboot.

CAMERA FIX!! no focus or flash issue what so ever; With this camera apk

HI everybody,
K this camera apk was pulled from the MIUI rom port while doing extensive testing of the rom it's self just to see how the rom did. While doing this I noted with the camera all issues we have on the cm and nexus based roms are non existent on the MIUI camera, but the camera does have issues.
1. It has two issues one when it takes a photo's with the rear facing camera it saves it upside down for some reason
2. second issue i found is when you go to the front facing camera it glitches in the transition and you half to close it out and restart and then it'll be on the front facing camera and you half to do the same to get back to the rear facing camera NOTE: the front facing camera does not flip the image
Now initially I thought this might of been the miui rom its self so I grabbed the camera apk and jumped to the Nexus rom and IT WORKS. I currently use this camera as my daily driver despite its issues and even though I have purchased the Snap Camera, I just prefer the MIUI camera...
I would note I ran a search on the camera apk files name and found this http://forum.xda-developers.com/find-7/development/mod-oppocamera-settings-timer-scene-t3003030 I tried the zips they have and they don't seem to work on our phone.
Also I did not know who to credit for this. I'm sorry for that; if some one know's who pm me or comment. Thanks
personally i find 'BlueCam' delivers better photos than the MIUI, the only features that don't work is manual focus but the auto focus does a fine job and it has torch mode to take care of night photos which gets over the flash problem, its also free on the app store.
romario3600 said:
personally i find 'Blue Camera' delivers better photos than the MIUI, the only features that don't work is manual focus but the auto focus does a fine job and it has torch mode to take care of night photos which gets over the flash problem, its also free on the app store.
Click to expand...
Click to collapse
Now we just waith the solution for QR Bacorade problem. With this, we have the best rom, whatever CM or Nexus version...
Sent from my SD4930UR using XDA Free mobile app
geografias2 said:
Now we just waith the solution for QR Bacorade problem. With this, we have the best rom, whatever CM or Nexus version...
Sent from my SD4930UR using XDA Free mobile app
Click to expand...
Click to collapse
true that, I'm thinking it should be very possible for an app to utilize an existing camera app to take the picture and then parse it, if background elements are an issue a crop tool can be built it. I'll look into it after this coming week and see if i can come up with something. Won't be perfect but it'll be better than nothing
romario3600 said:
true that, I'm thinking it should be very possible for an app to utilize an existing camera app to take the picture and then parse it, if background elements are an issue a crop tool can be built it. I'll look into it after this coming week and see if i can come up with something. Won't be perfect but it'll be better than nothing
Click to expand...
Click to collapse
Regarding barcode scanning... it is not as seemless as barcode scanner or google goggles, but I had good success with QR droid which can use an existing picture to read a barcode.
lanAKAIan said:
Regarding barcode scanning... it is not as seemless as barcode scanner or google goggles, but I had good success with QR droid which can use an existing picture to read a barcode.
Click to expand...
Click to collapse
That's what I'm getting at, if its possible to read from an image then it should be possible to have your camera take a snap shot, save it has an ordinary image and then have an app interpret it. At least in theory, I don't know how feasable it is yet
I use this camera app from f-droid app store its free and open source and also works well with flash
https://f-droid.org/repository/browse/?fdfilter=camera&fdid=com.simplemobiletools.camera
Tried it with latest lineage os by ggow. Focus is fast and pictures are coming up great. There is no manual controls but this app is better than stock or Google camera app in my opinion anyway. Camera button also works to activate this app and to take snaps with. Developer also has gallery app in f-droid if you want to give it a spin.
maly82 said:
I use this camera app from f-droid app store its free and open source and also works well with flash
Click to expand...
Click to collapse
The camera from F-droid is very limited and it does not work with flash. It works in a sense that flash can be permanently turned on and used as a light. The oppo camera however seems to work correctly. The only problem I encountered is switching between front and rear camera. Seems like usable camera to use when you need flash support. Otherwise open camera app is good and full featured app.
xwin01 said:
. The only problem I encountered is switching between front and rear camera. Seems like usable camera to use when you need flash support. Otherwise open camera app is good and full featured app.
Click to expand...
Click to collapse
I find oppo camera good but pictures for not known reason turn out upside down - I really don't fancy switching them back manually.
Another good app is camera HDR. As mentioned in CyanogenMod description it just work well.
thanks. really nice. flash light photos works fine.

Better Camera

So what makes a camera stutter? After trying out the ported OnePlus camera and noticing how smooth it looked, I now hate the stock camera. However, the camera doesn't work correctly with nougat (it takes pictures and when I look at them in the gallery, they're rotated 90° counter clockwise). So what's a camera app that works almost perfectly and also provides fluidity with that such as in the OnePlus camera?
There is a workaround for the OnePlus camera if it takes photos rotated, Simply select HDR from the 3dot menu in bottom right and then deselect, your photos will be fine. Even if you do not deselect HDR it will be fine but I recommend deselecting it because HDR doesn't show much difference to me and there is processing after the pic so it takes more time. If you want to try other camera apps, I made a thread on it some time ago https://forum.xda-developers.com/lg-k10/themes/root-stock-camera-apps-ported-devices-t3573485. The app you should try is Google camera but the one in the thread is for marshmallow and as you said you have nougat, there is a never version for nougat. Look for it in apk mirror or request me if you cant, I'll look for you.
waleeds1 said:
There is a workaround for the OnePlus camera if it takes photos rotated, Simply select HDR from the 3dot menu in bottom right and then deselect, your photos will be fine. Even if you do not deselect HDR it will be fine but I recommend deselecting it because HDR doesn't show much difference to me and there is processing after the pic so it takes more time. If you want to try other camera apps, I made a thread on it some time ago https://forum.xda-developers.com/lg-k10/themes/root-stock-camera-apps-ported-devices-t3573485. The app you should try is Google camera but the one in the thread is for marshmallow and as you said you have nougat, there is a never version for nougat. Look for it in apk mirror or request me if you cant, I'll look for you.
Click to expand...
Click to collapse
I have the Google camera, but on my device it's a bit Jarry and sluggish.... I tried the HDR fix, and it didn't work. It may be due to your port being for marshmallow, and I'm on nougat with different hardware..... Thank you for your response though!
Nobodyslight said:
I have the Google camera, but on my device it's a bit Jarry and sluggish.... I tried the HDR fix, and it didn't work. It may be due to your port being for marshmallow, and I'm on nougat with different hardware..... Thank you for your response though!
Click to expand...
Click to collapse
Are you using the camera app from my thread?
waleeds1 said:
Are you using the camera app from my thread?
Click to expand...
Click to collapse
Yes
Patyna2006 said:
I ported LG XCam no root
Click to expand...
Click to collapse
Link?

Categories

Resources