Hi Guys,
It appears that the HD2 hardware is capable of doing continuous autofocus in camcorder mode. There is a video on youtube of a guy using the (discontinued) shubCRAFT 2.0 build. Search 'FtFiUByHmg4' as I'm not allowed to post links.
Is is possible to extract the Camera.apk file from the shubCRAFT build and inject it into a NAND (for example CM7) build?
It must be more complicated than that, as when I tried to do this my camera app just FCs as soon as I click on it.
I've attached the apk file to see if anyone else has better luck.
Thanks,
Mark
That would be awesome!
Works on wp7.
OK, so after clearing Dalvik cache the old 'version 1' camera loads, but the autofocus doesnt work... maybe it's something in the settings returned by the kernel.
I've been trying to have a poke around the source code (https://github.com/CyanogenMod/andr...bread/src/com/android/camera/VideoCamera.java)...
And in the startVideoRecording() method 'CameraSettings.setContinuousAf(mParameters, true);' is called.
This sets the 'enable-caf' value in mParameters...
which is set to 'on' if the parameters contains 'taking-picture-zoom'.
Not sure where the parameters are taken from though... and/or whether the HD2 has this set.
... i'll keep digging and see what I can find.
[e!]
So... I've hacked away, tried to force autofocus to be on all the time in video recorder mode (whether recording or not - the fact that you have to switch to the camera to get the initial focus is crap)... but I've gotten nowhere, so am thinking that it may have been something in the kernel instead/too. I'll have a look there too later.
Am never a fan of double posting but this is a half bump / half progress report.
I cant seem to enable continuous auto focus yet... am sure there is some fudging that can be done.
In the meantime I've made it so that if you tap the screen in camera mode the camera will auto-focus (once), and when you switch from camera -> video camera mode the camera will auto-focus (again, just once).
Am hoping that with some more hacking about with the cyanogenmod source I'll be able to get something that polls and does an auto-focus every 10s or something... though am not sure if there is a way to check that the camera is already focussed before this happens.
... has anyone else been hacking with the HD2 camera? I saw some threads about 720p video recording but nothing seems to have happened to that for some time.
Mark
[e!] - hmm looks like you cant call autoFocus() outside of preview mode. Must be something in the kernel that will allow CAF seeing as it worked in the shubcraft build.
[e!!] I've attached the WIP Camera.apk file, this has tap-to-focus in Camera mode and focus on switch to camcorder. Not had any spare time to look into autofocus yet.
In order to use this you want to either use Root Explorer to replace the current /system/app/Camera.apk or use adb:
Code:
% adb shell mount -o remount -rw -n /system
% adb push Camera.apk /system/app/
% adb shell mount -o remount -r -n /system
Hope you can figure something out. Auto focus would definitely improve the video quality. I'm sure if the auto focus works on WP7, then Android could definitely do it as well. I remember using the Shubcraft and the JDMS rom way back and it worked there.
Did you have any progress?
mrolp said:
Did you have any progress?
Click to expand...
Click to collapse
No more than in my posts above... and then the digitizer of my HD2 died so no more development for me
Sorry guys...
I'm resuming the thread since i was reading cyanogen camera source and searching "CameraSettings.setContinuousAf()" this page appered.
Seems that camera app is easy to modify to support Continous Autofocus, but something in the kernel or in the libcamera doesn't allow us to CAF in recording mode
I already found that Sense ROM are able to do Touch To Focus when recording, but they not focus very well (seems that they always focus to infinite), so it's again a kernel or libcamera problem
any kernel dev here?
For the benefit of everyone, here is the YouTube video with continuous auto-focus
...and the link for ROM by @shu8i.
I looked up this thread, and there doesn't seem to be a mention of what was done to make continuous autofocus work. Some observations though:
It is a SD ROM
It uses Hastrain 7.7+ and ElBartoME #3 kernels (Couldn't find anything on camcorder autofocus in Hastrain's thread, and couldn't find a kernel thread for ElBartoME #3)
It is FroYo 2.2.1
Now that we know the phone is capable of continuous autofocus in camcorder mode, how to get it working? Tested my CM7 based build, and it doesn't work!
Thanks a lot Mods for moving this thread to the Dev forum!!
I am a novice in Linux/ Java/ C++ - but this looks like something that is achievable. Can someone take a look at this please?!! Sure, the camcorder works ok, but continuous auto-focus will definitely be a great improvement!!
<<BUMP>>
I really want this to work on Android
Can a Mod please Sticky this thread ?
My CM 6 FROYO has this camera and continuos focus works if im not mistaken. I used the camera lib and some other things to make the camera and camcorder work because of fc with tytungs r12 old cam kernel.
Edit : It does work on my CM 6 FROYO. I recorded some video and no Fcs and everytime I moved it would auto focus properly. Try it out I have both cLK and Mag version.
[email protected] said:
My CM 6 FROYO has this camera and continuos focus works if im not mistaken. I used the camera lib and some other things to make the camera and camcorder work because of fc with tytungs r12 old cam kernel.
Edit : It does work on my CM 6 FROYO. I recorded some video and no Fcs and everytime I moved it would auto focus properly. Try it out I have both cLK and Mag version.
Click to expand...
Click to collapse
You beat me to it.... Yes, CM6 had continuous focus which was left out in CM7. I think Steve Kondik was the one who wrote that in, so you might want to ask him or just look through the changes he did back in Froyo. All the best!
If they modify the apk to work for gingerbread. Than it would work.
erlern said:
You beat me to it.... Yes, CM6 had continuous focus which was left out in CM7. I think Steve Kondik was the one who wrote that in, so you might want to ask him or just look through the changes he did back in Froyo. All the best!
Click to expand...
Click to collapse
True - I looked it up in a HTC Legend with "stock" CM7, and it did not have auto-focus either.
So looks if CM7 adds this function we will get it too? Do we know if this is already being worked on?
I hope some devs look into this
This would be amazing !
Looks like continuous autofocus works partly in LGCamera Pro - until start of recording: http://forum.xda-developers.com/showthread.php?t=1276031
Can someone in the know look this app to see if we can get continuous autofocus?
waiting for autofocus on camcoder...
kazantip1288 said:
waiting for autofocus on camcoder...
Click to expand...
Click to collapse
+1
Hope something works out
Related
Ok, so, Thanks to aread22 We have a 90% working cam, since we still dont have 720p and some effects ares still broke, but share and set as both work which was the original goal of this, and while we dont have 720p recording yet, im sure we will get there (eventually )
Heres that Cam:View attachment HTCCamera.apk
oh and btw, its from the 1.84 desire sense rom.
So things still to fix:
-720P
-Some effects (graphic intensive ones, probably gpu related)
(and i really hope some mod doesn't move this thread to q&a like my last thread, WHICH WAS NOT A Q&A THREAD)
* reserved*
Ok, i guess what ill put here are the tools that will help anyone who wants to contribute to this,
Beyond compare: A very very good compare tool for directory's and files
http://www.scootersoftware.com/
Apk manager: a very easy feature rich app script package for apk's that will let you extract,decompile,recompile and a ton of other stuff
http://forum.xda-developers.com/showthread.php?t=695701
Notepad++: one of the best text/data editors i have ever used, very handy..
http://notepad-plus-plus.org/
DroidExplorer: will let you access your android device like an explorer window..
http://de.codeplex.com/
dsixda's HTC Android Kitchen: a very easy kitchen to use, windows (with cygwin) and linux compatible
http://forum.xda-developers.com/showthread.php?t=633246
u forgot cmylxgo's desire HD camera fix..
dailomac said:
u forgot cmylxgo's desire HD camera fix..
Click to expand...
Click to collapse
omfg not this sh*t again..
i defer you to this:
http://forum.xda-developers.com/showthread.php?t=981881
hell, go read cmylxgos thread, hes using my fixed apk..
and one of the people collaborating with us on this is cmylxgo along with g.lewarne,dandiest and a few others should be contributing too..
ok, anyways.. i have been pouring over smali files for days, trying different files in lib,bin and from looking at the log, my current guess is that the issue lies with the recording of audio when you hit record, which it runs into an error when it tries and crashes the apk.. i dont know if thats correct and im not sure what needs to be done to fix it, but thats why we have a dev thread for eh?
How about 720 recording ...is it just not possible cause I figured someone would have figured this out by now
tigerz0202 said:
How about 720 recording ...is it just not possible cause I figured someone would have figured this out by now
Click to expand...
Click to collapse
well, that isnt something i believe that can be done at the moment, but i do believe it is possible and from what i have read its mostly a kernel issue, seeing as how wp7 can do it on our hardware and thats all software..
but before we even approach that here, i would like to get just basic recording working with the newer camcorder function..
pyrorob said:
well, that isnt something i believe that can be done at the moment, but i do believe it is possible and from what i have read its mostly a kernel issue, seeing as how wp7 can do it on our hardware and thats all software..
but before we even approach that here, i would like to get just basic recording working with the newer camcorder function..
Click to expand...
Click to collapse
Which apk is the one with all the boxy border .....I hate that one, the one that comes with cmyxlo builds is the one I would love to have in my cm7 rom I'm currently on. And will it install
tigerz0202 said:
Which apk is the one with all the boxy border .....I hate that one, the one that comes with cmyxlo builds is the one I would love to have in my cm7 rom I'm currently on. And will it install
Click to expand...
Click to collapse
the boxy border? i have not seen that.. and the one in cmylxgo's rom is of course, the older one with the working camcorder function..
pyrorob said:
the boxy border? i have not seen that.. and the one in cmylxgo's rom is of course, the older one with the working camcorder function..
Click to expand...
Click to collapse
Its got a grey border around the screen. Some devs skin it some don't
tigerz0202 said:
How about 720 recording ...is it just not possible cause I figured someone would have figured this out by now
Click to expand...
Click to collapse
What about A/V sync in Sense builds? I've been flashing and flashing, and have yet to find a truly working camcorder in this regard? Is this likely to be fixed?
inconceeeivable said:
What about A/V sync in Sense builds? I've been flashing and flashing, and have yet to find a truly working camcorder in this regard? Is this likely to be fixed?
Click to expand...
Click to collapse
well, who knows? maybe the different version of the camcorder could fix it? who knows until we get it working...
i think people are more likely to be using the camera so if we get a camera,it will be a big breakthrough and then the camcorder will probably come after you figured out the camera,keep up the hard work
Keep up the good work ! And this thread deserves to be in the stickies !
Finally, I'm glad to see that you've taken the initiative to get this moving. Can this also apply to the currently non-working camera that appears in the new Gingerbread Sense build by iMilka (and for other future builds)?
jonboyuk said:
Finally, I'm glad to see that you've taken the initiative to get this moving. Can this also apply to the currently non-working camera that appears in the new Gingerbread Sense build by iMilka (and for other future builds)?
Click to expand...
Click to collapse
well, who knows, what i would like to see is people posting logs from alogcat at the time the try to run the camera (if it fc's as soon as you open it) or when they hit record (if it fc's there)
i dont know what the issue is with the gb camera (does it fc on open?)
but i wouldn't mind if this say, became the thread where we work out camera issues on all builds
and if enough people posted log snippets, just maybe we can find a commonality and that would head us in the right direction..
as it stands im figuring that the issue lies in the kernel or the libs, with the kernel looking more likely, im figuring it needs updated code to be compatible with the newer cameras and more then likely if we can get the newer camera working here, then the gb camera would also..
logcat
here i have attached the logcat. this is my first time. so im not sure if ok. i have started the logcat and then i click the camera then it did soft reset and reboot i close the logcat.
pyrorob said:
well, who knows, what i would like to see is people posting logs from alogcat at the time the try to run the camera (if it fc's as soon as you open it) or when they hit record (if it fc's there)
i dont know what the issue is with the gb camera (does it fc on open?)
but i wouldn't mind if this say, became the thread where we work out camera issues on all builds
and if enough people posted log snippets, just maybe we can find a commonality and that would head us in the right direction..
as it stands im figuring that the issue lies in the kernel or the libs, with the kernel looking more likely, im figuring it needs updated code to be compatible with the newer cameras and more then likely if we can get the newer camera working here, then the gb camera would also..
Click to expand...
Click to collapse
rasumia said:
here i have attached the logcat. this is my first time. so im not sure if ok. i have started the logcat and then i click the camera then it did soft reset and reboot i close the logcat.
Click to expand...
Click to collapse
what camera apk is this and what rom?
and do this when you post these, look at the time on your watch or computer when you hit record and mention that. as long as its set the same as your device (your pc should have its clocked auto synced just like your phone so its times should match). this way there wont be a need to do a bunch of fishing for the error in the log.. oh, and set your log type to long under alogcat preferences..
edit: ok i see this is the gingerbread rom..
and wow lots of permission errors and a java failed binder transaction then all your services die..
and another odd, it seems to be connecting to htc database servers to check for updates..
camera
Sooo.. for ex. I have frankinstein droid 1.5 rom, when i hit record it doesn't work, and i must reboot my hd2.
What i wanna install ?
This is the newest release of MIUI, version 1.9.2, although it still is in development and not stable by their means, stable for me (changelog http://miuiandroid.com/)
I am using rubbachicken's META-INF update script! Also the camera is (partially) working due to his attempts.
It feels like we are close to a full working camera when you go to setting in camera and enable play back. It shows the picture with some options on the side, and the picture app is still responsive, it is just there is a "cannot connect to camera" dialog box in the way. I am really wondering what is causing the problem!
Other differences I see about this rom is that the camera video quality is a ton better, and the auto brightness works great (didn't really work before for some reason).
If anyone has any ideas about the camera, post them please!
MIUI.us kobe 1.9.2 Eng Deo ZipA Signed.zip
Excellent, gonna try it later, when my internet is fine!
I have seen that BRAVO forums dont have too much traffic, I wish there were many people asking for more so that developers could get more motivation.
There are great roms for defy and almost all of them run in our BRAVOs, the only problem is the camera, but I know we will get it soon.
I hope on these roms we can get another camera working besides action snap because auto focus was a feature i loved
Sent from my MB520 using XDA App
BravoMotorola said:
This is the newest release of MIUI, version 1.9.2, although it still is in development and not stable by their means, stable for me (changelog http://miuiandroid.com/)
I am using rubbachicken's META-INF update script! Also the camera is (partially) working due to his attempts.
It feels like we are close to a full working camera when you go to setting in camera and enable play back. It shows the picture with some options on the side, and the picture app is still responsive, it is just there is a "cannot connect to camera" dialog box in the way. I am really wondering what is causing the problem!
Other differences I see about this rom is that the camera video quality is a ton better, and the auto brightness works great (didn't really work before for some reason).
If anyone has any ideas about the camera, post them please!
MIUI.us kobe 1.9.2 Eng Deo ZipA Signed.zip
Click to expand...
Click to collapse
so too use this do u apply update zip in recovery then write data and cache? Thanks
MCFarmfresh said:
so too use this do u apply update zip in recovery then write data and cache? Thanks
Click to expand...
Click to collapse
Yes sir, flash it and do "wipe data/factory reset" and after that "wipe cache partition" and you're good.
4-3 v1.3.1 for FC24 is out!! Nothing has changed from 1.2.8. I just incorporated the fix for the low battery issue Calkulin added. Again, watch those file sizes - they get big very quickly.
I've been working on this for a while. Just a little rundown this is the camera from Calkulin's ICS rom so anything he's added to it is still there. I've tested it myself and it works - just make sure to read everything and install it correctly.
*There's an audio/video sync issue, this is across all roms and multiple phones that have this mod. So far there is no fix but it's being looked in to. Until then thanks to rafalense there is a solution to re-sync everthing after you record it.
Use Avidemux (Windows/Linux/BSD/Mac)
Follow rafalense post on using it. HERE
What I've changed:
1080p new(stock)
Superfine: 24Mbit (17)
Fine: 18Mbit (15)
Normal: 14Mbit (13)
720p
Superfine: 18Mbit (12)
Fine: 14Mbit (10)
Normal: 10Mbit (8)
640x480 - because it's used for the front facing camera also
Superfine: 3.159Mbit (3.078) Will implement in next version.
Audio bitrates for these is 128kbps (64 stock)
Sampling rate 48kHz (unchanged from Calkulin's, stock is 16kHz)
While I did put in the time doing the conversions, decompiling, and other stuff - I did not make it silent and a few other things. Credits for that goes to:
Calkulin - ICS goodness, making it silent, other mods I didn't do to this apk.
Agat63 - For helping me out and supporting me on this. Also for including this mod in his rom.
rafalense - For his post on editing the arrays.
To install just use Root Explorer. Any others using adb or terminal - I assume you know what you're doing already there with cp, chmod, and chown commands. Just in case though I put them up in the second post
Just a note: It may close on you a few times - this is normal from what I can tell. After a few tries and a minute or so it will work flawlessly. Also, feel free to bake this into your roms or whatever you desire. Just make sure to give me and others credit if you do.
U haz the bugz? Post them. I'm still new to this but I'll do my best to get them resolved. Have a solution? Post it. Don't leave others hanging.
Terminal code and future plans
Flashable zip located in first post. If you like to do it the 'hard' way, want to learn, or you're just old school like that the permissions for both are rw,r,r change owner/group to root also.
In terminal:
Code:
$su
#mount -o remount,rw /dev/block/mmcblk0p9 /system
#cp /mnt/sdcard/file/location /system/etc
or
#cp /mnt/sdcard/file/location /system/app
#chmod 644 /path/to/file
Then to change owner/group:
#cmown root:root /path/to/file
#reboot
That should get you taken care of
Future plans
More audio adjustments (hopefully 192 without it cutting out)
Increase front cameras 640x480 bitrate
Try to get the time between each picture down.
Raise the FPS above 30 (might be hardware limited)
Currently checking with the OP of THIS thread. Hopefully we can get some of these mods included also. < I got the ok from the dev so I'll be decompiling over the next few days and looking through it to see how/if any of it can be added to this one.
If you can help with any of these (or more) please jump in. I'd especially like some help from anyone knowledgeable in audio/video or photography to help on numbers for quality tweaks. some questions I have are:
Since we only have one mic does setting audio recording to 2 channel really matter or is it better to set it to 1 and let the playback equipment (home theater or VLC for example) decode it to stereo?
How high should the bitrates (video) go before it becomes unnoticeable in terms of quality?
I've heard the stock audio gain is too high - if I can adjust it, how much should I drop it?
If you'd like to see how this is done and try it yourself I have a how-to on page 8, post 75. LINK There's also a 'cheat sheet' attached to the post.
Keep it up. My E4GT being the only video camera I have any improvements to bitrate and other options are good news.
So if we are currently on Calkulin's E4GT 2 v1.1 is this any different from the camera on there?
I'm doing what I can. It's my only one also not to mention I can take it into concerts that won't allow video cameras.
I'm working on the fps setting. I've read that Sammy didn't give us much to play with in that area but hopefully I can get it above 30fps. The bitrates for video can go higher but Potatoman over on the i9100 forum says it doesn't make a difference past 24 or so. It just makes a huge file.
painkillaz said:
So if we are currently on Calkulin's E4GT 2 v1.1 is this any different from the camera on there?
Click to expand...
Click to collapse
Not in looks, just in performance. The bitrates for audio and video are higher which leads to better quality (to a degree). What we got stock just wasn't a good as it should be.
Is this issue (http://forum.xda-developers.com/showthread.php?t=1556355) fixed in this Camera app?
Will this work on gingerbread?
kobridge said:
Is this issue (http://forum.xda-developers.com/showthread.php?t=1556355) fixed in this Camera app?
Click to expand...
Click to collapse
Haven't checked. If it wasn't fixed in Calkulins then it's the same here. I didn't mess with any of that yet. Let me check and I'll update this post.
UPDATE: The image is flipped. It flips it to what someone looking at you would see - not what's on the screen which is more like a reflection in a mirror.
master acehole said:
Will this work on gingerbread?
Click to expand...
Click to collapse
As long as you have a unicorn in your driveway pooping Skittles. Seriously though (you know it will be asked) this doesn't not in any way work on Gingerbread. I actually made one for GB, jst search around in the General section for the E4GT.
i deleted the original camera.apk and replace it with this one, is that all I should have to do to install? I click on in to install like a normal apk but it gives me a parsing error.
Edit: Just a bad DL
spankmaster said:
i deleted the original camera.apk and replace it with this one, is that all I should have to do to install? I click on in to install like a normal apk but it gives me a parsing error.
Edit: Just a bad DL
Click to expand...
Click to collapse
So it's working for you now? And yes, just delete the original camera and put this one in it's place. Change permissions (rw,r,r) and for good measure change the owner and group to root. Reboot.
KCRic said:
Haven't checked. If it wasn't fixed in Calkulins then it's the same here. I didn't mess with any of that yet. Let me check and I'll update this post.
UPDATE: The image is flipped. It flips it to what someone looking at you would see - not what's on the screen which is more like a reflection in a mirror.
Click to expand...
Click to collapse
People expect to get the same picture as shown in the screen and feeling like who's this in the picture because the image reversed. Looks different person.
kobridge said:
People expect to get the same picture as shown in the screen and feeling like who's this in the picture because the image reversed. Looks different person.
Click to expand...
Click to collapse
People are so self absorbed these days Maybe Samsung is trying to correct that??
Seriously, I don't see it as an 'issue' really. Most people won't know or care when you send the the picture. For others - rotate. I guess I could look into it though.
KCRic said:
Haven't checked. If it wasn't fixed in Calkulins then it's the same here. I didn't mess with any of that yet. Let me check and I'll update this post.
UPDATE: The image is flipped. It flips it to what someone looking at you would see - not what's on the screen which is more like a reflection in a mirror.
As long as you have a unicorn in your driveway pooping Skittles. Seriously though (you know it will be asked) this doesn't not in any way work on Gingerbread. I actually made one for GB, jst search around in the General section for the E4GT.
Click to expand...
Click to collapse
10-4 buddy and what you say if I did have a unicorn pooping skittles but in my garage?..... and will try this soon thanks
OP,
Sorry to drop into your thread like this but in OP you promised a flashable zip file and I thought I'll do it.
For those of you who don't wanna deal with adb, rootexplorer, renaming etc. here is the link:
http://jumbofiles.com/l281z31g34oi
This zip will flash new enhanced and silenced camera and at the same time will turn off camera system sounds like shutter, video on and of etc.
OP if it's OK with you just place the link in first post so users don't have to look for it.
If you think I'm outa line here just delete this post and keep link in first post if you want.
agat63 said:
OP,
Sorry to drop into your thread like this but in OP you promised a flashable zip file and I thought I'll do it.
For those of you who don't wanna deal with adb, rootexplorer, renaming etc. here is the link:
http://jumbofiles.com/l281z31g34oi
This zip will flash new enhanced and silenced camera and at the same time will turn off camera system sounds like shutter, video on and of etc.
OP if it's OK with you just place the link in first post so users don't have to look for it.
If you think I'm outa line here just delete this post and keep link in first post if you want.
Click to expand...
Click to collapse
Agat63 thanks for the save on that zip. Been busy here at work today. I'll put up the link right now.
Works like a charm, thanks to both of you!
jnhelman said:
Works like a charm, thanks to both of you!
Click to expand...
Click to collapse
Glad you like it.
BTW to best of my knowledge silent cameras are illegal in some of the states.
You guys better check it out.
If any problems just use rootexplorer and rename:
/system/media/audio/ui/Shutter_01.mp3 to Shutter_01.ogg.
It will turn on camera shutter sound.
Yeah, it's frowned upon lol
Good call. I'm hoping most people know that by now. Just don't do anything idiotic with it (you know what I mean...)
Anyway, uploaded another file and instructions for using terminal to install all of this. Almost forgot to include it. The camera doesn't work to it's full potential without it. Agat63, I'm working late - could you include it in the zip and I'll update the link in the OP in a bit. I posted where it needs to go inside the rom.
Hi guys.. I finally installed jellybean on the phone, but there was some issues regarding some crucial(for me) functionalities of the phone;
Mainly the camera, It takes pictures with the green thing of course (I don't mind this one), It shoots videos with focusing and all, but it doesn't really shoot 30fps (I tried apps like lg camera and camera ics but it's all the same). There was some talk here about changing some system configuration file to make the camera shoot in 26fps, but that doesn't seem to be making any sense... Now the second thing is third party apps that use the camera, as for example camscanner that has some weird issues inside of it.. I open the program, I switch to batch mode(this one takes a lot of pictures), I take the first image which goes normally but after that all I see is what I had taken, I can take new images, but there is no preview(and no focusing). Notice that this app worked in gb, and had no problems, And that the whole range of apps that shoot multiple images has the same problem (handy scanner for example) . So did any one get around those issues... I heard that CM9 is better so can anyone confirm if camscanner is working there (the batch mode), Or maybe if someone is using a different one that doesn't have those issues ; These are really some serious drawbacks to the available custom roms, So I think they should have been at least mentioned.
Thanks in advance !
Dude you should really read what Arco said about the SGW camera in CM before claiming it´s not working that well like in GB. It´s a dirty hack to make it work at all so it will also not work well with all the camera apps out there. In CM9 its working a bit better than in CM10 but regarding smoothness and compability with other apps it´s about the same. So you are not telling us something new and everyone who is using CM9 or CM10 is also aware of this.
So if this is a big issue for you, flash back to GB and use this instead.
honeyx said:
So if this is a big issue for you, flash back to GB and use this instead.
Click to expand...
Click to collapse
Thanks for the response, I might do that ... As for now can someone confirm that camscanner is not working on CM9 as well ?
I also have the same problem with the app above in camera jb+ (Takes the first picture, freezes), and I heard that some people are using it flawlessly... So please what rom are you using ?
varexnet32 said:
Thanks for the response, I might do that ... As for now can someone confirm that camscanner is not working on CM9 as well ?
I also have the same problem with the app above in camera jb+ (Takes the first picture, freezes), and I heard that some people are using it flawlessly... So please what rom are you using ?
Click to expand...
Click to collapse
camera is working well in cm9 eol which is i'm using. spend some time reading cm9 thread and cm9 bug report thread to avoid redundant questions.
dec0der said:
camera is working well in cm9 eol which is i'm using. spend some time reading cm9 thread and cm9 bug report thread to avoid redundant questions.
Click to expand...
Click to collapse
Thanks for the response. I myself noticed that the camera even in CM10 is faster than stock, except for some issues... However someone just confirmed to me that the issue that I'm talking about here is present in cm9 too, so it seems that the camera is the same in all avaiable cyanogenmods for this phones !
Notes for Kitkat version on #post17
Click to expand...
Click to collapse
Let's get clear on topic:
GalleryGoogle.apk 1.1.40001 on JellyBean 4.2 Introduction, first generation of Photo Sphere, been working on multiple devices since then..
GalleryGoogle.apk 1.1.40012 on JellyBean 4.3 Introduction, prior to this thread it crashed after taking first photo under Photo Sphere mode on endeavoru running HTC Sense 4+ & 5. AOSP have no problem, though.
What's new in Photo Sphere on version 1.1.40012:-
The Photo Sphere team worked incredibly hard for +Android 4.3, so there are a few big quality improvements that you're going to love!
First, alignment and stitching are much better, giving you more level horizons and fewer errors throughout the image. While environments with lots of moving things are always challenging, scenes like the one attached here with a long flat horizon are now much better.
Second, we've improved exposure compensation for each individual frame, producing a beautifully exposed photo sphere. You can compare this to the previous versions that produced gray areas and inconsistent coloring in areas of high contrast (near the sun, horizons, buildings against blue sky, etc.).
Thank you to the incredible team of engineers that I work with who really make it fun and inspiring to come to work every day!
--- Evan Rapoport (Googler)
Click to expand...
Click to collapse
GalleryGoogle screenshots:
Click to expand...
Click to collapse
Instructions:
Step 1. Download and extract com.google.android.gallery3d_1.1.40012.part*.rar
Step 2. Flash photosphere_library_patch.zip through recovery.
Step 3. Install com.google.android.gallery3d_1.1.40012.apk on phone normally.
FAQ:
Bouncy landscape on Photo Sphere viewfinder.
All I can tell is the app doesn't my panasonic gyro scope.
90° rotated landsccape on Photo Sphere viewfinder.
Known issue on endeavoru since .40001, simply switch between modes it will resolve itself.
A blink of artifact while finish capturing Photo Sphere.
No harm, either deal with it or remove the APK.
My advise on Panorama.
Endeavoru suffer poor performance while scanning panorama, wrost case scenario may be system not responding.
Since it had no advantage over stock, you shall opting HTC camera for Panorama instead.
How to completely uninstall?
Uninstall the APK, then remove system/lib/libjpig.so through file explorer.
I'm not Endeavoru owner, can I use it?
If you have a device running HTC Sense 5, the answers is most likely positive.
For others manufacturers' devices, it's hard to tell.. Worth a try, though.
Terms of use:
I'm not responsible for whatever consequences happened to your device after installing this apk/mod.
Especially heating, as you should know rendering photo sphere involved performing heavy lifting jobs on smartphone.
Click to expand...
Click to collapse
Notes for ROM devs:
You may use as your will..
Just remember to give me credit and link to the thread, thanks for your corporation.
A Reply/PM will always be appreciated.
Credits:
Awesome Googlers working on Photo Sphere, Adobe's XMP...
I would like to express my apologies to Joint Photographic Experts Group for renaming libjpeg to libjpig
Reserved for murmuring.
It all begin with introduction of a newer version 1.1.40012 eventually broke GalleryGoogle compatibility on Endeavoru (and tegra devices).
Despite minor 0.0.00011 version bump in numbers the update actually packed in bunches of improvements , unforunately our beloved tegra is complaining.
Logcat: F/native (13549): image_transform.h:27 Check failed: resizer.Resize( ... )
The crash thrown from the burdensome native library lightcycle.so right after each time first photosphere photo taken.
P.S. LightCycle is the codename of PhotoSphere.
Meanwhile we must have native libraries embedded along the apk ready to be loaded from system in order to let the app up and running properly.
For instance .40001 had 3 native library, .40012 carried pretty impressive amount counting 27 libraries.
Among one of them is libjpeg.so, you can get to known what is it about straight from the name.
The libjpeg.so conflicted with another version used by our system libraries, libjpeg.so used on tegra devices suspected including proprietary sauces for hardware acceleration on pictures encode/decoding.
Replacing it on a tegra device will render your android with crashing loops because of JPEG. If you try to take a photosphere after replacing it, photosphere works..
However there is no excuse to keep it on your system will ever stoping crashes simply it can't process images, you can't see most of them either.
After identified root cause, I was able to came up with a little hacky solution altering lightcycle.so to look for libjpig.so[A rename & edited version of libjpeg.so from GalleryGoogle] instead of original libjpeg.so on tegra system.
Somehow Android jni interface will refuse to load libjpig.so from data app path, let us no option but adding libjpig.so into /system/lib/.
I suspected the situation occured because the libjpig.so is invoke by lightcycle.so directly and not a nativelibrary load through app.
Click to expand...
Click to collapse
Concluding what I'd done in simple.
Extract GalleryGoogle v1.1.40012 from latest Android 4.3 firmware of HTC One Google Play Edition.
Make lightcycle.so re-point to libjpig.so instead of libjpeg.so to avoid conflict.
Rename libjpeg.so from GalleryGoogle to libjpig.so plus giving it a new soname.
Repack the apk embedding all 27 native libraries to avoid flooding them into /system/lib/. Still need libjpig.so to be there, though.
So this is a Gallery3D.apk... Which camera apk to use with this?
skynet77 said:
So this is a Gallery3D.apk... Which camera apk to use with this?
Click to expand...
Click to collapse
See the screenshots. The apk consist of two parts, once installed you get a Gallery and a Camera.
Infinite thanks for this and 8mp mod, both work wonderfully!
Can anyone confirm wirking photosphere on ARHD Rom?
WHOX+
Work on One X+ ?
lek669 said:
Work on One X+ ?
Click to expand...
Click to collapse
Sure. The problem that causes force close originally had something to do with tegra. I solved it on One X, so X+ accounted.
CrazyCypher said:
Can anyone confirm wirking photosphere on ARHD Rom?
Click to expand...
Click to collapse
It will work on any custom Rom. Just try it yourself.
HebeGuess said:
Sure. The problem that causes force close originally had something to do with tegra. I solved it on One X, so X+ accounted.
Click to expand...
Click to collapse
It's Working On HTC One X+ ...Thank You
Can you create a standalone full apk version?
vbaros said:
Can you create a standalone full apk version?
Click to expand...
Click to collapse
In fact, I already do that. All native libraries is embed inside the apk.
Just updated post #2, the reason why it cannot be a full standalone package is well stated there.
What's the point? Any benefits over the stock camera and gallery? Screenshots weren't much help.
Gotta try this one.
I installed it and it works, the panorama and regular photos turn out Ok. The only problem is when I try to take a photosphere, the first couple of shots are aligned but after a while the composed image starts spinning without me moving the phone, it's like a slow drift that makes impossible to get a 360°. Anyone else has this? Is it software related or the phone sensors could have something wrong?
I've tried recalibrating everything but there is no improvement.
Enviado desde mi HTC One X usando Tapatalk
what's up with part 1 and part 2 in the downloads...? I'm on ARHD 31.3, and there's no mention how or why to use the parts.
Quick Note on Kitkat
So it's KitKat time.
What changes? Gallery and Camera are now seperated respective packages, previously the was under single GalleryGoogle.apk
com.google.android.gallery3d 1.1.40304
com.google.android.GoogleCamera 2.0.001 (893803-30)
They will provide you a Gallery and a Camera, installing either one is fine but they are slight dependency on each others.
You will need both, so make things it simple.
You will also need the new Play service 4.0 to be able view Photo Sphere through updated Gallery.
The same libjpeg.so trick I applied on previous version still work so now here is a updated version.
Previous patch works fine, an update to date version is always advisable.
Since they came under Nexus 5 as system apps and has been splited into two, that mean harder to tracker down native libraries.
Almost certainly I missed some libraries on both packages, thus not everything works for now
Good news is Photo Sphere works fine, however you will get empty result for the Photo Sphere tutorial.
Meanwhile I said we wait for GPE devices' OTA to see if they are distributing unstripped version of apk like before. Everthing will be easy if there are libraries embedded inside... See ya~
Flash the patch_1.1.40304.zip & Install the apk as usual.
Grab all necessary file here..
Camera app still FC when selecting Photosphere
this will work in a original rom?