Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I'd like to install a custom ROM on my LG GT540.

It looks like that in order to enable fastboot and make the whole process a lot easier, a custom ROM must be installed the first time with a program called KDZ. This program seems to work on windows only.

Is it possible to enable fastboot and/or install a custom ROM using Linux?

share|improve this question
    
You should retitle your question - it seems like all the answers assume you have a fastboot-capable bootloader. –  Broam Apr 2 '12 at 17:53

5 Answers 5

I think you might be a little confused. Android is based off of Linux and everything that can be done for Android on Windows can be done much easier on Linux. :)

To answer your question. Unlike other phones LG makes, they did not disable fastboot on your phone. It is enabled by default afaik. Fastboot is just a binary that allows the user to send commands remotely to the phone from the desktop. You just need to be in fastboot mode on your phone for the commands to be recognized. On linux, you dont need special programs like KDZ, you just need the Android SDK and a few commands in terminal.

The XDA dev forums are your best friends when it comes to android development and custom ROMs. This page(especially the 1st link on the page concerning Ubuntu) should get you started:

  1. http://forum.xda-developers.com/showthread.php?t=1032744
  2. http://forum.xda-developers.com/forumdisplay.php?f=773

1st link is the sticky with what is needed to get you started and the 2nd link is just the links to the other sections in the GT540 forum which is provided for convenience.

share|improve this answer
    
I already checked XDA forums and many other places and guides over the internet. Got fastboot already installed on my system (as well as ADB, which is working), but I can't find any way to boot my LG GT540 on fastboot mode. Holding power+camera while booting the device doesn't do anything, and everyone on the web says that in order to enable fastboot mode a special ROM with fastboot enabled must be installed; and it must be installed with KDZ since fastboot isn't there yet. –  peoro Dec 28 '11 at 18:37
    
Huh....I guess they truly did disable fastboot by default. You might be forced to dualboot the machine temporarily with Windows to get this working. Sorry I have worked and developed for Samsung, HTC and Motorola phones and havent encountered such a problem. –  Gautham C. Dec 28 '11 at 19:19
    
Probably LG didn't disable fastboot on newer phones, but on LG GT540 it is disabled! I'm an owner of one such device :) –  wik Dec 2 '12 at 18:57

I also have that phone and it had fastboot disabled. To quickly answer your question, I haven't found a method to install a fastboot ROM from Ubuntu but it is possible to flash a custom ROM from it.

Assuming there is fastboot ROM installed, you should first boot it into fastboot mode (if you have ADB running, just use adb reboot bootloader):

  1. turn the phone off
  2. hold the camera button and then the power on button
  3. keep pressing the camera button until you see the LG logo

The phone will be in fastboot mode when you see a blank screen (just the back light will be on). After that, you should be able to use Ubuntu to flash a custom ROM. All you have to do is open a terminal in the folder containing the extracted files and type:

sudo -s
fastboot -w #this wipes user data! don't forget to backup :)
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot reboot

This process should take about 10 minutes to complete.

Just for the record, I downloaded fastboot binary from here and Swiftdroid 2.0 from here, but I believe you can use any fastboot-ready ROM (in other words, ROMs with boot.img and system.img). If you don't have a fastboot-enabled ROM installed already, you can do it using the KDZ Updater as described here, but you have to use Windows and the fastboot ROM.

Reference thread and post

share|improve this answer

Is it possible to enable fastboot and/or install a custom ROM using Linux?

Sad to say, but no, you can't yet enable fastboot using Linux easily. You need to find someone with Windows (was best option for me) or deal with virtual machines.

p.s.

Lucky you need it only once, I found someone with Windows just to enable fastboot, now can flash ROM using fastboot tool on Linux.

share|improve this answer

No. There isn't. Io owned this device for a long time, and you need the KDZ Updater to install a fastboot ROM. Once that is done, you can shun Windows forever.

share|improve this answer

Sorry this is in Spanish (the link), but I have found a toolkit for flashing KDZ under linux (i.e.: debian, suse, archlinux, ubuntu, etc)

http://www.todomovillg.es/elforodehomero/(p990)-rom-mod-y-hack/optimus-toolkit-6-in-1-linux-by-homero/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.