[Q] i9000 and Linux (Ubuntu 10.04 / 10.10) - Galaxy S I9000 Q&A, Help & Troubleshooting

Does anybody run Linux at home, and if so does the I9000 pop up as a removeable device? Do I lose any awesome features by not being able to use Kies? Remote control of phone is not that useful to me.
I'll be spending the latter part of today (hopefully) finding this out for myself, but it may help if I can just return the phone on the day of delivery that faff about sending it later in the week.

Ubuntu - use usb select on connection in about phone usb and debug off in development usb Then connect phone and choose mount from the homesceen dropdown. Ubuntu will mount the sdcards I also got Kies to work with Win7 on virtual box under ubuntu - you must have the default launcher though
Sent from my GT-I9000 using XDA App

Excellent, although I've just remembered that I'm getting Windows 7 anyway. Gaming through WINE is a PITA.
Yay for education discounts!

On Ubuntu Mass Storage mode works fine, mounts the internal and external SD cards. You can also use ADB to access the phone if you set it to debug mode. There is just a funny where you need to register the USD device but if you are only wanting to access the data then you don;t need to worry about this.

Is'nt it sad that you have to use MS to work with a linux device?
Sent from my GT-I9000 using XDA App

kb909 said:
Is'nt it sad that you have to use MS to work with a linux device?
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
I'm a little concerned that they will be issuing updates via Kies... since I don't have a windows disk to run in a Virtual Machine. So I guess that means I don't have the option of running a stock Froyo... Linix only people will probably have to wait for a friendly DEV to produce a custom rom based on the stock update. you can use the tool called Heimdall for that sort of thing in linux. (it's like Odin but command line based.)

are you guys using the ubuntu for netbook or regular ubuntu desktop, or the server version of ubuntu ?

AllGamer said:
are you guys using the ubuntu for netbook or regular ubuntu desktop, or the server version of ubuntu ?
Click to expand...
Click to collapse
Ubuntu 10.4 Desktop
Ubuntu 10.10 Desktop
Ubuntu 10.10 Netbook
haven't tried with the server variant
the phone is recognized via USB all modes. regular boot as a Removable device, regular boot in Debug mode, Recovery mode, and Download mode.

Related

Windows XP Mode

Does anyone here know if it's possilbe to do a full clean install of the free Windows XP Mode that you can get with the Windows 7 Virtual machine?
I do know it's possilbe to convert a .vhd into a .iso file which can be burned to disk but i can't find anything on google that would help me with this.
Any help would be appreciated.
If I understand correctly you want to V2P (virtual 2 physical).
I wonder if since Windows 7 bootloader allows you to boot vhd file's if you can boot the Windows xp mode vhd.
Also I think clonezilla will allow you to dd the vhd to a physical disk.
Sent from my HTC Desire using XDA App
...
converting a vhd to ISO? that's uh not going to work buddy.
i have no idea hwat you're trying to do, but based on experiance drop xp mode, use vpc2007, virtualbox or vmware. vmware can physically access drives, which is..extremely handy.
Yup, that's exactly what i want to do, is to make the .vhd to physical so i can full install it at boot then dual boot windows 7 and windows XP without the need of useing Virtual PC all the time when i want to use XP.
It should be possible in everyway and i also have a genuine key for Windows XP Mode that come with the download from microsoft.
it isnt going to work. repartition your drive and use a real xp.
xp doesnt like being swapped between hardware configs. specially with whatever insane method win7 uses to boot to vhd files.
so i no its naughty but if you have a legit key then just download xp, with a built in key, then use jellybean to activate your legit key, prob get flamed for that info but fine if u are telling the truth

odin in linux via virtual box

i use linux on my home pc and i have not seen a thread or qestion answered about flashing odin from linux so i tried it myself, forgive me if it has been covered before.
i was able to successfully flash with odin using windeows running inside a vm. my vm software is sun virtual box.
before you do this read the instructions for running odin in widows as i dont go into odin specific detail here.
1. created virtual machine.
2. installed windows XP sp2 on virtual machine
3. installed the newwest version of .net framework(i read that helps but it may have been in reference to kies)
4. dowloaded odin and the proper windows drivers and .pit file and jh2
5. shut down the virtual machine
6. put phone into download mode
7. plugged phone into usb port
8. went into virtual box without the VM running and select
machine>settings>usb
9. clicked the add device icon on the right and clicked on samsung_android[0400]
10. started virtual machine
11. started odin and added the proper .pit file and .tar file
12. pulled batery from phone and put into download mode again and connected the usb and selected devices from the top of the window, selected "samsung_android [0400]"
at this point odin should see the device. if not you may need to reselect the phone in the vm window, do this quickly as there seems to be a time window to start the conection.
simply click start!
this may work in vmware and other vm type software for mac and linux as long as you can mount usb devices to the vm as soon as they are hooked up. if it can be done by com port and not device that may be even better.
i have only done this with virtual box 3.2 running widows XP inside mint 9
if it fails i am not responsible for damage to your device. and in the event it doesn't work go find a friend with windows and run it the proper way! windows machines aren't hard to find!
this worked for my iphone with itunes but was trickier as the driver changes halfway through and that is why i thought this would work.
wine does not work, i have not been able to use wine with software for any device that need drivers when running in widows. so please dont ask!
Not running Linux except for my G1 theme dev,but thanks for the info.
Sent from my SAMSUNG-SGH-I897 using XDA App
I can verify VirtualBox works great for this. Qemu didn't, afaict none of the host USB access options work as documented.
Vmware also works perfectly.
Sent from my GT-I9000 using XDA App
Wouldn't Wine work as well? I haven't tried yet from Wine, but I might now that I read this.
I can never get the USB to attach using VBox, everytime I try to attach the device to my client, I get an error message.
ponack said:
Wouldn't Wine work as well? I haven't tried yet from Wine, but I might now that I read this.
Click to expand...
Click to collapse
wine will not work. it doesn't support USB plugging
Wine is a set of libraries and a loader providing a windows-compatible environment for applications, so in general windows drivers do not work with it. There are patches for USB driver support, but installing drivers is a tedious manual task and results are not consistently very good. VBox is known to work and is fairly easy to set up.
Sent from my SAMSUNG-SGH-I897 using XDA App
Unhelpful said:
Wine is a set of libraries and a loader providing a windows-compatible environment for applications, so in general windows drivers do not work with it. There are patches for USB driver support, but installing drivers is a tedious manual task and results are not consistently very good. VBox is known to work and is fairly easy to set up.
Click to expand...
Click to collapse
Yeah, I figured that out after I posted - I was like wait, there's drivers that need to be installed. Oops.
Unhelpful said:
Wine is a set of libraries and a loader providing a windows-compatible environment for applications, so in general windows drivers do not work with it. There are patches for USB driver support, but installing drivers is a tedious manual task and results are not consistently very good. VBox is known to work and is fairly easy to set up.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Couldn't have said it better, I have tried wine with lots of software but never got the usb end of things to work. Odin does open under wine but I have no idea how to tell it to see the phone as it would see a windows driver that sees the phone.if that makes sense.
There are things I can try but if feel I'd be wasting my time as I don't know enough to be sure I'm on the right path.
Sent from my SAMSUNG-SGH-I897 using Tapatalk
TimF said:
I can never get the USB to attach using VBox, everytime I try to attach the device to my client, I get an error message.
Click to expand...
Click to collapse
I'm not sure if I'm on the right track here. To use usb you need to add the device to a list of mountable devices to the vm. With the virtual machine off go settings> devices> usb. The phone should be hooked up and in download mode to ensure that it is seen to the vm exactly as it will be during the odin flash. Once it is on the list it should work. If this is what you are doing I'm not sure I can help, maybe the devs will have more insight.
Sent from my SAMSUNG-SGH-I897 using Tapatalk
Dani897 said:
I'm not sure if I'm on the right track here. To use usb you need to add the device to a list of mountable devices to the vm. With the virtual machine off go settings> devices> usb. The phone should be hooked up and in download mode to ensure that it is seen to the vm exactly as it will be during the odin flash. Once it is on the list it should work. If this is what you are doing I'm not sure I can help, maybe the devs will have more insight.
Sent from my SAMSUNG-SGH-I897 using Tapatalk
Click to expand...
Click to collapse
So if you do a "lsusb" form the linux box when your phone is in "download" mode do you see the phone?
I can only get it to show up in "recovery" mode... there for I'm having a bit of a problem getting the VM to see it is not seen in linux...
pietro_spina said:
So if you do a "lsusb" form the linux box when your phone is in "download" mode do you see the phone?
I can only get it to show up in "recovery" mode... there for I'm having a bit of a problem getting the VM to see it is not seen in linux...
Click to expand...
Click to collapse
well I can see it in download mode now... It was just the stupid front ports on my computer. Seems to prefer the back ones...
so now a device is visible in my windows VM but it is called "Gadget Serial"
When it is in "recovery" windows VM can see it as Samsung etc.. and Odin can connect... But obviously odin needs it to be in "download" not "recovery" for it to work.
I've problems trying it...
In normal mode all works and VM detects correctly...
But when I put the phone in Download Mode, "lsusb" freezes...
any ideas?
Maybe I'm missing the point of this thread, by why would you go to all the trouble of hacking around to try to make buggy Odin work under Linux instead of just using Heimdall, which is supported natively under Linux?
Gromlakh said:
Maybe I'm missing the point of this thread, by why would you go to all the trouble of hacking around to try to make buggy Odin work under Linux instead of just using Heimdall, which is supported natively under Linux?
Click to expand...
Click to collapse
I swear, I was just about to ask the same thing.
Seems pointless and convoluted to muck around in VMs when there is a native solution.
Gromlakh said:
Maybe I'm missing the point of this thread, by why would you go to all the trouble of hacking around to try to make buggy Odin work under Linux instead of just using Heimdall, which is supported natively under Linux?
Click to expand...
Click to collapse
mystichobo said:
I swear, I was just about to ask the same thing.
Seems pointless and convoluted to muck around in VMs when there is a native solution.
Click to expand...
Click to collapse
this thread was risen from the dead.....
for no reason as you have mentioned. look at the date of the OP, and realize that heimdall wasnt always available

bricked captivate

i can get into recovery mode but the current update.zip file on my internal sd is a bad file. is there a way to replaced that update.zip with a stock rom or a custom rom of some sort. the phone is stuck on the boot screen. I only see AT&T. I can here the boot sequence but nothing else.
I tried to flash a theme mod but apparently it was for the desire.
I tried to use the OD1N but that is for pc.
I don't know any solutions here that will work without Odin, but the good news is that Odin works great in VirtualBox - this is how I fix my phone when I flash a new kernel that just doesn't work.
Sent from my SAMSUNG-SGH-I897 using XDA App
so i can download virtual box and run it that way? do i need to have a windows xp installation disk or something? is virtual box simlar to boot camp or parrallels.
VirtualBox is virtual machine software. You will need Windows installation media, yes. If you have another VM you other that you know offers pass-through support for USB devices attached to the host, feel free to use that instead. QEMU didn't work for me, I tried VirtualBox after hearing it worked for somebody else, and stopped there because it worked for me.
Sent from my SAMSUNG-SGH-I897 using XDA App

Help -- Fried my Computer

So.... I have a crappy Sony VAIO laptop and I installed windows 8 release preview on it. It worked fine for about a day then I wanted Ubuntu back so I installed the windows version thinking I would dual boot. Yeah right. Now my computer will not go into anything but the windows recovery thing. If I go to "use a different OS" I have 2 windows 8s both on the same volume (volume 3). It won't automatic repair (says that it couldn't fix my computer and I'm missing SrtTrail.txt) and it will not refresh (says that it can't refresh and no changes were made). I created recovery media from a desktop computer with windows 8 release preview and my computer doesnt even recognize the flash drive in "reset your PC". I need help as I am an android developer and I NEED Ubuntu back. Thank you.
Sent from my Galaxy Nexus using xda premium
Since this has nothing to do with mobile devices, moved to Off-Topic.
BiteBlaze said:
So.... I have a crappy Sony VAIO laptop and I installed windows 8 release preview on it. It worked fine for about a day then I wanted Ubuntu back so I installed the windows version thinking I would dual boot. Yeah right. Now my computer will not go into anything but the windows recovery thing. If I go to "use a different OS" I have 2 windows 8s both on the same volume (volume 3). It won't automatic repair (says that it couldn't fix my computer and I'm missing SrtTrail.txt) and it will not refresh (says that it can't refresh and no changes were made). I created recovery media from a desktop computer with windows 8 release preview and my computer doesnt even recognize the flash drive in "reset your PC". I need help as I am an android developer and I NEED Ubuntu back. Thank you.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Get the ubuntu disk, pop it in, boot from CD, start new install, format the whole hard drive, wait for Ubuntu to install.
jaszek said:
Get the ubuntu disk, pop it in, boot from CD, start new install, format the whole hard drive, wait for Ubuntu to install.
Click to expand...
Click to collapse
Back up info first though...
Sent from my Galaxy Nexus using Tapatalk 2
The problem with windows8 is it installs its on bootloader and once you delete windows 8 from that partition the bootloader gets confused and still thinks windows 8 is the primary os.
You want to download easyBCD to delete windows 8 from the boot menu this will allow you to select the os originally installed.

[Q] Linux

Hello,
I am a Windows user and want to try Linux on my pc. It's possible to install Linux if i came from Windows ? If yes, then how ?
Of course it's possible, Linux is an awesome OS, I'm using Ubuntu it looks wonderful and works amazingly fast.
If you want to use ubuntu take a look at
http://www.ubuntu.com/
You can choose to use Linux as your only OS or dual boot with windows, if you have issues or if you don't know how to install it, you can try wubi
http://www.ubuntu.com/download/desktop/windows-installer
if you have a USB stick use Unetbootin or something like that to install linux on the stick. Once you have it on a stick you can boot and run linux off the stick so that nothing ever happens to your HD.
Also, once you download linux (most if not all) distros allow you run the OS to check it out and see if the drivers are compatible etc. Have a look...there are Many distros, they all have their place.
Ya, i know Linux is a great OS. I heard that it's more appropriate OS for such things like Android hacking, developing because Android OS is based on Linux.
In terms of installation, i'd prefer method using a DVD disc. So, what version i need to download and burn to the disc ?
What sort of specification is the PC that you want to run Linux on? If it's a fairly modern PC then you might be better placed downloading a copy of VMware Player and a VM Image of a Linux distro (Mint, Ubuntu, Fedora) - that way you can just run it without affecting your PC at all or having to worry about USB booting, dual-booting etc.
SimonTS said:
What sort of specification is the PC that you want to run Linux on? If it's a fairly modern PC then you might be better placed downloading a copy of VMware Player and a VM Image of a Linux distro (Mint, Ubuntu, Fedora) - that way you can just run it without affecting your PC at all or having to worry about USB booting, dual-booting etc.
Click to expand...
Click to collapse
My laptop spec's: 2-core x64 bit intel cpu, 2gb of ram, 256mb vga, 1366 x 768 resolution.
Actually i'd like to run with dual-boot... Windows 7+Linux. So, which is better - Mint, Ubuntu or Fedora ? Gonna use more for android development purposes, not for gaming. Any suggestions guys ?
Mariacci said:
My laptop spec's: 2-core x64 bit intel cpu, 2gb of ram, 256mb vga, 1366 x 768 resolution.
Actually i'd like to run with dual-boot... Windows 7+Linux. So, which is better - Mint, Ubuntu or Fedora ? Gonna use more for android development purposes, not for gaming. Any suggestions guys ?
Click to expand...
Click to collapse
Before you run dual-boot, download each of the distros and run them as a Live image - try them out for a while. Mint is an improvement (IMHO) on Ubuntu, but they are very much the same base. Fedora is totally different.
I personally use Linux Mint. I have found that it integrates very well with everything I tend to use my computer for. To get a good base of what you like, I would recommend trying out both Linux Mint and OpenSuse live disks before you install one.
In the meantime, check out Wubi .
What is Wubi?
Wubi is an officially supported installer for Windows users that allows Ubuntu to be installed and uninstalled in a safe, easy way as with any other Windows application.
Mariacci said:
My laptop spec's: 2-core x64 bit intel cpu, 2gb of ram, 256mb vga, 1366 x 768 resolution.
Actually i'd like to run with dual-boot... Windows 7+Linux. So, which is better - Mint, Ubuntu or Fedora ? Gonna use more for android development purposes, not for gaming. Any suggestions guys ?
Click to expand...
Click to collapse
http://distrowatch.com/
Here is a list of the top 100 linux distros. It is also a news site and good general knowledge.
Out of the options above, if you want only to use it for android and nothing else, go for Mint, it will most likely 'work' the best. But later on as you learn linux you will want to change and try other distros.
You can also have different window managers on one distro...personally I love E17 but it is underdeveloped. Have a look at the website above.
Moved to Off-Topic.
Rizur said:
In the meantime, check out Wubi .
What is Wubi?
Wubi is an officially supported installer for Windows users that allows Ubuntu to be installed and uninstalled in a safe, easy way as with any other Windows application.
Click to expand...
Click to collapse
WUBI can only do 30GB installation though. How can you do an installation that is bigger than that?
I love ubuntu
Sent from my SAMSUNG-SGH-I997 using XDA
Ok so I tried installing Ubuntu but some error happened (something about it not being able to save the bootloader or something like that) and it cancelled the installation. Now I boot into windows and when I go into Disk Management there's 37GB of free space that I can't do anything to. I can't delete it to expand C drive. So I've got 37 GB sitting around not doing anything. wtf do I do?
When I try to delete it gives me this error.
veeman said:
Ok so I tried installing Ubuntu but some error happened (something about it not being able to save the bootloader or something like that) and it cancelled the installation. Now I boot into windows and when I go into Disk Management there's 37GB of free space that I can't do anything to. I can't delete it to expand C drive. So I've got 37 GB sitting around not doing anything. wtf do I do?
When I try to delete it gives me this error.
Click to expand...
Click to collapse
Windows cant read EXT2/3/4 partitions that are used in linux so as far as windows is concerened that part of the hard drive does not exist. as such the built in windows partition editor cant work with it
i use a live linux distro callled PartedMagic. it fits on a 1 gig USBstick all the instructions for creating that stick are on their site. from there you can resize your windows partition to reclaim that space. or you can reformat it to NTFS so that windows can see it as another drive. PartedMagic is also great for accessing your data should windows refuse to boot and accessing the OEM partition so you can reinstall windows if a virus screws it up.
If you resize a windows partition dont be alarmed if windows gose through its check disk routine on its first boot. Widows usually has a little freakout every time you resize its partition.
Of course it's possible!
But it depends on what you mean by install...?
Do you wish to virtualize it or actually install it to a physical partition?
Linux is an amazing OS, I've been thinking of switching to it full time, and just virtualizing windows on it. I recommend Linux Mint.
I ditched Linux after I went nVidia
Sent from my Nexus S using xda premium
scoffyburito said:
I ditched Linux after I went nVidia
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
I ditched nVidia after I went Linux
---------- Post added at 12:07 PM ---------- Previous post was at 12:04 PM ----------
veeman said:
Ok so I tried installing Ubuntu but some error happened (something about it not being able to save the bootloader or something like that) and it cancelled the installation. Now I boot into windows and when I go into Disk Management there's 37GB of free space that I can't do anything to. I can't delete it to expand C drive. So I've got 37 GB sitting around not doing anything. wtf do I do?
When I try to delete it gives me this error.
Click to expand...
Click to collapse
You can try GParted
freebsd compilation will go or not?
Use the WUBI installer. Some folks say it's a bit slower than running Ubuntu on a dedicated partition, but on your dual core pc, you'll never see a difference. Some say a WUBI install is less stable, but I've been using the same WUBI installation for over a year with not a single problem. It is true that it will only install up to 30 Gb but you can re-size your disk.img however big you want later if you decide you need more space, and you also have access to your Windows HDD space from within Ubuntu. Installation is super simple, and you won't have to mess with partitioning your HDD. I would go with Ubuntu 10.10 personally, because 11.XX uses the Unity gui and I think Unity sucks compared to Gnome2 which comes with 10.XX.
Sent from my Galaxy Mini (SGH-T499) using XDA App

Categories

Resources