Flash tools under Linux (> Windows VM?) - G2 Q&A, Help & Troubleshooting

Long time ago i asked a Question here, but there's something i'm interested in.
I currently dual boot Win and Linux and i'm totally done in doing this, wont waste space for this windows anymore, so my question is, how to use the Flash tool under linux which is explicit for windows?
Someone tested it already? Is it maybe possible to use it in a Windows virtualmachine or will it cause some trouble due to missing USB drivers, even if they are installed?
Thanks.

Related

Flashing a rom on linux?

I have been having problems on XP(not regarding flashing). I am just tired of XP so i was thinking on using Ubuntu. Im going to get to the point now, Is there any software that i can use to flash my phones on linux?
I dont think so really. I have been using linux for a few years and not really seen anything for flashing wm phones. One option i was thinking of was setting up an xp install in a virtual machine and then trying that. I guess you could also try using the windows flashing app via wine but i just havent had time to do this yet.
If you do find a solution please can you report back here as it would be useful to know.
try microSD instead
well actually I am running a Gentoo OS here and tried flashing in XP in virtual machine in VirtualBox, but it did not work for me (after a certain time a timeout occured). From now on I will always flash via microSD card, I have a spare one I can always use for these purposes. Already flashed two different ROMs and works OK, so no need for XP anymore.

Ubuntu questions...

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.

[Q] Flash under Linux (Ubuntu)

Hello all.
I search in the forum but I don't find the answer. Maybe no solution or my English is definitively too poor !!!
I have a computer with Linux (Ubuntu 10.10). Every time I want to make a change on my HD2, I have to reboot and launch my Windows session. But I want to definitively ****ch to Ubuntu. So is a solution exist to flash under linux (directly, with wine or with virtual machine like virtualbox).
I want to be able to flash my HD2 to return to WM6.5 or to flash the CWM recovery etc...
Do you have some answers ?
Thanks for attention.
Bye
as of now, the only way to flash rom through linux is using CWM (perhaps you'd need windows for that too).
The reason behind this is that the CustomRUU is only made for windows and not for linux.
Ive had my own tries with virtualisation and qemu but to no avail, CustomRUU needs to establish a direct serial contact with the device which is not possible for any VM in linux as of my knowledge, so the best bet is to get cLK loader, it uses userspace linux for android on nand, so you can flash recovery, rom, boot, kernel using the sdk tools of linux since it supports fastboot. after installing cLK, your phone becomes pretty close to a native linux one with the only drawback being the rom needs some changes to work with cLK but the good news is anyone can do it easily, we only need to repack the supplied kernel in a .img to flash using fastboot.
Thanks for information. I will try cLK and SDK.

[Q] Ubuntu or Windows ond CM7?

Hey guys, i wanted to ask if anyone had managed to install windows or ubuntu images on our Defy with CM7 running on it.
If yes can u help me telling me the steps so i can make it too?
thanks in advance and sorry for my english
i heard that someone run Ubuntu on his phone, but it's very difficult to use it, because of touchscreen interface. I think that running windows is impossible on this phone, except some WP7 mods i would suggest staying on Android
Yep, I have run Ubuntu. It is basically run by mounting an ubuntu image to a loop device mount point. And the GUI is accessed using vnc. Dunno about windows!
You can also try out windows..bt its just windows 95 desktop version..
And pretty easy to achieve
[email protected]

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

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

Categories

Resources