[DEV][TUT][JB] Camera Fix / Workaround JB [PLAY] - Xperia Play Android Development

Hi.
Just though I would create this thread to help other dev's with getting the camera to work on JB.
This example is for compiling from source.
I will give a guide with commits I have just made on an example repo for the purpose of this thread.
I have made all the changes to zeus they are exact same for zeusc
You will need to -
- Get libstagefright_soft_aacdec.so from the attachment below (extract the zip) or any working ICS ROM for our device
Place libstagefright_soft_aacdec.so into vendor/semc/zeus/proprietary/lib
https://github.com/garwedgess/propr...mmit/004057e96521b231e2b42800e5ea142a3ff8dde5
- Then add the path to zeus-vendor-blobs.mk in vendor/semc/zeus NOTE - Do not add it to last line add it like this
Copy the whole line I made a mistake with initial commit :silly:
https://github.com/garwedgess/propr...mmit/1947b88aa45b2b879ac49241118a9cebcfa520b5
- Lastly Go into device/semc/msm7x30-common ----> open BoardConfigCommon.mk and make the changes like in this commit I have made
https://github.com/garwedgess/andro...mmit/d58dd288c1d277e661a4cb533fa8b9c6515c349f
You do not need last line TARGET_BOOTANIMATION_RGB565 := true
That is it, this will let you have a working legacy camera only thing that doesn't work is panorama. JB camera will not FC, can still take pictures and record but unusable due to the green tint on screen
Hope this guide helps you all to bring more JB ROM's to the PLAY and will hopefully help the development of JB on our device.

Nice share! Have you tried porting official latest ICS camera sources or is that what you've already done? Anyway, perhaps the green tint is due to the RGBA offset change made to jellybean. See http://review.cyanogenmod.org/#/c/20403/

mmmm... Do this change doesn't may affect the legacy camera too?

That's great. thanks for share.

farenheith said:
mmmm... Do this change doesn't may affect the legacy camera too?
Click to expand...
Click to collapse
wedgess said:
That is it, this will let you have a working legacy camera only thing that doesn't work is panorama. JB camera will not FC, can still take pictures and record but unusable due to the green tint on screen
Click to expand...
Click to collapse
QFT

CosmicDan said:
QFT
Click to expand...
Click to collapse
Sorry xD. I meant about your shot.
CosmicDan said:
Nice share! Have you tried porting official latest ICS camera sources or is that what you've already done? Anyway, perhaps the green tint is due to the RGBA offset change made to jellybean. See http://review.cyanogenmod.org/#/c/20403/
Click to expand...
Click to collapse
This change on the RGBA offset doesn't may affect the legacy camera too? I mean, if this is causing the green tint, then the legacy camera would have this problem too, isn't it?

farenheith said:
Sorry xD. I meant about your shot.
This change on the RGBA offset doesn't may affect the legacy camera too? I mean, if this is causing the green tint, then the legacy camera would have this problem too, isn't it?
Click to expand...
Click to collapse
Oh! So only JB Camera has a green tint but ICS AOSP Camera is fine? Sorry I misunderstood I have no idea then.

CosmicDan said:
Oh! So only JB Camera has a green tint but ICS AOSP Camera is fine? Sorry I misunderstood I have no idea then.
Click to expand...
Click to collapse
Ye JB camera has the green tint on preview, however it can take pictures fine, record fine and no FC's. On legacy camera only thing not working ATM is panorama, this will give a FC
Sent from my GT-I9300 On Official JB

wedgess said:
Ye JB camera has the green tint on preview, however it can take pictures fine, record fine and no FC's. On legacy camera only thing not working ATM is panorama, this will give a FC
Sent from my GT-I9300 On Official JB
Click to expand...
Click to collapse
Only on Preview? Maybe I will take a look at the smali and hack it to use same preview functions that AOSP camera does then. But not any time soon, so anyone else feel free to do it

I had the same idea.
If you want, you can see the original source code of both, jellybean and cm9.1 brand, here:
https://github.com/CyanogenMod/android_packages_apps_Camera
I think it's easier to see patterns on java/c++/c code than smali. I analyzed until now the jni folder (cpp and c files). I didn't found much relevant difference :/...
jni/feature_mos/src/mosaic/Mosaic.cpp
The code looks very the same, but on Jellybean this file have some treatment on a field called owned_frames. This field is declared at Mosaic.h and the ICS code looks pretty compatible with the JB one. Maybe is possible to compile the JB camera replacing this file for the one from ICS code... About what is owned_frames I didn't investigated yet xD.
jni/mosaic_renderer_jni.cpp
This code looks to be optimized on JB. On ICS we have a lot of buffer treatment (clean and fill) that in JB code is replaced by comments like "there's no need to clean the buffer". The initizliation of some semaphores has been moved either... on JB we have those jni functions: JNICALL JNI_OnLoad and JNICALL JNI_OnUnload. Looks like some semaphores is been initialized and destroyed there, instead of AllocateTextureMemory (for the sem_init) and FreeTextureMemory (for the sem_destroy)
Until now this is the only potential relevant info . Maybe I'm looking at the wrong place

wait... which one of the camera apps is with zoom option?

ravid1323 said:
wait... which one of the camera apps is with zoom option?
Click to expand...
Click to collapse
You shouldn't use Digital Zoom. Take photo in highest res possible then resize/crop photo on PC/photo software, better quality.

i searched for jb camera libs and saw this http://www.groubal.com/jb-camera-libs-for-all-sony-xperia-2011-phones/#signatures i don't saw a lot, but for case it will help, so there you go

ravid1323 said:
i searched for jb camera libs and saw this http://www.groubal.com/jb-camera-libs-for-all-sony-xperia-2011-phones/#signatures i don't saw a lot, but for case it will help, so there you go
Click to expand...
Click to collapse
No, it wont help. We need newer kernel.

http://forum.xda-developers.com/showthread.php?t=1890158 what about this?

ravid1323 said:
http://forum.xda-developers.com/showthread.php?t=1890158 what about this?
Click to expand...
Click to collapse
No, that's just basic change. We will soon have JB camera working thanks to CMX10 and wedgess (but probably no Photosphere because it requires gyroscope hardware AFAIK)

CosmicDan said:
No, that's just basic change. We will soon have JB camera working thanks to CMX10 and wedgess (but probably no Photosphere because it requires gyroscope hardware AFAIK)
Click to expand...
Click to collapse
that's makes me happy but i thought that it will possible only with newer kernel. anyway, it doesn't so bad the missing photosphere. it's like on galaxy s. and about littel missing smooth, it is can done like here: http://forum.xda-developers.com/showthread.php?t=2013425 and about the other things that don't works, i belive that with help from markphyton, the other things will be fixed like what wedgess did with ics camera libs
and all this makes me happy!

ravid1323 said:
that's makes me happy but i thought that it will possible only with newer kernel. anyway, it doesn't so bad the missing photosphere. it's like on galaxy s. and about littel missing smooth, it is can done like here: http://forum.xda-developers.com/showthread.php?t=2013425 and about the other things that don't works, i belive that with help from markphyton, the other things will be fixed like what wedgess did with ics camera libs
and all this makes me happy!
Click to expand...
Click to collapse
I have no idea what you're talking about. This is for Jellybean, not ICS. Wedgess, I and FXP are the main developers of JB for our device.

Related

[FIX][PORT]Complete Camera Exposures Fix + Instant Record Fix + Best Image Quality

Hey guys, Seeing two fixes from trettet and umangleekha, and getting reports that replacing cam libs with N2 Rom libs causes the best reported image quality, but no zoom in Camcorder, and Trettes pull from a different Kang has this feature working but worse image quality.
After various testings of older Camera.apks from Cyanogenmod ports, I finally found the version (MATT MACKS CM 7.1) that works on the Current CM 7.2RC1 and the Camcorder function works perfectly
I made flashable zip combining trettets cam_fix (http://forum.xda-developers.com/showthread.php?t=1587870) and the libmmjpeg.so file from addfads N2, which is one of 3 files that are different between the two fixes, the two others being libcamera.so and libcamera_client.so (which I assume are responsible for the actual operation of the camera.)
The flashable Zip contains the APK with correct permissions and the Lib fixes.
I also removed the framework folder, as those files dont have anything to do with fixing the camera, and may cause unwanted bugs.
From personal tests I noticed the image quality is actually better from this combination and the shutter speed seems faster 2.
Please comment on any errors you experience, and the overall quality you perceive.
P.S The post contains 3 ZIPs,
1) JUST the Combined exposure fix Libs (with working camcorder zoom/ 4x Digital Picture Zoom), keeping the original CM 7.2 RC1 Camera.apk (with camcorder lag) [COMB_CamLibsFix-signed.zip]
2) The Combined Exposure fix Libs (with working camcorder zoom/ 4x Digital Picture Zoom) AND working Camera.apk [Complete_Camerafix_deniso177-signed.zip]
3) Extracted Libs from The latest N2 KANG from adfad (Better default Exposures/Camcorder zoom not working/ 2x Digital Picture Zoom) and the working Camera.apk [N2LIBS_Cameraapkfix_deniso177-signed.zip]
I flash it on nightlyfoure v6. Video record don't work.
I think picture quality is good as default.
Can you fix.
hristodipchikov said:
I flash it on nightlyfoure v6. Video record don't work.
I think picture quality is good as default.
Can you fix.
Click to expand...
Click to collapse
Im on CM 7.2 and my Video recording works, theres about a 5second pause before recording starts, but thats a ROM thing and happens in all fixes.
deniso177 said:
Im on CM 7.2 and my Video recording works, theres about a 5second pause before recording starts, but thats a ROM thing and happens in all fixes.
Click to expand...
Click to collapse
I waiting 10 -20 second but video doesn't work.
hristodipchikov said:
I waiting 10 -20 second but video doesn't work.
Click to expand...
Click to collapse
Thats strange, I think the Nightly four already has some sort of fix included, so its possible these fixes are corrupting the Rom. This should work On cm 7.2
No problem reinstall the rom.
see to it If default exposure can be increased, ATM, libcamera.so is responsible for it, but it will make mine and your fix same
Updated post with Camera.apk
hristodipchikov said:
I flash it on nightlyfoure v6. Video record don't work.
I think picture quality is good as default.
Can you fix.
Click to expand...
Click to collapse
Try the new fix if you wish, dont forget to backup your original files this time =)
Hi, thanks for the efforts but I got a better combo...
In your fix ,video lag goes off due to camera.apk but the exposure is still low (I flashed the complete one)
what I did is get libs from umangleekha fix and camera.apk from yours and Viola great camera exposure with video recording fix...
fundoozzz said:
Hi, thanks for the efforts but I got a better combo...
In your fix ,video lag goes off due to camera.apk but the exposure is still low (I flashed the complete one)
what I did is get libs from umangleekha fix and camera.apk from yours and Viola great camera exposure with video recording fix...
Click to expand...
Click to collapse
yesssss after replacing camera.apk its awesome now
fundoozzz said:
Hi, thanks for the efforts but I got a better combo...
In your fix ,video lag goes off due to camera.apk but the exposure is still low (I flashed the complete one)
what I did is get libs from umangleekha fix and camera.apk from yours and Viola great camera exposure with video recording fix...
Click to expand...
Click to collapse
Yes but isnt the camera zoom still broken?
deniso177 said:
Yes but isnt the camera zoom still broken?
Click to expand...
Click to collapse
Camcorder zoom is broken not the camera and u can't expect someone to zoom in while recording video at 480p..
So by far this is the perfect combo for me..
Ok made a flashable zip for everyone else who want the N2 libs with Camera.apk combo
deniso177 said:
Try the new fix if you wish, dont forget to backup your original files this time =)
Click to expand...
Click to collapse
I tried again but same result. I will change the rom.
hristodipchikov said:
I tried again but same result. I will change the rom.
Click to expand...
Click to collapse
Try the actual official 7.2 Rom with a custom kernel, no offence to the developer, but all the tweaks in Roms like Nightlyv4 are not that beneficial, the kernel and Rom libs/framework is where all the performance and stability comes from
Works fine with GTR V4.5X.
fundoozzz said:
Hi, thanks for the efforts but I got a better combo...
In your fix ,video lag goes off due to camera.apk but the exposure is still low (I flashed the complete one)
what I did is get libs from umangleekha fix and camera.apk from yours and Viola great camera exposure with video recording fix...
Click to expand...
Click to collapse
that's a great idea, libcamera.so from adfad's N2 in my fix gives real awsome exposure
hristodipchikov said:
I flash it on nightlyfoure v6. Video record don't work.
I think picture quality is good as default.
Can you fix.
Click to expand...
Click to collapse
It would be good if we coud port the original Lg libs, as obviously they would be the best for our phones =)
deniso177 said:
It would be good if we coud port the original Lg libs, as obviously they would be the best for our phones =)
Click to expand...
Click to collapse
How I can help you With my modest knowledge.

[App] Android 4.2 Camera (Preview fix) Install fix

Android 4.2 Camera with Preview fix
irii-soft​
Pictueres: Use Google
Reason for fix: Why not
Download:
http://forum.xda-developers.com/attachment.php?attachmentid=1568511&stc=1&d=1355685802
Please hit the thanks button
Problems:
Some FCs
Preview is streched
we can just flash this for camera also or its just the fix??
cooldude9119 said:
we can just flash this for camera also or its just the fix??
Click to expand...
Click to collapse
Is the whole camera app with gallyery (The fix is included)
cooldude9119 said:
we can just flash this for camera also or its just the fix??
Click to expand...
Click to collapse
Is the whole camera app with gallyery (The fix is included) Just flash
not work for me
I tired this on ChampionSwimmers AOKP build (JB 4.1.2)....I know, I know it is a 4.2 camera but the 4.2 camera has been ported to JB 4.1 many times on other devices and since there are many more users of JB4.1 ROMs than 4.2, I thought I might as well get the test out of the way.....
Eventually I was able to get it to work. I wasn't able to install it using the flashable zip...it may be the recovery I am using (it is Thomas1991_12's dual recovery with TWRP and CWM...neither would install the zip). So I manually installed Gallery2.apk and the library files (set permissions to 644) and the camera is working. The videorec FCs when you stop recording (saves the video though!). Panorama is also FCing...but I believe this is common when putting the 4.2 camera onto JB4.1 based ROMs....also the Forward Facing camera is FCing but I believe this also may be a bug in the AOKP ROM I am using. Unless some one else reports for a 4.2 ROM, I will test it out later today...
I attached two logcats, one for the viderec crashing and one for the panorama crashing....
Thanks a lot for this!
EDIT: forgot to mention that the zip appears to load correctly (doesn't throw any errors) but the new gallery does not appear in /system/app....
Great job...work on my CM10 LWW...problem are the same like above...
btw...what about photo sphere...
Im working on Android 4.2 so this fix will be included but before the rom is stable, ... I thought why not first a camera fix I think this errors will go when we swtich to 4.2
bg
iriijo / irii-soft
PS Will upload a fix later for the zip flash package
Sent from my Xperia Ray using xda app-developers app
Installation fixed Reuploaded
Great, work great in preview 4.2 of PAC.
A little glitch: when i put vertical the phone, the app delay to refresh the image.
Salu2
Running szl.kiev's CM10.1 using the provided kernel. Flashed the latest update of the 4.2 camera. Camera is working just fine. Videorec is not...does not record or save anything. Weird because this was working on my 4.1 ROM....so I installed the original 4.2 camera and tried it as well...videorec also not working, so it is a Jelly Bean 4.2 issue. Also tried vidrec in 420p resolution and it behaves the same....
Attached logcat of videorec from the latest release....
I also noticed that when the camera is changing modes that it flashes an image of what appears to be the miui green grass wall paper......
Another bug.
The image preview is to much wide in 8mpx resolucion. If you add 6mpx (16:9) would be nice
Salu2
PD: I flash 4.2 w/gapps again and the fix not work
WOW ! Nicely done !
-Looking forward to your next release !
Wow! Great work! Confirmed working on Xperia arc s 4.1.2.
I did a little test. I put the camera on some perfectly circular coins. On the 16:9 preview, they're stretched from a 4:3 ratio. However the photo was saved as 4:3 and not stretched so the end result was circular coins.
Salute to you sir :beer:
I'm a student so I have not much time and I'm working on more projects like CM 10.1 (Android 4.2), Kernel Developing, MIUI and Camera and this needs all time, family, ....
But I look forward to release a next version soon
bg
iriijo / irii-soft
Is possible to add is to FXP sources?
Kind regards.
jlazkano said:
Is possible to add is to FXP sources?
Kind regards.
Click to expand...
Click to collapse
Just flash it...
Sent from my Xperia Ray using xda app-developers app
works well on cm10.1 alpha 3.2 ROM ....
EDIT : I face FC's sometimes on rotating camera..
Cool...
Have you pushed it on github? And may I use it?
Sent from my Xperia Ray using xda premium

CM10.1 Camera/Gallery

i am making this thread to release the cm10.1 4.2.2 camera for xperia 2011 phones since they need some modifications.
you can find attached the modified camera.
i'll attach a separate zip with HDR disabled for cm10 users where HDR will not work, in a few minutes.
if you have any suggestions/ feature requests post here
install instructions:
clear Gallery app data from settings
reboot to recovery
flash zip
clear cache and dalvik cache
changelog
20130603:
fixed preview thanks to irii-soft
fixed the face detection problem
focus modes settings.
20130605:
removed panorama option.
removed continuous video focus mode
all cm changes. including the many new resolutions.
20130624:
latest cm changes
you can use the panorama app from here, which works.
http://forum.xda-developers.com/showthread.php?t=2155451
bugs:
if you find any post here, with an adb log.
also see some FAQ
http://forum.xda-developers.com/showpost.php?p=42315597&postcount=73
credits:
irii-soft
fxp
cyanogenmod
mikeioannina
Steph310
all the devs who are supporting cm10.1 for our phones.
Thanks alot
Sent from my Xperia Live with Walkman using xda premium
waiting for the separate zip for CM10..
jeromemo said:
waiting for the separate zip for CM10..
Click to expand...
Click to collapse
uploaded,
use the zip with noHDR prefix for cm10
gandhar said:
uploaded,
use the zip with noHDR prefix for cm10
Click to expand...
Click to collapse
oh yeah! il try to make a feedback later. :fingers-crossed:
edit: great camera sir! i love the new features!
thanks, but what about the other thread?
http://forum.xda-developers.com/showthread.php?t=2306961
edit: nothint! I just saw your post in the other thread...
focus mode in CM10:
auto, continuous picture, continuous video, fixed, infinity, macro
I'm not sure if we need "continuous video" mode in pictures, or what's the difference between fixed and infinity, but it's great job!
I asked you if it's possible to add focus settings in camera 4.2 and some minutes later you offer us a new thread with updated zip !!!!
Thanks Gandhar!!! :good:
Next step 720p nAa kernel test by the last very significant improvements?
---------- Post added at 06:38 PM ---------- Previous post was at 06:28 PM ----------
najodleglejszy said:
focus mode in CM10:
auto, continuous picture, continuous video, fixed, infinity, macro
I'm not sure if we need "continuous video" mode in pictures, or what's the difference between fixed and infinity, but it's great job!
Click to expand...
Click to collapse
- Infinity: a fixed focus maximum distance for landscape mainly.
- Fixed: Focus adjustment midpoint, closer than landscape. Less good sharpness than auto, face,... but no time focus for quick shoot or solution if auto focus can't lock subject.
Steph310 said:
I asked you if it's possible to add focus settings in camera 4.2 and some minutes later you offer us a new thread with updated zip !!!!
Thanks Gandhar!!! :good:
Next step 720p nAa kernel test by the last very significant improvements?
Click to expand...
Click to collapse
well the other thread was getting very messed up with all the camera stuff.
i don't understand what you mean about the kernel. explain
najodleglejszy said:
focus mode in CM10:
auto, continuous picture, continuous video, fixed, infinity, macro
I'm not sure if we need "continuous video" mode in pictures, or what's the difference between fixed and infinity, but it's great job!
Click to expand...
Click to collapse
i'm pretty sure hardware support for continuous focus in video mode is not there. so i will probably remove that.
edit:
i also have plans to disable panorama.
if anyone has any requests, post here. i will consider them.
gandhar said:
well the other thread was getting very messed up with all the camera stuff.
i don't understand what you mean about the kernel. explain.
Click to expand...
Click to collapse
720p was deleted because ram and poor quality.
Since the performance is significantly improved (rom and even more kernel).
I think we should test again...
I think too that 720p feature is implemented in kernel and not in rom (It's why I spoke about nAa kernel).
I'm wrong?
Waiting eagerly for this great can without panorama.. Also dev, pls just remove all unusable things from this great app..
You can just note what working/not..
That's what I call decreasing unsolved bugs..
Steph310 said:
720p was deleted because ram and poor quality.
Since the performance is significantly improved (rom and even more kernel).
I think we should test again...
I think too that 720p feature is implemented in kernel and not in rom (It's why I spoke about nAa ke rnel).
I'm wrong?
Click to expand...
Click to collapse
i actually like the idea that we get a better experience than having a feature which doesn't work properly.
the overall user experience is bad, the picture quality is not great plus we get bad frame rates
also 22mb is a lot of ram to waste on a feature which one can live without.
anyway thats my opinion.
gandhar said:
well the other thread was getting very messed up with all the camera stuff.
i don't understand what you mean about the kernel. explain
i'm pretty sure hardware support for continuous focus in video mode is not there. so i will probably remove that.
edit:
i also have plans to disable panorama.
if anyone has any requests, post here. i will consider them.
Click to expand...
Click to collapse
Gandhar please go ahead and remove panorama. The less non working components the simpler and easier it will be to maintain. For people that need panorama can use use this one. Works perfectly just tried it out on M66B's CM10 build from yesterday. I'm confident will work on CM10.1 as well...
gandhar said:
i am making this thread to release the cm10.1 4.2.2 camera for xperia 2011 phones since they need some modifications.
you can find attached the modified camera.
i'll attach a separate zip with HDR disabled for cm10 users where HDR will not work, in a few minutes.
install instructions:
clear Gallery app data from settings
reboot to recovery
flash zip
clear cache and dalvik cache
changelog
20130603:
fixed preview thanks to irii-soft
fixed the face detection problem
focus modes settings.
i can only confirm this working on cm-10.1.
bugs:
panorama not working
if you find any others post here, with an adb log.
you can use the panorama app from here, which works.
http://forum.xda-developers.com/showthread.php?t=2155451
credits:
irii-soft
fxp
cyanogenmod
mikeioannina
all the devs who are supporting cm10.1 for our phones.
Click to expand...
Click to collapse
Hey thanks for the camera But I got a small request for you.. Can you please make a camcorder fix for PAC-man ROM 4.2.2_Mango?
Here is the fix that got the camcorder working on pac-ROM Mango but the camera got inverted and the swipe keyboard function got disabled.
Here are some posts that might help you make the fix if you wish to make the fix:
hmnk said:
@ Frankin96, thanks for this fix
Hope you can fix the inverted camera bug soon.:good:
After flashing this fix, the gesture typing doesn't work.
Click to expand...
Click to collapse
Frankin96 said:
On coconut i don't have the bug, maybe I've to make 4 fix for any mdpi device.. Btw, some other can say that on coconut all is working?
Click to expand...
Click to collapse
Frankin96 said:
I need only the lib folder from mike cm10.1 of every device, and some time to upload it
Sent from my Xperia Live with Walkman using xda app-developers app
Click to expand...
Click to collapse
Frankin96 said:
Need from mike cm10.1 ... As pac is based on mike sources but with omx encoder problem
Sent from my Xperia Live with Walkman using xda app-developers app
Click to expand...
Click to collapse
hmnk said:
Took sometime coming but here you go
https://dl.dropboxusercontent.com/u...1-20130515-UNOFFICIAL-mango_required_libs.rar
Thanks!!
Click to expand...
Click to collapse
hmnk said:
Hey thanks for the camera But I got a small request for you.. Can you please make a camcorder fix for PAC-man ROM 4.2.2_Mango?
Here is the fix that got the camcorder working on pac-ROM Mango but the camera got inverted and the swipe keyboard function got disabled.
Here are some posts that might help you make the fix if you wish to make the fix:
Click to expand...
Click to collapse
the camcorder problem is not a app problem, it exists on cm10.1 too, just needs this commit to be merged.
http://review.cyanogenmod.org/#/c/32906/
perhaps someone could put it on the PAC gerrit or manually merge it.
also iirc the inverted camera was due to the missing liboemcamera.so , this was back in gingerbread times when a rom had the problem..
not sure about this case though, but you can try it. get it form stock rom, push it to /system/lib and give 755 permission.
gandhar said:
the camcorder problem is not a app problem, it exists on cm10.1 too, just needs this commit to be merged.
http://review.cyanogenmod.org/#/c/32906/
perhaps someone could put it on the PAC gerrit or manually merge it.
also iirc the inverted camera was due to the missing liboemcamera.so , this was back in gingerbread times when a rom had the problem..
not sure about this case though, but you can try it. get it form stock rom, push it to /system/lib and give 755 permission.
Click to expand...
Click to collapse
Can anybody uplad the needed file!
gandhar said:
the camcorder problem is not a app problem, it exists on cm10.1 too.
Click to expand...
Click to collapse
I got the camcorder working on Mike's CM10.1 with Rizal's cam fix.
gandhar said:
also iirc the inverted camera was due to the missing liboemcamera.so , this was back in gingerbread times when a rom had the problem..
not sure about this case though, but you can try it. get it form stock rom, push it to /system/lib and give 755 permission.
Click to expand...
Click to collapse
You mean flash Frankin96's camcorder fix and the push liboemcamera.so from stoack ICS ROM to system and set the permissions?
hmnk said:
I got the camcorder working on Mike's CM10.1 with Rizal's cam fix.
You mean flash Frankin96's camcorder fix and the push liboemcamera.so from stoack ICS ROM to system and set the permissions?
Click to expand...
Click to collapse
you can try, i can't tell for sure.
edit:
does someone here have an anzu?
i need this to be tested.
http://forum.xda-developers.com/showpost.php?p=42103664&postcount=464
gandhar said:
you can try, i can't tell for sure.
edit:
does someone here have an anzu?
i need this to be tested.
http://forum.xda-developers.com/showpost.php?p=42103664&postcount=464
Click to expand...
Click to collapse
****.. It worked... Thanks a lot Gandhar :good:
I have attached the file needed if anyone needs it
NOTE: I have tested this with Mango
hmnk said:
****.. It worked... Thanks a lot Gandhar :good:
I have attached the file needed if anyone needs it
Click to expand...
Click to collapse
+1

Has any progress been made towards running the TW camera on AOSP ROMs?

Hi there! I recently found out that Siyah Kernel allows dual booting on the S3, so I took the plunge and used it to install RootBox as my second ROM. I'm quite happy with it, but I'd love to have the Samsung camera's features back - particularly, the HDR and low light modes.
Does a mod exist that allows the TW camera to work, or has there been any previous technical discussion of this that may help me in my quest to make one?
I tried to port it myself with my minimal modding skills, but it turned out to be more complex than I expected: the furthest I got was getting the Samsung camera UI to appear and then pop up "Camera failed". I broke camera functionality entirely for all other apps, too
I'm now [slowly] downloading the Android source to see if I can make the necessary modifications to make Samsung's camera libraries work, but in the meantime, I'd love to know if there's something I missed in my searches. All I found was an XDA thread requesting a port of the GS3 camera to the GS2, and a thread on another board which included some interesting info from someone who had tried porting the GS3 camera to AOSP but nothing I didn't already know.
Any info on this would be appreciated. Thank you!
I dont think anyone is even trying. The aosp mod 2.60 in themes section is good but I recommend installing camera 360 from play for effects and cool hdr
The hdr is only an effect though
Sent from my GT-I9300 using Tapatalk 4 Beta
Not going to happen.....ever.....Samsung sources needed
slaphead20 said:
Not going to happen.....ever.....Samsung sources needed
Click to expand...
Click to collapse
I took that as a challenge and have been working on it nonstop since yesterday
I have the camera working on my modded ROM now, I'm hoping to release the ROM and the source patches (for applying to other ROMs) once I get more of the features working (I would like to at least fix Low Light and the Camcorder) and knock out a couple issues like the app launching the non-existent TW gallery to view photos.
Here's a video as proof. Apologies for the quality, but I couldn't find a decent screen recording app: http://www.youtube.com/watch?v=mYX4PSVDiIU
Now that I'm here again, I may as well ask- where would the best place be to post this? It's related to both a modded app and a modded ROM so I don't know whether it would fit better in Development or Themes/Apps.
Themes and apps, definitely
Sent from my GT-I9300 using Tapatalk 4 Beta
Treeki said:
I took that as a challenge and have been working on it nonstop since yesterday
I have the camera working on my modded ROM now, I'm hoping to release the ROM and the source patches (for applying to other ROMs) once I get more of the features working (I would like to at least fix Low Light and the Camcorder) and knock out a couple issues like the app launching the non-existent TW gallery to view photos.
Here's a video as proof. Apologies for the quality, but I couldn't find a decent screen recording app: http://www.youtube.com/watch?v=mYX4PSVDiIU
Now that I'm here again, I may as well ask- where would the best place be to post this? It's related to both a modded app and a modded ROM so I don't know whether it would fit better in Development or Themes/Apps.
Click to expand...
Click to collapse
Release this as soon as possible been waiting for this for so long !
Sent from my GT-I9300 using Tapatalk 2
calling bs

[Q] Racing Bean JB 3.1.8 - how to Power Amp working?

Hi, i'm sorry, but i can't ask questions in dev area, so i need t start here.
I can't get managed power amp to work on this rom.
I didn't install walkman and no xloud, but even then it doesn't work.
Has anyone a hint for me what i need to do?
Thanks.
I had this problem too ... tried reinstalling many times with different settings in aroma .... but powerAMP didn t work.
I think its a bug and it won t work until it is fixed
Mr.Bombastic said:
I had this problem too ... tried reinstalling many times with different settings in aroma .... but powerAMP didn t work.
I think its a bug and it won t work until it is fixed
Click to expand...
Click to collapse
NO i got it fixed.
It went into the different addons and found, that with project "fluid" there are some files placed in the lib-folder which have to do with audio.
So i tried to install without the fluid package and now it works.
Then i removed the files that have to do something with audio from the fluid add on folder, and now i have, walkman, poweramp, and fluid patches working.!
Frodo07 said:
NO i got it fixed.
It went into the different addons and found, that with project "fluid" there are some files placed in the lib-folder which have to do with audio.
So i tried to install without the fluid package and now it works.
Then i removed the files that have to do something with audio from the fluid add on folder, and now i have, walkman, poweramp, and fluid patches working.!
Click to expand...
Click to collapse
Sooo SOOO Coooooll !!!! Thk BRO i have search how to solved this bug since a long time ago and no fix !!! I will add you in my Credits :victory::victory::victory::victory:
I had made an error in files copy...
HeadFox said:
Sooo SOOO Coooooll !!!! Thk BRO i have search how to solved this bug since a long time ago and no fix !!! I will add you in my Credits :victory::victory::victory::victory:
I had made an error in files copy...
Click to expand...
Click to collapse
Now, the last thing missing on your rom, is just a camera which has pictures with same quality than the original... Then it would be perfect
I don't want features and tools, i just need quality - i know what my camera was abled to do.
At the moment i'm using the stock android camera.
Other problem with this is, it shows always a 16:9 picture, even if i select 8mpx. The outcome is 4:3, but in the preview the picture is cut, and not as sharp, as the real output is then. So you never know if it is well focused or not, because in preview it s always not realy sharp.
Frodo07 said:
Now, the last thing missing on your rom, is just a camera which has pictures with same quality than the original... Then it would be perfect
I don't want features and tools, i just need quality - i know what my camera was abled to do.
At the moment i'm using the stock android camera.
Other problem with this is, it shows always a 16:9 picture, even if i select 8mpx. The outcome is 4:3, but in the preview the picture is cut, and not as sharp, as the real output is then. So you never know if it is well focused or not, because in preview it s always not realy sharp.
Click to expand...
Click to collapse
Yes i just check it. It will be fix in Next Release wh comes thiw week-end The photos quality of CM for Xperi is really really bad.... ! Only Focal Camera have a good quality but didn't work on our cm10 device for now
HeadFox said:
Yes i just check it. It will be fix in Next Release wh comes thiw week-end The photos quality of CM for Xperi is really really bad.... ! Only Focal Camera have a good quality but didn't work on our cm10 device for now
Click to expand...
Click to collapse
Yes exactly, focal is just a FC on xperia neo. The real output pictures on xperia neo aren't sooo bad with stock camera... i just compared some pic's. Not so bad... minimal difference
Biggest Problem on stock camera: Preview 16:9, not sharp preview, and lot slower then cybershot camera.
Do you think that the 16:9 problem is just any xml or other config problem? If so, please tell me just what i need to change (or replace gallery.apk?), so that i don't need to reflash the whole rom (i've done some changes... )
Other small bug i found is (but i think its cm10 problem): GPS Problems - with Navigon it gets connection for 5 seconds, then looses, reconnect, lost and so on. Only if i start gps status tool before opening navigon, it's working. And the google maps arrow is spinnig around all the time - no idea what this problem causes.

Categories

Resources