[HTC Sensation] cipher75:
facelock smartlock issue

Hello,

After a long time not upgrading my sensation i finally took the time to install the latest ROM (cm-12.1-20151101-UNOFFICIAL-pyramid) which i have to say shows an impressive improvement over the last one i used ! (cm-12-20141221-UNOFFICIAL-pyramid + mount2sd).

So first of all thanks a lot ivanich for the work done.

The setup is :

cm-12.1-20151101-UNOFFICIAL-pyramid

BOOT-MOD-1.1

open_gapps-arm-5.1-mini-20151101

The setup was a bit tricky for a recovery matter. In case someone meet the same issue, i have replaced the ext4 recovery i had been using by twrp (TWRP-2.8.7.0-pyramid-f2fs-r6.img).

To my surprise i was unable to perform a factory reset : formatting the data partition failed (it was hunged, killing the process was impossible). I suspect a kernel issue on that. I tried my luck with twrp-2.8.6.0-pyramid.img as well with the same result (using gui or shell with adb)

I though the emmc was dead until i finally gave a try with a much older version of twrp (twrp-2.6.3.0-pyramid.img) which allowed me to perform the mkfs i wanted to do.

So switched back to TWRP-2.8.7.0-pyramid-f2fs-r6.img and installed the ROM plus the boot-mod (version 1).

Very smooth and much faster as before, and very stable as well.

There could be a small issue. I tried to setup facelock (smartlock) without success, the process crashes when it should normally open the camera.

Here is an extract of the logcat :

V/WindowManager( 504): rotationForOrientationLw(orient=1, last=0); user=0
F/libc (18283): Fatal signal 4 (SIGILL), code 1, fault addr 0xa47de552 in tid 18283 (ndroid.facelock)
I/DEBUG ( 196): property debug.db.uid not set; NOT waiting for gdb.
I/DEBUG ( 196): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 196): HINT: adb forward tcp:5039 tcp:5039
I/DEBUG ( 196): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 196): Build fingerprint: 'tmous/htc_pyramid/pyramid:4.0.3/IML74K/356011.14:user/release-keys'
I/DEBUG ( 196): Revision: '128'
I/DEBUG ( 196): ABI: 'arm'
I/DEBUG ( 196): pid: 18283, tid: 18283, name: ndroid.facelock >>> com.android.facelock <<<
I/DEBUG ( 196): signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 0xa47de552
I/DEBUG ( 196): r0 00000014 r1 40140000 r2 9b97f4a8 r3 4011e377
I/DEBUG ( 196): r4 b7a40a98 r5 00000008 r6 00000001 r7 40000000
I/DEBUG ( 196): r8 3f7ae148 r9 00000008 sl 00000005 fp 40400000
I/DEBUG ( 196): ip 00000000 sp bebb6cc0 lr a47de543 pc a47de552 cpsr 20070030
I/DEBUG ( 196):
I/DEBUG ( 196): backtrace:
I/DEBUG ( 196): #00 pc 00049552 /system/lib/libfacelock_jni.so
I/DEBUG ( 196): #01 pc 000479eb /system/lib/libfacelock_jni.so (Java_com_android_facelock_FaceLockUtil_initializeJni+586)
I/DEBUG ( 196): #02 pc 00009e55 /data/dalvik-cache/arm/system@app@FaceLock@FaceLock.apk@classes.dex
I/DEBUG ( 196):
I/DEBUG ( 196): Tombstone written to: /data/tombstones/tombstone_03
W/ndroid.facelock(18283): type=1701 audit(0.0:338): auid=4294967295 uid=10068 gid=10068 ses=4294967295 subj=u:r:untrusted_app:s0 reason="memory violation" sig=4
W/ActivityManager( 504): Force finishing activity 1 com.android.facelock/.SetupFaceLock
I/BootReceiver( 504): Copying /data/tombstones/tombstone_03 to DropBox (SYSTEM_TOMBSTONE)
I/WindowState( 504): WIN DEATH: Window{3113ca89 u0 com.android.facelock/com.android.facelock.SetupIntro}
I/Zygote ( 209): Process 18283 exited due to signal (4)
I/ActivityManager( 504): Process com.android.facelock (pid 18283) has died

Hope that helps

Have a nice day