Post Reply

[ROM][7/28][Flo] - PureROM - Pure AOSP 4.4.4_r2 Build KTU84Q

OP scrosler

7th October 2013, 11:43 PM   |  #1  
scrosler's Avatar
OP Recognized Developer
Flag Fargo
Thanks Meter: 52,527
 
23,935 posts
Join Date:Joined: Feb 2007
Donate to Me
This is a PURE AOSP ROM with no mods or enhancements. This is NOT CleanROM!






Build Info
  • Build: KTU84Q
  • Build Verision: 4.4.4_r2
  • Build date: 7/28/2014
  • Rooted with SuperSU
  • FSTRIM during install
  • Busybox v1.22.1-Stericson
  • MD5: 35E1D4D25B7CFC9DA77FBDEA03F0AE45




Extra Downloads


Download ROM HERE!
Last edited by scrosler; 28th July 2014 at 07:16 AM.
The Following 159 Users Say Thank You to scrosler For This Useful Post: [ View ]
7th October 2013, 11:46 PM   |  #2  
scrosler's Avatar
OP Recognized Developer
Flag Fargo
Thanks Meter: 52,527
 
23,935 posts
Join Date:Joined: Feb 2007
Donate to Me
Ubuntu 14.04 Set up and Build Guide

Updated 6/20/2014

Feel free to ask any questions about the build process. Do not ask questions about Ubuntu!

This guide assumes the following
  1. Have Ubuntu 14.04 setup, fully operation, and up to date. Hard Machine or Virtual, makes no difference. Must meet the minimum specs for compiling. Info from Google HERE
  2. Understand terminal command line entry as this is all command line processors.
  3. You are not here to ask for help with Linux, only the Android build process!


Add Java
Code:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update && sudo apt-get install oracle-java6-installer
java -version

Add Build tools (Adds the required packages at the time of this posting)
Code:
sudo apt-get install git gnupg flex bison gperf dpkg-dev build-essential \
  zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
  libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
  libgl1-mesa-dev g++-multilib mingw32 tofrodos \
  python-markdown libxml2-utils xsltproc zlib1g-dev:i386

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

Add Repo command (Syncs Google Repository with your local machine)
Code:
mkdir ~/bin && curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo && chmod a+x ~/bin/repo

Add bin folder to path for repo command (After you do this close Terminal and re-open to institute changes (easy way))
Code:
sudo gedit .bashrc
export PATH=~/bin:$PATH <-(add to end of bashrc)
Identify Yourself to the Repo (One day you may make commits so think about that when choosing your info!)
Code:
git config --global user.email "you@youremail.com"
git config --global user.name "yourpreferredusername"
Synch Repo (Download source... Sit back and grab a pop and a sandwich...)
Code:
mkdir ~/AOSP
cd ~/AOSP
repo init -u https://android.googlesource.com/platform/manifest -b android-4.4.4_r1
repo sync
Note: I use AOSP as my directory name. You can use what you want. You could use "aosp" or "Source" or "android" or "whateveryoulike"


Install proprietary binaries (Needed for things like GPS and Bluetooth, they are not Open Source like android) (Install proprietary binaries from here in the root of AOSP folder (or whatever you called yours))


Run envsetup.sh
Code:
source build/envsetup.sh
Choose Device
Code:
lunch
Build it!
Code:
make -j8 otapackage

See Build Notes and ramblings from me in post #3!
Last edited by scrosler; 20th June 2014 at 08:52 AM.
The Following 42 Users Say Thank You to scrosler For This Useful Post: [ View ]
7th October 2013, 11:52 PM   |  #3  
scrosler's Avatar
OP Recognized Developer
Flag Fargo
Thanks Meter: 52,527
 
23,935 posts
Join Date:Joined: Feb 2007
Donate to Me
Notes
  • The ROM build will be a PURE AOSP ROM with no Gapps at all. See links in post #1 to PA Gapps for a good set of Google Apps!
  • The ROM will also have terminal level SU. So becareful! In other words its fully rooted and could be open to vulnerabilities. Flash your favorite Superuser Package if you need it. I dont. I recommend SuperSU by @Chainfire HERE. Download the flashable zip and flash after you flash ROM.
  • make -j8 is the number of worker threads that the make command will use to build. To me 8 is a safe number for an i7 processors. For an i5 Processor I would use -j4. I have experimented with a multitude of different values and it seems to me that the number of logical cores is also the best number to use with the make command.
  • Google recommends between -j24 and -j32 (to me that is excessive and causes my machine to error out every once in a while). Keep in mind the higher you push the more load the CPU will undertake. If your O/C'ing real hard you better have some nice cooling! I had to cut back OC on my 4770k from 4.65 to 4.4 with a Corsair H60 cooler just so it wouldn't over heat. When in doubt start low.
  • My i7 machine clocked at 4.4 and 16 gigs of RAM on a Samsung 840 Pro 256 Gig SSD take about 38 minutes to build the entire ROM.
  • With a 50 Meg download link it took maybe 30 to 45 minutes to sync the repo.
Last edited by scrosler; 19th July 2014 at 06:28 AM.
The Following 27 Users Say Thank You to scrosler For This Useful Post: [ View ]
8th October 2013, 12:49 AM   |  #4  
mpmilestogo's Avatar
Senior Member
Flag Union City California
Thanks Meter: 62
 
329 posts
Join Date:Joined: Aug 2009
More
Quote:
Originally Posted by Mindrocket

Right on Scott! Can't wait to give it a spin.

---------- Post added at 07:37 PM ---------- Previous post was at 07:15 PM ----------

Security settings crashes says"unfortunately settings has stopped" .

I think its the same error some other folks are facing. Rascarlo and a few others would release their AOSP builds but it appears this blocks them from releasing. Read this over on a few pages on a few ROMs in this neighborhood.
8th October 2013, 01:05 AM   |  #5  
scrosler's Avatar
OP Recognized Developer
Flag Fargo
Thanks Meter: 52,527
 
23,935 posts
Join Date:Joined: Feb 2007
Donate to Me
Quote:
Originally Posted by whoamanwtf

I have faith in you making it work :P

Can anyone post a snippet of logcat during the crash? Particular the actually error itself.

Place it in the [CODE] box if you can.

If not I get out of work in a few hours and can look then...
The Following 2 Users Say Thank You to scrosler For This Useful Post: [ View ]
8th October 2013, 02:16 AM   |  #6  
scrosler's Avatar
OP Recognized Developer
Flag Fargo
Thanks Meter: 52,527
 
23,935 posts
Join Date:Joined: Feb 2007
Donate to Me
Quote:
Originally Posted by mjwhirly

Nice to see you venturing into new projects. Most people start with CM since its not to hard to compile, but you did it the opposite way which will make all the difference in the end

Sent from my LG-D800 using XDA Premium 4 mobile app

IMHO: If you dont start with the basics you will end in a mess
The Following User Says Thank You to scrosler For This Useful Post: [ View ]
8th October 2013, 07:30 AM   |  #7  
Senior Member
Thanks Meter: 27
 
136 posts
Join Date:Joined: Sep 2013
got to try this as your clean rom works well iam sure this one will be great also
keep up the great work to you and who helps you.

Where would i start to try baking my own cake .. i use archlinux what programs needed to do a build
The Following User Says Thank You to rocksyjj For This Useful Post: [ View ]
8th October 2013, 07:37 AM   |  #8  
scrosler's Avatar
OP Recognized Developer
Flag Fargo
Thanks Meter: 52,527
 
23,935 posts
Join Date:Joined: Feb 2007
Donate to Me
Quote:
Originally Posted by rocksyjj

got to try this as your clean rom works well iam sure this one will be great also
keep up the great work to you and who helps you.

Where would i start to try baking my own cake .. i use archlinux what programs needed to do a build

Never used archlinux but I used Ubunutu 13.04

Here is where I started: http://forum.xda-developers.com/show....php?t=2224142

(I hate nano so used gedit of course. )

But at the last two shell commands i didint use the AOKP tree I used the AOSP base so you want to look here for that: http://source.android.com/source/downloading.html


Then follow the instructions from that page on forward until you have yourself a ROM


Also pay attention to the blurb about proprietary binaries

Quote:

Obtaining proprietary binaries

The Android Open-Source Project can't be used from pure source code only, and requires additional hardware-related proprietary libraries to run, specifically for hardware graphics acceleration.
Official binaries for the supported devices can be downloaded from Google's Nexus driver page, which add access to additional hardware capabilities with non-Open-Source code.
When building the master branch for a device, the binaries for the most recent numbered release or with the most recent date are the ones that should be used.

There is a link for the Nexus binaries in that blurb. Make sure you install them before building and you are good.
Last edited by scrosler; 8th October 2013 at 07:39 AM.
The Following User Says Thank You to scrosler For This Useful Post: [ View ]
8th October 2013, 10:12 AM   |  #9  
scrosler's Avatar
OP Recognized Developer
Flag Fargo
Thanks Meter: 52,527
 
23,935 posts
Join Date:Joined: Feb 2007
Donate to Me
Alright then...

Build 20131008.010041 up!


Changes
  • Re-synced repo for 2013/10/08
  • Fixed Settings -> Security F/C
  • Changed SU to SuperSU


Also can I have some people rate the thread 5 stars... The Nexus 7 FHD troll is at it again. He is going around rating my threads, and others, 1 star.

Any help with that would be appreciated. Damn trolls, lol!
The Following 5 Users Say Thank You to scrosler For This Useful Post: [ View ]
8th October 2013, 10:18 AM   |  #10  
Senior Member
Thanks Meter: 49
 
162 posts
Join Date:Joined: Nov 2011
Quote:
Originally Posted by scrosler

Alright then...

Build 20131008.010041 up!


Changes

  • Re-synced repo for 2013/10/08
  • Fixed Settings -> Security F/C
  • Changed SU to SuperSU


Also can I have some people rate the thread 5 stars... The Nexus 7 FHD troll is at it again. He is going around rating my threads, and others, 1 star.

Any help with that would be appreciated. Damn trolls, lol!

You fixed the security settings fc! Mind sharing how you managed to fix that?

Sent from my Nexus 7 using Tapatalk 4

The Following User Says Thank You to ktkr For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Nexus 7 (2013) Android Development by ThreadRank