Question for coders and developers about build environment - ZTE Axon 7 Questions & Answers

I have wanted to build for and wanted info on building environment. Like what do you use to build with a full Linux box or in virtual box on windows. Also what distro do you run. I heard years ago Ubuntu could give you errors that arch wouldn't.
Thank you in advance!

Sounds like you're new this, so I'd recommend Ubuntu.
Personally, I don't like Ubuntu's desktop environment (Unity) so I opted for Kubuntu instead (Ubuntu with KDE)
KDE often gets a bad reputation for being unstable, and while there's some truth to that, I like it. It's easy to customize and get used to. If you choose Kubuntu, I'd go with the 16.04 release though, it's more stable than 16.10.
I can't think of anything that being on Ubuntu has limited me for. For me, Unity feels kind of restricting in terms of UI, but Ubuntu has full Linux functionality.
Ubuntu is probably the most mainstream Linux distro, and therefore the most noob-friendly. You're more likely to find tutorials for Ubuntu; if you go with Arch you'll have to figure a lot of things out yourself.
Sent from my Axon 7

Related

So... What Distro do you use...?

i know this is off topic as hell but i just want to get a consensus of what the people that use vogues use on there pc/laptops and im still trolling through the many linux distros finding the one that suites me the most using ubuntu(karmic-koala9.10) for the moment. so enough about me, What Distro do you use!?!?
Gentoo on my eeePC and Windows 7 on my main laptop.
I use Mandriva '09..pretty new-user friendly
Ubuntu 9.10 for me. Been running it since 8.04
Its going to be hard to beat Ubuntu simply because of the support that can be found for it. Being the most popular, it has the largest community and chances are any problem your having will have already been encountered.
That is not to say its the absolute best, but it sure is nice! If you like a little more eye candy, try Kubuntu or Mint
1. Arch Linux running openbox because it only gives you want you need to boot to a command line. The rest is up to you to add.
2. Ubuntu 9.10 with minimal xfce for android development because it's easy.
Switched a while ago from Ubuntu to Fedora...
Debian is what i use, fast all packages and user friendly
Ubuntu 9.04
ubuntu 9.10 on my backup pc.
Running 8.04 on my main PC still. A little old, but still a champ. In Linux, if it ain't broke don't fix it!
stickus said:
In Linux, if it ain't broke don't fix it!
Click to expand...
Click to collapse
yeah im still learning that...the hard way my jaunty 9.04 was running great then i upgraded to karmic. and my adb/ddms isnt working
Ultimate Edition 2.3 (Unbuntu)
Ubuntu 8.04 LTS (Hardy Heron). I followed that advice above. It just ain't broke!
Arch on my home server, its simplicity is beautiful as Zen mentioned
Ubuntu 9.04 on my desktop (I'm waiting to upgrade to 9.10 because newer kernels give me audio problems, and I need a stable OS for DJing with xwax)
I keep around an 8.04 LiveCD for fixing things, saved 30GB of data on a friend's laptop that Windows (and most other programs) couldn't see!
I use debian testing on my laptop, and in a couple of month, in my HTC device

What linux distro are you running?

Lately, I've seen more linux questions come up and people seem to want know what version of Linux they should use. So, I thought a poll would give people a good idea what others here are running and what they have to say about it. Please vote and comment if you'd like.
Currently, I'm running Ubuntu -- but will make the switch over the weekend to either Fedora or OpenSUSE, pending on the feedback that comes from this thread.
pseudoremora said:
Lately, I've seen more linux questions come up and people seem to want know what version of Linux they should use. So, I thought a poll would give people a good idea what others here are running and what they have to say about it. Please vote and comment if you'd like.
Currently, I'm running Ubuntu -- but will make the switch over the weekend to either Fedora or OpenSUSE, pending on the feedback that comes from this thread.
Click to expand...
Click to collapse
Ubuntu here
Ubuntu 10.04 on my EEEpc and android in my blood
I was already expecting Ubuntu to be the clear winner -- but I'm hoping that it doesn't become a huge land slide win, lol.
I want to install something other than Ubuntu; so people's comment/feedback are very much welcome. Please, do share your opinions and experiences.
I have Ubuntu installed in VMWare Fusion, but that is for a class. I try to never touch the stuff.
pseudoremora said:
I was already expecting Ubuntu to be the clear winner -- but I'm hoping that it doesn't become a huge land slide win, lol.
I want to install something other than Ubuntu; so people's comment/feedback are very much welcome. Please, do share your opinions and experiences.
Click to expand...
Click to collapse
If you want to move from ubuntu, but are in love with it's binary packaging manager, you will love arch linux.
If you're a guy who loves to do everything from source, then gentoo is for you.
If you want a very stable system, and also all the tools needed for programming and making packages for yourself, slackware is for you.
If you are a total noob, ubuntu is the choice for you
I personally use gentoo most of the time.
darchstar said:
If you want to move from ubuntu, but are in love with it's binary packaging manager, you will love arch linux.
If you're a guy who loves to do everything from source, then gentoo is for you.
If you want a very stable system, and also all the tools needed for programming and making packages for yourself, slackware is for you.
If you are a total noob, ubuntu is the choice for you
I personally use gentoo most of the time.
Click to expand...
Click to collapse
Hahahaha, thanks for the answers. I'm not a newcomer to linux, been using it for a while now, but just thought I'd get an idea as to what people were using. Arch Linux sounds interesting, but so does gentoo and slackware -- looks like I'lll be testing heavily over the weekend!
Where's the Linux Mint love??? Haha that's my distro of choice, but its built from Ubuntu so I guess I should vote for that...
Just loaded my first linux OS and so far it is great. I will be out of windows if everything keeps goes this smooth.
I have to get a couple windows programs to run under linux and if I can I will dump windows all together.
I am running Linux Mint and loving it so far.
zippy-man said:
Just loaded my first linux OS and so far it is great. I will be out of windows if everything keeps goes this smooth.
I have to get a couple windows programs to run under linux and if I can I will dump windows all together.
I am running Linux Mint and loving it so far.
Click to expand...
Click to collapse
You're in luck my friend, I shall point you in the right direction:
WINE
2 votes for Linux Mint huh? Interesting.
Linux Mint is the best for me by far.
It's based off Ubuntu but made a lot nicer.
<3
How easy is Slackware to use?
edit: If you like Ubuntu, you can check out Debian. Ubuntu is the dummy version of Debian.
Linux has really grown since the 90's, almost all the widely known distro's are loved, and supported when it comes to say programming.
Just their are certain perks, like Gentoo uses a BSD based package installer called portage, and other stuff. I think it really just depends on what you are looking for, I'm personally looking into Arch Linux and Mint, but if I'm not happy, there's always Ubuntu for me
Backtrack !!!
kniteshift said:
How easy is Slackware to use?
Click to expand...
Click to collapse
It's easy to set up and install, becuz is follows the KISS standard, but everything after that, you really need to know linux well to do, such as getting 3rd party packages, though people have been trying to make that easier with slapt-get and other overlays to the default package manager.
kniteshift said:
How easy is Slackware to use?
Click to expand...
Click to collapse
Slackware was developed by Linus Torvalds (Linux creator). It's the oldest Linux distro around and its more "Unix-like" based. Slackware is considered one of the cleanest and least buggy distributions available today. For more information, you can go here -- it'll give you the Top 10 distro's.:
http://distrowatch.com/dwres.php?resource=major
linkinx64 said:
Backtrack !!!
Click to expand...
Click to collapse
Yay Backtrack and Auditor!!!
I have an Ubuntu box, but run LOTS of linux distros as live CD's when the need arises, such as Backtrack and Auditor. I also like PCLinuxOS and the Games for Linux live dvd's. Last time I checked, there were two of them.
But my favorite Linux-based OS has got to be Android
Guess who voted Slack pseudo lol.
There is only one.
pseudoremora said:
You're in luck my friend, I shall point you in the right direction:
WINE
2 votes for Linux Mint huh? Interesting.
Click to expand...
Click to collapse
Thanks i loaded that up a couple days ago pretty cool.
Wine is emulating most of the windows programs i need but a couple will still crash etc. I am working on it trying to learn but so far it is going good
+1 for Mint.
Dual boot Arch and Ubuntu, but have not booted Ubuntu in quite a while.

[INFO][WIP] Linux on the TF101 (coming soon (I assume))

So as we all know soon we will have the files to access nvflash. This for one will hopefully allow us to install any OS we want.
Here is a guide to flashing ubuntu through nvflash onto a tegra 2 device:
http://tegradeveloper.nvidia.com/tegra/forum/workaround-run-ubuntu-now
Now lets hope once the nvflash tools get released in the coming days we will be able to do this.
You're my hero men !!!!
I love you
very nice, ubuntu with unity desktop would be great on tf
xufuchang said:
very nice, ubuntu with unity desktop would be great on tf
Click to expand...
Click to collapse
Definitely
Asus would dominate the tablet market with this due to the dock that makes it into a possible real pc now. Did asus give any indication on releasing tools for nvflash?
Will dual-boot be possible, too?
Otherwise that would be nothing for me, cause for multimedia Android is much better and I have a netbook.
cowballz69 said:
Asus would dominate the tablet market with this due to the dock that makes it into a possible real pc now. Did asus give any indication on releasing tools for nvflash?
Click to expand...
Click to collapse
RayMan and bumblebee already got tools set up, and they're releasing soon.
Will dual-boot be possible, too?
Otherwise that would be nothing for me, cause for multimedia Android is much better and I have a netbook.
Click to expand...
Click to collapse
It's been done on other Android devices so I don't see why not.
Ubuntu on this.....I am salvatating already....ooooooohhhhhh yea....this would definely rock my world
seshmaru said:
It's been done on other Android devices so I don't see why not.
Click to expand...
Click to collapse
That would be amazing and probably with the dock one of the best devices ever!
When you really think about it.....Android IS a variant of linux.
Digiguest said:
When you really think about it.....Android IS a variant of linux.
Click to expand...
Click to collapse
That's the same as saying OSX is a variant of Unix.
Android borrows the Linux kernel, but aside from that the user interface and feature set is completely different from the typical desktop environments like Gnome and KDE in other Linux distributions. If Android was actually able to provide anywhere close to the same capabilities as a desktop Linux distribution, people wouldn't be asking for a way to install Ubuntu instead.
earlyberd said:
That's the same as saying OSX is a variant of Unix.
Android borrows the Linux kernel, but aside from that the user interface and feature set is completely different from the typical desktop environments like Gnome and KDE in other Linux distributions. If Android was actually able to provide anywhere close to the same capabilities as a desktop Linux distribution, people wouldn't be asking for a way to install Ubuntu instead.
Click to expand...
Click to collapse
"Linux" is the kernel, while Ubuntu, Android, Fedora is the distribution in full. But those are all powered by Linux... and btw OSX is Unix, since XNU (the kernel, funny enough it's open source) is certified as such.
Clearly if you cripple the potential of the platform with an interface and toolset suited for mobile use like Android or iOS, you lose some features and gain usability. A tradeoff most are happy with
Sent from my GT-P1000 using Tapatalk
AlexTheStampede said:
"Linux" is the kernel, while Ubuntu, Android, Fedora is the distribution in full. But those are all powered by Linux... and btw OSX is Unix, since XNU (the kernel, funny enough it's open source) is certified as such.
Clearly if you cripple the potential of the platform with an interface and toolset suited for mobile use like Android or iOS, you lose some features and gain usability. A tradeoff most are happy with
Sent from my GT-P1000 using Tapatalk
Click to expand...
Click to collapse
The Linux kernel that actually makes it into the final builds of Android is not the same kernel that you would find in desktop and server distributions. Mainly, it is missing the X Window system and doesn't support all of the GNU libraries, and has tons of other Android-specific additions and architecture changes for the sake of security and interoperability with certain mobile device standards. You can't just throw together the Android-ified Linux kernel with any desktop environment of your choosing like you can with the actual Linux kernel that ships with Ubuntu and Fedora. Furthermore, the changes that Google does make to the kernel do not get included into the mainstream kernel, and that fork has existed for quite some time. That is why Android is Linux-based, and not actually a Linux distribution.
ive had that page bookmarked since the week before i got my tab xD
Linux is just the kernel. Ubuntu, fedora etc are distributions with everything else needed to make the OS work.
earlyberd said:
The Linux kernel that actually makes it into the final builds of Android is not the same kernel that you would find in desktop and server distributions. Mainly, it is missing the X Window system and doesn't support all of the GNU libraries, and has tons of other Android-specific additions and architecture changes for the sake of security and interoperability with certain mobile device standards. You can't just throw together the Android-ified Linux kernel with any desktop environment of your choosing like you can with the actual Linux kernel that ships with Ubuntu and Fedora. Furthermore, the changes that Google does make to the kernel do not get included into the mainstream kernel, and that fork has existed for quite some time. That is why Android is Linux-based, and not actually a Linux distribution.
Click to expand...
Click to collapse
<pedantic>
Pretty sure the Linux kernel proper does not come with X-Windows or GNU libraries (although it does rely heavily on the GNU toolkit, hence GNU's insistence that it be called GNU/Linux - http://www.gnu.org/gnu/gnu-linux-faq.html)
</pedantic>
Sent from my Transformer TF101 using XDA Premium App
jhanford said:
<pedantic>
Pretty sure the Linux kernel proper does not come with X-Windows or GNU libraries (although it does rely heavily on the GNU toolkit, hence GNU's insistence that it be called GNU/Linux - http://www.gnu.org/gnu/gnu-linux-faq.html)
</pedantic>
Sent from my Transformer TF101 using XDA Premium App
Click to expand...
Click to collapse
Was that really necessary?
The point of this discussion is that Android is not Linux, does not include the vast majority of libraries found in standard Linux distributions, is thus incompatible with the vast majority of Linux applications, and is otherwise missing large portions of functionality. The fact that Android has some basis in Linux does not solve the problem of there being thousands of users out there that need to be able to do more than just basic word processing and web browsing on their mobile devices, but also want hardware that won't soon be neglected by developers.
Some people need VLC, Eclipse, GIMP, or various Oracle applications to get their work done. Telling people that Android has some similarity to Linux doesn't make those applications any easier to port, and would be pointless anyway if the same hardware can run Linux distros natively.
you made it to he news
earlyberd said:
The Linux kernel that actually makes it into the final builds of Android is not the same kernel that you would find in desktop and server distributions. Mainly, it is missing the X Window system and doesn't support all of the GNU libraries...
Click to expand...
Click to collapse
......
Your kernel has the GNU libraries in it? and X Windows? Must be pretty large...
earlyberd said:
Was that really necessary?
The point of this discussion is that Android is not Linux
Click to expand...
Click to collapse
Actually, it is.
Linux == The Kernel. Everything else is just the distribution. Honeycomb is basically a Linux distribution, just like Ubuntu, RedHat, and Gentoo are. It is just highly specialized. And if you think that because it doesn't have the GNU libraries makes it somehow not Linux, you are DEAD wrong. There are a plethora of devices and distributions that do not use the GNU libraries or toolchain.
Aside from this, the fact that you seem to continuously confuse the kernel with the distirbution indicates to me you aren't really qualified to discuss this topic, so I would stop arguing it.
earlyberd said:
Was that really necessary?
The point of this discussion is that Android is not Linux, does not include the vast majority of libraries found in standard Linux distributions, is thus incompatible with the vast majority of Linux applications, and is otherwise missing large portions of functionality. The fact that Android has some basis in Linux does not solve the problem of there being thousands of users out there that need to be able to do more than just basic word processing and web browsing on their mobile devices, but also want hardware that won't soon be neglected by developers.
Some people need VLC, Eclipse, GIMP, or various Oracle applications to get their work done. Telling people that Android has some similarity to Linux doesn't make those applications any easier to port, and would be pointless anyway if the same hardware can run Linux distros natively.
Click to expand...
Click to collapse
Did you even go to the gnu link? Linux is the kernel. Android uses the Linux kernel. It's the tools on top of it that are missing (hence busybody)
Sent from my Transformer TF101 using XDA Premium App

[Q] Help with repo/git, and Linux distro

While I've used svn in the past to follow projects that had real slow release times, I've never used git. Every git project in the past I needed to use posted a daily tarbell.
With Quarx getting his Bravo soon, I'd like to get setup to help him however I can and learn something in the process. And I don't think I'm alone here with that thought.
I'm trying to sync with Quarx's Bravo repo but I'm unsure how. I followed the steps posted there, but it started syncing with EVERY CM7 repo. Is that normal?
I'm using Aptosid Linux currently (Debian Sid based) but I'm going to distro hop soon (I usuallly do every six months or so) to Siduction. I use the Liquorix kernel, and the Siduction devs actually try to work with Damentz and semi-support his kernel.
So what's a good Linux disto for Android development? I here that its Ubuntu. I'd perfer a Debian-based distro (which Ubuntu is), but would rather use whatever is BEST to get the job done.
Many thanks in advance.
Found a Good Tutorial
Check this out if you're interested in wanting to use Linux\Repo\Git.
Funny thing is, about 2 years ago, went from Ubuntu to Mint to Mint Debian to Debian to Aptosid and now back to Mint....Btw, Mint is very easy to use and learn. My Mom uses Mint on her laptop ever since Win Vista corrupted her hard drive. Luckly, I was able to use Gparted, partition around the bad sectors, and set up Mint. If my Mom can use it, so can any of you.....
What sucks is I managed to pull the Kobe Git, but now Sid's libraries are too up to date and giving me build dependency version errors when compiling the rom. Gonna switch back to Mint this evening and try again. Aptosid's been acting funny the past month anyways....and Mint is a DAMN GOOD Linux to use and easy for Linux noobs to install and use. Plus its based on Ubuntu, one of the most popular Linux Distros with a helpful community.
If you have the room to spare, I highly recommend trying Mint out. If you don't play games on your computer or use Windows only programs, I extremely recommend just switching to Linux. IMHO, Linux runs better, smoother, safer, and you KNOW what's really going on behind the scenes.

[Q] Development in VM?

So, I just had to wipe my laptop. Clean install of Windows 7 Home Premium. Was wondering, now that I'm running with a clean slate, should I run a Linux VM for my Nexus 7 development? Would that be conducive to a better, more comprehensive development environment? Would I be better off just using ADB and Eclipse in Windows? If a Linux VM is preferable, is there a particular distro that is preferable? I've heard most of the dev tools are made with Ubuntu in mind, but I want to make absolutely sure of this before I make the jump to dev in Linux. Another solution which is less preferable, all things considered due to the repartitioning involved, but probably better in the way of integration with hardware, would be to set up a dual boot with Win7/Linux...what do you all think?
tl/dr; wiped my hard drive, I want to know what works best for development.
ikoniq said:
So, I just had to wipe my laptop. Clean install of Windows 7 Home Premium. Was wondering, now that I'm running with a clean slate, should I run a Linux VM for my Nexus 7 development? Would that be conducive to a better, more comprehensive development environment? Would I be better off just using ADB and Eclipse in Windows? If a Linux VM is preferable, is there a particular distro that is preferable? I've heard most of the dev tools are made with Ubuntu in mind, but I want to make absolutely sure of this before I make the jump to dev in Linux. Another solution which is less preferable, all things considered due to the repartitioning involved, but probably better in the way of integration with hardware, would be to set up a dual boot with Win7/Linux...what do you all think?
tl/dr; wiped my hard drive, I want to know what works best for development.
Click to expand...
Click to collapse
If you're serious about development, I really recommend dual booting. If you just want to try it out then use a VM and then if you don't like it just delete the VM.
For the Linux distro I recommend Ubuntu or Linux Mint. They're both very easy to use.
Sent from my Nexus 7
veeman said:
If you're serious about development, I really recommend dual booting. If you just want to try it out then use a VM and then if you don't like it just delete the VM.
For the Linux distro I recommend Ubuntu or Linux Mint. They're both very easy to use.
Sent from my Nexus 7
Click to expand...
Click to collapse
Thanks. I just like...I've wanted to get into dev for a while, and I just couldn't stand the workarounds and **** required for Android development in Windows. I know to build Android you have to be running Linux, and many of the guides are written taking a standard install of Ubuntu into consideration. I'll probably just start out with apps since most of my experience is in Java, maybe once I sharpen my skills with C I'll start into working on ROM mods and stuff. All I have to say is thank FSM for the AOSP.
I run VMware on Vista 64 (well I like vista) and I have a variety of Linux systems defined. Android, Rails, Reprap, etc. All Ubuntu 12.04 LTS.
This works well for me. Android on native Windows was unusable.
And I really like Eclipse for an IDE.
Works well with the Android SDK and NDK.
Sent from my Nexus 7 using xda app-developers app

Categories

Resources