Install make command on my Android?? - Nexus 5 Q&A, Help & Troubleshooting

Is it possible to manually install/build the make command on an android device. Before you suggest it, botbrew doesn't want to work for my Nexus 5 or TMO SGS4. Thanks in advanced!
Sent from my Nexus 5 using XDA Premium 4 mobile app

Don't see why you need make. There's an apk here ( http://botbrew.com/). Don't know if this is possible, if you want to compile stuff why not cross-compile?

beekay201 said:
Don't see why you need make. There's an apk here ( http://botbrew.com/). Don't know if this is possible, if you want to compile stuff why not cross-compile?
Click to expand...
Click to collapse
Not brew spews all kinds of errors and won't work. How would I cross compile the make command for my phone or utils and or packages in general??
Sent from my Nexus 5 using XDA Premium 4 mobile app

codecaine21 said:
Not brew spews all kinds of errors and won't work. How would I cross compile the make command for my phone or utils and or packages in general??
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
What do you want to do? Build stuff? Do you have a bunch of makefiles you need running? I think that you'd still need a toolchain to build stuff, not just make.
My suggestion was to cross compile stuff on your PC that runs on your PHONE.

beekay201 said:
What do you want to do? Build stuff? Do you have a bunch of makefiles you need running? I think that you'd still need a toolchain to build stuff, not just make.
My suggestion was to cross compile stuff on your PC that runs on your PHONE.
Click to expand...
Click to collapse
Exactly what I want to do. Build a program from source. A C program tarball. But yes I have make files and all that good stuff. I can easily build on my Linux box but not my phone.
How do I go about building a toolchain and cross compiling? Do you have any links handy?
Sent from my Nexus 5 using XDA Premium 4 mobile app

I think the NDK is what I'm looking for. I hope it can cross compile lakes with make files, multiple c programs and shared object files.
Sent from my Nexus 5 using XDA Premium 4 mobile app

Related

[Q] how can i be a developer

I did a little googling and found a site called ROM kitchen. So is this basically how i get started creating roms? Suggestions, links, precautions?
Rom kitchen won't work with our phones
Sent from my SGH-T959V using Tapatalk
I can't remember the person who made that, but if his name starts with a d, its HTC only.
Sent from my myTouch_4G_Slide using XDA App
this?? http://romkitchen.org/samsung/?s=home
hey thats a pretty cool find tell me if it works i would like to learn too
Ricanblaze said:
hey thats a pretty cool find tell me if it works i would like to learn too
Click to expand...
Click to collapse
I'm a lil scared to try...lol. I created something but haven't done anything to it yet.
Don't know what rom kitchen is but I have been doing a lotvof reading about deving over the last couple of weeks and there is a wealth of info right here at xda. Read ask questions read some more. Download a stock rom on the computer open it and tinker with the crap inside.
Sent from my SGH-T959V using xda premium
Don't think you want to use that. Shows galaxy s... not galaxy s 4g.
Sent from my SGH-T959V using XDA App
As mentioned above rom kitchen does not work for our phone
lol dude tell me add me on gmail so we can explore this
camalus said:
Don't think you want to use that. Shows galaxy s... not galaxy s 4g.
Sent from my SGH-T959V using XDA App
Click to expand...
Click to collapse
ok. Its there a thread here that guides one to build roms? I didn't see any for sgs4g
Sent from my SGH-T959V using xda premium
first off grab a linux distro and install it side by side between windows and linux *unless u have a mac *
then also download beyond compare apk tool c++ compileing tools android sdk eclipse
if you also plan to theme your roms or change clolors or add transparencies you will also want the css color/transparency chart so you know the values
you can skip the c tools if your not going to plan on building kernels.. the rest you will need just for straight roms with no visual modifcatons eg themeing for that photoshop in windows or gimp in linux personally i use gimp in linux its free and has the same toolkit
if your a linux novice which i am going to assume you are ubuntu or mit 10.x preff 10.10 will get you the correct build tools for gingerbread
your going to have to learn how to decompile apps and how the changes you make alter the way the rom works *hence why virtual phones amd eclise are so handy you can test your work without having to flash to your device 800000 times
your also going to want to learn java
if your a linux novice i would suggest learning linux before hand will save you many hours of headaches
Thanks bro, gonna check it out tonight.
Sent from my SGH-T959V using xda premium
RaverX3X said:
first off grab a linux distro and install it side by side between windows and linux *unless u have a mac *
then also download beyond compare apk tool c++ compileing tools android sdk eclipse
if you also plan to theme your roms or change clolors or add transparencies you will also want the css color/transparency chart so you know the values
you can skip the c tools if your not going to plan on building kernels.. the rest you will need just for straight roms with no visual modifcatons eg themeing for that photoshop in windows or gimp in linux personally i use gimp in linux its free and has the same toolkit
if your a linux novice which i am going to assume you are ubuntu or mit 10.x preff 10.10 will get you the correct build tools for gingerbread
your going to have to learn how to decompile apps and how the changes you make alter the way the rom works *hence why virtual phones amd eclise are so handy you can test your work without having to flash to your device 800000 times
your also going to want to learn java
if your a linux novice i would suggest learning linux before hand will save you many hours of headaches
Click to expand...
Click to collapse
Raver, how many years have you learned Java? Just wandering ;-)
Sent from my SGH-T959V using XDA App

[Q] gingerbread

As of right now, what is holding us back from porting gingerbread to our sidekicks? Is it drivers? Or a 2.3 kernel that runs? I need a list of what needs to be done exactly.
Sent from my SGH-T839 using XDA
See here:
http://forum.xda-developers.com/showthread.php?t=1557094
And, here:
http://rootzwiki.com/topic/22310-wipcm7-for-sidekick-4g/
Hope that helps!
Thank you, but I've seen both of those and followed them to the end. I'm looking for a specific list of what is needed to port gingerbread to our device. As in i may take up the task of porting it
Sent from my SGH-T839 using XDA
Would probably be a good idea to continue where windixxi left off since hes the closest person to get ginger working on our phone.
i think i remember Sduvick explaining that the drivers for this device are not exactly generic, so we really need an official Gingerbread kernel from Samsung. i'm pretty sure he tried porting a gb kernel from another device, but without updated drivers for the SK4G, it was basically impossible. that's how i understand it anyway.
Thank you yogi for the info and yes pintek im aware of windxixi great work but i cant figure out his github at all. Its not labeled well.. so more or less its a drivers issue?
Sent from my SGH-T839 using XDA
Roundtableprez said:
Thank you yogi for the info and yes pintek im aware of windxixi great work but i cant figure out his github at all. Its not labeled well.. so more or less its a drivers issue?
Sent from my SGH-T839 using XDA
Click to expand...
Click to collapse
Basically? That's what I understood as well.
So instead of trying to port drivers we would have to write new drivers in theory since we don't have a source to build from?
Sent from my SGH-T839 using XDA
Roundtableprez said:
So instead of trying to port drivers we would have to write new drivers in theory since we don't have a source to build from?
Sent from my SGH-T839 using XDA
Click to expand...
Click to collapse
It's no small job. Here's sduvick's assessment of the issue:
http://forum.xda-developers.com/showpost.php?p=22765446&postcount=7
Thanks for the reading orange. Gave me the idea that the kernel is going to have to be a makeshift mix and match type thing from kernels from multiple phones.
Sent from my SGH-T839 using XDA
Roundtableprez said:
Thanks for the reading orange. Gave me the idea that the kernel is going to have to be a makeshift mix and match type thing from kernels from multiple phones.
Sent from my SGH-T839 using XDA
Click to expand...
Click to collapse
I agree.
As mentioned previously, maybe windixxi can provide some insight as well.
You're probably going to need some experience and knowledge of coding (i.e. C, Python, Java) and access to a Linux rig of some sort as well..
Yes im going to setup a linux enviroment soon i was thinking ubuntu but i havent setup a linux in a while are their any better alternatives?
Sent from my SGH-T839 using XDA
Roundtableprez said:
Yes im going to setup a linux enviroment soon i was thinking ubuntu but i havent setup a linux in a while are their any better alternatives?
Sent from my SGH-T839 using XDA
Click to expand...
Click to collapse
I recommend installing a hard drive specifically for your Linux environment and using the bios to switch between your boot OS.
But, I also have Ubuntu installed inside of VirtualBox. It's a bit slow, but it works inside of Windows.
so awesome that Samsung are such *****es about this haha
Sounds like i may be in need of a better computer. Ill see what i can do with what i have and start looking into kernels with stuff we need
Sent from my SGH-T839 using XDA
I think there's a kernel guide here you could look at.
A OC/UV Kernel would be fabulous.
Reviewers said:
I think there's a kernel guide here you could look at.
A OC/UV Kernel would be fabulous.
Click to expand...
Click to collapse
I might try that to get me back into the groove of things, things are going slow with classes though so nobody should get their hopes up yet. But if i manage to buil an oc/uv kernel sucessfully, then my next project will be working on a gingerbread kernel. Ill keep you guys posted in the weeks to come.
Sent from my SGH-T839 using XDA
Thanks man we are in need of some serious love for our devices.
Sent from my SGH-T839 using XDA
Roundtableprez said:
Yes im going to setup a linux enviroment soon i was thinking ubuntu but i havent setup a linux in a while are their any better alternatives?
Sent from my SGH-T839 using XDA
Click to expand...
Click to collapse
If you (or other SK4G developers) are interested, I may be able to arrange a build server.
As in a place to host the kernels we build?
Sent from my SGH-T839 using XDA

Cm 11 -experimental-

Hi,
Where I can get the .zip for the experimental builds?
Not the nightlies
If these .zip files doesn't exist, how can I do my own? Where I can find a guide or somenthing to do that.
Thanks!
Sent from my SGH-T699 using XDA Premium 4 mobile app
falle21 said:
Hi,
Where I can get the .zip for the experimental builds?
Not the nightlies
If these .zip files doesn't exist, how can I do my own? Where I can find a guide or somenthing to do that.
Thanks!
Sent from my SGH-T699 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I don't recommend trying to set up a rig to build for novice users. With that said, it is something you can do with some time and effort. If you choose to build Android on your machine, it will (probably) be tough. It also may take your machine hours to do the work. Keep that in mind..
Google is your friend. Keep in mind, you cannot compile Android on Windows, so you will need a virtual machine or a (dual boot) Linux partition on your hard drive.
Once you have the basics in place, I'm sure the rest of us can help you iron out any little issues with linking.
-----
*** Note to all forum members: Thanks in advance for NOT making this thread a flame war about operating systems! Thank you!
Thanks a lot, a google about this but i cant find good information. Thanks for the answer
Sent from my SGH-T699 using XDA Premium 4 mobile app
falle21 said:
Thanks a lot, a google about this but i cant find good information. Thanks for the answer
Sent from my SGH-T699 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
The CyanogenMod Wiki has some good information for how to get started:
http://wiki.cyanogenmod.org/w/Build_for_apexqtmo (This guide has a few things specific to building CM 10.2, but you change the repo init line to read cm-11.0 instad, and you'll be fine to follow along with what I'm mentioning)
To build the Hypnotoad builds, you follow that through the point that you are done with Section 2.7 (Get prebuilt apps)
Then instead of running breakfast, and trying to extract blobs, add the manifest linked in the development thread to .repo/local_manifests.
Run repo sync again,
apply the cherry pick list (after envsetup, repopick <list>)
Then skip to section 2.11 (Start the build)
If you want to use ccache to speed up subsequent builds, follow section 2.10
Thanks! I gonna research and try.
Thanks for the information
Sent from my SGH-T699 using XDA Premium 4 mobile app

Custom wpasupplicant?

Hello. I was wondering how hard it would be to compile a wpasupplicant module with eap-fast support? My work uses eap_fast and I have successfully recompiled Ubuntu 14.04 on my work PC to work with it but I didn't know how it was done for Android/Nexus 5? Do you have to get the SDK and recompile the whole ROM? If so, is there a github that is ready to go to check out?
Sent from my Nexus 5 using XDA Free mobile app
MrObvious said:
Hello. I was wondering how hard it would be to compile a wpasupplicant module with eap-fast support? My work uses eap_fast and I have successfully recompiled Ubuntu 14.04 on my work PC to work with it but I didn't know how it was done for Android/Nexus 5? Do you have to get the SDK and recompile the whole ROM? If so, is there a github that is ready to go to check out?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Bump. Again, this is a question on how to compile part of the ROM for the wpasupplicant part, not how to fix it for my wifi.

[Q] porting parinoid android to tf700

How can I port pa 4.45 stable from the nexus 7 (2012)? I think that an asop based rom would do better for porting Asus apps.
Sent from my Galaxy Nexus using XDA Premium 4 mobile app
kansasboy001 said:
How can I port pa 4.45 stable from the nexus 7 (2012)? I think that an asop based rom would do better for porting Asus apps.
Sent from my Galaxy Nexus using XDA Premium 4 mobile app
Click to expand...
Click to collapse
With great difficulty.
You should look at building it from the PA sources on their github instead.
sbdags said:
With great difficulty.
You should look at building it from the PA sources on their github instead.
Click to expand...
Click to collapse
OK, how would I go about doing so?
Sent from my Galaxy Nexus using XDA Premium 4 mobile app
kansasboy001 said:
OK, how would I go about doing so?
Sent from my Galaxy Nexus using XDA Premium 4 mobile app
Click to expand...
Click to collapse
You will need to install linux to start preferably on a machine as dual boot or stand alone or in a virtual machine.
Do a google search for building android roms from source on github. It'll have way more info on how to do it than I could possible type out for you here.
It'll be quite journey for you
You need to clone some repos on git and then you can start to build for the TF700.
sbdags said:
You will need to install linux to start preferably on a machine as dual boot or stand alone or in a virtual machine.
Do a google search for building android roms from source on github. It'll have way more info on how to do it than I could possible type out for you here.
It'll be quite journey for you
You need to clone some repos on git and then you can start to build for the TF700.
Click to expand...
Click to collapse
Ok, I will start when I get back home from vacation. I already have Linux on my desktop there.
Sent from my Galaxy Nexus using XDA Premium 4 mobile app
I was just looking around in the asopa legacy git and saw that they already have a device tree for the tf201, would it be less work to edit that to make it compatible with the tf700 than forking from cm?
Sent from my Galaxy Nexus using XDA Premium 4 mobile app
kansasboy001 said:
I was just looking around in the asopa legacy git and saw that they already have a device tree for the tf201, would it be less work to edit that to make it compatible with the tf700 than forking from cm?
Click to expand...
Click to collapse
Probably not, depending on how old it is, but you can use it as a reference. Also compare the TF201 trees of PA and CM to see if there are any PA-specific things to be done.

Categories

Resources