Paranoid Android 7.3.1 - AOSPA for Asus Zenfone 5 - Zenfone 5 Q&A, Help & Troubleshooting

Hi , I have finished building AOSPA for Zenfone 5 , but it bootloop , I need help !!!!
Logcat : https://drive.google.com/file/d/1hFQm7QUijLEuPnFLw6YzgpxQC1P3ZY4-/view?usp=sharing
WVMExtractor: Failed to open libwvm.so: dlopen failed: cannot locate symbol "_Z8WV_SetupRP9WVSessionP12WVFileSourceRKSsR13WVCredentials14WVOutputFormatmPv" referenced by "/system/vendor/lib/libwvm.so"...
01-17 23:03:59.008 221 221 E linker : /system/lib/libmfldadvci.so: has text relocations
01-17 23:03:59.011 221 221 E HAL : load: module=/system/lib/hw/camera.vendor.redhookbay.so
01-17 23:03:59.011 221 221 E HAL : dlopen failed: /system/lib/libmfldadvci.so: has text relocations
MediaPlayer-JNI: dlopen failed: library "libextmedia_jni.so" not found

nguyenhung9x said:
Hi , I have finished building AOSPA for Zenfone 5 , but it bootloop , I need help !!!!
Logcat : https://drive.google.com/file/d/1hFQm7QUijLEuPnFLw6YzgpxQC1P3ZY4-/view?usp=sharing
WVMExtractor: Failed to open libwvm.so: dlopen failed: cannot locate symbol "_Z8WV_SetupRP9WVSessionP12WVFileSourceRKSsR13WVCredentials14WVOutputFormatmPv" referenced by "/system/vendor/lib/libwvm.so"...
01-17 23:03:59.008 221 221 E linker : /system/lib/libmfldadvci.so: has text relocations
01-17 23:03:59.011 221 221 E HAL : load: module=/system/lib/hw/camera.vendor.redhookbay.so
01-17 23:03:59.011 221 221 E HAL : dlopen failed: /system/lib/libmfldadvci.so: has text relocations
MediaPlayer-JNI: dlopen failed: library "libextmedia_jni.so" not found
Click to expand...
Click to collapse
Please don't tell me that you abandoned LineageOS 15 project for this one?

nheolinkin said:
Please don't tell me that you abandoned LineageOS 15 project for this one?
Click to expand...
Click to collapse
I did not give up, but I did not fix ril, I'm researching it , please wait

Related

WifiStateMachin Bug

Hey,
Issue: Once screen times out or is locked, the phone restarts. WiFi does not enable. Can reproduce every time.
Phone: N9005, BNL8 Modem/Bootloader, CM12 5.5 (same on every build though, since first builds).
Tried: Flashing back to stock then coming back, using KK Modem/Bootloader, Checking MD5.
The issue seems to be only with CM, as using any TW rom the Wifi works fine and the phone doesn't reboot.
Logcat: This is the whole 15 seconds before screen goes off http://pastebin.com/gVvxXzkj
Code:
--------- beginning of crash
01-17 18:39:58.686 696 847 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x5600001 in tid 847 (WifiStateMachin)
01-17 18:39:58.687 303 695 E audio_a2dp_hw: adev_set_parameters: ERROR: set param called even when stream out is null
01-17 18:39:58.691 295 347 I ThermalEngine: Mitigation:CPU[1]:2496000 Khz
01-17 18:39:58.692 696 4675 I WifiNative-HAL: Waiting for HAL events mWifiHalHandle=-2088550336
01-17 18:39:58.693 696 4675 E wifi : getStaticLongField sWifiHalHandle 0x5c6bea1c
01-17 18:39:58.804 300 300 I DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-17 18:39:58.804 300 300 I DEBUG : Build fingerprint: 'samsung/hltexx/hlte:4.4.2/KOT49H/N9005XXUENC2:user/release-keys'
01-17 18:39:58.804 300 300 I DEBUG : Revision: '8'
01-17 18:39:58.804 300 300 I DEBUG : ABI: 'arm'
01-17 18:39:58.804 300 300 I DEBUG : pid: 696, tid: 847, name: WifiStateMachin >>> system_server <<<
01-17 18:39:58.804 300 300 I DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x5600001
01-17 18:39:58.824 300 300 I DEBUG : r0 05600001 r1 781dfac8 r2 781d05cd r3 ffffffa8
01-17 18:39:58.824 300 300 I DEBUG : r4 05600001 r5 00000000 r6 781dfeb0 r7 6231e740
01-17 18:39:58.824 300 300 I DEBUG : r8 781dfad0 r9 6848d400 sl 781d05cd fp 131cb160
01-17 18:39:58.824 300 300 I DEBUG : ip b4cd1c94 sp 6231e718 lr 781d3d5d pc 781d3d5c cpsr 600f0030
01-17 18:39:58.825 300 300 I DEBUG :
01-17 18:39:58.825 300 300 I DEBUG : backtrace:
01-17 18:39:58.825 300 300 I DEBUG : #00 pc 00008d5c /system/lib/libwifi-service.so (getWifiHandle(wifi_interface_info*)+7)
01-17 18:39:58.825 300 300 I DEBUG : #01 pc 00008d65 /system/lib/libwifi-service.so (getHalInfo(wifi_interface_info*)+4)
01-17 18:39:58.825 300 300 I DEBUG : #02 pc 0000dd2d /system/lib/libwifi-service.so (wifi_get_link_stats+44)
01-17 18:39:58.825 300 300 I DEBUG : #03 pc 00004ed1 /system/lib/libwifi-service.so
01-17 18:39:58.825 300 300 I DEBUG : #04 pc 000379dd /data/dalvik-cache/arm/[email protected]@[email protected]
01-17 18:39:59.492 4678 4687 E cutils-trace: Error opening trace file: Permission denied (13)
01-17 18:40:03.535 300 300 I DEBUG :
01-17 18:40:03.535 300 300 I DEBUG : Tombstone written to: /data/tombstones/tombstone_02
01-17 18:40:03.552 696 726 I Choreographer: Skipped 285 frames! The application may be doing too much work on its main thread.
01-17 18:40:03.555 696 727 E libsuspend: Error reading from /sys/power/wakeup_count: Interrupted system call
01-17 18:40:03.551 847 847 W WifiStateMachin: type=1701 audit(0.0:268): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=u:r:system_server:s0 reason="memory violation" sig=11
01-17 18:40:03.561 696 719 I BootReceiver: Copying /data/tombstones/tombstone_02 to DropBox (SYSTEM_TOMBSTONE)
01-17 18:40:03.565 696 2214 E SharedPreferencesImpl: Couldn't create directory for SharedPreferences file shared_prefs/log_files.xml
Bump

Problems with Video recording on PACROM MM.

EDIT: This has been resolved. Updating vendor blobs and device trees fixed the issue. Thank you for your time.
Greetings Developers,
I would really appreciate some help. By God's grace, in the T-Mobile S4 development thread http://forum.xda-developers.com/galaxy-s4-tmobile/development/rom-pac-rom-mm-t3400111 , I have put together several Marshmallow Roms, namely PAC Rom and AOKP MM, that have the same problem. The camera works to take pictures, but cannot record video. It "appears" to be recording in the built in camera app, but does not actually save the recording. If I use another app, such as OpenCamera, it stops the recording as soon as I try to start. I am relatively new to development, and any help would be greatly appreciated, as well as fully recognized and credited.
Below is the logcat errors/fails when using the CM camera app, and the OpenCamer app. I just really want to get this fixed for the people who are using the roms. I hate to sell them short because I've made some sort of error.
In my inexperienced opinion, this appears to be an audio problem. I have compared the mediarecorder.cpp and similar files between CM13 and my roms, and they are identical. I was wondering if it might be vendor blobs, so I borrowed them from Beanstalk (where the camera video recorder function works), but that did not work either.
I am pretty sure that it is not the app, because using any video recording app fails to actually record the video.
Code:
Here are the fails from the logcat. I am only focusing on the errors, stops, or fails.
Using the built in Camera app:
07-12 06:43:32.459 244 3766 I MediaCodecSource: encoder (audio) stopped
07-12 06:43:32.459 244 652 I MediaCodecSource: puller (audio) stopping
07-12 06:43:32.461 244 3847 E OMXNodeInstance: setConfig(1d:google.vorbis.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
07-12 06:43:32.461 244 3847 I ACodec : codec does not support config priority (err -2147483648)
07-12 06:43:32.462 244 3847 I MediaCodec: MediaCodec will operate in async mode
07-12 06:43:32.467 244 3846 I NuPlayerDecoder: [OMX.google.vorbis.decoder] resubmitting CSD
07-12 06:43:32.468 244 3846 I NuPlayerDecoder: [OMX.google.vorbis.decoder] resubmitting CSD
07-12 06:43:32.469 244 3775 D ALSAStreamOps: setParameters(): keyRouting with device 0x0
07-12 06:43:32.469 244 3775 E ALSAStreamOps: must not change mDevices to 0
07-12 06:43:32.470 244 3775 D AudioStreamInALSA: standby
07-12 06:43:32.470 244 3775 D AudioStreamInALSA: standby
07-12 06:43:32.470 244 3775 D ALSADevice: standby: handle 0xb216c1c0 h 0x0
07-12 06:43:32.472 244 3848 W SoftVorbis: vorbis_dsp_synthesis returned -135
07-12 06:43:32.473 244 3848 W SoftVorbis: vorbis_dsp_synthesis returned -135
07-12 06:43:32.500 3612 3612 E MediaRecorder: stop failed: -1007
07-12 06:43:32.502 3612 3612 E CAM_VideoModule: java.lang.RuntimeException: stop failed.
07-12 06:43:33.984 244 3647 W AMessage: failed to post message as target looper for handler 0 is gone.
Using the OpenCamera App for comparison:
07-12 06:50:28.951 244 4439 E ACDB-LOADER: Error: ACDB EC_REF_RX returned = -8
07-12 06:50:28.976 244 4436 E SoftAVCEnc: Error in extractGraphicBuffer
07-12 06:50:28.976 244 4435 E ACodec : [OMX.google.h264.encoder] ERROR(0x80001001)
07-12 06:50:28.976 244 4435 E ACodec : signalError(omxError 0x80001001, internalError -2147483648)
07-12 06:50:28.976 244 4435 E ACodec : [OMX.google.h264.encoder] ERROR(0x80001001)
07-12 06:50:28.976 244 4435 E ACodec : signalError(omxError 0x80001001, internalError -2147483648)
07-12 06:50:28.977 244 4434 E MediaCodec: Codec reported err 0x80001001, actionCode 0, while in state 6
07-12 06:50:28.977 244 4439 D ALSADevice: setHardwareParams: buffer_size 16384, period_size 4096, period_cnt 4
07-12 06:50:28.977 244 4431 E MediaCodecSource: Encoder (video) reported error : 0x80001001
07-12 06:50:29.124 4180 4180 E MediaRecorder: stop failed: -1007
So, the errors or fails that are the same are these:
ACDB-LOADER: Error: ACDB EC_REF_RX returned = -8
MediaRecorder: stop failed: -1007
These are both audio errors. It appears that the audio is creating an error, so the video will not save. Unless someone out there knows better (be sure to correct me, I'm still learning). So I will be looking at MediaRecorder and ACDB-LOADER and audio problems.
Once again, any assistance would be greatly appreciated! Thanks!
Guyz,
I have A PAC ROM in My Lenovo Vibe K5 (GAPPS PICO PACKAGE INSTALLED) and The Rear Camera isn't working....
SPECS- Arm64
Android 6.0
Tell me how to fix this problem???????????????

Building Android 5.1.1 from source - Compile error

Hi guys, I don't know if this is the correct section for this, of not then feel free to move it.
I'm trying to build Android 5.1.1_r38 from source on a Intel i5 mechine running Ubuntu 16.04.
After about an hour running, If gives me the following errors
Code:
external/chromium_org/third_party/yasm/source/patched-yasm/tools/genmacro/genmacro.c:90: error: unsupported reloc 43
external/chromium_org/third_party/yasm/source/patched-yasm/tools/genmacro/genmacro.c:48: error: unsupported reloc 43
external/chromium_org/third_party/yasm/source/patched-yasm/tools/genmacro/genmacro.c:55: error: unsupported reloc 43
external/chromium_org/third_party/yasm/source/patched-yasm/tools/genmacro/genmacro.c:68: error: unsupported reloc 43
clang: error: linker command failed with exit code 1 (use -v to see invocation)
build/core/host_executable_internal.mk:31: recipe for target 'out/host/linux-x86/obj32/EXECUTABLES/third_party_yasm_genmacro_x86_host_gyp_intermediates/genmacro' failed
make: *** [out/host/linux-x86/obj32/EXECUTABLES/third_party_yasm_genmacro_x86_host_gyp_intermediates/genmacro] Error 1
make: *** Waiting for unfinished jobs....
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/EXECUTABLES/third_party_yasm_genmodule_x86_host_gyp_intermediates/third_party/yasm/source/patched-yasm/libyasm/genmodule.o: unsupported reloc 43 against global symbol stderr
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/EXECUTABLES/third_party_yasm_genmodule_x86_host_gyp_intermediates/third_party/yasm/source/patched-yasm/libyasm/genmodule.o: unsupported reloc 43 against global symbol stderr
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/EXECUTABLES/third_party_yasm_genmodule_x86_host_gyp_intermediates/third_party/yasm/source/patched-yasm/libyasm/genmodule.o: unsupported reloc 43 against global symbol stderr
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/EXECUTABLES/third_party_yasm_genmodule_x86_host_gyp_intermediates/third_party/yasm/source/patched-yasm/libyasm/genmodule.o: unsupported reloc 43 against global symbol stderr
external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/genmodule.c:87: error: unsupported reloc 43
external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/genmodule.c:63: error: unsupported reloc 43
external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/genmodule.c:174: error: unsupported reloc 43
external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/genmodule.c:183: error: unsupported reloc 43
host StaticLib: third_party_yasm_genperf_libs_x86_host_gyp_32 (out/host/linux-x86/obj32/STATIC_LIBRARIES/third_party_yasm_genperf_libs_x86_host_gyp_intermediates/third_party_yasm_genperf_libs_x86_host_gyp.a)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
build/core/host_executable_internal.mk:31: recipe for target 'out/host/linux-x86/obj32/EXECUTABLES/third_party_yasm_genmodule_x86_host_gyp_intermediates/genmodule' failed
make: *** [out/host/linux-x86/obj32/EXECUTABLES/third_party_yasm_genmodule_x86_host_gyp_intermediates/genmodule] Error 1
I've run apt-get update and make clobber and anything else I can think of (note: I'm quite new to ubuntu)
If you need any more info, just feel free to ask, as I'm not sure what you need to help me.
Thanks in advance.

Porting from AOSP help

Hello!
I have available device, vendor end kernel source for my device so I tried port Omnirom. I have never done this before or similar ports but I want to learn. I managed to do a working kernel and recovery but stuck with the ROM. It just stuck at the manufacturer logo not even the boot animation comes in. Of course no adb and no logcat. Managed to get the last kernel message from recovery: http://pastebin.com/wBshmx8J
Can someone help or give idea what did I done wrong?
Here is the device tree: https://github.com/Gaboros/android_device_vernee_thor_k506
I have managed to step forward, now I have adb on boot but I got this:
Code:
01-14 17:12:12.893 275 275 E libEGL : load_driver(/system/lib64/egl/libGLES_mali.so): dlopen failed: cannot locate symbol "__xlog_buf_printf" referenced by "/system/lib64/libdpframework.so"...
01-14 17:12:12.893 275 275 F libEGL : couldn't find an OpenGL ES implementation
--------- beginning of crash
01-14 17:12:12.893 275 275 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 275 (surfaceflinger)
The problem is "__xlog_buf_printf" in the "libmtk_symbols.so" which is compiled and installed in the ROM and also preloaded on boot. It's seems impossible to get this error after this but still can't get through it. Any idea please?
Gaboros said:
I have managed to step forward, now I have adb on boot but I got this:
Code:
01-14 17:12:12.893 275 275 E libEGL : load_driver(/system/lib64/egl/libGLES_mali.so): dlopen failed: cannot locate symbol "__xlog_buf_printf" referenced by "/system/lib64/libdpframework.so"...
01-14 17:12:12.893 275 275 F libEGL : couldn't find an OpenGL ES implementation
--------- beginning of crash
01-14 17:12:12.893 275 275 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 275 (surfaceflinger)
The problem is "__xlog_buf_printf" in the "libmtk_symbols.so" which is compiled and installed in the ROM and also preloaded on boot. It's seems impossible to get this error after this but still can't get through it. Any idea please?
Click to expand...
Click to collapse
Fixed it by patching liblog. If anyone interested in the fix: https://github.com/Gaboros/android_...mmit/44ac2f707c0a12af038f4a4911e8eca47f9a7aff

Steam Link app not working on Lineage

I am using Lineage 17.1 no GAPS / no MicroG on a shield TV pro. When I launch the steamlink app I just get a blank screen. I thought maybe it needs gaps but I loaded it on to my OP9P with Linage 18.1 no gaps no micro-g and it works just fine. Logcat shows this for app startup. Any ideas? TIA!
01-28 10:32:50.149 5369 5393 D SteamLink: Added controller with mapping 030000005e0400001907000000006800,*,a:b0,b:b1,back:b4,dpdown:b12,dpleft:b13,dpright:b14,dpup:b11,guide:b5,leftshoulder:b9,leftstick:b7,lefttrigger:a4,leftx:a0,lefty:a1,rightshoulder:b10,rightstick:b8,righttrigger:a5,rightx:a2,righty:a3,start:b6,x:b2,y:b3,
01-28 10:32:50.183 5369 5393 W Gralloc2: lock(0x2278db7d80, ...) failed: 5
01-28 10:32:50.183 5369 5393 W Surface : failed locking buffer (handle = 0x2278db7d80)
01-28 10:32:50.179 5369 5369 W MainThrd: type=1400 audit(0.0:480): avc: denied { open } for path="/dev/ashmem" dev="tmpfs" ino=3306 scontext=u:r:untrusted_app:s0:c44,c256,c512,c768 tcontext=ubject_r:ashmem_device:s0 tclass=chr_file permissive=0 app=com.valvesoftware.steamlink
01-28 10:32:50.183 5369 5393 W SteamLink: ANativeWindow_lock() failed! error= -38
01-28 10:32:50.249 5369 5393 W Gralloc2: lock(0x2278db9d00, ...) failed: 5
01-28 10:32:50.249 5369 5393 W Surface : failed locking buffer (handle = 0x2278db9d00)
01-28 10:32:50.249 5369 5393 W SteamLink: ANativeWindow_lock() failed! error= -38
01-28 10:32:50.253 5369 5393 W Gralloc2: lock(0x2278db9e80, ...) failed: 5
01-28 10:32:50.253 5369 5393 W Surface : failed locking buffer (handle = 0x2278db9e80)
01-28 10:32:50.253 5369 5393 W SteamLink: ANativeWindow_lock() failed! error= -38
01-28 10:32:50.559 5369 5393 I SDL/APP : Connected to Remote Client service with session 8489617317367984890
01-28 10:32:50.921 3660 3781 W HdmiCecController: Failed to send <Give Device Power Status> 40:8F with errorCode=3
01-28 10:32:51.132 3660 4249 E TaskPersister: File error accessing recents directory (directory doesn't exist?).
01-28 10:32:52.179 5369 5382 I tware.steamlin: ThreadFlipBegin blocked for 485.264ms
01-28 10:32:52.179 5369 5401 I tware.steamlin: IncrementDisableThreadFlip blocked for 34.931ms
01-28 10:32:52.190 5369 5382 I tware.steamlin: Background young concurrent copying GC freed 11156(3166KB) AllocSpace objects, 4(144KB) LOS objects, 95% free, 1167KB/25MB, paused 103us total 497.913ms
01-28 10:32:52.391 3660 3660 W WindowManager: removeWindowToken: Attempted to remove non-existing token: [email protected]
01-28 10:32:52.922 3660 3781 W HdmiCecController: Failed to send <Give Device Power Status> 40:8F with errorCode=3
01-28 10:32:53.373 3364 5221 W nvaudio_hw: UNDERRUN DETECTED for hdmi-playback ret 0 avail 835
01-28 10:32:54.986 3660 3702 E LightsService: Light requested not available on this device. 2
01-28 10:32:58.811 3660 3660 W WindowManager: One touch play failed: 1

Categories

Resources