[Galaxy Tab  Android Development] alroger:
Building CM10.1 + TWRP Android 4.2.2 successful!

New build will automatically detect your device (p1, p1l, p1n)! p1c builds separately.

Android 4.2.2 building fine with humberos' repos! CDMA building fine with official repo.

[UPDATE 20130802]

TWRP - Touch Recovery in place of CwM.

New roomservice-twrp.xml attached.

[UPDATE 20130510]

New Kernel 3.0, new manifest..

[UPDATE 20130405]

@jt1134 updated and recommended using the official CyanogenMod repo. His repo has a kernel that might not work, might be in testing and might not have radio (3G) capabilities.

New roomservice.xml attached.

[UPDATE 20130312]

Figured out better "manifest" ways to pull humberos' and jt1134's repos, for humberos' kernel, device and common projects and jt1134's device and kernel for CDMA tabs.

[UPDATE 20130307]

sgt7 repo corrected and with new build instructions. Thanks [MENTION=3739748]sbradymobile[/MENTION]!

mkdir ~/cm10.1-sgt7
cd ~/cm10.1-sgt7

repo init -u git://github.com/sgt7/android.git -b cm-10.1
repo sync
cd vendor/cm
./get-prebuilts
cd ../..
mkdir .repo/local_manifests
cp ~/yourdownloads/roomservice-twrp.xml .repo/local_manifests/roomservice.xml

roomservice-twrp.xml attached at the end of this post, it looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="humberos/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="cm-10.1" />
<project name="humberos/android_kernel_samsung_aries" path="kernel/samsung/aries" remote="github" revision="cm-10.1" />
<project name="humberos/android_device_samsung_p1" path="device/samsung/p1" remote="github" revision="twrp"/>
<project name="humberos/android_device_samsung_p1c" path="device/samsung/p1c" remote="github" revision="twrp"/>
<project name="humberos/android_device_samsung_p1-common" path="device/samsung/p1-common" remote="github" revision="twrp"/>
<remove-project name="CyanogenMod/android_bootable_recovery" />
<project name="humberos/Team-Win-Recovery-Project" path="bootable/recovery" remote="github" revision="cm-10.1" />
</manifest>

repo sync
source build/envsetup.sh
breakfast p1 # for p1, p1l and p1n
breakfast p1c # for p1c (CDMA)
time make -j3 bacon # j3 is number of cores

Done for the sgt7 build, without PDroid.

Now for OpenPDroid

PDroid patch, after the first build:

cd $cmdir/build; patch -p1 < $cmdir/../OpenPDroidPatches-4.2.x/openpdroid_4.2_build.patch > $cmdir/../pdroid.log
cd $cmdir/libcore; patch -p1 < $cmdir/../OpenPDroidPatches-4.2.x/openpdroid_4.2_libcore.patch >> $cmdir/../pdroid.log
cd $cmdir/packages/apps/Mms; patch -p1 < $cmdir/../OpenPDroidPatches-4.2.x/openpdroid_4.2_Mms.patch >> $cmdir/../pdroid.log
cd $cmdir/frameworks/base; patch -p1 < $cmdir/../OpenPDroidPatches-4.2.x/openpdroid_4.2_frameworks_base.patch >> $cmdir/../pdroid.log
cd $cmdir/frameworks/opt/telephony; patch -p1 < $cmdir/../OpenPDroidPatches-4.2.x/openpdroid_4.2_frameworks_opt_telephony.patch >> $cmdir/../pdroid.log
cd $cmdir

Add to vendor/cm/config/common.mk, after the rsync PACKAGE: Better install PDroidManager from the Market.

Sources at

CyanogenMod repo: https://github.com/CyanogenMod

SGT7 repo: https://github.com/sgt7

Humberos Kernel: https://github.com/humberos

OpenPDroid Patches: https://github.com/OpenPDroid/OpenPDroidPatches

Cheers!