[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
I'm not sure what part of this you are getting stuck on. the "cp" command is the copy command. It's the same as Ctrl+C on the keyboard or right-click+copy. Let's say back in Step 2 you created the "android/kernel" directory and named your kernel "skyrocket_4.1.2_kernel".

In step 6 it says to change to your kernel directory. I haven't done any of this, so I'm guessing he means this:

cd android/kernel/skyrocket_4.1.2_kernel

then make a new directory

mkdir ../skyrocket_4.1.2_kernel_output

If that is the directory you were supposed to cd to, this would mean in your "android/kernel" directory, you would have a directory named "skyrocket_4.1.2_kernel" with all your kernel source stuff, and now another directory named "skyrocket_4.1.2_kernel_output" that you just created, which is empty. The "../" part means to go up one level from the directory you are currently in.

For example, if I was in my AOKP folder and typed

cd packages/apps/Mms

I would be in the "AOKP/packages/apps/Mms" directory. If I were then to type

cd ../../

I would be in the "AOKP/packages" directory. What is nice about this is that you can go up to a parent directory and then back down into a different directory without having to cd to that directory.

So if I were in the Mms directory and typed

mkdir ../Contacts/waaaaaa

I just created a new directory in "AOKP/packages/apps/Contacts" called "waaaaaa", but I'm still in my Mms directory.

Going back to the tutorial, the command:

cp arch/arm/boot/zImage ../<your_kernel>_output/zImage"

means that in the "android/kernel/skyrocket_4.1.2_kernel/arch/arm/boot/" directory, you are copying "zImage" and then pasting it in "/android/kernel/skyrocket_4.1.2_kernel_output/".

For part 6E

find . -name "*.ko" -exec cp {} ../skyrocket_4.1.2_kernel_output \;

This searches though all the folders in "skyrocket_4.1.2_kernel" for any ".ko" file and copies it to the "skyrocket_4.1.2_kernel_output" directory.

Also, whenever you are making a build, you could look at the output and see the commands that are being run. For example, when the kernel was being made on my build this was the command that was displayed in the terminal output:

make -C kernel/samsung/msm8660-common O=/home/m4570d0n/AOKP/out/target/product/skyrocket/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/m4570d0n/AOKP/prebuilts/misc/linux-x86/ccache/ccache /home/m4570d0n/AOKP/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-" cyanogenmod_skyrocket_defconfig

and then later:

make -C kernel/samsung/msm8660-common O=/home/m4570d0n/AOKP/out/target/product/skyrocket/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/m4570d0n/AOKP/prebuilts/misc/linux-x86/ccache/ccache /home/m4570d0n/AOKP/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-" headers_install

make -C kernel/samsung/msm8660-common O=/home/m4570d0n/AOKP/out/target/product/skyrocket/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/m4570d0n/AOKP/prebuilts/misc/linux-x86/ccache/ccache /home/m4570d0n/AOKP/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-" zImage

The "out/target/product/skyrocket/obj/KERNEL_OBJ" folder is basically what the output folder is in the tutorial. You'll notice that there is a zImage file in "KERNEL_OBJ/arch/arm/boot/" too.

Then much later there was this:

Kernel: arch/arm/boot/zImage is ready
make[1]: Leaving directory `/home/m4570d0n/AOKP/kernel/samsung/msm8660-common'
make -C kernel/samsung/msm8660-common O=/home/m4570d0n/AOKP/out/target/product/skyrocket/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/m4570d0n/AOKP/prebuilts/misc/linux-x86/ccache/ccache /home/m4570d0n/AOKP/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-" modules

and

make -C kernel/samsung/msm8660-common O=/home/m4570d0n/AOKP/out/target/product/skyrocket/obj/KERNEL_OBJ INSTALL_MOD_PATH=../../system ARCH=arm CROSS_COMPILE="/home/m4570d0n/AOKP/prebuilts/misc/linux-x86/ccache/ccache /home/m4570d0n/AOKP/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-" modules_install

mdpath=`find out/target/product/skyrocket/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do mv $i out/target/product/skyrocket/system/lib/modules/; done; fi
Copy: out/target/product/skyrocket/system/lib/libsecril-client.so
Copy: out/target/product/skyrocket/system/lib/libqmi.so
mdpath=`find out/target/product/skyrocket/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi