General :: Camera Error In CodefireX Compiled JB Rom
Mar 2, 2013
I am trying, together with Lexmazter and Zasuk to compile codefireX, android 4.2.2 for Runnymede also known as Htc sensation xl.
Now i am so close on having everything working but for the last week i have used so much time to fix one error i keep having, when starting up the camera.
The repo i am using is this :
codefireX source
Runnymede device tree
Runnymede vendor files
Runnymede msm7x30-common files
Booting up looks fine in logcat, and it does load the camera.default.so from stock runnymede ICS rom and if i install a Tourch app or flashlight app, i can use the Flashlight from camera without errors. But if i starts the camera app, it camera stops working in same sec as i start it. No picture or anything.
The same kernel/boot.img is used in evervolv for runnymede, and it has working camera So the error should be somewhere in the rom.
Here is a part of a logcat with the camera error :
Code:
3718: E/memalloc( 107): /dev/pmem: Failed to map buffer size:4300800 offset:3072000 fd:53 Error: Invalid argument
3719: E/gralloc ( 107): Could not mmap handle 0x2a0c1d30, fd=53 (Invalid argument)
3720: E/gralloc ( 107): gralloc_register_buffer: gralloc_map failed
3721: W/GraphicBufferMapper( 107): registerBuffer(0x2a0c1d30) failed -22 (Invalid argument)
3722: E/GraphicBuffer( 107): unflatten: registerBuffer failed: Invalid argument (-22)
[Code] .....
The full log can be found here : Full logcat
I have also made a last_kmsg but it looks fine to me :last_kmsg
View 3 Replies
Apr 14, 2012
I updated Sprint Nexus S 4g OTA to ICS. Now I get two error messages every time I boot up, and every time I use the camera:
-Search From Camera Error. Authentication Failed
-Permission Requested For Account XXXX@gmail.com
View 4 Replies
View Related
Sep 20, 2013
When I try and open up my camera app on CyanogenMod 10.1.3 an error pops up reading "Cannot connect to camera". This is really ups setting seeing as how I my camera on a daily basis. And I really don't wanna go back to stock TouchWiz on my Galaxy S3. But if this problem persist I may have no other choice. But I LOVE CyanogenMod.
View 7 Replies
View Related
Jun 27, 2013
Sony Xperia L C2104
It's a new phone...Bought it 8 days ago..When i click the camera app its show an error dailog box "Error: Camera not available" ?
Stock Rom and i tried factory reset too.
Build : 15.0.A.1.31
Version 4.12
No update also
View 7 Replies
View Related
Oct 3, 2012
I compiled the AOSP Gingerbread for Samsung Galaxy Fit. Wenever i replace the libcam.so, libcameraservice.so, and the libcameraclient.so and delete the seccam libraries my ROM boot well but i want to fix them . Here is the logcat of the error
Logcat error in camera libraries. This is the logcat
E/AndroidRuntime( 618): *** FATAL EXCEPTION IN SYSTEM PROCESS: main
E/AndroidRuntime( 618): java.lang.UnsatisfiedLinkError: Cannot load library: link_image[1962]: 609 could not load needed library 'libsystem_server.so' for 'libandroid_servers.so' (link_image[1962]: 609 could not load needed library 'libcameraservice.so' for 'libsystem_server.so' (link_image[1962]: 609 could not.
[code]....
View 1 Replies
View Related
Jul 2, 2013
How to add Admob ads in a compiled APK without source code.
We loss the source code, we need to create a free version with admod ads and that can manipulate the apk for to include ads.
View 2 Replies
View Related
Aug 26, 2010
I have a rooted phone with froyo.
Just got the phone today I was putting music on my phone from doubleTwist everything was going fine.
Then i put pictures / videos on my phone and i started getting an SD error and my camera stopped working.
So i reformatted the SD card and the card started to read fine but the camera is still not working
The camera / video looks like its just flashing red & white no picture at all.
(I tried google goggles as well and it looks the same)
Camera was working FINE before SD problems started
Tried doing a factory reset too
View 8 Replies
View Related
Aug 28, 2010
I have a problem with using the camera of an Android 2.1 phone (HTC Desire), maybe you can help me.
After calling camera.open() DDMS in Eclipse shows the following errors:
CODE:............
Test view in the emulator works fine, but on my phone only a popup is shown where I only can close the application.
View 2 Replies
View Related
Aug 26, 2010
how to get rid of the error message on the samsung galaxy s camera, i have removed battery turned fone off, charged it full.
View 8 Replies
View Related
Aug 26, 2010
Why i get the error message on camera on samsung galaxy s . ive only had the phone a week. its charged ,battery taken out , put back in switched off and on . have only got 24 pictures saved. its driving me mad.....
View 3 Replies
View Related
Jul 19, 2010
Does anyone else get this error message from time to time? Its very annoying and happens at the worst time (ie when a really super photo shot happens).I either have to reboot my phone before it will comes right or alternatively I have to keep trying to reload the camera and sometimes on about the 4th or 5th attempt it comes right.Can this be rectified? Is it a setting i have wrong? This is such an amazing phone, but man oh man, does it have some bugs that need to be worked out
View 9 Replies
View Related
Oct 28, 2010
Anyone having trouble with the Layar Camera View mode? When I first installed this about 3 month ago, I was able to use it. Several updates (any maybe Froyo) later, It wont go into camera mode.I've uninstalled and re-installed, still no change.Any advice? The camera itself seems to function fine; Im able to take pictures, etc.
View 1 Replies
View Related
Aug 4, 2010
When I take a picture and try to send it via email it always tells me it's unable to send email and then sits in the outbox. Is there a way to find out why? I can send emails without attachments just fine.
View 3 Replies
View Related
Oct 8, 2010
I have included camera functionality in my application. I have also launched the app in the market. I got an error message from one of the users that he is getting an error while opening the camera...
I have tested the app on the device on 2.1. The error i got from the user is using nexus one which will mostly run 2.2...Here's the logcat error that i received...
java.lang.RuntimeException: setParameters failed
CODE:............
I ran the app on 2.2 emulator also to check it. But it worked fine. can anyone please tell me why the error is occuring?
Here is the class which i mentioned in the comments :
CODE:..................
View 1 Replies
View Related
Jun 30, 2010
I have some xml files with a custom format (based on the scxml specifications) that I want my program to read. I've already written the code to read it, but I'm running into problems actually reading the file itself. I want the file to be compiled with the apk, as it will not be changed at all during run time. So I put the file (test.xml) in the res/xml/ folder, and got the inputstream by using:
getResources().openRawResource(R.xml.test);
But when I read in this inputstream it is complete jibberish, which makes me suspect it is being read in binary, as openRawResource() is often used for binary files like images, if I am correct. What is the correct way to do this?
View 11 Replies
View Related
Apr 2, 2009
Is there any 1.5 image going around for the emulator? I would like to try my apps with onscreen keyboard. Maybe someone is actually making nightly builds but I can't find any.
PS: Not sure if it's appropriate to ask in this list.
View 11 Replies
View Related
Sep 28, 2010
I need to import a couple of jars that where compiled under the full implementation of java. I know that Android doesn't use all the packages that java has to offer. My question is: Is it possible to import them without creating errors? Is there a tool that can convert jars to android jars? if so, can some examples be provided.
View 1 Replies
View Related
Nov 3, 2009
I have an application which is based Android 1.5 but for enabling different screen types support I have to compile and package it with v1.6. When I install and run the resulted APK on my 1.5 emulator, everything works fine except that "Preferences" activity crashes every time I launch it!
When I revert back my API dependency to 1.5 and remove a few 1.6 specific config blocks from AndroidManifest.xml and compile/package it with 1.5, everything works just fine!
Below is the exception I get when it crashes:
CODE:.................
View 4 Replies
View Related
Nov 15, 2010
I am writing an application and due to various reasons I had to build it using make (froyo code) and not SDK. When I run my app on emulator it works fine. I have an Android device and code to build image for the device. When I build my app with device code, it builds fine. How ever, when I run the application, I get
java.lang.ClassNotFoundException:
<package.class> in loader dalvik.system.PathClassLoader[.]
A source file in my code is actually doing
sourceClass = classLoader.loadClass(sourceName);
sourceName here is pointing to a class I actually build (I have classname.java file in my code under correct package directory and package name). Note that this app is running fine on emulator, but on a device it is failing.
I verified that the .class file exists in out/target/common/obj/APPS/ xxxApp_intermediates/classes.jar, classes-full-debug.jar, classes-full- names.jar
View 2 Replies
View Related
Aug 2, 2010
There are so many apps in the market and I don't trust all of them. Is there a way to remove some permissions of the already compiled APK? It doesn't matter if I cannot sign it anymore with the original certificate of the developer. And is there also a way to add an error-handler into the .apk-file, so that the errors of the requested permissions will also be suppressed?
View 3 Replies
View Related
Jan 4, 2010
This is basic kind of question, Can we load our own compiled kernel into the emulator? If there is guide or steps for that please give me those links.
View 2 Replies
View Related
Aug 23, 2010
How I can add headers to my native c file.
So here's the details.
I was able to setup my android project to call a native function from a .so file. And actually I need to add box2d to my project, but I when I include the header files, it won't make. So basically my problem is how do I tell the make file to include a whole folder with header and cpp files.
I tried adding the path directly to the include statement just for the sake of testing it. The error goes away, but new errors come out.
View 2 Replies
View Related
Jun 24, 2010
A lot of Android apps are open source, but how can we make sure the person who finally uploads to the Google Market does not include some spyware just before uploading?
Background: Mobile apps security seems to be a growing concern, and I would like to reassure the users of my Open Source Android app. Solutions that require to modify the deployment process or application content are acceptable too.
View 1 Replies
View Related
May 20, 2010
How do I remove strings from / obfuscate a compiled binary? The goal is to avoid having people read the names of the functions/methods inside.
It is a dynamic library (.so) compiled from C++ code for Android with the NDK tools (includes GCC)
I compile with -O3 and already use arm-eabi-strip -g mylib.so to remove debugging symbols, but when I do strings mylib.so all the names of the functions/methods are still readable.
View 4 Replies
View Related
Nov 18, 2010
I installed Titanium from appcelerator and built the "KitchenSink" example application.All works well, I'm just wondering where does the javascript code ends up in a built app.I grep-ed the Xcode project and also the result application as I found it in Library/Application Support/iPhone Simulator/KitchenSink.app, but I can't find any function names from .js files, not even string texts used within the application. Nearest information I found is an answer here : How Does Appcelerator Titanium Mobile Work? but I do not understand clearly how the process works.Is the javascript code being compiled into a binary code (what compiler is used then?), or is it just transformed in some special data-format and interpreted in a running application ?
View 3 Replies
View Related
Mar 2, 2010
I have compiled Android source code already (which I downloaded using GIT), and I am being editing the source code of an Application for testing on Emulator, each time I wanna see results I have to re-Compile the source code again using 'make' I am pretty sure that there is a way to partly-compile the image.
View 1 Replies
View Related
Oct 11, 2010
I spent a full day to get my Android SDK sources in my setup and compiled it successfully by doing the File System for x86 and also the SDK, everything was fine but when I tried to use it in my environment (Eclipse) and tried to compile my application (which is working fine on Froyo 2.2), I'm seeing some errors, which seems that I did not get the entire SDK with all the base packages included.
Steps to reproduce:
# repo sync to android sources. # make # make sdk # make Eclipse to point to the new SDK, generated at: .../out/host/ linux-x86/sdk/android-sdk_eng.david_linux-x86/ # generate a new AVD # launch it and run the application
If I'm missing something else.
View 5 Replies
View Related
Jan 13, 2010
i want to add some features to linux kernel to run on my mobile (android based mobile perhaps). but i don't know who let me to upload my custom kernel. i want to buy such mobile phone. some restrictions about uploading custom kernel to phone:
1- replace existing kernel.
2- can use my phones functionalities: it is due to some drivers are closed source and i must use the vendor's kernel to use it's drivers.
View 2 Replies
View Related
Jul 14, 2010
Is there a file site similar to gridlocks rom site where all the roms are compiled? On the eris section everyone posts a screenshots so they know what they are getting before downloading. I don't see that much here unless I'm missing something?
View 3 Replies
View Related
Dec 6, 2009
My camera stopped working. When I click my camera application I get the message "The application camera (process com.android.camera) has stopped unexpectedly. Please try again". It's just a blank screen?
View 3 Replies
View Related