Problems with Hardware Decoder, KD Unit [dev's need help] - MTCD Android Head Units Q&A

Hello! I have a problem. I have app which need to use hardware decoder.
And when app trying do this, video driver it just crashes and dies.
I have KD v2.06, but some users reports that on another device it works.
Any suggestion ? @Malaysk maybe you can help ?
Code:
01-31 17:16:09.604 I/H264_DEBUG(7215): init done status 0, ts_en = 0 debug 0
01-31 17:16:09.605 E/vpu (7215): scan /proc/device-tree for vpu_service failed
01-31 17:16:09.605 E/vpu (7215): can not find dts for vpu_service
01-31 17:16:09.605 I/vpu_dma_buf(7215): USE ION_CMA_HEAP
01-31 17:16:09.606 E/vpu (7215): scan /proc/device-tree for vpu_service failed
01-31 17:16:09.606 E/vpu (7215): can not find dts for vpu_service
01-31 17:16:09.606 I/vpu_dma_buf(7215): USE ION_CMA_HEAP
01-31 17:16:09.606 I/H264_DEBUG(7215): decoded width 800 decoded height 480
01-31 17:16:09.607 I/H264_DEBUG(7215): display width 800, display height 480
01-31 17:16:09.607 I/vpu_api (7215): info_change break
01-31 17:16:09.607 I/vpu_api (7215): get info change out xxxx
01-31 17:16:09.609 F/libc (7215): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x8 in tid 9028 (Binder_3)
01-31 17:16:09.710 I/DEBUG (139): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-31 17:16:09.710 I/DEBUG (139): Build fingerprint: 'rockchip/rk3188/rk3188:5.1.1/LMY48Y/root12162133:userdebug/test-keys'
01-31 17:16:09.710 I/DEBUG (139): Revision: '0'
01-31 17:16:09.710 I/DEBUG (139): ABI: 'arm'
01-31 17:16:09.710 W/NativeCrashListener(402): Couldn't find ProcessRecord for pid 7215
01-31 17:16:09.710 I/DEBUG (139): pid: 7215, tid: 9028, name: Binder_3 >>> /system/bin/mediaserver <<<
01-31 17:16:09.710 I/DEBUG (139): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8
01-31 17:16:09.711 E/DEBUG (139): AM write failure (32 / Broken pipe)
01-31 17:16:09.726 I/DEBUG (139): r0 42c310a0 r1 00000000 r2 000064d4 r3 46039c94
01-31 17:16:09.726 I/DEBUG (139): r4 42cd12f0 r5 41a9d024 r6 42489f00 r7 00000007
01-31 17:16:09.726 I/DEBUG (139): r8 42cd12f0 r9 40b2a231 sl 000001e0 fp 42cd12b0
01-31 17:16:09.726 I/DEBUG (139): ip 41a9d004 sp 46039c90 lr 00000000 pc 41a96b34 cpsr 200d0010
01-31 17:16:09.726 I/DEBUG (139):
01-31 17:16:09.726 I/DEBUG (139): backtrace:
01-31 17:16:09.727 I/DEBUG (139): #00 pc 00002b34 /system/lib/libvpu.so (VPUMemLink+60)
01-31 17:16:09.727 I/DEBUG (139): #01 pc 00007330 /system/lib/libomxvpu_dec.so (Rkvpu_Post_OutputFrame+936)
01-31 17:16:09.727 I/DEBUG (139): #02 pc 00007acc /system/lib/libomxvpu_dec.so (Rkvpu_OMX_OutputBufferProcess+208)
01-31 17:16:09.727 I/DEBUG (139): #03 pc 00007b28 /system/lib/libomxvpu_dec.so
01-31 17:16:09.727 I/DEBUG (139): #04 pc 00016ea3 /system/lib/libc.so (__pthread_start(void*)+30)
01-31 17:16:09.727 I/DEBUG (139): #05 pc 00014deb /system/lib/libc.so (__start_thread+6)

Related

Android build tree image bootup failure.

HELP! I get this log with adb logcat.
D/AndroidRuntime( 92): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
D/AndroidRuntime( 92): CheckJNI is ON
D/dalvikvm( 92): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm( 92): Stale deps in cache file; removing and retrying
D/dalvikvm( 92): DexOpt: --- BEGIN 'core.jar' (bootstrap=1) ---
E/dalvikvm( 93): Too many exceptions during init (failed on 'Ljava/lang/NoClassDefFoundError;' 'java.lang.NoClassDefFoundEr
ror')
E/dalvikvm( 93): VM aborting
I/DEBUG ( 30): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 30): Build fingerprint: 'generic/htc_dream/dream/trout:1.5/CUPCAKE/eng.rao.20090519.141649:eng/test-keys'
I/DEBUG ( 30): pid: 93, tid: 93 >>> /system/bin/dexopt <<<
I/DEBUG ( 30): signal 11 (SIGSEGV), fault addr deadd00d
I/DEBUG ( 30): r0 00000328 r1 0000000c r2 0000000c r3 00000026
I/DEBUG ( 30): r4 deadd00d r5 0001f8c0 r6 ad06e1bc r7 00000000
I/DEBUG ( 30): r8 00000000 r9 00000000 10 00000000 fp 00000000
I/DEBUG ( 30): ip ad083eec sp bec73910 lr afe13e4d pc ad03b5c6 cpsr 20000030
I/DEBUG ( 30): #00 pc 0003b5c6 /system/lib/libdvm.so
I/DEBUG ( 30): #01 pc 0003ac84 /system/lib/libdvm.so
I/DEBUG ( 30): #02 pc 0003af00 /system/lib/libdvm.so
I/DEBUG ( 30): #03 pc 0005c586 /system/lib/libdvm.so
I/DEBUG ( 30): #04 pc 0005c7c0 /system/lib/libdvm.so
I/DEBUG ( 30): #05 pc 0005d09e /system/lib/libdvm.so
I/DEBUG ( 30): #06 pc 0003ac8a /system/lib/libdvm.so
I/DEBUG ( 30): #07 pc 0003af00 /system/lib/libdvm.so
I/DEBUG ( 30): #08 pc 0005c586 /system/lib/libdvm.so
I/DEBUG ( 30): #09 pc 0005c7c0 /system/lib/libdvm.so
I/DEBUG ( 30): #10 pc 0005d09e /system/lib/libdvm.so
I/DEBUG ( 30): #11 pc 0004eb16 /system/lib/libdvm.so
I/DEBUG ( 30): #12 pc 0004fe36 /system/lib/libdvm.so
I/DEBUG ( 30): #13 pc 00050012 /system/lib/libdvm.so
I/DEBUG ( 30): #14 pc 00008e5a /system/bin/dexopt
I/DEBUG ( 30): #15 pc 00008f14 /system/bin/dexopt
I/DEBUG ( 30): #16 pc 0001fd22 /system/lib/libc.so
I/DEBUG ( 30): #17 pc 0000bcb2 /system/lib/libc.so
I/DEBUG ( 30): #18 pc b000157e /system/bin/linker
I/DEBUG ( 30): stack:
I/DEBUG ( 30): bec738d0 000001e3
I/DEBUG ( 30): bec738d4 ad065213 /system/lib/libdvm.so
I/DEBUG ( 30): bec738d8 afe39f90
I/DEBUG ( 30): bec738dc afe39fe4
I/DEBUG ( 30): bec738e0 00000000
I/DEBUG ( 30): bec738e4 afe13e4d /system/lib/libc.so
I/DEBUG ( 30): bec738e8 0001f8c0 [heap]
I/DEBUG ( 30): bec738ec afe12e69 /system/lib/libc.so
I/DEBUG ( 30): bec738f0 0001f8c0 [heap]
I/DEBUG ( 30): bec738f4 ad083e10
I/DEBUG ( 30): bec738f8 0001f8c0 [heap]
I/DEBUG ( 30): bec738fc ad06e1bc /system/lib/libdvm.so
I/DEBUG ( 30): bec73900 00000000
I/DEBUG ( 30): bec73904 afe12ecd /system/lib/libc.so
I/DEBUG ( 30): bec73908 df002777
I/DEBUG ( 30): bec7390c e3a070ad
I/DEBUG ( 30): #00 bec73910 ad083e10
I/DEBUG ( 30): bec73914 ad03ac89 /system/lib/libdvm.so
I/DEBUG ( 30): #01 bec73918 0001f8c0 [heap]
I/DEBUG ( 30): bec7391c ad06e1bd /system/lib/libdvm.so
I/DEBUG ( 30): bec73920 ad06e1bc /system/lib/libdvm.so
I/DEBUG ( 30): bec73924 0001f8c0 [heap]
I/DEBUG ( 30): bec73928 ad06e1bc /system/lib/libdvm.so
I/DEBUG ( 30): bec7392c 00000000
I/DEBUG ( 30): bec73930 ad06e1bc /system/lib/libdvm.so
I/DEBUG ( 30): bec73934 ad03af05 /system/lib/libdvm.so
W/dalvikvm( 92): DexOpt: --- END 'core.jar' --- status=0x000b, process failed
E/dalvikvm( 92): Unable to extract+optimize DEX from '/system/framework/core.jar'
D/dalvikvm( 92): Failed on '/system/framework/core.jar' (boot=1)
D/dalvikvm( 92): VM cleaning up
D/dalvikvm( 92): LinearAlloc 0x0 used 4100 of 4194304 (0%)
W/dalvikvm( 92): JNI_CreateJavaVM failed
E/AndroidRuntime( 92): JNI_CreateJavaVM failed
Am i asking in the wrong forum?
I hope some at XDA will be able to help me out.

[Q] Can someone help me out with this LOGCAT ?

THANKS IN ADVANCE !!
Code:
I/ ( 1363): ServiceManager: 0xf7b958
I/HTC Acoustic( 1363): libhtc_acoustic.so version 2.0.0.6.
I/HTC Acoustic( 1363): open /system/etc/AudioPara4_WB.csv success.
I/HTC Acoustic( 1363): acoustic table version: GOFU-WB_20120511
I/HTC Acoustic( 1363): read_audio_para_from_file success.
E/HTC Acoustic( 1363): Fail to open /system/etc/AudioPara_HTC-India.csv -1.
E/dalvikvm( 1362): ERROR: couldn't find native method
I/HTC Acoustic( 1363): open /system/etc/AudioPara4.csv success.
I/HTC Acoustic( 1363): acoustic table version: GOFU_20120511
E/dalvikvm( 1362): Requested: Landroid/content/res/AssetManager;.splitThemePackage:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I
E/JNIHelp ( 1362): RegisterNatives failed for 'android/content/res/AssetManager', aborting
F/libc ( 1362): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)
I/HTC Acoustic( 1363): read_audio_para_from_file success.
I/HTC Acoustic( 1363): get_audpp_filter
I/HTC Acoustic( 1363): open /system/etc/AudioFilter.csv success.
I/HTC Acoustic( 1363): MBADRC Filter MBADRC FLAG = ffff.
I/HTC Acoustic( 1363): EQ flag = 00.
I/HTC Acoustic( 1363): get_audpre_filter
I/HTC Acoustic( 1363): open /system/etc/AudioPreProcess.csv success.
E/AudioHardwareMSM76XXA( 1363): failed to open AUTO_VOLUME_CONTROL /system/etc/AutoVolumeControl.txt: No such file or directory (2)
I/AudioFlinger( 1363): Loaded primary audio interface from QCOM Audio HW HAL (audio)
I/AudioFlinger( 1363): Using 'QCOM Audio HW HAL' (audio.primary) as the primary audio interface
I/AudioFlinger( 1363): Loaded a2dp audio interface from A2DP Audio HW HAL (audio)
D/AudioHardwareInterface( 1363): setMode(NORMAL)
I/AudioHardwareMSM76XXA( 1363): Set master volume to 7.
D/AudioHardwareMSM76XXA( 1363): rpc_snd_set_volume(0, 0, 7)
D/AudioHardwareMSM76XXA( 1363): rpc_snd_set_volume(1, 0, 7)
D/AudioHardwareMSM76XXA( 1363): rpc_snd_set_volume(3, 0, 7)
D/AudioHardwareMSM76XXA( 1363): rpc_snd_set_volume(2, 0, 7)
D/AudioHardwareMSM76XXA( 1363): rpc_snd_set_volume(-1, 0, 7)
D/AudioHardwareMSM76XXA( 1363): rpc_snd_set_volume(-1, 0, 7)
D/AudioHardwareMSM76XXA( 1363): rpc_snd_set_volume(5, 0, 1)
D/AudioHardwareMSM76XXA( 1363): rpc_snd_set_volume(6, 0, 1)
I/CameraService( 1363): CameraService started (pid=1363)
I/QualcommCameraHardware7225a( 1363): getCameraInfo: IN
I/QualcommCameraHardware7225a( 1363): getCameraInfo: loading libqcamera at 0xb000f050
I/QualcommCameraHardware7225a( 1363): getCameraInfo: numOfCameras = 1
I/QualcommCameraHardware7225a( 1363): Camera sensor 0 info:
I/QualcommCameraHardware7225a( 1363): camera_id: 0
I/QualcommCameraHardware7225a( 1363): modes_supported: 5
I/QualcommCameraHardware7225a( 1363): position: 0
I/QualcommCameraHardware7225a( 1363): sensor_mount_angle: 0
I/QualcommCameraHardware7225a( 1363): getCameraInfo: OUT
I/AudioFlinger( 1363): AudioFlinger's thread 0xf7e978 ready to run
W/AudioFlinger( 1363): Thread AudioOut_1 cannot connect to the power manager service
I/AudioHardwareMSM76XXA( 1363): do output routing device 2
I/AudioHardwareMSM76XXA( 1363): Routing audio to Speakerphone
W/AudioHardwareMSM76XXA( 1363): rpc_snd_set_device(1, 1, 1)
E/BTFMPinSwitching( 1363): switch mode failed because QCOM_FM feature is not available
D/AudioHardwareMSM76XXA( 1363): setVoiceVolume(1.000000)
I/AudioHardwareMSM76XXA( 1363): Setting in-call volume to 5 (available range is 2 to 5)
D/AudioHardwareMSM76XXA( 1363): rpc_snd_set_volume(256, 0, 5)
I/AudioPolicyService( 1363): Loaded audio policy from QCOM Audio Policy HAL (audio_policy)
I/DEBUG ( 1112): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 1112): Build fingerprint: 'htc_asia_india/htc_pico/pico:2.3.5/GRJ90/171430.1:user/release-keys'
I/DEBUG ( 1112): pid: 1362, tid: 1362 >>> zygote <<<
I/DEBUG ( 1112): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
I/DEBUG ( 1112): r0 deadbaad r1 00000001 r2 a0000000 r3 00000000
I/DEBUG ( 1112): r4 00000000 r5 00000027 r6 4088cacd r7 00000036
I/DEBUG ( 1112): r8 40232f04 r9 40212a8e 10 0000904c fp 00009062
I/DEBUG ( 1112): ip 4027e240 sp beee1a60 lr 400fc589 pc 400f88d4 cpsr 60000030
I/DEBUG ( 1112): d0 74726f6261202c27 d1 2f746e65746e6f63
I/DEBUG ( 1112): d2 657373412f736572 d3 726567616e614d74
I/DEBUG ( 1112): d4 0000d4cc0000d4b1 d5 0000d4e80000d4cd
I/DEBUG ( 1112): d6 0000d5040000d4e9 d7 0000d5200000d505
I/DEBUG ( 1112): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 1112): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 1112): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 1112): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 1112): d16 0000000040a82438 d17 0000000000000000
I/DEBUG ( 1112): d18 0000d5740000d559 d19 0000d5900000d575
I/DEBUG ( 1112): d20 0000d5ac0000d591 d21 0000d5c80000d5ad
I/DEBUG ( 1112): d22 0000d5e40000d5c9 d23 0000d6000000d5e5
I/DEBUG ( 1112): d24 0000000000000000 d25 0000000000000000
I/DEBUG ( 1112): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 1112): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 1112): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 1112): scr 60000010
I/DEBUG ( 1112):
I/DEBUG ( 1112): #00 pc 000178d4 /system/lib/libc.so
I/DEBUG ( 1112): #01 pc 0000c282 /system/lib/libnativehelper.so (jniRegisterNativeMethods)
I/DEBUG ( 1112): #02 pc 000463c8 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime21registerNativeMethodsEP7_JNIEnvPKcPK15JNINativeMethodi)
I/DEBUG ( 1112): #03 pc 00060c0e /system/lib/libandroid_runtime.so (_ZN7android37register_android_content_AssetManagerEP7_JNIEnv)
I/DEBUG ( 1112): #04 pc 000464d4 /system/lib/libandroid_runtime.so
I/DEBUG ( 1112): #05 pc 00046506 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime8startRegEP7_JNIEnv)
I/DEBUG ( 1112): #06 pc 000465fc /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime5startEPKcS2_)
I/DEBUG ( 1112): #07 pc 00008f0a /system/bin/app_process
I/DEBUG ( 1112): #08 pc 00016890 /system/lib/libc.so (__libc_init)
I/DEBUG ( 1112):
I/DEBUG ( 1112): code around pc:
I/DEBUG ( 1112): 400f88b4 4623b15c 2c006824 e026d1fb b12368db \.#F$h.,..&..h#.
I/DEBUG ( 1112): 400f88c4 21014a17 6011447a 48124798 24002527 .J.!zD.`.G.H'%.$
I/DEBUG ( 1112): 400f88d4 f7f47005 2106ef56 e802f7f6 460aa901 .p..V..!.......F
I/DEBUG ( 1112): 400f88e4 f04f2006 94015380 94029303 ebaef7f5 . O..S..........
I/DEBUG ( 1112): 400f88f4 4622a905 f7f52002 f7f4ebb8 2106ef42 .."F. ......B..!
I/DEBUG ( 1112):
I/DEBUG ( 1112): code around lr:
I/DEBUG ( 1112): 400fc568 41f0e92d 46804c0c 447c2600 68a56824 -..A.L.F.&|D$h.h
I/DEBUG ( 1112): 400fc578 e0076867 300cf9b5 dd022b00 47c04628 gh.....0.+..(F.G
I/DEBUG ( 1112): 400fc588 35544306 37fff117 6824d5f4 d1ee2c00 .CT5...7..$h.,..
I/DEBUG ( 1112): 400fc598 e8bd4630 bf0081f0 00027f76 41f0e92d 0F......v...-..A
I/DEBUG ( 1112): 400fc5a8 fb01b086 9004f602 461f4815 4615460c .........H.F.F.F
I/DEBUG ( 1112):
I/DEBUG ( 1112): memory map around addr deadbaad:
I/DEBUG ( 1112): beec1000-beee2000 [stack]
I/DEBUG ( 1112): (no map for address)
I/DEBUG ( 1112): (no map above)
I/DEBUG ( 1112):
I/DEBUG ( 1112): stack:
I/DEBUG ( 1112): beee1a20 44f64f88 /dev/ashmem/dalvik-LinearAlloc (deleted)
I/DEBUG ( 1112): beee1a24 408cee21 /system/lib/libdvm.so
I/DEBUG ( 1112): beee1a28 44f64658 /dev/ashmem/dalvik-LinearAlloc (deleted)
I/DEBUG ( 1112): beee1a2c 0000002b
I/DEBUG ( 1112): beee1a30 40124780 /system/lib/libc.so
I/DEBUG ( 1112): beee1a34 40124718 /system/lib/libc.so
I/DEBUG ( 1112): beee1a38 00000000
I/DEBUG ( 1112): beee1a3c 400fc589 /system/lib/libc.so
I/DEBUG ( 1112): beee1a40 00000000
I/DEBUG ( 1112): beee1a44 beee1a74 [stack]
I/DEBUG ( 1112): beee1a48 4088cacd /system/lib/libdvm.so
I/DEBUG ( 1112): beee1a4c 00000036
I/DEBUG ( 1112): beee1a50 40232f04 /system/lib/libandroid_runtime.so
I/DEBUG ( 1112): beee1a54 400fb6f5 /system/lib/libc.so
I/DEBUG ( 1112): beee1a58 df0027ad
I/DEBUG ( 1112): beee1a5c 00000000
I/DEBUG ( 1112): #00 beee1a60 1d200031
I/DEBUG ( 1112): beee1a64 3be9a595
I/DEBUG ( 1112): beee1a68 4021c26f /system/lib/libandroid_runtime.so
I/DEBUG ( 1112): beee1a6c 018f22c0 [heap]
I/DEBUG ( 1112): beee1a70 4021c26f /system/lib/libandroid_runtime.so
I/DEBUG ( 1112): beee1a74 fffffbdf
I/DEBUG ( 1112): beee1a78 00000036
I/DEBUG ( 1112): beee1a7c 018f22c0 [heap]
I/DEBUG ( 1112): beee1a80 4021c26f /system/lib/libandroid_runtime.so
I/DEBUG ( 1112): beee1a84 40257285 /system/lib/libnativehelper.so
I/DEBUG ( 1112): #01 beee1a88 018f22c0 [heap]
I/DEBUG ( 1112): beee1a8c 1d200031
I/DEBUG ( 1112): beee1a90 018f22c0 [heap]
I/DEBUG ( 1112): beee1a94 40212f24 /system/lib/libandroid_runtime.so
I/DEBUG ( 1112): beee1a98 4021c26f /system/lib/libandroid_runtime.so
I/DEBUG ( 1112): beee1a9c 402189c7 /system/lib/libandroid_runtime.so
I/DEBUG ( 1112): beee1aa0 1d200025
I/DEBUG ( 1112): beee1aa4 401d53cb /system/lib/libandroid_runtime.so
I/ServiceManager( 1022): service 'media.audio_flinger' died
I/ServiceManager( 1022): service 'media.player' died
I/ServiceManager( 1022): service 'media.camera' died
I/ServiceManager( 1022): service 'media.audio_policy' died
You are bootlooping. Wipe everything, reflash rom.
Sent from my Nexus 7 using Tapatalk HD
You are flashing sense 4 if I'm not wrong?
Sent from my HTC Explorer A310e using xda app-developers app
Problem was with some bad libs from another ROM. Thanks the help guys. Thread Closed !

Evaluating CVE-2015-1474 to escalate to system privileges

I hope that with this thread we are able to gain system privileges with the help of CVE-2015-1474.
To begin with I try to write down what I have found. This is just a compilation of information so they might look mixed up.
The class GraphicBuffer is utilized by the system service SurfaceFlinger. My current understanding is that the vulnerable method "unflatten" is used to create a GraphicBuffer object from raw data that is sent to the service by IPC using Binder. A forged message might be easiest supplied via adb shell using this commando
Code:
[email protected]:/ $ service call SurfaceFlinger ...
I am not sure yet how the parcel get's eventually to the GraphicBuffer. It is a lot of code and I do not understand the low level graphics system of Android yet. The IGraphicBufferConsumer interface has a sub class BufferItem which has also an unflatten method which will call unflatten on GraphicBuffer. My gut tells me that the Parcel class is also involved in that process, but I'm not sure how yet.
One important piece of information that I'm still missing is how the unflattened data is used in the further processing of SurfaceFlinger. I don't think it is possible to freely write in the memory of SurfaceFlinger with this bug. There are still a lot of sanity checks to come by.
This could also effect on how we have to implement the communication with SurfaceFlinger. Maybe it's also possible with some forged objects and a SurfaceView.
Maybe together we are able to bring some light into this. A little bump in the right direction might help.
Phate123 said:
I hope that with this thread we are able to gain system privileges with the help of CVE-2015-1474.
Click to expand...
Click to collapse
Take a look at the thread below, It looks like there is already some research begin done but I can't quite get my head around whether they are on the right track. This might help us get going in the right direction though.
http://forum.xda-developers.com/not.../rd-rooting-n910a-n910v-models-t3042045/page6
awinston said:
Take a look at the thread below, It looks like there is already some research begin done but I can't quite get my head around whether they are on the right track. This might help us get going in the right direction though.
http://forum.xda-developers.com/not.../rd-rooting-n910a-n910v-models-t3042045/page6
Click to expand...
Click to collapse
Good news ( @Phate123, @awinston )! I have managed to crash the surfaceflinger on 4.5.2 (should also work on 4.5.3).
I'll upload the code on github, but first I want to briefly explain how I did it.
In Android everything that is a graphical element is represented by an GraphicBuffer.
GraphicBuffers are wrapped in BufferItems and managed by BufferQueues.
Each Queue has two sites, a producer side (IGraphicBufferProducer) and a consumer side (IGraphicBufferConsumer). In the basic scenario an app is the producer and the surfaceflinger is the consumer. These are obviously two different processes, but both must use the same BufferQueue.
BufferQueues are always created and owned by the consumers and consequently live in the same address space as the consumer. Producers must go through Binder to access their side of the queue.
As with everything in Android, the BufferQueue provides the same interface for both native (in the same process) and remote usage. The remote interface is implemented by a proxy that communicates through Binder with the other side.
In android KK BufferQueue implements the native side of the interface for both the producer (BnGraphicBufferProducer) and the consumer (BnGraphicBufferConsumer). These native implementations must provide a handler (onTransact) for requests that come from the remote proxies.
You can read more at https://source.android.com/devices/graphics/architecture.html.
Naturally, the first idea that comes into mind is to attack the native implementations of the BufferQueue that reside in the surfaceflinger. As the bug is in the unflatten routine of GraphicBuffer, we would like to craft a rogue parcel that represents a GraphicBuffer and then wait for the surfaceflinger to choke with it.
Unfortunately, from my findings, the bugged unflatten method is not called from the onTransact handler in the native implementations.
Only the proxy implementations seem to be a valid target, through BpGraphicBufferProducer::requestBuffer and BpGraphicBufferConsumer::aquireBuffer. Now we have a problem: as the BufferQueue resides in the surfaceflinger, there is no proxy implementation to attack.
Our only hope is to somehow create the BufferQueue in our process, so that we are the consumers, and use the surfaceflinger as the producer. This way the surfaceflinger would be accessing the BufferQueue through the bugged proxy (BpGraphicBufferProducer::requestBuffer). One way to use the surfaceflinger as a producer is to make screen captures.
I found the screencap command to be a very nice starting point to tinker with the idea as it does exactly what we wanted - it uses the surfaceflinger as a producer and pulls screen captures from it. Next I only had to hook the vtable entry of BpGraphicBufferProducer:: onTransact.
Now we have to control the overflow in GraphicsBuffer::unflatten.
p1gl3t said:
Good news ( @Phate123, @awinston )! I have managed to crash the surfaceflinger on 4.5.2 (should also work on 4.5.3).
Click to expand...
Click to collapse
Wow you are really good! I had started to piece some of this together and wanted to document it for good measure even though you are going to clearly beat the rest of us to this exploit. Arguably I could never figure it out, but never hurts to try. At least I am learning.
https://charleszblog.wordpress.com/2014/02/20/understanding-android-internals-graphics-basics-i/
http://translate.google.com/transla...dyhuabing/article/details/7489776&prev=search
http://4.bp.blogspot.com/-qQxyvr2Vc8w/VFYLxdacwpI/AAAAAAAAAes/HMMrUIwC9OY/s1600/Selection_043.png
https://android.googlesource.com/platform/frameworks/native/+/master/libs/gui/tests/Surface_test.cpp
The screenshot test is where I was focusing but wasn't really getting very far.
Crashed unflatten as well
Okay so I crashed unflatten as well. Trying to figure out where to go from here. I am a little confused though because I did it natively by calling unflatten directly from a cpp program I wrote with a few lines of code. When you crash it like this how do I know it was the buffer overflow? Sorry, still trying to learn as I go.
03-05 17:06:47.380 2652-2652/? A/libc﹕ Fatal signal 11 (SIGSEGV) at 0x52464247 (code=1), thread 2652 (screenshot)
03-05 17:06:47.490 258-258/? I/DEBUG﹕ *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-05 17:06:47.490 258-258/? I/DEBUG﹕ AM write failure (32 / Broken pipe)
03-05 17:06:47.490 258-258/? I/DEBUG﹕ Build fingerprint: 'Amazon/thor/thor:4.4.3/KTU84M/13.4.5.2_user_452004220:user/release-keys'
03-05 17:06:47.490 258-258/? I/DEBUG﹕ Revision: '0'
03-05 17:06:47.490 258-258/? I/DEBUG﹕ pid: 2652, tid: 2652, name: screenshot >>> ./screenshot <<<
03-05 17:06:47.490 258-258/? I/DEBUG﹕ signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 52464247
03-05 17:06:47.490 955-1055/? W/NativeCrashListener﹕ Couldn't find ProcessRecord for pid 2652
03-05 17:06:47.500 258-258/? I/DEBUG﹕ r0 b723dfb8 r1 47424652 r2 be94a600 r3 00000020
03-05 17:06:47.500 258-258/? I/DEBUG﹕ r4 b723dfb8 r5 be94a618 r6 52464247 r7 be94a604
03-05 17:06:47.500 258-258/? I/DEBUG﹕ r8 be94a600 r9 00000000 sl be94a618 fp be94a6ec
03-05 17:06:47.500 258-258/? I/DEBUG﹕ ip b6f08f44 sp be94a590 lr b6f04f4b pc b6e34b94 cpsr 200b0030
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d0 0000000000000000 d1 0000000000000000
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d2 0000000000000000 d3 0000000000000000
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d4 0000000000000000 d5 0000000000000000
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d6 0000000000000000 d7 55ab5f0000000000
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d8 0000000000000000 d9 0000000000000000
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d10 0000000000000000 d11 0000000000000000
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d12 0000000000000000 d13 0000000000000000
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d14 0000000000000000 d15 0000000000000000
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d16 0000002000000001 d17 0000000000000020
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d18 b723a630b723a618 d19 b723a658b723a648
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d20 b723a678b723a668 d21 b723a698b723a688
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d22 b723aaf8b723a6a8 d23 b723af58b723af48
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d24 0000000000000000 d25 0000000000000000
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d26 0000000000000000 d27 0000000000000000
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d28 0000000000000000 d29 0000000000000000
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d30 0000000000000000 d31 0000000000000000
03-05 17:06:47.500 258-258/? I/DEBUG﹕ scr 00000010
03-05 17:06:47.510 258-258/? I/DEBUG﹕ backtrace:
03-05 17:06:47.510 258-258/? I/DEBUG﹕ #00 pc 00005b94 /system/lib/libui.so (android::GraphicBuffer::unflatten(void const*&, unsigned int&, int const*&, unsigned int&)+23)
03-05 17:06:47.510 258-258/? I/DEBUG﹕ #01 pc 00002f47 /data/local/tmp/screenshot
03-05 17:06:47.510 258-258/? I/DEBUG﹕ #02 pc 0000e4db /system/lib/libc.so (__libc_init+50)
03-05 17:06:47.510 258-258/? I/DEBUG﹕ #03 pc 0000308c /data/local/tmp/screenshot
03-05 17:06:47.510 258-258/? I/DEBUG﹕ stack:
03-05 17:06:47.510 258-258/? I/DEBUG﹕ be94a550 00000000
03-05 17:06:47.510 258-258/? I/DEBUG﹕ be94a554 b6010001
03-05 17:06:47.510 258-258/? I/DEBUG﹕ be94a558 00000000
03-05 17:06:47.510 258-258/? I/DEBUG﹕ be94a55c b6e0d44b /system/lib/libgui.so
---------- Post added at 12:26 AM ---------- Previous post was at 12:12 AM ----------
awinston said:
Okay so I crashed unflatten as well.
Click to expand...
Click to collapse
Is the trick to do it through the surfaceflinger process because it is running with escalated privileges?
awinston said:
Okay so I crashed unflatten as well. Trying to figure out where to go from here. I am a little confused though because I did it natively by calling unflatten directly from a cpp program I wrote with a few lines of code. When you crash it like this how do I know it was the buffer overflow? Sorry, still trying to learn as I go.
03-05 17:06:47.380 2652-2652/? A/libc﹕ Fatal signal 11 (SIGSEGV) at 0x52464247 (code=1), thread 2652 (screenshot)
03-05 17:06:47.490 258-258/? I/DEBUG﹕ *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-05 17:06:47.490 258-258/? I/DEBUG﹕ AM write failure (32 / Broken pipe)
03-05 17:06:47.490 258-258/? I/DEBUG﹕ Build fingerprint: 'Amazon/thor/thor:4.4.3/KTU84M/13.4.5.2_user_452004220:user/release-keys'
03-05 17:06:47.490 258-258/? I/DEBUG﹕ Revision: '0'
03-05 17:06:47.490 258-258/? I/DEBUG﹕ pid: 2652, tid: 2652, name: screenshot >>> ./screenshot <<<
03-05 17:06:47.490 258-258/? I/DEBUG﹕ signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 52464247
03-05 17:06:47.490 955-1055/? W/NativeCrashListener﹕ Couldn't find ProcessRecord for pid 2652
03-05 17:06:47.500 258-258/? I/DEBUG﹕ r0 b723dfb8 r1 47424652 r2 be94a600 r3 00000020
03-05 17:06:47.500 258-258/? I/DEBUG﹕ r4 b723dfb8 r5 be94a618 r6 52464247 r7 be94a604
03-05 17:06:47.500 258-258/? I/DEBUG﹕ r8 be94a600 r9 00000000 sl be94a618 fp be94a6ec
03-05 17:06:47.500 258-258/? I/DEBUG﹕ ip b6f08f44 sp be94a590 lr b6f04f4b pc b6e34b94 cpsr 200b0030
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d0 0000000000000000 d1 0000000000000000
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d2 0000000000000000 d3 0000000000000000
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d4 0000000000000000 d5 0000000000000000
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d6 0000000000000000 d7 55ab5f0000000000
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d8 0000000000000000 d9 0000000000000000
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d10 0000000000000000 d11 0000000000000000
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d12 0000000000000000 d13 0000000000000000
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d14 0000000000000000 d15 0000000000000000
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d16 0000002000000001 d17 0000000000000020
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d18 b723a630b723a618 d19 b723a658b723a648
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d20 b723a678b723a668 d21 b723a698b723a688
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d22 b723aaf8b723a6a8 d23 b723af58b723af48
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d24 0000000000000000 d25 0000000000000000
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d26 0000000000000000 d27 0000000000000000
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d28 0000000000000000 d29 0000000000000000
03-05 17:06:47.500 258-258/? I/DEBUG﹕ d30 0000000000000000 d31 0000000000000000
03-05 17:06:47.500 258-258/? I/DEBUG﹕ scr 00000010
03-05 17:06:47.510 258-258/? I/DEBUG﹕ backtrace:
03-05 17:06:47.510 258-258/? I/DEBUG﹕ #00 pc 00005b94 /system/lib/libui.so (android::GraphicBuffer::unflatten(void const*&, unsigned int&, int const*&, unsigned int&)+23)
03-05 17:06:47.510 258-258/? I/DEBUG﹕ #01 pc 00002f47 /data/local/tmp/screenshot
03-05 17:06:47.510 258-258/? I/DEBUG﹕ #02 pc 0000e4db /system/lib/libc.so (__libc_init+50)
03-05 17:06:47.510 258-258/? I/DEBUG﹕ #03 pc 0000308c /data/local/tmp/screenshot
03-05 17:06:47.510 258-258/? I/DEBUG﹕ stack:
03-05 17:06:47.510 258-258/? I/DEBUG﹕ be94a550 00000000
03-05 17:06:47.510 258-258/? I/DEBUG﹕ be94a554 b6010001
03-05 17:06:47.510 258-258/? I/DEBUG﹕ be94a558 00000000
03-05 17:06:47.510 258-258/? I/DEBUG﹕ be94a55c b6e0d44b /system/lib/libgui.so
---------- Post added at 12:26 AM ---------- Previous post was at 12:12 AM ----------
Is the trick to do it through the surfaceflinger process because it is running with escalated privileges?
Click to expand...
Click to collapse
Surfaceflinger runs under the system user (+drmrpc group) and should have access to /dev/qseecom, through which we can get root using CVE-2014-4322.
The problem is that the heap buffer overflow triggered by unflatten seems very difficult to exploit.
We must consider the following to achieve a controlled memory write:
sizeof(native_handle_t) + sizeof(int)*(numFds+numInts) must overflow 32 bits and remain small enough that the malloc succeeds and returns a valid heap address in h->data. If the malloc were to fail, we would memcpy to address 0 and get a seg fault.
as even after the malloc, numInts and numFds are used only after being multiplied by 4 (sizeof(int)), we can ignore the 2 most significant bits from both of them. This means that the only way to get any kind of bof is to generate transport from bit 29 to bit 30 on the sum numFds+numInts. Consequently, at least one of numInts or numFds must have bit 29 set. This doesn't sound very good because next we will do a memcpy of numFds * 4 bytes and next a memcpy of numInts * 4 bytes, meaning that at least one of the two memcpy calls will try to copy at least (1<<31) bytes. This will certainly lead to a segfault before we can trigger something from another thread...
the executable code is position independent so we would need to leak an address to be able to use rop.
Things don't look good at all... I really hope that I have made a mistake or that there is another approach to the problem.
I'm afraid that the pros would have already implemented an exploit by now, if it could have been done.
p1gl3t said:
We must consider the following to obtain a controlled memory write:
sizeof(native_handle_t) + sizeof(int)*(numFds+numInts) must overflow 32 bits and remain small enough that the malloc succeeds and returns a valid heap address in h->data. If the malloc were to fail, we would memcpy to address 0 and get a seg fault.
as even after the malloc, numInts and numFds are used only after being multiplied by 4 (sizeof(int)), we can ignore the 2 most significant bits from both of them. This means that the only way to get any kind of bof is to generate transport from bit 29 to bit 30 on the sum numFds+numInts. Consequently, at least one of numInts or numFds must have bit 29 set. This doesn't sound very good because next we will do a memcpy of numFds * 4 bytes and next a memcpy of numInts * 4 bytes, meaning that at least one of the two memcpy calls will try to copy at least (1<<31) bytes. This will certainly lead to a segfault before we can trigger something from another thread...
the executable code is position independent so we would need to leak an address to be able to use rop.
Things don't look good at all... I really hope that I have made a mistake or that there is another approach to the problem.
I'm afraid that the exploit pros would have already implemented an exploit if it could have been done.
Click to expand...
Click to collapse
That have been my thoughts too. There is a memory corruption but it is difficult to use and it is not on areas that could be used to manipulate the return stack or a vtable entry. Or I just can't see the way. I have experience in this area,but it is kinda limited.
BTW: These drivers are not used by the Fire HDX by chance? https://www.codeaurora.org/projects...le-camera-drivers-cve-2014-4321-cve-2014-4324
Sadly I cannot find enough time to spend hours on digging. I hope there are some to be find this weekend though.
Phate123 said:
That have been my thoughts too. There is a memory corruption but it is difficult to use and it is not on areas that could be used to manipulate the return stack or a vtable entry. Or I just can't see the way. I have experience in this area,but it is kinda limited.
BTW: These drivers are not used by the Fire HDX by chance? https://www.codeaurora.org/projects...le-camera-drivers-cve-2014-4321-cve-2014-4324
Sadly I cannot find enough time to spend hours on digging. I hope there are some to be find this weekend though.
Click to expand...
Click to collapse
I don't think a stack attack would have been feasible at all as the code should be compiled with stack protector on and we can't do a brute force on the canary value. Hijacking a vtable pointer or a got entry would have been the way to go, but we still wouldn't know what to write as everything is aslr'd.
Regarding those camera drivers, I think someone over at the Samsung section also mentioned them. I'll look into them and report back.
p1gl3t said:
I don't think a stack attack would have been feasible at all as the code should be compiled with stack protector on and we can't do a brute force on the canary value. Hijacking a vtable pointer or a got entry would have been the way to go, but we still wouldn't know what to write as everything is aslr'd.
Click to expand...
Click to collapse
Would you mind sharing your code even though it doesn't look like you will be able to exploit this overflow? I am still trying to get my head around the basic attack through surface flinger and it would help me greatly to better understand how at least in theory this works. No worries if you don't want to.
awinston said:
Would you mind sharing your code even though it doesn't look like you will be able to exploit this overflow? I am still trying to get my head around the basic attack through surface flinger and it would help me greatly to better understand how at least in theory this works. No worries if you don't want to.
Click to expand...
Click to collapse
Here you go: https://github.com/p1gl3t/CVE-2015-1474_poc.
p1gl3t, great job on creating a poc of the exploit :good:
p1gl3t said:
Regarding those camera drivers, I think someone over at the Samsung section also mentioned them. I'll look into them and report back.
Click to expand...
Click to collapse
@jcase Says no on those camera group holes. http://forum.xda-developers.com/showpost.php?p=58945240&postcount=18
It's good to see other's working on 2015-1474 also :good:
ZPaul2Fresh8 said:
@jcase Says no on those camera group holes. http://forum.xda-developers.com/showpost.php?p=58945240&postcount=18
It's good to see other's working on 2015-1474 also :good:
Click to expand...
Click to collapse
@jcase is right, only mediaserver is executed under group camera so that it can access /dev/video*. You can see that in init.base.rc and ueventd.qcom.rc.
Now returning to the original topic... I fiddled around with unflatten, giving some input that should have made it crash.
What I did is I left numInts untouched and set numFds = -numInts. I was expecting surfaceflinger to crash every single time when it did the first memcpy. Somehow it didn't. I was baffled and had to gdb the process to see where my assumptions were wrong.
I breaked just before the first memcpy and printed the params:
Code:
(gdb) p $r0
$19 = 3074255348
(gdb) p $r1
$20 = 3074340312
(gdb) p $r2
$21 = 4294967248
r0 is the destination, r1 the source and r2 the number of bytes to copy. r2 is the unsigned representation of 4 * (-12) = 4 * numFds = -4 * numInts.
How did the program NOT crash???!! It even worked a second time, but crashed with SIGABRT in a free() because of heap corruption (I suppose). So even the second memcpy passed without segfault.
Here you have the memory map of surfaceflinger.
LE I have traced the memcpy. It looks like this on my Apollo 14.4.5.2
Code:
.text:0002218C __memcpy_base
.text:0002218C CMP R2, #4
.text:0002218E BLT.W loc_222DC
.text:00022192 CMP R2, #0x10
.text:00022194 BLT.W loc_222BE
.text:00022198 CMP R2, #0x20
.text:0002219A BLT.W loc_222AE
.text:0002219E CMP R2, #0x40
.text:000221A0 BLT loc_222A2
It seems like R2 (number of bytes) is treated like a signed int and the first branch is taken and the following instructions are executed
Code:
.text:000222DC loc_222DC ; CODE XREF: __memcpy_base+2
.text:000222DC LSLS R2, R2, #0x1F
.text:000222DE ITT CS
.text:000222E0 LDRCSH.W R3, [R1],#2
.text:000222E4 STRCSH.W R3, [R0],#2
.text:000222E8 ITT MI
.text:000222EA LDRMIB R3, [R1]
.text:000222EC STRMIB R3, [R0]
This ends up copying only n & 3 bytes, which is < 4. Basically, only the 2 least significant bits from n matter).
So... I guess we are able to write to h->data + numFds*4 as long as numFds*4 is negative. But having numFds as an offset may hurt us on the malloc side.
Now we have to defeat aslr somehow.
Any chance
I hope you are still working on this, we really need to get ride of the crappy Amazon OS and unlock the full potential of these amazing tablet specs.
I have an open tablet that I should repair, if there is need to take some photos of components please let me know, I am not into software hacking yet and it will takes me some time to get into it... but I want to contribute to make this possible, I hope more smart guys from around here join their effort to do it.
I wish if there is another tablet on the market who is as good as this one right now at an affordable price, to just see how CM12.1 behave on it, I tried it on a KFHD before I get it bricked it was fine but little bit laggy due to limited specs and low ram.
Hi, p1gl3t!
I'm interesting in your PoC and have to ask... Is your work on this done? And how might I use that for my specific device?
dadreamer said:
Hi, p1gl3t!
I'm interesting in your PoC and have to ask... Is your work on this done? And how might I use that for my specific device?
Click to expand...
Click to collapse
Not sure what this thread was all about (didn't look back) but the last post was over 2 years ago. A lot has happened since then; every 3rd gen HDX can be bootloader unlocked opening the door to custom ROMS ranging from Android 4.4.4 to 7.1.1.
https://forum.xda-developers.com/kindle-fire-hdx/general/thor-unlocking-bootloader-firmware-t3463982
https://forum.xda-developers.com/kindle-fire-hdx/general/thor-4-5-5-2-easy-to-root-unlock-t3571240
Davey126 said:
every 3rd gen HDX can be bootloader unlocked opening the door to custom ROMS ranging from Android 4.4.4 to 7.1.1.
Click to expand...
Click to collapse
Well, that's true but not for my device I still have a slightly outdated smartphone. It is Docomo Fujitsu Arrows NX F-01F [ Android 4.4.2, build # V10R22A (kernel version 3.4.0), ARMv7 arch (armv7l, armeabi-v7a) ]. And it's got no public firmwares at all, no bootloader unlock and no root in easy ways. Besides of that, there's one "pleasant" addition - PXN (Privilege Execute-Never), which doesn't let me to root the phone with simple ways or common tools.
To bypass PXN I have to use some JOP approach but for it I need to get boot.img or kernel memory dump somehow. Because I have no factory ROMs I'm trying to pull out boot.img through known vulnerabilities of my dev. One of them is CVE-2015-1474 (GraphicBuffer integer overflow), which potentially might give me system privilegies to copy boot.img from that phone.
So I wonder if p1gl3t's code is ready to use and is able to give the system privilegies. It seems it should be compiled together with AOSP codebase. But I'm unsure if it would work well when I get it compiled.
Checked your links. There I see that the presence of root is required. But I can't gain root so can't use those tools.
dadreamer said:
Well, that's true but not for my device I still have a slightly outdated smartphone. It is Docomo Fujitsu Arrows NX F-01F [ Android 4.4.2, build # V10R22A (kernel version 3.4.0), ARMv7 arch (armv7l, armeabi-v7a) ]. And it's got no public firmwares at all, no bootloader unlock and no root in easy ways. Besides of that, there's one "pleasant" addition - PXN (Privilege Execute-Never), which doesn't let me to root the phone with simple ways or common tools.
To bypass PXN I have to use some JOP approach but for it I need to get boot.img or kernel memory dump somehow. Because I have no factory ROMs I'm trying to pull out boot.img through known vulnerabilities of my dev. One of them is CVE-2015-1474 (GraphicBuffer integer overflow), which potentially might give me system privilegies to copy boot.img from that phone.
So I wonder if p1gl3t's code is ready to use and is able to give the system privilegies. It seems it should be compiled together with AOSP codebase. But I'm unsure if it would work well when I get it compiled.
Checked your links. There I see that the presence of root is required. But I can't gain root so can't use those tools.
Click to expand...
Click to collapse
Have not seen @p1gl3t on this thread/forum in awhile; not sure if s/he is still active on XDA. Might try a PM. Given the age and, err, uniqueness of device in question I suspect you're in for quite a ride. Good luck.
Well, I have compiled that badscreencap by p1gl3t along with android 4.4.2 codebase and then pushed it to my dev. But whenever I run it I receive segfault:
Code:
[email protected]:/data/local/tmp $ ./badscreencap
pid 24824
display.update ret 0
IGraphicBufferConsumer::consumerDisconnect 0x18
BBinder::onTransact 0x40
BnGraphicBufferProducer::onTransact 0x34
BBinder::onTransact 0x40
BnGraphicBufferProducer::onTransact 0x34
BBinder::onTransact 0xb6889759
BnGraphicBufferProducer::onTransact 0xb6889391
BBinder::onTransact = 0xb6899048
*BBinder::onTransact = 0xb6889759
BBinder::onTransact = 0xb7b912b0
*BBinder::onTransact = 0xb6889759
--------
f1 04 00 ff f7 18 be 38 b5 04 46 0d 46 11 b1 08 46 f6 f7 50
--------
[1] + Stopped (signal) ./badscreencap
When I issue any one command after that I get
Code:
[email protected]:/data/local/tmp $
[1] + Segmentation fault ./badscreencap (core dumped)
Of course, no any signs of system privileges for my id. Checked this with logcat and it has got the following trace:
F/libc (24824): Fatal signal 11 (SIGSEGV) at 0x00000004 (code=1), thread 24824 (badscreencap)
D/wpa_supplicant(10784): wlan0: Control interface command 'SIGNAL_POLL'
D/wpa_supplicant(10784): signal_poll nl80211_signal_poll:10508 rssi:[-47]
D/wpa_supplicant(10784): nl80211: survey data missing!
D/wpa_supplicant(10784): wlan0: Control interface command 'PKTCNT_POLL'
I/DEBUG ( 266): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 266): Build fingerprint: 'DOCOMO/F01F/F01F:4.4.2/V10R22A/F01F.20150107.043237:user/release-keys'
I/DEBUG ( 266): Revision: '37'
I/DEBUG ( 266): pid: 24824, tid: 24824, name: badscreencap >>> ./badscreencap <<<
I/DEBUG ( 266): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000004
W/NativeCrashListener( 1119): Couldn't find ProcessRecord for pid 24824
I/DEBUG ( 266): r0 00000004 r1 beca97ac r2 b6f6f82c r3 00000004
I/DEBUG ( 266): AM write failure (32 / Broken pipe)
I/DEBUG ( 266): r4 00000000 r5 b7b8eee8 r6 b688b285 r7 00000000
I/DEBUG ( 266): r8 beca97e4 r9 00000000 sl beca99d8 fp beca98ac
I/DEBUG ( 266): ip b6ec1f38 sp beca9780 lr b6eba0d5 pc b6ee9b5c cpsr 000b0010
I/DEBUG ( 266): d0 0000000000000000 d1 0000000000000000
I/DEBUG ( 266): d2 0000000000000000 d3 0000000000000000
I/DEBUG ( 266): d4 0000000000000000 d5 0000000000000000
I/DEBUG ( 266): d6 0000000000000000 d7 3849498000000000
I/DEBUG ( 266): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 266): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 266): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 266): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 266): d16 7265646e6942422a d17 6e6172546e6f3a3a
I/DEBUG ( 266): d18 b6e8d399b6e8d4af d19 b6e8d07fb6e8d377
I/DEBUG ( 266): d20 b68827d1b6e8d071 d21 b6889759b68827f3
I/DEBUG ( 266): d22 0000000000000000 d23 0000000000000000
I/DEBUG ( 266): d24 0000000000000000 d25 0000000000000000
I/DEBUG ( 266): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 266): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 266): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 266): scr 00000010
I/DEBUG ( 266):
I/DEBUG ( 266): backtrace:
I/DEBUG ( 266): #00 pc 00003b5c /system/lib/libcutils.so (android_atomic_inc+8)
I/DEBUG ( 266): #01 pc 0000d0d1 /system/lib/libutils.so (android::RefBase::incStrong(void const*) const+6)
I/DEBUG ( 266): #02 pc 0002a3b5 /system/lib/libgui.so (android::sp<android::IBinder>::sp(android::sp<android::IBinder> const&)+20)
I/DEBUG ( 266): #03 pc 0003494f /system/lib/libgui.so (android::ScreenshotClient::update(android::sp<android::IBinder> const&, unsigned int, unsigned int, unsigned int, unsigned int)+78)
I/DEBUG ( 266): #04 pc 000349c1 /system/lib/libgui.so (android::ScreenshotClient::update(android::sp<android::IBinder> const&)+14)
I/DEBUG ( 266): #05 pc 00005de1 /data/local/tmp/badscreencap
I/DEBUG ( 266): #06 pc 0000e5a3 /system/lib/libc.so (__libc_init+50)
I/DEBUG ( 266): #07 pc 00005590 /data/local/tmp/badscreencap
I/DEBUG ( 266):
I/DEBUG ( 266): stack:
I/DEBUG ( 266): beca9740 00000000
I/DEBUG ( 266): beca9744 b6885b8b /system/lib/libgui.so (android::CpuConsumer::releaseAcquiredBufferLocked(int)+150)
I/DEBUG ( 266): beca9748 00000000
I/DEBUG ( 266): beca974c b68a0154 /system/lib/libgui.so
I/DEBUG ( 266): beca9750 b6f6e268 /data/local/tmp/badscreencap
I/DEBUG ( 266): beca9754 b7b900f0 [heap]
I/DEBUG ( 266): beca9758 b7b8fc40 [heap]
I/DEBUG ( 266): beca975c b7b8fc40 [heap]
I/DEBUG ( 266): beca9760 0000000c
I/DEBUG ( 266): beca9764 b6f6e268 /data/local/tmp/badscreencap
I/DEBUG ( 266): beca9768 b7b8fc40 [heap]
I/DEBUG ( 266): beca976c 00000000
I/DEBUG ( 266): beca9770 b6f6e268 /data/local/tmp/badscreencap
I/DEBUG ( 266): beca9774 b6885c09 /system/lib/libgui.so (android::CpuConsumer::unlockBuffer(android::CpuConsumer::LockedBuffer const&)+92)
I/DEBUG ( 266): beca9778 b7b8fc40 [heap]
I/DEBUG ( 266): beca977c beca9808 [stack]
I/DEBUG ( 266): #00 beca9780 beca97ac [stack]
I/DEBUG ( 266): ........ ........
I/DEBUG ( 266): #01 beca9780 beca97ac [stack]
I/DEBUG ( 266): beca9784 b68853b9 /system/lib/libgui.so (android::sp<android::IBinder>::sp(android::sp<android::IBinder> const&)+24)
I/DEBUG ( 266): #02 beca9788 beca9800 [stack]
I/DEBUG ( 266): beca978c b688f953 /system/lib/libgui.so (android::ScreenshotClient::update(android::sp<android::IBinder> const&, unsigned int, unsigned int, unsigned int, unsigned int)+82)
I/DEBUG ( 266):
I/DEBUG ( 266): memory near r1:
I/DEBUG ( 266): beca978c b688f953 b6f4b334 00000002 b7b8f0e0
I/DEBUG ( 266): beca979c 00000000 b6f3d1d8 b7b8eee8 b7b8fc40
I/DEBUG ( 266): beca97ac b7b8f0e0 b6f6e08f 00000000 b7b91270
I/DEBUG ( 266): beca97bc b6f6e268 b7b8f0e0 b6f6e24e b6899008
I/DEBUG ( 266): beca97cc b688f9c5 00000000 ffffffff 00000000
I/DEBUG ( 266): beca97dc b6f6dde5 00000000 b7b8f0a0 00000018
I/DEBUG ( 266): beca97ec 00000001 00000040 00000001 00000034
I/DEBUG ( 266): beca97fc 00000001 b7b8fc40 b7b8f0e0 00000000
I/DEBUG ( 266): beca980c 00000000 00000000 00000000 00000000
I/DEBUG ( 266): beca981c 00000000 00000000 00000000 00000000
I/DEBUG ( 266): beca982c 00000000 00000000 00000000 00000000
I/DEBUG ( 266): beca983c 00000000 00000000 00000000 00000000
I/DEBUG ( 266): beca984c 00000000 00000000 00000000 00000000
I/DEBUG ( 266): beca985c beca98b4 beca98b4 beca98bc 00000001
I/DEBUG ( 266): beca986c b6f3cfd8 b6f6db95 00000000 00000000
I/DEBUG ( 266): beca987c b6f015a5 00000000 00000000 00000000
I/DEBUG ( 266):
I/DEBUG ( 266): memory near r2:
I/DEBUG ( 266): b6f6f80c b6f6f9d0 b6f6f8ac b6f6f8fc b6f6f958
I/DEBUG ( 266): b6f6f81c b6f6f9a8 0000058c 00000000 00000000
I/DEBUG ( 266): b6f6f82c b6f6d769 b6f6d7e1 b6f6d5eb b6f6d5f9
I/DEBUG ( 266): b6f6f83c b6f6d899 b6883bd5 b6883ce9 b68843d1
I/DEBUG ( 266): b6f6f84c b6882dd5 b68828f1 b68829e9 b6883a59
I/DEBUG ( 266): b6f6f85c b6f6d8f5 b6889391 b6881f99 b6884cf1
I/DEBUG ( 266): b6f6f86c b6884ac9 b688372d b68839b9 b6884fb9
I/DEBUG ( 266): b6f6f87c b68822a9 b6882889 b68826f5 b6882679
I/DEBUG ( 266): b6f6f88c b6882383 b6882359 b688232f b6882305
I/DEBUG ( 266): b6f6f89c b688241d 00000588 fffffffc 00000000
I/DEBUG ( 266): b6f6f8ac b6f6d92d b6f6d5fd b6e8d075 b6e8d071
I/DEBUG ( 266): b6f6f8bc b6e8d071 b6e8d1e9 b6e8d079 b6e8d079
I/DEBUG ( 266): b6f6f8cc b6e8d071 b6e8d4af b6e8d399 b6e8d377
I/DEBUG ( 266): b6f6f8dc b6e8d07f b6e8d071 b6f6d7cf b6f6d805
I/DEBUG ( 266): b6f6f8ec b6889759 0000057c fffffff0 00000000
I/DEBUG ( 266): b6f6f8fc b6f6d7c9 b6f6d7ff b6f6d5eb b6884fb1
I/DEBUG ( 266):
I/DEBUG ( 266): memory near r5:
I/DEBUG ( 266): b7b8eec8 b7b8eed0 0000001b 00000001 00000001
I/DEBUG ( 266): b7b8eed8 b7b8eec4 00000001 00000000 00000023
I/DEBUG ( 266): b7b8eee8 b689d17c b689d1d0 b7b8ef88 b7b8efc8
I/DEBUG ( 266): b7b8eef8 00000001 b689d200 b7b8ef08 0000001b
I/DEBUG ( 266): b7b8ef08 00000002 00000002 b7b8eefc 00000001
I/DEBUG ( 266): b7b8ef18 006e0061 0000001b b689e97c b7b8e408
I/DEBUG ( 266): b7b8ef28 b689e9a4 b7b8ef38 00660072 0000001b
I/DEBUG ( 266): b7b8ef38 00000001 00000002 b7b8ef28 00000000
I/DEBUG ( 266): b7b8ef48 00000000 0000001b b6e9a888 b7b8eff0
I/DEBUG ( 266): b7b8ef58 00000001 00000000 00000010 00000023
I/DEBUG ( 266): b7b8ef68 00000001 00000001 b7b8f0d4 00000001
I/DEBUG ( 266): b7b8ef78 00000000 00000000 00000020 00000043
I/DEBUG ( 266): b7b8ef88 b6e9a944 00000001 00000000 00000001
I/DEBUG ( 266): b7b8ef98 00000000 b7b8ef50 b6e9a858 00000000
I/DEBUG ( 266): b7b8efa8 00000000 00000000 00000010 00000000
I/DEBUG ( 266): b7b8efb8 b7b8a048 b6e9a9ac b7b8efc8 0000001b
I/DEBUG ( 266):
I/DEBUG ( 266): memory near r6:
I/DEBUG ( 266): b688b264 a81047a0 ea4cf7f4 a8104604 ea4ef7f4
I/DEBUG ( 266): b688b274 f7f4a804 4620ea4c bdf0b01d 00014f3c
I/DEBUG ( 266): b688b284 b09db5f0 a8044604 461f4615 f7f4460e
I/DEBUG ( 266): b688b294 a810ea26 ea22f7f4 a804491c f7f44479
I/DEBUG ( 266): b688b2a4 4631ea24 f7f4a804 a803eada f7f46829
I/DEBUG ( 266): b688b2b4 a903ead0 f7f4a804 a803ead2 fe31f7f5
I/DEBUG ( 266): b688b2c4 a8044639 ea16f7f4 a8049922 ea12f7f4
I/DEBUG ( 266): b688b2d4 a8049923 ea0ef7f4 a8049924 ea0af7f4
I/DEBUG ( 266): b688b2e4 210e68a0 68032200 aa049200 ab10695c
D/wpa_supplicant(10784): wlan0: Control interface command 'SIGNAL_POLL'
I/DEBUG ( 266): b688b2f4 a81047a0 ea04f7f4 a8104604 ea06f7f4
I/DEBUG ( 266): b688b304 f7f4a804 4620ea04 bdf0b01d 00014e94
I/DEBUG ( 266): b688b314 1d05b538 f1004604 f7f4004c 4628ee1e
I/DEBUG ( 266): b688b324 fdfff7f5 f7f54620 4620fdfc b538bd38
I/DEBUG ( 266): b688b334 4615460c 4620e004 f7ff3d01 3460ffe9
I/DEBUG ( 266): b688b344 d1f82d00 0000bd38 b09db530 a8044604
I/DEBUG ( 266): b688b354 f7f4460d a810e9c4 e9c0f7f4 23004925
I/DEBUG ( 266):
I/DEBUG ( 266): memory near r8:
I/DEBUG ( 266): beca97c4 b6f6e24e b6899008 b688f9c5 00000000
I/DEBUG ( 266): beca97d4 ffffffff 00000000 b6f6dde5 00000000
I/DEBUG ( 266): beca97e4 b7b8f0a0 00000018 00000001 00000040
I/DEBUG ( 266): beca97f4 00000001 00000034 00000001 b7b8fc40
I/DEBUG ( 266): beca9804 b7b8f0e0 00000000 00000000 00000000
I/DEBUG ( 266): beca9814 00000000 00000000 00000000 00000000
I/DEBUG ( 266): beca9824 00000000 00000000 00000000 00000000
I/DEBUG ( 266): beca9834 00000000 00000000 00000000 00000000
I/DEBUG ( 266): beca9844 00000000 00000000 00000000 00000000
I/DEBUG ( 266): beca9854 00000000 00000000 beca98b4 beca98b4
I/DEBUG ( 266): beca9864 beca98bc 00000001 b6f3cfd8 b6f6db95
I/DEBUG ( 266): beca9874 00000000 00000000 b6f015a5 00000000
I/DEBUG ( 266): beca9884 00000000 00000000 00000000 00000000
I/DEBUG ( 266): beca9894 b6f6d594 b6f6f668 b6f6f670 b6f6f678
I/DEBUG ( 266): beca98a4 beca98b0 00000000 b6f57881 00000001
I/DEBUG ( 266): beca98b4 beca99d8 00000000 beca99e7 beca99f8
I/DEBUG ( 266):
I/DEBUG ( 266): memory near sl:
I/DEBUG ( 266): beca99b8 beca99d4 00000000 00000000 5c2cbe0e
I/DEBUG ( 266): beca99c8 6dbb4e08 7c900b9b 76a8a152 006c3776
I/DEBUG ( 266): beca99d8 61622f2e 72637364 636e6565 5f007061
I/DEBUG ( 266): beca99e8 622f2e3d 63736461 6e656572 00706163
I/DEBUG ( 266): beca99f8 48544150 62732f3d 2f3a6e69 646e6576
I/DEBUG ( 266): beca9a08 622f726f 2f3a6e69 74737973 732f6d65
D/wpa_supplicant(10784): signal_poll nl80211_signal_poll:10508 rssi:[-47]
D/wpa_supplicant(10784): nl80211: survey data missing!
I/DEBUG ( 266): beca9a18 3a6e6962 7379732f 2f6d6574 3a6e6962
I/DEBUG ( 266): beca9a28 7379732f 2f6d6574 6e696278 4f4f4c00
I/DEBUG ( 266): beca9a38 4f4d5f50 50544e55 544e494f 6e6d2f3d
I/DEBUG ( 266): beca9a48 626f2f74 4e410062 494f5244 4f525f44
I/DEBUG ( 266): beca9a58 2f3d544f 74737973 56006d65 5f454249
I/DEBUG ( 266): beca9a68 45504950 5441505f 642f3d48 702f7665
I/DEBUG ( 266): beca9a78 73657069 45485300 2f3d4c4c 74737973
I/DEBUG ( 266): beca9a88 622f6d65 732f6e69 4e410068 494f5244
I/DEBUG ( 266): beca9a98 41445f44 2f3d4154 61746164 444e4100
I/DEBUG ( 266): beca9aa8 44494f52 5353415f 3d535445 7379732f
I/DEBUG ( 266):
I/DEBUG ( 266): memory near fp:
I/DEBUG ( 266): beca988c 00000000 00000000 b6f6d594 b6f6f668
I/DEBUG ( 266): beca989c b6f6f670 b6f6f678 beca98b0 00000000
I/DEBUG ( 266): beca98ac b6f57881 00000001 beca99d8 00000000
I/DEBUG ( 266): beca98bc beca99e7 beca99f8 beca9a35 beca9a4e
I/DEBUG ( 266): beca98cc beca9a63 beca9a7d beca9a92 beca9aa5
I/DEBUG ( 266): beca98dc beca9ac0 beca9acb beca9af4 beca9b13
I/DEBUG ( 266): beca98ec beca9b26 beca9b34 beca9b5c beca9e57
I/DEBUG ( 266): beca98fc beca9e83 beca9e9a beca9ebf beca9ee9
I/DEBUG ( 266): beca990c beca9f02 beca9f16 beca9f3d beca9f67
I/DEBUG ( 266): beca991c beca9f8d beca9f9a beca9fb4 beca9fd7
I/DEBUG ( 266): beca992c beca9fe2 00000000 00000010 0007b0d7
I/DEBUG ( 266): beca993c 00000006 00001000 00000011 00000064
I/DEBUG ( 266): beca994c 00000003 b6f68034 00000004 00000020
I/DEBUG ( 266): beca995c 00000005 00000008 00000007 b6f56000
I/DEBUG ( 266): beca996c 00000008 00000000 00000009 b6f6d530
I/DEBUG ( 266): beca997c 0000000b 000007d0 0000000c 000007d0
I/DEBUG ( 266):
I/DEBUG ( 266): memory near ip:
I/DEBUG ( 266): b6ec1f18 b6f1e845 b6f052ef b6f05357 b6f196c1
I/DEBUG ( 266): b6ec1f28 b6f15749 b6f1542c b6f1cb11 b6f1e239
I/DEBUG ( 266): b6ec1f38 b6ee9b54 b6ee9b34 b6ee9b74 b6ee9b0c
I/DEBUG ( 266): b6ec1f48 b6ee9bb8 b6f00de1 b6f2d62f b6f164dd
I/DEBUG ( 266): b6ec1f58 b6f1ba3d b6f1e7b9 b6f2d3bb b6f167db
I/DEBUG ( 266): b6ec1f68 b6f20c55 b6f135e4 b6f20035 b6f05f01
I/DEBUG ( 266): b6ec1f78 b6f05f29 b6f05f71 b6f003d0 b6f05f1b
I/DEBUG ( 266): b6ec1f88 b6f01b38 b6f01a34 b6f13468 b6f13348
I/DEBUG ( 266): b6ec1f98 b6eeb151 b6f06279 b6f13180 b6f1fec3
I/DEBUG ( 266): b6ec1fa8 b6f01810 b6f01f44 b6f02190 b6f0227c
I/DEBUG ( 266): b6ec1fb8 b6f01f84 b6f01ec0 b6f01fa0 b6f140ec
I/DEBUG ( 266): b6ec1fc8 b6ede927 b6f13d10 b6ede919 b6f13510
I/DEBUG ( 266): b6ec1fd8 b6f0086c b6f021ec b6f00ab8 b6f00ad8
I/DEBUG ( 266): b6ec1fe8 b6f13530 b6f14964 b6f14984 b6f138b4
I/DEBUG ( 266): b6ec1ff8 b6f1f0f9 b6f14944 b6ec2000 ffffffff
I/DEBUG ( 266): b6ec2008 00000001 ffffffff b6ebb42d 00000000
I/DEBUG ( 266):
I/DEBUG ( 266): memory near sp:
I/DEBUG ( 266): beca9760 0000000c b6f6e268 b7b8fc40 00000000
I/DEBUG ( 266): beca9770 b6f6e268 b6885c09 b7b8fc40 beca9808
I/DEBUG ( 266): beca9780 beca97ac b68853b9 beca9800 b688f953
I/DEBUG ( 266): beca9790 b6f4b334 00000002 b7b8f0e0 00000000
I/DEBUG ( 266): beca97a0 b6f3d1d8 b7b8eee8 b7b8fc40 b7b8f0e0
I/DEBUG ( 266): beca97b0 b6f6e08f 00000000 b7b91270 b6f6e268
I/DEBUG ( 266): beca97c0 b7b8f0e0 b6f6e24e b6899008 b688f9c5
I/DEBUG ( 266): beca97d0 00000000 ffffffff 00000000 b6f6dde5
I/DEBUG ( 266): beca97e0 00000000 b7b8f0a0 00000018 00000001
I/DEBUG ( 266): beca97f0 00000040 00000001 00000034 00000001
I/DEBUG ( 266): beca9800 b7b8fc40 b7b8f0e0 00000000 00000000
I/DEBUG ( 266): beca9810 00000000 00000000 00000000 00000000
I/DEBUG ( 266): beca9820 00000000 00000000 00000000 00000000
I/DEBUG ( 266): beca9830 00000000 00000000 00000000 00000000
I/DEBUG ( 266): beca9840 00000000 00000000 00000000 00000000
I/DEBUG ( 266): beca9850 00000000 00000000 00000000 beca98b4
I/DEBUG ( 266):
I/DEBUG ( 266): code around pc:
I/DEBUG ( 266): b6ee9b3c e1910f9f e080c003 e1812f9c e3520000
I/DEBUG ( 266): b6ee9b4c 1afffffa e12fff1e e1a03000 f57ff05f
I/DEBUG ( 266): b6ee9b5c e1930f9f e2801001 e1832f91 e3520000
I/DEBUG ( 266): b6ee9b6c 1afffffa e12fff1e e1a03000 f57ff05f
I/DEBUG ( 266): b6ee9b7c e3e02000 e1930f9f e080c002 e1831f9c
I/DEBUG ( 266): b6ee9b8c e3510000 1afffffa e12fff1e e1a03000
I/DEBUG ( 266): b6ee9b9c f57ff05f e1910f9f e000c003 e1812f9c
I/DEBUG ( 266): b6ee9bac e3520000 1afffffa e12fff1e e1a03000
I/DEBUG ( 266): b6ee9bbc f57ff05f e1910f9f e180c003 e1812f9c
I/DEBUG ( 266): b6ee9bcc e3520000 1afffffa e12fff1e 6883b508
I/DEBUG ( 266): b6ee9bdc 47984608 2140ea6f ea801840 eb023290
I/DEBUG ( 266): b6ee9bec ea831302 bd082093 2203b5f8 46046943
I/DEBUG ( 266): b6ee9bfc 43726846 0f92ebb3 0076d923 46302104
I/DEBUG ( 266): b6ee9c0c ebe4f7ff b1e04605 1e772200 6821e011
I/DEBUG ( 266): b6ee9c1c 3022f851 6858e00a e00cf8d3 0c00ea07
I/DEBUG ( 266): b6ee9c2c 102cf855 f84560d9 4673302c d1f22b00
I/DEBUG ( 266):
I/DEBUG ( 266): code around lr:
I/DEBUG ( 266): b6eba0b4 000078c4 4604b510 ffe2f7ff f7fd4620
I/DEBUG ( 266): b6eba0c4 4620e918 b510bd10 1d206844 ea2af7fd
I/DEBUG ( 266): b6eba0d4 f7fd4620 f1b0ea28 d1085f80 f04f4621
I/DEBUG ( 266): b6eba0e4 f7fd4070 68a0ea26 68996803 bd104788
I/DEBUG ( 266): b6eba0f4 6844b510 f7fd1d20 4620ea16 ea12f7fd
I/DEBUG ( 266): b6eba104 f1b0b138 d1085f80 4070f04f f7fd4621
I/DEBUG ( 266): b6eba114 68a0ea10 68996803 bd104788 68186843
I/DEBUG ( 266): b6eba124 30044770 beb4f003 4604b538 460d3004
I/DEBUG ( 266): b6eba134 ea04f7fd d1192801 07d968e3 6823d409
I/DEBUG ( 266): b6eba144 5f80f1b3 e00cd100 e8bd4620 f0034038
I/DEBUG ( 266): b6eba154 68a0bea7 694a6801 47904629 07c268e0
I/DEBUG ( 266): b6eba164 68a0d504 6801b110 4790684a b570bd38
I/DEBUG ( 266): b6eba174 68444605 4620460e e9e0f7fd d10b2801
I/DEBUG ( 266): b6eba184 463168a0 68da6803 68e04790 d40307c0
I/DEBUG ( 266): b6eba194 46286829 4798684b 46314620 4070e8bd
I/DEBUG ( 266): b6eba1a4 bfc2f7ff 4604b570 460e3004 e9baf7fd
Click to expand...
Click to collapse
Besides of the crash it seems to be incomplete because the code lacks any final ways of gaining elevated privileges (payload w/ reverse shell or something like that).
I assume it all makes no sense due to the loss of relevance for others. So I'll turn my attention to another CVE's out there. This could be the most elegant and shortest way of getting system though.
dadreamer said:
Well, I have compiled that badscreencap by p1gl3t along with android 4.4.2 codebase and then pushed it to my dev. But whenever I run it I receive segfault:
When I issue any one command after that I get
Of course, no any signs of system privileges for my id. Checked this with logcat and it has got the following trace:
Besides of the crash it seems to be incomplete because the code lacks any final ways of gaining elevated privileges (payload w/ reverse shell or something like that).
I assume it all makes no sense due to the loss of relevance for others. So I'll turn my attention to another CVE's out there. This could be the most elegant and shortest way of getting system though.
Click to expand...
Click to collapse
Is your goal to gain root on FireOS v3/v4/5 or are you experimenting with this for other reasons? If the former there are far easier methods (FireOS version dependent) of achieving this; even a theoretical way to unlock the bootloader sans root.

Cyanogenmod kmesg stuff

With my most recent compile of CM for Galaxy J2(J200G), it does kind of boot(stuck at boot animation), i manged to get the kmesg from the phone:
View attachment kmesg_1.txt
Can I also have the logcat please?? @bengris32
lzzy12 said:
Can I also have the logcat please?? @bengris32
Click to expand...
Click to collapse
Sure, i will just have to modify boot.img, as im using the stock boot.img, adb on startup is disabled -_-
bengris32 said:
Sure, i will just have to modify boot.img, as im using the stock boot.img, adb on startup is disabled -_-
Click to expand...
Click to collapse
You are using stock boot.img?? -_-
lzzy12 said:
Am, are you kidding me, huhh? You are using stock boot.img?? -_-
Click to expand...
Click to collapse
yep, for some reason the generated boot.img does not work, if the stock boot.img is causing an issue(it may be) then i will have to figure out why its not booting using the built boot.img
Im using the kernel zImage that i compiled using the j2lteswa source
It compiled, however for some reason, some kernels from OSRC do not like to compile during the android compile itself, i had to compile it separately then use the prebuilt zImage
bengris32 said:
yep, for some reason the generated boot.img does not work, if the stock boot.img is causing an issue(it may be) then i will have to figure out why its not booting using the built boot.img
Im using the kernel zImage that i compiled using the j2lteswa source
It compiled, however for some reason, some kernels from OSRC do not like to compile during the android compile itself, i had to compile it separately then use the prebuilt zImage
Click to expand...
Click to collapse
You need the solve the errors you get during compiling sammy's kernel sources with LineageOS
here is the logcat
lzzy12 said:
You need the solve the errors you get during compiling sammy's kernel sources with LineageOS
Click to expand...
Click to collapse
sorry for the delay, here it is, with the j2 on a blank screen
HTML:
I/DEBUG ( 2172): ABI: 'arm'
I/DEBUG ( 2172): pid: 3415, tid: 3415, name: gpsd >>> /system/bin/gpsd <<<
I/DEBUG ( 2172): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
I/DEBUG ( 2172): r0 b6f5d930 r1 00000000 r2 00000100 r3 b6f5d930
I/DEBUG ( 2172): r4 b6f5d90c r5 00000000 r6 b6f6f11c r7 b6e92534
I/DEBUG ( 2172): r8 b6f5d930 r9 00000000 sl b6f6f11c fp b6f7081c
I/DEBUG ( 2172): ip b6f57bb8 sp bee24428 lr b6bbb8c1 pc b6859330 cpsr
60070030
I/DEBUG ( 2172):
I/DEBUG ( 2172): backtrace:
I/DEBUG ( 2172): #00 pc 00037330 /system/lib/libc.so (strncpy+5)
I/DEBUG ( 2172): #01 pc 000188bd /system/bin/gpsd
I/DEBUG ( 2172): #02 pc 000189f5 /system/bin/gpsd
I/DEBUG ( 2172): #03 pc 00018b17 /system/bin/gpsd
I/DEBUG ( 2172): #04 pc 00018ae9 /system/bin/gpsd
I/DEBUG ( 2172): #05 pc 000187d7 /system/bin/gpsd
I/DEBUG ( 2172): #06 pc 00037479 /system/bin/gpsd
I/DEBUG ( 2172): #07 pc 0010414d /system/bin/gpsd
I/DEBUG ( 2172): #08 pc 00031889 /system/bin/gpsd
I/DEBUG ( 2172): #09 pc 00035cc1 /system/bin/gpsd
I/DEBUG ( 2172): #10 pc 000366e7 /system/bin/gpsd
I/DEBUG ( 2172): #11 pc 0001810d /system/bin/gpsd
I/DEBUG ( 2172): #12 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 2172): #13 pc 00017f58 /system/bin/gpsd
I/DEBUG ( 2172):
I/DEBUG ( 2172): Tombstone written to: /data/tombstones/tombstone_06
D/gpsd ( 3421): WakeLock(Release,GPSD)
E/gpsd ( 3421): ASSERT in GlGpsdInterface.cpp:370: Failed to read config file
.
F/libc ( 3421): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 3421
(gpsd)
I/DEBUG ( 2172): property debug.db.uid not set; NOT waiting for gdb.
I/DEBUG ( 2172): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 2172): HINT: adb forward tcp:5039 tcp:5039
I/DEBUG ( 2172): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *
**
I/DEBUG ( 2172): Build fingerprint: 'samsung/cm_j2lte/j2lte:5.1.1/LMY49J/60f4e
47cf7:userdebug/test-keys'
I/DEBUG ( 2172): Revision: '4'
I/DEBUG ( 2172): ABI: 'arm'
I/DEBUG ( 2172): pid: 3421, tid: 3421, name: gpsd >>> /system/bin/gpsd <<<
I/DEBUG ( 2172): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
I/DEBUG ( 2172): r0 b6fe8930 r1 00000000 r2 00000100 r3 b6fe8930
I/DEBUG ( 2172): r4 b6fe890c r5 00000000 r6 b6ffa11c r7 b6f1d534
I/DEBUG ( 2172): r8 b6fe8930 r9 00000000 sl b6ffa11c fp b6ffb81c
I/DEBUG ( 2172): ip b6fe2bb8 sp bebba428 lr b6c468c1 pc b68e4330 cpsr
60070030
I/DEBUG ( 2172):
I/DEBUG ( 2172): backtrace:
I/DEBUG ( 2172): #00 pc 00037330 /system/lib/libc.so (strncpy+5)
I/DEBUG ( 2172): #01 pc 000188bd /system/bin/gpsd
I/DEBUG ( 2172): #02 pc 000189f5 /system/bin/gpsd
I/DEBUG ( 2172): #03 pc 00018b17 /system/bin/gpsd
I/DEBUG ( 2172): #04 pc 00018ae9 /system/bin/gpsd
I/DEBUG ( 2172): #05 pc 000187d7 /system/bin/gpsd
I/DEBUG ( 2172): #06 pc 00037479 /system/bin/gpsd
I/DEBUG ( 2172): #07 pc 0010414d /system/bin/gpsd
I/DEBUG ( 2172): #08 pc 00031889 /system/bin/gpsd
I/DEBUG ( 2172): #09 pc 00035cc1 /system/bin/gpsd
I/DEBUG ( 2172): #10 pc 000366e7 /system/bin/gpsd
I/DEBUG ( 2172): #11 pc 0001810d /system/bin/gpsd
I/DEBUG ( 2172): #12 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 2172): #13 pc 00017f58 /system/bin/gpsd
I/DEBUG ( 2172):
I/DEBUG ( 2172): Tombstone written to: /data/tombstones/tombstone_07
D/gpsd ( 3428): WakeLock(Release,GPSD)
E/gpsd ( 3428): ASSERT in GlGpsdInterface.cpp:370: Failed to read config file
.
F/libc ( 3428): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 3428
(gpsd)
I/DEBUG ( 2172): property debug.db.uid not set; NOT waiting for gdb.
I/DEBUG ( 2172): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 2172): HINT: adb forward tcp:5039 tcp:5039
I/DEBUG ( 2172): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *
**
I/DEBUG ( 2172): Build fingerprint: 'samsung/cm_j2lte/j2lte:5.1.1/LMY49J/60f4e
47cf7:userdebug/test-keys'
I/DEBUG ( 2172): Revision: '4'
I/DEBUG ( 2172): ABI: 'arm'
I/DEBUG ( 2172): pid: 3428, tid: 3428, name: gpsd >>> /system/bin/gpsd <<<
I/DEBUG ( 2172): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
I/DEBUG ( 2172): r0 b6f74930 r1 00000000 r2 00000100 r3 b6f74930
I/DEBUG ( 2172): r4 b6f7490c r5 00000000 r6 b6f8611c r7 b6ea9534
I/DEBUG ( 2172): r8 b6f74930 r9 00000000 sl b6f8611c fp b6f8781c
I/DEBUG ( 2172): ip b6f6ebb8 sp be97c428 lr b6bd28c1 pc b6870330 cpsr
60070030
I/DEBUG ( 2172):
I/DEBUG ( 2172): backtrace:
I/DEBUG ( 2172): #00 pc 00037330 /system/lib/libc.so (strncpy+5)
I/DEBUG ( 2172): #01 pc 000188bd /system/bin/gpsd
I/DEBUG ( 2172): #02 pc 000189f5 /system/bin/gpsd
I/DEBUG ( 2172): #03 pc 00018b17 /system/bin/gpsd
I/DEBUG ( 2172): #04 pc 00018ae9 /system/bin/gpsd
I/DEBUG ( 2172): #05 pc 000187d7 /system/bin/gpsd
I/DEBUG ( 2172): #06 pc 00037479 /system/bin/gpsd
I/DEBUG ( 2172): #07 pc 0010414d /system/bin/gpsd
I/DEBUG ( 2172): #08 pc 00031889 /system/bin/gpsd
I/DEBUG ( 2172): #09 pc 00035cc1 /system/bin/gpsd
I/DEBUG ( 2172): #10 pc 000366e7 /system/bin/gpsd
I/DEBUG ( 2172): #11 pc 0001810d /system/bin/gpsd
I/DEBUG ( 2172): #12 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 2172): #13 pc 00017f58 /system/bin/gpsd
I/DEBUG ( 2172):
I/DEBUG ( 2172): Tombstone written to: /data/tombstones/tombstone_08
D/gpsd ( 3434): WakeLock(Release,GPSD)
E/gpsd ( 3434): ASSERT in GlGpsdInterface.cpp:370: Failed to read config file
.
F/libc ( 3434): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 3434
(gpsd)
I/DEBUG ( 2172): property debug.db.uid not set; NOT waiting for gdb.
I/DEBUG ( 2172): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 2172): HINT: adb forward tcp:5039 tcp:5039
I/DEBUG ( 2172): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *
**
I/DEBUG ( 2172): Build fingerprint: 'samsung/cm_j2lte/j2lte:5.1.1/LMY49J/60f4e
47cf7:userdebug/test-keys'
I/DEBUG ( 2172): Revision: '4'
I/DEBUG ( 2172): ABI: 'arm'
I/DEBUG ( 2172): pid: 3434, tid: 3434, name: gpsd >>> /system/bin/gpsd <<<
I/DEBUG ( 2172): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
I/DEBUG ( 2172): r0 b6f1d930 r1 00000000 r2 00000100 r3 b6f1d930
I/DEBUG ( 2172): r4 b6f1d90c r5 00000000 r6 b6f2f11c r7 b6e52534
I/DEBUG ( 2172): r8 b6f1d930 r9 00000000 sl b6f2f11c fp b6f3081c
I/DEBUG ( 2172): ip b6f17bb8 sp be9c3428 lr b6b7b8c1 pc b6819330 cpsr
60070030
I/DEBUG ( 2172):
I/DEBUG ( 2172): backtrace:
I/DEBUG ( 2172): #00 pc 00037330 /system/lib/libc.so (strncpy+5)
I/DEBUG ( 2172): #01 pc 000188bd /system/bin/gpsd
I/DEBUG ( 2172): #02 pc 000189f5 /system/bin/gpsd
I/DEBUG ( 2172): #03 pc 00018b17 /system/bin/gpsd
I/DEBUG ( 2172): #04 pc 00018ae9 /system/bin/gpsd
I/DEBUG ( 2172): #05 pc 000187d7 /system/bin/gpsd
I/DEBUG ( 2172): #06 pc 00037479 /system/bin/gpsd
I/DEBUG ( 2172): #07 pc 0010414d /system/bin/gpsd
I/DEBUG ( 2172): #08 pc 00031889 /system/bin/gpsd
I/DEBUG ( 2172): #09 pc 00035cc1 /system/bin/gpsd
I/DEBUG ( 2172): #10 pc 000366e7 /system/bin/gpsd
I/DEBUG ( 2172): #11 pc 0001810d /system/bin/gpsd
I/DEBUG ( 2172): #12 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 2172): #13 pc 00017f58 /system/bin/gpsd
I/DEBUG ( 2172):
I/DEBUG ( 2172): Tombstone written to: /data/tombstones/tombstone_09
D/gpsd ( 3441): WakeLock(Release,GPSD)
E/gpsd ( 3441): ASSERT in GlGpsdInterface.cpp:370: Failed to read config file
.
F/libc ( 3441): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 3441
(gpsd)
I/DEBUG ( 2172): property debug.db.uid not set; NOT waiting for gdb.
I/DEBUG ( 2172): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 2172): HINT: adb forward tcp:5039 tcp:5039
I/DEBUG ( 2172): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *
**
I/DEBUG ( 2172): Build fingerprint: 'samsung/cm_j2lte/j2lte:5.1.1/LMY49J/60f4e
47cf7:userdebug/test-keys'
I/DEBUG ( 2172): Revision: '4'
I/DEBUG ( 2172): ABI: 'arm'
I/DEBUG ( 2172): pid: 3441, tid: 3441, name: gpsd >>> /system/bin/gpsd <<<
I/DEBUG ( 2172): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
I/DEBUG ( 2172): r0 b6f6a930 r1 00000000 r2 00000100 r3 b6f6a930
I/DEBUG ( 2172): r4 b6f6a90c r5 00000000 r6 b6f7c11c r7 b6e9f534
I/DEBUG ( 2172): r8 b6f6a930 r9 00000000 sl b6f7c11c fp b6f7d81c
I/DEBUG ( 2172): ip b6f64bb8 sp bec3d428 lr b6bc88c1 pc b6866330 cpsr
60070030
I/DEBUG ( 2172):
I/DEBUG ( 2172): backtrace:
I/DEBUG ( 2172): #00 pc 00037330 /system/lib/libc.so (strncpy+5)
I/DEBUG ( 2172): #01 pc 000188bd /system/bin/gpsd
I/DEBUG ( 2172): #02 pc 000189f5 /system/bin/gpsd
I/DEBUG ( 2172): #03 pc 00018b17 /system/bin/gpsd
I/DEBUG ( 2172): #04 pc 00018ae9 /system/bin/gpsd
I/DEBUG ( 2172): #05 pc 000187d7 /system/bin/gpsd
I/DEBUG ( 2172): #06 pc 00037479 /system/bin/gpsd
I/DEBUG ( 2172): #07 pc 0010414d /system/bin/gpsd
I/DEBUG ( 2172): #08 pc 00031889 /system/bin/gpsd
I/DEBUG ( 2172): #09 pc 00035cc1 /system/bin/gpsd
I/DEBUG ( 2172): #10 pc 000366e7 /system/bin/gpsd
I/DEBUG ( 2172): #11 pc 0001810d /system/bin/gpsd
I/DEBUG ( 2172): #12 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 2172): #13 pc 00017f58 /system/bin/gpsd
I/DEBUG ( 2172):
I/DEBUG ( 2172): Tombstone written to: /data/tombstones/tombstone_00
D/gpsd ( 3447): WakeLock(Release,GPSD)
E/gpsd ( 3447): ASSERT in GlGpsdInterface.cpp:370: Failed to read config file
.
F/libc ( 3447): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 3447
(gpsd)
I/DEBUG ( 2172): property debug.db.uid not set; NOT waiting for gdb.
I/DEBUG ( 2172): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 2172): HINT: adb forward tcp:5039 tcp:5039
I/DEBUG ( 2172): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *
**
I/DEBUG ( 2172): Build fingerprint: 'samsung/cm_j2lte/j2lte:5.1.1/LMY49J/60f4e
47cf7:userdebug/test-keys'
I/DEBUG ( 2172): Revision: '4'
I/DEBUG ( 2172): ABI: 'arm'
I/DEBUG ( 2172): pid: 3447, tid: 3447, name: gpsd >>> /system/bin/gpsd <<<
I/DEBUG ( 2172): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
I/DEBUG ( 2172): r0 b6fc6930 r1 00000000 r2 00000100 r3 b6fc6930
I/DEBUG ( 2172): r4 b6fc690c r5 00000000 r6 b6fd811c r7 b6efb534
I/DEBUG ( 2172): r8 b6fc6930 r9 00000000 sl b6fd811c fp b6fd981c
I/DEBUG ( 2172): ip b6fc0bb8 sp beaec428 lr b6c248c1 pc b68c2330 cpsr
60070030
I/DEBUG ( 2172):
I/DEBUG ( 2172): backtrace:
I/DEBUG ( 2172): #00 pc 00037330 /system/lib/libc.so (strncpy+5)
I/DEBUG ( 2172): #01 pc 000188bd /system/bin/gpsd
I/DEBUG ( 2172): #02 pc 000189f5 /system/bin/gpsd
I/DEBUG ( 2172): #03 pc 00018b17 /system/bin/gpsd
I/DEBUG ( 2172): #04 pc 00018ae9 /system/bin/gpsd
I/DEBUG ( 2172): #05 pc 000187d7 /system/bin/gpsd
I/DEBUG ( 2172): #06 pc 00037479 /system/bin/gpsd
I/DEBUG ( 2172): #07 pc 0010414d /system/bin/gpsd
I/DEBUG ( 2172): #08 pc 00031889 /system/bin/gpsd
I/DEBUG ( 2172): #09 pc 00035cc1 /system/bin/gpsd
I/DEBUG ( 2172): #10 pc 000366e7 /system/bin/gpsd
I/DEBUG ( 2172): #11 pc 0001810d /system/bin/gpsd
I/DEBUG ( 2172): #12 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 2172): #13 pc 00017f58 /system/bin/gpsd
I/DEBUG ( 2172):
I/DEBUG ( 2172): Tombstone written to: /data/tombstones/tombstone_01
D/gpsd ( 3454): WakeLock(Release,GPSD)
E/gpsd ( 3454): ASSERT in GlGpsdInterface.cpp:370: Failed to read config file
.
F/libc ( 3454): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 3454
(gpsd)
I/DEBUG ( 2172): property debug.db.uid not set; NOT waiting for gdb.
I/DEBUG ( 2172): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 2172): HINT: adb forward tcp:5039 tcp:5039
I/DEBUG ( 2172): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *
**
I/DEBUG ( 2172): Build fingerprint: 'samsung/cm_j2lte/j2lte:5.1.1/LMY49J/60f4e
47cf7:userdebug/test-keys'
I/DEBUG ( 2172): Revision: '4'
I/DEBUG ( 2172): ABI: 'arm'
I/DEBUG ( 2172): pid: 3454, tid: 3454, name: gpsd >>> /system/bin/gpsd <<<
I/DEBUG ( 2172): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
I/DEBUG ( 2172): r0 b6f64930 r1 00000000 r2 00000100 r3 b6f64930
I/DEBUG ( 2172): r4 b6f6490c r5 00000000 r6 b6f7611c r7 b6e99534
I/DEBUG ( 2172): r8 b6f64930 r9 00000000 sl b6f7611c fp b6f7781c
I/DEBUG ( 2172): ip b6f5ebb8 sp bec2f428 lr b6bc28c1 pc b6860330 cpsr
60070030
I/DEBUG ( 2172):
I/DEBUG ( 2172): backtrace:
I/DEBUG ( 2172): #00 pc 00037330 /system/lib/libc.so (strncpy+5)
I/DEBUG ( 2172): #01 pc 000188bd /system/bin/gpsd
I/DEBUG ( 2172): #02 pc 000189f5 /system/bin/gpsd
I/DEBUG ( 2172): #03 pc 00018b17 /system/bin/gpsd
I/DEBUG ( 2172): #04 pc 00018ae9 /system/bin/gpsd
I/DEBUG ( 2172): #05 pc 000187d7 /system/bin/gpsd
I/DEBUG ( 2172): #06 pc 00037479 /system/bin/gpsd
I/DEBUG ( 2172): #07 pc 0010414d /system/bin/gpsd
I/DEBUG ( 2172): #08 pc 00031889 /system/bin/gpsd
I/DEBUG ( 2172): #09 pc 00035cc1 /system/bin/gpsd
I/DEBUG ( 2172): #10 pc 000366e7 /system/bin/gpsd
I/DEBUG ( 2172): #11 pc 0001810d /system/bin/gpsd
I/DEBUG ( 2172): #12 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 2172): #13 pc 00017f58 /system/bin/gpsd
I/DEBUG ( 2172):
I/DEBUG ( 2172): Tombstone written to: /data/tombstones/tombstone_02
D/gpsd ( 3460): WakeLock(Release,GPSD)
E/gpsd ( 3460): ASSERT in GlGpsdInterface.cpp:370: Failed to read config file
.
F/libc ( 3460): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 3460
(gpsd)
I/DEBUG ( 2172): property debug.db.uid not set; NOT waiting for gdb.
I/DEBUG ( 2172): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 2172): HINT: adb forward tcp:5039 tcp:5039
I/DEBUG ( 2172): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *
**
I/DEBUG ( 2172): Build fingerprint: 'samsung/cm_j2lte/j2lte:5.1.1/LMY49J/60f4e
47cf7:userdebug/test-keys'
I/DEBUG ( 2172): Revision: '4'
I/DEBUG ( 2172): ABI: 'arm'
I/DEBUG ( 2172): pid: 3460, tid: 3460, name: gpsd >>> /system/bin/gpsd <<<
I/DEBUG ( 2172): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
I/DEBUG ( 2172): r0 b6fa4930 r1 00000000 r2 00000100 r3 b6fa4930
I/DEBUG ( 2172): r4 b6fa490c r5 00000000 r6 b6fb611c r7 b6ed9534
I/DEBUG ( 2172): r8 b6fa4930 r9 00000000 sl b6fb611c fp b6fb781c
I/DEBUG ( 2172): ip b6f9ebb8 sp be885428 lr b6c028c1 pc b68a0330 cpsr
60070030
I/DEBUG ( 2172):
I/DEBUG ( 2172): backtrace:
I/DEBUG ( 2172): #00 pc 00037330 /system/lib/libc.so (strncpy+5)
I/DEBUG ( 2172): #01 pc 000188bd /system/bin/gpsd
I/DEBUG ( 2172): #02 pc 000189f5 /system/bin/gpsd
I/DEBUG ( 2172): #03 pc 00018b17 /system/bin/gpsd
I/DEBUG ( 2172): #04 pc 00018ae9 /system/bin/gpsd
I/DEBUG ( 2172): #05 pc 000187d7 /system/bin/gpsd
I/DEBUG ( 2172): #06 pc 00037479 /system/bin/gpsd
I/DEBUG ( 2172): #07 pc 0010414d /system/bin/gpsd
I/DEBUG ( 2172): #08 pc 00031889 /system/bin/gpsd
I/DEBUG ( 2172): #09 pc 00035cc1 /system/bin/gpsd
I/DEBUG ( 2172): #10 pc 000366e7 /system/bin/gpsd
I/DEBUG ( 2172): #11 pc 0001810d /system/bin/gpsd
I/DEBUG ( 2172): #12 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 2172): #13 pc 00017f58 /system/bin/gpsd
I/DEBUG ( 2172):
I/DEBUG ( 2172): Tombstone written to: /data/tombstones/tombstone_03
bengris32 said:
sorry for the delay, here it is, with the j2 on a blank screen
HTML:
I/DEBUG ( 2172): ABI: 'arm'
I/DEBUG ( 2172): pid: 3415, tid: 3415, name: gpsd >>> /system/bin/gpsd <<<
I/DEBUG ( 2172): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
I/DEBUG ( 2172): r0 b6f5d930 r1 00000000 r2 00000100 r3 b6f5d930
I/DEBUG ( 2172): r4 b6f5d90c r5 00000000 r6 b6f6f11c r7 b6e92534
I/DEBUG ( 2172): r8 b6f5d930 r9 00000000 sl b6f6f11c fp b6f7081c
I/DEBUG ( 2172): ip b6f57bb8 sp bee24428 lr b6bbb8c1 pc b6859330 cpsr
60070030
I/DEBUG ( 2172):
I/DEBUG ( 2172): backtrace:
I/DEBUG ( 2172): #00 pc 00037330 /system/lib/libc.so (strncpy+5)
I/DEBUG ( 2172): #01 pc 000188bd /system/bin/gpsd
I/DEBUG ( 2172): #02 pc 000189f5 /system/bin/gpsd
I/DEBUG ( 2172): #03 pc 00018b17 /system/bin/gpsd
I/DEBUG ( 2172): #04 pc 00018ae9 /system/bin/gpsd
I/DEBUG ( 2172): #05 pc 000187d7 /system/bin/gpsd
I/DEBUG ( 2172): #06 pc 00037479 /system/bin/gpsd
I/DEBUG ( 2172): #07 pc 0010414d /system/bin/gpsd
I/DEBUG ( 2172): #08 pc 00031889 /system/bin/gpsd
I/DEBUG ( 2172): #09 pc 00035cc1 /system/bin/gpsd
I/DEBUG ( 2172): #10 pc 000366e7 /system/bin/gpsd
I/DEBUG ( 2172): #11 pc 0001810d /system/bin/gpsd
I/DEBUG ( 2172): #12 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 2172): #13 pc 00017f58 /system/bin/gpsd
I/DEBUG ( 2172):
I/DEBUG ( 2172): Tombstone written to: /data/tombstones/tombstone_06
D/gpsd ( 3421): WakeLock(Release,GPSD)
E/gpsd ( 3421): ASSERT in GlGpsdInterface.cpp:370: Failed to read config file
.
F/libc ( 3421): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 3421
(gpsd)
I/DEBUG ( 2172): property debug.db.uid not set; NOT waiting for gdb.
I/DEBUG ( 2172): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 2172): HINT: adb forward tcp:5039 tcp:5039
I/DEBUG ( 2172): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *
**
I/DEBUG ( 2172): Build fingerprint: 'samsung/cm_j2lte/j2lte:5.1.1/LMY49J/60f4e
47cf7:userdebug/test-keys'
I/DEBUG ( 2172): Revision: '4'
I/DEBUG ( 2172): ABI: 'arm'
I/DEBUG ( 2172): pid: 3421, tid: 3421, name: gpsd >>> /system/bin/gpsd <<<
I/DEBUG ( 2172): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
I/DEBUG ( 2172): r0 b6fe8930 r1 00000000 r2 00000100 r3 b6fe8930
I/DEBUG ( 2172): r4 b6fe890c r5 00000000 r6 b6ffa11c r7 b6f1d534
I/DEBUG ( 2172): r8 b6fe8930 r9 00000000 sl b6ffa11c fp b6ffb81c
I/DEBUG ( 2172): ip b6fe2bb8 sp bebba428 lr b6c468c1 pc b68e4330 cpsr
60070030
I/DEBUG ( 2172):
I/DEBUG ( 2172): backtrace:
I/DEBUG ( 2172): #00 pc 00037330 /system/lib/libc.so (strncpy+5)
I/DEBUG ( 2172): #01 pc 000188bd /system/bin/gpsd
I/DEBUG ( 2172): #02 pc 000189f5 /system/bin/gpsd
I/DEBUG ( 2172): #03 pc 00018b17 /system/bin/gpsd
I/DEBUG ( 2172): #04 pc 00018ae9 /system/bin/gpsd
I/DEBUG ( 2172): #05 pc 000187d7 /system/bin/gpsd
I/DEBUG ( 2172): #06 pc 00037479 /system/bin/gpsd
I/DEBUG ( 2172): #07 pc 0010414d /system/bin/gpsd
I/DEBUG ( 2172): #08 pc 00031889 /system/bin/gpsd
I/DEBUG ( 2172): #09 pc 00035cc1 /system/bin/gpsd
I/DEBUG ( 2172): #10 pc 000366e7 /system/bin/gpsd
I/DEBUG ( 2172): #11 pc 0001810d /system/bin/gpsd
I/DEBUG ( 2172): #12 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 2172): #13 pc 00017f58 /system/bin/gpsd
I/DEBUG ( 2172):
I/DEBUG ( 2172): Tombstone written to: /data/tombstones/tombstone_07
D/gpsd ( 3428): WakeLock(Release,GPSD)
E/gpsd ( 3428): ASSERT in GlGpsdInterface.cpp:370: Failed to read config file
.
F/libc ( 3428): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 3428
(gpsd)
I/DEBUG ( 2172): property debug.db.uid not set; NOT waiting for gdb.
I/DEBUG ( 2172): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 2172): HINT: adb forward tcp:5039 tcp:5039
I/DEBUG ( 2172): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *
**
I/DEBUG ( 2172): Build fingerprint: 'samsung/cm_j2lte/j2lte:5.1.1/LMY49J/60f4e
47cf7:userdebug/test-keys'
I/DEBUG ( 2172): Revision: '4'
I/DEBUG ( 2172): ABI: 'arm'
I/DEBUG ( 2172): pid: 3428, tid: 3428, name: gpsd >>> /system/bin/gpsd <<<
I/DEBUG ( 2172): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
I/DEBUG ( 2172): r0 b6f74930 r1 00000000 r2 00000100 r3 b6f74930
I/DEBUG ( 2172): r4 b6f7490c r5 00000000 r6 b6f8611c r7 b6ea9534
I/DEBUG ( 2172): r8 b6f74930 r9 00000000 sl b6f8611c fp b6f8781c
I/DEBUG ( 2172): ip b6f6ebb8 sp be97c428 lr b6bd28c1 pc b6870330 cpsr
60070030
I/DEBUG ( 2172):
I/DEBUG ( 2172): backtrace:
I/DEBUG ( 2172): #00 pc 00037330 /system/lib/libc.so (strncpy+5)
I/DEBUG ( 2172): #01 pc 000188bd /system/bin/gpsd
I/DEBUG ( 2172): #02 pc 000189f5 /system/bin/gpsd
I/DEBUG ( 2172): #03 pc 00018b17 /system/bin/gpsd
I/DEBUG ( 2172): #04 pc 00018ae9 /system/bin/gpsd
I/DEBUG ( 2172): #05 pc 000187d7 /system/bin/gpsd
I/DEBUG ( 2172): #06 pc 00037479 /system/bin/gpsd
I/DEBUG ( 2172): #07 pc 0010414d /system/bin/gpsd
I/DEBUG ( 2172): #08 pc 00031889 /system/bin/gpsd
I/DEBUG ( 2172): #09 pc 00035cc1 /system/bin/gpsd
I/DEBUG ( 2172): #10 pc 000366e7 /system/bin/gpsd
I/DEBUG ( 2172): #11 pc 0001810d /system/bin/gpsd
I/DEBUG ( 2172): #12 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 2172): #13 pc 00017f58 /system/bin/gpsd
I/DEBUG ( 2172):
I/DEBUG ( 2172): Tombstone written to: /data/tombstones/tombstone_08
D/gpsd ( 3434): WakeLock(Release,GPSD)
E/gpsd ( 3434): ASSERT in GlGpsdInterface.cpp:370: Failed to read config file
.
F/libc ( 3434): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 3434
(gpsd)
I/DEBUG ( 2172): property debug.db.uid not set; NOT waiting for gdb.
I/DEBUG ( 2172): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 2172): HINT: adb forward tcp:5039 tcp:5039
I/DEBUG ( 2172): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *
**
I/DEBUG ( 2172): Build fingerprint: 'samsung/cm_j2lte/j2lte:5.1.1/LMY49J/60f4e
47cf7:userdebug/test-keys'
I/DEBUG ( 2172): Revision: '4'
I/DEBUG ( 2172): ABI: 'arm'
I/DEBUG ( 2172): pid: 3434, tid: 3434, name: gpsd >>> /system/bin/gpsd <<<
I/DEBUG ( 2172): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
I/DEBUG ( 2172): r0 b6f1d930 r1 00000000 r2 00000100 r3 b6f1d930
I/DEBUG ( 2172): r4 b6f1d90c r5 00000000 r6 b6f2f11c r7 b6e52534
I/DEBUG ( 2172): r8 b6f1d930 r9 00000000 sl b6f2f11c fp b6f3081c
I/DEBUG ( 2172): ip b6f17bb8 sp be9c3428 lr b6b7b8c1 pc b6819330 cpsr
60070030
I/DEBUG ( 2172):
I/DEBUG ( 2172): backtrace:
I/DEBUG ( 2172): #00 pc 00037330 /system/lib/libc.so (strncpy+5)
I/DEBUG ( 2172): #01 pc 000188bd /system/bin/gpsd
I/DEBUG ( 2172): #02 pc 000189f5 /system/bin/gpsd
I/DEBUG ( 2172): #03 pc 00018b17 /system/bin/gpsd
I/DEBUG ( 2172): #04 pc 00018ae9 /system/bin/gpsd
I/DEBUG ( 2172): #05 pc 000187d7 /system/bin/gpsd
I/DEBUG ( 2172): #06 pc 00037479 /system/bin/gpsd
I/DEBUG ( 2172): #07 pc 0010414d /system/bin/gpsd
I/DEBUG ( 2172): #08 pc 00031889 /system/bin/gpsd
I/DEBUG ( 2172): #09 pc 00035cc1 /system/bin/gpsd
I/DEBUG ( 2172): #10 pc 000366e7 /system/bin/gpsd
I/DEBUG ( 2172): #11 pc 0001810d /system/bin/gpsd
I/DEBUG ( 2172): #12 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 2172): #13 pc 00017f58 /system/bin/gpsd
I/DEBUG ( 2172):
I/DEBUG ( 2172): Tombstone written to: /data/tombstones/tombstone_09
D/gpsd ( 3441): WakeLock(Release,GPSD)
E/gpsd ( 3441): ASSERT in GlGpsdInterface.cpp:370: Failed to read config file
.
F/libc ( 3441): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 3441
(gpsd)
I/DEBUG ( 2172): property debug.db.uid not set; NOT waiting for gdb.
I/DEBUG ( 2172): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 2172): HINT: adb forward tcp:5039 tcp:5039
I/DEBUG ( 2172): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *
**
I/DEBUG ( 2172): Build fingerprint: 'samsung/cm_j2lte/j2lte:5.1.1/LMY49J/60f4e
47cf7:userdebug/test-keys'
I/DEBUG ( 2172): Revision: '4'
I/DEBUG ( 2172): ABI: 'arm'
I/DEBUG ( 2172): pid: 3441, tid: 3441, name: gpsd >>> /system/bin/gpsd <<<
I/DEBUG ( 2172): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
I/DEBUG ( 2172): r0 b6f6a930 r1 00000000 r2 00000100 r3 b6f6a930
I/DEBUG ( 2172): r4 b6f6a90c r5 00000000 r6 b6f7c11c r7 b6e9f534
I/DEBUG ( 2172): r8 b6f6a930 r9 00000000 sl b6f7c11c fp b6f7d81c
I/DEBUG ( 2172): ip b6f64bb8 sp bec3d428 lr b6bc88c1 pc b6866330 cpsr
60070030
I/DEBUG ( 2172):
I/DEBUG ( 2172): backtrace:
I/DEBUG ( 2172): #00 pc 00037330 /system/lib/libc.so (strncpy+5)
I/DEBUG ( 2172): #01 pc 000188bd /system/bin/gpsd
I/DEBUG ( 2172): #02 pc 000189f5 /system/bin/gpsd
I/DEBUG ( 2172): #03 pc 00018b17 /system/bin/gpsd
I/DEBUG ( 2172): #04 pc 00018ae9 /system/bin/gpsd
I/DEBUG ( 2172): #05 pc 000187d7 /system/bin/gpsd
I/DEBUG ( 2172): #06 pc 00037479 /system/bin/gpsd
I/DEBUG ( 2172): #07 pc 0010414d /system/bin/gpsd
I/DEBUG ( 2172): #08 pc 00031889 /system/bin/gpsd
I/DEBUG ( 2172): #09 pc 00035cc1 /system/bin/gpsd
I/DEBUG ( 2172): #10 pc 000366e7 /system/bin/gpsd
I/DEBUG ( 2172): #11 pc 0001810d /system/bin/gpsd
I/DEBUG ( 2172): #12 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 2172): #13 pc 00017f58 /system/bin/gpsd
I/DEBUG ( 2172):
I/DEBUG ( 2172): Tombstone written to: /data/tombstones/tombstone_00
D/gpsd ( 3447): WakeLock(Release,GPSD)
E/gpsd ( 3447): ASSERT in GlGpsdInterface.cpp:370: Failed to read config file
.
F/libc ( 3447): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 3447
(gpsd)
I/DEBUG ( 2172): property debug.db.uid not set; NOT waiting for gdb.
I/DEBUG ( 2172): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 2172): HINT: adb forward tcp:5039 tcp:5039
I/DEBUG ( 2172): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *
**
I/DEBUG ( 2172): Build fingerprint: 'samsung/cm_j2lte/j2lte:5.1.1/LMY49J/60f4e
47cf7:userdebug/test-keys'
I/DEBUG ( 2172): Revision: '4'
I/DEBUG ( 2172): ABI: 'arm'
I/DEBUG ( 2172): pid: 3447, tid: 3447, name: gpsd >>> /system/bin/gpsd <<<
I/DEBUG ( 2172): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
I/DEBUG ( 2172): r0 b6fc6930 r1 00000000 r2 00000100 r3 b6fc6930
I/DEBUG ( 2172): r4 b6fc690c r5 00000000 r6 b6fd811c r7 b6efb534
I/DEBUG ( 2172): r8 b6fc6930 r9 00000000 sl b6fd811c fp b6fd981c
I/DEBUG ( 2172): ip b6fc0bb8 sp beaec428 lr b6c248c1 pc b68c2330 cpsr
60070030
I/DEBUG ( 2172):
I/DEBUG ( 2172): backtrace:
I/DEBUG ( 2172): #00 pc 00037330 /system/lib/libc.so (strncpy+5)
I/DEBUG ( 2172): #01 pc 000188bd /system/bin/gpsd
I/DEBUG ( 2172): #02 pc 000189f5 /system/bin/gpsd
I/DEBUG ( 2172): #03 pc 00018b17 /system/bin/gpsd
I/DEBUG ( 2172): #04 pc 00018ae9 /system/bin/gpsd
I/DEBUG ( 2172): #05 pc 000187d7 /system/bin/gpsd
I/DEBUG ( 2172): #06 pc 00037479 /system/bin/gpsd
I/DEBUG ( 2172): #07 pc 0010414d /system/bin/gpsd
I/DEBUG ( 2172): #08 pc 00031889 /system/bin/gpsd
I/DEBUG ( 2172): #09 pc 00035cc1 /system/bin/gpsd
I/DEBUG ( 2172): #10 pc 000366e7 /system/bin/gpsd
I/DEBUG ( 2172): #11 pc 0001810d /system/bin/gpsd
I/DEBUG ( 2172): #12 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 2172): #13 pc 00017f58 /system/bin/gpsd
I/DEBUG ( 2172):
I/DEBUG ( 2172): Tombstone written to: /data/tombstones/tombstone_01
D/gpsd ( 3454): WakeLock(Release,GPSD)
E/gpsd ( 3454): ASSERT in GlGpsdInterface.cpp:370: Failed to read config file
.
F/libc ( 3454): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 3454
(gpsd)
I/DEBUG ( 2172): property debug.db.uid not set; NOT waiting for gdb.
I/DEBUG ( 2172): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 2172): HINT: adb forward tcp:5039 tcp:5039
I/DEBUG ( 2172): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *
**
I/DEBUG ( 2172): Build fingerprint: 'samsung/cm_j2lte/j2lte:5.1.1/LMY49J/60f4e
47cf7:userdebug/test-keys'
I/DEBUG ( 2172): Revision: '4'
I/DEBUG ( 2172): ABI: 'arm'
I/DEBUG ( 2172): pid: 3454, tid: 3454, name: gpsd >>> /system/bin/gpsd <<<
I/DEBUG ( 2172): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
I/DEBUG ( 2172): r0 b6f64930 r1 00000000 r2 00000100 r3 b6f64930
I/DEBUG ( 2172): r4 b6f6490c r5 00000000 r6 b6f7611c r7 b6e99534
I/DEBUG ( 2172): r8 b6f64930 r9 00000000 sl b6f7611c fp b6f7781c
I/DEBUG ( 2172): ip b6f5ebb8 sp bec2f428 lr b6bc28c1 pc b6860330 cpsr
60070030
I/DEBUG ( 2172):
I/DEBUG ( 2172): backtrace:
I/DEBUG ( 2172): #00 pc 00037330 /system/lib/libc.so (strncpy+5)
I/DEBUG ( 2172): #01 pc 000188bd /system/bin/gpsd
I/DEBUG ( 2172): #02 pc 000189f5 /system/bin/gpsd
I/DEBUG ( 2172): #03 pc 00018b17 /system/bin/gpsd
I/DEBUG ( 2172): #04 pc 00018ae9 /system/bin/gpsd
I/DEBUG ( 2172): #05 pc 000187d7 /system/bin/gpsd
I/DEBUG ( 2172): #06 pc 00037479 /system/bin/gpsd
I/DEBUG ( 2172): #07 pc 0010414d /system/bin/gpsd
I/DEBUG ( 2172): #08 pc 00031889 /system/bin/gpsd
I/DEBUG ( 2172): #09 pc 00035cc1 /system/bin/gpsd
I/DEBUG ( 2172): #10 pc 000366e7 /system/bin/gpsd
I/DEBUG ( 2172): #11 pc 0001810d /system/bin/gpsd
I/DEBUG ( 2172): #12 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 2172): #13 pc 00017f58 /system/bin/gpsd
I/DEBUG ( 2172):
I/DEBUG ( 2172): Tombstone written to: /data/tombstones/tombstone_02
D/gpsd ( 3460): WakeLock(Release,GPSD)
E/gpsd ( 3460): ASSERT in GlGpsdInterface.cpp:370: Failed to read config file
.
F/libc ( 3460): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 3460
(gpsd)
I/DEBUG ( 2172): property debug.db.uid not set; NOT waiting for gdb.
I/DEBUG ( 2172): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 2172): HINT: adb forward tcp:5039 tcp:5039
I/DEBUG ( 2172): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *
**
I/DEBUG ( 2172): Build fingerprint: 'samsung/cm_j2lte/j2lte:5.1.1/LMY49J/60f4e
47cf7:userdebug/test-keys'
I/DEBUG ( 2172): Revision: '4'
I/DEBUG ( 2172): ABI: 'arm'
I/DEBUG ( 2172): pid: 3460, tid: 3460, name: gpsd >>> /system/bin/gpsd <<<
I/DEBUG ( 2172): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
I/DEBUG ( 2172): r0 b6fa4930 r1 00000000 r2 00000100 r3 b6fa4930
I/DEBUG ( 2172): r4 b6fa490c r5 00000000 r6 b6fb611c r7 b6ed9534
I/DEBUG ( 2172): r8 b6fa4930 r9 00000000 sl b6fb611c fp b6fb781c
I/DEBUG ( 2172): ip b6f9ebb8 sp be885428 lr b6c028c1 pc b68a0330 cpsr
60070030
I/DEBUG ( 2172):
I/DEBUG ( 2172): backtrace:
I/DEBUG ( 2172): #00 pc 00037330 /system/lib/libc.so (strncpy+5)
I/DEBUG ( 2172): #01 pc 000188bd /system/bin/gpsd
I/DEBUG ( 2172): #02 pc 000189f5 /system/bin/gpsd
I/DEBUG ( 2172): #03 pc 00018b17 /system/bin/gpsd
I/DEBUG ( 2172): #04 pc 00018ae9 /system/bin/gpsd
I/DEBUG ( 2172): #05 pc 000187d7 /system/bin/gpsd
I/DEBUG ( 2172): #06 pc 00037479 /system/bin/gpsd
I/DEBUG ( 2172): #07 pc 0010414d /system/bin/gpsd
I/DEBUG ( 2172): #08 pc 00031889 /system/bin/gpsd
I/DEBUG ( 2172): #09 pc 00035cc1 /system/bin/gpsd
I/DEBUG ( 2172): #10 pc 000366e7 /system/bin/gpsd
I/DEBUG ( 2172): #11 pc 0001810d /system/bin/gpsd
I/DEBUG ( 2172): #12 pc 0000ff19 /system/lib/libc.so (__libc_init+44)
I/DEBUG ( 2172): #13 pc 00017f58 /system/bin/gpsd
I/DEBUG ( 2172):
I/DEBUG ( 2172): Tombstone written to: /data/tombstones/tombstone_03
Click to expand...
Click to collapse
Ammm, can u please build boot.img from source first of all??
---------- Post added at 12:27 PM ---------- Previous post was at 12:10 PM ----------
Can you please contact me on telegram or give me your username?? (mine telegram username is lzzy12)

Can someone tell me what file from system/libs or any other folder is causing this error on my custom ROM

I'm not able to play videos on google without it glitching out, I just think it's an open GL error but im not rly sure, does someone knows about this?
Process: com.spotify.music
Flags: 0x38d83e44
Package: com.spotify.music v85204766 (8.7.18.1138)
Foreground: Yes
Build: 'BLU/xxx/xxx:7.1.2/xxxx/xxx:userdebug/release-keys'
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Cardinal-AOSP Version: '4.5'
Build fingerprint: 'BLU/xxx/xxx:7.1.2/xxxx/xxx:userdebug/release-keys'
Revision: '0'
ABI: 'arm'
pid: 5099, tid: 5220, name: RenderThread >>> com.spotify.music <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: 'GL errors! frameworks/base/libs/hwui/renderthread/CanvasContext.cpp:550'
r0 00000000 r1 00001464 r2 00000006 r3 00000008
r4 8f5f0978 r5 00000006 r6 8f5f0920 r7 0000010c
r8 94ae0b80 r9 00000000 sl 973882fc fp 973882f8
ip 00000000 sp 8f5eff38 lr b4384ec7 pc b4387748 cpsr 20070010
backtrace:
#00 pc 0004a748 /system/lib/libc.so (tgkill+12)
#01 pc 00047ec3 /system/lib/libc.so (pthread_kill+34)
#02 pc 0001d6f5 /system/lib/libc.so (raise+10)
#03 pc 00019241 /system/lib/libc.so (__libc_android_abort+34)
#04 pc 000171f8 /system/lib/libc.so (abort+4)
#05 pc 0000c1dd /system/lib/libcutils.so (__android_log_assert+112)
#06 pc 00024077 /system/lib/libhwui.so
#07 pc 00025a73 /system/lib/libhwui.so
#08 pc 00029035 /system/lib/libhwui.so (_ZN7android10uirenderer12renderthread12RenderThread10threadLoopEv+80)
#09 pc 0000e3fd /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+140)
#10 pc 00066c11 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)
#11 pc 00047993 /system/lib/libc.so (_ZL15__pthread_startPv+22)
#12 pc 00019c8d /system/lib/libc.so (__start_thread+6)

Categories

Resources