Advertisement
Guest User

Untitled

a guest
Oct 10th, 2014
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. 1. removed bootable/recovery
  2.  
  3. 2. edited build/core/pathmap.mk
  4.  
  5. ifneq ($(WITH_SIMPLE_RECOVERY),true)
  6. pathmap_INCL += recovery:bootable/recovery-cm
  7. else
  8. pathmap_INCL += recovery:bootable/simplerecovery
  9. endif
  10.  
  11. 3. add following to hybris boot mk
  12.  
  13. HYBRIS_BOOTIMAGE_ARGS := \
  14. $(addprefix --second ,$(INSTALLED_2NDBOOTLOADER_TARGET)) \
  15. --kernel $(INSTALLED_KERNEL_TARGET) \
  16. --dt $(INSTALLED_DTIMAGE_TARGET)
  17.  
  18. 4. Modify kernel/oneplus/msm8974/arch/arm/configs/cyanogenmod_bacon_defconfig
  19. CONFIG_DUMMY=n
  20.  
  21. 5. Modify out/target/product/bacon/root/ueventd.bacon.rc and ueventd.qcom.rc:
  22. Remove/comment out these lines:
  23. /dev/dvb/adapter0/demux* 0440 media media
  24. /dev/dvb/adapter0/dvr* 0660 media media
  25. /dev/dvb/adapter0/video* 0660 media media
  26.  
  27. 6. cd $ANDROID_ROOT
  28. cat <<EOF > rpm/droid-hal-$DEVICE.spec
  29. # device is the cyanogenmod codename for the device
  30. # eg mako = Nexus 4
  31. %define device bacon
  32. # vendor is used in device/%vendor/%device/
  33. %define vendor oneplus
  34.  
  35. # Manufacturer and device name to be shown in UI
  36. %define vendor_pretty OnePlus
  37. %define device_pretty One
  38.  
  39. %include rpm/droid-hal-device.inc
  40. EOF
  41.  
  42. 7. changed compostor conf to hwcomposer/hwcomposer
  43.  
  44. 8. removed xt9 from ks
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement