[HTC One X] teemo:
This is DIY

If you are just looking for a well done and stable PA download, you are probably the wrong place. Then go and grab xzzz9097s build, it's good!

If you are impatient and know what to do, just leave and do the init/sync/build.

For anyone wanting to build her/his own PA without any "extras", go ahead and read on.

We already have a very easy full guide to compile CM10 for HOX. I was looking for the same for ParanoidAndroid, but did not find a 100% guide, meaning I had to do it myself.

To be fair, I only needed to do 1% as you will see after the usual disclaimer. I hope this little guide will be enough to make anyone complile their own PA for the HOX.

The usual disclaimer:

I am no developer!

I just happen to be able to read and understand instructions. I am persistent and know how to search for answers.

With luck and patience I ended up with a 184MB zip, that installs and runs just fine on my HOX.

I pass this guide as it is now, no guarantee no returns. I will probably not be able to help much here, time is very limited, so no commitments for support from me.

If it breaks you device, you broke it all by yourself ;)

I am no developer!

gokussjx made the general guide, explaining how to port Paranoid Android 3.xx to different devices.

It works 99% for Endeavoru. The last 1% takes some effort to get right.

For me, not knowing what I am doing, it took a lot of trial and error, but eventually, - I made it and might as well pass it on here.

I'm in debt to all the people helping out in that thread. Huge thanks!

To get started, just follow a few simple steps:

You need a linux setup.

Install as your main system or run it in windows with VirtualBox.

Most guides are expecting Ubuntu. I use Mint Debian 64, which is just perfect for this job (and everything else :) ).

For VirtualBox you need at least a 50GB virtual-drive. Add 16GB if you will use ccache. I have build PA with a 52GB VBox in Win7.

It was just enough to compile, but had no room for ccache!

Compile time (VBox) on EliteBook 8540w (i7) was 120min. Not too bad, considering my old DeskTop need close to 4 hours on pure Linux.

Expect to download 8GB of source. Add 18GB for building to the "out" folder.

Enough statistics now, let's get started.

Follow gokussjx guide to setup linux for PA compiling.

Follow only these steps:

Exit gokussjx guide and continue here:

Download your favorite arm toolchain:

I found mine here.

Just extract the archive to any folder with user access, later you will point the build system to the /bin folder of the toolchain.

Install CCACHE:

$ sudo apt-get install ccache

Activate it in .bashrc:

# use ccache
export USE_CCACHE=1

You can change max-cache size, 16G should be enough for this build.

From terminal:

$ ccache -M 16G

Install Repo:

$ mkdir ~/bin
$ PATH=~/bin:$PATH
$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$ chmod a+x ~/bin/repo

Download the build manifest:

$ mkdir -p padroid/system
$ cd padroid/system
$ repo init -u git://github.com/teemodk/manifest.git -b padroid

Get the source!

$ repo sync -j16

Find this section in "build/envsetup.sh" update with your favorite arm toolchain:

case $ARCH in
x86) toolchaindir=x86/i686-linux-android-$targetgccversion/bin
;;
arm) toolchaindir=[B]~/toolchain/linaro4.8/bin[/B]
;;
mips) toolchaindir=mips/mipsel-linux-android-$targetgccversion/bin
;;

Go!

$ ./rom-build.sh endeavoru

Thats all. If it went well, get your new ROM in "out/target/product/endeavoru"

Don't forget the gApps.

Credits go to

PA:molesarecoming, D4rKn3sSyS for the awesome hybrid magic. All PA contributors. gokussjx for the mother of all PA guides. All the helpful people here, that use their time to help.

CM(aosp):thöemy,gorbi16,tbalden,(pabx) and all the unknown soldiers contributing to CM

Everyone I forgot.
​