[Moto G Android Development] h2o64:
Hi everybody,

I started to build Paranoid 4.4 for our device, and it's work propetly ! So I decided to upload my builds as nightlies !It's working with every variant except XT1033 one ..

Have fun !

​

The downloads still hosting on MEGA website ... BUT I'll merge to goo.im as soon as I can (the site is curently on a migration time). Thanks ​

PLEASE REFER TO THE CHANGE LOGS FOR CURRENT FEATURES.

IF IT'S NOT LISTED THERE, IT'S NOT IN THE BUILD​

INSTRUCTIONS,

1. UPDATE RECOVERY

2. FACTORY RESET (If coming from another rom or stock)

3. INSTALL ROM (Downloads links down below)

4. INSTALL GAPPS

4. REBOOT

5. CUSTOM KERNELS MAY BREAK ROOT, SIMPLY RE-FLASH SUPERSU

PA 4+ UPDATES DO NOT NEED A FACTORY RESET.

Go here !

(LINARO versions --> with their MD5 file)​

CREDITS,

AOSP/Google, Cyanogenmod, Goo, XDA, Krebsmilk, giannisgx89, Liquid,

AOKP, our users, supporters and donators, everyone who's helped us in the past,

heartfelt thanks to all of you!

Links:

Development:

Change Logs

XDA Forum

Github

Gerrit

Social:

Google+

Twitter

Facebook​

How to build ?

YOU MUST BE ON UBUNTU 14.04 64BITS

Install depencies (run thoses commands) :

sudo apt-get purge openjdk-* icedtea-* icedtea6-*
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update && sudo apt-get install oracle-java6-installer

And install like that :

sudo apt-get install git gnupg ccache lzop flex bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 libc6-dev lib32bz2-1.0 lib32ncurses5-dev x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 lib32z1-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc libreadline6-dev lib32readline-gplv2-dev libncurses5-dev bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev squashfs-tools pngcrush schedtool dpkg-dev

Run this :

sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so

Install repo :

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

And your OS is ready to fight !

(Of course ignore the $ when you run commands)

- Make your directory

$ mkdir ~/paranoid
$ cd ~/paranoid

- Init the repo

$ repo init -u git://github.com/AOSPA-legacy/manifest.git -b kitkat

- Sync the repo

$ repo sync

If you get errors :

$ repo sync -j1

Now building !

-----------------------------------------------------------------------------------------------------------------------------

(You can skip this if you won't use Linaro)

Go there

-----------------------------------------------------------------------------------------------------------------------------

- Speed up your build

export USE_CCACHE=1

* Open .bashrc in your home directory and and

/PATH-TO-YOUR-PARANOID-FOLDER/prebuilts/misc/linux-x86/ccache/ccache -M 50G

- And start the building (this can take a couple of hours, depending of your PC)

$ ./rom-build.sh falcon

And the building process starts. First it creates a new manifest called roomservice.xml then it downloads the device specific kernels and such.

If it gives you an error, try to CTRL+C and run repo sync. Then re-do the previous step.

Now it’s time to practice your patience again, the first build will take a long time. A couple of hours depending on your machine setup.

When everything worked as it should you will find your new ROM-image in ~/paranoid/out/target/product/falcon

It is called pa_falcon-4.4 x-DATE .zip You can flash it via CWM/TWRP as usual.

Renew sources and build again

You just have to do this. It's will be faster than the first time because it's only compile new parts and you back the old ones.

$ cd ~/paranoid
$ repo sync
$ ./rom-build.sh falcon

Some screenshots​

XDA:DevDB Information

Paranoid, ROM for the Moto G

Contributors

h2o64, h2o64

ROM OS Version: 4.4.x KitKat

ROM Kernel: Linux 3.4.x

Version Information

Status: Stable

Created 2014-06-23

Last Updated 2014-10-04