From 87dd74c1322c2196c11c545afb857ec0299546b5 Mon Sep 17 00:00:00 2001 From: Andrew Jiang Date: Sun, 15 Jun 2014 05:01:52 +0000 Subject: P51xx: Preload libjhead in init Older camera HALs call on libexif, and with the name change to libjhead here: https://android.googlesource.com/platform/external/jhead/+/acbfc9c1c7e1a84b0db4dc5bc3d5346b6c55c473 It cannot find the necessary functions/symbols. Loading libjhead before any other libraries solves this problem nicely. Thanks to arcee for advice on the fix! Change-Id: Ib0bd20411b5b3757b40851938162b31098a90e74 --- rootdir/init.espresso10.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rootdir/init.espresso10.rc b/rootdir/init.espresso10.rc index f05ba8f..ee1e81b 100755 --- a/rootdir/init.espresso10.rc +++ b/rootdir/init.espresso10.rc @@ -24,6 +24,9 @@ on init symlink /storage/usbdisk0 /usbdisk0 symlink /storage/usbdisk0 /mnt/usbdisk0 +# Preload libjhead for camera + export LD_PRELOAD /system/lib/libjhead.so + # Vibetonz export VIBE_PIPE_PATH /dev/pipes mkdir /dev/pipes 0771 shell shell -- cgit v1.1