errors while building AOSP 5.1

ml11ML

Senior Member
Mar 1, 2015
154
48
0
Hello guys,

i decided to try building AOSP myself using the guide at: http://developer.sonymobile.com/kno...ld-aosp-lollipop-for-unlocked-xperia-devices/


however when i let it build with
source build/envsetup.sh && lunch
and then select sgp712 (mine is wifi) and then write
make –j 6 (8 core cpu with 2 cores turned off)
it works normally for a while spamming the including ./stuff/stuff and after a minute or two ends with
#### make failed to build some targets (01:53 (mm:ss)) ####(pic attached)

Anyone has any idea what could possibly be wrong or how i would go about fixing it?
 

ml11ML

Senior Member
Mar 1, 2015
154
48
0
Ah crap! After having to reinstall the whole system because a crash ruined it i now got this after a hour of building... System folder has some stuff in it but there are no .img files made yet if that helps with what could be to blame.. Any ideas on this one? If i need to tell some info that might help anyone figure out what is making it fail i'll be happy to do that.
 

Attachments

Last edited:

alex009988

Senior Member
Jun 8, 2011
333
139
73
I tried to cook the rom on my own too, but I haven't even come up to compilation. So, it's better to ask your question here. http://forum.xda-developers.com/z4-...-xperia-devices-project-t3178610/post65310749
Or on general xda topic devoted to cooking roms. It's interesting, roms by fxp and by Sony code are the same or not?
Also, I advice you to make twrp backup of your system. Thus, you lose nothing and can experiment boldly.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone