Need help by Camera Porting... - Galaxy S 4 Q&A, Help & Troubleshooting

Hi!
I have port this ROM ►►[AOSP] 4.2.2 - S4 Google Edition - Final-v1 - Feel the Experience of Nexus◄◄ (from S4 (GT-I9505) to my S4 Active.
Here is my port: [AOSP][Port]★I9295★ Official 4.2.2 - S4 Google Edition - Feel the Experience of Nexus
All is running but i get the Camera not to work.....
S4 have a 13MP Camera and the S4Active have only a 8MP.
The AOSP Camera from the S4 ROM open and get then the Error "no connection to camera"
I have try a few files from LIB folder .... not work
I have try Android 4.2 Camera .... not work
I have try CM10.1 Camera from N7100 .... not work
I have no more ideas .... it is my first ROM Port ... i hope any one can help me!!

Logcat first!!
You can try these from an AOSP rom for your device
camera.msm8960.so
liboemcamera
All libchromatix
libsecnativefeature
libcsd-client
libvdis.so

There is no AOSP ROM at the moment....
I will make an Logcat and post it here!

Ok then, just pull those from stock tw

CNexus said:
camera.msm8960.so
liboemcamera
All libchromatix
libsecnativefeature
libcsd-client
libvdis.so
Click to expand...
Click to collapse
So i copy this files from my stock TW deodexed ROM (Camera Works) to the GoogleEdition (Port) ... the file libvdis.so can i not found
In attachment i make a logcat..... There are a few Errors about the camera.
Code:
F/libc ( 3127): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 3143 (Binder_4)
E/mm-camera( 317): config_proc_native_ctrl_cmd: CAMERA_SET_PARM_DIMENSION called
F/libc ( 317): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 2794 (mm-qcamera-daem)
Error = Galerie stoppt
Error = no connection to camera
the camera and galerie App is from the Original GoogleEdition ROM. With the TW Cam App and Galerie App the same

Any one more have an Idea?? :crying:

Try adding/overwriting these from the stock rom. At least they made the camera work with cm 10.1. You probably want to add the rest of the libchromatix_s5k3h5xa... files.
# Probably don't need to change these
lib/libmmjpeg.so
lib/libgemini.so
lib/libmercury.so
lib/libmmcamera_statsproc31.so
lib/libmmcamera_frameproc.so
lib/libmmcamera_wavelet_lib.so
lib/libmmcamera_hdr_lib.so
lib/libmmcamera_plugin.so
lib/libmmcamera_interface.so
lib/libmmjpeg_interface.so
lib/libmmstillomx.so
# Probably need to add/change these
lib/liboemcamera.so
lib/libchromatix_s5k3h5xa_zsl.so
lib/libchromatix_s5k3h5xa_default_video.so
lib/libTsAwb.so
lib/libTsAccm.so

Related

Official ICS Beta released for ARC S, Neo V and Ray

I dont really understand why only for this devices but please someone make it work on the Play!
Link: http://forum.xda-developers.com/showthread.php?p=20329850#post20329850
From xperia blog -
The alpha ROM will only work on three Xperia phones: arc S, neo V and ray. For those Xperia arc and Xperia neo users wondering whether they should try this, you are warned not to as the phones have different partition layouts compared to the arc S and neo V.
EDIT- Was meant to explain why it was only for those devices ; they prob have the same partition layout.
Nabeel_Nabs said:
From xperia blog -
The alpha ROM will only work on three Xperia phones: arc S, neo V and ray. For those Xperia arc and Xperia neo users wondering whether they should try this, you are warned not to as the phones have different partition layouts compared to the arc S and neo V.
Click to expand...
Click to collapse
But that does not mean that a dev can not change it a bit to make it work on the play correctly.
im downloading the arcs build now to examine it
i would take al look on this.
Maybe i get it working for the play (would be nice)
nickholtus said:
i would take al look on this.
Maybe i get it working for the play (would be nice)
Click to expand...
Click to collapse
nick extract the kernel from the arcs build and try flashing that with your ICS update.zip
might work!
In the arc forum they confirmed that the arc s build works on the arc. Maybe it works on the play too?
directly flashing the files to play partly works, im working through fixing issues now
edit: ok currently stuck at : D/dalvikvm( 630): GC_CONCURRENT freed 260K, 4% free 9790K/10119K, paused 2ms+3m
s
I/SurfaceFlinger( 647): SurfaceFlinger is starting
I/SurfaceFlinger( 647): SurfaceFlinger's main thread ready to run. Initializing
graphics H/W...
E/HAL ( 647): load: module=/system/lib/hw/gralloc.msm7x30.so
E/HAL ( 647): Cannot load library: link_image[1908]: 647 missing essentia
l tables
E/FramebufferNativeWindow( 647): Couldn't get gralloc module
E/SurfaceFlinger( 647): Display subsystem failed to initialize. check logs. exi
ting...
happens for both sensors and gralloc,
from wich phone are you using the files?
neo v arc s or ray
DJ_Steve said:
directly flashing the files to play partly works, im working through fixing issues now
edit: ok currently stuck at : D/dalvikvm( 630): GC_CONCURRENT freed 260K, 4% free 9790K/10119K, paused 2ms+3m
s
I/SurfaceFlinger( 647): SurfaceFlinger is starting
I/SurfaceFlinger( 647): SurfaceFlinger's main thread ready to run. Initializing
graphics H/W...
E/HAL ( 647): load: module=/system/lib/hw/gralloc.msm7x30.so
E/HAL ( 647): Cannot load library: link_image[1908]: 647 missing essentia
l tables
E/FramebufferNativeWindow( 647): Couldn't get gralloc module
E/SurfaceFlinger( 647): Display subsystem failed to initialize. check logs. exi
ting...
happens for both sensors and gralloc,
Click to expand...
Click to collapse
That means exactly? Also did you use the arc version or the neo v version?
IE-coRe said:
That means exactly? Also did you use the arc version or the neo v version?
Click to expand...
Click to collapse
Edit: haha nick was quicker xD
oh i clicked the quote insetead the edit button. Sorry^^
arc s version, was first one i picked it means its missing something somewhere but im not certain what
But you where able to install it and it boots?
it flashes and attempts to boot but no display due to those errors, but adb is runnind (although i needed to slightly mod boot img to get adb )
okay... doomloard said he will take a look on the play when he is done with the arc. lets hope he can help.
ill keep playing also
---------- Post added at 06:46 PM ---------- Previous post was at 06:45 PM ----------
my modified boot image that forces adb mode rather than mtp is available : http://build.streakdroid.com/bootic.img
maybe you can use neo v (did you replaced files in boot.img with some files from play boot.img?
what files would need replacing, other than for uevent maybe, ill look at that next
............
nickholtus said:
maybe you can try it with this kernel: http://www.multiupload.com/7K22QRYC05
Click to expand...
Click to collapse
what kernel is that and what phone is it for ?

[Need help]-Porting camera from ICS 4.0.4 ROM

I need help or any advices
Recently, I want to port the camera from a ICS 4.0.4 ROM to my own ICS 4.0.4 ROM
So, which library files in /system/libs for camera should I have to take care ?
As I known, it includes:
/system/libs/hw camera.default.so
/system/libs/
liboemcamera.so
libhtccamera.so
libcameraface.so
libcamera_client.so
libcamerapp.so
libcameraservice.so
All libchromatix_xxx files
all libmmcamera_xxx files
....
DO I MISS something ?
Thanks
Here is logcat
can someone help me to find the issue from logcat file
sometime, the camera application auto shutdown after launching few senconds without any errors or notification

Hive ROM for i2

Hey Guys,
Iv been trying to port the Xolo Hive 8X -1000 ROM official ROM for my i2 .
The project is still in WIP and iv been having few bugs, trying to fix them so that I can share my work.
This will be purely based on the Xolo 8X Hive project (Android 4.4.2) so do not expect an Android L from me at this stage
Remember that the original 8X has a 16GB memory and has a 2GB RAM along with a bigger MP Camera as compared to 8GB ROM, 1GB RAM and 5MP Camera on i2:angel:
I am attaching few screenshots of the UI for your review.
Hope you guys like it :good:
Bugs
Bugs: (This is still Work In Progress)
Network is not stable
Camera FC
Memory allocation error
IMEI may get Null upon few reboots
mohammad.nomaan said:
Bugs: (This is still Work In Progress)
[/LIST]
Click to expand...
Click to collapse
I have been able to find the issue with the IMEI and have almost fixed that, I guess I can fix the network issue but I have problem with the Camera, memory and kernel.
Do we have someone who can redo the lib files for the ROM as im not a ROM developer/builder
thnx
Project Discontinued
Would request the Moderator to Close this thread if no one is willing to take up this project
thanks a lot

Note 4 recent ui Albe95 Note 4 port rom

There are 2 bugs which i need to fix in order to complete the rom.
1- the white popup winodws text in several apps. pictures to explatin :
Explanation :
Battery low popup winodow is just a white window , you can't read the text inside (the same with wifi direct connection request and saving any customized stuff , you can't even see save , discard , cancel words.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2- The recent apps note 4 ui (aka. Taskmanager)
it works perfectly but 3 i've faced 3 bugs :
1- whenever i open it with another app opening systemui crash.
2- sometimes it doesn't really open and it crashes the systemui.
3-if i try to re-open an app via the taskmanager systemui crash.
Any help would be apprenticed.
Thanks in advance.
Device info :
Model : Galaxy S4 LTE (GT-I9505)
Rom : Albe95 Rom note 4 port 3.0 (FINAL)
Kernel : Imperium Kernel.
MODEM : I9505XXUNGNG2

[REQ] Galaxy S3 camera ported to S4 or S4 mini (kitkat)

I request porting Galaxy S3 camera to S4 or S4 mini.
I directly installed S3's one but the video filming does not work and camera crashes.
Java:
E/AndroidRuntime(10955): Process: com.sec.android.app.camera, PID: 10955
E/AndroidRuntime(10955): java.lang.NoSuchMethodError: com.sec.android.secmediarecorder.SecMediaRecorder.mfc_open
fixed it. got the camcorder working.
I used the camera apk from here - https://forum.xda-developers.com/t/app-galaxy-note-2-camera-gallery.2034867/
edited smali and removed all codes of disableAlertSound and enableAlertSound, and it is now working! (I installed it as user-app)

Categories

Resources