15.05 Update

- Make for different platforms (arm, arm64, x86)
- Add arm64 support
- Update GNow
- Fix FaceUnlock FC
This commit is contained in:
Joey Rizzoli
2015-04-20 20:09:24 +02:00
committed by jrizzoli
parent ee8b7e1415
commit f509e98dcb
123 changed files with 302 additions and 27 deletions

View File

@@ -0,0 +1,24 @@
#!/sbin/sh
good_ffc_device() {
if cat /proc/cpuinfo |grep -q Victory; then
return 1
fi
if cat /proc/cpuinfo |grep -q herring; then
return 1
fi
if cat /proc/cpuinfo |grep -q sun4i; then
return 1
fi
return 0
}
if good_ffc_device && [ -e /system/etc/permissions/android.hardware.camera.front.xml ]; then
chmod 755 /system/addon.d/31-faceunlock.sh
elif [ -d /system/vendor/pittpatt/ ]; then
rm -rf /system/vendor/pittpatt/
rm -f /system/app/FaceLock.apk
rm -f /system/lib/libfacelock_jni.so
rm -f /system/addon.d/31-faceunlock.sh
fi
rm -rf /tmp/face