Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,742,143 Members 52,333 Now Online
XDA Developers Android and Mobile Development Forum
Announcement from h2o64: Paranoid 4.4 is based on Cyanogenmod 11 (Android 4.4.4)

[4.4.4][Paranoid][Linaro] Nightlies for Paranoid 4.4 on Motorola Moto G

Tip us?
 
h2o64
Old
#1  
h2o64's Avatar
Senior Member - OP
Thanks Meter 193
Posts: 211
Join Date: Aug 2012
Location: Paris
Default [4.4.4][Paranoid][Linaro] Nightlies for Paranoid 4.4 on Motorola Moto G

Hi everybody,
I started to build Paranoid 4.4 for our device using the last Linaro toolchains (4.9), 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.





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) :
Code:
Select Code
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 :

Code:
Select Code
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 :
Code:
Select Code
sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
Install repo :
Code:
Select Code
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
Code:
Select Code
$ mkdir ~/paranoid
$ cd ~/paranoid
- Init the repo
Code:
Select Code
$ repo init -u git://github.com/AOSPA-legacy/manifest.git -b kitkat
- Sync the repo
Code:
Select Code
$ repo sync
If you get errors :
Code:
Select Code
$ repo sync -j1
Now building !


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

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

- Set the directory
Code:
Select Code
cd prebuilts/gcc/linux-x86/arm/
- Download Linaro
Code:
Select Code
wget http://releases.linaro.org/latest/components/android/toolchain/4.9/android-toolchain-eabi-4.9-2014.06-x86.tar.bz2
- Setup Linaro
Code:
Select Code
$ bunzip2 *.tar.bz2
$ tar -xvf *.tar
- Adapt your config
* Go to the root directory (here "paranoid")
* Go in "build"
* Find "envsetup.sh" and edit it : Modify The Arm Toolchain Line To Reflect Your Linaro Folder (Check Picture)




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


- Speed up your build
Code:
Select Code
export USE_CCACHE=1
* Open .bashrc in your home directory and and
Code:
Select Code
/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)
Code:
Select Code
$ ./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.
Code:
Select Code
$ 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: Beta

Created 2014-06-23
Last Updated 2014-07-29
The Following 26 Users Say Thank You to h2o64 For This Useful Post: [ Click to Expand ]
 
sanchit0403
Old
#2  
sanchit0403's Avatar
Senior Member
Thanks Meter 25
Posts: 333
Join Date: Sep 2012
Xt1033 is supported????

Sent from my Moto G using Tapatalk
 
h2o64
Old
#3  
h2o64's Avatar
Senior Member - OP
Thanks Meter 193
Posts: 211
Join Date: Aug 2012
Location: Paris
I don't know ... :/
I'll search !

UPDATE :
Look at there, it seems to be a solution
If I helped you, click Thanks
Sorry for my bad english
 
abhifx
Old
#4  
Senior Member
Thanks Meter 348
Posts: 677
Join Date: Feb 2011
Location: mohali

 
DONATE TO ME
anyone tested if this is getting some performance boost?
crDroid ROM
Gummy ROM
Guide: get out of "stuck at boot animation"
Moto G: Has Arrived.
Nexus 4: Stolen :'(
Motorola Defy: Borked Power, battery remains unrecognized
 
fabus
Old
#5  
Senior Member
Thanks Meter 41
Posts: 103
Join Date: Nov 2013
Location: Wroclaw
Hey

Thanks for contribution in MotoG world!

Did you try to compile with optimization flags: http://forum.xda-developers.com/show....php?t=2754997 ?

Cheers.
 
h2o64
Old
#6  
h2o64's Avatar
Senior Member - OP
Thanks Meter 193
Posts: 211
Join Date: Aug 2012
Location: Paris
Quote:
Originally Posted by fabus View Post
Hey

Thanks for contribution in MotoG world!

Did you try to compile with optimization flags: http://forum.xda-developers.com/show....php?t=2754997 ?

Cheers.
No I don't
If I helped you, click Thanks
Sorry for my bad english
 
fabus
Old
#7  
Senior Member
Thanks Meter 41
Posts: 103
Join Date: Nov 2013
Location: Wroclaw
Quote:
Originally Posted by h2o64 View Post
No I don't
Do you want to try ? :>

I would like to do it by myself, but currently I`m almost out of space on my HDD
I`m just wondering if this works or not. Many people were saying that those flags give additional system boost.

Worth to try?
 
h2o64
Old
#8  
h2o64's Avatar
Senior Member - OP
Thanks Meter 193
Posts: 211
Join Date: Aug 2012
Location: Paris
Quote:
Originally Posted by fabus View Post
Do you want to try ? :>

I would like to do it by myself, but currently I`m almost out of space on my HDD
I`m just wondering if this works or not. Many people were saying that those flags give additional system boost.

Worth to try?
It's a good idea !!!!
But i'm not english ... So my english is pretty bad.
Could you explain me (as clear as possible) what to do ?
I'm not a devolepper, only somebody who has some hardware.

If you explain me correctly, and I achieve to made it, I upload the build.
If I helped you, click Thanks
Sorry for my bad english
 
vbdss
Old
#9  
Senior Member
Thanks Meter 79
Posts: 519
Join Date: Jul 2011
Location: Niteroi, RJ
Anyway we owners of XT1033 MULTISIM users can help you make your build work with multi sim support?
Amazon Kindle Fire rooted - CM7 CM9
Samsung Galaxy 5 i5500 - CM7 2.3.7
 
andogeek10
Old
#10  
andogeek10's Avatar
Senior Member
Thanks Meter 563
Posts: 1,221
Join Date: Apr 2012
Location: Mumbai
Great work man. For me, this does seem a bit faster, but it may be a placebo effect. The only bug found so far, which is present in every cm based rom, is the music playback problems.

The Following User Says Thank You to andogeek10 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes