help me to know how to fix logcat problems - General Questions and Answers

hi
i build a rom and it doesn't boot
i get a logcat and show these errors
E/NetlinkEvent( 152): NetlinkEvent::FindParam(): Parameter 'SWITCH_NAME' not found
E/Trace ( 1056): error opening trace file: No such file or directory (2)
E/HTC Acoustic( 1056): Fail to open /system/etc/AudioPara_HTC-GCC.csv -1.
E/BandwidthController( 1057): runIptablesCmd(): failed /system/bin/iptables -t raw -N bw_raw_PREROUTING res=256
E/AudioHardwareMSM76XXA( 1056): AudioStreamOutMSM72xx: Setting up correct values
E/dalvikvm( 1196): ERROR: couldn't find native method
E/dalvikvm( 1196): Requested: Ljava/lang/Daemons;.isShippingRom)Z
E/JNIHelp ( 1196): RegisterNatives failed for 'java/lang/Daemons', aborting
Click to expand...
Click to collapse
ok
These are my questions:
1.wich error is must intresting? and wich can be The main cause?
2.is these errors goes from kernel? how can i fix these?
devs please help me
tnx:crying:

Related

[Q] cyanogenMod 7, need help

It seems that prelink error when compile. How to fixed it? Need prelink-linux-ds.map?
~/dream_sapphire $ adb logcat |grep prelink
- waiting for device -
E/HAL ( 143): Cannot load library: link_image[1962]: 104 could not load needed library 'libgps.so' for 'gps.sapphire.so' (reserve_mem_region[831]: OOPS: 104 prelinked library 'libgps.so' mapped at 0x45fb8000, not at 0xa9700000)
E/QualcommCameraHardware( 105): FATAL ERROR: could not dlopen liboemcamera.so: Cannot load library: reserve_mem_region[831]: OOPS: 105 prelinked library 'liboemcamera.so' mapped at 0x40c0c000, not at 0xa9400000

Flashtool :: Android on Sony

Hi all,
I am trying to use the Flashtool (had a link to the homepage here but forum doesn't allow it) to flash a newly bought Sony Xperia S to Android 4.
I am stuck on a java error that I can not see anyone else having. I have tried on an OpenSuse 12.1 system (running java-1_6_0-openjdk-1.6.0.0_b24.1.11.3-9.1.x86_64) and an Ubuntu system running java 7 (liveCD).
The same error occurs:
Code:
Exception in thread "main" java.lang.NoClassDefFoundError: foxtrot/Job
Caused by: java.lang.ClassNotFoundException: foxtrot.Job
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: gui.FlasherGUI. Program will exit.
I have found the foxtrot.jar library but putting that in the same path as the Flashtool or the JAVA_HOME/lib did not help at all.
It doesn't seem to be a needed step anyway.
So I am unsure what I am missing in regards to this foxtrot library.
I can't see anything on the wiki over on github.
Any advice appreciated.
Thanks
DaveQB1 said:
Hi all,
I am trying to use the Flashtool (had a link to the homepage here but forum doesn't allow it) to flash a newly bought Sony Xperia S to Android 4.
I am stuck on a java error that I can not see anyone else having. I have tried on an OpenSuse 12.1 system (running java-1_6_0-openjdk-1.6.0.0_b24.1.11.3-9.1.x86_64) and an Ubuntu system running java 7 (liveCD).
The same error occurs:
Code:
Exception in thread "main" java.lang.NoClassDefFoundError: foxtrot/Job
Caused by: java.lang.ClassNotFoundException: foxtrot.Job
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: gui.FlasherGUI. Program will exit.
I have found the foxtrot.jar library but putting that in the same path as the Flashtool or the JAVA_HOME/lib did not help at all.
It doesn't seem to be a needed step anyway.
So I am unsure what I am missing in regards to this foxtrot library.
I can't see anything on the wiki over on github.
Any advice appreciated.
Thanks
Click to expand...
Click to collapse
Ok I ran an strace on this and found this line
Code:
[pid 23778] stat("/home/david/Android/SonyXperia/FlashTool/x10flasher_lib/foxtrot-core-4.0.jar", 0x7f1e22081ec0) = -1 ENOENT (No such file or directory)
I found "foxtrot-core-4.0.jar" and downloaded it.
Now I am getting a different error:
Code:
Exception in thread "main" java.lang.NoClassDefFoundError: se/marell/libusb/UsbSystem
at gui.FlasherGUI.main(FlasherGUI.java:173)
Caused by: java.lang.ClassNotFoundException: se.marell.libusb.UsbSystem
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
... 1 more
This looks libusb related though, so I will pursue that.
DaveQB1 said:
Ok I ran an strace on this and found this line
Code:
[pid 23778] stat("/home/david/Android/SonyXperia/FlashTool/x10flasher_lib/foxtrot-core-4.0.jar", 0x7f1e22081ec0) = -1 ENOENT (No such file or directory)
I found "foxtrot-core-4.0.jar" and downloaded it.
Now I am getting a different error:
Code:
Exception in thread "main" java.lang.NoClassDefFoundError: se/marell/libusb/UsbSystem
at gui.FlasherGUI.main(FlasherGUI.java:173)
Caused by: java.lang.ClassNotFoundException: se.marell.libusb.UsbSystem
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
... 1 more
This looks libusb related though, so I will pursue that.
Click to expand...
Click to collapse
Ok got back to this and again ran and strace on the FlashTool process and all of it's children. I found this error interesting:
Code:
[pid 28274] stat("/home/david/Android/SonyXperia/FlashTool/se/marell/libusb/UsbSystem.class", 0x7fa78baf2b60) = -1 ENOENT (No such file or directory)
In fact doing an strace on file calls only we get this sub section of calls that might be of interest:
[pid 28512] stat("/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/flavormap.properties", {st_mode=S_IFREG|0644, st_size=3835, ...}) = 0
[pid 28512] stat("/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/flavormap.properties", {st_mode=S_IFREG|0644, st_size=3835, ...}) = 0
[pid 28512] open("/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/flavormap.properties", O_RDONLY) = 21
[pid 28512] stat("/home/david/Android/SonyXperia/FlashTool/se/marell/libusb/UsbSystem.class", 0x7f4e6b663b60) = -1 ENOENT (No such file or directory)
[pid 28512] stat("/home/david/Android/SonyXperia/FlashTool/x10flasher_lib/jna.jar", 0x7f4e6b662a90) = -1 ENOENT (No such file or directory)
[pid 28512] stat("/home/david/Android/SonyXperia/FlashTool/x10flasher_lib/jopt-simple-4.3.jar", 0x7f4e6b662a90) = -1 ENOENT (No such file or directory)
[pid 28512] stat("/home/david/Android/SonyXperia/FlashTool/x10flasher_lib/libusb.jar", 0x7f4e6b662a90) = -1 ENOENT (No such file or directory)
[pid 28512] stat("/home/david/Android/SonyXperia/FlashTool/x10flasher_lib/log4j-1.2.16.jar", 0x7f4e6b662a90) = -1 ENOENT (No such file or directory)
[pid 28512] stat("/home/david/Android/SonyXperia/FlashTool/x10flasher_lib/platform.jar", {st_mode=S_IFREG|0644, st_size=913475, ...}) = 0
[pid 28512] stat("/home/david/Android/SonyXperia/FlashTool/x10flasher_lib/platform.jar", {st_mode=S_IFREG|0644, st_size=913475, ...}) = 0
[pid 28512] open("/home/david/Android/SonyXperia/FlashTool/x10flasher_lib/platform.jar", O_RDONLY) = 27
[pid 28512] stat("/home/david/Android/SonyXperia/FlashTool/x10flasher_lib/rsyntaxtextarea.jar", 0x7f4e6b662a90) = -1 ENOENT (No such file or directory)
[pid 28512] stat("/home/david/Android/SonyXperia/FlashTool/x10flasher_lib/x10flasher-res.jar", 0x7f4e6b662a90) = -1 ENOENT (No such file or directory)
Exception in thread "main" java.lang.NoClassDefFoundError: se/marell/libusb/UsbSystem
at gui.FlasherGUI.main(FlasherGUI.java:173)
Caused by: java.lang.ClassNotFoundException: se.marell.libusb.UsbSystem
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
... 1 more
I feel like my downloaded Flashtool is missing a bunch of extra libraries that x10flasher.jar binary is expecting.
Ok maybe this is what I am having issue with
"Apply the latest update (each update is cumulative)
Updates will not be functionnal if full 0.9.2.0 is not installed"
So I only downloaded 9.3.0 as it said above it:
Full install :
Click to expand...
Click to collapse
Looking at the previous release tabs I only see 9.0.0 as the most previous release version. Hmmmmm
I work in IT, I wouldn't have thought this would be so challenging to me.
DaveQB1 said:
Ok maybe this is what I am having issue with
"Apply the latest update (each update is cumulative)
Updates will not be functionnal if full 0.9.2.0 is not installed"
So I only downloaded 9.3.0 as it said above it:
Looking at the previous release tabs I only see 9.0.0 as the most previous release version. Hmmmmm
I work in IT, I wouldn't have thought this would be so challenging to me.
Click to expand...
Click to collapse
PS the md5sum of my download of 9.3.0 checks out ok.
Ok don't mind me.
Something must have gone wrong in the untarring.
Code:
[email protected]: ~/Android/SonyXperia/FlashTool#
find x10flasher_lib -type f | wc -l
1475
[email protected]: ~/Android/SonyXperia/FlashTool#
find ../FlashTool.orig/x10flasher_lib -type f | wc -l
655

Booting ROM errors

Hello everyone! I'm new in xda. I'm totally noob and was able to port a MIUI ROM for my device using a tutorial here at xda.
When I booted it up, the following errors came up:-
E/PhonePolicy(1073): Could not preload class for phone policy: com.android.internal.policy.impl.PhoneWindow$ContextMenuCallback
E/dalvikvm(1224): Class lookup Landroid/view/InputDevice; attempted with exception pending
E/dalvikvm(1224): VM aborting
E/QualcommCamera(1239): Qint android::get_number_of_cameras(): E
E/AudioHardwareMSM76XXA(1239): AudioStreamOutMSM72xx: Setting up correct values
E/AudioFlinger(1239): int android::load_audio_interface(char const*, audio_hw_device_t**) couldn't load audio hw module audio.usb (No such file or directory)
E/BandwidthController(1237): runIptablesCmd(): failed /system/bin/ip6tables -t raw -N bw_raw_PREROUTING res=768
E/BandwidthController(1237): runIptablesCmd(): failed /system/bin/ip6tables -t raw -A bw_raw_PREROUTING ! -i lo+ -m owner --socket-exists res=768
Click to expand...
Click to collapse
My device is a Huawei Y201 PRO. And I'm porting from the same manufacturer. Please give me some idea on how to fix the above problems. Many of them just repeat themselves. Help. :crying:
Any help please?

[msm8939][meizu][camera]dlopen failed: could not load library "libcam.meiyan.so" need

[msm8939][meizu][camera]dlopen failed: could not load library "libcam.meiyan.so" need
Hello,
Could you please help me?
Platform:meizu m1note msm8939
I ported from flyme to miui.
The camera has problem.
I got the error:
dlopen failed: could not load library "libcam.meiyan.so" needed by "camera.msm8916.so";
caused by cannot locate symbol "_ZN11CBeautyShot18SetSkinBrightLevelEl" referenced by "libcam.meiyan.so"...
About symbol "_ZN11CBeautyShot18SetSkinBrightLevelEl",
I found it at:
m463c/rom/update/system $ g CBeautyShot
Binary file ./lib/libarcsoft_beauty_shot.so matches
Binary file ./lib/libcam.meiyan.so matches
And I push them to my phone.
But I still get the error.
Who can help me? Thank you very much.
I have been debugging for several days.
01-02 08:17:52.901 I/libmdmdetect( 351): Found internal modem: modem
01-02 08:17:52.901 E/QC-QMI ( 272): qmi_client [272]: unable to connect to server, errno=[2:No such file or directory], attempt=1
01-02 08:17:52.901 E/QC-QMI ( 351): qmi_client [351]: unable to connect to server, errno=[2:No such file or directory], attempt=1
01-02 08:17:52.901 I/ThermalEngine( 288): Sensor:tsens_tz_sensor3:80000 mC
01-02 08:17:52.941 E/HAL ( 276): load: module=/system/lib/hw/camera.msm8916.so
01-02 08:17:52.941 E/HAL ( 276): dlopen failed: could not load library "libcam.meiyan.so" needed by "camera.msm8916.so"; caused by cannot locate symbol "_ZN11CBeautyShot18SetSkinBrightLevelEl" referenced by "libcam.meiyan.so"...
01-02 08:17:52.941 E/CameraService( 276): Could not load camera HAL module
01-02 08:17:52.941 I/mediaserver( 276): ListenService instantiated
01-02 08:17:52.941 V/ListenService( 276): instantiate entered
01-02 08:17:52.941 V/ListenService( 276): getInstance entered, mNumInstances currently 0
Eismog
my-mail:[email protected]
Is there anyone who can help me?

Question Various application lack permissions to save to storage

This includes the camera, chrome as well as the default file browser. I would say pretty much anything stock doesn't work. I am rooted on newest Android with Ketan ROM. While checking various logs I found some messages for this happening:
Some verbose logs from LSPosed:
Early in the logs:
java.lang.NullPointerException: Attempt to invoke interface method 'void android.os.IBinder.linkToDeath(android.os.IBinder$DeathRecipient,int)' on a null object reference
W/System No compatibility callbacks set!
Not sure for which app:
neither user nor current process has android.permission.cache_content
When camera crashes:
java.lang.RuntimeException: fail to create directory :/storage/emulated/0/DCIM
Some lines found in logcat:
01-24 20:54:59.638 8878 8878 E DBManager: query: mDBAdapter is null. please init first.
When browser fails to download file:
01-24 19:41:38.415 16215 16329 E cr_DownloadCollection: Unable to copy content to pending Uri.
01-24 19:41:38.415 16215 16329 E cr_DownloadCollection: java.io.FileNotFoundException: open failed: EACCES (Permission denied)
01-24 19:41:38.415 16215 16329 E cr_DownloadCollection: at android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:151)
01-24 19:42:17.636 16215 16339 W cr_ContentUriUtils: Cannot open content uri: content://media/external/downloads/1000000307
01-24 19:42:17.636 16215 16339 W cr_ContentUriUtils: java.io.FileNotFoundException: open failed: EACCES (Permission denied)
Some other denials:
01-24 19:28:30.861 1313 1313 W ExtconUEventObserver: Unable to read /sys/devices/platform/10ab0000.displayport/extcon/extcon0/cable.1/name. This probably means the selinux policies need to be changed.
01-24 19:28:30.861 1313 1313 W ExtconUEventObserver: java.io.FileNotFoundException: /sys/class/extcon/extcon0/cable.1/name: open failed: EACCES (Permission denied)
Several of this:
01-24 19:29:10.933 4113 10177 D IPM : Failed to open stream '/sys/devices/system/cpu/cpu0/online' in mode 'WRITE': Permission denied
Any ideas please?

Categories

Resources