Guest User

Untitled

a guest
Oct 25th, 2014
545
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.46 KB | None | 0 0
  1. repo init -u git://phablet.ubuntu.com/aosp/platform/manifest.git -b phablet-4.4.2_r1
  2. repo sync
  3. cd .repo
  4. vi manifest.xml
  5.  
  6. __added to the top of the file__
  7. <remote fetch="git://github.com/" name="github" />
  8. <project name="CyanogenMod/android_device_oneplus_bacon" path="device/oneplus/bacon" remote="github" revision="stable/cm-11.0"/>
  9. <project name="CyanogenMod/android_device_oppo_msm8974-common" path="device/oppo/msm8974-common" remote="github" revision="stable/cm-11.0"/>
  10. <project name="CyanogenMod/android_device_oppo_common" path="device/oppo/common" remote="github" revision="stable/cm-11.0"/>
  11. <project name="CyanogenMod/android_kernel_oneplus_msm8974" path="kernel/oneplus/msm8974" remote="github" revision="stable/cm-11.0"/>
  12. <project name="CyanogenMod/android_kernel_oneplus_msm8974" path="kernel/oneplus/msm8974" remote="github" revision="stable/cm-11.0"/>
  13. <project name="TheMuppets/proprietary_vendor_oppo" path="vendor/oppo" remote="github" revision="stable/cm-11.0"/>
  14. <project name="TheMuppets/proprietary_vendor_oneplus" path="vendor/oneplus" remote="github" revision="stable/cm-11.0"/>
  15. <project name="CyanogenMod/android_hardware_qcom_display-caf-new" path="hardware/qcom/display-caf-new" remote="github" revision="stable/cm-11.0"/>
  16. <project name="CyanogenMod/android_hardware_qcom_media-caf-new" path="hardware/qcom/media-caf-new" remote="github" revision="stable/cm-11.0"/>
  17. __end__
  18.  
  19. cd
  20. repo sync
  21. cd device/oneplus/bacon/
  22. ./extract-files.sh
  23. cd
  24. cd device/oppo/msm8974-common
  25. ./extract-files.sh
  26.  
  27. cd kernel/oneplus/msm8974/arch/arm/configs/
  28. vi cyanogenmod_bacon_defconfig
  29.  
  30. __appended the following__
  31. CONFIG_SYSVIPC=y
  32. CONFIG_NAMESPACES=y
  33. CONFIG_UTS_NS=y
  34. CONFIG_IPC_NS=y
  35. CONFIG_USER_NS=y
  36. CONFIG_PID_NS=y
  37. CONFIG_NET_NS=y
  38. CONFIG_DEVTMPFS=y
  39. CONFIG_DEVTMPFS_MOUNT=y
  40. CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
  41. CONFIG_FSNOTIFY=y
  42. CONFIG_DNOTIFY=y
  43. CONFIG_INOTIFY_USER=y
  44. CONFIG_FANOTIFY=y
  45. CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
  46. CONFIG_SWAP=y
  47. # CONFIG_ANDROID_PARANOID_NETWORK is not set
  48. CONFIG_VT=y
  49. CONFIG_VT_CONSOLE=y
  50. CONFIG_PANIC_TIMEOUT=5
  51. CONFIG_ANDROID_RAM_CONSOLE=y
  52. __end__
  53.  
  54. vi build/core/main.mk
  55. __edit__
  56. # add the following around line 557
  57.  
  58. device/oneplus \
  59. vendor/oneplus \
  60.  
  61. __end__
  62.  
  63. cd
  64.  
  65. . build/envsetup.sh
  66.  
  67. lunch bacon
  68. 11. cm_bacon-userdebug
  69.  
  70. __output__
  71. build/core/product_config.mk:222: *** Cannot locate config makefile for product "cm_bacon". Stop.
  72.  
  73. ** Don't have a product spec for: 'cm_bacon'
  74. ** Do you have the right repo manifest?
Advertisement
Add Comment
Please, Sign In to add comment