Bootloop fail - poss hardware or software radios? - Nexus 4 Q&A, Help & Troubleshooting

Hi All,
Any experts on the initial boot stages (radio, I think of android).
Quick back story:
1) Found that on 28 Dec 2015 Nexus 4 dead overnight. Turned on got stuck in a boot loop I (and it's stock 5.1.1. LMY48T) found that it was hanging on first boot coloured dots or 'starting apps' after optimising apps. Prior to this it had been turning off randomly, unresponive with flashing notification light, loosing network when low on battery, asking for SIM pin. It came back on once a few days later, then same issue.
2) After trying many things (and failing as it's locked, unrooted and doing anything would wipe user data) - I managed to get logcat going and see what was going on - it seemed to hang due to audio issues.
3) Recently opened it up, checked all connections and added a new battery (just in case) - no change
3) Recently I got into the shell and pulled and then delete the DCIM folder to free up some internal space (it was very full). Then re-sidedloaded the OTA LMY48M > LMY48T (clearing caches).
3) After a few restarts it came back, but then after restarting after a successful boot back to square one - so this ruled out full storage as being the culprit.
4)Tried deleting caches again and after a few restarts it has just come back (now doing a full adb backup).
Looking through adbcat I'm now more convinced it's a hardware and/or software issue over the radios - as on a successful boot some kickstart stuff works out well (essentially completing the Sahara protocol for some ESF / MDM9K). On an unsuccessful boot something fails and keeps trying, rearing it's head further up the tree as audio policy issues.
I know in 4.3.3 and in 5.x of Android Nexus4 were having radio issues - so undecided if this is a software or hardware issue (or both).
SUCESSFULL BOOT:
Code:
- waiting for device -
--------- beginning of main
E/rmt_storage( 0): Remote storage service is not supported on mdm target
W/auditd ( 165): type=2000 audit(0.0:1): initialized
I/auditd ( 165): type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
W/auditd ( 165): type=1404 audit(0.0:3): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295
I/kickstart-qcks( 172): PARAMETER VALUES
I/kickstart-qcks( 172): COMPORT_DLOAD=/dev/ttyHSL1
I/kickstart-qcks( 172): COMPORT_SAHARA=/dev/ks_hsic_bridge
I/kickstart-qcks( 172): PATHTOIMAGES=/firmware/image/
I/kickstart-qcks( 172): PATHFORRAMDUMP=/data/tombstones/mdm/
I/kickstart-qcks( 172): EFSRAW1=/dev/block/platform/msm_sdcc.1/by-name/m9kefs1
I/kickstart-qcks( 172): EFSRAW2=/dev/block/platform/msm_sdcc.1/by-name/m9kefs2
I/kickstart-qcks( 172): EFSRAW3=/dev/block/platform/msm_sdcc.1/by-name/m9kefs3
I/kickstart-qcks( 172): Header1=efs1.mbn
I/kickstart-qcks( 172): Header2=efs2.mbn
I/kickstart-qcks( 172): Header3=efs3.mbn
I/kickstart-qcks( 172): Testing if port "/dev/mdm" exists
I/kickstart-qcks( 172): Trying to bring MDM9K out of reset
I/lowmemorykiller( 167): Using in-kernel low memory killer interface
D/QSEECOMD: ( 173): qseecom listener services process entry PPID = 1
D/QSEECOMD: ( 173): Parent qseecom daemon process paused!!
D/QSEECOMD: ( 187): QSEECOM DAEMON RUNNING
D/QSEECOMD: ( 187): qseecom listener service threads starting!!!
D/QSEECOMD: ( 187): Total listener services to start = 2
D/QSEECOMD: ( 187): Init dlopen(libdrmtime.so, RTLD_NOW) succeeds
D/QSEECOMD: ( 187): Init::Init dlsym(g_FSHandle atime_start) succeeds
D/QSEECOMAPI: ( 187): QSEECom_register_listener 11 sb_length = 0x5000
D/QSEECOMD: ( 187): Init atime_start ret = 0
D/QSEECOMD: ( 187): time services: Started
D/QSEECOMD: ( 187): Init dlopen(libdrmfs.so, RTLD_NOW) succeeds
D/QSEECOMD: ( 187): Init::Init dlsym(g_FSHandle fs_start) succeeds
D/QSEECOMAPI: ( 187): QSEECom_register_listener 10 sb_length = 0x5000
D/QSEECOMD: ( 187): Init fs_start ret = 0
D/QSEECOMD: ( 187): file system services: Started
--------- beginning of system
I/Vold ( 169): Vold 2.1 (the revenge) firing up
I/SurfaceFlinger( 170): SurfaceFlinger is starting
I/SurfaceFlinger( 170): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 170): loaded /vendor/lib/egl/libEGL_adreno.so
D/libEGL ( 170): loaded /vendor/lib/egl/libGLESv1_CM_adreno.so
D/libEGL ( 170): loaded /vendor/lib/egl/libGLESv2_adreno.so
I/Adreno-EGL( 170): <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: 01/15/15, ab0075f, Id3510ff6dc
I/qdgralloc( 170): using (fd=13)
I/qdgralloc( 170): id = msmfb44_80601
I/qdgralloc( 170): xres = 768 px
I/qdgralloc( 170): yres = 1280 px
I/qdgralloc( 170): xres_virtual = 768 px
I/qdgralloc( 170): yres_virtual = 3840 px
I/qdgralloc( 170): bpp = 32
I/qdgralloc( 170): r = 24:8
I/qdgralloc( 170): g = 16:8
I/qdgralloc( 170): b = 8:8
I/qdgralloc( 170): width = 61 mm (319.790161 dpi)
I/qdgralloc( 170): height = 102 mm (318.745087 dpi)
I/qdgralloc( 170): refresh rate = 60.00 Hz
D/qdutils ( 170): DEBUG_CALC_FPS: 0
D/qdutils ( 170): period: 10
D/qdutils ( 170): ignorethresh_us: 500000
D/qdutils ( 170): DEBUG_CALC_FPS: 0
D/qdutils ( 170): period: 10
D/qdutils ( 170): ignorethresh_us: 500000
D/qdoverlay( 170): initoverlay:: opening the device:: /dev/graphics/fb0
D/qdoverlay( 170): initoverlay:: opening the device:: /dev/graphics/fb1
D/qdoverlay( 170): initoverlay:: opening the device:: /dev/graphics/fb2
D/qdoverlay( 170): initoverlay:: opening the device:: /dev/graphics/fb0
D/qdoverlay( 170): initoverlay:: opening the device:: /dev/graphics/fb1
D/qdoverlay( 170): initoverlay:: opening the device:: /dev/graphics/fb2
I/qdhwcomposer( 170): Initializing Qualcomm Hardware Composer
I/qdhwcomposer( 170): MDP version: 440
D/qdhwcomposer( 170): connectPPDaemon: CABL is disabled
I/SurfaceFlinger( 170): Using composer version 1.2
I/qdhwcomposer( 170): hwc_registerProcs
I/qdhwcomposer( 170): Initializing UEVENT Thread
I/qdhwcomposer( 170): Initializing VSYNC Thread
D/qdhwcomposer( 170): hwc_getDisplayAttributes disp = 0, width = 768
D/qdhwcomposer( 170): hwc_getDisplayAttributes disp = 0, height = 1280
I/SurfaceFlinger( 170): EGL information:
I/SurfaceFlinger( 170): vendor : Android
I/SurfaceFlinger( 170): version : 1.4 Android META-EGL
I/SurfaceFlinger( 170): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_lock_surface EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_KHR_create_context EGL_EXT_create_context_robustness EGL_ANDROID_image_native_buffer EGL_KHR_wait_sync EGL_ANDROID_recordable
I/SurfaceFlinger( 170): Client API: OpenGL_ES
I/SurfaceFlinger( 170): EGLSurface: 8-8-8-8, config=0x5
I/SurfaceFlinger( 170): OpenGL ES informations:
I/SurfaceFlinger( 170): vendor : Qualcomm
I/SurfaceFlinger( 170): renderer : Adreno (TM) 320
I/SurfaceFlinger( 170): version : OpenGL ES 3.0 [email protected] [email protected] ([email protected])
I/SurfaceFlinger( 170): extensions: GL_AMD_compressed_ATC_texture GL_AMD_performance_monitor GL_AMD_program_binary_Z400 GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_robustness GL_EXT_texture_format_BGRA8888 GL_EXT_texture_type_2_10_10_10_REV GL_NV_fence GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_depth24 GL_OES_EGL_image GL_OES_EGL_sync GL_OES_EGL_image_external GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_fragment_precision_high GL_OES_get_program_binary GL_OES_packed_depth_stencil GL_OES_depth_texture_cube_map GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_vertex_type_10_10_10_2 GL_OES_vertex_array_object GL_QCOM_alpha_test GL_QCOM_binning_control GL_QCOM_driver_control GL_QCOM_perfmon_global_mode GL_QCOM_extended_get GL_QCOM_extended_get2 GL_QCOM_tiled_rendering GL_QCOM_writeonly_rendering GL_EXT_sRGB GL_EXT_sRGB_write_con
I/SurfaceFlinger( 170): GL_MAX_TEXTURE_SIZE = 4096
I/SurfaceFlinger( 170): GL_MAX_VIEWPORT_DIMS = 4096
D/SurfaceFlinger( 170): Set power mode=2, type=0 flinger=0xb8e40550
D/VoldCmdListener( 169): cryptfs mountdefaultencrypted
D/Cryptfs ( 169): crypt_ftr->fs_size = 27596800
I/Cryptfs ( 169): Using scrypt with keymaster for cryptfs KDF
D/SurfaceFlinger( 170): shader cache generated - 24 shaders in 658.543518 ms
D/libEGL ( 206): loaded /vendor/lib/egl/libEGL_adreno.so
D/libEGL ( 206): loaded /vendor/lib/egl/libGLESv1_CM_adreno.so
D/libEGL ( 206): loaded /vendor/lib/egl/libGLESv2_adreno.so
I/Adreno-EGL( 206): <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: 01/15/15, ab0075f, Id3510ff6dc
E/BootAnimation( 206): couldn't find audio_conf.txt
I/kickstart-qcks( 172): EFS Prepend
I/kickstart-qcks( 172): File:'/firmware/image/efs1.mbn' is available for reading
I/kickstart-qcks( 172): File:'/firmware/image/efs2.mbn' is available for reading
I/kickstart-qcks( 172): File:'/dev/block/platform/msm_sdcc.1/by-name/m9kefs1' is available for reading
I/kickstart-qcks( 172): File:'/dev/block/platform/msm_sdcc.1/by-name/m9kefs2' is available for reading
I/kickstart-qcks( 172): File:'/firmware/image/acdb.mbn' is available for reading
I/kickstart-qcks( 172): File:'/firmware/image/mdm_acdb.img' is available for reading
I/kickstart-qcks( 172): Reading RAW EFS1 partition
I/kickstart-qcks( 172): Running dd if=/dev/block/platform/msm_sdcc.1/by-name/m9kefs1 of=/data/qcks/temp.dump bs=1024 count=3072
I/kickstart-qcks( 172): Combining Header1 with RAW EFS1 partition
I/kickstart-qcks( 172): Running cat /firmware/image/efs1.mbn /data/qcks/temp.dump > /data/qcks/efs1.bin
I/kickstart-qcks( 172): Reading RAW EFS2 partition
I/kickstart-qcks( 172): Running dd if=/dev/block/platform/msm_sdcc.1/by-name/m9kefs2 of=/data/qcks/temp.dump bs=1024 count=3072
I/kickstart-qcks( 172): Combining Header2 with RAW EFS2 partition
I/kickstart-qcks( 172): Running cat /firmware/image/efs2.mbn /data/qcks/temp.dump > /data/qcks/efs2.bin
I/kickstart-qcks( 172): Reading RAW EFS3 partition
I/kickstart-qcks( 172): Running dd if=/dev/block/platform/msm_sdcc.1/by-name/m9kefs3 of=/data/qcks/temp.dump bs=1024 count=3072
I/kickstart-qcks( 172): Combining Header3 with RAW EFS3 partition
I/kickstart-qcks( 172): Running cat /firmware/image/efs3.mbn /data/qcks/temp.dump > /data/qcks/efs3.bin
I/kickstart-qcks( 172): Combining ACDB Header with ACDB binary
I/kickstart-qcks( 172): Running cat /firmware/image/acdb.mbn /firmware/image/mdm_acdb.img > /data/qcks/acdb.bin
I/kickstart-qcks( 172): Loading Sahara images
I/kickstart-qcks( 172): Testing if port "/dev/ks_hsic_bridge" exists
E/kickstart-qcks( 172): RUNNING: /system/bin/ks -w /data/tombstones/mdm/ -p /dev/ks_hsic_bridge -r 21 -s 2:/firmware/image/amss.mbn -s 6:/firmware/image/apps.mbn -s 8:/firmware/image/dsp1.mbn -s 11:/firmware/image/osbl.mbn -s 12:/firmware/image/dsp2.mbn -s 21:/firmware/image/sbl1.mbn -s 22:/firmware/image/sbl2.mbn -s 23:/firmware/image/rpm.mbn -s 28:/firmware/image/dsp3.mbn -s 16:/data/qcks/efs1.bin -s 17:/data/qcks/efs2.bin -s 20:/data/qcks/efs3.bin -s 29:/data/qcks/acdb.bin
E/kickstart( 224): Wrote to /sys/power/wake_lock
E/kickstart( 224): Requested ID 21, file "/firmware/image/sbl1.mbn"
E/kickstart( 224): 117700 bytes transferred in 0.124s (0.91 MBps)
E/kickstart( 224): Wrote to /sys/power/wake_unlock
E/kickstart( 224): Wrote to /sys/power/wake_lock
E/kickstart( 224): Requested ID 23, file "/firmware/image/rpm.mbn"
E/kickstart( 224): 105696 bytes transferred in 0.024s (4.24 MBps)
E/kickstart( 224): Wrote to /sys/power/wake_unlock
E/kickstart( 224): Wrote to /sys/power/wake_lock
E/kickstart( 224): Requested ID 22, file "/firmware/image/sbl2.mbn"
E/kickstart( 224): 242376 bytes transferred in 0.032s (7.27 MBps)
E/kickstart( 224): Wrote to /sys/power/wake_unlock
E/kickstart( 224): Wrote to /sys/power/wake_lock
E/kickstart( 224): Requested ID 12, file "/firmware/image/dsp2.mbn"
D/QSEECOMAPI: ( 169): QSEECom_start_app sb_length = 0x2000
D/QSEECOMAPI: ( 169): App is not loaded in QSEE
D/QSEECOMAPI: ( 169): Loaded image: APP id = 1
I/Cryptfs ( 169): Signing safely-padded object
D/QSEECOMAPI: ( 169): QSEECom_shutdown_app
D/QSEECOMAPI: ( 169): QSEECom_shutdown_app, app_id = 1
I/Cryptfs ( 169): Enabling support for allow_discards in dmcrypt.
E/kickstart( 224): 32137174 bytes transferred in 2.900s (10.57 MBps)
E/kickstart( 224): Wrote to /sys/power/wake_unlock
E/kickstart( 224): Wrote to /sys/power/wake_lock
E/kickstart( 224): Requested ID 28, file "/firmware/image/dsp3.mbn"
E/kickstart( 224): 6334186 bytes transferred in 0.568s (10.64 MBps)
E/kickstart( 224): Wrote to /sys/power/wake_unlock
E/kickstart( 224): Wrote to /sys/power/wake_lock
E/kickstart( 224): Requested ID 8, file "/firmware/image/dsp1.mbn"
E/kickstart( 224): 2688527 bytes transferred in 0.276s (9.30 MBps)
E/kickstart( 224): Wrote to /sys/power/wake_unlock
E/kickstart( 224): Wrote to /sys/power/wake_lock
E/kickstart( 224): Requested ID 16, file "/data/qcks/efs1.bin"
E/kickstart( 224): 786472 bytes transferred in 0.064s (11.76 MBps)
E/kickstart( 224): Wrote to /sys/power/wake_unlock
E/kickstart( 224): Wrote to /sys/power/wake_lock
E/kickstart( 224): Requested ID 17, file "/data/qcks/efs2.bin"
E/kickstart( 224): 786472 bytes transferred in 0.064s (11.76 MBps)
E/kickstart( 224): Wrote to /sys/power/wake_unlock
E/kickstart( 224): Wrote to /sys/power/wake_lock
E/kickstart( 224): Requested ID 20, file "/data/qcks/efs3.bin"
E/kickstart( 224): 786472 bytes transferred in 0.064s (11.76 MBps)
E/kickstart( 224): Wrote to /sys/power/wake_unlock
E/kickstart( 224): Wrote to /sys/power/wake_lock
E/kickstart( 224): Requested ID 29, file "/data/qcks/acdb.bin"
E/kickstart( 224): 2097192 bytes transferred in 0.160s (12.52 MBps)
E/kickstart( 224): Wrote to /sys/power/wake_unlock
E/kickstart( 224): Wrote to /sys/power/wake_lock
E/kickstart( 224): Requested ID 6, file "/firmware/image/apps.mbn"
E/kickstart( 224): 2630368 bytes transferred in 0.272s (9.23 MBps)
E/kickstart( 224): Wrote to /sys/power/wake_unlock
E/kickstart( 224): Sahara protocol completed
UNSUCESSFUL
Where it hangs either at first boot animations or at 'starting apps':
Code:
I/SystemServer( 585): Location Manager
I/SystemServer( 585): Country Detector
I/SystemServer( 585): Search Service
I/SystemServer( 585): DropBox Service
I/SystemServer( 585): Wallpaper Service
I/SystemServer( 585): Audio Service
I/ServiceManager( 585): Waiting for service media.audio_policy...
W/TelecomManager( 585): Telecom Service not found.
I/ServiceManager( 585): Waiting for service media.audio_policy...
I/ServiceManager( 585): Waiting for service media.audio_policy...
I/ServiceManager( 585): Waiting for service media.audio_policy...
I/ServiceManager( 585): Waiting for service media.audio_policy...
W/AudioSystem( 585): AudioPolicyService not published, waiting...
Where the errors are in very early boot:
Code:
E/kickstart( 583): Requested ID 16, file "/data/qcks/efs1.bin"
E/kickstart( 583): ERROR: function: start_image_transfer:932 Invalid length 40 bytes request to be transmitted
E/kickstart( 583): ERROR: function: start_sahara_based_transfer:279 start_image_transfer failed
E/kickstart( 583): ERROR: function: main:305 Uploading Image using Sahara protocol failed
E/kickstart( 583): Wrote to /sys/power/wake_unlock
I/kickstart-qcks( 172): RetCode = 256
E/kickstart-qcks( 172): ERROR: ks return code was 256, something failed
I/kickstart-qcks( 172): Trying to bring MDM9K out of reset
I/kickstart-qcks( 172): Loading Sahara images
I/kickstart-qcks( 172): Testing if port "/dev/ks_hsic_bridge" exists
E/kickstart-qcks( 172): RUNNING: /system/bin/ks -w /data/tombstones/mdm/ -p /dev/ks_hsic_bridge -r 21 -s 2:/firmware/image/amss.mbn -s 6:/firmware/image/apps.mbn -s 8:/firmware/image/dsp1.mbn -s 11:/firmware/image/osbl.mbn -s 12:/firmware/image/dsp2.mbn -s 21:/firmware/image/sbl1.mbn -s 22:/firmware/image/sbl2.mbn -s 23:/firmware/image/rpm.mbn -s 28:/firmware/image/dsp3.mbn -s 16:/data/qcks/efs1.bin -s 17:/data/qcks/efs2.bin -s 20:/data/qcks/efs3.bin -s 29:/data/qcks/acdb.bin
E/kickstart( 596): Wrote to /sys/power/wake_lock
E/kickstart( 596): Requested ID 21, file "/firmware/image/sbl1.mbn"
E/kickstart( 596): 117700 bytes transferred in 0.124s (0.91 MBps)
E/kickstart( 596): Wrote to /sys/power/wake_unlock
E/kickstart( 596): Wrote to /sys/power/wake_lock
E/kickstart( 596): Requested ID 23, file "/firmware/image/rpm.mbn"
E/kickstart( 596): 105696 bytes transferred in 0.016s (6.33 MBps)
E/kickstart( 596): Wrote to /sys/power/wake_unlock
E/kickstart( 596): Wrote to /sys/power/wake_lock
E/kickstart( 596): Requested ID 22, file "/firmware/image/sbl2.mbn"
E/kickstart( 596): 242376 bytes transferred in 0.024s (9.66 MBps)
E/kickstart( 596): Wrote to /sys/power/wake_unlock
E/kickstart( 596): Wrote to /sys/power/wake_lock
E/kickstart( 596): Requested ID 12, file "/firmware/image/dsp2.mbn"
E/kickstart( 596): 32137174 bytes transferred in 2.288s (13.39 MBps)
E/kickstart( 596): Wrote to /sys/power/wake_unlock
E/kickstart( 596): Wrote to /sys/power/wake_lock
E/kickstart( 596): Requested ID 28, file "/firmware/image/dsp3.mbn"
D/ACDB-LOADER( 247): send tabla anc data
D/ACDB-LOADER( 247): ACDB -> ACDB_CMD_GET_ANC_SETTING
D/ACDB-LOADER( 247): done with conversion, anc config size is 148
D/ACDB-LOADER( 247): ACDB -> ACDB_CMD_GET_ANC_SETTING
D/ACDB-LOADER( 247): done with conversion, anc config size is 148
D/ACDB-LOADER( 247): ACDB -> ACDB_CMD_GET_ANC_SETTING
D/ACDB-LOADER( 247): done with conversion, anc config size is 148
D/ACDB-LOADER( 247): ACDB -> ACDB_CMD_GET_ANC_SETTING
D/ACDB-LOADER( 247): done with conversion, anc config size is 148
D/ACDB-LOADER( 247): ACDB -> ACDB_CMD_GET_ANC_SETTING
D/ACDB-LOADER( 247): done with conversion, anc config size is 74
D/ACDB-LOADER( 247): ACDB -> ACDB_CMD_GET_ANC_SETTING
D/ACDB-LOADER( 247): done with conversion, anc config size is 74
D/ACDB-LOADER( 247): ACDB -> init done!
D/ ( 247): csd_client_init
E/ ( 247): csd_client_service_init: Invalid rx device 0, setting to handset
E/ ( 247): csd_client_service_init: Invalid tx device 0, setting to handset
E/QMI_FW ( 247): xport_open: socket creation failed - 1
E/Diag_Lib( 247): Diag_LSM_Init: Failed to open handle to diag driver, error = 2
E/kickstart( 596): 6334186 bytes transferred in 0.460s (13.13 MBps)
E/kickstart( 596): Wrote to /sys/power/wake_unlock
E/kickstart( 596): Wrote to /sys/power/wake_lock
E/kickstart( 596): Requested ID 8, file "/firmware/image/dsp1.mbn"
I/SamplingProfilerIntegration( 256): Profiling disabled.
D/Zygote ( 256): begin preload
I/Zygote ( 256): Preloading classes...
I/art ( 256): Explicit concurrent mark sweep GC freed 798(36KB) AllocSpace objects, 0(0B) LOS objects, 95% free, 44KB/1068KB, paused 183us total 6.989ms
I/art ( 256): Counter: 1
I/art ( 256): Explicit concurrent mark sweep GC freed 547(33KB) AllocSpace objects, 0(0B) LOS objects, 94% free, 64KB/1088KB, paused 183us total 5.035ms
E/kickstart( 596): 2688527 bytes transferred in 0.239s (10.72 MBps)
E/kickstart( 596): Wrote to /sys/power/wake_unlock
E/kickstart( 596): Wrote to /sys/power/wake_lock
E/kickstart( 596): Requested ID 16, file "/data/qcks/efs1.bin"
E/kickstart( 596): ERROR: function: start_image_transfer:932 Invalid length 40 bytes request to be transmitted
E/kickstart( 596): ERROR: function: start_sahara_based_transfer:279 start_image_transfer failed
E/kickstart( 596): ERROR: function: main:305 Uploading Image using Sahara protocol failed
E/kickstart( 596): Wrote to /sys/power/wake_unlock

Sahara Protocol...
Narrowing down the issue.
Decided to try and restart into safe mode and also with airplane mode on.
Surprise, surprise restarting and the same old error occurred. This time thought I would keep adb rebooting until I saw that the Saraha protocol was successful. Did this 4 times and on the 4th time seemed ok.
It went and optimised apps again (due to unsuccessful boot).
Found this thread about the Sahara Protocol: http://forum.xda-developers.com/showthread.php?t=2403798
zeewox said:
These logs come from legit qcks /ks binaries. They're used to load firmware images into SoC subsystems.
Code:
Usage:
-h --help Display this usage information
-n --noclosedevnode Don't close port since it's vanished
-v --verbose Print verbose messages
-m --memdump Force memory debug mode
-i --image Force sahara image transfer mode
-c --command Force command mode
-p --port Device name for USB driver
-o --old Use old PBL boot structure for Dload
-r --ramdumpimage Image ID which must be transferred before forcing memory dump
-w --where Path to store files received from target
-t --timeout Port timeout (in seconds) to use for Sahara transfer
-d <img_id:file_name> --dload <img_id:file_name> Use DMSS download protocol for loading the image
-s <img_id:file_name> --sahara <img_id:file_name> Use Sahara download protocol for transferring the image
Example usage:
sudo kickstart -p /dev/ttyUSB0 -d 10:dbl.mbn
sudo kickstart -p /dev/ttyUSB0 -s 11:osbl.mbn -s 2:amss.mbn
Click to expand...
Click to collapse

Further update...
Managed to get it into safe mode after four boots. Then turned off SIM Pin and restarted (to get back into normal mode).
Again took about 4 restarts before the Sahara protocol was successful and (after optimising apps agin due to incomplete boots).
Thinking this rules out previous things like storage being full, side-loading system update, resetting cache and installed App problems - as actually the successive reboots that some of these options created were perhaps the key to success - leaving:
* Firmware images on the boot partition corrupting / not being read properly (software fix)
* Hardware issue of the boot partition
* Hardware issue on the qualcomm chipset stopping firmware being loaded
As far as I can tell external hardware variables like temperature have no effect.

Related

Market - DOWNLOAD UNSUCCESSFUL - CM7

I have the Hero CDMA, running CM7.0.2 STABLE with GB 2.3.3
upgraded from CM6.1.0 STABLE with Froyo 2.2.1
I have searched and searched and searched for a fix to my issue with downloads unsuccessful from any market appliaction such as the google market, appbrain, appplanet, and a few other....
I have tried every single possible solution...
things I have tried and failed:
1- Clearing Market Data/Cache
2- Clearing Download Manager Data/Cache
3- Clearing Phone's Cache/Dalvik-Cache through Recovery
4- Signed in to Google Talk
5- Reflashed CM7 with Gapps from scratch
6- Repartioned SDCARD
7- Tried Unmounting SDCARD and then download
8- Reflashed Gapps more than 10 times
9- Tried Flashing a themed Market
10- Downgraded to Market Version 2.2.6
11- Then Market Version 2.3.2, 2.3.3, 2.3.6
12- Tried uninstalling Market Updates
13- Tried mounting the system from within ROot Explorer and then download, nothing
14- Did a complete WIPE and Reflash
15- Changed Permission on Vending.apk
then I decided to do a ADB LOGCAT while trying to download an application through APPPLANET instead of the GOOGLE MARKET... still getting a download unsuccessful... so I'm coming to the conclusion that this is not a market issue, but some sort of JAVA issue maybe...
here is a CUT from the LOGCAT... I can provide a full LOG if necessary...
Code:
D/A2DP ( 134): a2dp_stop
D/A2DP ( 134): bluetooth_stop
E/BluetoothEventLoop.cpp( 172): event_filter: Received signal org.bluez.AudioSink:Stopped from /org/bluez/224/hci0/dev_00_1C_D8_3E_51_F4
D/BluetoothHidService.cpp( 172): hid_event_filter...
E/BluetoothEventLoop.cpp( 172): event_filter: Received signal org.bluez.AudioSink:PropertyChanged from /org/bluez/224/hci0/dev_00_1C_D8_3E_51_F4
D/A2DP ( 134): Received BT_RESPONSE - BT_STOP_STREAM
E/BluetoothEventLoop.cpp( 172): event_filter: Received signal org.bluez.AudioSink:PropertyChanged from /org/bluez/224/hci0/dev_00_1C_D8_3E_51_F4
V/BluetoothEventRedirector(11723): Received android.bluetooth.a2dp.action.SINK_STATE_CHANGED
D/BluetoothA2dpService( 172): A2DP state : device: 00:1C:D8:3E:51:F4 State:4->2
D/CachedBluetoothDevice(11723): onProfileStateChanged: profile A2DP newProfileState 2
D/BABTService( 288): Received action: android.bluetooth.a2dp.action.SINK_STATE_CHANGED
W/System.err(11705): org.json.JSONException: End of input at character 0 of
W/System.err(11705): at org.json.JSONTokener.syntaxError(JSONTokener.java:446)
W/System.err(11705): at org.json.JSONTokener.nextValue(JSONTokener.java:93)
W/System.err(11705): at org.json.JSONObject.<init>(JSONObject.java:154)
W/System.err(11705): at org.json.JSONObject.<init>(JSONObject.java:171)
W/System.err(11705): at com.android.BlackMarketApp.DownloadTask$DownloadFilesTask.run(DownloadTask.java:244)
V/NotificationService( 172): Active profile: Default
I/PROFILE ( 172): Group: Gmail containing : com.android.BlackMarketApp : false
I/PROFILE ( 172): Group: Phone containing : com.android.BlackMarketApp : false
I/PROFILE ( 172): Group: Calendar containing : com.android.BlackMarketApp : false
I/PROFILE ( 172): Group: Email containing : com.android.BlackMarketApp : false
I/PROFILE ( 172): Group: SMS containing : com.android.BlackMarketApp : false
V/ProfileManager( 172): No active group, returning default: Other
V/NotificationService( 172): Pkg: com.android.BlackMarketApp group: Other
D/dalvikvm( 288): GC_EXPLICIT freed 58K, 53% free 2630K/5575K, external 0K/0K, paused 67ms
D/dalvikvm( 676): GC_CONCURRENT freed 385K, 50% free 3209K/6407K, external 36K/548K, paused 7ms+7ms
I/TelephonyRegistry( 172): notifyServiceState: 0 home Jared A. Gosney (N/A) 31000 EvDo rev. A CSS supported 9 1192RoamInd: 128DefRoamInd: 1EmergOnly: false
I/TelephonyRegistry( 172): notifyServiceState: 0 home Jared A. Gosney (N/A) 31000 EvDo rev. A CSS supported 9 1192RoamInd: 128DefRoamInd: 1EmergOnly: false
V/JuiceDefender.Service( 3987): Screen brightness set to 39%, dim 0% - sensor: 1864
I/TelephonyRegistry( 172): notifyServiceState: 0 home Jared A. Gosney (N/A) 31000 EvDo rev. A CSS supported 9 1192RoamInd: 128DefRoamInd: 1EmergOnly: false
I/StagefrightPlayer( 134): setDataSource('/system/media/audio/ui/Effect_Tick.ogg')
D/A2DP ( 134): bluetooth_start
D/AudioFlinger( 134): setParameters(): io 1, keyvalue routing=0, tid 168, calling tid 134
I/AudioHardwareMSM72XX( 134): Routing audio to Handset
E/BluetoothEventLoop.cpp( 172): event_filter: Received signal org.bluez.AudioSink:Playing from /org/bluez/224/hci0/dev_00_1C_D8_3E_51_F4
D/BluetoothHidService.cpp( 172): hid_event_filter...
E/BluetoothEventLoop.cpp( 172): event_filter: Received signal org.bluez.AudioSink:PropertyChanged from /org/bluez/224/hci0/dev_00_1C_D8_3E_51_F4
E/BluetoothEventLoop.cpp( 172): event_filter: Received signal org.bluez.AudioSink:PropertyChanged from /org/bluez/224/hci0/dev_00_1C_D8_3E_51_F4
D/A2DP ( 134): Received BT_RESPONSE - BT_START_STREAM
D/A2DP ( 134): Received BT_RESPONSE - BT_NEW_STREAM
V/BluetoothEventRedirector(11723): Received android.bluetooth.a2dp.action.SINK_STATE_CHANGED
D/CachedBluetoothDevice(11723): onProfileStateChanged: profile A2DP newProfileState 4
D/BluetoothA2dpService( 172): A2DP state : device: 00:1C:D8:3E:51:F4 State:2->4
D/BABTService( 288): Received action: android.bluetooth.a2dp.action.SINK_STATE_CHANGED
I/PerformBackupThread( 172): Initializing (wiping) backup state and transport storage
I/TelephonyRegistry( 172): notifyServiceState: 0 home Jared A. Gosney (N/A) 31000 EvDo rev. A CSS supported 9 1192RoamInd: 128DefRoamInd: 1EmergOnly: false
E/PerformBackupThread( 172): Error backing up @[email protected]
E/PerformBackupThread( 172): java.io.FileNotFoundException
E/PerformBackupThread( 172): at android.os.Parcel.openFileDescriptor(Native Method)
E/PerformBackupThread( 172): at android.os.ParcelFileDescriptor.open(ParcelFileDescriptor.java:115)
E/PerformBackupThread( 172): at com.android.server.BackupManagerService$PerformBackupTask.processOneBackup(BackupManagerService.java:1429)
E/PerformBackupThread( 172): at com.android.server.BackupManagerService$PerformBackupTask.run(BackupManagerService.java:1287)
E/PerformBackupThread( 172): at com.android.server.BackupManagerService$BackupHandler.handleMessage(BackupManagerService.java:314)
E/PerformBackupThread( 172): at android.os.Handler.dispatchMessage(Handler.java:99)
E/PerformBackupThread( 172): at android.os.Looper.loop(Looper.java:123)
E/PerformBackupThread( 172): at android.os.HandlerThread.run(HandlerThread.java:60)
W/PerformBackupThread( 172): Backup pass unsuccessful, restaging
D/A2DP ( 134): a2dp_stop
D/A2DP ( 134): bluetooth_stop
E/BluetoothEventLoop.cpp( 172): event_filter: Received signal org.bluez.AudioSink:Stopped from /org/bluez/224/hci0/dev_00_1C_D8_3E_51_F4
D/BluetoothHidService.cpp( 172): hid_event_filter...
E/BluetoothEventLoop.cpp( 172): event_filter: Received signal org.bluez.AudioSink:PropertyChanged from /org/bluez/224/hci0/dev_00_1C_D8_3E_51_F4
E/BluetoothEventLoop.cpp( 172): event_filter: Received signal org.bluez.AudioSink:PropertyChanged from /org/bluez/224/hci0/dev_00_1C_D8_3E_51_F4
D/A2DP ( 134): Received BT_RESPONSE - BT_STOP_STREAM
V/BluetoothEventRedirector(11723): Received android.bluetooth.a2dp.action.SINK_STATE_CHANGED
D/CachedBluetoothDevice(11723): onProfileStateChanged: profile A2DP newProfileState 2
D/BluetoothA2dpService( 172): A2DP state : device: 00:1C:D8:3E:51:F4 State:4->2
D/BABTService( 288): Received action: android.bluetooth.a2dp.action.SINK_STATE_CHANGED
I/EventLogService( 246): Aggregate from 1304709038588 (log), 1304709038588 (data)
I/TelephonyRegistry( 172): notifyServiceState: 0 home Jared A. Gosney (N/A) 31000 EvDo rev. A CSS supported 9 1192RoamInd: 128DefRoamInd: 1EmergOnly: false
I/TelephonyRegistry( 172): notifyServiceState: 0 home Jared A. Gosney (N/A) 31000 EvDo rev. A CSS supported 9 1192RoamInd: 128DefRoamInd: 1EmergOnly: false
D/dalvikvm( 172): GC_CONCURRENT freed 1268K, 36% free 8030K/12359K, external 0K/512K, paused 8ms+33ms
I/StagefrightPlayer( 134): setDataSource('/system/media/audio/ui/Effect_Tick.ogg')
D/A2DP ( 134): bluetooth_start
D/AudioFlinger( 134): setParameters(): io 1, keyvalue routing=0, tid 168, calling tid 134
I/AudioHardwareMSM72XX( 134): Routing audio to Handset
E/BluetoothEventLoop.cpp( 172): event_filter: Received signal org.bluez.AudioSink:Playing from /org/bluez/224/hci0/dev_00_1C_D8_3E_51_F4
D/BluetoothHidService.cpp( 172): hid_event_filter...
E/BluetoothEventLoop.cpp( 172): event_filter: Received signal org.bluez.AudioSink:PropertyChanged from /org/bluez/224/hci0/dev_00_1C_D8_3E_51_F4
E/BluetoothEventLoop.cpp( 172): event_filter: Received signal org.bluez.AudioSink:PropertyChanged from /org/bluez/224/hci0/dev_00_1C_D8_3E_51_F4
D/A2DP ( 134): Received BT_RESPONSE - BT_START_STREAM
D/A2DP ( 134): Received BT_RESPONSE - BT_NEW_STREAM
V/BluetoothEventRedirector(11723): Received android.bluetooth.a2dp.action.SINK_STATE_CHANGED
D/CachedBluetoothDevice(11723): onProfileStateChanged: profile A2DP newProfileState 4
D/BluetoothA2dpService( 172): A2DP state : device: 00:1C:D8:3E:51:F4 State:2->4
D/BABTService( 288): Received action: android.bluetooth.a2dp.action.SINK_STATE_CHANGED
V/NotificationService( 172): Active profile: Default
I/PROFILE ( 172): Group: Gmail containing : com.android.BlackMarketApp : false
I/PROFILE ( 172): Group: Phone containing : com.android.BlackMarketApp : false
I/PROFILE ( 172): Group: Calendar containing : com.android.BlackMarketApp : false
I/PROFILE ( 172): Group: Email containing : com.android.BlackMarketApp : false
I/PROFILE ( 172): Group: SMS containing : com.android.BlackMarketApp : false
V/ProfileManager( 172): No active group, returning default: Other
V/NotificationService( 172): Pkg: com.android.BlackMarketApp group: Other
D/dalvikvm(11705): GC_FOR_MALLOC freed 256K, 48% free 3703K/7047K, external 526K/1024K, paused 104ms
D/A2DP ( 134): a2dp_stop
D/A2DP ( 134): bluetooth_stop
E/BluetoothEventLoop.cpp( 172): event_filter: Received signal org.bluez.AudioSink:Stopped from /org/bluez/224/hci0/dev_00_1C_D8_3E_51_F4
D/BluetoothHidService.cpp( 172): hid_event_filter...
E/BluetoothEventLoop.cpp( 172): event_filter: Received signal org.bluez.AudioSink:PropertyChanged from /org/bluez/224/hci0/dev_00_1C_D8_3E_51_F4
D/A2DP ( 134): Received BT_RESPONSE - BT_STOP_STREAM
E/BluetoothEventLoop.cpp( 172): event_filter: Received signal org.bluez.AudioSink:PropertyChanged from /org/bluez/224/hci0/dev_00_1C_D8_3E_51_F4
V/BluetoothEventRedirector(11723): Received android.bluetooth.a2dp.action.SINK_STATE_CHANGED
D/CachedBluetoothDevice(11723): onProfileStateChanged: profile A2DP newProfileState 2
D/BluetoothA2dpService( 172): A2DP state : device: 00:1C:D8:3E:51:F4 State:4->2
D/BABTService( 288): Received action: android.bluetooth.a2dp.action.SINK_STATE_CHANGED
D/dalvikvm(11705): GC_FOR_MALLOC freed 225K, 48% free 3701K/7047K, external 526K/1024K, paused 55ms
W/System.err(11705): org.json.JSONException: End of input at character 0 of
W/System.err(11705): at org.json.JSONTokener.syntaxError(JSONTokener.java:446)
W/System.err(11705): at org.json.JSONTokener.nextValue(JSONTokener.java:93)
W/System.err(11705): at org.json.JSONObject.<init>(JSONObject.java:154)
W/System.err(11705): at org.json.JSONObject.<init>(JSONObject.java:171)
W/System.err(11705): at com.android.BlackMarketApp.DownloadTask$DownloadFilesTask.run(DownloadTask.java:244)
V/NotificationService( 172): Active profile: Default
I/PROFILE ( 172): Group: Gmail containing : com.android.BlackMarketApp : false
I/PROFILE ( 172): Group: Phone containing : com.android.BlackMarketApp : false
I/PROFILE ( 172): Group: Calendar containing : com.android.BlackMarketApp : false
I/PROFILE ( 172): Group: Email containing : com.android.BlackMarketApp : false
I/PROFILE ( 172): Group: SMS containing : com.android.BlackMarketApp : false
V/ProfileManager( 172): No active group, returning default: Other
V/NotificationService( 172): Pkg: com.android.BlackMarketApp group: Other
V/JuiceDefender.Service( 3987): Screen brightness set to 34%, dim 0% - sensor: 1379
D/dalvikvm(11723): GC_EXPLICIT freed 72K, 53% free 2640K/5511K, external 0K/0K, paused 70ms
D/dalvikvm( 908): GC_EXPLICIT freed 25K, 56% free 2877K/6535K, external 0K/0K, paused 69ms
I/TelephonyRegistry( 172): notifyServiceState: 0 home Jared A. Gosney (N/A) 31000 EvDo rev. A CSS supported 9 1192RoamInd: 128DefRoamInd: 1EmergOnly: false
W/Smack/Packet( 246): notify conn break (IOEx), close connection
D/Smack ( 246): [XMPPConn] close connection, notifyClosed=false
D/dalvikvm(11771): GC_EXPLICIT freed 31K, 53% free 2602K/5447K, external 0K/0K, paused 68ms
V/JuiceDefender.Service( 3987): Screen brightness set to 32%, dim 0% - sensor: 1160
I/TelephonyRegistry( 172): notifyServiceState: 0 home Jared A. Gosney (N/A) 31000 EvDo rev. A CSS supported 9 1192RoamInd: 128DefRoamInd: 1EmergOnly: false
D/dalvikvm( 246): GC_CONCURRENT freed 381K, 49% free 3445K/6663K, external 0K/0K, paused 6ms+12ms
D/dalvikvm( 246): GC_CONCURRENT freed 445K, 49% free 3406K/6663K, external 0K/0K, paused 7ms+16ms
I/TelephonyRegistry( 172): notifyServiceState: 0 home Jared A. Gosney (N/A) 31000 EvDo rev. A CSS supported 9 1192RoamInd: 128DefRoamInd: 1EmergOnly: false
D/GTalkService( 246): [RosterMgr] roster not modified
D/GTalkService( 246): [OtrMgr] OTR not modified
I/TelephonyRegistry( 172): notifyServiceState: 0 home Jared A. Gosney (N/A) 31000 EvDo rev. A CSS supported 9 1192RoamInd: 128DefRoamInd: 1EmergOnly: false
I/PerformBackupThread( 172): Initializing (wiping) backup state and transport storage
E/PerformBackupThread( 172): Error backing up @[email protected]
E/PerformBackupThread( 172): java.io.FileNotFoundException
E/PerformBackupThread( 172): at android.os.Parcel.openFileDescriptor(Native Method)
E/PerformBackupThread( 172): at android.os.ParcelFileDescriptor.open(ParcelFileDescriptor.java:115)
E/PerformBackupThread( 172): at com.android.server.BackupManagerService$PerformBackupTask.processOneBackup(BackupManagerService.java:1429)
E/PerformBackupThread( 172): at com.android.server.BackupManagerService$PerformBackupTask.run(BackupManagerService.java:1287)
E/PerformBackupThread( 172): at com.android.server.BackupManagerService$BackupHandler.handleMessage(BackupManagerService.java:314)
E/PerformBackupThread( 172): at android.os.Handler.dispatchMessage(Handler.java:99)
E/PerformBackupThread( 172): at android.os.Looper.loop(Looper.java:123)
E/PerformBackupThread( 172): at android.os.HandlerThread.run(HandlerThread.java:60)
W/PerformBackupThread( 172): Backup pass unsuccessful, restaging
I/TelephonyRegistry( 172): notifyServiceState: 0 home Jared A. Gosney (N/A) 31000 EvDo rev. A CSS supported 9 1192RoamInd: 128DefRoamInd: 1EmergOnly: false
notice the
Code:
W/System.err(11705): org.json.JSONException: End of input at character 0 of
W/System.err(11705): at org.json.JSONTokener.syntaxError(JSONTokener.java:446)
W/System.err(11705): at org.json.JSONTokener.nextValue(JSONTokener.java:93)
W/System.err(11705): at org.json.JSONObject.<init>(JSONObject.java:154)
W/System.err(11705): at org.json.JSONObject.<init>(JSONObject.java:171)
W/System.err(11705): at com.android.BlackMarketApp.DownloadTask$DownloadFilesTask.run(DownloadTask.java:244)
is this my problem?! and how do I fix it?!
*NOTE* if I flash my NANDROID BACKUP that I have Prior to Flashing CM7 (which is CM6.1.0) everything works fine)
ive always had issues with the new market even on other roms whenever i press ok install app or whatever itll go back to the other apps and itll show it in the notification bard but itll never install but when i redo the download it works everytime its kind of strange.
Check out the rom repo for sobes market fix its on aosp's thread 1st page. Also try deleting the market updater apk. with tb. After both options reboot and wipe cache & dev cache.
#Root/Hack-Mod_Always*
laie1472 said:
Check out the rom repo for sobes market fix its on aosp's thread 1st page. Also try deleting the market updater apk. with tb. After both options reboot and wipe cache & dev cache.
#Root/Hack-Mod_Always*
Click to expand...
Click to collapse
I didn't need to do the delete part sobe's fix worked.
Here's a link to s0be's fix > http://forum.xda-developers.com/showpost.php?p=11055157&postcount=4647
FdxRider said:
I didn't need to do the delete part sobe's fix worked.
Click to expand...
Click to collapse
Aaaa sup fx??? Hope all is good
#Root/Hack-Mod_Always*
laie1472 said:
Aaaa sup fx??? Hope all is good
#Root/Hack-Mod_Always*
Click to expand...
Click to collapse
All good brother! Just hangin out, hope you're doin good. BTW thanks again!
Sent from my HERO200 using XDA Premium App
FdxRider said:
All good brother! Just hangin out, hope you're doin good. BTW thanks again!
Sent from my HERO200 using XDA Premium App
Click to expand...
Click to collapse
You know same "cuss word" different day. No prob you need anything else just shoot a pm.
Root/Hack-Mod_Always*
Firerats?
Any chance you're using firerats mod partition?
laie1472 said:
Check out the rom repo for sobes market fix its on aosp's thread 1st page. Also try deleting the market updater apk. with tb. After both options reboot and wipe cache & dev cache.
#Root/Hack-Mod_Always*
Click to expand...
Click to collapse
I cant seem to find what you are referring to.... i searched for sobes market fix here on xda, and found a huge thread, but it was not in the first post like some said...
EDIT***
Nevermind...I just found it after posting this....
here is the link that I found
http://forum.xda-developers.com/showpost.php?p=11055157&postcount=4650
and it states:
Code:
Here is the s0be's fix
1. adb shell
2. su
3. mkdir /cache/download
4. chown system:cache /cache/download
5. chmod ug+rwx /cache/download
6. chmod a+x /cache/download
THIS FIXED MY MARKET!!! I was not aware that Firerats Partition mod could cause something like this, but thanks to Sobe and 24601 and laie1472 for helping me out!!!! MASSIVE THANKS!!!!
Glad you got it fixed.
Root/Hack-Mod_Always*
Oh man, thanks!!! I was scouring the internet trying to find a fix for this. I tried about everything you did, too...thank you for posting this and thank you s0be!!!
Using Terminal Emulator?
Help please. I try to avoid using code at all costs and I'm confused. I've never figured out the adb shell thing. I use Terminal Emulator whenever I do have to input code but it didn't work for this.
su (Fine, granted)
mkdir /cache/download (already exists?)
chown system:cache /cache/download (nothing happens)
chmod ug+rwx /cache/download (no such file or directory, even though it said it already existed?) And there I stopped.
Can someone either explain adb shell or tell me what I've done wrong in Terminal Emulator and how to fix it? My Market is performing better, when I first flashed Firerat's Partition Mod on CM7 3.25.11 build the Market crashed and rebooted my phone everytime I tried to update anything. I updated to 5.16.11 build and now it downloads correctly most of the time again but I'd really like it to download correctly all of the time.
Thanks for any help!
Sprint CDMA HTC Hero
CM7/AOSP 2.3.4 5.16.11 Build
Firerat 1.5.8
If you're using Firerat 1.5.8 you can just set the cache to 15-20 (I use 18) and you won't need to do the market fix anymore.
teknikalcrysis said:
I cant seem to find what you are referring to.... i searched for sobes market fix here on xda, and found a huge thread, but it was not in the first post like some said...
EDIT***
Nevermind...I just found it after posting this....
here is the link that I found
http://forum.xda-developers.com/showpost.php?p=11055157&postcount=4650
and it states:
Code:
Here is the s0be's fix
1. adb shell
2. su
3. mkdir /cache/download
4. chown system:cache /cache/download
5. chmod ug+rwx /cache/download
6. chmod a+x /cache/download
THIS FIXED MY MARKET!!! I was not aware that Firerats Partition mod could cause something like this, but thanks to Sobe and 24601 and laie1472 for helping me out!!!! MASSIVE THANKS!!!!
Click to expand...
Click to collapse
Excuse my ignorance, but I'm a major noob! what are you using to execute the fix? Sorry let me give you more detail on where I currently stand. I flashed CM7.0.0 on my HTC Inspire. Market was working great than for what ever reason, it just stopped working. I had tried to originally flash CM7.0.2, but my phone kept going thru endless boot loop. I even tried going back to my original stock rom with no luck. Any help would be great. Thanks guys.
You can excute the fix via terminal or adb.
#Root/Hack-Mod_Always*
techsican said:
Excuse my ignorance, but I'm a major noob! what are you using to execute the fix? Sorry let me give you more detail on where I currently stand. I flashed CM7.0.0 on my HTC Inspire. Market was working great than for what ever reason, it just stopped working. I had tried to originally flash CM7.0.2, but my phone kept going thru endless boot loop. I even tried going back to my original stock rom with no luck. Any help would be great. Thanks guys.
Click to expand...
Click to collapse
I would say check in the correct forum. If I were you I wouldn't run system mods created for the htc hero.
Hey I am using Firerats partitions at 102 2 (the one for cm6) even though i use cm 7.0.3...im having this market issue. What is the fix (I for some reason can never get adb to work)
If you need adb setup tap on my avatar and check for my thread on how to install adb on windows. I also have a guide for ubuntu as well. It will take you 15 to 20 min tops. Or check duce's links thread it had them there as well also it has a plethora of info on how to use adb and everything else you can think of to help you wjth modding your phone. For sobes market fix just read this thread
member teknikalcrysis posted it above. If you dont want to install adb it can be applied via terminal threw your rom.
#Root/Hack-Mod_Always*

[for devs][info] Eclair boot log

Code:
D/ ( 1123): MOTO_PUPD: mot_boot_mode
D/ ( 1123): MOTO_PUPD: cid_recover_boot=0x00
D/ ( 1123): MOTO : pwr_rsn = POWERUPREASON : 0x00004000
D/ ( 1123): MBM_VERSION : 0x00008089
D/ ( 1123): MBM_LOADER_VERSION : 0x000005a0
D/ ( 1123): FLAT_DEV_TREE_ADDRESS : 0xffffffff
D/ ( 1123): BATTERY_STATUS_AT_BOOT : 0x0001
D/ ( 1123): CID_RECOVER_BOOT : 0x00
D/ ( 1123):
D/ ( 1123): MOTO_PUPD: powerup_reason=0x00004000
D/ ( 1123): MOTO_PUPD: mot_boot_mode 12m: 0
I/vold ( 1126): Android Volume Daemon version 2.0
I/DEBUG ( 1127): debuggerd: Aug 4 2010 22:34:36
I/DBVC ( 1129): atvc_pal_production_part: start
I/DBVC ( 1129): atvc_pal_init_factory_state: start
I/DBVC ( 1129): atvc_pal_init_factory_state: determined out of factory state
I/DBVC ( 1129): atval_pal_read_datablock: enter
I/DBVC ( 1129): atval_pal_read_datablock: getting size of datablock
I/DBVC ( 1129): atval_pal_read_datablock: exit
I/DBVC ( 1129): atval_enforce_android_policy: validation failed. all disabled.
I/DBVC ( 1129): read handset resource access flags:
I/DBVC ( 1129): 0x00000000
I/DBVC ( 1129): atval_setup_properties: valid datablock - setting flags
I/usbd ( 1136): main(): Start usbd - version 1.2
I/usbd ( 1136): main(): Initializing uevent_socket
I/usbd ( 1136): main(): Initializing usb_device_mode
I/usbd ( 1136): main(): Initializing usbd socket
I/usbd ( 1136): usbd_get_cable_status(): cable_type = usb
I/usbd ( 1136):
I/usbd ( 1136): usbd_get_cable_status(): current usb_online = 1
I/usbd ( 1136): main(): Initial Cable State = Cable Attached
I/usbd ( 1136): main(): get event from usb_device_fd
I/usbd ( 1136): main(): devbuf: none:adb_enable:none
I/usbd ( 1136): rc: 20 usbd_curr_cable_status: 0
I/usbd ( 1136): main(): pcSwitchbuf = none
I/usbd ( 1136): main(): adbEnablebuf: adb_enable
I/usbd ( 1136): main(): length = 5
I/usbd ( 1136): main(): enubuf: none
E/vold ( 1126): Unable to chdir to /sys/class/mmc_host/mmc0/slot_name (Not a directory)
E/vold ( 1126): Error bootstrapping card '/sys/class/mmc_host/mmc0/slot_name' (Not a directory)
I/vold ( 1126): New MMC card 'USD ' (serial 1286609949) added @ /devices/platform/mmci-omap-hs.0/mmc_host/mmc0/mmc0:b368
I/DBVC ( 1129): atval_enforce_android_policy: finalize the properties
I/DBVC ( 1129): atval_finalize_properties: START
I/DBVC ( 1129): atval_finalize_properties: parse property file
I/DBVC ( 1129): atval_finalize_properties: rename
I/vold ( 1126): Disk (blkdev 179:0), 15661056 secs (7647 MB) 3 partitions
I/vold ( 1126): New blkdev 179.0 on media USD , media path /devices/platform/mmci-omap-hs.0/mmc_host/mmc0/mmc0:b368, Dpp 3
I/vold ( 1126): Partition (blkdev 179:1), 13625344 secs (6653 MB) type 0xb
I/vold ( 1126): New blkdev 179.1 on media USD , media path /devices/platform/mmci-omap-hs.0/mmc_host/mmc0/mmc0:b368, Dpp 2
I/vold ( 1126): Partition (blkdev 179:2), 1114112 secs (544 MB) type 0x83
I/vold ( 1126): New blkdev 179.2 on media USD , media path /devices/platform/mmci-omap-hs.0/mmc_host/mmc0/mmc0:b368, Dpp 1
I/vold ( 1126): Partition (blkdev 179:3), 919552 secs (449 MB) type 0x82
I/vold ( 1126): New blkdev 179.3 on media USD , media path /devices/platform/mmci-omap-hs.0/mmc_host/mmc0/mmc0:b368, Dpp 0
I/vold ( 1126): Evaluating dev '/devices/platform/mmci-omap-hs.0/mmc_host/mmc0/mmc0:b368/block/mmcblk0' for mountable filesystems for '/sdcard'
I/vold ( 1126): Aborting start of /sdcard (bootstrap = 1)
I/vold ( 1126): Volmgr not ready to handle device
D/vold ( 1126): Bootstrapping complete
W/bplogd ( 1139): -WARNING- main(): BP datalogging is not allowed. bplog_property=0.
W/bplogd ( 1139): -WARNING- main(): Access token is required to allow it.
I/usbd ( 1136): process_usb_uevent_message(): cable type: usb
I/usbd ( 1136): process_usb_uevent_message(): USB online
I/usbd ( 1136): main(): Cable Status Changed, need to notify Cable Status to App
I/usbd ( 1136): main(): get event from usb_device_fd
I/usbd ( 1136): main(): devbuf: none:none:get_desc
I/usbd ( 1136): rc: 18 usbd_curr_cable_status: 0
I/usbd ( 1136): main(): pcSwitchbuf = none
I/usbd ( 1136): main(): adbEnablebuf: none
I/usbd ( 1136): main(): length = 9
I/usbd ( 1136): main(): enubuf: get_desc
I/usbd ( 1136): main(): received get_descriptor, enum in progress
I/usbd ( 1136): process_usb_uevent_message(): cable type: usb
I/usbd ( 1136): process_usb_uevent_message(): USB online
I/usbd ( 1136): main(): Spurious Cable Event, Ignore
I/usbd ( 1136): main(): get event from usb_device_fd
I/usbd ( 1136): main(): devbuf: none:none:enumerated
I/usbd ( 1136): rc: 20 usbd_curr_cable_status: 0
I/usbd ( 1136): main(): pcSwitchbuf = none
I/usbd ( 1136): main(): adbEnablebuf: none
I/usbd ( 1136): main(): length = 11
I/usbd ( 1136): main(): enubuf: enumerated
I/usbd ( 1136): main(): recieved enumerated
I/usbd ( 1136): main(): usbd_app_fd = -1
I/BATTD ( 1135): Battd USB INSERT = Success
I/BATTD ( 1135): Battd Init = Success
I/BATTD ( 1135): RTC Log SBCM Init=1335521694664
I/BATTD ( 1135): SBCM_GLUE: UNABLE TO OPEN FILE /config/public/batt_offset_data
I/BATTD ( 1135): SBCM_GLUE: BATT DATA READ - SUCCESS
I/BATTD ( 1135): SBCM_GLUE: BATT DATA READ - SUCCESS
I/BATTD ( 1135): SBCM_GLUE: BATT DATA READ - SUCCESS
I/BATTD ( 1135): SBCM_GLUE: BATT DATA RETRIVAL SUCCESS
I/BATTD ( 1135): SBCM_GLUE: CutOff Threshold is 3200 mV
I/BATTD ( 1135): SBCM_GLUE_EVENT_INIT=Initialization
I/BATTD ( 1135): SBCM_GLUE ****Battery Phasing start ****
I/BATTD ( 1135): SBCM_GLUE offset_batti = -2
I/BATTD ( 1135): SBCM_GLUE slope_batti = 128
I/BATTD ( 1135): SBCM_GLUE offset_chrgi = -3
I/BATTD ( 1135): SBCM_GLUE slope_chrgi = 123
I/BATTD ( 1135): SBCM_GLUE offset_battp = 4
I/BATTD ( 1135): SBCM_GLUE slope_battp = 128
I/BATTD ( 1135): SBCM_GLUE offset_bp = 0
I/BATTD ( 1135): SBCM_GLUE slope_bp = 128
I/BATTD ( 1135): SBCM_GLUE offset_battt = 1
I/BATTD ( 1135): SBCM_GLUE slope_battt = 128
I/BATTD ( 1135): SBCM_GLUE offset_chrgv = 1
I/BATTD ( 1135): SBCM_GLUE slope_chrgv = 127
I/BATTD ( 1135): SBCM_GLUE ****Battery Phasing end ****
I/BATTD ( 1135): SBCM_GLUE temp safe = 328
I/BATTD ( 1135): SBCM_GLUE temp warn = 333
I/BATTD ( 1135): SBCM_GLUE temp cool = 338
I/BATTD ( 1135): SBCM_GLUE temp phased safe raw = 0x59
I/BATTD ( 1135): SBCM_GLUE temp phased warn raw = 0x4b
I/BATTD ( 1135): SBCM_GLUE temp phased cool raw = 0x3f
I/BATTD ( 1135): SBCM_GLUE temp safe unphased raw = 0x58
I/BATTD ( 1135): SBCM_GLUE temp warn unphased raw = 0x4a
I/BATTD ( 1135): SBCM_GLUE temp cool unphased raw = 0x3e
I/BATTD ( 1135): Coulomb Counter Enabled=1
I/BATTD ( 1135): SBCM_ALGORITHM_task_handler()return=686979
I/BATTD ( 1135): while(SBCM_GLUE_atod_pending)=2
I/BATTD ( 1135): SBCM_ALGORITHM_task_handler()return=0xA7BBD
I/BATTD ( 1135): while(SBCM_GLUE_atod_pending)=4
I/BATTD ( 1135): File /data/battd/cc_data opened!
I/BATTD ( 1135): Value from cc file Percentage = 802962722
I/BATTD ( 1135): SBCM_ALGORITHM_task_handler()return=0xA7B81
I/BATTD ( 1135): Timeout=10
I/BATTD ( 1135): Event from SBCM Driver=Batt Detection Interrupt
I/BATTD ( 1135): SBCM_GLUE ****Battery BRT Read ****
I/SSM ( 1167): Signals
I/SSM ( 1167): Sockets
E/SSM ( 1167): Failed open; status=-1 / errno=-2
D/panic_daemon( 1170): Bind socket is successful
D/panic_daemon( 1170): Listen of GKI-panic_daemon socket is successful
W/panic_daemon( 1170): /data/panic exists.
W/panic_daemon( 1170): /data/panic/apr exists.
I/usbd ( 1136): process_usb_uevent_message(): cable type: usb
I/usbd ( 1136): process_usb_uevent_message(): USB online
I/usbd ( 1136): main(): Spurious Cable Event, Ignore
I/ ( 1178): Main_fmradioserver::ServiceManager: 0xae20
I/FMRadioStackService( 1178): FMRadioStackService created
I/FMRadioStackService( 1178): onFirstRef:: run thread to power on bt device
D/AndroidRuntime( 1141):
D/AndroidRuntime( 1141): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
D/AndroidRuntime( 1141): CheckJNI is OFF
I/AndroidRuntime( 1141): JNI options: '-Xjniopts:warnonly'
D/dalvikvm( 1141): Precise GC configured ON
D/dalvikvm( 1141): creating instr width table
I/SSM ( 1167): fd_ipc=7
E/SSM ( 1167): Open device :/dev/input/even error!
E/SSM ( 1167): Open device :/dev/input/even error!
E/SSM ( 1167): Open device :/dev/input/even error!
E/SSM ( 1167): Open device :/dev/input/even error!
E/SSM ( 1167): Open device :/dev/input/even error!
E/SSM ( 1167): Open device :/dev/input/even error!
E/SSM ( 1167): Open device :/dev/input/even error!
E/SSM ( 1167): Couldn't find or open input driver (No such file or directory)
E/SSM ( 1167): Failed to open descriptor for input device driver for flip; errno=-2
W/SSM ( 1167): No input driver device interface
I/SSM ( 1167): fd_ssd=10
I/SSM ( 1167): fd_pmp=11
I/SSM ( 1167): fd_uevents=12
I/SSM ( 1167): Done: SSMGR Daemon Initialized
I/SSM ( 1167): capacity 0
I/SSM ( 1167): PA Boost - Battery TOO LOW
I/ ( 1142): ServiceManager: 0xae30
D/AudioHardwareMot( 1142): AudioMgr:mixer fd = 7, errno = Unknown error: 0
D/AudioMgrIPC( 1142): AudioMgr:IPC: Inside am_aipcm_init
D/AudioMgrIPC( 1142): AudioMgr:IPC: Inside am_aipcm_init-mux_txrx_fd= 8, errno = Unknown error: 0
D/AudioMgrIPC( 1142): AudioMgr:IPC: Read thread spawned
D/AudioPostProcessor( 1142): AudioMgr:AudioPostProcessor()
D/AudioPostProcessor( 1142): AudioMgr:No debug parameters in /data; checking ro.product.name
D/AudioPostProcessor( 1142): AudioMgr:ro.product.name value = STR_RTRU
D/AudioPostProcessor( 1142): AudioMgr:/system/bin/ap_gain.bin file size is 50371
D/AudioPostProcessor( 1142): AudioMgr:Read format version 0x308, content version 0000 from /system/bin/ap_gain.bin
D/AudioMgrIPC( 1142): AudioMgr:am_aipcm_read_thread called
D/AudioMgrIPC( 1142): AudioMgr:Setting Select ipc_fd
D/AudioPostProcessor( 1142): AudioMgr:Successfully parsed parameters from /system/bin/ap_gain.bin
D/AudioMsgHandler( 1142): The new thread spawned successfully
D/AudioHardwareMot( 1142): AudioMgr:setMode(NORMAL)
I/CameraService( 1142): CameraService started: pid=1142
D/AudioMsgHandler( 1142): server_fd = 10
D/AudioHardwareMot( 1142): AudioMgr:AudioHardwareMot::openOutputStream enter
D/AudioHardwareMot( 1142): AudioMgr:AudioHardwareMot: AudioStreamOutMot
D/AudioHardwareMot( 1142): AudioMgr:AudioStreamOutMot::set(0xafb0, 2, 0, 0 0)
I/BATTD ( 1135): SBCM_GLUE ****BRT SUCCESS****
I/BATTD ( 1135): BM_BATT_DATA: status valid
I/BATTD ( 1135): BM_BATT_DATA: uid valid
I/BATTD ( 1135): BM_BATT_DATA: family_code = 137
I/BATTD ( 1135): BM_BATT_DATA: uid_lsb = 0
I/BATTD ( 1135): BM_BATT_DATA: uid_msb = 80
I/BATTD ( 1135): BM_BATT_DATA: page_2_checksum = 0
I/BATTD ( 1135): BM_BATT_DATA: page_3_checksum = 0
I/BATTD ( 1135): BM_BATT_DATA: cpyrght_vld = 1
I/BATTD ( 1135): SBCM CORE convert_rom_data: bcap= 1390, raw= 0x8b
I/BATTD ( 1135): BATTD_SetBattCapacity BATT CAP = 182199
I/BATTD ( 1135): SBCM_GLUE BATT CAP = 1390
D/AudioHardwareMot( 1142): AudioMgr:bufSize from kernel = 8192
I/AudioFlinger( 1142): AudioFlinger's thread 0xba40 ready to run
I/BATTD ( 1135): Event from SBCM Driver=Coulomb Counter Calibration Interrupt
D/AudioHardwareMot( 1142): AudioMgr:bufSize from kernel = 8192
D/AudioHardwareMot( 1142): AudioMgr:bufSize from kernel = 8192
D/AudioHardwareMot( 1142): AudioMgr:bufSize from kernel = 8192
D/AudioHardwareMot( 1142): AudioMgr:AudioStreamOutMot::standby called
D/AudioHardwareMot( 1142): AudioMgr:AudioStreamOutMot::setParameters() routing=2
D/AudioHardwareMot( 1142): AudioMgr:set output routing 2
D/AudioHardwareMot( 1142): AudioMgr:doRouting called
D/AudioHardwareMot( 1142): AudioMgr:Routing to speaker
D/AudioHardwareMot( 1142): AudioMgr:configPostProcessor() called with accy = 0
D/AudioPostProcessor( 1142): AudioMgr:configPostProcessing() called, inputAccy= 27, outputAccy= 0, sampleRate= 44100, ringtoneMode= 0
D/AudioPostProcessor( 1142): AudioMgr:updatePostProcessor calling SuperAPI parser with:
D/AudioPostProcessor( 1142): accy=8
D/AudioPostProcessor( 1142): config=0
D/AudioPostProcessor( 1142): SE_level_index=1
D/AudioHardwareMot( 1142): AudioMgr:Gain for Input accy = 0 is 28
D/AudioHardwareMot( 1142): AudioMgr:Gain for Output accy = 0 is 11
D/AudioHardwareMot( 1142): AudioMgr:setVoiceVolume called with vol = 1.000000, converted intVol = 7
D/AudioMgrIPC( 1142): AudioMgr:am_aipcm_set_volume_req() called with vol_level = 7, vol_type = 2
D/AudioMgrIPC( 1142): AudioMgr:IPC: message sent for message id 3
D/AudioMgrIPC( 1142): AudioMgr:select returned, need to do a read
D/AudioMgrIPC( 1142): AudioMgr:[am_aipcm_read_func]:[ENTER IPC HANDLE FUNCTION], [line]:495
D/AudioMgrIPC( 1142): AudioMgr:IPC: header.data_legth is 18
D/AudioMgrIPC( 1142): AudioMgr:IPC: msg_id = 8000
D/AudioMgrIPC( 1142): AudioMgr:IPC: TAG is 0x8100
D/AudioMgrIPC( 1142): AudioMgr:IPC: Length is 0x4
D/AudioMgrIPC( 1142): AudioMgr:am_aipcm_read_func called, from BP message the tag is: 8100, msg_id is:8000
D/AudioMgrIPC( 1142): AudioMgr:IPC: TAG is 0x8101
D/AudioMgrIPC( 1142): AudioMgr:IPC: Length is 0x4
D/AudioMgrIPC( 1142): AudioMgr:IPC: Ack received for message with id = 3
I/SktdrmService( 1142): [SktdrmService] instantiate. current uid:1013
I/SktdrmService( 1142): [SktdrmService] Const.
I/BATTD ( 1135): set_charge_voltage=4200
I/BATTD ( 1135): set_charge_current=500
D/AndroidRuntime( 1141): --- registering native functions ---
I/SamplingProfilerIntegration( 1141): Profiler is disabled.
I/Zygote ( 1141): Preloading classes...
D/dalvikvm( 1141): GC freed 795 objects / 50696 bytes in 2ms
D/dalvikvm( 1141): GC freed 299 objects / 18400 bytes in 2ms
D/dalvikvm( 1141): GC freed 309 objects / 19496 bytes in 3ms
D/dalvikvm( 1141): GC freed 215 objects / 13656 bytes in 3ms
D/dalvikvm( 1141): GC freed 416 objects / 26632 bytes in 4ms
D/skia ( 1141): ------ build_power_table 1.4
D/skia ( 1141): ------ build_power_table 0.714286
D/dalvikvm( 1141): GC freed 415 objects / 28408 bytes in 4ms
D/dalvikvm( 1141): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 1141): Added shared lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 1141): Trying to load lib /system/lib/libexif.so 0x0
D/dalvikvm( 1141): Added shared lib /system/lib/libexif.so 0x0
D/dalvikvm( 1141): GC freed 2350 objects / 122560 bytes in 6ms
D/dalvikvm( 1141): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 1141): Shared lib '/system/lib/libmedia_jni.so' already loaded in same CL 0x0
D/dalvikvm( 1141): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 1141): Shared lib '/system/lib/libmedia_jni.so' already loaded in same CL 0x0
D/dalvikvm( 1141): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 1141): Shared lib '/system/lib/libmedia_jni.so' already loaded in same CL 0x0
D/dalvikvm( 1141): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 1141): Shared lib '/system/lib/libmedia_jni.so' already loaded in same CL 0x0
D/dalvikvm( 1141): GC freed 3790 objects / 197000 bytes in 10ms
D/dalvikvm( 1141): GC freed 463 objects / 26424 bytes in 10ms
D/dalvikvm( 1141): GC freed 294 objects / 17024 bytes in 13ms
D/dalvikvm( 1141): GC freed 204 objects / 11464 bytes in 11ms
D/dalvikvm( 1141): GC freed 172 objects / 9232 bytes in 12ms
D/dalvikvm( 1141): Trying to load lib /system/lib/libsrec_jni.so 0x0
D/dalvikvm( 1141): Added shared lib /system/lib/libsrec_jni.so 0x0
D/dalvikvm( 1141): Trying to load lib /system/lib/libsrec_jni.so 0x0
D/dalvikvm( 1141): Shared lib '/system/lib/libsrec_jni.so' already loaded in same CL 0x0
E/asset ( 1141): Looking for resource asset in '/system/framework/framework-res.apk'
E/asset ( 1141): MAS: Leave getLocalizationResFilePath ap:
D/dalvikvm( 1141): GC freed 300 objects / 34896 bytes in 15ms
D/dalvikvm( 1141): GC freed 127 objects / 24624 bytes in 17ms
D/dalvikvm( 1141): GC freed 343 objects / 38696 bytes in 22ms
D/dalvikvm( 1141): GC freed 414 objects / 25624 bytes in 18ms
D/dalvikvm( 1141): Trying to load lib /system/lib/libwebcore.so 0x0
D/dalvikvm( 1141): Added shared lib /system/lib/libwebcore.so 0x0
D/dalvikvm( 1141): GC freed 378 objects / 21600 bytes in 20ms
D/dalvikvm( 1141): GC freed 453 objects / 29144 bytes in 21ms
D/dalvikvm( 1141): GC freed 267 objects / 26528 bytes in 22ms
D/dalvikvm( 1141): GC freed 378 objects / 27048 bytes in 21ms
D/dalvikvm( 1141): GC freed 1083 objects / 91968 bytes in 26ms
D/dalvikvm( 1141): GC freed 664 objects / 35928 bytes in 26ms
D/dalvikvm( 1141): GC freed 709 objects / 41224 bytes in 24ms
D/dalvikvm( 1141): GC freed 735 objects / 40600 bytes in 35ms
D/dalvikvm( 1141): GC freed 12264 objects / 448488 bytes in 32ms
D/dalvikvm( 1141): GC freed 11289 objects / 478208 bytes in 32ms
D/dalvikvm( 1141): GC freed 9907 objects / 437592 bytes in 40ms
D/dalvikvm( 1141): GC freed 8690 objects / 494384 bytes in 33ms
D/dalvikvm( 1141): GC freed 8206 objects / 490912 bytes in 38ms
D/dalvikvm( 1141): GC freed 7956 objects / 488440 bytes in 37ms
D/dalvikvm( 1141): GC freed 7120 objects / 395192 bytes in 33ms
D/dalvikvm( 1141): GC freed 847 objects / 51408 bytes in 37ms
D/dalvikvm( 1141): GC freed 540 objects / 38872 bytes in 33ms
D/dalvikvm( 1141): GC freed 460 objects / 31216 bytes in 35ms
D/dalvikvm( 1141): GC freed 426 objects / 29600 bytes in 33ms
I/Zygote ( 1141): ...preloaded 1942 classes in 4145ms.
D/dalvikvm( 1141): GC freed 117 objects / 14848 bytes in 34ms
I/Zygote ( 1141): Preloading resources...
D/dalvikvm( 1141): GC freed 5 objects / 224 bytes in 40ms
D/dalvikvm( 1141): GC freed 187 objects / 9152 bytes in 38ms
D/dalvikvm( 1141): GC freed 140 objects / 7520 bytes in 34ms
D/dalvikvm( 1141): GC freed 250 objects / 11920 bytes in 32ms
I/Zygote ( 1141): ...preloaded 48 resources in 307ms.
I/Zygote ( 1141): ...preloaded 15 resources in 6ms.
D/dalvikvm( 1141): GC freed 112 objects / 8656 bytes in 35ms
D/dalvikvm( 1141): GC freed 227 objects / 9016 bytes in 32ms
D/dalvikvm( 1141): GC freed 24 objects / 944 bytes in 37ms
I/dalvikvm( 1141): Splitting out new zygote heap
I/dalvikvm( 1141): System server process 1390 has been created
I/Zygote ( 1141): Accepting command socket connections
D/dalvikvm( 1390): Trying to load lib /system/lib/libandroid_servers.so 0x0
D/dalvikvm( 1390): Added shared lib /system/lib/libandroid_servers.so 0x0
E/BatteryService( 1390): ttaOnlinePath not found
I/sysproc ( 1390): Entered system_init()
I/sysproc ( 1390): ServiceManager: 0x11cb20
I/SurfaceFlinger( 1390): SurfaceFlinger is starting
I/SurfaceFlinger( 1390): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 1390): loaded /system/lib/egl/libGLES_android.so
D/libEGL ( 1390): loaded /system/lib/egl/libEGL_POWERVR_SGX530_121.so
D/libEGL ( 1390): loaded /system/lib/egl/libGLESv1_CM_POWERVR_SGX530_121.so
D/libEGL ( 1390): loaded /system/lib/egl/libGLESv2_POWERVR_SGX530_121.so
I/SurfaceFlinger( 1390): EGL informations:
I/SurfaceFlinger( 1390): # of configs : 30
I/SurfaceFlinger( 1390): vendor : Android
I/SurfaceFlinger( 1390): version : 1.4 Android META-EGL
I/SurfaceFlinger( 1390): extensions: EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_ANDROID_image_native_buffer EGL_ANDROID_swap_rectangle EGL_ANDROID_get_render_buffer
I/SurfaceFlinger( 1390): Client API: OpenGL ES
I/SurfaceFlinger( 1390): EGLSurface: 8-8-8-8, config=0x1
E/libEGL ( 1390): eglSetSwapRectangleANDROID:1743 error 3008 (EGL_BAD_DISPLAY)
I/SurfaceFlinger( 1390): flags : 00110000
I/SurfaceFlinger( 1390): OpenGL informations:
I/SurfaceFlinger( 1390): vendor : Imagination Technologies
I/SurfaceFlinger( 1390): renderer : PowerVR SGX 530
I/SurfaceFlinger( 1390): version : OpenGL ES-CM 1.1
I/SurfaceFlinger( 1390): extensions: GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_matrix_get GL_OES_read_format GL_OES_compressed_paletted_texture GL_OES_point_sprite GL_OES_point_size_array GL_OES_matrix_palette GL_OES_draw_texture GL_OES_query_matrix GL_OES_texture_env_crossbar GL_OES_texture_mirrored_repeat GL_OES_texture_cube_map GL_OES_blend_subtract GL_OES_blend_func_separate GL_OES_blend_equation_separate GL_OES_stencil_wrap GL_OES_extended_matrix_palette GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_depth24 GL_OES_stencil8 GL_OES_compressed_ETC1_RGB8_texture GL_OES_mapbuffer GL_OES_EGL_image GL_EXT_multi_draw_arrays GL_OES_required_internalformat GL_IMG_read_format GL_IMG_texture_compression_pvrtc GL_IMG_texture_format_BGRA8888 GL_EXT_texture_format_BGRA8888 GL_IMG_texture_stream GL_IMG_vertex_program
I/sysproc ( 1390): System server: starting Android runtime.
I/sysproc ( 1390): System server: starting Android services.
I/SystemServer( 1390): Entered the Android system server!
I/sysproc ( 1390): System server: entering thread pool.
I/SystemServer( 1390): Entropy Service
I/SystemServer( 1390): Power Manager
I/SystemServer( 1390): Activity Manager
I/ActivityManager( 1390): Memory class: 28
D/libEGL ( 1398): loaded /system/lib/egl/libGLES_android.so
E/SurfaceFlinger( 1390): eglSwapBuffers: EGL error 0x3008 (EGL_BAD_DISPLAY)
D/libEGL ( 1398): loaded /system/lib/egl/libEGL_POWERVR_SGX530_121.so
D/libEGL ( 1398): loaded /system/lib/egl/libGLESv1_CM_POWERVR_SGX530_121.so
D/libEGL ( 1398): loaded /system/lib/egl/libGLESv2_POWERVR_SGX530_121.so
W/UsageStats( 1390): Usage stats version changed; dropping
W/zipro ( 1398): Unable to open zip '/data/local/bootanimation.zip': No such file or directory
I/dalvikvm( 1390): Debugger thread not active, ignoring DDM send (t=0x41504e4d l=32)
I/SystemServer( 1390): Telephony Registry
I/SystemServer( 1390): Package Manager
I/Installer( 1390): connecting...
I/installd( 1145): new connection
D/dalvikvm( 1390): GC freed 3840 objects / 208984 bytes in 127ms
I/PackageManager( 1390): Libs: javax.obex:/system/framework/javax.obex.jar com.motorola.con2vcard:/system/framework/com.motorola.con2vcard.jar android.test.runner:/system/framework/android.test.runner.jar com.motorola.android.syncml:/system/framework/com.motorola.android.syncml.jar com.google.android.gtalkservice:/system/framework/com.google.android.gtalkservice.jar com.motorola.aui:/system/framework/com.motorola.aui.jar com.motorola.android.dlna:/system/framework/com.motorola.android.dlna.jar com.motorola.atcmd.pluginMgr:/system/framework/com.motorola.atcmd.pluginMgr.jar com.motorola.atcmd.base:/system/framework/com.motorola.atcmd.base.jar com.google.android.datamessaging:/system/framework/com.google.android.datamessaging.jar com.google.android.maps:/system/framework/com.google.android.maps.jar com.motorola.android.image:/system/framework/com.motorola.android.image.jar com.motorola.android.mediasync:/system/framework/com.motorola.android.mediasync.jar com.motorola.android.camera:/system/framework/com.motorola.android.camera.jar
I/PackageManager( 1390): Features: android.hardware.wifi android.hardware.location.network android.hardware.telephony android.hardware.location android.hardware.touchscreen.multitouch android.hardware.sensor.compass android.hardware.camera android.hardware.bluetooth android.hardware.sensor.proximity android.hardware.sensor.light android.hardware.location.gps android.hardware.telephony.gsm android.hardware.camera.autofocus android.hardware.touchscreen android.hardware.sensor.accelerometer android.software.live_wallpaper android.hardware.camera.flash
D/dalvikvm( 1390): GC freed 5178 objects / 345456 bytes in 102ms
W/PackageManager( 1390): Library not found: /system/framework/com.google.android.datamessaging.jar
I/dalvikvm( 1390): Zip is good, but no classes.dex inside, and no .odex file in the same directory
W/PackageManager( 1390): Exception reading jar: /system/framework/mot-framework-res.apk
W/PackageManager( 1390): java.io.IOException: /system/framework/mot-framework-res.apk
W/PackageManager( 1390): at dalvik.system.DexFile.isDexOptNeeded(Native Method)
W/PackageManager( 1390): at com.android.server.PackageManagerService.<init>(PackageManagerService.java:527)
W/PackageManager( 1390): at com.android.server.PackageManagerService.main(PackageManagerService.java:335)
W/PackageManager( 1390): at com.android.server.ServerThread.run(SystemServer.java:116)
I/dalvikvm( 1390): Zip is good, but no classes.dex inside, and no .odex file in the same directory
W/PackageManager( 1390): Exception reading jar: /system/framework/googlelogin-client.jar
W/PackageManager( 1390): java.io.IOException: /system/framework/googlelogin-client.jar
W/PackageManager( 1390): at dalvik.system.DexFile.isDexOptNeeded(Native Method)
W/PackageManager( 1390): at com.android.server.PackageManagerService.<init>(PackageManagerService.java:527)
W/PackageManager( 1390): at com.android.server.PackageManagerService.main(PackageManagerService.java:335)
W/PackageManager( 1390): at com.android.server.ServerThread.run(SystemServer.java:116)
D/PackageManager( 1390): Scanning app dir /system/framework

setools-android with sepolicy-inject

Introduction
In Android 5.0, SELinux is in enforcing mode and sometimes you (or some root application) need to change SELinux policy. There has been only one tool capable of this at runtime - Chainfire's supolicy (part of SuperSU). But this tool is closed source and closed source root apps are great security risk. So I have fixed and enhanced sepolicy-inject from Joshua Brindle and combined it with setools-android by Dmitry Podgorny (pasis) to make it buildable with Android NDK.
Installation instructions
You must have android-ndk installed. Then run:
Code:
git clone https://github.com/xmikos/setools-android.git
cd setools-android
ndk-build
Now you can copy executables from libs/armeabi directory (sepolicy-inject, sesearch and seinfo) to /system/xbin directory on your device.
Usage
Code:
sepolicy-inject -s <source type> -t <target type> -c <class> -p <perm>[,<perm2>,<perm3>,...] [-P <policy file>] [-o <output file>] [-l|--load]
sepolicy-inject -Z type_to_make_permissive [-P <policy file>] [-o <output file>] [-l|--load]
sepolicy-inject -z type_to_make_nonpermissive [-P <policy file>] [-o <output file>] [-l|--load]
For example if you want to allow vdc to write to pseudo-terminal (so you can see replies from vdc command):
Code:
sepolicy-inject -s vdc -t devpts -c chr_file -p read,write -l
Download
Latest binaries for all architectures
Project on GitHub
XDA:DevDB Information
setools-android with sepolicy-inject, Tool/Utility for all devices (see above for details)
Contributors
Mikos, joshua_brindle, Dmitry Podgorny (pasis)
Source Code: https://github.com/xmikos/setools-android
Version Information
Status: Stable
Current Stable Version: 1.3
Stable Release Date: 2017-08-22
Created 2014-12-19
Last Updated 2017-08-22
Mikos,
hi,
i was wondering if you would go further into depth on the command line options,
specifically can i "piggy-back" supolicy onto sepolicy or can you provide a non-generic example of
how to inject say a static su binary with the proper context [seapp_context,file_context,property_context,service_context]
i would be doing this in a debian arm chroot,
the policy is for samsung galaxy tab 4 8.0 sm-t330nu LP 5.1.1 firmware release.
i'm battling apparently selinux AND knox
my current adventure is outlined here..,
http://forum.xda-developers.com/tab-4/general/sm-lp-5-1-1-supersu-t3160110
i have clone your repo and am downloading either ndk or studio.
thanks
m
moonbutt74 said:
Mikos,
i was wondering if you would go further into depth on the command line options,
specifically can i "piggy-back" supolicy onto sepolicy or can you provide a non-generic example of
how to inject say a static su binary with the proper context [seapp_context,file_context,property_context,service_context]
Click to expand...
Click to collapse
Hello, the syntax is simple, if you want comparison with supolicy, here is one example (taken from my SnooperStopper app):
Code:
supolicy --live 'allow vdc init fifo_file {read write getattr}'
is equivalent to:
Code:
sepolicy-inject -s vdc -t init -c fifo_file -p read,write,getattr -l
Mikos,
thanks i got your toolkit built API 19 armeabi-v7a
seinfo is neat.
okay so i am a bit of a dumb dumb, would be up for jumping in on my thread and helping out.
the problem with supersu seems to be at app_process -> /system/xbin/daemonsu
Code:
F/appproc ( 305): Error changing dalvik-cache ownership : Permission denied
F/libc ( 305): Fatal signal 6 (SIGABRT), code -6 in tid 305 (app_process32_o)
and that's where i'm stuck,
also how do i build these tools fully static if possible ? the deb arm chroot doesn't seem to like them
thanks
m
I have released version 1.1 (with support for allowing multiple SELinux permissions at once). I have also updated binaries (now built for armeabi, armeabi-v7a, mips and x86). You can download them from XDA Developers or GitHub.
moonbutt74 said:
okay so i am a bit of a dumb dumb, would be up for jumping in on my thread and helping out.
the problem with supersu seems to be at app_process -> /system/xbin/daemonsu
Code:
F/appproc ( 305): Error changing dalvik-cache ownership : Permission denied
F/libc ( 305): Fatal signal 6 (SIGABRT), code -6 in tid 305 (app_process32_o)
Click to expand...
Click to collapse
Sorry, I don't know what can be your problem. But have you looked at logcat? You should see exact missing SELinux permissions there...
moonbutt74 said:
also how do i build these tools fully static if possible ? the deb arm chroot doesn't seem to like them
Click to expand...
Click to collapse
These binaries are built static. Or at least static for Android (standard NDK build). Debian in chroot may use different libc or something like that.
Mikos,
hi , thanks again i got sorted on working with the toolkit :good:
i am 33 permissive domains and numerous modified permissions in and still haven't hit on the right one yet, but i'm having fun.
i am guessing file_lnk or a trans permission is what i should be focusing on ?
a quick question, the policy injection is permanent or do i need to script out an init.rc or init.d function ?
i ask because i did an experiment while in recovery with system mounted to restrict/remove a permission/permissive domain and on rebooting to recovery the change stuck, i modified access to sbin and sure enough after rebooting to recovery i could not run the custom utillities i have installed even with root access.
also i can not access allow/neverallow [av rules] rules when using sesearch, is this an intended limitation, or is there some additional code/patching required?
thanks.
m
Nice tool, thanks. Is there a way to inject new source and target types or is it only possible to expand existing contexts?
cloooned said:
Nice tool, thanks. Is there a way to inject new source and target types or is it only possible to expand existing contexts?
Click to expand...
Click to collapse
C,
hi, you can only work with what's in the policy if i'm doing the following correctly
for -s <source type>
Code:
sepolicy-inject -s [COLOR="Red"]hack[/COLOR] -t system -c process -p write -P sepolicy -o sepolicy-UNdead
libsepol.policydb_index_others: security: 1 users, 2 roles, 1331 types, 0 bools
libsepol.policydb_index_others: security: 1 sens, 1024 cats
libsepol.policydb_index_others: security: 86 classes, 15661 rules, 0 cond rules
source type hack does not exist
Could not add rule
same for -t <target type>
Code:
sepolicy-inject -s shell -t [COLOR="Red"]hack[/COLOR] -c process -p write -P sepolicy -o sepolicy-UNdead
"blah blah"
target type hack does not exist
Could not add rule
NOT the same for -c <class> , with class i was looking through external/sepolicy/security_classes to find a valid class not in policy
# More SE-X Windows stuff
class x_resource # userspace
so
Code:
sepolicy-inject -s shell -t system -c [COLOR="Red"]x_resource[/COLOR] -p write -P sepolicy -o sepolicy-UNdead
libsepol.policydb_index_others: security: 1 users, 2 roles, 1331 types, 0 bools
libsepol.policydb_index_others: security: 1 sens, 1024 cats
libsepol.policydb_index_others: security: 86 classes, 15661 rules, 0 cond rules
sesearch -A -c x_resource sepolicy-UNdead
Found 1 semantic av rules:
allow shell system_server : [COLOR="Red"]x_resource[/COLOR] write ;
so, again i am probably doing the first two wrong but i'm having a difficult time finding out what valid entries i can attempt
for <source> and <target> that aren't in the policy. <class> was easier as i figured there would be any x_window stuff.
m
Mikos said:
In Android 5.0, SELinux is in enforcing mode and sometimes you (or some root application) need to change SELinux policy. There has been only one tool capable of this at runtime - Chainfire's supolicy (part of SuperSU). But this tool is closed source and closed source root apps are great security risk. So I have fixed and enhanced sepolicy-inject from Joshua Brindle and combined it with setools-android by Dmitry Podgorny (pasis) to make it buildable with Android NDK.
Click to expand...
Click to collapse
Hi and thank you for the awesome tool!
A little question (probably also a dumb one) - will it work if called for init service, user root group root, default init service context?
Something like
Code:
service humble_sepatcher /system/bin/sh /system/xbin/sepolicy-inject "[ [I]parameters go here I suppose ;)[/I] ]"
user root
group root
class core
oneshot
Usecase:
I want to temporarily switch Selinux to Permissive mode very early in the init sequence (adding early initd to a ROM I don't have sources for)
setenforce and "write /sys/fs/selinux/enforce 0" do not work during init (but after the system boots completely and SUperSu finally does its deed, I can do setenforce 0 and enter permissive mode)
Also, since I am rather lame when it comes to Selinux what would be the best way to go about it ? (I suspect that allowing /system/bin/sh and echo to write to /sys/fs/selinux/enforce might be enough, but so far I can't even think of where to start)
Hello @Mikos,
I was wondering if your tool would get an update to support android 6 and policydb version 30. In the attachment is the error I receive.
I made a modification to sepolicy-inject to add a command (sepolicy-inject -R) to revert all the sepolicy changes. It does this by simply loading the original sepolicy in the ramdisk (/sepolicy) without modifying it.
http://pastebin.com/fKTu3FRC
@pittvandewitt I have uploaded new version 1.2 which does support policydb version 30 (Android 6) and also supports 64-bit architectures (arm64-v8a, mips64, x86_64).
Mikos said:
@pittvandewitt I have uploaded new version 1.2 which does support policydb version 30 (Android 6) and also supports 64-bit architectures (arm64-v8a, mips64, x86_64).
Click to expand...
Click to collapse
This is awesome news! Thank you for your work and also for letting me know
Is there anywhere that explains the usage of the injection tools - specifically how to manipulate the commands to achieve your intent? The instructions are limited and my time with selinux has only just begun and I am having a difficult time getting good search results on making the sepolicy changes I need. I specifically need to create an allowance to let a kernel script run at boot. I currently have a kernel script that gets pushed to the system partition during the flash and runs on boot without superSU installed in marshmallow, but on N-preview it does not run and I get sepolicy denials. If anyone can either give me a few pointers on using this tool, or knows of a good guide somewhere for me to get going - it would be much appreciated. TIA.
delete this somehow plz
Hy, everyone
This tool is musthave for the root\kernel devs, but it is so "unfinished"
I have added a few lines of code to make it powerfull and understand tool.
(#) Usage:
Injecting a rule:
./sepolicy-inject -s <source>[,...] -t <target>[,...] -c <class> -p <perm>[,...] [-N] -P <input> [-o <output>] [-v]
Injecting a rule no-audit (AUDITDENY):
./sepolicy-inject -s <source>[,...] -t <target>[,...] -c <class> -p <perm>[,...] -n [-N] -P <inpit> [-o <output>] [-v]
Change a permissive domain to non-permissive:
./sepolicy-inject -z <type> -P <input> [-o <output>] [-v]
Injecting a permissive domain, create new if missing:
./sepolicy-inject -Z <type> -P <input> [-o <output>] [-v]
Add a type attribute to a domain:
./sepolicy-inject -s <type>[,...] -a <attribute>[,...] -P <input> [-o <output>] [-v]
Remove a type attribute from a domain:
./sepolicy-inject -s <type>[,...] -A <attribute>[,...] -P <input> [-o <output>] [-v]
Add a transition source-->target (class) [new]:
./sepolicy-inject -s <source> -t <target> -c <class> -f <new> -P <input> [-o <output>] [-v]
Test a SELinux type exists:
./sepolicy-inject -e -s <type> -P <input> [-v]
Test a SELinux class exists:
./sepolicy-inject -e -c <class> -P <input> [-v]
Test a SELinux type has attribute:
./sepolicy-inject -e -s <type> -a <attribute> -P <input> [-v]
Test a SELinux type missing attribute:
./sepolicy-inject -e -s <type> -A <attribute> -P <input> [-v]
Use -v for verbose
Use -o for output file, rewriting the input file otherwise
Click to expand...
Click to collapse
This way it can work lke this:
.
/sepolicy-inject -s system_server,system_app,untrusted_app -t logd -c dir -p search,add_name,remove_name,open,read,write,getattr,setattr,relabelfrom,relabelto -P sepolicy
./sepolicy-inject -n -s shell -t kernel -c system -p module_request,ipc_info,syslog_console -N -P sepolicy
./sepolicy-inject -s shell -a system_domain,mlstrustedsubject -P sepolicy
./sepolicy-inject -s shell -A trstdomain_no_access_subject -P sepolicy
Click to expand...
Click to collapse
Attaching the source and precompiled cygwin and android binaries
darkmen said:
Hy, everyone
This tool is musthave for the root\kernel devs, but it is so "unfinished"
I have added a few lines of code to make it powerfull and understand tool.
This way it can work lke this:
.
Attaching the source and precompiled cygwin and android binaries
Click to expand...
Click to collapse
Hi, I'm using CM14.1 right now, I am having issue modifying system files, for examples, I am using FasterGPS to modify /system/etc/gps.conf, but FasterGPS failed to modify that file because of selinux is enforcing, because FasterGPS is working normally if I set set selinux is permissive using command setenforce=0 from root shell...
Can I use this setools-android to add rule(s) to selinux policy to allow some certain apps to modify system files without have to manually set selinux as permissive first?
If I can do that using this tool, how do I do it?
I have logcat from the app with selinux=enforce and selinux=policy to compare:
selinux=enforce
Code:
12-10 20:02:49.309 15389 15389 I FasterGPS: Loading /system/etc/gps.conf...
12-10 20:02:49.336 4598 4598 I MicroDetector: Keeping mic open: false
12-10 20:02:49.336 4598 16532 I DeviceStateChecker: DeviceStateChecker cancelled
12-10 20:02:49.337 4598 16514 I AudioController: internalShutdown
12-10 20:02:49.337 4598 16514 I MicrophoneInputStream: mic_close [email protected]
12-10 20:02:49.337 4598 9769 I MicroRecognitionRunner: Stopping hotword detection.
12-10 20:02:49.341 4598 4598 W SearchService: Abort, client detached.
12-10 20:02:49.353 369 369 I MSM-irqbalance: Decided to move IRQ128 from CPU5 to CPU4
12-10 20:02:49.357 1128 16590 D audio_hw_primary: in_standby: enter: stream (0xf6351f80) usecase(7: audio-record)
12-10 20:02:49.390 1128 16590 D audio_hw_primary: disable_audio_route: reset and update mixer path: audio-record
12-10 20:02:49.391 1128 16590 D hardware_info: hw_info_append_hw_type : device_name = voice-rec-mic
12-10 20:02:49.391 1128 16590 D audio_hw_primary: disable_snd_device: snd_device(66: voice-rec-mic)
12-10 20:02:49.394 1128 16590 D audio_hw_primary: in_set_parameters: enter: kvpairs=routing=0
12-10 20:02:49.397 1981 2106 I ActivityManager: Displayed org.fastergps/.ui.BaseActivity: +189ms
12-10 20:02:49.403 4598 16533 I MicroRecognitionRunner: Detection finished
12-10 20:02:49.406 1128 1326 D audio_hw_primary: adev_close_input_stream: enter:stream_handle(0xf6351f80)
12-10 20:02:49.406 1128 1326 D audio_hw_primary: in_standby: enter: stream (0xf6351f80) usecase(7: audio-record)
12-10 20:02:49.651 372 372 W SurfaceFlinger: couldn't log to binary event log: overflow.
12-10 20:02:49.883 16740 16740 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
12-10 20:02:49.887 16740 16740 D AndroidRuntime: CheckJNI is OFF
12-10 20:02:49.976 16740 16740 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
12-10 20:02:49.975 16740 16740 W main : type=1400 audit(0.0:207): avc: denied { write } for name="arm64" dev="mmcblk0p31" ino=278530 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=dir permissive=0
12-10 20:02:49.975 16740 16740 W main : type=1400 audit(0.0:208): avc: denied { write } for name="arm64" dev="mmcblk0p31" ino=278530 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=dir permissive=0
12-10 20:02:50.025 16740 16740 I Radio-JNI: register_android_hardware_Radio DONE
12-10 20:02:50.042 16740 16740 D AndroidRuntime: Calling main entry com.android.commands.am.Am
12-10 20:02:50.045 16757 16757 W main : type=1400 audit(0.0:209): avc: denied { dac_override } for capability=1 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
12-10 20:02:50.045 16757 16757 W main : type=1400 audit(0.0:210): avc: denied { dac_override } for capability=1 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
12-10 20:02:50.045 16757 16757 W main : type=1400 audit(0.0:211): avc: denied { dac_override } for capability=1 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
12-10 20:02:50.045 16757 16757 W main : type=1400 audit(0.0:212): avc: denied { dac_override } for capability=1 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
12-10 20:02:50.081 16740 16740 D AndroidRuntime: Shutting down VM
12-10 20:02:52.089 1981 1981 W WindowManager: Attempted to remove non-existing token: [email protected]
12-10 20:02:53.159 3698 3698 W InputMethodService: Window size has been changed. This may cause jankiness of resizing window: -1 -> -2
12-10 20:02:53.197 3698 3698 I LatinIME: Starting input. Cursor position = 0,0
12-10 20:02:53.333 379 379 E VM_BMS : failed to set wake_lock rc=-13
12-10 20:02:53.333 379 379 D VM_BMS : New BMS data - Size=56
12-10 20:02:53.333 379 379 D VM_BMS : Start process_bms_data
12-10 20:02:53.337 379 379 D VM_BMS : For batt_temp=338 fcc_mah=4032
12-10 20:02:53.337 379 379 D VM_BMS : For ocv=4196145 batt_temp=338 soc=86
12-10 20:02:53.337 379 379 D VM_BMS : fifo_count=5 acc_count=0
12-10 20:02:53.337 379 379 D VM_BMS : INIT: ocv=4196145 last_ocv=4196145 batt_temp=338 soc=86
12-10 20:02:53.337 379 379 D VM_BMS : For soc=86 batt_temp=338 slope=11600
12-10 20:02:53.337 379 379 D VM_BMS : For soc=86 batt_temp=338 rbatt_sf=92
12-10 20:02:53.337 379 379 D VM_BMS : rbatt_mohm_default=120, rbatt_mohm=110, sf=92 batt_temp=338
12-10 20:02:53.337 379 379 D VM_BMS : For ocv=4195968 batt_temp=338 soc=85
12-10 20:02:53.337 379 379 D VM_BMS : FIFO=0 fifo_avg=4.166385 rbatt=0.120000 slope=1.160000 ibatt=0.247261 ocv=4.195968 soc=85 fcc_ah=4.032000 sample_count=128 sample_interval=70 seq_num=80
12-10 20:02:53.337 379 379 D VM_BMS : For soc=85 batt_temp=338 slope=11600
12-10 20:02:53.337 379 379 D VM_BMS : For soc=85 batt_temp=338 rbatt_sf=93
12-10 20:02:53.337 379 379 D VM_BMS : rbatt_mohm_default=120, rbatt_mohm=111, sf=93 batt_temp=338
12-10 20:02:53.337 379 379 D VM_BMS : For ocv=4195738 batt_temp=338 soc=85
12-10 20:02:53.337 379 379 D VM_BMS : FIFO=1 fifo_avg=4.156925 rbatt=0.121000 slope=1.160000 ibatt=0.321717 ocv=4.195738 soc=85 fcc_ah=4.032000 sample_count=128 sample_interval=70 seq_num=80
12-10 20:02:53.337 379 379 D VM_BMS : For soc=85 batt_temp=338 slope=11600
12-10 20:02:53.337 379 379 D VM_BMS : For soc=85 batt_temp=338 rbatt_sf=93
12-10 20:02:53.338 379 379 D VM_BMS : rbatt_mohm_default=120, rbatt_mohm=111, sf=93 batt_temp=338
12-10 20:02:53.338 379 379 D VM_BMS : For ocv=4195592 batt_temp=338 soc=85
12-10 20:02:53.338 379 379 D VM_BMS : FIFO=2 fifo_avg=4.171121 rbatt=0.121000 slope=1.160000 ibatt=0.202844 ocv=4.195592 soc=85 fcc_ah=4.032000 sample_count=128 sample_interval=70 seq_num=80
12-10 20:02:53.338 379 379 D VM_BMS : For soc=85 batt_temp=338 slope=11600
12-10 20:02:53.338 379 379 D VM_BMS : For soc=85 batt_temp=338 rbatt_sf=93
12-10 20:02:53.338 379 379 D VM_BMS : rbatt_mohm_default=120, rbatt_mohm=111, sf=93 batt_temp=338
12-10 20:02:53.338 379 379 D VM_BMS : For ocv=4195721 batt_temp=338 soc=85
12-10 20:02:53.338 379 379 D VM_BMS : FIFO=3 fifo_avg=4.217594 rbatt=0.121000 slope=1.160000 ibatt=-0.181300 ocv=4.195722 soc=85 fcc_ah=4.032000 sample_count=128 sample_interval=70 seq_num=80
12-10 20:02:53.338 379 379 D VM_BMS : For soc=85 batt_temp=338 slope=11600
12-10 20:02:53.338 379 379 D VM_BMS : For soc=85 batt_temp=338 rbatt_sf=93
12-10 20:02:53.338 379 379 D VM_BMS : rbatt_mohm_default=120, rbatt_mohm=111, sf=93 batt_temp=338
12-10 20:02:53.338 379 379 D VM_BMS : For ocv=4195817 batt_temp=338 soc=85
12-10 20:02:53.338 379 379 D VM_BMS : FIFO=4 fifo_avg=4.211973 rbatt=0.121000 slope=1.160000 ibatt=-0.133918 ocv=4.195817 soc=85 fcc_ah=4.032000 sample_count=128 sample_interval=70 seq_num=80
12-10 20:02:53.338 379 379 I VM_BMS : power_supply_update: ocv_uv=4195817 ibatt=-133918 soc=85 seq_num=80
12-10 20:02:53.338 379 379 D VM_BMS : End process_bms_data
12-10 20:02:53.338 379 379 E VM_BMS : failed to wake_unlock rc=-13
12-10 20:02:53.540 380 498 I ThermalEngine: TM Id 'CHARGING_MONITOR' Sensor 'pop_mem' - alarm raised 1 at 43.0 degC
12-10 20:02:53.540 380 498 E ThermalEngine: Unable to set battery charging mitigation to 1
12-10 20:02:54.353 369 369 I MSM-irqbalance: Decided to move IRQ166 from CPU5 to CPU4
12-10 20:02:54.359 11980 13827 I PlayCommon: [497] com.google.android.play.a.g.e(900): Preparing logs for uploading
12-10 20:02:54.360 11980 13827 I PlayCommon: [497] com.google.android.play.a.g.e(902): No file ready to send
12-10 20:02:54.803 11980 12020 I PlayCommon: [444] com.google.android.play.a.g.e(900): Preparing logs for uploading
12-10 20:02:54.804 11980 12020 I PlayCommon: [444] com.google.android.play.a.g.e(902): No file ready to send
12-10 20:02:55.638 15389 15389 W IInputConnectionWrapper: finishComposingText on inactive InputConnection
12-10 20:02:55.638 15389 15389 W IInputConnectionWrapper: finishComposingText on inactive InputConnection
12-10 20:02:55.639 3698 3698 W InputMethodService: Window size has been changed. This may cause jankiness of resizing window: -1 -> -2
12-10 20:02:55.640 15389 15389 W IInputConnectionWrapper: finishComposingText on inactive InputConnection
12-10 20:02:58.920 1981 4461 W InputMethodManagerService: Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
12-10 20:02:59.354 369 369 I MSM-irqbalance: Decided to move IRQ155 from CPU7 to CPU4
12-10 20:03:04.353 369 369 I MSM-irqbalance: Decided to move IRQ215 from CPU7 to CPU6
12-10 20:03:06.102 15389 15389 W InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
12-10 20:03:06.102 15389 15389 I FasterGPS: Writing gps.conf to private files...
12-10 20:03:06.108 16797 16797 E linker : normalize_path - invalid input: "null", the input path should be absolute
12-10 20:03:06.108 16797 16797 W linker : Warning: unable to normalize "null"
12-10 20:03:06.145 15389 15389 I FasterGPS: Remounting for RW...
12-10 20:03:06.149 16807 16807 E linker : normalize_path - invalid input: "null", the input path should be absolute
12-10 20:03:06.149 16807 16807 W linker : Warning: unable to normalize "null"
12-10 20:03:06.215 15389 15389 W org.fastergps: type=1400 audit(0.0:213): avc: denied { read } for name="RootToolsMounts" dev="mmcblk0p31" ino=565251 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0
12-10 20:03:06.225 15389 15389 E RootCommands: Exception
12-10 20:03:06.225 15389 15389 E RootCommands: java.io.FileNotFoundException: /data/local/RootToolsMounts (Permission denied)
12-10 20:03:06.225 15389 15389 E RootCommands: at java.io.FileInputStream.open(Native Method)
12-10 20:03:06.225 15389 15389 E RootCommands: at java.io.FileInputStream.<init>(FileInputStream.java:146)
12-10 20:03:06.225 15389 15389 E RootCommands: at java.io.FileInputStream.<init>(FileInputStream.java:99)
12-10 20:03:06.225 15389 15389 E RootCommands: at java.io.FileReader.<init>(FileReader.java:58)
12-10 20:03:06.225 15389 15389 E RootCommands: at org.sufficientlysecure.rootcommands.Remounter.getMounts(Remounter.java:173)
12-10 20:03:06.225 15389 15389 E RootCommands: at org.sufficientlysecure.rootcommands.Remounter.remount(Remounter.java:66)
12-10 20:03:06.225 15389 15389 E RootCommands: at org.sufficientlysecure.rootcommands.Toolbox.remount(Toolbox.java:733)
12-10 20:03:06.225 15389 15389 E RootCommands: at org.fastergps.util.Utils.writeConfig(Utils.java:241)
12-10 20:03:06.225 15389 15389 E RootCommands: at org.fastergps.ui.BaseActivity$2.onPreferenceChange(BaseActivity.java:250)
12-10 20:03:06.225 15389 15389 E RootCommands: at android.preference.Preference.callChangeListener(Preference.java:939)
12-10 20:03:06.225 15389 15389 E RootCommands: at android.preference.ListPreference.onDialogClosed(ListPreference.java:282)
12-10 20:03:06.225 15389 15389 E RootCommands: at android.preference.DialogPreference.onDismiss(DialogPreference.java:402)
12-10 20:03:06.225 15389 15389 E RootCommands: at android.app.Dialog$ListenersHandler.handleMessage(Dialog.java:1343)
12-10 20:03:06.225 15389 15389 E RootCommands: at android.os.Handler.dispatchMessage(Handler.java:102)
12-10 20:03:06.225 15389 15389 E RootCommands: at android.os.Looper.loop(Looper.java:154)
12-10 20:03:06.225 15389 15389 E RootCommands: at android.app.ActivityThread.main(ActivityThread.java:6126)
12-10 20:03:06.225 15389 15389 E RootCommands: at java.lang.reflect.Method.invoke(Native Method)
12-10 20:03:06.225 15389 15389 E RootCommands: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
12-10 20:03:06.225 15389 15389 E RootCommands: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
12-10 20:03:06.225 15389 15389 E FasterGPS: remount failed!
selinux=permissive
Code:
12-10 20:19:13.707 9292 9292 I FasterGPS: Loading /system/etc/gps.conf...
12-10 20:19:13.774 9292 9324 I Adreno : QUALCOMM build : d842ad3, Ia10634f51b
12-10 20:19:13.774 9292 9324 I Adreno : Build Date : 01/04/16
12-10 20:19:13.774 9292 9324 I Adreno : OpenGL ES Shader Compiler Version: XE031.06.00.05
12-10 20:19:13.774 9292 9324 I Adreno : Local Branch : mybranch17585849
12-10 20:19:13.774 9292 9324 I Adreno : Remote Branch : quic/LA.BR.1.2.6_rb1.7
12-10 20:19:13.774 9292 9324 I Adreno : Remote Branch : NONE
12-10 20:19:13.774 9292 9324 I Adreno : Reconstruct Branch : NOTHING
12-10 20:19:13.780 9292 9324 I OpenGLRenderer: Initialized EGL, version 1.4
12-10 20:19:13.780 9292 9324 D OpenGLRenderer: Swap behavior 1
12-10 20:19:13.851 1277 1305 I ActivityManager: Displayed org.fastergps/.ui.BaseActivity: +459ms
12-10 20:19:13.886 371 371 W SurfaceFlinger: couldn't log to binary event log: overflow.
12-10 20:19:13.919 388 511 I ThermalEngine: TM Id 'CHARGING_MONITOR' Sensor 'pop_mem' - alarm raised 2 at 45.0 degC
12-10 20:19:13.920 388 511 E ThermalEngine: Unable to set battery charging mitigation to 2
12-10 20:19:14.273 9322 9322 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
12-10 20:19:14.277 9322 9322 D AndroidRuntime: CheckJNI is OFF
12-10 20:19:14.422 9322 9322 I main : type=1400 audit(0.0:26): avc: denied { execmem } for scontext=u:r:zygote:s0 tcontext=u:r:zygote:s0 tclass=process permissive=1
12-10 20:19:14.422 9322 9322 I main : type=1400 audit(0.0:27): avc: denied { execute } for path="/dev/ashmem" dev="tmpfs" ino=5858 scontext=u:r:zygote:s0 tcontext=u:object_r:ashmem_device:s0 tclass=chr_file permissive=1
12-10 20:19:14.422 9322 9322 I main : type=1400 audit(0.0:28): avc: denied { execute } for path=2F6465762F6173686D656D2F64616C76696B2D6A69742D636F64652D6361636865202864656C6574656429 dev="tmpfs" ino=85393 scontext=u:r:zygote:s0 tcontext=u:object_r:zygote_tmpfs:s0 tclass=file permissive=1
12-10 20:19:14.448 9322 9322 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
--------- beginning of crash
12-10 20:19:14.471 9328 9328 F libc : CANNOT LINK EXECUTABLE "/system/bin/dex2oat": "/system/lib64/libsigchain.so" is 64-bit instead of 32-bit
12-10 20:19:14.471 9328 9328 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 9328 (dex2oat)
12-10 20:19:14.478 243 243 W : debuggerd: handling request: pid=9328 uid=0 gid=0 tid=9328
12-10 20:19:14.544 9329 9329 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
12-10 20:19:14.544 9329 9329 F DEBUG : CM Version: '14.1-20161210-NIGHTLY-ido'
12-10 20:19:14.544 9329 9329 F DEBUG : Build fingerprint: 'Xiaomi/cm_ido/ido:7.1.1/NMF26O/40801d0bc7:userdebug/test-keys'
12-10 20:19:14.544 9329 9329 F DEBUG : Revision: '0'
12-10 20:19:14.544 9329 9329 F DEBUG : ABI: 'arm'
12-10 20:19:14.545 9329 9329 F DEBUG : pid: 9328, tid: 9328, name: dex2oat >>> /system/bin/dex2oat <<<
12-10 20:19:14.545 9329 9329 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
12-10 20:19:14.545 9329 9329 F DEBUG : r0 00000000 r1 00002470 r2 00000006 r3 00000008
12-10 20:19:14.545 9329 9329 F DEBUG : r4 f744258c r5 00000006 r6 f7442534 r7 0000010c
12-10 20:19:14.545 9329 9329 F DEBUG : r8 fff2ea58 r9 00000001 sl fff2ea80 fp f73d0010
12-10 20:19:14.545 9329 9329 F DEBUG : ip 00000002 sp fff2e9f0 lr f7422d5f pc f7423778 cpsr 200f0010
12-10 20:19:14.559 9329 9329 F DEBUG :
12-10 20:19:14.559 9329 9329 F DEBUG : backtrace:
12-10 20:19:14.562 9329 9329 F DEBUG : #00 pc 00046778 /system/bin/linker (__dl_tgkill+12)
12-10 20:19:14.562 9329 9329 F DEBUG : #01 pc 00045d5b /system/bin/linker (__dl_pthread_kill+34)
12-10 20:19:14.562 9329 9329 F DEBUG : #02 pc 0003e0ff /system/bin/linker (__dl_raise+10)
12-10 20:19:14.562 9329 9329 F DEBUG : #03 pc 0003cbbb /system/bin/linker (__dl___libc_android_abort+34)
12-10 20:19:14.562 9329 9329 F DEBUG : #04 pc 0003bb18 /system/bin/linker (__dl_abort+4)
12-10 20:19:14.563 9329 9329 F DEBUG : #05 pc 0003dbfb /system/bin/linker (__dl___libc_fatal+22)
12-10 20:19:14.563 9329 9329 F DEBUG : #06 pc 00009c47 /system/bin/linker (__dl__ZL29__linker_init_post_relocationR19KernelArgumentBlockj+3146)
12-10 20:19:14.563 9329 9329 F DEBUG : #07 pc 00008f67 /system/bin/linker (__dl___linker_init+358)
12-10 20:19:14.563 9329 9329 F DEBUG : #08 pc 000027c0 /system/bin/linker (_start+4)
12-10 20:19:14.604 1277 2062 W NativeCrashListener: Couldn't find ProcessRecord for pid 9328
12-10 20:19:14.607 243 243 W : debuggerd: resuming target 9328
12-10 20:19:14.607 243 243 E : debuggerd: failed to send signal 18 to target: No such process
12-10 20:19:14.614 1277 1302 I BootReceiver: Copying /data/tombstones/tombstone_01 to DropBox (SYSTEM_TOMBSTONE)
12-10 20:19:14.622 9322 9322 W art : Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg /system/framework/am.jar --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a53 --instruction-set-features=default --no-watch-dog --dex-file=/system/framework/am.jar --oat-fd=11 --oat-location=/data/dalvik-cache/arm64/[email protected]@[email protected] --compiler-filter=speed) because non-0 exit status
12-10 20:19:14.690 9322 9322 I Radio-JNI: register_android_hardware_Radio DONE
12-10 20:19:14.715 9322 9322 D AndroidRuntime: Calling main entry com.android.commands.am.Am
12-10 20:19:14.733 370 370 E SELinux : avc: denied { find } for service=activity pid=9322 uid=0 scontext=u:r:zygote:s0 tcontext=u:object_r:activity_service:s0 tclass=service_manager permissive=1
12-10 20:19:14.734 370 370 E SELinux : avc: denied { find } for service=package pid=9322 uid=0 scontext=u:r:zygote:s0 tcontext=u:object_r:package_service:s0 tclass=service_manager permissive=1
12-10 20:19:14.732 9322 9322 I main : type=1400 audit(0.0:29): avc: denied { call } for scontext=u:r:zygote:s0 tcontext=u:r:system_server:s0 tclass=binder permissive=1
12-10 20:19:14.732 9322 9322 I main : type=1400 audit(0.0:30): avc: denied { transfer } for scontext=u:r:zygote:s0 tcontext=u:r:system_server:s0 tclass=binder permissive=1
12-10 20:19:14.762 3169 3169 I Binder:1277_7: type=1400 audit(0.0:31): avc: denied { call } for scontext=u:r:system_server:s0 tcontext=u:r:zygote:s0 tclass=binder permissive=1
12-10 20:19:14.774 9322 9322 D AndroidRuntime: Shutting down VM
12-10 20:19:16.169 368 368 I MSM-irqbalance: Decided to move IRQ166 from CPU7 to CPU6
12-10 20:19:16.789 1277 1277 W WindowManager: Attempted to remove non-existing token: [email protected]
12-10 20:19:16.979 388 511 I ThermalEngine: TM Id 'CHARGING_MONITOR' Sensor 'pop_mem' - alarm cleared 2 at 43.0 degC
12-10 20:19:16.979 388 511 E ThermalEngine: Unable to set battery charging mitigation to 1
12-10 20:19:18.558 3073 3497 E ctxmgr : [ProducerActiveIntervalImpl]closeActiveInterval: Error: ongoing, trying to close
12-10 20:19:18.593 3073 5394 I PlaceInferenceEngine: [anon] Setup for configuration 105:[]
12-10 20:19:18.593 3073 5394 I PlaceInferenceEngine: [anon] Active modules after start(): 0
12-10 20:19:21.168 368 368 I MSM-irqbalance: Decided to move IRQ155 from CPU7 to CPU6
12-10 20:19:22.869 9292 9292 W InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
12-10 20:19:22.878 1277 6085 W InputMethodManagerService: Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
12-10 20:19:26.168 368 368 I MSM-irqbalance: Decided to move IRQ57 from CPU7 to CPU6
12-10 20:19:27.781 388 513 I ThermalEngine: Mitigation:CLUSTER[1]:1459200 Khz
12-10 20:19:28.486 9292 9292 W InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
12-10 20:19:28.486 9292 9292 I FasterGPS: Writing gps.conf to private files...
12-10 20:19:28.493 9371 9371 E linker : normalize_path - invalid input: "null", the input path should be absolute
12-10 20:19:28.493 9371 9371 W linker : Warning: unable to normalize "null"
12-10 20:19:28.529 9292 9292 I FasterGPS: Remounting for RW...
12-10 20:19:28.532 9381 9381 E linker : normalize_path - invalid input: "null", the input path should be absolute
12-10 20:19:28.532 9381 9381 W linker : Warning: unable to normalize "null"
12-10 20:19:28.602 9292 9292 I org.fastergps: type=1400 audit(0.0:32): avc: denied { read } for name="RootToolsMounts" dev="mmcblk0p31" ino=565251 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=1
12-10 20:19:28.602 9292 9292 I org.fastergps: type=1400 audit(0.0:33): avc: denied { getattr } for path="/data/local/RootToolsMounts" dev="mmcblk0p31" ino=565251 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=1
12-10 20:19:28.612 9394 9394 E linker : normalize_path - invalid input: "null", the input path should be absolute
12-10 20:19:28.613 9394 9394 W linker : Warning: unable to normalize "null"
12-10 20:19:28.702 388 511 I ThermalEngine: TM Id 'CHARGING_MONITOR' Sensor 'pop_mem' - alarm raised 2 at 45.0 degC
12-10 20:19:28.702 388 511 E ThermalEngine: Unable to set battery charging mitigation to 2
12-10 20:19:28.715 9407 9407 E linker : normalize_path - invalid input: "null", the input path should be absolute
12-10 20:19:28.715 9407 9407 W linker : Warning: unable to normalize "null"
12-10 20:19:28.815 9421 9421 E linker : normalize_path - invalid input: "null", the input path should be absolute
12-10 20:19:28.815 9421 9421 W linker : Warning: unable to normalize "null"
12-10 20:19:29.039 9438 9438 E linker : normalize_path - invalid input: "null", the input path should be absolute
12-10 20:19:29.039 9438 9438 W linker : Warning: unable to normalize "null"
12-10 20:19:29.122 9292 9292 I FasterGPS: Copying gps.conf from private files to system partition...
12-10 20:19:29.124 9378 9378 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
12-10 20:19:29.128 9378 9378 D AndroidRuntime: CheckJNI is OFF
12-10 20:19:29.161 9292 9292 I FasterGPS: Remounting back to RO...
--------------------- update ---------------------
I try one of your example command I get this error:
Code:
1|ido:/system/xbin # ./sepolicy-inject -e -c untrusted_app -P /sepolicy -v
libsepol.avtab_read_item: more than one specifier
libsepol.avtab_read: failed on entry 100 of 19609
error(s) encountered while parsing configuration
Could not load policy
Failed
Help me please with the rule. I'm having an error when running the APPS.
E dex2oat : Failed to create oat file: /data/dalvik-cache/arm/[email protected]@[email protected][email protected]: Permission denied
E dex2oat : Failed to create oat file: /data/dalvik-cache/arm/[email protected]@[email protected][email protected]: Permission denied
I think "sepolicy-inject" help me.
Andrew.
can u update it to inject into android 7.1.x sepolicy ...

suddenly won't boot

My Nexus 10 is suddenly stuck in a reboot loop. It says 'starting apps' for a while and then starts up again, although it doesn't seem to completely reboot (I don't see the Google unlocked bootloader image each time).
I wasn't trying to flash it or anything. It's been running the same CM build for months. I just woke up and found it like this yesterday.
I have TWRP installed and used it to wipe the Dalvik cache, which didn't help. It boots in safe mode ok though.
Is there anything else I can do other than wipe it?
I got the log from boot up via adb, it ends with the following:
--------- beginning of crash
09-23 12:59:28.261 588 588 F libc : invalid address or address of corrupt block 0x279 passed to dlfree
09-23 12:59:28.262 588 588 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0xdeadbaad in tid 588 (ndroid.systemui)
09-23 12:59:28.262 150 150 I DEBUG : property debug.db.uid not set; NOT waiting for gdb.
09-23 12:59:28.262 150 150 I DEBUG : HINT: adb shell setprop debug.db.uid 100000
09-23 12:59:28.262 150 150 I DEBUG : HINT: adb forward tcp:5039 tcp:5039
09-23 12:59:28.268 149 476 I iptables: iptables: No chain/target/match by that name.
09-23 12:59:28.268 149 476 I iptables: iptables terminated by exit(1)
09-23 12:59:28.268 149 476 E Netd : exec() res=0, status=256 for /system/bin/iptables -w -F st_clear_detect
09-23 12:59:28.278 149 476 I ip6tables: ip6tables: No chain/target/match by that name.
09-23 12:59:28.278 149 476 I ip6tables: ip6tables terminated by exit(1)
09-23 12:59:28.278 149 476 E Netd : exec() res=0, status=256 for /system/bin/ip6tables -w -F st_clear_detect
09-23 12:59:28.292 149 476 I iptables: iptables: No chain/target/match by that name.
09-23 12:59:28.299 149 476 I iptables: iptables terminated by exit(1)
09-23 12:59:28.299 149 476 E Netd : exec() res=0, status=256 for /system/bin/iptables -w -X st_penalty_log
09-23 12:59:28.307 149 476 I ip6tables: ip6tables: No chain/target/match by that name.
09-23 12:59:28.307 149 476 I ip6tables: ip6tables terminated by exit(1)
09-23 12:59:28.307 149 476 E Netd : exec() res=0, status=256 for /system/bin/ip6tables -w -X st_penalty_log
09-23 12:59:28.317 149 476 I iptables: iptables: No chain/target/match by that name.
09-23 12:59:28.322 149 476 I iptables: iptables terminated by exit(1)
09-23 12:59:28.322 149 476 E Netd : exec() res=0, status=256 for /system/bin/iptables -w -X st_penalty_reject
09-23 12:59:28.332 149 476 I ip6tables: ip6tables: No chain/target/match by that name.
09-23 12:59:28.334 149 476 I ip6tables: ip6tables terminated by exit(1)
09-23 12:59:28.334 149 476 E Netd : exec() res=0, status=256 for /system/bin/ip6tables -w -X st_penalty_reject
09-23 12:59:28.336 450 550 D wifi : set interface wlan0 flags (UP)
09-23 12:59:28.336 450 550 I WifiHAL : Initializing wifi
09-23 12:59:28.336 450 550 I WifiHAL : Creating socket
09-23 12:59:28.337 450 550 E WifiHAL : Could not find group vendor
09-23 12:59:28.337 450 550 I WifiHAL : Initialized Wifi HAL Successfully; vendor cmd = 103
09-23 12:59:28.337 450 550 D wifi : Did set static halHandle = 0xb77f56c8
09-23 12:59:28.337 450 550 D wifi : halHandle = 0xb77f56c8, mVM = 0xb7264408, mCls = 0x200782
09-23 12:59:28.337 450 550 D wifi : array field set
09-23 12:59:28.337 450 550 I WifiNative-HAL: interface[0] = wlan0
09-23 12:59:28.337 450 550 I WifiNative-HAL: interface[1] = p2p0
09-23 12:59:28.340 450 793 I WifiNative-HAL: Waiting for HAL events mWifiHalHandle=3078575816
09-23 12:59:28.340 450 793 D wifi : waitForHalEvents called, vm = 0xb7264408, obj = 0x200782, env = 0xb77b58d8
09-23 12:59:28.340 450 550 D WifiMonitor: startMonitoring(wlan0) with mConnected = false
09-23 12:59:28.341 450 550 E WifiHW : Unable to open connection to supplicant on "@android:wpa_wlan0": No such file or directory
09-23 12:59:28.348 149 476 I iptables: iptables: No chain/target/match by that name.
09-23 12:59:28.351 450 478 I ActivityManager: Start proc 795:com.android.settings/1000 for broadcast com.android.settings/.widget.SettingsAppWidgetProvider
09-23 12:59:28.357 149 476 I iptables: iptables terminated by exit(1)
09-23 12:59:28.358 149 476 E Netd : exec() res=0, status=256 for /system/bin/iptables -w -X st_clear_caught
09-23 12:59:28.363 150 150 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
09-23 12:59:28.363 150 150 F DEBUG : CM Version: '13.0-20160820-SNAPSHOT-ZNH5YAO0J6-manta'
09-23 12:59:28.363 150 150 F DEBUG : Build fingerprint: 'google/mantaray/manta:5.1.1/LMY47V/1836172:user/release-keys'
09-23 12:59:28.363 150 150 F DEBUG : Revision: '0'
09-23 12:59:28.363 150 150 F DEBUG : ABI: 'arm'
09-23 12:59:28.363 150 150 F DEBUG : pid: 588, tid: 588, name: ndroid.systemui >>> com.android.systemui <<<
09-23 12:59:28.363 150 150 E DEBUG : AM write failed: Broken pipe
09-23 12:59:28.363 150 150 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xdeadbaad
09-23 12:59:28.383 149 476 I ip6tables: ip6tables: No chain/target/match by that name.
09-23 12:59:28.384 149 476 I ip6tables: ip6tables terminated by exit(1)
09-23 12:59:28.384 149 476 E Netd : exec() res=0, status=256 for /system/bin/ip6tables -w -X st_clear_caught
09-23 12:59:28.388 150 150 F DEBUG : Abort message: 'invalid address or address of corrupt block 0x279 passed to dlfree'
09-23 12:59:28.388 150 150 F DEBUG : r0 deadbaad r1 7c6433a6 r2 00000000 r3 00001200
09-23 12:59:28.388 150 150 F DEBUG : r4 00000279 r5 00000281 r6 000000cf r7 bee076bc
09-23 12:59:28.388 150 150 F DEBUG : r8 bee076b8 r9 bee076b4 sl bee076c0 fp 00005808
09-23 12:59:28.388 150 150 F DEBUG : ip b6cc6618 sp bee07660 lr b6c90139 pc b6c90140 cpsr 600f0030
09-23 12:59:28.393 150 150 F DEBUG :
09-23 12:59:28.393 150 150 F DEBUG : backtrace:
09-23 12:59:28.393 150 150 F DEBUG : #00 pc 00034140 /system/lib/libc.so (dlfree+799)
09-23 12:59:28.393 150 150 F DEBUG : #01 pc 00015c01 /system/lib/libandroidfw.so (_ZN7android13ResStringPool6uninitEv+36)
09-23 12:59:28.393 150 150 F DEBUG : #02 pc 00016b87 /system/lib/libandroidfw.so (_ZN7android10ResXMLTree6uninitEv+14)
09-23 12:59:28.393 150 150 F DEBUG : #03 pc 00016b61 /system/lib/libandroidfw.so (_ZN7android10ResXMLTreeD1Ev+4)
09-23 12:59:28.393 150 150 F DEBUG : #04 pc 00011d57 /system/lib/libandroidfw.so (_ZN7android12AssetManager10getPkgNameEPKc+274)
09-23 12:59:28.393 150 150 F DEBUG : #05 pc 00011dcf /system/lib/libandroidfw.so (_ZN7android12AssetManager18getBasePackageNameEj+54)
09-23 12:59:28.393 150 150 F DEBUG : #06 pc 000872d7 /system/lib/libandroid_runtime.so
09-23 12:59:28.393 150 150 F DEBUG : #07 pc 71fcac89 /data/dalvik-cache/arm/[email protected]@boot.oat (offset 0x1f67000)
09-23 12:59:28.412 149 476 I iptables: iptables: No chain/target/match by that name.
09-23 12:59:28.420 149 476 I iptables: iptables terminated by exit(1)
09-23 12:59:28.420 149 476 E Netd : exec() res=0, status=256 for /system/bin/iptables -w -X st_clear_detect
09-23 12:59:28.429 149 476 I ip6tables: ip6tables: No chain/target/match by that name.
09-23 12:59:28.436 149 476 I ip6tables: ip6tables terminated by exit(1)
09-23 12:59:28.436 149 476 E Netd : exec() res=0, status=256 for /system/bin/ip6tables -w -X st_clear_detect
09-23 12:59:28.439 794 794 I wpa_supplicant: Successfully initialized wpa_supplicant
09-23 12:59:28.517 795 795 W System : ClassLoader referenced unknown path: /system/priv-app/Settings/lib/arm
Reset to factory defaults (and installed LineageOS 13.0 build). Boots ok, but then restoring my old apps causes the same thing to happen again.
Worked out that one of the latest app updates causes this. Removed it in safe mode and all is good. https://play.google.com/store/apps/details?id=au.com.realestate.app&hl=en

Phone freezing while calling/audio problem?

My phone is freezing while in call, neither I or my caller can hear each other while this happens.
From logcat it looks like some kid of audio problem but I don't know what is the real problem.
Could anyone better than me in logs reading tell me how the fix this or what's causing this?
Code:
D/TelephonyProvider( 3294): subIdString = 1 subId = 1
I/FastMixerState(12846): sMaxFastTracks = 8
D/TelephonyProvider( 3294): subIdString = 1 subId = 1
I/audioserver(12846): ServiceManager: 0xf5c18540
D/vndksupport(12846): Loading /vendor/lib/hw/[email protected] from current namespace instead of sphal namespace.
D/vndksupport(12846): Loading /vendor/lib/hw/[email protected] from current namespace instead of sphal namespace.
I/AudioFlinger(12846): Using default 3000 mSec as standby time.
D/TelephonyProvider( 3294): subIdString = 1 subId = 1
W/APM::ConfigParsingUtils(12846): loadOutput() invalid supported devices
W/APM::ConfigParsingUtils(12846): loadInput() invalid supported devices
W/APM::ConfigParsingUtils(12846): loadInput() invalid supported devices
I/APM::ConfigParsingUtils(12846): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
W/audio_hw_primary(12846): mixer_init: Failed to open mixer paths from /vendor/etc/mixer_paths_0.xml, retrying with legacy location
E/audio_route(12846): Control 'HPL Mixer ADCL Switch' doesn't exist - skipping
E/audio_route(12846): Control 'HPL Mixer ADCR Switch' doesn't exist - skipping
E/audio_route(12846): Control 'HPR Mixer ADCL Switch' doesn't exist - skipping
E/audio_route(12846): Control 'HPR Mixer ADCR Switch' doesn't exist - skipping
E/audio_route(12846): Control 'EP Mixer ADCL Switch' doesn't exist - skipping
E/audio_route(12846): Control 'EP Mixer ADCR Switch' doesn't exist - skipping
E/audio_route(12846): Control 'SPK Mixer ADCL Switch' doesn't exist - skipping
E/audio_route(12846): Control 'SPK Mixer ADCR Switch' doesn't exist - skipping
E/audio_route(12846): Control 'SPK Mixer ADCL Switch' doesn't exist - skipping
E/audio_route(12846): Control 'SPK Mixer ADCR Switch' doesn't exist - skipping
E/audio_route(12846): Control 'HPL Mixer ADCL Switch' doesn't exist - skipping
E/audio_route(12846): Control 'HPR Mixer ADCR Switch' doesn't exist - skipping
D/TelephonyProvider( 3294): subIdString = 1 subId = 1
E/audio_route(12846): Control 'EP EP On' already exists in path 'fm_radio-speaker-headset'
D/TelephonyProvider( 3294): subIdString = 1 subId = 1
V/audio_hw_voice(12846): voice_session_init: Forcing voice config: wide
E/audio_hw_primary(12846): Amplifier initialization failed
W/DeviceHAL(12846): Device 0xf5c3c400 get_master_volume: Function not implemented
W/DeviceHAL(12846): Device 0xf5c3c400 get_master_mute: Function not implemented
W/DeviceHAL(12846): Device 0xf5c3c400 set_master_volume: Function not implemented
W/DeviceHAL(12846): Device 0xf5c3c400 set_master_mute: Function not implemented
I/AudioFlinger(12846): loadHwModule() Loaded primary audio interface, handle 10
I/AudioFlinger(12846): openOutput() this 0xf5c3d000, module 10 Device 2, SamplingRate 48000, Format 0x000001, Channels 3, flags 2
I/AudioFlinger(12846): HAL output buffer size 256 frames, normal sink buffer size 768 frames
D/vndksupport(12846): Loading /vendor/lib/hw/[email protected] from current namespace instead of sphal namespace.
D/TelephonyProvider( 3294): subIdString = 1 subId = 1
I/ViPER4Android_v2(12846): Enter EffectGetDescriptor()
I/ViPER4Android_v2(12846): EffectGetDescriptor(), uuid = 41d3c987-e6cf-11e3-a88a-11aba5d5c51b
I/BufferProvider(12846): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
I/AudioFlinger(12846): Using module 10 as the primary audio interface
W/AudioFlinger(12846): moveEffects() bad srcOutput 0
I/AudioFlinger(12846): AudioFlinger's thread 0xf4c83a00 tid=12862 ready to run
W/AudioFlinger(12846): no wake lock to update, system not ready yet
W/AudioFlinger(12846): no wake lock to update, system not ready yet
I/AudioFlinger(12846): openOutput() this 0xf5c3d000, module 10 Device 2, SamplingRate 48000, Format 0x000001, Channels 3, flags 8
I/AudioFlinger(12846): HAL output buffer size 480 frames, normal sink buffer size 960 frames
I/AudioFlinger(12846): AudioFlinger's thread 0xf4603980 tid=12865 ready to run
W/AudioFlinger(12846): no wake lock to update, system not ready yet
W/AudioFlinger(12846): no wake lock to update, system not ready yet
I/AudioFlinger(12846): AudioFlinger's thread 0xf42032c0 tid=12867 ready to run
I/bt_a2dp_hw(12846): adev_open: adev_open in A2dp_hw module
I/AudioFlinger(12846): loadHwModule() Loaded a2dp audio interface, handle 18
D/vndksupport(12846): Loading /vendor/lib/hw/audio.usb.default.so from current namespace instead of sphal namespace.
D/TelephonyProvider( 3294): subIdString = 1 subId = 1
I/AudioFlinger(12846): loadHwModule() Loaded usb audio interface, handle 26
D/vndksupport(12846): Loading /vendor/lib/hw/audio.r_submix.default.so from current namespace instead of sphal namespace.
I/r_submix(12846): adev_open(name=audio_hw_if)
I/r_submix(12846): adev_init_check()
W/DeviceHAL(12846): Device 0xf4666640 set_master_mute: Function not implemented
I/AudioFlinger(12846): loadHwModule() Loaded r_submix audio interface, handle 34
D/r_submix(12846): adev_open_input_stream(addr=0)
D/r_submix(12846): submix_audio_device_create_pipe_l(addr=0, idx=9)
D/r_submix(12846): now using address 0 for route 9
I/AudioFlinger(12846): AudioFlinger's thread 0xf4203d80 tid=12871 ready to run
D/r_submix(12846): adev_close_input_stream()
D/r_submix(12846): submix_audio_device_release_pipe_l(idx=9) addr=0
D/r_submix(12846): submix_audio_device_destroy_pipe_l(): pipe destroyed
E/SoundTriggerHwService(12846): could not read implementation properties
D/TelephonyProvider( 3294): subIdString = 1 subId = 1
I/Telecom ( 2955): InCallController: Sending updateCall [[email protected], DIALING, com.android.phone/com.android.services.telephony.TelephonyConnectionService, tel:*********, A, childs(0), has_parent(false), [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MUTE CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO], [Properties:]]: [email protected]
I/Telecom ( 2955): InCallController: Components updated: [ComponentInfo{com.android.dialer/com.android.incallui.InCallServiceImpl}]: [email protected]
I/Dialer ( 6324): CallList.onUpdateCall - [DialerCall_1, DIALING, [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MUTE CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO], [Properties:], children:[], parent:null, conferenceable:[], videoState:Audio Only, mSessionModificationState:0, CameraDir:-1]
I/Dialer ( 6324): InCallPresenter.onCallListChange - Phone switching state: OUTGOING -> OUTGOING
I/Dialer ( 6324): VideoPauseController.onStateChange - hasPrimaryCallChanged: false, videoCanPause: false, isInBackground: false
I/Dialer ( 6324): InCallFragment.setSecondary - SecondaryInfo, show: false, name: null, label: null, providerLabel: null
W/ResourceType( 6324): Failure getting entry for 0x7f100292 (t=15 e=658) (error -75)
I/Dialer ( 6324): InCallFragment.setCallState - PrimaryCallState, state: 6, connectionLabel:
I/Dialer ( 6324): InCallActivity.onPrimaryCallStateChanged
I/Dialer ( 6324): InCallActivity.showMainInCallFragment - shouldShowAnswerUi: false, shouldShowVideoUi: false, didShowAnswerScreen: false, didShowInCallScreen: true, didShowVideoCallScreen: false
W/ResourceType( 6324): Failure getting entry for 0x7f100292 (t=15 e=658) (error -75)
I/Dialer ( 6324): InCallFragment.setCallState - PrimaryCallState, state: 6, connectionLabel:
I/Dialer ( 6324): InCallActivity.onPrimaryCallStateChanged
I/Dialer ( 6324): InCallActivity.showMainInCallFragment - shouldShowAnswerUi: false, shouldShowVideoUi: false, didShowAnswerScreen: false, didShowInCallScreen: true, didShowVideoCallScreen: false
I/AudioFlinger(12846): systemReady
D/PermissionCache(12846): checking android.permission.MODIFY_AUDIO_SETTINGS for uid=1000 => granted (1574 us)
E/AudioService( 2955): Audioserver started.
D/PermissionCache(12846): checking android.permission.CAPTURE_AUDIO_HOTWORD for uid=10181 => granted (340 us)
I/AudioFlinger(12846): AudioFlinger's thread 0xf3803c40 tid=12881 ready to run
I/audio_hw_primary(12846): adev_set_mode mode = 2
D/com.gsamlabs.bbm.lib.NotifyingService( 8880): ===:91:4309:41.4:1
V/audio_hw_voice(12846): prepare_voice_session: active_out_devices: 0x1
V/audio_hw_voice(12846): set_voice_session_audio_path: ril_set_call_audio_path(0)
I/rild ( 2512): type=1400 audit(0.0:1793): avc: denied { search } for name="12846" dev="proc" ino=87474 scontext=u:r:rild:s0 tcontext=u:r:audioserver:s0 tclass=dir permissive=1
I/rild ( 2512): type=1400 audit(0.0:1794): avc: denied { read } for name="cmdline" dev="proc" ino=87476 scontext=u:r:rild:s0 tcontext=u:r:audioserver:s0 tclass=file permissive=1
I/rild ( 2512): type=1400 audit(0.0:1795): avc: denied { open } for path="/proc/12846/cmdline" dev="proc" ino=87476 scontext=u:r:rild:s0 tcontext=u:r:audioserver:s0 tclass=file permissive=1
I/rild ( 2512): type=1400 audit(0.0:1796): avc: denied { getattr } for path="/proc/12846/cmdline" dev="proc" ino=87476 scontext=u:r:rild:s0 tcontext=u:r:audioserver:s0 tclass=file permissive=1
D/audio_route(12846): Apply path: voice-earpiece-wb
D/audio_route(12846): Apply path: voice-earpiece-mic-wb
V/audio_hw_voice(12846): start_voice_session: Opening voice PCMs
V/audio_hw_voice(12846): start_voice_session: pcm_config wideband
I/ActivityManager( 2955): Killing 10371:com.google.process.gapps/u0a113 (adj 906): empty #17
W/zygote ( 2955): kill(-10371, 9) failed: No such process
I/chatty ( 2955): uid=1000(system) ActivityManager identical 2 lines
W/zygote ( 2955): kill(-10371, 9) failed: No such process
I/zygote ( 2955): Successfully killed process cgroup uid 10113 pid 10371 in 135ms
E/BufferQueueProducer( 2475): [com.socialnmobile.dictapps.notepad.color.note/com.socialnmobile.colornote.activity.NoteEditor#0] disconnect: not connected (req=1)
W/libEGL (12010): EGLNativeWindowType 0xd3c7e008 disconnect failed
V/audio_hw_voice(12846): start_voice_session: enabling two mic control
F/libc (12846): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x98 in tid 12889 (reader), pid 12846 (audioserver)
I/crash_dump32(12891): type=1400 audit(0.0:1797): avc: denied { noatsecure } for scontext=u:r:audioserver:s0 tcontext=u:r:crash_dump:s0 tclass=process permissive=1
I/crash_dump32(12893): obtaining output fd from tombstoned, type: kDebuggerdTombstone
I//system/bin/tombstoned( 2515): received crash request for pid 12846
I/crash_dump32(12893): performing dump of process 12846 (target tid = 12889)
F/DEBUG (12893): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
F/DEBUG (12893): AospExtended Version: 'v5.8'
F/DEBUG (12893): Build fingerprint: 'samsung/s5neoltexx/s5neolte:6.0.1/MMB29K/G903FXXU1BQC1:user/release-keys'
F/DEBUG (12893): Revision: '0'
F/DEBUG (12893): ABI: 'arm'
F/DEBUG (12893): pid: 12846, tid: 12889, name: reader >>> /system/bin/audioserver <<<
F/DEBUG (12893): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x98
F/DEBUG (12893): Cause: null pointer dereference
F/DEBUG (12893): r0 00000000 r1 00000160 r2 00000001 r3 f32dc2fc
F/DEBUG (12893): r4 00000160 r5 f5c3ca88 r6 f5c3ca58 r7 f5c3c400
F/DEBUG (12893): r8 f52993f0 r9 00000002 sl 000002c0 fp f5c3ca00
F/DEBUG (12893): ip f511fefc sp f3182880 lr f51189dc pc f50f40c4 cpsr 80070030
F/DEBUG (12893):
F/DEBUG (12893): backtrace:
F/DEBUG (12893): #00 pc 000020c4 /system/lib/libtinyalsa.so (pcm_bytes_to_frames+39)
F/DEBUG (12893): #01 pc 000079d8 /system/lib/hw/audio.primary.universal7580.so (in_read+792)
F/DEBUG (12893): #02 pc 0001f45d /system/vendor/lib/hw/[email protected] (android::hardware::audio::V2_0::implementation::(anonymous namespace)::ReadThread::threadLoop()+216)
F/DEBUG (12893): #03 pc 0000d1b9 /system/lib/libutils.so (android::Thread::_threadLoop(void*)+144)
F/DEBUG (12893): #04 pc 00047ecf /system/lib/libc.so (__pthread_start(void*)+22)
F/DEBUG (12893): #05 pc 0001af59 /system/lib/libc.so (__start_thread+32)
W/NativeCrashListener( 2955): Couldn't find ProcessRecord for pid 12846
E//system/bin/tombstoned( 2515): Tombstone written to: /data/tombstones/tombstone_21
I/BootReceiver( 2955): Copying /data/tombstones/tombstone_21 to DropBox (SYSTEM_TOMBSTONE)
W/AudioSystem( 3132): AudioPolicyService server died!
W/AudioSystem( 2955): AudioPolicyService server died!
W/AudioSystem( 2955): AudioFlinger server died!
W/AudioSystem( 3737): AudioPolicyService server died!
W/AudioSystem( 3737): AudioFlinger server died!
W/AudioRecord( 3737): dead IAudioRecord, creating a new one from obtainBuffer()
I/ServiceManager( 2341): service 'media.audio_flinger' died
I/ServiceManager( 2341): service 'media.audio_policy' died
I/ServiceManager( 2341): service 'media.sound_trigger_hw' died
I/ServiceManager( 3737): Waiting for service media.audio_flinger...
I/ServiceManager( 2955): Waiting for service media.audio_policy...
W/BroadcastQueue( 2955): Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
W/BroadcastQueue( 2955): Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
I/ServiceManager( 3737): Waiting for service media.audio_flinger...
I/ServiceManager( 2955): Waiting for service media.audio_policy...
I/Xposed ( 3132): fsbi >> nc >> onDataChanged >> 0 > true > 75 > H+
I/ServiceManager( 3737): Waiting for service media.audio_flinger...
I/ServiceManager( 2955): Waiting for service media.audio_policy...
I/Xposed ( 3132): fsbi >> nc >> onDataChanged >> 0 > true > 50 > H+
I/ServiceManager( 3737): Waiting for service media.audio_flinger...
I/ServiceManager( 2955): Waiting for service media.audio_policy...
I/Telecom ( 2955): InCallController: Sending updateCall [[email protected], DIALING, com.android.phone/com.android.services.telephony.TelephonyConnectionService, tel:*********, A, childs(0), has_parent(false), [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MUTE CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO], [Properties:]]: [email protected]
I/Telecom ( 2955): InCallController: Components updated: [ComponentInfo{com.android.dialer/com.android.incallui.InCallServiceImpl}]: [email protected]
I/Telecom ( 2955): CallsManager: setCallState DIALING -> ACTIVE, call: [[email protected], DIALING, com.android.phone/com.android.services.telephony.TelephonyConnectionService, tel:*********, A, childs(0), has_parent(false), [Capabilities: CAPABILITY_SUPPORT_HOLD CAPABILITY_MUTE CAPABILITY_CANNOT_DOWNGRADE_VIDEO_TO_AUDIO], [Properties:]]: [email protected]

Categories

Resources