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.
AOSP (source.android.com) is android. Are you sure you compiled the right packages. That you included the prebuilts and everything?
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
gur-i said:
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
Click to expand...
Click to collapse
Did you compile for the right device? I believe the guide on source.android.com is for the emulator.
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
gur-i said:
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
Click to expand...
Click to collapse
It is, maybe you should read it again to see if you haven't missed anything.
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.
You have to run "make mako otapackage"
Related
Hi,
I really am embarrassed for having to ask this question considering I've been an Android user for almost a year now and rooting all my devices.
I went to Asus' website a moment ago to download the upgrade to Jelly Bean since I need to do it manually.
What is the difference between the 'firmare' and the 'source code'?
Which one would you use to flash the upgrade.
Also, just so I have a better understanding of the two would you be kind enough to provide a simple reason as to what each type is used for?
My gut guess is that we use 'firmware' to do the actually flash.
And the source code lets you look at what is inside and is 'uncomplied'
Where the firmware is the 'compiled and ready to go package.
Did I get it correct?
Thanks!
Rob
Rob
Sent from my SPH-D710 using Tapatalk 2
You are indeed correct. You need to download the firmware not source code
Sent from my Nexus 7 using Tapatalk 2
Yeap he's right you are pretty much spot on with the source code and firmware.
The firmware is the software package with the OS and drivers and libs and things such as that.
The source code is what developers use to modify the software, my analogy isn't the best but its kind of like if I needed to do a big structural renovation/addition on an existing building I would use the blueprints from original construction instead of reverse engineering by taking the entire building down one piece at a time to see what's load bearing, where hidden plumbing and electrical is, etc.
Source code is kinda like those blueprints.
Sent from my ADR6425LVW using xda premium
Hi,
The Source Code is really the code written by hand with a keyboard of the System Android. It is not compiled.
Compiled : It is the result of compiling the source code. It is in a state where you can use the system. Probably where you're looking for.
If you want the stock 4.1.1 Image for Nexus 7, check at the bottom of this page https://developers.google.com/android/nexus/images#nakasi
Sent from my Nexus 7 using xda premium
jamesst20 said:
Hi,
The Source Code is really the code written by hand with a keyboard of the System Android. It is not compiled.
Compiled : It is the result of compiling the source code. It is in a state where you can use the system. Probably where you're looking for.
If you want the stock 4.1.1 Image for Nexus 7, check at the bottom of this page https://developers.google.com/android/nexus/images#nakasi
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Question: The file from that link is in .tgz format.
Aren't the flashable files in .zip format?
How does one use the .tgz to get their Nexus 7 back to stock? Is there a link to the step by step instructions?
Thanks
Rob has sent this from his Nexus 7 using Tapatalk 2
If I were you, I would use Nexus 7 Toolkit V2, it has the option to 1st Download Stock Rom, 2nd Flash it , so yeah all you gotta have to do is enter some number to select what you want from menu
Just to make sure you understand few words :
Adb : Normal state when your device is turned on
PS: To flash a rom, your bootloader must be unlocked, there is the option to unlock it on the Nexus 7 Toolkit too Ah and if it is the first time you do that on your computer you gotta install the driver. Press 1 on the menu think
Sent from my Nexus 7 using Tapatalk 2
---------- Post added at 06:18 PM ---------- Previous post was at 06:14 PM ----------
Other info:
Doesn't matter if it is a .tar.gz or a zip or a rar, because these extensions do likely the samething, they 'compress' files to distribute them easily. The reason why it doesn't matter is that the rom is gonna be extracted/decompressed
Sent from my Nexus 7 using Tapatalk 2
Sorry if I'm in the wrong section here, but I didn't quite know where to post this...
I made a little tool for Ubuntu which I used a few bash scripts for. It can download Videos from youtube and various other websites and optionally convert them to mp3.
When I tested it for the first time, ffmpeg (the converter that the tool uses) had already been setup before and everything was working perfectly. But I completely reinstalled Ubuntu yesterday, just to clean up my computer a little and hoping that some bugs would go away.
Afterwards, I tested my tool again because I wanted to release a new version with some design updates and a little bug fix, but suddenly, ffmpeg wasn't working any more. It just didn't install, so I thought the setup script was broken. When I found nothing wrong and tested it again, it still didn't work.
Then I tried to install ffmpeg manually, which also didn't work, so I'm starting to think there's an internal problem with my computer (and yes, I double-checked every step I did. The installation process in the terminal looked like it was actually installing, but afterwards, it still didn't work). Could anyone test it for me and tell me if it's working for them?
Download: http://d-h.st/MRc
Would be great :good:
AW: Looking for testers for a download tool
Is anybody out there? D
Sent from my GT-I9001 using xda app-developers app
Simple but nice with the youtube-dl.
:laugh:
AW: Looking for testers for a download tool
highcraft said:
Simple but nice with the youtube-dl.
:laugh:
Click to expand...
Click to collapse
Is it working for you?
Sent from my GT-I9001 using xda app-developers app
DAMNIT I need TESTERS
AW: Looking for testers for a download tool
Really? Ain't there anyone who wants to test it? It's just a few KB to download and a few minutes of work
Sent from my GT-I9001 using xda app-developers app
downloading... ill give feedback after testing
I've tested it on my laptop running 12.10 and it works great.
I've downloaded two videos without any problems. Thanks I'm looking forward to see what you do with it.
Reading about pdroid and from what I gather, you can't use it with our stock ROM even if you have root. Any devs or more knowledgeable people who can tell me how to compile a stock rooted ROM that includes pdroid?
forum.xda-developers.com/showthread.php?t=1357056
Just looking for advice or anyone with experience in this area
Sent from my Nexus 4 using xda app-developers app
expansion
or... for that matter, why is it that none of the roms seem to be integrating pdroid/openpdroid?
I have tried the autopatcher on several different roms, and none have patched properly.
I feel like this is a very good feature, but I am starting to feel as if I am in the minority.
Have I missed any roms with pdroid in them?
Maybe its still too buggy to be integrated into a ROM - regardless, I'm going to see if I can get something going tonight when I have a few hours. I've never compiled Roms before tho so I doubt I'll be successful. If I am I'll find a way to share it :beer:
Sent from my Nexus 4 using xda app-developers app
openpdroid
shultz11588 said:
Reading about pdroid and from what I gather, you can't use it with our stock ROM even if you have root. Any devs or more knowledgeable people who can tell me how to compile a stock rooted ROM that includes pdroid?
forum.xda-developers.com/showthread.php?t=1357056
Just looking for advice or anyone with experience in this area
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
I have patched Primerunner rom, PA rom and Steve's PUB rom with OpenPdroid and Autopatcher through ApG
Don.t think Collegedev has pushed Pdroid to 4.2.1 in Autopatcher yet but am sure openpdroid and pdroid are now interacting on how to move it forward...
Steve's Pub rom 5th Feb..fully patched no errors.....Primefrunner and PA.2.99 patched with 1 or 2 error fixes but successfully patched..
I'm running Steve's Pub rom patched with Openpdroid and this is an Antutu score for reference ...running very smooth
Uploaded Patches
http://androtransfer.com/?developer=stevespear
Above is link for rom use Krait version
Here is the patches for Steve's pub rom
You will also need Pdroid manager apk to control and monitor..
Remember YOU do this because YOU want to
It's working perfect for me
So it wouldn't be possible to patch stock rooted 4.2.1? Or the upcoming 4.2.2? Only aokp and aosp?
Sent from my Nexus 4 using xda app-developers app
i looked for a few threads about pdroid and i still don't get how i make this thing work on cm10.1 or paranoid android or other roms.
I'm also interested in integrating openpdroid or pdroid, does anyone have opinion between the two projects?
Also in the same vein, the fugumod kernel on Galaxy Nexus looks really good. A similar hardened kernel would be nice to see on Nexus 4, unless one exists already?
thebazman said:
http://androtransfer.com/?developer=stevespear
Above is link for rom use Krait version
Here is the patches for Steve's pub rom
You will also need Pdroid manager apk to control and monitor..
Remember YOU do this because YOU want to
It's working perfect for me
Click to expand...
Click to collapse
OK, I made it and it works!
1) Download mako rom from link above.
2) Download gapps.
3) Download those 2 attached files.
4) Move all files to phone storage.
5) Make a nandroid backup.
6) Full wipe.
7) Flash by this order:
* Rom
* Gapps
* ....restore.zip (attached file)
* ...update.zip (attached file)
8) Wipe dalvik cache
9) Reboot
10) Install from play store the PDroid Manager
That's is.
hmm
thebazman said:
I have patched Primerunner rom, PA rom and Steve's PUB rom with OpenPdroid and Autopatcher through ApG
Don.t think Collegedev has pushed Pdroid to 4.2.1 in Autopatcher yet but am sure openpdroid and pdroid are now interacting on how to move it forward...
Steve's Pub rom 5th Feb..fully patched no errors.....Primefrunner and PA.2.99 patched with 1 or 2 error fixes but successfully patched..
I'm running Steve's Pub rom patched with Openpdroid and this is an Antutu score for reference ...running very smooth
Click to expand...
Click to collapse
Great info. I am curious if their is a specific way you did it? I had tried that specific build, and got patching failed from apg.
shultz11588 said:
So it wouldn't be possible to patch stock rooted 4.2.1? Or the upcoming 4.2.2? Only aokp and aosp?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
THIS. very interested in 4.2.2. I am using the mysterious aokp 4.2.2 right now, and I LOVED pub, but I don't like downgrading. As frustrating as that may be sometimes... case in point, DANG I really miss AVRCP. driving around and my jvc head unit always says 'no name'
I guess my main question is why are more developers not integrating this into their roms? Seems like a valuable security enhancement.
(Please, don't get me wrong. I am not complaining, and I love and appreciate the work that goes into development. I am genuinely curious if their is some reason preventing integration.)
Finally got open pdroid to patch successfully on both mysterious aokp 4.2.2 2/19 release, and on pa 3.0. happy happy camper. Facebook messenger now says I am most definitely not at another girl's house when I message my girlfriend. jk of course.
Sent from my Nexus 4 using xda app-developers app
How do I run auto patcher on Win 7 without the ApG tool
Hi,
I downloaded the latest ApG tool from here: forum.xda-developers.com/showpost.php?p=31648393&postcount=690
I had already installed the latest JDK/JRE along with Cygwin on my PC (with some help from http://forum.xda-developers.com/showpost.php?p=28196231&postcount=104).
However, when I run ApG, it insists on downloading Java and Cygwin once again! The total download it wants to make is some 250 MB. While the size of the download is not an issue, I do want to know why ApG is insisting on downloading something that has already been installed. Is there some mistake with my installation? Or has the ApG team missed out on this basic error check?
Apart from this, if I want to auto patch a ROM using auto patcher on Win 7 (WITHOUT ApG), how do I go about it? Like I said, I already have Java and Cygwin installed on my machine.
Would appreciate any help or guidance on this topic.
Thanks in advance!
Does anyone know of any other thread on this topic? I've not been able to find other threads in Q&A related to openpdroid.
lovethenexus said:
Hi,
I downloaded the latest ApG tool from here: forum.xda-developers.com/showpost.php?p=31648393&postcount=690
I had already installed the latest JDK/JRE along with Cygwin on my PC (with some help from http://forum.xda-developers.com/showpost.php?p=28196231&postcount=104).
However, when I run ApG, it insists on downloading Java and Cygwin once again! The total download it wants to make is some 250 MB. While the size of the download is not an issue, I do want to know why ApG is insisting on downloading something that has already been installed. Is there some mistake with my installation? Or has the ApG team missed out on this basic error check?
Apart from this, if I want to auto patch a ROM using auto patcher on Win 7 (WITHOUT ApG), how do I go about it? Like I said, I already have Java and Cygwin installed on my machine.
Would appreciate any help or guidance on this topic.
Thanks in advance!
Click to expand...
Click to collapse
I think the reason the Apg tool downloads it's own copy of Java and cgwin is because it was designed to be a stand alone solution. I've been using it since it started supporting 4.2 based roms and it works great. Sorry I can't help with patching a rom without using the tool. It would probably be easier to install Ubuntu in a virtual machine than to figure it out using cgwin.
There is an openpdroid thread in the main android section of these forums. Sorry i cant get you a link right now as I'm on my phone and searching isn't really practical from the xda app.
I guess I'll just have to go ahead and let the app do its magic the way it wants . Thanks anyways for your response. I did think about the VM solution, but that seemed not worth the effort. I'll post a better solution if I find one (on installation without the tool).
linelock said:
I think the reason the Apg tool downloads it's own copy of Java and cgwin is because it was designed to be a stand alone solution. I've been using it since it started supporting 4.2 based roms and it works great. Sorry I can't help with patching a rom without using the tool. It would probably be easier to install Ubuntu in a virtual machine than to figure it out using cgwin.
There is an openpdroid thread in the main android section of these forums. Sorry i cant get you a link right now as I'm on my phone and searching isn't really practical from the xda app.
Click to expand...
Click to collapse
Hi guys
I attempted a port of omni for the moto g 2013 .I was able to compile it but refuses to boot.I have set SELinux to permissive.But it refuses to boot again.it shows up boot animation for some time and then come backs to bootlogo.P.S.:I'm using the bfam hals.
Here are the logs:
https://dl.dropboxusercontent.com/u/58434411/logs.zip
Helps are much appreciated.
@Entropy512 you could help me coz u brought omni up for falcon.Thanks !!
Sent from my A0001 using XDA Free mobile app
@Entropy512 please help us
Sent from my XT1032 using XDA Forums PRO
I haven't touched the device in so long I would have no idea where to begin.
I suggest doing a clean install with an eng build, since those enable ADB from the beginning. Since you're at least getting bootanimation, ADB will be up in eng builds so you'll be able to see what's crapping out.
Entropy512 said:
I haven't touched the device in so long I would have no idea where to begin.
I suggest doing a clean install with an eng build, since those enable ADB from the beginning. Since you're at least getting bootanimation, ADB will be up in eng builds so you'll be able to see what's crapping out.
Click to expand...
Click to collapse
Thank for your input.I guess it needs a huge amount of work.Will give it a shot though!
Sent from my A0001 using XDA Free mobile app
@ashwin007 can you share your device tree modifications? I tried using omni's 4.4 device tree and ended up with errors.
It seems impossible to find anything when 1000s of Google results are scummy suspicious paywall blogs with oddly similar comment sections. I was looking to update my phone to use Cyanogen mod but the device is not on the supported device list but there are devices from lower tier levels.
Full name for my device is: Galaxy J500FN (maybe it has a different name elsewhere ?) a mid range Samsung phone. In Europe. I found a thread about rooting it but that's not really the same.
Not sure how/where to look for answers.
I own the same device currently and would to get answers to this question. This phone has many users in Asia and Middle East. Btw the full name for my device is Galaxy j500H
I have searched a lot but no luck. I could find anything reliable.
wick33d said:
It seems impossible to find anything when 1000s of Google results are scummy suspicious paywall blogs with oddly similar comment sections. I was looking to update my phone to use Cyanogen mod but the device is not on the supported device list but there are devices from lower tier levels.
Full name for my device is: Galaxy J500FN (maybe it has a different name elsewhere ?) a mid range Samsung phone. In Europe. I found a thread about rooting it but that's not really the same.
Not sure how/where to look for answers.
Click to expand...
Click to collapse
I think it runs lollipop out of box. Then for what reason do you guys want a custom rom
Sent from my LG-X160 using XDA Free mobile app
droid_god said:
I think it runs lollipop out of box. Then for what reason do you guys want a custom rom
Sent from my LG-X160 using XDA Free mobile app
Click to expand...
Click to collapse
Maybe just wanting something different. There are phones out there from Samsung and other manufacturers of lower and same tier with Android 5.1 which have custom roms.
And it's not just look and feel improvements, voice input/output, better image/video quality, batter life etc..
droid_god said:
I think it runs lollipop out of box. Then for what reason do you guys want a custom rom
Sent from my LG-X160 using XDA Free mobile app
Click to expand...
Click to collapse
I specifically want a deodexed rom just for Xposed framework to work. Other than that I am pretty much satisfied with the stock rom.
wick33d said:
Maybe just wanting something different. There are phones out there from Samsung and other manufacturers of lower and same tier with Android 5.1 which have custom roms.
And it's not just look and feel improvements, voice input/output, better image/video quality, batter life etc..
Click to expand...
Click to collapse
Ok getting the deodexed rom is easy.
Just install kitchen and cygwin on pc and setup the up correctly.
And then using cwm recovery make a backup of a factory reseted device and then just send me a screenshot of folders which you have.
After i tell you which filder to choose paate them into kitchen and start kitchen to make a working folder.
Then inside kitchen menu deodex apps and framework folder and then repack the rom.
After repacking flaah the rom using cwm recovery.
Your root will not be lost.
In least cases if root lost after flaahing the re root it using same method as you used before for rooting.
And for improvments you want in custom rom. I will try to get them in the rom.
Sent from my LG-X160 using XDA Free mobile app
droid_god said:
Ok getting the deodexed rom is easy.
Just install kitchen and cygwin on pc and setup the up correctly.
And then using cwm recovery make a backup of a factory reseted device and then just send me a screenshot of folders which you have.
After i tell you which filder to choose paate them into kitchen and start kitchen to make a working folder.
Then inside kitchen menu deodex apps and framework folder and then repack the rom.
After repacking flaah the rom using cwm recovery.
Your root will not be lost.
In least cases if root lost after flaahing the re root it using same method as you used before for rooting.
And for improvments you want in custom rom. I will try to get them in the rom.
Sent from my LG-X160 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks but currently CWM is not available, I am using twrp and I know the procedure you just mentioned but I'd rather wait for someone to cook a rom than do it myself. Time boht kam hai dost
So install the terminal emulator and write this.
Su
Tar -c /system/* /sdcard/system.tar
And wait patiently for the emulator to respond ok
Now you got the system.tar
And now get the boot.img from the rom
When you get both the files paste them in original rom folder in kitchen and stary cygwin
You can get good guids on cygwin and dsixda kitchen and how to set them.up correctly.
If not then i will tell you guys tommorow. Today going to sleep it too late here 1:27 am.
Good night bros
Sent from my LG-X160 using XDA Free mobile app
Hello folks, I own the same J5 build (J500FN) ! Already root and twrp enabled (thanks to CTx) but also waiting for a custom rom to feel I totaly own the phone Btw XDA dev is the best! Only gods in there, greets from Belgium!
bob640 said:
Hello folks, I own the same J5 build (J500FN) ! Already root and twrp enabled (thanks to CTx) but also waiting for a custom rom to feel I totaly own the phone Btw XDA dev is the best! Only gods in there, greets from Belgium!
Click to expand...
Click to collapse
Provide raw material in this post.anybody willing to make a custom rom can pick up that data and will cook it and prepare a good custom rom for j5.
Sent from my SM-G355H using XDA Free mobile app
Hi friends, I need some rom for J500G to add language (spanish), Can I put a deodexed rom for example from J500M to my J500G? someone can help me to do the rom? I'm not expert but I have knowledge. I try lot of methods to add my language without results
Hey,
I'm joining there.
So, after a bit of research i found a CM12.1 for Galaxy E5, wich is almost the same phone as the J5 (same proc, same RAM, same display). If anyone can port that rom to this device, that would be awesome.
http://forum.xda-developers.com/gal...rom-cyanogenmod-12-1-galaxy-e5-e500h-t3255586
I just cant understand this new porting method (5.1.1 has the system.new.dat - and the base rom is just a tar.md5).
snikerfreak said:
Hey,
I'm joining there.
So, after a bit of research i found a CM12.1 for Galaxy E5, wich is almost the same phone as the J5 (same proc, same RAM, same display). If anyone can port that rom to this device, that would be awesome.
http://forum.xda-developers.com/gal...rom-cyanogenmod-12-1-galaxy-e5-e500h-t3255586
I just cant understand this new porting method (5.1.1 has the system.new.dat - and the base rom is just a tar.md5).
Click to expand...
Click to collapse
https://github.com/Galaxy-J5/
{How To} Extract System.new.dat – Lollipop DAT files
If you are on linux, write in termina: tar -xvf name.tar.md5.
If you succeed in porting , let us know
Also read : http://forum.xda-developers.com/showpost.php?p=64567666&postcount=60 .
@wick33d @omar.abbas @Rickyzx @bob640
I've made this custom rom: Stock ROM Advanced .Please read the whole thread and share it, so more people will know about it.
Force said:
https://github.com/Galaxy-J5/
{How To} Extract System.new.dat – Lollipop DAT files
If you are on linux, write in termina: tar -xvf name.tar.md5.
If you succeed in porting , let us know
Also read : http://forum.xda-developers.com/showpost.php?p=64567666&postcount=60 .
@wick33d @omar.abbas @Rickyzx @bob640
I've made this custom rom: Stock ROM Advanced .Please read the whole thread and share it, so more people will know about it.
Click to expand...
Click to collapse
I will try my best on it if i have enough time.
Is this github link an in-dev Cyanogenmod?
snikerfreak said:
Is this github link an in-dev Cyanogenmod?
Click to expand...
Click to collapse
Yes.
Its hard to see that the last commit was 28 days ago.
droid_god said:
I think it runs lollipop out of box. Then for what reason do you guys want a custom rom
Sent from my LG-X160 using XDA Free mobile app
Click to expand...
Click to collapse
should get Nexus 5x or 6P phone if they want custom ROM's
your NOT God by the way
umbrokhan said:
should get Nexus 5x or 6P phone if they want custom ROM's
your NOT God by the way
Click to expand...
Click to collapse
There are many roms for moto g3 which is very slow in app opening when compared to j5,
So why can't we hv roms.
C tech trinkets video moto g3 vs j5 on YouTube
J5 is midrange beast.
Because that's not how things work, your phone opens apps "faster" good for you, doesn't mean anything.
Sent from my LG-H631 using Tapatalk