Unofficial Android 5.1 for Samsung Galaxy Note 4

The Qualcomm edition of the Samsung Galaxy Note 4 is another device that received … more

Guide to Dual Boot Snapdragon Note 4

Dual Boot is one of the most desirable features for a flashaholic, and with this guide by XDA … more

Has ART Made a Noticeable Jump in App Performance?

We’ve received mixed reports about switching to ART but it seems that the … more

Samsung Galaxy S6 Edge Drop Test

The Samsung Galaxy S6 and Galaxy S6 Edge are already proving to be amongst the head turners of 2015. … more
Post Reply Subscribe to Thread Email Thread

[Q] Source Compilation of Android for N4

7th July 2014, 09:53 AM   |  #1  
OP Junior Member
Flag Bangalore
Thanks Meter: 1
 
29 posts
Join Date:Joined: Apr 2011
More
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.
7th July 2014, 11:09 AM   |  #2  
SMillerNL's Avatar
Recognized Contributor
Flag Lisse
Thanks Meter: 1,059
 
3,274 posts
Join Date:Joined: Sep 2011
Donate to Me
More
AOSP (source.android.com) is android. Are you sure you compiled the right packages. That you included the prebuilts and everything?
7th July 2014, 06:30 PM   |  #3  
OP Junior Member
Flag Bangalore
Thanks Meter: 1
 
29 posts
Join Date:Joined: Apr 2011
More
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
8th July 2014, 12:07 PM   |  #4  
SMillerNL's Avatar
Recognized Contributor
Flag Lisse
Thanks Meter: 1,059
 
3,274 posts
Join Date:Joined: Sep 2011
Donate to Me
More
Quote:
Originally Posted by gur-i

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.
8th July 2014, 03:25 PM   |  #5  
OP Junior Member
Flag Bangalore
Thanks Meter: 1
 
29 posts
Join Date:Joined: Apr 2011
More
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
8th July 2014, 04:02 PM   |  #6  
SMillerNL's Avatar
Recognized Contributor
Flag Lisse
Thanks Meter: 1,059
 
3,274 posts
Join Date:Joined: Sep 2011
Donate to Me
More
Quote:
Originally Posted by gur-i

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.
9th July 2014, 06:08 AM   |  #7  
OP Junior Member
Flag Bangalore
Thanks Meter: 1
 
29 posts
Join Date:Joined: Apr 2011
More
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.
13th July 2014, 08:26 AM   |  #8  
SMillerNL's Avatar
Recognized Contributor
Flag Lisse
Thanks Meter: 1,059
 
3,274 posts
Join Date:Joined: Sep 2011
Donate to Me
More
You have to run "make mako otapackage"

Post Reply Subscribe to Thread

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

Advanced Search
Display Modes