Guest Mohamed Atiea Posted August 21, 2012 Report Posted August 21, 2012 Hello All, I have been here for a while now and I have ZTE Skate, and you are doing a great work guys but I have a question why it is impossible to get the flash to work on both ROMs is it a SW related issue or HW one and if it is how it is working on GB I just cannot figure out why impossible, shall I dig in the code and reach a dead end or I can try to start where did you stop. P.S. I am an Engineer and I've been programming JavaEE for 7 years now so feel free to explain the technical issue in detail.
Guest utternoob Posted August 21, 2012 Report Posted August 21, 2012 No. Never works on anythin other than stock based, i.e. AtomicMod, H3 Blues, Stock Rom, Skatie (I think). Not sure why. Try checking permissions folder and etc, possibly libs, bin and xbin folders
Guest tilal6991 Posted August 21, 2012 Report Posted August 21, 2012 It's due to /system/lib/liboemcamera.so - we are using the blade's one.
Guest Mohamed Atiea Posted August 21, 2012 Report Posted August 21, 2012 It's due to /system/lib/liboemcamera.so - we are using the blade's one. Thanks you tila for you great worka and for this, why can't we use skate's one?
Guest tilal6991 Posted August 21, 2012 Report Posted August 21, 2012 Because it segfaults badly and crashes the system.
Guest Mohamed Atiea Posted August 21, 2012 Report Posted August 21, 2012 Because it segfaults badly and crashes the system. What about the ZTE Wrap lib http://www.gsmarena.com/zte_warp-4313.php, and do you know a good decompiler for .so files?
Guest betterthanjordan79 Posted August 21, 2012 Report Posted August 21, 2012 I was using AOKP-CM9 Remix RC 6.6.9 on my skate for a few weeks and I noticed that the camera seemed to have a much better frame rate and no "lines" running through it in preview - Are they using a different liboemcamera.so for your cfx and cfx2 roms?
Guest timoti111 Posted August 21, 2012 Report Posted August 21, 2012 so blade have fully working camera? and we will never have it?
Guest omegavesko Posted August 21, 2012 Report Posted August 21, 2012 I was using AOKP-CM9 Remix RC 6.6.9 on my skate for a few weeks and I noticed that the camera seemed to have a much better frame rate and no "lines" running through it in preview - Are they using a different liboemcamera.so for your cfx and cfx2 roms? AOKP-CM9 Remix was ported from the Blade, so they're either using the Blade's library or practicing black magic.
Guest betterthanjordan79 Posted August 21, 2012 Report Posted August 21, 2012 Yh i know it was ported but surely since it works on aN ICS ROM we could extract the source camera driver and put a better camera into CFX1/2. I know this wont solve the problems about the flash but every little helps.
Guest mhstrijbos Posted August 23, 2012 Report Posted August 23, 2012 The camera on the Skate isnt that good. Why bother...
Guest betterthanjordan79 Posted August 23, 2012 Report Posted August 23, 2012 The camera on the Skate isnt that good. Why bother... If we were porting from the blade it means that we use the ROM from the blade modded in a way that makes it work on the skate using all the available drivers we have for the skate. So therefore it would be the same quality as what we have at the minute with cfx and cfx2 but with no v-sync problems and a much smoother preview!
Guest omegavesko Posted August 24, 2012 Report Posted August 24, 2012 He does have a point. The camera preview in that ROM is much smoother than it is on other ICS ROMs. I can't really speculate as to why, though. Can somebody more knowledgeable chime in?
Guest betterthanjordan79 Posted August 25, 2012 Report Posted August 25, 2012 omegavesko I see you are using Paranoid Android - wats the camera preview like on it?
Guest omegavesko Posted August 25, 2012 Report Posted August 25, 2012 omegavesko I see you are using Paranoid Android - wats the camera preview like on it? Better than CFX2, though I think the one in AOKP-CM9 is still better.
Guest betasergio Posted August 26, 2012 Report Posted August 26, 2012 Look this Hello everyone!!! This is a continuation of rapmv78's ICS Camera HAL for 2.6 kernel. Great thanks to nobodyAtall who helped get this working THINGS YOU WILL NEED: A working ICS ROM for your device A lot of time Now this can be adapted to any phone, but it is designed for the LG Optimus One (P500) I will upload the panorama fix to my GitHub as soon as I finish porting the code for it SOURCES: https://github.com/androidarmv6/andr...vice_libcamera Camera app changes coming soon! Frameworks changes coming soon! TO FIX VIDEO RECORDING AND PLAYBACK: To fix video you will need the lib/libstagefright_soft_aacdec.so file from your ICS ROM. Setup a vendor pregenerated lib by adding that .so to your COMMONFOLDERNAME/proprietary/lib/libstagefright_soft_aacdec.so TO INSTALL: 1. Follow the instructions in the READMEs in the repos 2. In your BoardConfigCommon.mk, delete the following lines IF THEY EXIST: (Note: these are scattered all over the file, so look for them)COMMON_GLOBAL_CFLAGS += -DICS_CAMERA_BLOBTARGET_USE_OVERLAY := falseTARGET_HAVE_BYPASS := falseTARGET_USES_C2D_COMPOSITION := falseCOMMON_GLOBAL_CFLAGS += -DREFRESH_RATE=60 TARGET_DISABLE_ARM_PIE := trueTARGET_BOOTANIMATION_USE_RGB565 := trueTARGET_BOOTANIMATION_TEXTURE_CACHE := trueNote that the following 2 might not be needed based on your device, but most devices will need themTARGET_NO_HW_VSYNC := trueCOMMON_GLOBAL_CFLAGS += -DQCOM_NO_SECURE_PLAYBACK4. Edit the files in the DEVICE/libcamera folder to suit your device Again, thanks to nobodyAtall for getting this to work!!! Sincerely, Rashed
Guest utternoob Posted August 27, 2012 Report Posted August 27, 2012 Wow, that's brilliant. Let's hope someone knows how to do it
Guest razzmataz1478 Posted August 27, 2012 Report Posted August 27, 2012 Look this Lalit has already intergrated this for the next release.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now