need help with .tar file - Tilt, TyTN II, MDA Vario III Android Development

hello all i need to know is how you make the .zip rom into a .tar are used a program but converting it doesnt work, if u could pls just help me i want to put together my own rom, thank you..

johndoeshmoe said:
hello all i need to know is how you make the .zip rom into a .tar are used a program but converting it doesnt work, if u could pls just help me i want to put together my own rom, thank you..
Click to expand...
Click to collapse
http://gnuwin32.sourceforge.net/packages/gtar.htm
However you may want to consider doing a Linux install. I think most Android hacking is done i Linux. I recommend doing a Wubi install of Ubuntu(google it) if you want to try out Linux without messing with your partitions. Another option is to run Linux from within Virtualbox.

An easy way is to install 7zip. With it you can store files in tar.

The best way of learning how to put together a custom Android build is to start by studying the way that the .tar files are structured, I started by using 7-zip to study and change some of the files, ( you can really mess up your android doing this ).
However you will need to have access to a PC running Linux for some of the more advanced tasks. There are ways of running Linux without disturbing your PC's partitioning, but honestly, a dual-boot is the best way to go, you only need about 10-50GB of hard disc space for a decently set up Linux install, (10GB is enough for a well set up slackware based install like zenwalk).
Good luck on your journey into Android

zenity said:
There are ways of running Linux without disturbing your PC's partitioning, but honestly, a dual-boot is the best way to go, you only need about 10-50GB of hard disc space for a decently set up Linux install...
Click to expand...
Click to collapse
Actually a Wubi install of Ubuntu is a dual boot solution that does not touch your partitioning. There is a small performance penalty for keeping the file system within a large file on your NTFS file system but I doubt most people will notice. Installation is as easy as next-next-finish and uninstallation is easily handled from within Windows.
http://wubi-installer.org/
In fact, it's very similar to doing FAT32 SD-card install of Android except that the performance penalty is much, much less noticable and it's really dual boot so you do not need to boot Windows in order to boot Linux.

A wubi install is pretty good if you like the Ubuntu way of doing things, I don't, just personal taste, I like my Slackware distros too much
But yes, since everyone seems to be on ubuntu/debian based these days, wubi is indeed a good solution to having to partition your HDD.

thank you guys u have been very helpful and also iv had ubuntu before so i know how to install, u guys have been very helpful thank you..

Related

Android on X50v (and maybe others in future)

Yes, I've decided to take on a mammoth task, welcome to "ROSS"... "Replacment Operating System Structure" for Mobile phones & PDA's =]
The website is located here!
Yeah, you all think i'm crazy "hang on, you can't port Android to X50v!"
Well, not YET, but with help It will be done.
What is android you may ask?
Android is google's open source platform for Mobile phones and PDA's =]
So yes, I plan to create a operating system for X50v to replace WM6 with and allow users to develop/change bits of the operating system they don't like.
There will be a few "flavours"
Lite: Basics, very Basics, just Wifi/bluetooth support, a simple GUI and No applications (just a few settings). This free's up a LOT of RAM + ROM
Medium: The one "hopefully" most people will use, This is the standard one, basic office applications (replacing all the standard WM6 ones) a few games, decent GUI etc.
Heavy: The one that leaves least RAM and ROM available, the one with the most applications + usability, although it may lag a little.
Of course, we're going to build a "super-lite" version first, just to make sure it's flashable to the X50v =]
Maglite_RUS & Football may be willing to help, maybe not, we hope for his help + support throught this project
but first we need a team!!!
If you have any experience in making ROMS for X50v (ONLY, we will work on others after the X50v is done) or developing operating systems (various Linux distro's included) and Java (what the majority is coded in) then please please sign up. I plan to help develop the applications rather than the operating system myself, but I will work on ALL aspects of the project of course
If you're interested, and have found this link of google or something, then don't hesitate to email me here
Feel free to discuss =]
Hi Obsidiandesire...
This could be a great project!
It's very nice to see you're a PPC enthusiast like me...
I'm a PC software developer (not PPC) with quite experience but to start this project we need some black belt coders...
Another Linux project was already started here
http://www.handhelds.org/moin/moin.cgi/DellAximX50 but the developing speed was not so fast...
Another issue would surely be the ROM compaction problem that will kick in also on a different OS.
The only thing that could solve this on x50v would be to hack the bootloader in a way to load OS from SD or CF , so all data will be written on a fast write NAND device... By the way this would mean loosing the internal ROM!
But your approach seems to be the most sensible one, as one would never lose the possibility to startup the phone's default os (windows mobile).
It seems quite an interesting project, i have to admit i have a strong will to help you out, as i am also a professional programmer, however i am not a java, or C developer (long time i do not do anything in C), so i guess i am more of a designer myself
Well, i will keep up with this post and maybe we will colaborate in the future, i feel it's time to have our own software in the mobile's, i hate the microsoft's approach to the os handling.
Glad to see we're getting some interest in this project!!!
Hopefully, soon we could set up a website and start developing =]
who knows, we may be the lucky winners of the google competition and get $10 million! (not much use to me because im british lol)
So, you're Idea would be basically multi-boot?
sounds good, but we'd need to modify the bootloader (maybe hold enter, power + reset to switch to ROSS-Mobile?)
Sounds good! and i've just started learning Java too, so this project could take a while, hopefully, if it starts getting quite a bit of attention, we could move it to other platforms (HTC touch etc) which would make us Gods within the PDA community
I do like the posibilities of Android as it looks like it could make good use of the graphics chip in the X50v and it wouldn't have Windows Mobile lagging it down
How much RAM does it have again? It would be as powerfull as an old PC if you overclock it slightly (700mhz, 32MB RAM, 16MB graphics or something like that) and slap on a minimal OS and you could have your own [email protected] Pocket version! lol
Sorry if i've gone off on a tangent, i'm really excited about Android and it's possibilities.
First steps though, how would you get the DEFAULT android software to boot on the X50v? I think this should be our goal before starting on the project itself
this is cool. if anyone gets this to work i would be happy to be a tester. i don't know much about programming but have flash other devices with Linux.
A bit a info i picked up on flashing Linux on ipaqs is that you had to flash a new bootloader that would boot both wince and Linux. don't know why both but maybe to return to wince because to flash the boot loader you did it with a app that ran on wince and after that you would boot the bootloader and make a serial connection so that you could send the linux distro and erase wince.
Thanks for the info, more help on how to do this would be great! (I could try this on my X50v for testing purposes)
would it not be actually possible to boot the android/linux directly from a storage card? so as to effectively allow users to 'dual' boot?
duke_stix said:
would it not be actually possible to boot the android/linux directly from a storage card? so as to effectively allow users to 'dual' boot?
Click to expand...
Click to collapse
Each time you would boot a os you would erase saved data (hard reset) because you would need the memory were the settings are for each os. but thats is what i think i haven't flash a device for a long time so im out of date on this as far as if they gotten a doul boot win ce and linux but i assume that this will be a problem with win ce and android dual boot.
You would have to put both os in the flash mamory(were the os goes) and find a way to save the settings from a os and store them so that it can load the settings for the other os and vice versa
but you could do it like linux on a palm zire72. i have linux on my zire but linux is on the memory card when i reset the device it will reboot onto the palm os, so no flashing happens just load the bootloader through the palm os and linux kernel loads, but at the same time palm os is hard reseted, this is palm but same linux that is used on ppc. You would need to find a way too load a bootloader during win ce but dont see that this is possible. only one os at a time.
And Obsidiandesire i will try to get an old friend that used to work on porting linux to ppc he might help on the bootloader part but haven't herd from him for a long time but will try hard on finding him. but as long as we get many people this might be possible. i will post later if i find him.(good luck on your leg)
or, the flash memory card from which you 'boot' the android/linux from could actually hold a partition which served as a flash drive/storage drive aswell? so effectively it would mean you would require something like a 1gb or 512mb card, splitting that to allow you RAM and ROM space but i cant see why that would be too difficult. it would just be a matter of tricking the linux to thinking the local on-drive storage is its 'root' drive and the default drive to save to and to completely and totally NOT access any of the WM stuff on the flash memory that is hard-soldered onto the handset.
not sure if this helps, just bandying ideas around at the mo!
duke_stix said:
or, the flash memory card from which you 'boot' the android/linux from could actually hold a partition which served as a flash drive/storage drive aswell? so effectively it would mean you would require something like a 1gb or 512mb card, splitting that to allow you RAM and ROM space but i cant see why that would be too difficult. it would just be a matter of tricking the linux to thinking the local on-drive storage is its 'root' drive and the default drive to save to and to completely and totally NOT access any of the WM stuff on the flash memory that is hard-soldered onto the handset.
not sure if this helps, just bandying ideas around at the mo!
Click to expand...
Click to collapse
I see what you mean, but then the card might not be recognised in windows =/
However, denying the operating system access to writing the rom (and store everything in RAM) might work, but all settings would have to be stored on the SD card which could lead to a slow application.
The SDK (with the sample apps) itself is around 100MB, but Methinks that the final OS will be around 30MB (Without any apps)
Expanding on the partition Idea, what about partitioning the ROM itself? This might require a special WM6/5/CE ROM but one flash compared to many (everytime the device boots) could be worth it, and it could get round the setttings loss if we restrict each one to not write over the other?
My leg is getting better thankyou, seems like a severe muscle strain (The doctor said) so i should be back in school tomorrow.... great
i see what you mean by the card not being recognised by windows and offer a simple solution:
have a DEDICATED card for android and a seperate card for storage under WM.
to be completely honest with you, theres people on here spending hundreds and hundreds of pounds to have the latest device (and im one of them) im sure they wouldnt mind spending an extra few pounds for another memory card which would allow amazing functionality without actually jeapordising their current WM install (so they can have an install of WM6 to fall back onto)
what i propose is the following system:
1) MEMORY card formatted and partitioned to allow more or less the same sort of structure of memory/ram as the onboard memory does
2) INSTALL the actual android/linux to the memory card utilising the space as you would the hard-soldered memory on the phone without actually modifying the handset itself in any way whatsoever.
3) THIS method allows people to effectively dual-boot android/WM6/5 without the danger of them actually ruining their WM6 install, effectively using the android/linux platform to play about with whilst having the original WM6 to fall back onto for day-to-day usage.
shouldnt be too difficult to accomplish, im sure a modified bootloader would do the job pretty well, cant see why without the help of Olipro and Pof this cant be done!
LETS GET THE BALL ROLLING!
Seems good, but what, have the SD card for storage and CF for the OS? 'cos you obviously can't have 2 SD cards in the X50v (unless there's a CF-SD card adapter lying around somewhere on the web or on a shelf)
But as far as getting the ball rolling, yeah!!
Work on having the vanilla build of android (one included in the SDK) running before starting from scratch!
Obsidiandesire said:
Seems good, but what, have the SD card for storage and CF for the OS? 'cos you obviously can't have 2 SD cards in the X50v (unless there's a CF-SD card adapter lying around somewhere on the web or on a shelf)
But as far as getting the ball rolling, yeah!!
Work on having the vanilla build of android (one included in the SDK) running before starting from scratch!
Click to expand...
Click to collapse
another problem would be on getting the bootloader to see the cf card and that maybe a problem, we would need to add one of the slots(sd or cf) to the bootloader and let us choose what os to boot or what memory to boot(sd,cf, or rom mem).
the other way if we don't want to modify anything would be loading a bootloader during winidows mobile.
i hate this time difference
i cant see why you cant actually have the android on the SD card and stick to having the CF card as storage for both WM and Linux
that way, it would mean a sort of 'standardising' for people to port over to other phones which use SD based memory cards.rather than making it bespoke to CF capable devices (of which there arent many!)
Yes, the problems will be a rebuild of the bootloader to recognise both SD + CF cards.
And loading the bootloader under Windows mobile could be good, but you'd then have to terminate WM (which could be a problem)
And which part of the USA do you live in? There's probably an 8 or 9 hour time difference :-(
@dude_stix
well, even so, you'd need both SD + CF storage, which AGAIN could be a problem. But (in my experience) CF is more expensive, and considering Android will take up less space, It seems a more viable option (in my example, a 32MB CF card would be useless if I installed Android on a 2GB SD card and nullified the rest of the space for use (which could happen))
I think the easier option would be to modify the bootloader to look for images on both cards and install on the one with the image on it.
What about drivers etc? Obviously these would be needed for most things.
drivers????
thats all i got but it would not be hard if htc releases its android devices soon so we can get ideas from them. still today linux devices have problems with bluetooth, wifi, backlight, sd, etc...
posted on 5:23 pm here in south central US (Texas)
That's a 6 hour time differance :/
The Drivers being the things (mainly DLL's in WM) that controll the wifi/bluetooth etc.
This is why Linux has problems with them, i think they have to rebuild their own or something, which could pose a problem.
Do you think we should set a website & Forums up, or is it too early at the moment?
ultraprimeomega said:
drivers????
thats all i got but it would not be hard if htc releases its android devices soon so we can get ideas from them. still today linux devices have problems with bluetooth, wifi, backlight, sd, etc...
posted on 5:23 pm here in south central US (Texas)
Click to expand...
Click to collapse
Yeah... ...Drivers!!
This will be the hard one...
With WM6 cooked rom it was easy... We could reuse WM5 drivers written specifically for that device (x50v and x51v needed a specific driver for the 2700G chipset).... So if there won't be any Smartphone with such chipset with Android pre-installed it would be very hard to write that drivers from scratch... By the way somewhere I remeber I found a PowerVR driver source code for Linux that could be useful to do the job...
Cheers
Antineutrino said:
Yeah... ...Drivers!!
This will be the hard one...
...
Cheers
Click to expand...
Click to collapse
Isn't the drivers' job what the linux kernel is supposed to do? Why don't you go grab the kernel from the gpe/opie project and add the android image to it, partition the sd card with a windows and a linux partition like the other linux guys do, load the ramdisk like they do and see if it works. At least they have a start on the drivers for the Axim.
wovens said:
Isn't the drivers' job what the linux kernel is supposed to do? Why don't you go grab the kernel from the gpe/opie project and add the android image to it, partition the sd card with a windows and a linux partition like the other linux guys do, load the ramdisk like they do and see if it works. At least they have a start on the drivers for the Axim.
Click to expand...
Click to collapse
Well, this could be a start indeed, now how do we get android actually ON the x50v??

[Q] A2SD+ on rooted stock sense froyo?

Hi all,
is it poosible to get a2sd+ on stock htc sense froyo?. I`m desperately running out of space, but i want to retain the stock froyo because of app updates, those on customs had issue not been able to update for example map, yt, etc. I may be wrong. In that case is there a rom with stock sense and latest froyo update?
Any info about rooting the handset with latest froyo update (stock) would also be helpful.
Thanks.
Hi There
I found this link the other day about forcing apps to the SD card without rooting on Froyo
http://myhtcdesire.com/category/tipstweaks
I have tried it a few times but just can't get it to work for me, perhaps I am missing something
Hope thios helps
JaykaySLO said:
Hi all,
is it poosible to get a2sd+ on stock htc sense froyo?. I`m desperately running out of space, but i want to retain the stock froyo because of app updates, those on customs had issue not been able to update for example map, yt, etc. I may be wrong. In that case is there a rom with stock sense and latest froyo update?
Any info about rooting the handset with latest froyo update (stock) would also be helpful.
Thanks.
Click to expand...
Click to collapse
DISCLAIMER: be very, very careful especially if you don't have S-OFF yet and plan to use this method. Mind your exact Desire variant and read all the info on listed stuff before attempting
I use a rooted stock rom with Darktremors Apps2SD method. You just have to install the scripts and modify the init.rc script as described in this thread
You will need to prepare an update.zip with the boot.img or have S-OFF hboot (like AlphaRev) to flash the boot partition on which the init.rc script resides.
It might be also possible to use flash_image, but I'm not sure it will be possible without S-OFF.
I used AmonRA 1.7.0.1 Recovery R5 to repartition the SD, as it seemed to me that using Clockwork which was embedded in Unrevoked 3.21, caused my last USB brick.
This will enable you to move not only the apps but also the dalvik cache to the SD's ext partition. The data from /data/data still remains in the internal storage, but moving the apps and dalvik cache is a huge space saver.
IIRC moving some apps data from the /data/data (I think it was systems apps mostly but honestly I don't recall) to the ext partition may result in errors.
Right now the situation looks like this on my phone:
Code:
# df -h /data
Filesystem Size Used Available Use% Mounted on
/dev/block/mtdblock5 147.6M 102.8M 44.9M 70% /data
# du -sh /system/sd/*
200.3M /system/sd/app
8.0M /system/sd/app-private
54.9M /system/sd/dalvik-cache
# ls -1 /system/sd/app /system/sd/app-private | wc -l
129
Additional bonus:
Because the ext partition is not being unmounted when connecting the phone as external storage to a computer, you don't end up with screwed up app links, and disappearing widgets when you do.
good luck
thanks for the info.
2 things: what is S-OFF and is there a windows based procedure as I dont have a *.nix system
JaykaySLO said:
thanks for the info.
2 things: what is S-OFF and is there a windows based procedure as I dont have a *.nix system
Click to expand...
Click to collapse
This particular *.nix system in my example is the Android OS as seen from the adb shell.
Please search the forum for what S-OFF is, there are tons of tutorials and howtos on this subject, it's basicly an unlocked variant of the HBOOT bootloader. The standard HBOOT won't allow you to flash partitions using fastboot mode like in earlier HTC models, Dream for example.
My advice is not to touch the HBOOT if you're not familiar with it as screwing something up when trying to change it is the quickest way to a bricked phone.
best of luck
"To begin, you'll need a Linux or a Mac system and basic knowledge on how to navigate through your Linux or Mac via a terminal program. The tools presented in this guide will only work with those systems."
As u said, its best I dont mess with hboot.
First things first - I think it should be possible to flash boot.img from an update.zip (just a regular update from the recovery mode). So no S-OFF modification needed this way.
Or just ask around the forum. It could be possible to flash the boot partition on the device using flash_image. Since my phone is already s-off I can't verify that.
JaykaySLO said:
"To begin, you'll need a Linux or a Mac system
and basic knowledge on how to navigate through your Linux or Mac via a terminal program. The tools presented in this guide will only work with those systems."
As u said, its best I dont mess with hboot.
Click to expand...
Click to collapse
Ah, that My bad, I thought you meant the code in my post.
Well you need a *.nix-ish environment for that particular solution, but that doesn't necessarily has to be an actual Linux / MacOS box.
There are a couple of ways to work around not having a Linux / MacOSX box:
First: If you have at least some knowledge of operating a unix shell, you can just download a live boot linux distro in the form of ISO image. Download and install VirtualBox, run the iso from there.
Second choice would be Cygwin, which is basically your *.nix environment for Windows.
Third is to install just a Windows perl interpreter needed for some of the scripts, and download a windows version of the mkbootimg binary, and just do the whole procedure manually. You pretty much just have to be able to run:
1. perl
2. cpio
3. mkbootimg
You can google all the needed exe's, and then you google "how to unpack boot.img" and take your pick - OR just take a peak inside the scripts from the semi-automatic solution (the thread you just quoted). The scripts are simplicity itself, pretty much don't differ much from a simple windows / dos batch file.
Fourth is to ask someone you trust to prepare the image for you
Either way, you have to modify the init.rc to be able to run the a2sd scipt on android boot.
OFC you can just start the process manually from a Terminal Emulator directly on the phone, and repeat it every time after you power on the phone, but that's hardly a comfortable way to go
Tell you what. If you feel really courageous I can fashion up a web form for you (and anyone else interested) which could allow you to submit a boot.img and have it modifed automatically, allow you to download a modified version. But: no warranties and also I might end up being an evil sneaky, sneaky bastard Your call
Thanks for the comprehensive info, but I`m not willing to experiment too much for the sake of not bricking the phone. I thought there might be a simpler solution....
+1 from me, getting headache from running out of space, I read online saying EXT3 was the method to go, but how to do it with rooted stock rom? (I head the only way to root Desire 2.2 is unrevoked) , please help
hongkongtom said:
+1 from me, getting headache from running out of space, I read online saying EXT3 was the method to go, but how to do it with rooted stock rom? (I head the only way to root Desire 2.2 is unrevoked) , please help
Click to expand...
Click to collapse
Like I wrote in the earlier posts. Partition with AmonRA recovery, install Darktremors APPS2SD, modify the init.rc script located on the boot partition, flash the modified boot - just browse the earlier posts. There are links to threads containing all the info you need.

Possible to unroot/restrict custom rom?

Hi.
I installed a starburst ROM for someone but they are not technically minded so I was wondering if there was a way to restrict the user to not give any app super user so it acts like stock ROM but with all the looks of the custom rom. I don't want them breaking anything unintentionally!
Thank you.
Tell them to not **** around with it? You can't do stuff like that with custom roms. That is the whole point. If you want it to be "idiot-proof" then install a stock rom or even an RUU. Prob defeating the purpose of what your asking but still.
Ok so I downloaded the most convenient rom from shared roms and it only comes as an exe. When I run it on my Windows 7 x64 machine I just get an error message. I get the same error message when i run it on the xp virtual machine.
I look in the temp folder and I don't get a zip but a folder with a bunch if .ini files and a .cab file.
How do I install this???
Thanks!
If it's not a rom designed specifically for your phone (and operator) then you'll need to make a goldcard - GIYF.
Would of been nice to have the error posted but seems like it is the CID issue. Just make a Goldcard but remember to backup the SD card first.
I know how to install zips but this exe is confusing me.
When I run this I get an error before I see any action, but looking in %temp% I do get the files I mentioned before so it looks like the files are being extracted but are not being transferred.

[Q] UBUNTU

Im thinking of installing UBUNTU on my PC i just need to know how it works will it get rid of my vista ? I only ask cuase my wife will kill me if it does.
Please help I want to learn how to do more with my phone and it seems that UBUNTU is the way to go i cant get anything to work right on vista .
Thanks for any help sorry Im such a noob.
You can dual boot a computer with the OS you currently have and Ubuntu. I did it for years before I purchased my MacBook in '09. I really enjoyed Ubuntu but it has been a while since I last used it.
posting & replying via the XDA Premium app.
Yeah, you can add it as a dual boot, which is how most people do it.
HipKat said:
Yeah, you can add it as a dual boot, which is how most people do it.
Click to expand...
Click to collapse
Sorry for being such a noob but how do I do that?
Do I just download it from there site and install it I just don't want to mess up my wifes computer . Thanks for the help I will hit the button when I get to my PC they should add that option in this app.
Sent from my PC36100 using XDA App
When you run the CD, you *should* be prompted to choose to dual boot or not, if I remember correctly.
posting & replying via the XDA Premium app.
dougjamal said:
When you run the CD, you *should* be prompted to choose to dual boot or not, if I remember correctly.
posting & replying via the XDA Premium app.
Click to expand...
Click to collapse
Correct. Make sure to hit the "install with" and not to reformat the hard drive. If you reformat the hard drive it will erase windows. I ran dual boot for a couple months then finally decided to get rid if windows all together and stick with Linux/Ubuntu. (Great decision by the way)
Sent from "The EVO" using XDA Premium
A dual boot system isn't hard to do if you are installing both os's onto a harddrive that has been pre-partitioned to accomodate both.
If you set up a dual boot using the existing free space on your harddrive, you have to partition that free space for the other os and if it's not enough you can run out of space fast.
The easiest way for you since you stated you are new to this is to use a virtual machine such as vmware, virtual box, or cygwin and load ubuntu in that. In vmachines the image for the other os can be set to grow in size if it needs it.
lovethyEVO said:
A dual boot system isn't hard to do if you are installing both os's onto a harddrive that has been pre-partitioned to accomodate both.
If you set up a dual boot using the existing free space on your harddrive, you have to partition that free space for the other os and if it's not enough you can run out of space fast.
The easiest way for you since you stated you are new to this is to use a virtual machine such as vmware, virtual box, or cygwin and load ubuntu in that. In vmachines the image for the other os can be set to grow in size if it needs it.
Click to expand...
Click to collapse
How would I go about partitioning my harddrive I really want to use this and I've tried to install cygwin with no luck I must have done something wrong ?
Now I'm on the ubuntu site and there are different ways to do this it says download and install and there is another option to run it with windows. Now I can't use these without partitioning my harddrive I have like 100gb free memory left on there is that not allot and thanks for the help btw.
Sent from my PC36100 using XDA App
linsalata28 said:
How would I go about partitioning my harddrive I really want to use this and I've tried to install cygwin with no luck I must have done something wrong ?
Now I'm on the ubuntu site and there are different ways to do this it says download and install and there is another option to run it with windows. Now I can't use these without partitioning my harddrive I have like 100gb free memory left on there is that not allot and thanks for the help btw.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Vista has a disk management option that allows you to partition your disks.
Virtualbox is an easier setup for novices IMO but you still need to download the ubuntu iso to install into virtualbox.
Your 100GB free space can be used to make an 80GB partition for ubuntu which will be plenty. But I still suggest you use a virtual machine first before going the dual boot route.
Check dsixdas kitchen thread here in xda to get a tutorial on setting up ubuntu in virtualbox.
If you want to go dual boot, the best thing to do is read over the install instructions before you do anything so you're familiar with the steps. Google installing Ubuntu Dual Boot, too and you'll find a lot if info on how much space to set up for the Linux Partition, which, during install,m you have the choice to set yourself, or you can let the installer use a default size for the partition.
I remember I tried to do this on an old computer once.
Ended up overwriting windows and ****ed everything up. Especially since I couldn't even get Ubuntu to boot.
Might try it again and actually read some instructions first this time.
I just read this thread last night, and it inspired me to try dual booting Ubuntu. I had always wanted to try it, but never got around to reading up on it. Everything went smooth, and I'm now learning Ubuntu. Seems pretty nice so far, and installing it was a breeze for me. Nothing got jacked up, which is always good!
Sent from my PC36100 using XDA App
k2buckley said:
I just read this thread last night, and it inspired me to try dual booting Ubuntu. I had always wanted to try it, but never got around to reading up on it. Everything went smooth, and I'm now learning Ubuntu. Seems pretty nice so far, and installing it was a breeze for me. Nothing got jacked up, which is always good!
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
I still didn't get to try it out but what method did you use it sound like what I'm looking to do ?
Sent from my PC36100 using XDA App
It is really nice to have access to both. I had to use my Ubuntu install to Root my EVO. It wouldn't work in Windows, so having a choice was great.
There's a lot to learn with Linux, in general, the command lines, etc, just Google as much as you can, and you'll find all the answers you need.
Also #Ubuntu on IRC is a great place to ask questions.
You people are nubs
Use the install inside windows option.... it will allow you to install ubuntu from within windows and DO ALL THE WORK for you...it adds ubuntu as a second boot option sindie of windows's bootloader... it will boot primarily into windows and at the boot screen after turning your comp on just press down and select the second option which would be ubuntu.
If you need any help just pm me. I have this set up running and ubuntu on my ext hard drive as well.
surprising that nobody's said this is a phone forum yet. this is a good thing. and i've asked more off topic...
either way, i've been trying for a while and haven't been able to install it on my late 09 imac. i mean i've tried forrever and still can't get it. anybody kno?
cmsjr123 said:
You people are nubs
Use the install inside windows option.... it will allow you to install ubuntu from within windows and DO ALL THE WORK for you...it adds ubuntu as a second boot option sindie of windows's bootloader... it will boot primarily into windows and at the boot screen after turning your comp on just press down and select the second option which would be ubuntu.
If you need any help just pm me. I have this set up running and ubuntu on my ext hard drive as well.
Click to expand...
Click to collapse
Maybe you should read the entire thread.....

Need help setting up Ubuntu please:)

Hey guys I have a question, hopefully someone can help me out here. My overall goal is to set up Ubuntu to compile a pure aosp ROM for the toro nexus. Below are my laptop specs.
I have a HP Pavilion dv7 notebook PC. Intel core i5-2410m CPU @ 2.30ghz. 64bit operating system windows 7 home premium. It says I have 8.00gb installed memory (ram). The local disk [c:] has 587gb free out of 683gb.
Okay so I asked what version of Ubuntu to use before and someone told me if I want to build I should get 12.10 so that's what I downloaded and installed. I used the Windows installer from ubuntu.com to install it. I did 32x installation because that was "recommended". Also during setup I allowed only the default 18gb. I have the option to go to 30gb. When I ran 18gb ubuntu was pretty laggy. Would using a bigger installation size help or do i need more ram? Is it possible to build on this laptop or not? Sorry, total noob here, just trying to get started is all.
FYI I am only trying to run Ubuntu along side windows for now so there's that, too.
Thanks in advance for any help
Here's a pic of the installer I'm talking about
As far as your laptop is concerned it should be capable of building. I have seen folks report successful builds with lesser specs than what you have.
For ICS and above you need 64bit OS. So your 32bit Ubuntu won't do the trick. I apologize for not being able to link properly, I am lame and don't post here often. source.android.com/source/initializing.html <-- It is mentioned there.
As far as how much disk space you should partition? According to that link above 30GB is the minimum recommended for a single build. More for multiple. I personally would probably recommend more if you can spare it, especially if you plan on doing other things with your Ubuntu setup.
Just follow the guide in General, there's even a video on what to do!
http://forum.xda-developers.com/showthread.php?t=1386615
Thanks guys, almost done setting up my build environment. Used the 64x setup with 30gb install. So far so good.
RoyJ said:
Thanks guys, almost done setting up my build environment. Used the 64x setup with 30gb install. So far so good.
Click to expand...
Click to collapse
What are planning to do? If your building android 4.x from source you need at least 25GB for one build. As you have a lot of free hard drive I strongly recommend partitioning your hard drive and installing Ubuntu on a second partition so you can give it well over 100GB space
Sent from my Nexus 7 using xda premium
zacthespack said:
What are planning to do? If your building android 4.x from source you need at least 25GB for one build. As you have a lot of free hard drive I strongly recommend partitioning your hard drive and installing Ubuntu on a second partition so you can give it well over 100GB space
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Well just for a start I want to build a 100% pure aosp 4.1.2 ROM from source just to do it. Then idk, I'll worry about it once I get a running build I guess.
How exactly would I go about doing that? I have 30gb free, but I suppose 100+ would be great. Is there a way to do this without wiping windows? This is a shared computer so I can't just put only Ubuntu on it. :/
Sorry for the beginner questions, I've never used Linux before. This is all new to me, but I'm getting the hang of it. I'm not completely overwhelmed, yet.
Boot to Ubuntu CD or USB and when installing it asks you to resize and partition. Its automatic.
The windows installer sucks. Don't use that.
Sent from my Nexus 7 using Tapatalk 2
I think these questions (people who don't know Linux) belong in that distro's forums. Help would be far more comprehensive, not to mention Ubuntu itself has a wiki.
Sent from my i9250
when installing ubuntu from gui there will ask u to install on whole disk or install alongside of existin system .. just click that...if u want to u can also partition disk with partition manager or any program in windows ...then just install it in ubuntu installer ...plus ..check youtube ..
sent from GneX

Categories

Resources