frapeti

Untitled

Dec 3rd, 2014
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. adb root
  2.  
  3.  
  4.  
  5. . ~/android/build/envsetup.sh
  6.  
  7. rm -rf /root/android/out/target/product/i9500/obj/SHARED_LIBRARIES/libhardware_intermediates
  8. rm -rf /root/android/out/target/product/i9500/obj/SHARED_LIBRARIES/camera.universal5410_intermediates
  9. rm -rf /root/android/out/target/product/i9500/obj/SHARED_LIBRARIES/libcamera_client_intermediates
  10. rm -rf /root/android/out/target/product/i9500/obj/SHARED_LIBRARIES/libcameraservice_intermediates
  11. rm -rf /root/android/out/target/product/i9500/obj/EXECUTABLES/camera_client_test_intermediates
  12.  
  13. rm ~/android/out/target/product/i9500/system/lib/libhardware.so
  14. mmm ~/android/hardware/libhardware
  15.  
  16. rm ~/android/out/target/product/i9500/system/lib/libcamera_client.so
  17. mmm ~/android/frameworks/av/camera
  18.  
  19. rm ~/android/out/target/product/i9500/system/lib/libcameraservice.so
  20. mmm ~/android/frameworks/av/services/camera/libcameraservice
  21.  
  22. rm ~/android/out/target/product/i9500/system/lib/hw/camera.universal5410.so
  23. mmm ~/android/device/samsung/i9500/camera
  24.  
  25.  
  26. adb remount
  27.  
  28.  
  29. adb push ~/android/out/target/product/i9500/system/lib/libcamera_client.so /system/lib/libcamera_client.so
  30. adb push ~/android/out/target/product/i9500/system/lib/libcameraservice.so /system/lib/libcameraservice.so
  31. adb push ~/android/out/target/product/i9500/system/lib/hw/camera.universal5410.so /system/lib/hw/camera.universal5410.so
  32. adb push ~/android/out/target/product/i9500/system/lib/libhardware.so /system/lib/libhardware.so
  33.  
  34. #adb reboot
  35.  
  36. adb logcat | grep -i camera
Advertisement
Add Comment
Please, Sign In to add comment