Advertisement
techmik

what i did, in order

Jul 13th, 2012
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. 1st, i made 2 dirs in ~/, jb for aosp and cm10 for cm
  2. then, i followed http://forum.xda-developers.com/showpost.php?p=28626754&postcount=1 to try to build aosp in ~/jb.
  3.  
  4. then
  5.  
  6.  
  7. cd ~/cm10
  8. repo init -u https://github.com/CyanogenMod/android.git -b jellybean
  9. repo sync -j16
  10. cp -r ~/cm9/device/samsung/skyrocket ~/cm10/device/samsung/
  11. cp -r ~/cm9/device/samsung/msm8660-common/ ~/cm10/device/samsung/
  12. cp -r ~/cm9/kernel/samsung/msm8660-common/ ~/cm10/kernel/samsung/
  13. cp -r ~/cm9/kernel/ ~/cm10/device/samsung/skyrocket/
  14.  
  15. create local_manifest.xml
  16. repo sync -j16
  17.  
  18. cd ~/cm10
  19. . build/envsetup.sh
  20. lunch cm_skyrocket-userdebug
  21. brunch cm_skyrocket-userdebug
  22.  
  23.  
  24. recieve 1st error and:
  25. cp -r ~/jb/out/target/product/skyrocket/obj/SHARED_LIBRARIES/librpc_intermediates/ ~/cm10/out/target/product/skyrocket/obj/SHARED_LIBRARIES/librpc_intermediates
  26. brunch cm_skyrocket-userdebug
  27.  
  28.  
  29. receive 2nd error and:
  30. cp -r ~/jb/out/target/product/skyrocket/obj/lib/librpc.so ~/cm10/out/target/product/skyrocket/obj/lib/
  31. brunch cm_skyrocket-userdebug
  32.  
  33.  
  34. receive 3rd error and:
  35. mkdir ~/cm10/out/target/product/skyrocket/obj/STATIC_LIBRARIES/libcommondefs-rpc_intermediates
  36. touch ~/cm10/out/target/product/skyrocket/obj/STATIC_LIBRARIES/libcommondefs-rpc_intermediates/export_includes
  37. brunch cm_skyrocket-userdebug
  38.  
  39.  
  40. receive 4th error and:
  41. cp -r ~/jb/out/target/product/skyrocket/obj/include/librpc ~/cm10/out/target/product/skyrocket/obj/include/
  42. brunch cm_skyrocket-userdebug
  43.  
  44.  
  45. receive 5th error and:
  46. change Makefile in both ~/cm10/kernel... and /device/.../kernel cross compile line from "opt/toolchains/4.4.3......" to "/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-"
  47. brunch cm_skyrocket-userdebug
  48.  
  49.  
  50. receive 6th error and:
  51. edit device/samsung/msm8660-common/liblights/lights.c in 7 places. change the 2 "LOGD" to "ALOGD", the 3 "LOGV" to "ALOGV" and the 2"LOGE" to "ALOGE"
  52. brunch cm_skyrocket-userdebug
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement