android x86 HDMI Audio Problem - Android Q&A, Help & Troubleshooting

I have recently installed android x86 7.1 rc2 but unfortunately I can't get the HDMI Audio to work.
It's a Intel Core i5-2320 PC with NVidia Geforce GTX 550ti graphics card. The manufacturer did not put a HDMI Port on the motherboard so I will have to output the sound via the Graphics Card HDMI.
x86_64:/ # alsa_aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
the logcat when I do pkill audioserver:
12-14 17:49:41.134 1247 1247 I ServiceManager: service 'media.audio_flinger' died
12-14 17:49:41.134 1247 1247 I ServiceManager: service 'media.audio_policy' died
12-14 17:49:41.134 1247 1247 I ServiceManager: service 'media.sound_trigger_hw' died
12-14 17:49:41.134 1247 1247 I ServiceManager: service 'media.radio' died
12-14 17:49:41.134 1527 2742 W AudioSystem: AudioFlinger server died!
12-14 17:49:41.134 1597 2125 W AudioSystem: AudioPolicyService server died!
12-14 17:49:41.134 1527 2742 W SoundTrigger: Sound trigger service died!
12-14 17:49:41.134 1527 3201 W AudioSystem: AudioPolicyService server died!
12-14 17:49:41.134 1527 1583 E AudioService: Audioserver died.
12-14 17:49:41.134 1527 1527 I ServiceManager: Waiting for service media.audio_policy...
12-14 17:49:41.196 3293 3293 I audioserver: type=1400 audit(0.0:531): avc: denied { call } for scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=binder permissive=1
12-14 17:49:41.196 1247 1247 I servicemanager: type=1400 audit(0.0:532): avc: denied { transfer } for scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=binder permissive=1
12-14 17:49:41.197 3293 3293 I : sMaxFastTracks = 8
12-14 17:49:41.197 3293 3293 I audioserver: ServiceManager: 0xec01af40
12-14 17:49:41.198 3293 3293 I audioserver: type=1400 audit(0.0:533): avc: denied { write } for name="pcmC0D0p" dev="tmpfs" ino=240 scontext=u:r:init:s0 tcontext=ubject_r:audio_device:s0 tclass=chr_file permissive=1
12-14 17:49:41.198 3293 3293 I AudioFlinger: Using default 3000 mSec as standby time.
12-14 17:49:41.198 3293 3293 I AudioPolicyService: AudioPolicyService CSTOR in new mode
12-14 17:49:41.198 3293 3293 I APM::ConfigParsingUtils: loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
12-14 17:49:41.357 3293 3293 I audioserver: type=1400 audit(0.0:534): avc: denied { ioctl } for path="/dev/snd/pcmC0D0p" dev="tmpfs" ino=240 ioctlcmd=0x4101 scontext=u:r:init:s0 tcontext=ubject_r:audio_device:s0 tclass=chr_file permissive=1
12-14 17:49:41.358 3293 3293 D audio_hw_primary: found audio out at /dev/snd/pcmC0D0p
12-14 17:49:41.358 3293 3293 D audio_hw_primary: card: 0/0 id: ALC887-VD Analog
12-14 17:49:41.358 3293 3293 D audio_hw_primary: name: ALC887-VD Analog
12-14 17:49:41.358 3293 3293 D audio_hw_primary: subname: subdevice #0
12-14 17:49:41.358 3293 3293 D audio_hw_primary: stream: 0
12-14 17:49:41.370 3293 3293 D audio_hw_primary: found audio out at /dev/snd/pcmC1D3p
12-14 17:49:41.370 3293 3293 D audio_hw_primary: card: 1/3 id: HDMI 0
12-14 17:49:41.370 3293 3293 D audio_hw_primary: name: HDMI 0
12-14 17:49:41.370 3293 3293 D audio_hw_primary: subname: subdevice #0
12-14 17:49:41.370 3293 3293 D audio_hw_primary: stream: 0
12-14 17:49:41.386 3293 3293 D audio_hw_primary: found audio out at /dev/snd/pcmC1D7p
12-14 17:49:41.386 3293 3293 D audio_hw_primary: card: 1/7 id: HDMI 0
12-14 17:49:41.386 3293 3293 D audio_hw_primary: name: HDMI 0
12-14 17:49:41.386 3293 3293 D audio_hw_primary: subname: subdevice #0
12-14 17:49:41.386 3293 3293 D audio_hw_primary: stream: 0
12-14 17:49:41.386 3293 3293 D audio_hw_primary: ignore pcmC1D7p
12-14 17:49:41.402 3293 3293 D audio_hw_primary: found audio out at /dev/snd/pcmC1D8p
12-14 17:49:41.402 3293 3293 D audio_hw_primary: card: 1/8 id: HDMI 0
12-14 17:49:41.402 3293 3293 D audio_hw_primary: name: HDMI 0
12-14 17:49:41.402 3293 3293 D audio_hw_primary: subname: subdevice #0
12-14 17:49:41.402 3293 3293 D audio_hw_primary: stream: 0
12-14 17:49:41.402 3293 3293 D audio_hw_primary: ignore pcmC1D8p
12-14 17:49:41.634 1247 1247 I servicemanager: type=1400 audit(0.0:535): avc: denied { getattr } for scontext=u:r:init:s0 tcontext=u:r:system_server:s0 tclass=process permissive=1
12-14 17:49:41.635 1527 1583 E AudioService: Audioserver started.
12-14 17:49:41.802 3293 3293 D audio_hw_primary: found audio out at /dev/snd/pcmC1D9p
12-14 17:49:41.802 3293 3293 D audio_hw_primary: card: 1/9 id: HDMI 0
12-14 17:49:41.802 3293 3293 D audio_hw_primary: name: HDMI 0
12-14 17:49:41.802 3293 3293 D audio_hw_primary: subname: subdevice #0
12-14 17:49:41.802 3293 3293 D audio_hw_primary: stream: 0
12-14 17:49:41.802 3293 3293 D audio_hw_primary: ignore pcmC1D9p
12-14 17:49:41.806 3293 3293 I audio_hw_primary: choose pcmC0D0p for 0
12-14 17:49:41.806 3293 3293 E audio_hw_primary: Failed to open /system/etc/mixer_paths.xml
12-14 17:49:41.806 3293 3293 I AudioFlinger: loadHwModule() Loaded primary audio interface from Grouper audio HW HAL (audio) handle 10
12-14 17:49:41.806 3293 3293 I AudioFlinger: openOutput(), module 10 Device 2, SamplingRate 48000, Format 0x000001, Channels 3, flags 2
12-14 17:49:41.806 3293 3293 I audio_hw_primary: choose pcmC0D0p for 0
12-14 17:49:41.806 3293 3293 I AudioFlinger: HAL output buffer size 512 frames, normal sink buffer size 1024 frames
12-14 17:49:41.807 3293 3293 W EffectsFactory: loadLibrary() failed to open /system/vendor/lib/soundfx/libswdap.so
12-14 17:49:41.807 3293 3293 W EffectsFactory: loadLibrary() failed to open /system/vendor/lib/soundfx/libhwdap.so
12-14 17:49:41.807 3293 3293 W EffectsFactory: loadEffect() could not get library proxy
12-14 17:49:41.807 3293 3293 I BufferProvider: found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
12-14 17:49:41.807 3293 3293 I AudioFlinger: Using module 10 has the primary audio interface
12-14 17:49:41.807 3293 3298 I AudioFlinger: AudioFlinger's thread 0xebb9b4c0 ready to run
12-14 17:49:41.808 3293 3298 W AudioFlinger: no wake lock to update, system not ready yet
12-14 17:49:41.808 3293 3298 E cutils-trace: Error opening trace file: Permission denied (13)
12-14 17:49:41.809 3293 3299 I AudioFlinger: AudioFlinger's thread 0xeb783040 ready to run
12-14 17:49:41.809 3293 3293 I bt_a2dp_hw: adev_open: adev_open in A2dp_hw module
12-14 17:49:41.809 3293 3293 I AudioFlinger: loadHwModule() Loaded a2dp audio interface from A2DP Audio HW HAL (audio) handle 18
12-14 17:49:41.810 3293 3293 I AudioFlinger: loadHwModule() Loaded usb audio interface from USB audio HW HAL (audio) handle 26
12-14 17:49:41.810 3293 3293 I RadioService: RadioService
12-14 17:49:41.810 3293 3293 I RadioService: onFirstRef
12-14 17:49:41.810 3293 3293 E RadioService: couldn't load radio module radio.primary (No such file or directory)
12-14 17:49:41.810 3293 3293 E SoundTriggerHwService: couldn't load sound trigger module sound_trigger.primary (No such file or directory)
12-14 17:49:41.810 3293 3293 D PermissionCache: checking android.permission.MODIFY_AUDIO_SETTINGS for uid=1000 => granted (129 us)
12-14 17:49:42.135 3293 3301 W APM::AudioPolicyEngine: setPhoneState() setting same state 0
12-14 17:49:42.135 3293 3301 W APM_AudioPolicyManager: setPhoneState() invalid or same state 0
12-14 17:49:42.136 1527 1527 I Binder:1527_B: type=1400 audit(0.0:536): avc: denied { setsched } for scontext=u:r:system_server:s0 tcontext=u:r:init:s0 tclass=process permissive=1
12-14 17:49:42.137 3293 3301 I AudioFlinger: systemReady
I've tried
setprop hal.audio.out pcmC1D3p
pkill audioserver
for all four NVidia Devices but still no sound.
the logcat of that:
12-14 17:55:15.804 1247 1247 I ServiceManager: service 'media.audio_flinger' died
12-14 17:55:15.804 1247 1247 I ServiceManager: service 'media.audio_policy' died
12-14 17:55:15.804 1247 1247 I ServiceManager: service 'media.sound_trigger_hw' died
12-14 17:55:15.804 1527 1539 W AudioSystem: AudioFlinger server died!
12-14 17:55:15.804 1527 1824 W AudioSystem: AudioPolicyService server died!
12-14 17:55:15.804 1247 1247 I ServiceManager: service 'media.radio' died
12-14 17:55:15.804 1527 1583 E AudioService: Audioserver died.
12-14 17:55:15.804 1527 1527 I ServiceManager: Waiting for service media.audio_policy...
12-14 17:55:15.869 3419 3419 I : sMaxFastTracks = 8
12-14 17:55:15.869 3419 3419 I audioserver: ServiceManager: 0xe791af40
12-14 17:55:15.870 3419 3419 I AudioFlinger: Using default 3000 mSec as standby time.
12-14 17:55:15.870 3419 3419 I AudioPolicyService: AudioPolicyService CSTOR in new mode
12-14 17:55:15.870 3419 3419 I APM::ConfigParsingUtils: loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
12-14 17:55:15.871 3419 3419 I audio_hw_primary: using pcmC1D3p from property
12-14 17:55:15.883 3419 3419 D audio_hw_primary: found audio out at /dev/snd/pcmC1D3p
12-14 17:55:15.883 3419 3419 D audio_hw_primary: card: 1/3 id: HDMI 0
12-14 17:55:15.883 3419 3419 D audio_hw_primary: name: HDMI 0
12-14 17:55:15.883 3419 3419 D audio_hw_primary: subname: subdevice #0
12-14 17:55:15.883 3419 3419 D audio_hw_primary: stream: 0
12-14 17:55:15.887 3419 3419 I audio_hw_primary: choose pcmC1D3p for 0
12-14 17:55:15.887 3419 3419 E audio_hw_primary: Failed to open /system/etc/mixer_paths.xml
12-14 17:55:15.887 3419 3419 I AudioFlinger: loadHwModule() Loaded primary audio interface from Grouper audio HW HAL (audio) handle 10
12-14 17:55:15.887 3419 3419 I AudioFlinger: openOutput(), module 10 Device 2, SamplingRate 48000, Format 0x000001, Channels 3, flags 2
12-14 17:55:15.887 3419 3419 I audio_hw_primary: choose pcmC1D3p for 0
12-14 17:55:15.887 3419 3419 I AudioFlinger: HAL output buffer size 512 frames, normal sink buffer size 1024 frames
12-14 17:55:15.888 3419 3419 W EffectsFactory: loadLibrary() failed to open /system/vendor/lib/soundfx/libswdap.so
12-14 17:55:15.888 3419 3419 W EffectsFactory: loadLibrary() failed to open /system/vendor/lib/soundfx/libhwdap.so
12-14 17:55:15.888 3419 3419 W EffectsFactory: loadEffect() could not get library proxy
12-14 17:55:15.888 3419 3419 I BufferProvider: found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
12-14 17:55:15.888 3419 3419 I AudioFlinger: Using module 10 has the primary audio interface
12-14 17:55:15.888 3419 3424 I AudioFlinger: AudioFlinger's thread 0xe7483c40 ready to run
12-14 17:55:15.889 3419 3424 W AudioFlinger: no wake lock to update, system not ready yet
12-14 17:55:15.889 3419 3424 E cutils-trace: Error opening trace file: Permission denied (13)
12-14 17:55:15.889 3419 3425 I AudioFlinger: AudioFlinger's thread 0xe7103b00 ready to run
12-14 17:55:15.890 3419 3419 I bt_a2dp_hw: adev_open: adev_open in A2dp_hw module
12-14 17:55:15.890 3419 3419 I AudioFlinger: loadHwModule() Loaded a2dp audio interface from A2DP Audio HW HAL (audio) handle 18
12-14 17:55:15.890 3419 3419 I AudioFlinger: loadHwModule() Loaded usb audio interface from USB audio HW HAL (audio) handle 26
12-14 17:55:15.890 3419 3419 I RadioService: RadioService
12-14 17:55:15.890 3419 3419 I RadioService: onFirstRef
12-14 17:55:15.890 3419 3419 E RadioService: couldn't load radio module radio.primary (No such file or directory)
12-14 17:55:15.890 3419 3419 E SoundTriggerHwService: couldn't load sound trigger module sound_trigger.primary (No such file or directory)
12-14 17:55:16.305 1527 1583 E AudioService: Audioserver started.
12-14 17:55:16.306 3419 3426 D PermissionCache: checking android.permission.MODIFY_AUDIO_SETTINGS for uid=1000 => granted (173 us)
12-14 17:55:16.805 3419 3428 W APM::AudioPolicyEngine: setPhoneState() setting same state 0
12-14 17:55:16.805 3419 3428 W APM_AudioPolicyManager: setPhoneState() invalid or same state 0
12-14 17:55:16.807 3419 3419 I AudioFlinger: systemReady
As you can see the device is being selected from properties as expected buut still no sound.
I have also repeated this steps with different kernel parameters. I have tried video=HDMI-A-1, video=HDMI-A-1, video=HDMI-A-1:e and video=1920x1080
analog audio is working btw.
Does anyone have any idea how to fix this?

It is in Androidx86 project road map but I guess not implemented yet.
Check the road map.
What we are working on now
Android 8.1 (Oreo) porting (oreo-x86 branch)
Upgrade kernel to 4.14
OpenGL ES hardware acceleration for intel/radeon/nvidia/amdgpu (pstglia, mauro) and virgl(robh) GPUs.
HDMI audio (cwhuang)
LineageOS integration (jjm)
Hardware accelerated codecs

Android-x86 sound over hdmi
Hi,
I have fixed the problem no sound over hdmi
If su root terminal and give the commands
setprop hal.audio.out pcmCOD3p
pkill audioserver
audioserver
The hdmi sounds works
I edit init.sh and add the line setprop hal.audio.out pcmCOD3p saved it and reboot
but still no sound until i su root terminal and give the commands pkill audioserver and then start audioserver
Does anyone has a solution for this ? its android-x86 8.1
Thanks in advance
snellie

This works
tristep said:
Hi,
I have fixed the problem no sound over hdmi
If su root terminal and give the commands
setprop hal.audio.out pcmCOD3p
pkill audioserver
audioserver
The hdmi sounds works
I edit init.sh and add the line setprop hal.audio.out pcmCOD3p saved it and reboot
but still no sound until i su root terminal and give the commands pkill audioserver and then start audioserver
Does anyone has a solution for this ? its android-x86 8.1
Thanks in advance
snellie
Click to expand...
Click to collapse
Had same the same problem and didn't want to continue messing with /system/etc/init.rc and end up with a borked build again. The init.rc script calls /system/vendor/etc/init.rc (line 469&470 on my init.rc) if it exists and I looked to see if it was overriding the changes. Turns out /system/vendor/ect/init.rc doesn't exist so I used it for the custom changes (This is what the vendor folder is for afterall).
Your /system/vendor/etc/init.sh file should read:
Code:
setprop hal.audio.out pcmC0D3p
killall audioserver
This one liner will create the file for you.
Code:
RC="/system/vendor/etc/init.rc"; echo "setprop hal.audio.out pcmC0D3p\nkillall audioserver" >"$RC"; chmod 644 "$RC"
I am running a modded, debloated PrimeOS mainline, but the above method should still work. My sound worked on pcmC0D7p.

scratchy audio
Hi,
thanks for all the explaination works for me but not completely
I explain
I followed the steps , found out the correct device (was pcmC1D3p for me)
in terminal when I play a sample sound is clear as should be
(# alsa_aplay -Dplughw:1,3 /storage/emulated/0/samplefolder/sample.wav)
when I do the setprop and restart audioserver I can hear the sound but it is very very scratchy
if i try again from the terminal it is clear
Have you an idea of what can be the problem?
Can you please help me?
I am running a primeOS on a desktop pc, hdmi comes from a graphic card by Nvidia

Related

Bootloop issue on Vodafone 875 (MT6575) with logcat

I took a MTKDroidTools backup of my Vodafone 875 (MT6575) before trying to install a custom ROM on it, however the custom ROM goes into a boot loop, and when I format the entire flash, then try to flash the backup onto the phone it does the same bootloop (boot animation repeats).
I've taken a logcat dump, and my analysis of the below dump shows E/dalvikvm(18451): ERROR: must specify non-'.' bootclasspath as the issue, but I'm not sure how to resolve this, if it is the issue. The below text loops.
I had thought it could be a permissions issue, but doing a full flash format should fix this, and that shouldn't happen on the backup of stock I took earlier. I could really use any advice on how to get this going again.
Code:
I/AKMD2 (18452): AK8963/B for Android v20110826 (Library: v1.0.0.809) started.
I/AKMD2 (18452): Debug: ON
I/AKMD2 (18452): Debug level: 4
I/AKMD2 (18452): Output to: stdout
I/AKMD2 (18452): AK8963/B for Android end (-2).
E/dalvikvm(18451): ERROR: must specify non-'.' bootclasspath
W/dalvikvm(18451): CreateJavaVM failed: dvmClassStartup failed
E/AndroidRuntime(18451): JNI_CreateJavaVM failed
I/Netd (18454): Netd 1.0 starting
I/ServiceManager( 95): service 'media.audio_flinger' died
I/ServiceManager( 95): service 'media.player' died
I/ServiceManager( 95): service 'memory.dumper' died
I/ServiceManager( 95): service 'media.camera' died
I/ServiceManager( 95): service 'media.audio_policy' died
I/SurfaceTextureClient( 361): [0x41d75e78] frames:24, duration:1.026000, fps:23.381756
I/SurfaceFlinger( 107): [SurfaceFlinger] frames:24, duration:1.021000, fps:23.493322
I/mediaserver(18453): ServiceManager: 0x4163ef38
I/AudioFlinger(18453): Using default 600 mSec as standby time.
I/CameraService(18453): CameraService started (pid=18453)
I/MtkCam/CamDevice(18453): [CamDeviceManager::getNumberOfCameras] mi4DeviceNum(2)
I/MtkCam/CamDevice(18453): [CamDeviceManager::getNumberOfCameras] id(0) (facing,orientation)=(0,90)
I/MtkCam/CamDevice(18453): [CamDeviceManager::getNumberOfCameras] id(1) (facing,orientation)=(0,0)
I/AudioYusuPolicyManager(18453): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
W/AudioHardwareInterface(18453): Creating Vendor Specific AudioHardware
W/AudioYusuHardware(18453): Get_Recovery_State bSpeechFlag=0, bBgsFlag=0, bRecordFlag=0, bTtyFlag=0, bVT=0
W/AudioYusuHardware(18453): Recover_State bSpeechFlag=0,bBgsFlag=0,bRecordFlag=0,bTtyFlag=0,bVT=0
I/AudioFlinger(18453): loadHwModule() Loaded primary audio interface from LEGACY Audio HW HAL (libaudio) handle 1
I/AudioFlinger(18453): HAL output buffer size 3072 frames, normal mix buffer size 3072 frames
I/AudioMixer(18453): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
I/AudioFlinger(18453): Using module 1 has the primary audio interface
I/AudioFlinger(18453): AudioFlinger's thread 0x41cb9b48 ready to run
W/AudioFlinger(18453): Thread AudioOut_2 cannot connect to the power manager service
W/AudioFlinger(18453): Thread AudioOut_2 cannot connect to the power manager service
W/AudioHardwareInterface(18453): A2DPcreate AudioHardwareGeneric
I/AudioFlinger(18453): loadHwModule() Loaded a2dp audio interface from A2DP Audio HW HAL (libaudio) handle 3
I/AudioFlinger(18453): loadHwModule() Loaded usb audio interface from USB audio HW HAL (libaudio) handle 4
I/AudioPolicyService(18453): Loaded audio policy from LEGACY Audio Policy HAL (audio_policy)
I/mediaserver(18453): [int main(int, char**)] re-adjust caps for its thread, and set uid to media
E/BandwidthController(18454): runIptablesCmd(): failed /system/bin/iptables -t raw -N bw_raw_PREROUTING res=256
E/BandwidthController(18454): runIptablesCmd(): failed /system/bin/ip6tables -t raw -N bw_raw_PREROUTING res=256
I/SurfaceTextureClient( 361): [0x41d75e78] frames:24, duration:1.002000, fps:23.944597
I/SurfaceFlinger( 107): [SurfaceFlinger] frames:24, duration:1.006000, fps:23.843487
I/SurfaceTextureClient( 361): [0x41d75e78] frames:24, duration:1.002000, fps:23.950720
I/SurfaceFlinger( 107): [SurfaceFlinger] frames:24, duration:1.006000, fps:23.849733
I/SurfaceTextureClient( 361): [0x41d75e78] frames:24, duration:1.001000, fps:23.952641
I/SurfaceFlinger( 107): [SurfaceFlinger] frames:24, duration:1.006000, fps:23.847767
I/SurfaceTextureClient( 361): [0x41d75e78] frames:24, duration:1.001000, fps:23.952751
I/SurfaceFlinger( 107): [SurfaceFlinger] frames:25, duration:1.037000, fps:24.086252
I/AKMD2 (18585): AK8963/B for Android v20110826 (Library: v1.0.0.809) started.
I/AKMD2 (18585): Debug: ON
I/AKMD2 (18585): Debug level: 4
I/AKMD2 (18585): Output to: stdout
I/AKMD2 (18585): AK8963/B for Android end (-2).
E/dalvikvm(18584): ERROR: must specify non-'.' bootclasspath
W/dalvikvm(18584): CreateJavaVM failed: dvmClassStartup failed
E/AndroidRuntime(18584): JNI_CreateJavaVM failed
I/ServiceManager( 95): service 'media.audio_flinger' died
I/ServiceManager( 95): service 'media.player' died
I/ServiceManager( 95): service 'memory.dumper' died
I/ServiceManager( 95): service 'media.camera' died
I/ServiceManager( 95): service 'media.audio_policy' died
I/Netd (18587): Netd 1.0 starting
I/mediaserver(18586): ServiceManager: 0x415fdf38
I/AudioFlinger(18586): Using default 600 mSec as standby time.
I/CameraService(18586): CameraService started (pid=18586)
I/MtkCam/CamDevice(18586): [CamDeviceManager::getNumberOfCameras] mi4DeviceNum(2)
I/MtkCam/CamDevice(18586): [CamDeviceManager::getNumberOfCameras] id(0) (facing,orientation)=(0,90)
I/MtkCam/CamDevice(18586): [CamDeviceManager::getNumberOfCameras] id(1) (facing,orientation)=(0,0)
I/AudioYusuPolicyManager(18586): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
W/AudioHardwareInterface(18586): Creating Vendor Specific AudioHardware
I/SurfaceTextureClient( 361): [0x41d75e78] frames:23, duration:1.003000, fps:22.910480
W/AudioYusuHardware(18586): Get_Recovery_State bSpeechFlag=0, bBgsFlag=0, bRecordFlag=0, bTtyFlag=0, bVT=0
W/AudioYusuHardware(18586): Recover_State bSpeechFlag=0,bBgsFlag=0,bRecordFlag=0,bTtyFlag=0,bVT=0
I/AudioFlinger(18586): loadHwModule() Loaded primary audio interface from LEGACY Audio HW HAL (libaudio) handle 1
I/AudioFlinger(18586): HAL output buffer size 3072 frames, normal mix buffer size 3072 frames
I/AudioMixer(18586): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
I/AudioFlinger(18586): Using module 1 has the primary audio interface
I/AudioFlinger(18586): AudioFlinger's thread 0x41c78b48 ready to run
W/AudioFlinger(18586): Thread AudioOut_2 cannot connect to the power manager service
W/AudioFlinger(18586): Thread AudioOut_2 cannot connect to the power manager service
W/AudioHardwareInterface(18586): A2DPcreate AudioHardwareGeneric
I/AudioFlinger(18586): loadHwModule() Loaded a2dp audio interface from A2DP Audio HW HAL (libaudio) handle 3
I/AudioFlinger(18586): loadHwModule() Loaded usb audio interface from USB audio HW HAL (libaudio) handle 4
I/AudioPolicyService(18586): Loaded audio policy from LEGACY Audio Policy HAL (audio_policy)
I/mediaserver(18586): [int main(int, char**)] re-adjust caps for its thread, and set uid to media
I/SurfaceFlinger( 107): [SurfaceFlinger] frames:23, duration:1.005000, fps:22.865768
E/BandwidthController(18587): runIptablesCmd(): failed /system/bin/iptables -t raw -N bw_raw_PREROUTING res=256
E/BandwidthController(18587): runIptablesCmd(): failed /system/bin/ip6tables -t raw -N bw_raw_PREROUTING res=256
I/SurfaceTextureClient( 361): [0x41d75e78] frames:24, duration:1.002000, fps:23.949043
I/SurfaceFlinger( 107): [SurfaceFlinger] frames:24, duration:1.006000, fps:23.853973
I/SurfaceTextureClient( 361): [0x41d75e78] frames:24, duration:1.001000, fps:23.952944
W/ADB_SERVICES( 145): create_local_service_socket() name=shell:export ANDROID_LOG_TAGS="" ; exec logcat -d
W/ADB_SERVICES(18717): adb: unable to open /proc/18717/oom_adj
I/SurfaceFlinger( 107): [SurfaceFlinger] frames:25, duration:1.037000, fps:24.085707
Me too
USDan said:
I took a MTKDroidTools backup of my Vodafone 875 (MT6575) before trying to install a custom ROM on it, however the custom ROM goes into a boot loop, and when I format the entire flash, then try to flash the backup onto the phone it does the same bootloop (boot animation repeats).
I've taken a logcat dump, and my analysis of the below dump shows E/dalvikvm(18451): ERROR: must specify non-'.' bootclasspath as the issue, but I'm not sure how to resolve this, if it is the issue. The below text loops.
I had thought it could be a permissions issue, but doing a full flash format should fix this, and that shouldn't happen on the backup of stock I took earlier. I could really use any advice on how to get this going again.
Code:
I/AKMD2 (18452): AK8963/B for Android v20110826 (Library: v1.0.0.809) started.
I/AKMD2 (18452): Debug: ON
I/AKMD2 (18452): Debug level: 4
I/AKMD2 (18452): Output to: stdout
I/AKMD2 (18452): AK8963/B for Android end (-2).
E/dalvikvm(18451): ERROR: must specify non-'.' bootclasspath
W/dalvikvm(18451): CreateJavaVM failed: dvmClassStartup failed
E/AndroidRuntime(18451): JNI_CreateJavaVM failed
I/Netd (18454): Netd 1.0 starting
I/ServiceManager( 95): service 'media.audio_flinger' died
I/ServiceManager( 95): service 'media.player' died
I/ServiceManager( 95): service 'memory.dumper' died
I/ServiceManager( 95): service 'media.camera' died
I/ServiceManager( 95): service 'media.audio_policy' died
I/SurfaceTextureClient( 361): [0x41d75e78] frames:24, duration:1.026000, fps:23.381756
I/SurfaceFlinger( 107): [SurfaceFlinger] frames:24, duration:1.021000, fps:23.493322
I/mediaserver(18453): ServiceManager: 0x4163ef38
I/AudioFlinger(18453): Using default 600 mSec as standby time.
I/CameraService(18453): CameraService started (pid=18453)
I/MtkCam/CamDevice(18453): [CamDeviceManager::getNumberOfCameras] mi4DeviceNum(2)
I/MtkCam/CamDevice(18453): [CamDeviceManager::getNumberOfCameras] id(0) (facing,orientation)=(0,90)
I/MtkCam/CamDevice(18453): [CamDeviceManager::getNumberOfCameras] id(1) (facing,orientation)=(0,0)
I/AudioYusuPolicyManager(18453): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
W/AudioHardwareInterface(18453): Creating Vendor Specific AudioHardware
W/AudioYusuHardware(18453): Get_Recovery_State bSpeechFlag=0, bBgsFlag=0, bRecordFlag=0, bTtyFlag=0, bVT=0
W/AudioYusuHardware(18453): Recover_State bSpeechFlag=0,bBgsFlag=0,bRecordFlag=0,bTtyFlag=0,bVT=0
I/AudioFlinger(18453): loadHwModule() Loaded primary audio interface from LEGACY Audio HW HAL (libaudio) handle 1
I/AudioFlinger(18453): HAL output buffer size 3072 frames, normal mix buffer size 3072 frames
I/AudioMixer(18453): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
I/AudioFlinger(18453): Using module 1 has the primary audio interface
I/AudioFlinger(18453): AudioFlinger's thread 0x41cb9b48 ready to run
W/AudioFlinger(18453): Thread AudioOut_2 cannot connect to the power manager service
W/AudioFlinger(18453): Thread AudioOut_2 cannot connect to the power manager service
W/AudioHardwareInterface(18453): A2DPcreate AudioHardwareGeneric
I/AudioFlinger(18453): loadHwModule() Loaded a2dp audio interface from A2DP Audio HW HAL (libaudio) handle 3
I/AudioFlinger(18453): loadHwModule() Loaded usb audio interface from USB audio HW HAL (libaudio) handle 4
I/AudioPolicyService(18453): Loaded audio policy from LEGACY Audio Policy HAL (audio_policy)
I/mediaserver(18453): [int main(int, char**)] re-adjust caps for its thread, and set uid to media
E/BandwidthController(18454): runIptablesCmd(): failed /system/bin/iptables -t raw -N bw_raw_PREROUTING res=256
E/BandwidthController(18454): runIptablesCmd(): failed /system/bin/ip6tables -t raw -N bw_raw_PREROUTING res=256
I/SurfaceTextureClient( 361): [0x41d75e78] frames:24, duration:1.002000, fps:23.944597
I/SurfaceFlinger( 107): [SurfaceFlinger] frames:24, duration:1.006000, fps:23.843487
I/SurfaceTextureClient( 361): [0x41d75e78] frames:24, duration:1.002000, fps:23.950720
I/SurfaceFlinger( 107): [SurfaceFlinger] frames:24, duration:1.006000, fps:23.849733
I/SurfaceTextureClient( 361): [0x41d75e78] frames:24, duration:1.001000, fps:23.952641
I/SurfaceFlinger( 107): [SurfaceFlinger] frames:24, duration:1.006000, fps:23.847767
I/SurfaceTextureClient( 361): [0x41d75e78] frames:24, duration:1.001000, fps:23.952751
I/SurfaceFlinger( 107): [SurfaceFlinger] frames:25, duration:1.037000, fps:24.086252
I/AKMD2 (18585): AK8963/B for Android v20110826 (Library: v1.0.0.809) started.
I/AKMD2 (18585): Debug: ON
I/AKMD2 (18585): Debug level: 4
I/AKMD2 (18585): Output to: stdout
I/AKMD2 (18585): AK8963/B for Android end (-2).
E/dalvikvm(18584): ERROR: must specify non-'.' bootclasspath
W/dalvikvm(18584): CreateJavaVM failed: dvmClassStartup failed
E/AndroidRuntime(18584): JNI_CreateJavaVM failed
I/ServiceManager( 95): service 'media.audio_flinger' died
I/ServiceManager( 95): service 'media.player' died
I/ServiceManager( 95): service 'memory.dumper' died
I/ServiceManager( 95): service 'media.camera' died
I/ServiceManager( 95): service 'media.audio_policy' died
I/Netd (18587): Netd 1.0 starting
I/mediaserver(18586): ServiceManager: 0x415fdf38
I/AudioFlinger(18586): Using default 600 mSec as standby time.
I/CameraService(18586): CameraService started (pid=18586)
I/MtkCam/CamDevice(18586): [CamDeviceManager::getNumberOfCameras] mi4DeviceNum(2)
I/MtkCam/CamDevice(18586): [CamDeviceManager::getNumberOfCameras] id(0) (facing,orientation)=(0,90)
I/MtkCam/CamDevice(18586): [CamDeviceManager::getNumberOfCameras] id(1) (facing,orientation)=(0,0)
I/AudioYusuPolicyManager(18586): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
W/AudioHardwareInterface(18586): Creating Vendor Specific AudioHardware
I/SurfaceTextureClient( 361): [0x41d75e78] frames:23, duration:1.003000, fps:22.910480
W/AudioYusuHardware(18586): Get_Recovery_State bSpeechFlag=0, bBgsFlag=0, bRecordFlag=0, bTtyFlag=0, bVT=0
W/AudioYusuHardware(18586): Recover_State bSpeechFlag=0,bBgsFlag=0,bRecordFlag=0,bTtyFlag=0,bVT=0
I/AudioFlinger(18586): loadHwModule() Loaded primary audio interface from LEGACY Audio HW HAL (libaudio) handle 1
I/AudioFlinger(18586): HAL output buffer size 3072 frames, normal mix buffer size 3072 frames
I/AudioMixer(18586): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
I/AudioFlinger(18586): Using module 1 has the primary audio interface
I/AudioFlinger(18586): AudioFlinger's thread 0x41c78b48 ready to run
W/AudioFlinger(18586): Thread AudioOut_2 cannot connect to the power manager service
W/AudioFlinger(18586): Thread AudioOut_2 cannot connect to the power manager service
W/AudioHardwareInterface(18586): A2DPcreate AudioHardwareGeneric
I/AudioFlinger(18586): loadHwModule() Loaded a2dp audio interface from A2DP Audio HW HAL (libaudio) handle 3
I/AudioFlinger(18586): loadHwModule() Loaded usb audio interface from USB audio HW HAL (libaudio) handle 4
I/AudioPolicyService(18586): Loaded audio policy from LEGACY Audio Policy HAL (audio_policy)
I/mediaserver(18586): [int main(int, char**)] re-adjust caps for its thread, and set uid to media
I/SurfaceFlinger( 107): [SurfaceFlinger] frames:23, duration:1.005000, fps:22.865768
E/BandwidthController(18587): runIptablesCmd(): failed /system/bin/iptables -t raw -N bw_raw_PREROUTING res=256
E/BandwidthController(18587): runIptablesCmd(): failed /system/bin/ip6tables -t raw -N bw_raw_PREROUTING res=256
I/SurfaceTextureClient( 361): [0x41d75e78] frames:24, duration:1.002000, fps:23.949043
I/SurfaceFlinger( 107): [SurfaceFlinger] frames:24, duration:1.006000, fps:23.853973
I/SurfaceTextureClient( 361): [0x41d75e78] frames:24, duration:1.001000, fps:23.952944
W/ADB_SERVICES( 145): create_local_service_socket() name=shell:export ANDROID_LOG_TAGS="" ; exec logcat -d
W/ADB_SERVICES(18717): adb: unable to open /proc/18717/oom_adj
I/SurfaceFlinger( 107): [SurfaceFlinger] frames:25, duration:1.037000, fps:24.085707
Click to expand...
Click to collapse
it seems that you have edited your build.prop. Try to restore your default. This should fix the problem

[Q] [HELP] understand my logcat

Hello, here is my problem,
I have always ported the miui rom to my thl w200 device.
in the latest builds, after porting it to my phone I get stuck at bootlogo.
I did a logcat but cant really find what causes this.
someone can look at it and help me?
--------- beginning of /dev/log/main
I/Resize ( 86): The size of data already meet the request.
I/Resize ( 86): Partition has been resized,so nothing to do!
D/ADB_SERVICES( 158): install_listener('tcp:5037','*smartsocket*')
D/ADB_SERVICES( 158): adb_main(): pre init_jdwp()
D/ADB_SERVICES( 158): adb_main(): post init_jdwp()
D/ADB_SERVICES( 158): Event loop starting
D/ADB_SERVICES( 158): transport: 0xf67520 init'ing for usb_handle 0xf67498 (sn='')
I/ADB_SERVICES( 158): transport: usb
D/ADB_SERVICES( 158): transport: (null) registered
D/ADB_SERVICES( 158): transport: (null) (16,17) starting
W/ADB_SERVICES( 158): (null): starting transport input thread, reading from fd 17
W/ADB_SERVICES( 158): (null): starting transport output thread on fd 17, SYNC online (2)
D/ADB_SERVICES( 158): recv: SYNC 00000001 00000002 0000
W/ADB_SERVICES( 158): (null): transport SYNC online
E/ccci_mdinit(0)( 121): md_init ver:1.00
E/ccci_mdinit(0)( 120): md_init ver:1.00
I/6620_launcher( 117): open device node succeed.(Node:/dev/stpwmt, fd:3)
I/6620_launcher( 117): keypersist.mtk.wcn.combo.chipid)-value0x6628),chipId:0x6628
I/6620_launcher( 117): index:1, chipId:0x6628
I/6620_launcher( 117): chiId:0x6628
I/6620_launcher( 117): index:1, chipId:0x6628
I/6620_launcher( 117): set chipId(0x6628) to HIF-SDIO module
I/6620_launcher( 117): Info:key:mt6620.defAnt value:mt6620_ant_m3.cfg
I/6620_launcher( 117): Info:key:mt6628.defAnt value:mt6628_ant_m1.cfg
I/6620_launcher( 117): NULL is returned, eighter EOF or error maybe found
I/6620_launcher( 117): close /system/etc/firmware/WMT.cfg succeed
I/6620_launcher( 117): index:1, chipId:0x6628
I/6620_launcher( 117): STP Mode is not set, fetching default mode...
I/6620_launcher( 117): chipId(0x6628), default Mode(1), strlen(gWmtCfgName)(39), wmtCfgFile(/system/etc/firmware//mt6628_ant_m1.cfg)
I/6620_launcher( 117): HifConfig:0x0001, wmtCfgFile:/system/etc/firmware//mt6628_ant_m1.cfg
I/6620_launcher( 117): keyro.build.type)-valueuser)
I/6620_launcher( 117): MCU patch folder path: /system/etc/firmware/
I/6620_launcher( 117): Common Interface: UART mode
I/6620_launcher( 117): MCU patch folder path: /system/etc/firmware/
I/6620_launcher( 117): Common Interface: UART mode
I/6620_launcher( 117): uart name ttyMT2
D/MsensorDaemon( 151): Msensor deamon statr!!!!!!!!!!!!
D/MsensorDaemon( 151): msensor demon start process detect demon name = memsicd3416x
D/MsensorDaemon( 151):
D/MsensorDaemon( 151): msensor demon start process detect demon prop = init.svc.memsicd3416x
D/MsensorDaemon( 151):
D/MsensorDaemon( 151): start_msensor_demon
D/MsensorDaemon( 151): HAVE_LIBC_SYSTEM_PROPERTIES
E/MsensorDaemon( 151): [99] ''
D/permission_check( 145): permission check ver:0.01
D/permission_check( 145): Empty, not decrypt!
D/permission_check( 145): change_md_nvram_attr++
--------- beginning of /dev/log/system
E/POAD ( 155): boot_mode = 0
E/POAD ( 155): update boot reason = 0
D/permission_check( 145): new_ver file exist!!!
D/permission_check( 145): change_md_nvram_attr--0
I/stp_dump( 143): ==>main
I/stp_dump( 143): stp_dump_ctrl_iface_trace_logger_sendto_fd succeed
E/stp_dump( 143): [STP_DBG] family id = 19
I/stp_dump( 143): sending dummy command
I/stp_dump( 143): set sock number to 9
I/stp_dump( 143): addr.sun_path:stp_DIR=/data/misc/stp_dump GROUP=stp
I/stp_dump( 143): Using existing control interface directory.
E/stp_dump( 143): mkdir (/data/misc/stp_dump) succeed
I/stp_dump( 143): ctrl_interface_group=1000 (from group name 'stp')
I/stp_dump( 143): chown (/data/misc/stp_dump) succeed
I/stp_dump( 143): CTRL: chmod[/data/misc/stp_dump] succeed
E/stp_dump( 143): ctrl_iface bind(PF_UNIX) failed: Address already in use
E/stp_dump( 143): ctrl_iface exists, but does not allow connections - assuming it was leftover from forced program termination
D/stp_dump( 143): Successfully replaced leftover ctrl_iface socket '/data/misc/stp_dump/stpd'
I/stp_dump( 143): set sock number to 10
I/stp_dump( 143): stp_dump_ctrl_iface_init succeed.
I/stp_dump( 143): ==>main222
I/busybox ( 114): run-parts: /system/etc/init.d: No such file or directory
D/wlanLoader( 144): checkSupport 0x6628
D/wlanLoader( 144): Match 0x6628
D/wlanLoader( 144): Get the correct chip version mt6628
D/wlanLoader( 144): Get chip Version mt6628.
D/wlanLoader( 144): DRIVER_MODULE_PATH is /system/lib/modules/wlan_mt6628.ko
D/MsensorDaemon( 151): HAVE_LIBC_SYSTEM_PROPERTIES
D/MsensorDaemon( 151): memsicd3416x running
D/MsensorDaemon( 151): Msensor deamon2 statr!!!!!!!!!!!!
D/MsensorDaemon( 151): open demon attr err = No such file or directory
E/stp_dump( 143): table == NULL || table->table == NULL
E/stp_dump( 143): table == NULL || table->table == NULL
D/wlanLoader( 144): Success to insmod the /system/lib/modules/wlan_mt6628.ko
I/thermal_repeater( 154): START+++++++++ 154
I/thermal_repeater( 154): Success to write 154 to /proc/wmt_tm/tm_pid
I/thermal_repeater( 154): Fail to chmod ffffffff
I/thermal_repeater( 154): Enter infinite loop
I/AEE/AED ( 122): Built Jan 30 2013 19:35:15
D/AEE/AED ( 122): ChangeAEEWorkMode: 3
I/AEE/AED ( 122): AED config
I/AEE/AED ( 122): mode '3'
I/AEE/AED ( 122): exp level '1
I/AEE/AED ( 122): dal enable '0'
I/AEE/AED ( 122): db count '20'
I/AEE/AED ( 122): db storage '1'
I/AEE/AED ( 122): SMP Info => 1
I/MobileLogD( 123): [void change_permission()] set mobile_log_d is in root user, adjust caps for its thread
I/MobileLogD( 123): mobilelog start after boot, mode:0
D/MobileLogD/cache( 123): init cache configure items....
D/MobileLogD/cache( 123): value of ro.build.type:user.
I/installd( 140): installd firing up
D/PQ ( 130): PQ init start...
D/PQ ( 130): PQ test...
I/ ( 137): ServiceManager: 0x41661698
D/PQ ( 130): PQ init end !
E/AEE/LIBAEE( 122): Can't remove file /sdcard/mtklog/aee_exp/temp: No such file or directory
E/AEE/LIBAEE( 122): Can't remove file /data/aee_exp/temp: No such file or directory
V/AEE/AED ( 122): ETB buffer length = 512
I/AEE/AED ( 122): wdt_status = 2, fiq_step=0
I/AEE/AED ( 122): reboot_reason = 0
V/AEE/AED ( 122): ETM start
D/installd( 140): LBE is enabled, starting...
D/NVRAM ( 152): NvRAMAgent created
E/NVRAM ( 152): Haman, serviceManager work well
D/NVRAM ( 152): NvRAMAgent Service is now ready
I/DPFD ( 149): [DPFD] main start ...
I/DPFD ( 149): [DPFD] set priority to RR:268435540
I/DPFD ( 149): [int adjustPriority()] set dpfd is in root user, adjust caps for its thread
D/DPFD ( 149): [DPFD] Wait Request.....
I/DMAgent ( 147): DMAgent created
I/DMAgent ( 147): [DMAgent]register OK.
D/DMAgent ( 147): DMAgent Service is now ready
D/MobileLogD( 123): write "mobilelog start after boot, mode:0" to mblog
E/installd( 140): Failed to load liblbesec.so
I/installd( 140): add service shelld success!
W/installd( 140): service start entry 'shelld', flag :0
W/installd( 140): starting 'shelld'
E/ccci_fsd(0)( 118): md_fsd Ver:v1.00
I/Hald ( 133): Hald 1.1011 starting
D/ccci_fsd(1)( 118): /dev/ccci_fs is opend(600).
D/ccci_fsd(1)( 118): Check OTP...
D/Hald ( 133): Create ResetManager
D/Hald ( 133): Size of initial message: 6
D/Hald ( 133): [MTK_WIFI] family id = 20
D/Hald ( 133): Reset Manager Prepare Dummy command
D/Hald ( 133): Reset Manager Send Command for binding
D/Hald ( 133): Start ResetManager
E/ccci_fsd(0)( 119): md_fsd Ver:v1.00
E/ccci_fsd(2)( 119): /dev/ccci2_fs is not enabled(2).
D/MobileLogD/cache( 123): config autostart=0 same as current value
D/MobileLogD/cache( 123): config logpath=/mnt/sdcard same as current value
D/MobileLogD/cache( 123): config logsize=300 same as current value
D/MobileLogD/cache( 123): config AndroidLog=1 same as current value
D/MobileLogD/cache( 123): config KernelLog=1 same as current value
D/MobileLogD/cache( 123): config BTLog=1 same as current value
D/MobileLogD/cache( 123): config BTLog=1 same as current value
E/MobileLogD/cache( 123): cant get true log path through property
E/MobileLogD/cache( 123): true path is /mnt/sdcard
D/MobileLogD( 123): create local socket server success
D/Vold ( 116): Check whether nvram restore ready!
D/NVRAM ( 128): g_i4CFG_File_Count: 25
D/NVRAM ( 128): NVM_Init Max Lid: 43
D/NVRAM ( 128): Total nvram Lid number is 43
I/Netd ( 125): Netd 1.0 starting
W/InterfaceController( 125): Warning (Cannot load library: load_library(linker.cpp:745): library "/system/lib/libnetcmdiface.so" not found) while opening the net interface command library
D/agps ( 142): [agps] WARNING: [Main] mtk_agpsd is running ver=0.46
D/agps ( 142): [agps] WARNING: [Main] mkdir failure for /data/agps_supl/log reason=[File exists]
D/MtkAgpsNative( 142): SuplRawLog.bEnable:0
D/MtkAgpsNative( 142): SuplRawLog.szPath:/sdcard
D/MtkAgpsNative( 142): SuplRawLog.szFile:agps_raw.log
D/MtkAgpsNative( 142): SuplSslLog.bEnable:0
D/MtkAgpsNative( 142): SuplSslLog.szPath:/sdcard
D/MtkAgpsNative( 142): SuplSslLog.szFile:agps_ssl.log
I/MtkAgpsNative( 142): Enter up_int_init
I/MtkAgpsNative( 142): Enter mtk_agps_up_init
D/MtkAgpsNative( 142): FS_CreateDir: /data/agps_supl
W/MtkAgpsNative( 142): -> errno(EEXIST) => dir already exists
D/MtkAgpsNative( 142): ############ mtk_agps_up_init --> agps_disable_enalbe_times = 1 ############
Click to expand...
Click to collapse

lineageOS: cannot use internal SD after factory reset: "Failed to find root"

lineageOS: cannot use internal SD after factory reset: "Failed to find root"
Hello all,
sorry for posting here, i'm not allowed to post at the peregrine forum section.
I have a Moto G 4G (LTE) peregrine which worked fine with the latest LineageOS 14.1. + twrp-3.1.1-0.
Then i made a factory reset because i wanted to gift it to my mother.
After that, no app could access the INTERNAL SD card for storing eg. pictures or downloads.
When you open the "Files" app, it crashes immediately.
Then logcat shows the output below.
I tried the following to no avail:
- reset with formating data, cache, etc (factory reset)
- reset with formating EVERYTHING, including /system, then reflashing lineage-14.1-20170811-nightly-peregrine-signed.zip and open_gapps-arm-7.1-nano-20170813.zip
- reset with formating EVERYTHING, including /system, then reflashing some other 7.1 ROM found here in the forum (cannot remember which)
- reset with formating EVERYTHING, including /system, then reflashing the original ROM XT1039_Retail_Germany_51_Untouched.zip
the original ROM was rather bad because the keyboard kept crashing and it was totally unusable. still no access to the internal SD card.
- messing with the directory structure:
/sdcard is a softlink to /storage/self/primary
/storage/self/primary is a softlink to /mnt/user/0/primary
/mnt/user/0/primary doesn't exist, it only goes as far as /mnt/user/0
so i tried different scripts from this thread https://forum.xda-developers.com/showthread.php?t=2211109 to create /mnt/user/0/primary at boot, which all didn't work.
it seems LOS 14.1 cannot run init scripts or user init scripts or whatever.
it didn't work.
also, the external SD card slot isn't reliable anymore, so that's out of the question as well.
I'm rather stuck!
can anybody help me?
any help is appreciated!
Thank you very much!
Code:
08-20 22:24:05.859 892 1873 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.documentsui/.LauncherActivity (has extras)} from uid 10028 on display 0
08-20 22:24:05.876 337 495 D audio_hw_primary: start_output_stream: enter: stream(0xb624e980)usecase(1: low-latency-playback) devices(0x2)
08-20 22:24:05.876 337 495 D audio_hw_primary: start_output_stream: enter: usecase(1: low-latency-playback) devices(0x2)
08-20 22:24:05.876 337 495 D audio_hw_primary: select_devices: out_snd_device(2: speaker) in_snd_device(0: )
08-20 22:24:05.876 337 495 W msm8974_platform: Codec backend bitwidth 16, samplerate 48000
08-20 22:24:05.876 337 495 D hardware_info: hw_info_append_hw_type : device_name = speaker-lite
08-20 22:24:05.876 337 495 I msm8974_platform: platform_send_audio_calibration: sending audio calibration for snd_device(2) acdb_id(14)
08-20 22:24:05.876 337 495 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 14, path = 0
08-20 22:24:05.876 337 495 D ACDB-LOADER: ACDB -> send_adm_topology
08-20 22:24:05.876 337 495 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
08-20 22:24:05.876 337 495 D ACDB-LOADER: ACDB -> send_audtable
08-20 22:24:05.877 337 495 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
08-20 22:24:05.877 337 495 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_CAL
08-20 22:24:05.877 337 495 D ACDB-LOADER: ACDB -> send_audvoltable
08-20 22:24:05.877 337 495 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE
08-20 22:24:05.877 337 495 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
08-20 22:24:05.877 337 495 D ACDB-LOADER: ACDB -> AUDIO_SET_AFE_CAL
08-20 22:24:05.890 337 495 D audio_hw_primary: select_devices: done
08-20 22:24:05.948 892 929 W BroadcastQueue: Permission Denial: broadcasting Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 (has extras) } from com.cyanogenmod.trebuchet (pid=1909, uid=10028) requires com.google.android.launcher.permiss
ion.RECEIVE_LAUNCH_BROADCASTS due to receiver com.google.android.gms/.icing.proxy.ApplicationLauncherReceiver
08-20 22:24:05.963 892 1226 I ActivityManager: Start proc 4441:com.android.documentsui/u0a11 for activity com.android.documentsui/.LauncherActivity
08-20 22:24:05.965 892 929 W BroadcastQueue: Permission Denial: receiving Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$GmsExternalReceiver requires com.androi
d.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS due to sender com.cyanogenmod.trebuchet (uid 10028)
08-20 22:24:06.064 4441 4441 I art : Starting a blocking GC AddRemoveAppImageSpace
08-20 22:24:06.066 4441 4441 W System : ClassLoader referenced unknown path: /system/priv-app/DocumentsUI/lib/arm
08-20 22:24:06.214 892 911 I ActivityManager: Start proc 4472:com.android.externalstorage/u0a12 for content provider com.android.externalstorage/.ExternalStorageProvider
08-20 22:24:06.222 892 1074 I ActivityManager: START u0 {dat=//com.android.documentsui.launchControl flg=0x10280000 cmp=com.android.documentsui/.FilesActivity} from uid 10011 on display 0
08-20 22:24:06.279 4472 4472 I art : Starting a blocking GC AddRemoveAppImageSpace
08-20 22:24:06.280 4472 4472 W System : ClassLoader referenced unknown path: /system/priv-app/ExternalStorageProvider/lib/arm
08-20 22:24:06.331 4472 4472 D ExternalStorage: After updating volumes, found 0 active roots
08-20 22:24:06.358 892 911 I ActivityManager: Start proc 4490:com.android.mtp/u0a10 for content provider com.android.mtp/.MtpDocumentsProvider
08-20 22:24:06.432 4490 4490 I art : Starting a blocking GC AddRemoveAppImageSpace
08-20 22:24:06.514 892 1074 D VoldConnector: SND -> {9 appfuse mount 10010 4490 MtpDocumentsProvider}
08-20 22:24:06.528 892 979 D VoldConnector: RCV <- {200 9 AppFuse command succeeded}
08-20 22:24:06.633 4441 4441 W RestoreRootTask: Failed to find root: content://com.android.externalstorage.documents/root/home
08-20 22:24:06.679 4441 4511 I Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: 10/09/15, 6cbbf7d, I3193f6e94a
08-20 22:24:06.685 4441 4511 I OpenGLRenderer: Initialized EGL, version 1.4
08-20 22:24:06.685 4441 4511 D OpenGLRenderer: Swap behavior 1
08-20 22:24:06.690 892 1074 I WindowManager: Failed to capture screenshot of Token{e3bfe3f ActivityRecord{a0dca5e u0 com.android.documentsui/.FilesActivity t14 f}} appWin=Window{7ef870e u0 com.android.documentsui/com.android.documentsui.FilesActivi
ty} drawState=1
08-20 22:24:06.766 892 1873 W InputMethodManagerService: Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
The solution was to format /data with ext4 instead of f2fs:
connect with adb while in TRWP, get the device name for /data, umount it, format with ext4, mount it again
Code:
df -h
umount /data
make_ext4fs /dev/block/mmcblk0p36
mount /data/
Then reboot

s905x tv boxes problems with different launchers

I have a tv box with s905x running android 7.1.2. When i try to use different launcher than default (droidlogic mbox launcher), it force close it.
I searce the android log and i found that the error is probably with wallpaper manager. I have found that many people with tv boxes have the same problem.
Also if i try to put a wallpaper with an wallpaper app it crashes too.
The error is that WallpaperService not running.
How can i solve that?
Code:
9-05 20:22:06.328 4371 5498 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x13200000 cmp=net.pierrox.lightning_launcher_extreme/net.pierrox.lightning_launcher.activities.Dashboard (has extras)} from uid 1000 on display 0
09-05 20:22:06.400 4371 4526 I ActivityManager: Start proc 11428:net.pierrox.lightning_launcher_extreme/u0a50 for activity net.pierrox.lightning_launcher_extreme/net.pierrox.lightning_launcher.activities.Dashboard
09-05 20:22:06.512 4371 8711 W Binder : Binder call failed.
09-05 20:22:06.512 4371 8711 W Binder : java.lang.SecurityException: Neither user 1041 nor current process has android.permission.WAKE_LOCK.
09-05 20:22:06.512 4371 8711 W Binder : at android.app.ContextImpl.enforce(ContextImpl.java:1585)
09-05 20:22:06.512 4371 8711 W Binder : at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1617)
09-05 20:22:06.512 4371 8711 W Binder : at com.android.server.power.PowerManagerService$BinderService.updateWakeLockWorkSource(PowerManagerService.java:3453)
09-05 20:22:06.512 4371 8711 W Binder : at com.android.server.power.PowerManagerService$BinderService.updateWakeLockUids(PowerManagerService.java:3444)
09-05 20:22:06.512 4371 8711 W Binder : at android.os.IPowerManager$Stub.onTransact(IPowerManager.java:105)
09-05 20:22:06.512 4371 8711 W Binder : at android.os.Binder.execTransact(Binder.java:565)
09-05 20:22:06.514 4371 4642 I WindowManager: mLongPressOnHomeBehavior = 0
09-05 20:22:06.585 11428 11428 I art : Starting a blocking GC AddRemoveAppImageSpace
09-05 20:22:06.586 4371 4380 I art : Background partial concurrent mark sweep GC freed 13995(815KB) AllocSpace objects, 0(0B) LOS objects, 33% free, 8MB/13MB, paused 2.095ms total 126.137ms
09-05 20:22:06.586 11428 11428 W System : ClassLoader referenced unknown path: /system/lib/LightningLauncher
09-05 20:22:06.742 11428 11444 E ActivityThread: Failed to find provider info for net.pierrox.lightning_launcher.lwp_key
09-05 20:22:06.880 11428 11428 I auncher_extreme: type=1400 audit(0.0:297): avc: denied { read write } for name="gsm" dev="tmpfs" ino=10303 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:gsm_device:s0 tclass=chr_file permissive=1
09-05 20:22:06.880 11428 11428 I auncher_extreme: type=1400 audit(0.0:298): avc: denied { open } for path="/dev/gsm" dev="tmpfs" ino=10303 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:gsm_device:s0 tclass=chr_file permissive=1
09-05 20:22:07.368 11428 11428 W WallpaperManager: WallpaperService not running
09-05 20:22:07.369 11428 11428 E AndroidRuntime: FATAL EXCEPTION: main
09-05 20:22:07.369 11428 11428 E AndroidRuntime: Process: net.pierrox.lightning_launcher_extreme, PID: 11428
09-05 20:22:07.369 11428 11428 E AndroidRuntime: DeadSystemException: The system died; earlier logs will point to the root cause
09-05 20:22:07.373 4371 4920 W ActivityManager: Force finishing activity net.pierrox.lightning_launcher_extreme/net.pierrox.lightning_launcher.activities.Dashboard
I started android 8.1 treble and l also have a problem with droidlogic .

I want to fix my MEIZU 16th bug of Google Camera BY BSG VERSION

I don't understand SMALI, but I want to fix it . @cstark27
When HDR + is enabled,shot + HDR + and night sight mode cannot work.
It must be zoomin little before it can be work.
log:
12-14 11:07:29.546 E/CAM_PictureTakerImpl(25746): at ejc.a(Unknown Source:427)
12-14 11:07:29.546 E/CAM_PictureTakerImpl(25746): at ein.a(Unknown Source:20)
12-14 11:07:29.546 E/CAM_PictureTakerImpl(25746): at ehf.a(Unknown Source:34)
12-14 11:07:29.546 E/CAM_PictureTakerImpl(25746): at ela.a(Unknown Source:7)
12-14 11:07:29.546 E/CAM_PictureTakerImpl(25746): at gow.a(Unknown Source:26)
12-14 11:07:29.546 E/CAM_PictureTakerImpl(25746): at fyo.run(Unknown Source:42)
12-14 11:07:29.546 E/CAM_PictureTakerImpl(25746): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:457)
12-14 11:07:29.546 E/CAM_PictureTakerImpl(25746): at nek.a(Unknown Source:2)
12-14 11:07:29.546 E/CAM_PictureTakerImpl(25746): at ndn.run(Unknown Source:19)
12-14 11:07:29.546 E/CAM_PictureTakerImpl(25746): at nei.run(Unknown Source:4)
12-14 11:07:29.546 E/CAM_PictureTakerImpl(25746): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
12-14 11:07:29.546 E/CAM_PictureTakerImpl(25746): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
12-14 11:07:29.546 E/CAM_PictureTakerImpl(25746): at java.lang.Thread.run(Thread.java:764)
12-14 11:07:29.546 E/CAM_PictureTakerImpl(25746): at kcd.run(Unknown Source:5)
12-14 11:07:29.547 I/CAM_PhotoCaptureSession(25746): [88096ed|IMG_20181214_110729] cancel
12-14 11:07:29.548 W/CAM_UsageStats(25746): onCaptureCanceled-API2_HDR_PLUS
12-14 11:07:29.555 I/CAM_PhotoCaptureSession(25746): [88096ed|IMG_20181214_110729] finalizeSession
12-14 11:07:29.558 I/LedTest (1407): ledNotification = null, mInCall = false, mScreenOn = true
12-14 11:07:29.561 W/lucky.wechatPersenter(2664): onNotificationRemoved, packageName = com.google.android.GoogleCamera
12-14 11:07:29.575 I/CAM_ProcessingService(25746): ProcessingService#onDestroy
12-14 11:07:29.576 I/CAM_ProcessingSvcMgr(25746): Service destroyed, restarting? No
12-14 11:07:29.578 I/CAM_PhotoCaptureSession(25746): [88096ed|IMG_20181214_110729] rows deleted successfully : true
12-14 11:07:29.580 E/CHIUSECASE(24680): chxutils.cpp:1133 FillCameraId() FillCameraId 0
12-14 11:07:29.802 I/chatty (24680): uid=1047(cameraserver) HwBinder:24680_ identical 7 lines
12-14 11:07:29.834 E/CHIUSECASE(24680): chxutils.cpp:1133 FillCameraId() FillCameraId 0
12-14 11:07:29.867 I/TestTileService(1844): TileTest_onStopListening
12-14 11:07:29.869 E/CHIUSECASE(24680): chxutils.cpp:1133 FillCameraId() FillCameraId 0
12-14 11:07:30.201 I/chatty (24680): uid=1047(cameraserver) HwBinder:24680_ identical 10 lines
12-14 11:07:30.242 E/CHIUSECASE(24680): chxutils.cpp:1133 FillCameraId() FillCameraId 0
12-14 11:07:30.272 E/CHIUSECASE(24680): chxutils.cpp:1133 FillCameraId() FillCameraId 0
12-14 11:07:30.406 I/chatty (24680): uid=1047(cameraserver) [email protected] identical 4 lines
12-14 11:07:30.439 E/CHIUSECASE(24680): chxutils.cpp:1133 FillCameraId() FillCameraId 0
12-14 11:07:30.457 W/SceneService:SceneBoostStrategy(1407): Please check executeBoost params!!!
12-14 11:07:30.457 I/RecentGestureListener(1407): hasNavigationBarInner is true, pw.isKeyguardLocked() is false, isUserSetupComplete is true
12-14 11:07:30.457 I/RecentGestureListener(1407): isInRecentPanelModeArea state=0,isInNavigationBarArea=false mActionNotpassToUser true mGestureState IDLE
12-14 11:07:30.472 E/CHIUSECASE(24680): chxutils.cpp:1133 FillCameraId() FillCameraId 0
12-14 11:07:30.571 I/chatty (24680): uid=1047(cameraserver) [email protected] identical 3 lines
12-14 11:07:30.607 E/CHIUSECASE(24680): chxutils.cpp:1133 FillCameraId() FillCameraId 0
12-14 11:07:30.628 I/CAM_CaptureModule(25746): takePictureNow invoked
12-14 11:07:30.627 W/id.GoogleCamera(25746): type=1400 audit(0.0:12509987): avc: denied { read } for name="ubject_r:camera_prop:s0" dev="tmpfs" ino=19524 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_r:camera_prop:s0 tclass=file permissive=0
12-14 11:07:30.638 E/libc (25746): Access denied finding property "camera.raw_mode"
12-14 11:07:30.639 E/libc (25746): Access denied finding property "persist.camera.raw_mode"
12-14 11:07:30.640 I/CAM_PhotoCaptureSession(25746): [6adc2fa|IMG_20181214_110730] startEmpty
12-14 11:07:30.640 I/CAM_ProcessingSvcMgr(25746): Starting service (was DESTROYED)
12-14 11:07:30.642 W/InterceptionReason(1407): reason:6)finally, intercept as usual, interception = false details<<runType:retrieve_service isFgAction:true callerPkg:com.google.android.GoogleCamera calleePkg:com.google.android.GoogleCamera processName:com.google.android.GoogleCamera Intent { cmp=com.google.android.GoogleCamera/com.google.android.apps.camera.processing.ProcessingService }>>
12-14 11:07:30.642 E/CHIUSECASE(24680): chxutils.cpp:1133 FillCameraId() FillCameraId 0
12-14 11:07:30.646 I/CAM_UsageStats(25746): onCaptureStarted-API2_HDR_PLUS
12-14 11:07:30.652 E/libc (25746): Access denied finding property "camera.enable_vesper"
12-14 11:07:30.652 E/libc (25746): Access denied finding property "persist.camera.enable_vesper"
12-14 11:07:30.652 E/libc (25746): Access denied finding property "camera.enable_vesper"
12-14 11:07:30.637 W/CameraEx-3(25746): type=1400 audit(0.0:12509989): avc: denied { read } for name="ubject_r:camera_prop:s0" dev="tmpfs" ino=19524 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_r:camera_prop:s0 tclass=file permissive=0
12-14 11:07:30.652 E/libc (25746): Access denied finding property "persist.camera.enable_vesper"
12-14 11:07:30.653 E/libc (25746): Access denied finding property "camera.enable_mvesper"
12-14 11:07:30.653 E/libc (25746): Access denied finding property "persist.camera.enable_mvesper"
12-14 11:07:30.653 E/libc (25746): Access denied finding property "camera.mts_4k"
12-14 11:07:30.653 E/libc (25746): Access denied finding property "persist.camera.mts_4k"
12-14 11:07:30.637 W/CameraEx-3(25746): type=1400 audit(0.0:12509990): avc: denied { read } for name="ubject_r:camera_prop:s0" dev="tmpfs" ino=19524 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_r:camera_prop:s0 tclass=file permissive=0
12-14 11:07:30.655 I/CAM_HdrPImgCapCmd(25746): Executing HdrPlus capture command.
12-14 11:07:30.661 I/CAM_ProcessingService(25746): ProcessingService#onCreate
12-14 11:07:30.663 I/MediaProvider(26160): need to remove image thumbnail for id 38964
12-14 11:07:30.665 I/CAM_ProcessingService(25746): ProcessingService#onStartCommand
12-14 11:07:30.673 E/CHIUSECASE(24680): chxutils.cpp:1133 FillCameraId() FillCameraId 0
12-14 11:07:30.674 I/AppOpsManager(1407): checkPackage packageName equals OpPackageName, packageName = android, calling uid = 1000, my uid = 1000
12-14 11:07:30.675 I/AppOpsManager(1407): checkPackage packageName equals OpPackageName, packageName = android, calling uid = 1000, my uid = 1000
12-14 11:07:30.694 I/CAM_ProcessingMedia(25746): onSessionQueued: MediaStoreId=38964
12-14 11:07:30.701 E/CHIUSECASE(24680): chxutils.cpp:1133 FillCameraId() FillCameraId 0
12-14 11:07:30.718 I/NotificationGroupManage(1844): notification group and summary is empty, ignored
12-14 11:07:30.732 E/CHIUSECASE(24680): chxutils.cpp:1133 FillCameraId() FillCameraId 0
12-14 11:07:30.768 E/CHIUSECASE(24680): chxutils.cpp:1133 FillCameraId() FillCameraId 0
12-14 11:07:30.802 E/CHIUSECASE(24680): chxutils.cpp:1133 FillCameraId() FillCameraId 0
12-14 11:07:30.873 I/chatty (24680): uid=1047(cameraserver) HwBinder:24680_ identical 2 lines
12-14 11:07:30.904 E/CHIUSECASE(24680): chxutils.cpp:1133 FillCameraId() FillCameraId 0
12-14 11:07:30.936 E/CHIUSECASE(24680): chxutils.cpp:1133 FillCameraId() FillCameraId 0
12-14 11:07:30.971 E/CHIUSECASE(24680): chxutils.cpp:1133 FillCameraId() FillCameraId 0
12-14 11:07:30.987 E/libgcam (25746): [validate.cc:14]: CheckRangeFloat: Float parameter NormalizedRect::x1 (1.005456) must be in [0.000000..1.000000] range.
12-14 11:07:30.987 E/libgcam (25746): [validate.cc:14]: CheckRangeFloat: Float parameter NormalizedRect::y1 (1.005291) must be in [0.000000..1.000000] range.
12-14 11:07:30.987 E/libgcam (25746): [shot_params.cc:645]: Check: ShotParams::ae.crop is invalid.
12-14 11:07:30.987 E/libgcam (25746): [gcam.cc:399]: StartShotCapture: Invalid ShotParams.
12-14 11:07:31.005 E/CHIUSECASE(24680): chxutils.cpp:1133 FillCameraId() FillCameraId 0
12-14 11:07:31.006 E/CAM_PictureTakerImpl(25746): PictureTaker command failed: [email protected][status=SUCCESS, result=[[email protected]]]
12-14 11:07:31.006 E/CAM_PictureTakerImpl(25746): kna: HDR+ shot didn't succeed
Click to expand...
Click to collapse
build.board: 16th
build.bootloader: unknown
build.brand: Meizu
build.cpu_abi: arm64-v8a
build.cpu_abi2:
build.device: 16th
build.display: Flyme 7.1.1.3A
build.fingerprint: Meizu/meizu_16th_CN/16th:8.1.0/OPM1.171019.026/1539591513:user/release-keys
build.hardware: qcom
build.host: Mz-Builder-L23
build.id: OPM1.171019.026
build.manufacturer: Meizu
build.model: 16th
build.product: meizu_16th_CN
build.radio: unknown
build.serial:
build.tags: release-keys
build.time: 1541449092000
build.type: user
build.user: flyme
version.codename: REL
version.incremental: 1539591513
version.release: 8.1.0
version.sdk_int: 27
Click to expand...
Click to collapse

Categories

Resources