Skip to content

Commit

Permalink
Init: Preload libjhead for camera
Browse files Browse the repository at this point in the history
  • Loading branch information
Epirex committed May 5, 2016
1 parent 6f29337 commit e14cc24
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rootdir/init.u8500.rc
Expand Up @@ -28,11 +28,15 @@ on init
setprop ro.vold.primary_physical 1

# Setup the global environment
export LD_SHIM_LIBS /system/lib/hw/camera.montblanc.so|libcamera_symbols.so
export LD_LIBRARY_PATH /vendor/lib:/system/lib:/system/lib/ste_omxcomponents
export OMX_STE_ENS_COMPONENTS_DIR /system/lib/ste_omxcomponents/
export OMX_BELLAGIO_LOADER_REGISTRY /system/etc/omxloaders
export OMX_STE_CSCALL_COMPONENTS_DIR /system/lib/ste_omxcomponents/

# Preload libjhead for camera
export LD_PRELOAD /system/lib/libjhead.so

This comment has been minimized.

Copy link
@ChronoMonochrome

ChronoMonochrome May 7, 2016

Using LD_PRELOAD doesn't make much sense because this lib already will be loaded by camera HAL.
Btw, have you succeed with booting CM13 up?

This comment has been minimized.

Copy link
@Epirex

Epirex May 9, 2016

Author Owner

Thanks for your hint, I get boot CM13 successfully but with many bugs, I'm fixing now :)

This comment has been minimized.

Copy link
@ChronoMonochrome

ChronoMonochrome May 11, 2016

Just out of curiosity, was the reason for not booting ROM a kernel, or something else?

This comment has been minimized.

Copy link
@Epirex

Epirex May 13, 2016

Author Owner

honestly I'm not sure xD I used the zImage from CM13 by Polish for the first boot and then I used my kernel to make sure it works fine

# Vibetonz
export VIBE_PIPE_PATH /dev/pipes
mkdir /dev/pipes 0771 shell shell
Expand Down

0 comments on commit e14cc24

Please sign in to comment.