Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1st, i made 2 dirs in ~/, jb for aosp and cm10 for cm
- then, i followed http://forum.xda-developers.com/showpost.php?p=28626754&postcount=1 to try to build aosp in ~/jb.
- then
- cd ~/cm10
- repo init -u https://github.com/CyanogenMod/android.git -b jellybean
- repo sync -j16
- cp -r ~/cm9/device/samsung/skyrocket ~/cm10/device/samsung/
- cp -r ~/cm9/device/samsung/msm8660-common/ ~/cm10/device/samsung/
- cp -r ~/cm9/kernel/samsung/msm8660-common/ ~/cm10/kernel/samsung/
- cp -r ~/cm9/kernel/ ~/cm10/device/samsung/skyrocket/
- create local_manifest.xml
- repo sync -j16
- cd ~/cm10
- . build/envsetup.sh
- lunch cm_skyrocket-userdebug
- brunch cm_skyrocket-userdebug
- recieve 1st error and:
- cp -r ~/jb/out/target/product/skyrocket/obj/SHARED_LIBRARIES/librpc_intermediates/ ~/cm10/out/target/product/skyrocket/obj/SHARED_LIBRARIES/librpc_intermediates
- brunch cm_skyrocket-userdebug
- receive 2nd error and:
- cp -r ~/jb/out/target/product/skyrocket/obj/lib/librpc.so ~/cm10/out/target/product/skyrocket/obj/lib/
- brunch cm_skyrocket-userdebug
- receive 3rd error and:
- mkdir ~/cm10/out/target/product/skyrocket/obj/STATIC_LIBRARIES/libcommondefs-rpc_intermediates
- touch ~/cm10/out/target/product/skyrocket/obj/STATIC_LIBRARIES/libcommondefs-rpc_intermediates/export_includes
- brunch cm_skyrocket-userdebug
- receive 4th error and:
- cp -r ~/jb/out/target/product/skyrocket/obj/include/librpc ~/cm10/out/target/product/skyrocket/obj/include/
- brunch cm_skyrocket-userdebug
- receive 5th error and:
- 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-"
- brunch cm_skyrocket-userdebug
- receive 6th error and:
- 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"
- brunch cm_skyrocket-userdebug
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement