Ubuntu questions... - Android Software Development

Hey guys, I've been using Windows Vista 32 bit 86x to do some of my theming work and APK(s) editing and I do not like how Windows is handling all of this. I've got way too much junk spread all over (tools, folders, editing programs, etc) to keep up with all this. I've been reading on Ubuntu and it is the programmer's choice in using to develop apps, themes, and editing APK(s).
I took the tour on Ubuntu and liked a lot of what I saw and thought it was perfect for app development and other stuff. No need to download so many stuff and end up losing track of most of your tools and such.
So, what I did was I did a factory image restore on my Dell Inspiron 1525 with Windows Vista 32 bit 86x and got rid of everything and saved important stuff on my external hard drive. Now I'm debating the use of Ubuntu as the sole system operation or installing along-side of Windows.
What would be necessary for me to do? I hate how Windows handles some of my work and don't see how it will benefit me in continuing my android app development and getting started.
I've also ordered a couple books on Android App Development and Java coding on Android platform. I'm in the process of trying to figure out what would be wise for me to do with Ubuntu here.
Any help is much appreciated. I will be using the books to help me step by step in developing app(s). But I'll take any tips that anyone is willing to give insight on!

just for app development i dont think a linux distro is needed.
if you are going into compiling kernels / compiling android sources you might need at least a VM with linux running afaik(but a full installation of a linux distro would be better i guess).

Personally, I wouldn't ever be without a windows machine. Ubuntu can do almost everything you'll ever need but you just never know when you might need to use a windows program that is not available for linux. So if your laptop is your only computer, I would dual boot for sure. If you have another windows machine, then I guess it doesn't really matter. But umm.. what exactly is your question anyway?

I'm just trying to get a better clarification for using Ubuntu and if it would be more wise to install it along-side Windows Vista (dual boot) or install it as the sole operating system instead of Windows Vista.
I do like Windows Vista for other things but it's been annoying trying to get it to work properly because some tools work better on Linux (Ubuntu).
Also, I had Java SDK, JDK, and latest version of Java on Windows Vista but from other threads or posts I've heard that the Java SDK Manager, along with Eclipse, work a lot better on Ubuntu. But of course there are other mixed reviews from others saying it works better on Windows Vista or Windows 7 (whichever they are using).
I always do research before I go doing something that has the potential of creating regrets (due to errors or not knowing much about this or that) or gets too confusing and become lost in reverting back to the way it was before I did something.
I do have a Windows XP Home Edition desktop (the latest one before Vista came out). Problem is it got the blue screen of death (doing memory dump) and I never really got it to recover from that. I wonder if the desktop Ubuntu disc can write over all that and make it work again, but only as a Ubuntu operating system?

I've always dual booted. Mostly because the games I play on my laptop are windows games. Keep this in mind, when you partition the drives. Linux can read NTFS/FAT, but windows has issues with ext. So don't worry about making a HUGE partition as ext for ubuntu. (I usually make a folder in windows on my c drive to send files back and forth). If you're using Ubuntu, you might want to look into using WUBI, makes installation a breeze.

it is no big deal at all.
it is better to have ubuntu run on the hardware not in VM.
you can have a dual boot
and install Eclipse and the plug-ins which will provide you will tools for android development.

Related

hero + ubuntu...do they play well?

so last night my pc crashed and i thought i lost everything, i was able to recover my windows 7 install, thank god. anyways if i couldn't of i was going to install the new ubuntu that just came out. my question is:
is there htc sync for linux?
will ubuntu detect the hero on usb mode?
i assume there is a android sdk & guide to setup on ubuntu?
do you find building roms & developing for the hero easier on linux?
thanks!
I don't know if this will help you at all, but I believe gbhil did/does a lot of Ubuntu. Here is a guide he wrote for setting things up:
http://forum.androidcentral.com/hac...ramming-envrionment-using-ubuntu-windows.html
fixxxer2008 said:
so last night my pc crashed and i thought i lost everything, i was able to recover my windows 7 install, thank god. anyways if i couldn't of i was going to install the new ubuntu that just came out. my question is:
is there htc sync for linux?
will ubuntu detect the hero on usb mode?
i assume there is a android sdk & guide to setup on ubuntu?
do you find building roms & developing for the hero easier on linux?
thanks!
Click to expand...
Click to collapse
1. Yes
2. Yes
3. Yes
4. Yes
Ubuntu is amazing. The newest version was released yesterday, 10.04 -- and it's great! I've dual booted (Windows 7 and Ubuntu) for some time now and realistically once you try Linux, you'll most likely use it as your main OS.
Developing, theming, syncing, and anything you can do in Windows with the HERO can be done in Linux (Ubuntu) -- I know, because I do it!
You should definitely give Ubuntu a try, at least try a Live CD, you won't be disappointed.
Or, if you use VMWare, I have a Virtual Machine already compiled and running Ubuntu (not the newset) but it should be setup already.
Edit....Actually, that may have been before I had to reinstall windows. Anyways, I'll check and see what I still have lol.
Ubuntu is definitely the way to go. I'd never go back. Everything works for me.
I use Ubuntu exclusively now. Wont go back to Winblows. Also, you can use Wubi installer if you dont want to remove your Windows install. Wubi will install Ubuntu beside Windows and give you the option to dual boot...
yea, I'm a wubi convert. If linux played better with my laptop, I'd go all the way, if ya know what I mean... lol
anyways, two problems I have (although will be trying 10.04 later this weekend to see if they're fixed) was plugging in headphones not automatically turning off speakers (could turn down speaker volume manually though) and finding a decent visualization program for listening to music at work (I use whitecap on windows right now). Minor annoyances, but hey.
VinceOB said:
I use Ubuntu exclusively now. Wont go back to Winblows. Also, you can use Wubi installer if you dont want to remove your Windows install. Wubi will install Ubuntu beside Windows and give you the option to dual boot...
Click to expand...
Click to collapse
Sweet. thanks for the tip.
im gonna set up a wubi install tonight, i still love windows 7 too much but after last night im compelled to format but it takes too damn long.
I wonder if with Wubi if you can install the newest Ubuntu or if you are tied down to specific versions?
ccapasso said:
I wonder if with Wubi if you can install the newest Ubuntu or if you are tied down to specific versions?
Click to expand...
Click to collapse
wubi will come on all ubuntu versions. it's included in the iso you download.
fixxxer2008 said:
so last night my pc crashed and i thought i lost everything, i was able to recover my windows 7 install, thank god. anyways if i couldn't of i was going to install the new ubuntu that just came out. my question is:
is there htc sync for linux?
will ubuntu detect the hero on usb mode?
i assume there is a android sdk & guide to setup on ubuntu?
do you find building roms & developing for the hero easier on linux?
thanks!
Click to expand...
Click to collapse
1. No HTC Sync for Linux
2. Ubuntu will detect the Hero (the 1.5-based Roms had an additional benefit...when you mount the SD card, you would also be able to directly modify the ext partition if you were using Apps2SD...market apps such as splitter will perform the same function in any Rom).
3. There is an Android SDK for Linux and several guides that will tell you how to set it up on Ubuntu.
4. Development, I think, is easier since both run the Linux OS.
Wait...there's an HTC Sync for Linux (not that it really matters, since I can care less...but if so, I may have stuck my foot in my mouth again. Can't get this taste of Tinactin out of my mouth.)
pseudoremora said:
1. Yes
2. Yes
3. Yes
4. Yes
Ubuntu is amazing. The newest version was released yesterday, 10.04 -- and it's great! I've dual booted (Windows 7 and Ubuntu) for some time now and realistically once you try Linux, you'll most likely use it as your main OS.
Developing, theming, syncing, and anything you can do in Windows with the HERO can be done in Linux (Ubuntu) -- I know, because I do it!
You should definitely give Ubuntu a try, at least try a Live CD, you won't be disappointed.
Click to expand...
Click to collapse
Ad hoc networking is spotty in Ubuntu...at least 9.04 and 9.10. Until i install the 10.04 final I cant say if it still sucks. They changed a bunch of stuff regarding networking support, so It might be fixed now.Takes a lot of extra work to get wireless tethering to work.
My bluetooth hardware in my computers wont see the phone and it connects but never pairs. Android has always had lackluster bluetooth support anyways. That might be my hardware in my systems though.
Im ok with wired tethering though anyway so I havent made a lot of effort on that front. Thats my only major gripe.
Almost every little quirky thing can be fixed if you do come across problems, but these problems are fewer and fewer since 8.04 .
Ubuntu forums are amazingly helpful (if you follow the rules and dont ask stupid ass questions)
fixxxer2008 said:
wubi will come on all ubuntu versions. it's included in the iso you download.
Click to expand...
Click to collapse
installing wubi now. this has been an excellent thread thanks!
i do have an ubuntu netbook i have used twice due to my wife is a thief! thats why so excited to try this. beats buying another laptop.
How do you install Ubuntu on a hero? i wanna try too lol
pimix2009 said:
How do you install Ubuntu on a hero? i wanna try too lol
Click to expand...
Click to collapse
Uhh, no one is installing Ubuntu on the Hero.
pimix2009 said:
How do you install Ubuntu on a hero? i wanna try too lol
Click to expand...
Click to collapse
lol. Not on the hero .
VinceOB said:
Uhh, no one is installing Ubuntu on the Hero.
Click to expand...
Click to collapse
it would be cool if we could, the tp2 users can.
anybody got a link for the htc sync for linux?
ad hoc...
agentofboom said:
Ad hoc networking is spotty in Ubuntu...at least 9.04 and 9.10.
Click to expand...
Click to collapse
i am running crunchbang 9.04 (great for older machines and underpowered netbooks) which is a very sleek, very fast distro based off of ubunutu 9.04 and wifi tethering works perfectly without any fussing with it.
for a distro, ubuntu is a great starting point but personally it is too bloated and feels too much like windows.
btw- crunchbang 10 alpha release is very solid (especially for an alpha build) and works very well on netbooks. the support community for it is fantastic (which is very important for me- read: i am not a dev). check out distrowatch.
cheers and best of luck with linux!,
ryan

Eclipse on win7 and ubuntu

After searching for this and coming up short on answers (found a lot of questions), I reside to asking the question here.
I tried to start developing android applications today and thought it would be quite seamless procedure. I had read how developer friendly android was supposed to be. However to me it seems quite far from the truth I have yet to find a way to run eclipse+adt on my win7 64bit without epic lags and crashes.
Is eclipse better in ubuntu or am I doing something completely wrong with my setup. Because currently it seems more easy to configure dual boot than to make eclipse work.
I use the following setup:
win 7 x64
Java SDK 1.6 x64
Latest android SDK
Eclipse 3.5.2
Latest ADT
Hi, I don't have any suggestions for running eclipse in win 7..however I do also run win7/ubuntu.
I highly recommend using sun virtualbox on windows 7 to install ubuntu . I do this, and use eclipse on ubuntu. Works great. With very little work, you can run full screen after starting your virtual box and it's nearly identical to dual booting.
good luck getting windows 7 to work, I've meant to install eclipse but since ubuntu has been working so well.. i haven't had a need.
Thanks a lot for the answer. Very appreciated.
Seems like a really smart way to avoid the hassle of installing dualboot. Going to try it later today.

Android on PC? is it possible?

OK, i'm hearing all the time about different ROM's being put on phones like cyanogenmod and many others. even some people dual booting. is it possible to dual boot with ubuntu and an android ROM? if you're wondering i have the HP touchsmart (has a touchscreen) would it be possible to boot into android. i've done alot of research but can't find anyone that has done it or has a guide. would it be possible to load it into my grub or are the files entirely different. i've seen people put ubuntu on phones why not android on my laptop. (oh and not the SDK...its too slow to be seriously used and then i'm still using it as more of a virtual machine than an OS)
google search Chromium OS , Beta build , lolz , looks like android
Chromium OS is not android in the slightest!
If you want to play with Android on your PC, there are two ways you can run it:
A) Install the emulator - this is pretty slow, but gives you a phone-in-a-box you can play with
http://www.androidguys.com/2010/12/15/android-emulator/
B) Use Android x86 - a port of Android that runs on PCs
http://www.android-x86.org/
(Grab the generic iso from here: http://android-x86.moonman.dk/old/)
Now either burn that to a cd, and boot from that, create a bootable usb stick with http://unetbootin.sourceforge.net/ or install it in a VM like VirtualBox

Need advice on setting up linux install

In that I got an idea, took the first step, and am now completely out of my depth.
Let me start at the beginning.
I've always wanted to get into android development, but with the departure of CosmicDan, my recent format of my home computer, and a lucky shot at taking a general development class have all culminated to suggest now's the time.
Here's my objective: Dualcore desktop computer, dualbooting Windows 8 and a flavor of linux focused entirely on being an android toolkit. Here's my problem: I used linux for a week in my highschool networking class most of a decade ago. Red Hat 7 or 8, maybe? Anyway, I know virtually nothing except what I've osmosed from using an ADB shell.
I need to know which flavor of linux is best for android dev, how to set up a dual boot, and after that point, probably step-by-step instructions on establishing a build environment and using github. I'm not completely useless at this, I know how to use google, but a lot of information is outdated and this is a somewhat situational goal.
ANY HELP IS GREATLY APPRECIATED!
Ubuntu!
And google Ubuntu google installer
Sent from my R800i using xda app-developers app
Ubuntu is more user friendly but if you want development I would suggest 1: backtrack 2: arch Linux (for advanced users) 3: fedora
Sent from my R800x using Tapatalk 2
Apparently Backtrack is called Kali Linux now...
"It includes support for the Metasploit Project's Metasploit Framework, a tool for developing and executing exploit code against a remote target machine.[2] It also includes the security tools Wireshark, John the Ripper, Nmap and Aircrack-ng.[2]"
Hahaha hell yes I'll take some of that.
I still think I'll need to install Ubuntu - I don't know how I'd put this particular build on a flash drive. Installing it from inside ubuntu would probably be easiest.
EDIT: Actually they have excellent instructions on the website for setting up a flashdrive.
im using ubuntu just fine
im on ubuntu 10.04 i compile builds fine
Use the Ubuntu wubi installer for dual boot
Sent from my R800i using xda app-developers app
Okay, Kali Linux is installed and operational, programs are updated, and I even figured out how to install Flash via the mysterious powers of 'apt-get'. Using Grub for dual boot, and I found my way around configuring it and populating a new cfg file via the terminal. Whew.
Perhaps 4/20 was a bad choice for learning a new and notoriously complex OS, or maybe it was the best choice.
I guess I'm ready to set up a kitchen, but now I need input again. Do I just 'apt-get' some magical box of android goodies, or is this process more involved?
Edit: The answer is 'more involved', but not by much. I got the kitchen from http://forum.xda-developers.com/showthread.php?t=633246 and I was even able to independantly apt-get my way out of an error without googling it! So, it's running... I guess it's time to start cutting up a ROM. I'm inclined to believe CyanogenMod would be the best starting point for that, and I'm doublefortunate that my roommate has a Nexus he's willing to let me experiment on, as I don't want to navigate the unique structure of Xperias yet.

How to make a PC Triple Boot Android, Windows 7 and Windows 10

Hi,
How to make a PC Triple Boot Android, Windows 7 and Windows 10?
Thanks
M. Al said:
Hi,
How to make a PC Triple Boot Android, Windows 7 and Windows 10?
Thanks
Click to expand...
Click to collapse
You can use programs like Partition Magic
Maay gaad, I thought this is a tutorial thread
sure u have 3 hard disk with different Operating System (maybe)
Wondering
How it could be done.
zanodor said:
How it could be done.
Click to expand...
Click to collapse
By partitioning your hard drive and then installing each operating system in each partition then use the Grub bootloader software to allow you to choose which of the 3 systems you want to boot when you power on.
https://www.quora.com/Is-it-possible-to-install-Linux-with-Android-and-windows-10-dual-boot-easy-way
Sent from my SM-S767VL using Tapatalk
Hi,
You can also use Virtualbox or other virtualization software to create multiple virtual machine and RUN them on a single machine.
If your computer has good amount of RAM, then you utilize this Virtualbox software. It really works fine. Instead of creating different partition, i think it will be much better option.
Thanks,
Hope it helsp
ziafimawad said:
sure u have 3 hard disk with different Operating System (maybe)
Click to expand...
Click to collapse
I am curious how to do it?
Saenyu67 said:
I am curious how to do it?
Click to expand...
Click to collapse
You can use 1 hard drive or 2 hard drives or 3 hard drives, it works the same regardless of how many you use. It's easily done with just 1 hard drive. If you look at my previous post a few posts back in this thread, you will see a link with instructions to partition your hard drive to create a partition for each of the OS's that you want to install, then you install each operating system in each separate partition that you choose to install them in.
Sent from my SM-S767VL using Tapatalk
How to make a PC Triple Boot Android, Windows 7 and Windows 10
Windows booting is a simple process. You can easily boot your windows 7 OR Windows 10
you can useing some free tools for booting window 10 and windows 7.
I can explained here how to boot a drive easily. I think it will benefit you. For than messege me personally.
Thank you very much.
mdakashhossain said:
Windows booting is a simple process. You can easily boot your windows 7 OR Windows 10
you can useing some free tools for booting window 10 and windows 7.
I can explained here how to boot a drive easily. I think it will benefit you. For than messege me personally.
Thank you very much.
Click to expand...
Click to collapse
You don't understand what they are trying to do.
Sent from my SM-S767VL using Tapatalk
for android, you can use "bluestacks" on windows
So you want to use Windows 10, Windows 7 and Android on PC. For that first create 3 or 4 partitions one for windows 10, one for windows 7 and one for android. Install Windows 10 and Windows 7 on separate partitions and you will see that you have a option to boot into windows 7 or 10. now to install Android use a android based OS such as Prime OS and install it on a separate partition. You can use the pre installed grub or you can use grub2win to get all operating systems that you need
mdakashhossain said:
How to make a PC Triple Boot Android, Windows 7 and Windows 10
Windows booting is a simple process. You can easily boot your windows 7 OR Windows 10
you can useing some free tools for booting window 10 and windows 7.
I can explained here how to boot a drive easily. I think it will benefit you. For than messege me personally.
Thank you very much.
Click to expand...
Click to collapse
Hey there I'm also interested in this I currently have garuda Linux and can't get Windows 10 on
I've done this for a while, my easiest solution is:
1. Make 3 or 4 partitions. Windows 10, windows 7, data partition, and a Linux partition. (There may more created e.g. a system partition). Dont touch the data partition throughout all of this except for storing your OS ISO, liveboot ISO, other program files etc.
2. Install windows 7 on windows 7 partition.
3. Install windows 10 on windows 10 partition. Can be installed from windows 7. Let windows handle making a windows bootloader which can now boot into windows 7 or 10.
4. Create a live USB in ine of your windows. I've been using Ubuntu but used Fedora for years prior. If you aren't sure if you need x64 then go woth the 32 bit x86 architecture (useful to be able to boot on 32 and 64 bit machines). Now boot up your live USB into Linux and install automatically onto Linux partition. You'll now have a GRUB bootloader which can boot into Linux or into your windows bootloader.
5. Install android emulator. I used Linux as I felt I would get better performance emulating android in Linux, this may or may not be true.
There will things that you might find as a nuisance, for example when I boot into windows 7 from windows 10, I need to boot into the GRUB to windows bootloader, select windows 7 and it reboots again back into GRUB and then into windows 7. Not a big deal unless you want to switch OS a lot. If this is the case, you may want to just emulate to begin with. I have a laptop with *ok* processor and RAM, not the best for emulating another OS.
There is many options - you could even install Linux within windows if you so choose. Ultimately the best path will be based on your knowledge, specs of your PC ( power, ram, disk space, disk type [fora mount of partitions], BIOS/UEFI, etc. The method I laid out is the most automated and easiest method I have come up with. Don't try installing windows on top of Linux, you'll cause a headache fixing everything for your Linux system. But then again, everything I've done in Linux the hard way has helped me to understand Linux better. I've just found that even laying out all of the partitions manually for Linux can be challenging, especially if you only have 1 computer and your data is not backed up elsewhere. Start with a blank machine if you can, and have another computer on hand, then you'll have an easy time starting over if necessary. Theres still so many more options of how to do what you are asking... good luck and happy tripple booting
Flash-ARMy said:
I've done this for a while, my easiest solution is:
1. Make 3 or 4 partitions. Windows 10, windows 7, data partition, and a Linux partition. (There may more created e.g. a system partition). Dont touch the data partition throughout all of this except for storing your OS ISO, liveboot ISO, other program files etc.
2. Install windows 7 on windows 7 partition.
3. Install windows 10 on windows 10 partition. Can be installed from windows 7. Let windows handle making a windows bootloader which can now boot into windows 7 or 10.
4. Create a live USB in ine of your windows. I've been using Ubuntu but used Fedora for years prior. If you aren't sure if you need x64 then go woth the 32 bit x86 architecture (useful to be able to boot on 32 and 64 bit machines). Now boot up your live USB into Linux and install automatically onto Linux partition. You'll now have a GRUB bootloader which can boot into Linux or into your windows bootloader.
5. Install android emulator. I used Linux as I felt I would get better performance emulating android in Linux, this may or may not be true.
There will things that you might find as a nuisance, for example when I boot into windows 7 from windows 10, I need to boot into the GRUB to windows bootloader, select windows 7 and it reboots again back into GRUB and then into windows 7. Not a big deal unless you want to switch OS a lot. If this is the case, you may want to just emulate to begin with. I have a laptop with *ok* processor and RAM, not the best for emulating another OS.
There is many options - you could even install Linux within windows if you so choose. Ultimately the best path will be based on your knowledge, specs of your PC ( power, ram, disk space, disk type [fora mount of partitions], BIOS/UEFI, etc. The method I laid out is the most automated and easiest method I have come up with. Don't try installing windows on top of Linux, you'll cause a headache fixing everything for your Linux system. But then again, everything I've done in Linux the hard way has helped me to understand Linux better. I've just found that even laying out all of the partitions manually for Linux can be challenging, especially if you only have 1 computer and your data is not backed up elsewhere. Start with a blank machine if you can, and have another computer on hand, then you'll have an easy time starting over if necessary. Theres still so many more options of how to do what you are asking... good luck and happy tripple booting
Click to expand...
Click to collapse
Yes, exactly what I was indirectly suggesting. I've done it the way you describe before, but, alternatively, you can just create 2 partitions on your hard drive then install Win10 and Win7 in those partitions then create a Linux live USB or even install a full Linux distro on a fairly large USB flashdrive/external hard drive(preferably something that has solid state storage, this enables faster booting and performance and allows installing drivers and packages) and then go into BIOS and set your boot priority to boot from USB first, save changes and exit. Then, when you want to boot Linux you just connect your external drive/USB then reboot the device and it will automatically boot Linux without having to use grub and when the Linux drive isn't connected you will be able to boot 10 and 7 via windows bootloader. A little more round about but makes booting back and forth between operating systems.
Droidriven said:
Yes, exactly what I was indirectly suggesting. I've done it the way you describe before, but, alternatively, you can just create 2 partitions on your hard drive then install Win10 and Win7 in those partitions then create a Linux live USB or even install a full Linux distro on a fairly large USB flashdrive/external hard drive(preferably something that has solid state storage, this enables faster booting and performance and allows installing drivers and packages) and then go into BIOS and set your boot priority to boot from USB first, save changes and exit. Then, when you want to boot Linux you just connect your external drive/USB then reboot the device and it will automatically boot Linux without having to use grub and when the Linux drive isn't connected you will be able to boot 10 and 7 via windows bootloader. A little more round about but makes booting back and forth between operating systems.
Click to expand...
Click to collapse
I had a project to run Windoes 10 on an SD card, which proved to be more difficult than I tbought it would be. I didn't think it should have been difficult, but it seems software amd hard tales measures to prevent this from being possible / "easy". Linux is quite easy to use a live USB, so I've done that quite a bit (I'd keep a 32 bit live USB on my Keychain). I don't think I was ever able to update drivers or install updates to the live USB, however I didn't make much of an effort too. I basically used it as a save my ass tool, which it certainly did come in useful quite often in the course of my personal/school/work computer needs.
Flash-ARMy said:
I had a project to run Windoes 10 on an SD card, which proved to be more difficult than I tbought it would be. I didn't think it should have been difficult, but it seems software amd hard tales measures to prevent this from being possible / "easy". Linux is quite easy to use a live USB, so I've done that quite a bit (I'd keep a 32 bit live USB on my Keychain). I don't think I was ever able to update drivers or install updates to the live USB, however I didn't make much of an effort too. I basically used it as a save my ass tool, which it certainly did come in useful quite often in the course of my personal/school/work computer needs.
Click to expand...
Click to collapse
Instead of installing Linux live on USB, you can do a full installation of Linux on the USB the same as you would when installing Linux on hard drive. A Live USB can be setup with a persist partition to provide a bit of storage on the USB but it isn't enough to do anything with that is useful, that is why it is better to just install the distro on USB instead of using USB to run Linux live.

Categories

Resources