[Q] Suggested Dev Laptop Software Specs - Android Q&A, Help & Troubleshooting

I will be buying a new laptop for developer purposes. I will be having a dual boot set up with linux and windows. Which linux would be ideal for all around android development, just the latest ubuntu? And windows XP or 7? And I will probably have a 250 GB hard drive, any suggestions for partition sizes for windows and linux? I will be using the windows side for personal use as well.

blu422 said:
I will be buying a new laptop for developer purposes. I will be having a dual boot set up with linux and windows. Which linux would be ideal for all around android development, just the latest ubuntu? And windows XP or 7? And I will probably have a 250 GB hard drive, any suggestions for partition sizes for windows and linux? I will be using the windows side for personal use as well.
Click to expand...
Click to collapse
Ubuntu would be your best choice for compiling Android from source and overall Android development, as far as what version you can use the latest version of Ubuntu 13.04 just fine if you follow this guide to setting up the development environment on Ubuntu 13.04. For the version of Windows I would definitely go with Windows 7 there is no need to use XP an more, and most program that run on XP will run just fine on Windows 7. A 250 GB hard drive is pretty small for Android development and Windows, as a complete set of builds compiled from source can take up 50 GB + of space easily. If you can get a larger hard drive I would recommend doing so, also the faster the CPU and the more RAM (I would recommend 8 GB) you have the faster compiling times will be. However if you have to go with the 250 GB hard drive (Keeping in mind formatted capacity will be less but for convenience of numbers we'll say all 250 GB is usable) I would devote around 125-150 GB to the Linux partition and the other 125-150 GB to the Windows partition.

shimp208 said:
Ubuntu would be your best choice for compiling Android from source and overall Android development, as far as what version you can use the latest version of Ubuntu 13.04 just fine if you follow this guide to setting up the development environment on Ubuntu 13.04. For the version of Windows I would definitely go with Windows 7 there is no need to use XP an more, and most program that run on XP will run just fine on Windows 7. A 250 GB hard drive is pretty small for Android development and Windows, as a complete set of builds compiled from source can take up 50 GB + of space easily. If you can get a larger hard drive I would recommend doing so, also the faster the CPU and the more RAM (I would recommend 8 GB) you have the faster compiling times will be. However if you have to go with the 250 GB hard drive (Keeping in mind formatted capacity will be less but for convenience of numbers we'll say all 250 GB is usable) I would devote around 125-150 GB to the Linux partition and the other 125-150 GB to the Windows partition.
Click to expand...
Click to collapse
so you would do the partitions half and half.
even if i were to get a 1tb

blu422 said:
so you would do the partitions half and half.
even if i were to get a 1tb
Click to expand...
Click to collapse
If you were to get a 1TB I would still do the partitions half and half, will you be using Windows for gaming or content creation? If your going to be using Windows for gaming or content creation what I might do is split the storage 60-70% Windows and and 30-40% Linux which would still give you approximately 250 GB of Linux partition space.

blu422 said:
I will be buying a new laptop for developer purposes. I will be having a dual boot set up with linux and windows. Which linux would be ideal for all around android development, just the latest ubuntu? And windows XP or 7? And I will probably have a 250 GB hard drive, any suggestions for partition sizes for windows and linux? I will be using the windows side for personal use as well.
Click to expand...
Click to collapse
Windows XP is really out of date. Modern hardware is not going to be supported very well. Sure you can use it, but I woudln't suggest it for daily. Windows 8 isn't new anymore and most of the workarounds have been devised... no reason to stay 7.
I strongly suggest you investigate your laptop choices as to how easily the hard drive can be swapped in/out. Even one with a DVD/Blu-Ray on a bay that can take a second hard drive. It's ideal to keep the Windows on it's own drive and let you have as many Linux installs you want. Go all GPT partitions these days and I suggest learning EFI if you are going to be a developer
A Small SSD - like 128GB can be $100 or less these days and it's amazing how fast you can copy and duplicate a Linux install and have a GRUB2 menu with many Linux systems. Linux can easily run in a 12GB or 16Gb partition if you put your home and dev stuff on a common working partition. (Fedora 18/19, Ubuntu 13.04, etc). And start to work with virtual machines
Hard drive swapping is so much better than the endless time people spend trying to correct screwed-up Linux installs. it can make playing with new releases fun and easy without worry of trashing your everyday OS install.

Related

Dev or User - VMware inside Android, Android inside VMware on desktop computers

This isn't a guide, more an informative post and discussion for Android application and platform developers, AND regular users. Maybe a guide in the future will be a goal of mine.
Some of you may or may not know what VMware is, what it is for, or never used it. Trying to keep the OP brief; VMware is a virtualization solution(s) for desktops and servers. In layman's terms it allows an operating system to be run inside another operating system, instead of setting your desktop to dual boot (have an option at startup to load either windows or Mac as example). There are many applications and benefits to this kind of solution that I won't get into in the OP.
Currently there are solutions available and being built, but are not yet completely optimized, but you can do it. For a developer this means you can be developing Android applications or platforms on whatever OS you want by virtualizing the OS and software currently supported. It also means that you can replace the Android virtual emulator with an Android OS inside VMware for application development, but also means you can load your Android platform into VMware for testing while you develop. Why would you want to do this? Well we all know how painful slow the emulator is, and it is just made worse if your hardware is slow. Because the emulator emulates software running on an arm processor inside an x86 environment things are slow, which means your development is slowed. Using VMware however you are using binary translation to "port" your platform to x86 processing. Currently this solution is not completely optimized, or "official" but it will be. That means less development time, more support, and a more convenient option!
The other edge of the sword is also a VMware virtual machine environment inside Android's Dalvik virtual machine. For users, and developers in certain scenarios this opens even more possibilities. Imagine having the ability to use your personal Android, and that pesky dumbed down corporate phone running together, the corporate advice running inside your personal device, or vice versa. Also, the ability to run any other OS in your device. Windows, Linux and UNIX distributions, solaris, Mac, whatever you wish. This opens lots more doors for Android devices.
Now not everything is complete, but it will be. It sounds like VMware will end up and be the de facto standard for virtualization for Android, as the solution is in the works for google to put VMware into the Android core, in the kernel. Now that would be sweet, because if you have used VMware you probably agree with me that it is THE virtualization solution in any application or solution you need it in.
Maybe this isn't as exciting to others as it is for me. What do you guys think? Let the topic begin!
The following links are meant more to cite my sources, but each one of them is a more detailed read into the topic, and well worth reading to inform yourself and see what is in the works:
http://i.downloadsquad.switched.com/2011/02/15/android-dalvik-vmware-virtualization/
http://gigaom.com/2011/09/27/vmware-mobilize-201/
http://www.android-x86.org/
Run ICS in x86!
gborn said:
Currently a thread about running ICS x86 in Virtualbox is spreaded here:
http://forum.xda-developers.com/showthread.php?p=19815659#post19815659
And I managed at least to create a version of ice cream sandwich running in VMware workstation 7 (should run also in VMware player 3 and 4 and in Workstation 8 as well). The steps to convert the Virtualbox image to VMware are described here.
http://www.borncity.com/blog/2011/11/29/running-ice-cream-sandwich-in-vmware/
Click to expand...
Click to collapse
I use VMware and vSphere at work to manage a bunch of our servers. I'll have to check in with the guy at work who actually implements/sells this to customers to see what he thinks. It seems interesting for sure though.
DoctorComrade said:
I use VMware and vSphere at work to manage a bunch of our servers. I'll have to check in with the guy at work who actually implements/sells this to customers to see what he thinks. It seems interesting for sure though.
Click to expand...
Click to collapse
I don't know if it applies to what your doing, but it is pretty cool to be able to use VMware on your mobile device. If you are managing virtual servers there is already an official solution from VMware you can download from the Android market. It is called VMware view, for Android. Pretty cool.
There is a thread currently at top, with 30 people saying the solution wanted is impossible. You are wrong guys, not impossible at all. You can have windows and Android booting on the same device. Arm processor, x86, doesn't matter with this solution.
Sad Panda said:
There is a thread currently at top, with 30 people saying the solution wanted is impossible. You are wrong guys, not impossible at all. You can have windows and Android booting on the same device. Arm processor, x86, doesn't matter with this solution.
Click to expand...
Click to collapse
Nothing is impossible, but where are you going to get a bootloader, Windows binaries, and SoC drivers?
EGOvoruhk said:
Nothing is impossible, but where are you going to get a bootloader, Windows binaries, and SoC drivers?
Click to expand...
Click to collapse
Well in terms of doing dual boot natively, I agree, probably never going to happen...ever. However if you run it in a virtual machine, just like Android runs in the Dalvik virtual machine, it can be done.
The bootloader and drivers are already built and would be taken care of by VMware. You make or hint at a valid point, there would never be enough desire for anyone to do it natively. It isn't impossible, but just would never see anyone take the time to do it
Ice Cream Sandwich x86 in VMware
Currently a thread about running ICS x86 in Virtualbox is spreaded here:
http://forum.xda-developers.com/showthread.php?p=19815659#post19815659
And I managed at least to create a version of ice cream sandwich running in VMware workstation 7 (should run also in VMware player 3 and 4 and in Workstation 8 as well). The steps to convert the Virtualbox image to VMware are described here.
http://www.borncity.com/blog/2011/11/29/running-ice-cream-sandwich-in-vmware/
gborn said:
Currently a thread about running ICS x86 in Virtualbox is spreaded here:
http://forum.xda-developers.com/showthread.php?p=19815659#post19815659
And I managed at least to create a version of ice cream sandwich running in VMware workstation 7 (should run also in VMware player 3 and 4 and in Workstation 8 as well). The steps to convert the Virtualbox image to VMware are described here.
http://www.borncity.com/blog/2011/11/29/running-ice-cream-sandwich-in-vmware/
Click to expand...
Click to collapse
Bingo! Awesome contribution! Yeah this is one of the two examples I speak of, Android running on an x86 CPU (instead of arm like our phones and tablets) running as virtualization of hardware. Great reply to back me up, and even a guide to boot, AND ics!! If you must play with ICS before it gets to evo 3D
Added the ICS in VMware to OP.
I have tried this a few way and in no way can i get it to work on VMWARE gets stuck on found androidx86
Sad Panda said:
Added the ICS in VMware to OP.
Click to expand...
Click to collapse
works fine, just make sure you follow the steps to the t and convert the .vdi images to .vmdk to run smoothly in vmwareplayer (the link to instructions is kinda hidden away)
i used virtualbox to convert, then vmplayer to run the vmdk
thanks for the info... fun to play around with
digitaljeff said:
works fine, just make sure you follow the steps to the t and convert the .vdi images to .vmdk to run smoothly in vmwareplayer (the link to instructions is kinda hidden away)
i used virtualbox to convert, then vmplayer to run the vmdk
thanks for the info... fun to play around with
Click to expand...
Click to collapse
No problemo
heres some links to the vmdk images to work in vmplayer, dont thank me, thank the guy who wrote the guide on converting vdi to vmdk
ICS vmdk
http://www.megaupload.com/?d=FZWH3G20
SD card vmdk
http://www.megaupload.com/?d=15TLJZ87

[Q] windows on a nook

Just wondering if it was possible to install windows (xp or newer) after the bootloader is hacked.
I got bored and looked at all the minimum requirments and the nook tablet meets all of them (except for hdd requirents for vista and 7) however i don't know anything about processor architecture and compatibility.
yoda1956 said:
Just wondering if it was possible to install windows (xp or newer) after the bootloader is hacked.
I got bored and looked at all the minimum requirments and the nook tablet meets all of them (except for hdd requirents for vista and 7) however i don't know anything about processor architecture and compatibility.
Click to expand...
Click to collapse
I don't mean to smash your dream, but there is a 0% chance of that happening. Window XP will not work on ARM.
Windows 8 will be the first version with an ARM port and I seriously doubt even the Nook Tablet has the horsepower / memory / emmc space to run it.
Merrell
macrossmerrell said:
Windows 8 will be the first version with an ARM port and I seriously doubt even the Nook Tablet has the horsepower / memory / emmc space to run it.
Merrell
Click to expand...
Click to collapse
it may be possible to port over windows phone 7.5 mango lol

[How To] Running Linux on a Windows Machine

A lot of the development that has (is) taken place for our Nook's is performed by the developers in Linux. As such there are a few posts in the development thread that offer "Linux Only" solutions.
We already have the Original ClockWorkMod (CWM) installation instructions, AdamOutlers Ubuntu Recovery and others.
People have also been recommended to re-format their bootable SD Cards using a program in Linux called Gparted. I can verify that this program works great but I'm sure I'm in the minority with having access to a Linux Machine. This thread is here to offer some suggestions.
To my knowledge you have these options:
1. Run Linux in a Virtual Machine (VM)
2. Create and boot from a Live CD/DVD
3. Create and boot from a USB Stick
4. Install Linux on a separate machine
5. Dual Boot
I personally run a MAC and run Linux in a VM. I use a program called Parallels. This is NOT a free solution but if any of you run a MAC I can recommend this program highly. However this thread is dedicated to those Windoze Users so let's press on.
Virtual Machines
VM's are great tools that allow you to try almost all available OS's on your machine with no damage being done to the actual file system of the "Host" operating system which in this case is your windows machine. The "Guest" operating system is typically contained in one single file or a single folder so the entire machine can be backed up easily. This method may be a little more advanced then the method's I will outline below but in my opinion it is well worth it. VM's are fun and once you get the hang of them you will be installing a bunch of new operating systems just to "fiddle".I have a version of Dos 6 running in a VM just because I can. LOL
Virtual Box is a free VM for Windows and I believe they even offer pre-built Linux Distro's that you simply download and open once the main VM software is installed.
VMware Player is also free.
Live CD's/DVD's
Live CD's are great for a quick format job's such as those found here in the Forum's. The downside is that they are a little slower and changes you make while the system is running are lost.
Knoppix
Ubuntu is the distribution recommend most. This link brings you to a download page where you can select either a Full Install Version, a Live CD Version or a Flash Drive version.
The LiveCD List Too many to mention. Check it out.
USB Stick
Advantages to a USB stick is that you can make the file system mountable and changes you make to the system can be made persistent meaning the next time you boot your changes will be saved. It is also a tad bit faster then the live CD but a little more difficult to make. Not much though
Ubuntu same link as above.
Linux Live USB Creator is a cool application that you install and it talks you through the steps. Once Installed I believe it will even provide you with a list of available distributions and download it for you. It will then use the download to create a bootable USB stick.
PenDriveLinux is the same premise as Linux Live. It will talk you through the steps.
Full Installation
This method is obviously for more advanced users and requires a computer that you will dedicate to running linux. If you fit these qualifications it is a rather fun experience and a great learning tool.
Ubuntu I'm linking this again because it is the same area you would obtain the Full Version of the software to download.
Linux Distro Watch contains a complete list of the most recent Linux Distro's. Pick a flavor and read up on how to install.
Dual Boot
AdamOutler has suggested that this Section be added. Dual booting is an option that replaces your boot loader with an "option" screen allowing you to select which OS you wish to boot. I honestly can't recommend this to beginners and even though I consider myself more of an advanced user, I have experienced issues with this in the past. Simply put if that boot-loader somehow gets corrupted you can render the entire machine inaccessible. Mind you it has been a LONG time since I used a dual-boot solution and I'm sure the methods have improved significantly over the years. Adam has mentioned that the Live-CD and USB-Stick versions offer you the option to install the boot-loader now. Like I said, once I went to VM's I haven't looked back but this IS a viable option if you are so inclined. The advantage would be that your Linux Distro would run at full speed and would be just like having your own Linux workstation without the need to purchase or obtain additional hardware. Simply select the OS you wish to run (Windows, Linux, ETC.) and boot into that OS. Adam's post can be viewed HERE. Thanks Adam!
User Suggestions
Wubi was recommended by Veronica (Lavero.Burgos). It looks like it may be a pretty easy (and Cool) option. Give it a shot! Thanks Veronica!
Know-Fear has offer some additional Instructions in This Post. Good Information there. Give him a thanks!
Birdsbeaks recommends NOT taking the easy road if you are truly interested in "learning" Linux. He suggests that you start with a distro that has a "steeper learning curve". One of his recommendations was Slackware. He also prefers MINT over Ubuntu as he feels it is less "proprietary". You can read his full comment HERE.
By no means is this list even close to complete. I simply wanted to give you a starting point and the rest is up to you. I have tried a few of these solutions in the past but since moving to a VM solution that is where I stand. Since it has been awhile, your mileage may vary (YMMV) but this should get you started.
If you have questions feel free to post them and I will do my best to help you along but the best way to learn is to experiment on your own.
If anybody has tried other versions or solutions feel free to post them and I will update the Original Post (OP).
Have fun and good luck!
****Reserved*******
I choose to dual boot windows 7 and Ubuntu.
All the options you mentioned work. Probably a live CD or USB would be the best bet for most people, since most probably wont spend alot of time on it.
@LandMaster you forgot Wubi, also have anyone tested Ubuntu 12.04 LTS alpha? So far im researching about Cinnamon Linux Mint 12 which looks promising .
~ Veronica
lavero.burgos said:
@LandMaster you forgot Wubi, also have anyone tested the new 12.04 LTS alpha of Ubuntu? So far im researching about Cinnamon Linux Mint 12 which looks promising .
~ Veronica
Click to expand...
Click to collapse
Added. Thanks!! Looks cool. I had never heard of it
What is this Windows you speak of.
don't forget to add in the full installation that most Live CDs and USB sticks will give you the option to run "side-by-side" or "Dual-boot". Personally, I'd just wipe Windows from the computer, if you need it back for some reason just use your quick restore disks.
I run a dual boot on my netbook because I have some hardware that requires Windows. Other than that, I can run about 3 separate virtual machines at the same time within Linux and everything works fine... Windows xp, Windows 7 and OS-X Lion all run fine in virtual machines within Linux. With guest additions, you can make them full-screen or share your desktop with the virtual machine so "Windows" windows appear in the same space as the Linux windows.
AdamOutler said:
don't forget to add in the full installation that most Live CDs and USB sticks will give you the option to run "side-by-side" or "Dual-boot". Personally, I'd just wipe Windows from the computer, if you need it back for some reason just use your quick restore disks.
I run a dual boot on my netbook because I have some hardware that requires Windows. Other than that, I can run about 3 separate virtual machines at the same time within Linux and everything works fine... Windows xp, Windows 7 and OS-X Lion all run fine in virtual machines within Linux. With guest additions, you can make them full-screen or share your desktop with the virtual machine so "Windows" windows appear in the same space as the Linux windows.
Click to expand...
Click to collapse
I added a dual-boot section to the OP. I'm out of thanks for the day. I'll hook you up later.
Totally agree about Windoze. I have a really good laptop that runs Win 7 and it would take me about an hour just to clean the dust off of it.
As this guide is for "beginners" I didn't really want to tell them to forego windows and wipe their boxes. Hopefully they will come around once they have a chance to experiment with Linux.
AdamOutler said:
don't forget to add in the full installation that most Live CDs and USB sticks will give you the option to run "side-by-side" or "Dual-boot". Personally, I'd just wipe Windows from the computer, if you need it back for some reason just use your quick restore disks.
I run a dual boot on my netbook because I have some hardware that requires Windows. Other than that, I can run about 3 separate virtual machines at the same time within Linux and everything works fine... Windows xp, Windows 7 and OS-X Lion all run fine in virtual machines within Linux. With guest additions, you can make them full-screen or share your desktop with the virtual machine so "Windows" windows appear in the same space as the Linux windows.
Click to expand...
Click to collapse
Nice!. Adam i have a question for you, i have a netbook as well HP110CA(that gave to bf) 1GB of ram and im having issues with linux on it. It came with windows XP off course and i had to format it twice because it got viruses while in Canada, so i just wiped out and put ubuntu 10.10 in that time. At first was running ok but eventually it started to freeze, later on upgraded to 11.04 and it messed things up so i decided to try other "light" distro and i put Jolicloud(based on ubuntu) again started running fine but keeps freezing and more often, now i don't know what else to put in i was thinking on Puppy linux lol but im not sure why it freezes that much. When i had it with windows it never froze though but i don't want to go back to windows only if its my last resource. What would you recommend? im starting to think its a hardware failure and that linux is too much for that poor machine .
~ Veronica
Hell yeah but I think I messed up bc i. Put the disk in and restarted and it to me to a black screen with cursor so i even up have to goto bios or cmos one of those and change first boot to dvd so hopefully after I'm done with this I. Can get back to windows hopefully my drive order is correct
___________________________________________
Sent from my PG86100-EVO3D-using Tapatalk Born Jan 5th 84 and still getting it in eeee
Anon9mouz said:
Hell yeah but I think I messed up bc i. Put the disk in and restarted and it to me to a black screen with cursor so i even up have to goto bios or cmos one of those and change first boot to dvd so hopefully after I'm done with this I. Can get back to windows hopefully my drive order is correct
___________________________________________
Sent from my PG86100-EVO3D-using Tapatalk Born Jan 5th 84 and still getting it in eeee
Click to expand...
Click to collapse
Yup... When booting from a USB drive or CD the boot order must be set in the bios. I recommend just leaving it as:
1. DVD/CD Rom
2. USB
3. C drive
This way here if 1 & 2 are not attached it will boot from the "C Drive"
I would unplug the hard drive if I were the noobs just in case. That way the noobs wont accidentally wipe their Hard drive
My recommendation for "beginners" would be to try Ubuntu in a Virtual machine ( i use Vmware and love it, has never let me down) and you can still work in your Windows interface, it is also easy to share files between windows and your virtual machine.
It is enough for all the sdcard mods and even adb if you want to set it up there too. I prefer this way rather than Wubi because i can work faster that way, i don't need to reboot to boot into windows, i have all i need in the same place .
~ Veronica
I prefer running either zen-mini or pclos gnome in virtualbox myself
Anon9mouz said:
Hell yeah but I think I messed up bc i. Put the disk in and restarted and it to me to a black screen with cursor so i even up have to goto bios or cmos one of those and change first boot to dvd so hopefully after I'm done with this I. Can get back to windows hopefully my drive order is correct
___________________________________________
Sent from my PG86100-EVO3D-using Tapatalk Born Jan 5th 84 and still getting it in eeee
Click to expand...
Click to collapse
This happens when you use a 64 bit Linux on a 32 bit system. Also when you have a bad copy. Burn at a lower speed. Try redownloading.
AdamOutler said:
...
I can run about 3 separate virtual machines at the same time within Linux and everything works fine... Windows xp, Windows 7 and OS-X Lion all run fine in virtual machines within Linux.
...
Click to expand...
Click to collapse
It's been a couple years since I tried running OSX on non-apple hardware / in a vm. Can you point me to a good resource for this?
I don't always use virtual machines, but when I do, I use VirtualBox. Mostly because it's free.
I have ubuntu 11.10 on my netbook and, while I like the interface, it seems like things get a little slugish at times. Anybody out there know of a good distro for netbooks?
RadicalAns said:
I don't always use virtual machines, but when I do, I use VirtualBox. Mostly because it's free.
I have ubuntu 11.10 on my netbook and, while I like the interface, it seems like things get a little slugish at times. Anybody out there know of a good distro for netbooks?
Click to expand...
Click to collapse
I don't always drink beer, but when I do... Oh wait .... getting sidetracked..
I just did a quick search and believe it or not Ubuntu leads the ranking's on This Page
I remember putting the "Netbook Remix" on an older netbook and it ran OK but not great from what I recall. From quickly glancing at this article it sounds like that version has been merged with the main distribution. You may be able to locate a copy of it though and try it out.
Yeah I really like 11.10 for my netbook. I think I may end up just upgrading the ram on the little bugger. It's nice having a Linux machine that I can muck around on while watching TV w/ the wife.
lavero.burgos said:
Nice!. Adam i have a question for you, i have a netbook as well HP110CA(that gave to bf) 1GB of ram and im having issues with linux on it. It came with windows XP off course and i had to format it twice because it got viruses while in Canada, so i just wiped out and put ubuntu 10.10 in that time. At first was running ok but eventually it started to freeze, later on upgraded to 11.04 and it messed things up so i decided to try other "light" distro and i put Jolicloud(based on ubuntu) again started running fine but keeps freezing and more often, now i don't know what else to put in i was thinking on Puppy linux lol but im not sure why it freezes that much. When i had it with windows it never froze though but i don't want to go back to windows only if its my last resource. What would you recommend? im starting to think its a hardware failure and that linux is too much for that poor machine .
~ Veronica
Click to expand...
Click to collapse
Can someone help me with this one plz i don't know what else to install it lol oh well maybe i end up going back to windows XP.. sigh
~ V

[Q] USB Boot Ubuntu

I have a Windows 7 64-bit Desktop with a 3.1 GHz AMD Athlon processor, and around 4GB of RAM. I was wondering if someone could point me in the right direction. I want to learn to build android from source, but the better step-by-step guides are for ubuntu. If I were to get ubuntu, I would want to boot from a USB flash drive. Would an 8GB USB flash drive be sufficient for setting up ubuntu, the android sdk, and building a rom? Can I use my PC's harddrive for storage while ubuntu is running from the USB? I have found that Ubuntu 10.04 is recommended for android development from source. The only problem is that there are so many different downloads and files with different file sizes no matter how much I search. If someone could answer my questions and post a link with the ubuntu image, and perhaps a guide on how to install it on my usb, I would be very joyous.
Codename13 said:
I have a Windows 7 64-bit Desktop with a 3.1 GHz AMD Athlon processor, and around 4GB of RAM. I was wondering if someone could point me in the right direction. I want to learn to build android from source, but the better step-by-step guides are for ubuntu. If I were to get ubuntu, I would want to boot from a USB flash drive. Would an 8GB USB flash drive be sufficient for setting up ubuntu, the android sdk, and building a rom? Can I use my PC's harddrive for storage while ubuntu is running from the USB? I have found that Ubuntu 10.04 is recommended for android development from source. The only problem is that there are so many different downloads and files with different file sizes no matter how much I search. If someone could answer my questions and post a link with the ubuntu image, and perhaps a guide on how to install it on my usb, I would be very joyous.
Click to expand...
Click to collapse
you could run ubuntu live off of a usb, but it would be painfully slow. Especially when you are doing cpu/ram intensive tasks like compiling.
Id recomend doing one of the folllowing things:
First/Better option: install ubuntu onto your computer in a dualboot with windows 7
-it will be faster because it will be installed on your computer rather than having to read from the usb
-also faster because all of your cpu and ram are being dedicated to ubuntu
-some people see the word dualbooting and immediately think that its too hard but it isnt. Watch this tutorial: Click here for tutorial
Second option: install ubuntu in a virtual machine within windows 7
-this will be slower because you need to share your computers hardware with windows 7 and ubuntu at the same time
-heres a tutorial on how to do this: Click here for tutorial
Also heres the download link for ubuntu 12.10 (the newest version 64 bit): http://releases.ubuntu.com/quantal/ubuntu-12.10-desktop-amd64.iso
Some people say that 10.04 is better, but i know lots of devs that use 12.10.
If you still want 10.04 here it is: http://releases.ubuntu.com/lucid/ubuntu-10.04.4-desktop-amd64.iso
Yup...true..you can run ubuntu live cd/pendrive but it will be really slow as said earlier.
So wat u do is to download that ubuntu image files.
Then you can use 'unetbootin' for making bootable pendrive.
And 8gb is enough(though 4 will also not be problem in anyway).
For easy installation partition your harddrive to make some 'unused' space(not free..delete the partition as ubuntu needs diffrent partition table,we don't need ntfs partition) for ubuntu.
Now install ubuntu with option 'install ubuntu alongside windows' and you are done with ubuntu part.
Now install android development kit and start working..all the best.
:thumbup::::thumbup:
Sent from my A52 using xda app-developers app

How to build lineage os 15.1 on windows 7

How to build lineage os 15.1 on windows 7 ?
What programing languages I should have ?
Vmware isn't good to build on ubuntu .
Windows 10 have many issues.
Ubuntu dual boot with windows windows not boot Because of bootloader .
I have disk 1TB ,Ram 6GB ,Gpu 2G.
Please any one can help me .
kapmino269 said:
How to build lineage os 15.1 on windows 7 ?
What programing languages I should have ?
Vmware isn't good to build on ubuntu .
Windows 10 have many issues.
Ubuntu dual boot with windows windows not boot Because of bootloader .
I have disk 1TB ,Ram 6GB ,Gpu 2G.
Please any one can help me .
Click to expand...
Click to collapse
My best advice is to try running Ubuntu in virtual box. I've done it before without much trouble on windows 7. I recommend checking out this thread for that. It's been a huge help to me in the past. And you can find video tutorials on how to build over here.
If you just wanted to compile twrp or a kernel it probably wouldn't be a problem with those specs. You're probably going to have a lot of issues trying to build an OS with a system like that though. That's simply not enough RAM. Compiling loves ram. I've ran out of memory trying to build with 8gb of RAM in virtual box before. Your CPU specs are also very important here. You'll want at least 4 cores to run the box by itself. It is very system intensive, and can easily make your host OS inoperable while running. I have the following specs, and virtual box will cripple my PC if I try to build an OS on it.
CPU: Ryzen 5 1600 @3.8GHz (6 cores, 12 threads)
GPU: Nvidia GTX 1050 (3gb)
Ram: 8gb DDR4 @2800MHz
6TB HDD (7200rpm)
For simple projects it's very useful, but for OS building in vitual box you really need a very beefy machine.
Languages: Linux, and lots of it. There's no way around that. You'll also need to be very familiar terminal commands. It is not for the faint of heart. I wish you luck.

Categories

Resources