Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,731,492 Members 52,373 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Source Compilation of Android for N4

Tip us?
 
gur-i
Old
#1  
Junior Member - OP
Thanks Meter 1
Posts: 29
Join Date: Apr 2011
Location: Bangalore
Question [Q] Source Compilation of Android for N4

Hi Friends, I was wondering how to compile android from source for My MAKO Device ?

before anyone says that What the Heck ?? ____ I have been through many tutorials, unfortunatily those are for compiline CM which i am not able to clone on my Laptop due to some GIT access issue from my Workplace.

Further i followed the official documentation for compilind android on source.android.com and was able to bild the IMAGE but as soon as i flashed the Image My Nexus's scren got blank and nothing happened .

so, can someone please guide me on how to compile Android from Source (NO CM/ ETC.) for MAKO ..

Thanks in Advance.
 
SMillerNL
Old
#2  
SMillerNL's Avatar
Recognized Contributor
Thanks Meter 1017
Posts: 3,152
Join Date: Sep 2011
Location: Lisse

 
DONATE TO ME
AOSP (source.android.com) is android. Are you sure you compiled the right packages. That you included the prebuilts and everything?

"I actually don't want any Thanks. I don't need to be Thanked, because I just want to make XDA a better place..."
http://team-fun.eu
 
gur-i
Old
#3  
Junior Member - OP
Thanks Meter 1
Posts: 29
Join Date: Apr 2011
Location: Bangalore
Ya . I did everything step by step. And finally I got the images but after flashing the images on my N4 I got a blank screen after boot animation.

Do you have another link so that I can try that method !.

Sent from my Nexus 4 using XDA Free mobile app
 
SMillerNL
Old
#4  
SMillerNL's Avatar
Recognized Contributor
Thanks Meter 1017
Posts: 3,152
Join Date: Sep 2011
Location: Lisse

 
DONATE TO ME
Quote:
Originally Posted by gur-i View Post
Ya . I did everything step by step. And finally I got the images but after flashing the images on my N4 I got a blank screen after boot animation.

Do you have another link so that I can try that method !.

Sent from my Nexus 4 using XDA Free mobile app
Did you compile for the right device? I believe the guide on source.android.com is for the emulator.

"I actually don't want any Thanks. I don't need to be Thanked, because I just want to make XDA a better place..."
http://team-fun.eu
 
gur-i
Old
#5  
Junior Member - OP
Thanks Meter 1
Posts: 29
Join Date: Apr 2011
Location: Bangalore
Well they also have a device guide, which i followed , do i have to manually add device driver binaries as i did not do that as ot was not there in the guide.

Sent from my Nexus 4 using XDA Free mobile app
 
SMillerNL
Old
#6  
SMillerNL's Avatar
Recognized Contributor
Thanks Meter 1017
Posts: 3,152
Join Date: Sep 2011
Location: Lisse

 
DONATE TO ME
Quote:
Originally Posted by gur-i View Post
Well they also have a device guide, which i followed , do i have to manually add device driver binaries as i did not do that as ot was not there in the guide.

Sent from my Nexus 4 using XDA Free mobile app
It is, maybe you should read it again to see if you haven't missed anything.

"I actually don't want any Thanks. I don't need to be Thanked, because I just want to make XDA a better place..."
http://team-fun.eu
 
gur-i
Old
#7  
Junior Member - OP
Thanks Meter 1
Posts: 29
Join Date: Apr 2011
Location: Bangalore
Sure SMillerNL, i will do it again and report back.
Another thing, is actually , when i compile the sorce, I get various images, bootloader.img, system.img, etc. So, How to make a flashable zip out of those, so i can test the rom on MultiRom on my device, rather than flashing from ground 0 , as nexus4 is my kinna daily driver mobile phone.
 
SMillerNL
Old
#8  
SMillerNL's Avatar
Recognized Contributor
Thanks Meter 1017
Posts: 3,152
Join Date: Sep 2011
Location: Lisse

 
DONATE TO ME
You have to run "make mako otapackage"

"I actually don't want any Thanks. I don't need to be Thanked, because I just want to make XDA a better place..."
http://team-fun.eu

Tags
compilation, source
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Immersive Mode on Unrooted Devices with GMD Full Screen Immersive Mode

Everyone likes screen real estate–no question about that. The … more

Android Wear App Review: EchoWear Song Search – XDA Developer TV

Yesterday on XDA Developer TV, Producer AdamOutler tore down a Samsung … more

Blast Those Flags with Knock the Flags

Lately, we have seen a rather drastic shift in the world of mobile device gaming. The infamous Angry … more