Related
After searching for this and coming up short on answers (found a lot of questions), I reside to asking the question here.
I tried to start developing android applications today and thought it would be quite seamless procedure. I had read how developer friendly android was supposed to be. However to me it seems quite far from the truth I have yet to find a way to run eclipse+adt on my win7 64bit without epic lags and crashes.
Is eclipse better in ubuntu or am I doing something completely wrong with my setup. Because currently it seems more easy to configure dual boot than to make eclipse work.
I use the following setup:
win 7 x64
Java SDK 1.6 x64
Latest android SDK
Eclipse 3.5.2
Latest ADT
Hi, I don't have any suggestions for running eclipse in win 7..however I do also run win7/ubuntu.
I highly recommend using sun virtualbox on windows 7 to install ubuntu . I do this, and use eclipse on ubuntu. Works great. With very little work, you can run full screen after starting your virtual box and it's nearly identical to dual booting.
good luck getting windows 7 to work, I've meant to install eclipse but since ubuntu has been working so well.. i haven't had a need.
Thanks a lot for the answer. Very appreciated.
Seems like a really smart way to avoid the hassle of installing dualboot. Going to try it later today.
Hey guys, I've been using Windows Vista 32 bit 86x to do some of my theming work and APK(s) editing and I do not like how Windows is handling all of this. I've got way too much junk spread all over (tools, folders, editing programs, etc) to keep up with all this. I've been reading on Ubuntu and it is the programmer's choice in using to develop apps, themes, and editing APK(s).
I took the tour on Ubuntu and liked a lot of what I saw and thought it was perfect for app development and other stuff. No need to download so many stuff and end up losing track of most of your tools and such.
So, what I did was I did a factory image restore on my Dell Inspiron 1525 with Windows Vista 32 bit 86x and got rid of everything and saved important stuff on my external hard drive. Now I'm debating the use of Ubuntu as the sole system operation or installing along-side of Windows.
What would be necessary for me to do? I hate how Windows handles some of my work and don't see how it will benefit me in continuing my android app development and getting started.
I've also ordered a couple books on Android App Development and Java coding on Android platform. I'm in the process of trying to figure out what would be wise for me to do with Ubuntu here.
Any help is much appreciated. I will be using the books to help me step by step in developing app(s). But I'll take any tips that anyone is willing to give insight on!
just for app development i dont think a linux distro is needed.
if you are going into compiling kernels / compiling android sources you might need at least a VM with linux running afaik(but a full installation of a linux distro would be better i guess).
Personally, I wouldn't ever be without a windows machine. Ubuntu can do almost everything you'll ever need but you just never know when you might need to use a windows program that is not available for linux. So if your laptop is your only computer, I would dual boot for sure. If you have another windows machine, then I guess it doesn't really matter. But umm.. what exactly is your question anyway?
I'm just trying to get a better clarification for using Ubuntu and if it would be more wise to install it along-side Windows Vista (dual boot) or install it as the sole operating system instead of Windows Vista.
I do like Windows Vista for other things but it's been annoying trying to get it to work properly because some tools work better on Linux (Ubuntu).
Also, I had Java SDK, JDK, and latest version of Java on Windows Vista but from other threads or posts I've heard that the Java SDK Manager, along with Eclipse, work a lot better on Ubuntu. But of course there are other mixed reviews from others saying it works better on Windows Vista or Windows 7 (whichever they are using).
I always do research before I go doing something that has the potential of creating regrets (due to errors or not knowing much about this or that) or gets too confusing and become lost in reverting back to the way it was before I did something.
I do have a Windows XP Home Edition desktop (the latest one before Vista came out). Problem is it got the blue screen of death (doing memory dump) and I never really got it to recover from that. I wonder if the desktop Ubuntu disc can write over all that and make it work again, but only as a Ubuntu operating system?
I've always dual booted. Mostly because the games I play on my laptop are windows games. Keep this in mind, when you partition the drives. Linux can read NTFS/FAT, but windows has issues with ext. So don't worry about making a HUGE partition as ext for ubuntu. (I usually make a folder in windows on my c drive to send files back and forth). If you're using Ubuntu, you might want to look into using WUBI, makes installation a breeze.
it is no big deal at all.
it is better to have ubuntu run on the hardware not in VM.
you can have a dual boot
and install Eclipse and the plug-ins which will provide you will tools for android development.
Just wanted to post a notice of success story of getting SEUS and Flashtool working under Ubuntu 11.04 with Virtualbox installed from the repository running Windows XP. This means that it IS possible to use both of these tools just fine under Linux (with Windows running as a guest). Looking around the web a few weeks ago led me to believe that it couldn't be done, as some people (Mac users IIRC) were having issues getting Virtualbox to properly handle the X10 when it is in flash mode. Here are the steps that worked for me:
1. Install Virtualbox from Ubuntu Software Center
2. Create a Windows XP virtual machine and install Windows
3. Add your username to the group "vboxusers" in Ubuntu (this will allow the VM to use USB devices) and reboot to apply the change.
4. Create a blank filter under USB in the settings of the main Virtualbox menu so that all USB devices can be picked up automatically.
5. Run SEUS and check for updates, first time doesn't work because it installs the drivers for flash mode, second time worked fine for me.
6. Use Flashtool, etc. as you like - fully functional.
It was just nice to realize I didn't have to look around for a Windows machine to borrow for the amount of time it takes to test out different basebands and custom ROMs/kernels, so I thought I would share here.
Post a link to this thread in the Flashtool thread...
Should be helpful for others...
sent from x10 CM7 (FreeXperia Project)
Amazing how i was told Vbox cannot do this.
Well done.
This is awesome. My SATA connector on the mainboard just broke and the disks attatched to it was my Windows 7 installation. Now that that is gone (until I get it fixed) I'll have to use this method because I had my Linux running on the reserve/backup PATA disk (just in case **** happens, and it came in handy now).
And I really don't want to re-partition those disks, reinstalling Windows, reinstalling Mint (Fixing possible GRUB or MBR issues etc.) So this is gonna come in very very handy.
As I'm writing this I'm installing XP in VirtualBox.
I had to reboot linux after adding the username to the vboxusers group before it could pick up my USB ports.
But else it's working flawlessly...
Original post updated with reboot instructions, thanks! Glad to hear it's working for you too.
Flashtool works in VirtualBox for Mac Users
Hi Everyone,
I confirm that it works in Virtualbox for Mac. The point was: create a blank filter for USB. I did it under the windows machine.
Thank You coverup!
coverup said:
4. Create a blank filter under USB in the settings of the main Virtualbox menu so that all USB devices can be picked up automatically.
Click to expand...
Click to collapse
This is the key point
I have been using it for past 2-3 months didn't knew that general opinion was that it doesn't works.
well i don't have a filter coz i use my usb devices on linux most of the time so i manually add device.
confirmed working on both virtualbox and VMWare too.........
anantshri said:
This is the key point
I have been using it for past 2-3 months didn't knew that general opinion was that it doesn't works.
well i don't have a filter coz i use my usb devices on linux most of the time so i manually add device.
confirmed working on both virtualbox and VMWare too.........
Click to expand...
Click to collapse
Manually adding doesn't work on mac, but it works on linux.
arkedk said:
I had to reboot linux after adding the username to the vboxusers group before it could pick up my USB ports.
But else it's working flawlessly...
Click to expand...
Click to collapse
I suppose reboot is not exactly necessary for linux. You just need to logout and login again to update the granted groups.
I didn't create a blank USB filter, because I don't want to catch every USB device.
Instead I created a filter for all devices with just the VendorId '0fce' to catch all states of my X10.
Amazing great work ,,Well done.
m.maga said:
Hi Everyone,
I confirm that it works in Virtualbox for Mac. The point was: create a blank filter for USB. I did it under the windows machine.
Thank You coverup!
Click to expand...
Click to collapse
anantshri said:
This is the key point
I have been using it for past 2-3 months didn't knew that general opinion was that it doesn't works.
well i don't have a filter coz i use my usb devices on linux most of the time so i manually add device.
confirmed working on both virtualbox and VMWare too.........
Click to expand...
Click to collapse
Hmm... Not working for me with virtualbox, a mac host and a Win XP guest.
First tried manually adding. Next, I put a blank USB rule at the top of the USB filters. This time, it successfully captured and the hardware install wizard popped up. FlashTool did not recognize the phone.
Soooo.... are drivers from SEUS needed (unclear on that)? Sony pulled SEUS for x10, by the way. If needed, has someone mirrored it somewhere? USB drivers are installed - FT and adb work fine when phone normally booted.
I'm using parallel 7 on osx lion
windows 7 runs very smoothly and it can read my phone's sd card
but x10 is not recognized in flash tool
i thought virtual box and parallel are similar
so how to create a blank filter under USB in the settings ?
m.maga said:
Hi Everyone,
I confirm that it works in Virtualbox for Mac. The point was: create a blank filter for USB. I did it under the windows machine.
Thank You coverup!
Click to expand...
Click to collapse
anakinlam95 said:
I'm using parallel 7 on osx lion
windows 7 runs very smoothly and it can read my phone's sd card
but x10 is not recognized in flash tool
i thought virtual box and parallel are similar
so how to create a blank filter under USB in the settings ?
Click to expand...
Click to collapse
I figured out my problem. It was just as I expected. A different set of drivers is needed to use flashtool to flash when the phone is in flash mode. It seems that many people take this for granted, since they've had an xperia for a while, it isn't explicitly mentioned in the flashtool posts.
The flashtool folder will something called gordons gate (IIRC). If you didn't install that and try again.
Does it really work? I just found out there is a problem for ADB working under windows 7 as a guest. It is also documented as a bug
https://www.virtualbox.org/ticket/6620
Given problem with that, I am very leery to even want to flash anything with that even though it is using a different driver.
Very good! After a lot of research. I was already trying fastboot, unsuccessfully, when I found this. Worked perfectly on Ubuntu 11.10 32b & VirtualBox.
One point I'd like to mention is that even creating the blank filter, besides flashing worked on first try, adb was not finding the device. I had to manually attach it, and more than once while rooting it. Pretty easy, but was unexpected and I wasn't waiting for something like that. May help others.
I still have to try filtering by verdor ID as suggested by User Name in post #10.
Thanks!
rapchan said:
Very good! After a lot of research. I was already trying fastboot, unsuccessfully, when I found this. Worked perfectly on Ubuntu 11.10 32b & VirtualBox.
One point I'd like to mention is that even creating the blank filter, besides flashing worked on first try, adb was not finding the device. I had to manually attach it, and more than once while rooting it. Pretty easy, but was unexpected and I wasn't waiting for something like that. May help others.
I still have to try filtering by verdor ID as suggested by User Name in post #10.
Thanks!
Click to expand...
Click to collapse
Dear all guys,
Does anybody know if is possible to use MTK Flashtool under a windows xp virtual machine (host-linux from virtualbox) in order to flash ROMS ¿?
I have already do this step "4. Create a blank filter under USB in the settings of the main Virtualbox menu so that all USB devices can be picked up automatically". But when i try to flash any ROM nothing happens. The preloader is not detected.. i get an error message similat this: "The usb-device is already in use on Host-linux.."
I would like to use MTK Flashtool on linux under a xp virtual machine
Regards.
m3n3chm0 said:
Dear all guys,
Does anybody know if is possible to use MTK Flashtool under a windows xp virtual machine (host-linux from virtualbox) in order to flash ROMS ¿?
I have already do this step "4. Create a blank filter under USB in the settings of the main Virtualbox menu so that all USB devices can be picked up automatically". But when i try to flash any ROM nothing happens. The preloader is not detected.. i get an error message similat this: "The usb-device is already in use on Host-linux.."
I would like to use MTK Flashtool on linux under a xp virtual machine
Regards.
Click to expand...
Click to collapse
I though Flashtool has supported Linux, why u need virtual machine???
Check this out :
http://forum.xda-developers.com/showthread.php?t=920746
XtremX10 said:
I though Flashtool has supported Linux, why u need virtual machine???
Check this out :
http://forum.xda-developers.com/showthread.php?t=920746
Click to expand...
Click to collapse
I did not know about linux version of Flashtool. I will check it thanks a lot !!
My phone is a Zopo ZP900 and the win version of Flashtool is 4.0 on Windows. I don't know if the linux version is compatible for my device (MTK 6577).
looking for a simple way to swap and mod a few system files on my HD2 Haret/SD android.
i am not developing anything, only changing.
i am ok with the terminal on the device (using BTEP) but its tedious.
what i need is to mount the phone on wndows 7 (or a MAC if thats easier) so i can copy and paste from the comfort of my own keyboard
its a Haret/SD build, not nand.
thanks
That's not a question of SD or NAND. All you need to know is this: http://androidcommander.com/
Edit: If you are on 64bit-system...install 32bit java...otherwise it will not work!
thanks icke, yes 64bit windows 7, was hoping for a standalone program but specs say i still have to get ADB USB Driver from SDK.
i think thats where the problems were with other methods i tried.
looks just what i was looking for though.
not sure if it will work,
DroidExplorer: http://de.codeplex.com/
Works with NAND Roms, not sure if it works with SD, or does what you want.
Yes, I'd like to do the same as the OP. That Androidcommander looks pretty interesting. Think I'll try it... But I see, I need to d/l and install the Android SDK... as a requirement for Androidcommander. Shouldn't be too difficult... But I see I need to d/l and install the Java Development Kit as a requirement for the Android SDK... wish I were a developer, so I'd have some use for these large programs!!!
Droid Explorer seems to have the same requirements. Is all this even worth it for a non-developer/programmer. Isn't there a better way to run a file explorer on an Android device from a desktop PC?
Haha Lol... with Windows or WM... I feel like a pro! with Android, I'm just a noob... Lol, Lol
(edit)... seems the more I read, the less (I realize) I know... for now. But all this above... I'll figure it out Not a problem!
@ icke... thanks for the reco on androidcommander. And for anyone else reading, the install wasn't too difficult, inclusive of the SDK and the JDK. There were unexpected repercussions (not sure but certainly from the SDK or JDK install). Upon reboot... the WinXP Security Center didn't recognize my firewall or AV pgms... saying the system was unprotected, although both av & firewall were up & running.
The command prompt (cmd.exe), also wouldn't recognize anything typed. But... Google is my friend. One of these DK pgms (probably Java, but I dunno), blew-up the systems environment variable (Path), and so I had to recreate. Done and all is well. AC looks looks to be exactly what I wanted... and then some. Thanks again!
RobE. said:
@ icke... thanks for the reco on androidcommander. And for anyone else reading, the install wasn't too difficult, inclusive of the SDK and the JDK. There were unexpected repercussions (not sure but certainly from the SDK or JDK install). Upon reboot... the WinXP Security Center didn't recognize my firewall or AV pgms... saying the system was unprotected, although both av & firewall were up & running.
The command prompt (cmd.exe), also wouldn't recognize anything typed. But... Google is my friend. One of these DK pgms (probably Java, but I dunno), blew-up the systems environment variable (Path), and so I had to recreate. Done and all is well. AC looks looks to be exactly what I wanted... and then some. Thanks again!
Click to expand...
Click to collapse
Sorry...doesn't know how it is working on WinXP (Only tried Win7 64x). All I can say: everything I do between my Leo and Pc, I use Android Commander. For me, there's no better way to copy, merge, paste...or anything else working 1:1 with my device.
BTW: There is an pluggin for TotalCommander PC...but doesn't worked for me yet...maybe on 32X systems.
icke said:
Sorry...doesn't know how it is working on WinXP (Only tried Win7 64x). All I can say: everything I do between my Leo and Pc, I use Android Commander. For me, there's no better way to copy, merge, paste...or anything else working 1:1 with my device.
BTW: There is an pluggin for TotalCommander PC...but doesn't worked for me yet...maybe on 32X systems.
Click to expand...
Click to collapse
Just to reiterate... It's working very well in WinXP. I'm genuinely pleased with how it all panned out and I was just thanking you again for the recommendation.
The Java jdk, or was it the android sdk (still not sure which) overwrote and changed my systems environment variable (AKA system path) and so the command prompt and some security pgms appeared to not be working... Once I restored the path - everything worked again. AC is must have for what it does!
I've tried every driver known to man. I've tried the official Google drivers, I've tried the naked drivers, I've tried the ones that come with PDANet.
I've tried rebooting, uninstalling all other drivers, etc. I tried on my Windows 7 desktop, I tried on my Windows 8 laptop after disabling driver enforcement.
Every single time, the ADB driver installs fine, but adb itself sees no devices. I develop, I have many other Android devices (I am moving from a One XL) and they all just need one quick install and are detected. I have the same issue with my Nexus S - getting it consistently recognised on ADB is near impossible.
What am I doing wrong? I've waited three months for this thing and I want to set it up.
'USB Debugging' enabled?
Of course. It will install drivers for the ADB device, it just won't be detected by adb.exe.
I tried the 'switch to Photo MTP' mode trick too. I am having no issues with adb to a One XL, One V, Defy, Aurora II or U8800. This is really bizarre.
Do you have java jdk installed correctly?
http://www.oracle.com/technetwork/java/javase/downloads/index.html
I wasn't aware java was relevant to adb at all (and I don't think it is) but yeah I have the JDK installed and it works fine for my app dev.
I had the same issue. Drivers installed correctly (and worked on other phones) but not the N4.
In the end i used an Ubuntu Virtual machine, attached the phone, followed a guide on XDA for getting ADB drivers in linux, and it worked straight away.
Days of trying in windows, and done in 5 minutes through linux.
Yep, I too went the virtual machine route.
Ridiculous. The only two developer devices I've owned (Nexus S and Nexus 4) and they've both been impossible to get the adb drivers going...
Passa91 said:
I wasn't aware java was relevant to adb at all (and I don't think it is) but yeah I have the JDK installed and it works fine for my app dev.
Click to expand...
Click to collapse
Yes you have to have installed the java jdk to run adb, it doesn't work without it. Java jdk is supposed to be setup first before you install the sdk so that it finds it. One issue why people can't get adb working is that the path environment variables are not set up and need to be manually entered.
Example of setting your windows path environment variables for jdk version 6 windows 32 bit on Windows Vista.
right-click on My Computer, and select Properties
under the Advanced tab, hit the Environment Variables button
in the dialog that comes up, under System Variables double-click on Path
Add ;C:\Program Files (x86)\Java\jdk1.6.0_18\bin to the Path variable (or wherever the jdk was installed)
Add ;C:\android\android-sdk-windows\platform-tools to the Path variable (or wherever you installed the sdk)
Passa91 said:
I've tried every driver known to man. I've tried the official Google drivers, I've tried the naked drivers, I've tried the ones that come with PDANet.
I've tried rebooting, uninstalling all other drivers, etc. I tried on my Windows 7 desktop, I tried on my Windows 8 laptop after disabling driver enforcement.
Every single time, the ADB driver installs fine, but adb itself sees no devices. I develop, I have many other Android devices (I am moving from a One XL) and they all just need one quick install and are detected. I have the same issue with my Nexus S - getting it consistently recognised on ADB is near impossible.
What am I doing wrong? I've waited three months for this thing and I want to set it up.
Click to expand...
Click to collapse
I posted a solution some time a go find it in my posts
Sent from my Nexus 4 using xda premium
davehunt83 said:
I had the same issue. Drivers installed correctly (and worked on other phones) but not the N4.
In the end i used an Ubuntu Virtual machine, attached the phone, followed a guide on XDA for getting ADB drivers in linux, and it worked straight away.
Days of trying in windows, and done in 5 minutes through linux.
Click to expand...
Click to collapse
The linux guides include editing the udev rules so that you manually enter the Nexus 4 into the list of devices in order to get adb to recognize the phone. Could be the same issue with windows. I only have the sdk installed on a Linux box and haven't used it on windows since I installed it on a Vista box a few years ago but I would imagine windows would have the same problem recognizing the phone.
Linux Install Instructions
http://rootzwiki.com/topic/20770-gu...-adb-and-fastboot-in-linux-ubuntu-and-mint12/
Passa91 said:
I've tried every driver known to man. I've tried the official Google drivers, I've tried the naked drivers, I've tried the ones that come with PDANet.
I've tried rebooting, uninstalling all other drivers, etc. I tried on my Windows 7 desktop, I tried on my Windows 8 laptop after disabling driver enforcement.
Every single time, the ADB driver installs fine, but adb itself sees no devices. I develop, I have many other Android devices (I am moving from a One XL) and they all just need one quick install and are detected. I have the same issue with my Nexus S - getting it consistently recognised on ADB is near impossible.
What am I doing wrong? I've waited three months for this thing and I want to set it up.
Click to expand...
Click to collapse
I used the Universal_Naked_Driver_0.72. It worked for me. I did not install Java.
http://dl.dropbox.com/u/18573149/Universal_Naked_Driver_0.72.zip
RacerXO said:
I used the Universal_Naked_Driver_0.72. It worked for me. I did not install Java.
http://dl.dropbox.com/u/18573149/Universal_Naked_Driver_0.72.zip
Click to expand...
Click to collapse
You shouldn't even be able to install the sdk properly without having java jdk installed first as the windows installer checks to see if its there.
http://developer.android.com/sdk/installing/index.html
Edit: and by installer I meant SDK Manager, what you use to download and install the android usb drivers. I suppose you can get past the java limitation by just downloading the sdk and copying the needed files into the c directory then using 3rd party drivers but java jdk is what controls the phone once its connected so I don't know how you are getting it to work.
Edit 2: I guess I was wrong in part, I installed the sdk without java jdk on a windows xp box, used the universal drivers linked to above, and it recognized my phone in adb devices and I was able to reboot it. But I can't use sdk manager as it requires java jdk to be installed.
had the same issue... you must be using a usb port on the front/side of the computer
use one of the usb ports on the back, and you should be just fine.
This happens to me too. On all windows computers I have used for ADB and all phones it will work the first few times, and then it won't work no matter what. I can usually get fastboot to work reliably but that is it.
Sent from my Nexus 4 using Tapatalk 2