Jump to content

  1. 0
  2. 0
  3. 0/5

Rate this Topic

* * * * *
17 votes

[TUTORIAL] Building AOKP [Ubuntu 12.04+]

  • Please log in to reply

K_TECH

K_TECH

Average Android

Posted 07 June 2014 - 03:35 PM #3461

1 errormake: *** [/home/unnamed/Document/OS/aokp/kitkat/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes-full-debug.jar] Error 41make: *** Waiting for unfinished jobs....
Hello all, i got same error after 5 times to building AOKP Kitkat 4.4.3 KTU84M for ancora device
This is my log https://www.dropbox....9/LOG080514.txt


EDITED:
i've done my build for 3 hours, and it booting up.
Thanks to all member in here who help me a lot. :)
qazujaru.jpg

Attached Thumbnails

  • Screenshot from 2014-06-08 05:44:26.png

Edited by K_TECH, 07 June 2014 - 10:26 PM.

  • 0 Likes

gaetawoo

gaetawoo

Love your frenemies

  • 1,535 posts

Posted 13 August 2014 - 08:45 PM #3462

I just synced the repo and tried building hammerhead (nexus 5) and it keeps crashing (the brunch hammerhead command) at ThemeProvider. I made clobber and trying again, so if it crashes again, i'll post the output.  usually i don't need help but i can't figure this out.


  • 0 Likes

gaetawoo

gaetawoo

Love your frenemies

  • 1,535 posts

Posted 13 August 2014 - 10:27 PM #3463

Ok, failed at the exact same spot a third time.  Can someone help me out??? Here is the relevant output:

http://pastebin.com/RU7m50VK

 

Pre-emptive thank you!


  • 0 Likes

gaetawoo

gaetawoo

Love your frenemies

  • 1,535 posts

Posted 14 August 2014 - 03:13 PM #3464

Trying to build again, after clearing out the repo, and re-repo init, and repo sync...  still won't build.

 

http://pastebin.com/zFuL3ic8

 

Argg.. any ideas?


  • 0 Likes

gaetawoo

gaetawoo

Love your frenemies

  • 1,535 posts

Posted 16 August 2014 - 03:31 PM #3465

so this thread is dead i guess.


  • 0 Likes

gaetawoo

gaetawoo

Love your frenemies

  • 1,535 posts

Posted 17 August 2014 - 12:25 AM #3466

Well, I got it working. The tutorial on the first page is no longer valid.  

 

Go here for the correct one.

 

http://nathanpfry.co...le-android-roms

 

i was missing some tools that needed to be installed.


  • 1 Likes

gaetawoo

gaetawoo

Love your frenemies

  • 1,535 posts

Posted 23 August 2014 - 10:31 PM #3467

Whenever you get one of those "error" lines; the build will not complete without your first fixing the cherry pick.
- To do this -
Install Meld:
sudo apt-get install meld

Then the next time an error pops up:
Type "git mergetool"
It will say there are conflicts on _____ file(s).
Press enter to open meld.

As Akellar said, the middle is the file you're truly worried about...but I find it easiest to just make all three match until the "all files are identical" pop-up comes up.
Green blocks can generally just be moved across using the arrow that comes out of the block.
This is only not true when you're moving blocks in that are no longer part of the code.
So if it's on the far right file in meld...make sure it pertains to the cherry pick or you're probably moving in code that was removed.
Blue blocks are usually a copy and paste of a few lines from one block onto the top of the other.
Red...you'll have to figure out yourself.

Once all files are fixed with meld:
git status
This will show the .orig files that need to be removed. Remove all .orig files.
Then:
git add -A
git commit -a
Control+X will commit the cherry...
And you're done.

Kit, always saving me from the past.


  • 0 Likes

DJSubterrain

DJSubterrain

Average Android

Posted 08 December 2014 - 02:49 PM #3468

Hey guys,

Any help with AOKP Lollipop?

Trying to build nightlies but it just keeps showing an error as follows:

aokpbuilder@DJSubterrains-AOKPBuilder:~/aokp$ breakfast mako
ls: cannot access device/*/mako/aokp.mk: No such file or directory
build/core/product_config.mk:233: * Can not locate config makefile for product "aokp_mako". Stop.

** Don't have a product spec for: 'aokp_mako'
** Do you have the right repo manifest?

I've tried different variations but it still won't build. Are the files not ready to go or is the device name wrong?


  • 0 Likes