Advertisement
Perka

compile_cm9_cm_galaxymtd-userdebug

Mar 6th, 2012
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. This is how I compiled cm9 for galaxysmtd.
  2. For sure there is better ways but this is the only way I know, and it works for me.
  3. I use Linux Mint 12.
  4.  
  5. Follow this guide until you have synced source. (Step 4D)
  6. http://forum.xda-developers.com/showthread.php?t=1505006
  7.  
  8. setup ccache
  9. http://source.android.com/source/initializing.html
  10.  
  11. New terminal
  12. cd ~/android/system/device/samsung
  13. git clone git://github.com/teamhacksung/android_device_samsung_galaxysmtd.git -b ics galaxysmtd
  14.  
  15. then
  16. git clone git://github.com/teamhacksung/android_device_samsung_aries-common.git -b ics aries-common
  17.  
  18. go to android/system/vendor/cm
  19. edit file vendorsetup.sh
  20. add this in between any of the lines
  21.  
  22. add_lunch_combo cm_galaxysmtd-userdebug
  23.  
  24. New terminal
  25. cd ~/android/system/device/samsung/galaxysmtd/
  26. ./extract-files.sh
  27.  
  28. New terminal
  29. cd ~/android/system/vendor/cm/
  30. ./get-prebuilts
  31.  
  32. New terminal
  33. cd ~/android/system repo sync
  34.  
  35. clone this somewhere
  36. git clone git://github.com/teamhacksung/buildscripts.git
  37.  
  38. New terminal
  39. cd into your working directory
  40. drag the build.sh file into the terminal and type galaxysmtd and enter
  41.  
  42. When compiled add a working kernel and modem, as I dont know how to compile kernels yet.
  43. (I tried to flash with the boot.img that builds in the update zip, and lost recovery and it did not boot)
  44.  
  45. Should be it. Enjoy!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement