1. Download our Official Android App: Forums for Android!

Root Root and Linux

Discussion in 'Android Devices' started by Earthalker, Jul 22, 2010.

  1. Earthalker

    Earthalker Newbie
    Thread Starter

    Nov 8, 2009
    Want to root my droid. I only use Linux and do not have access to a wimblows box that I can install software. I also have a small harddrive on my laptop. So I don't have the room or desire to setup a virtual box. It seems to mee that I should be able to do all the work I need on this Linux based phone from Linux. Not depend on some other operating system.

    I have looked through forums, and what Google brings up. I have have found bits and pieces, but no good tutorial for just using linux to get the job done.

    As I understand it this is the process to root and install a custom ROM.

    Install the SBF file to flash the droid to stock 2.0.1 to have vulnerability to be able to flash custom ROM. Also install recovery utility.

    Download ROM move to root of sd card as update.zip.

    Make backup of my phone. Move backup to computer.

    Wipe memory.

    Appply update.zip

    When I reboot I have rooted phone with custom ROM.

    Am I missing something?



  2. VIO

    VIO Android Enthusiast

    May 12, 2010
    You more or less got it. Currently you don't need to flash baqck to 2.0.1 there is a away to flash recovery directly to 2.1 and from there you install a custom (rooted) rom. However you still need to use RSDlite to do the flashing in both cases which (as far as I know) is a windows only program. Once you get recovery on the phone tho you can use linux for everything else, hell android itself is just a modified Linux.

    You could just run a virtual machine of windows if you have no access to a win box

    I Stand Corrected:
    You can flash sbf files in Linux
  3. Earthalker

    Earthalker Newbie
    Thread Starter

    Nov 8, 2009
    It was actually very easy to root using only Linux! These are the steps I took.

    The majority of the information here I have found here in Androidforums. They where in different posts so I just put them all together. Unfortunitly I have spent lots of time searching and reading, I do not remember all the sources. But many people have found all these pieces, and it is because of them I was able to do this. I do know that a bit help was The All-new Guide to All Things Root-related Currently under construction.

    Just want to say thanks and give credit to the people who have spent time and energy making this all happen.

    Rooting Droid using Linux

    Backup all information you want to keep on your phone. You will be wiping everything from the phone!

    Get these files.
    OPTICALDELUSION: sbf_flash
    This gives you the tool to flash the sbf file to the Droid

    This is the SBF file to install APRecovery

    This update.zip will give you root permission.

    I downloaded all those files into a directory droid in my home folder.

    Plugged Droid into computer. Copied update.zip to the sd card root directory.

    I got into bootloader by opening up the keyboard. Turned phone off. Unplugged the usb cable. Pushed the DPAD up towards the screen. Pushed the power botton and released. Then plugged the usb cable back in.

    Opened up a terminal in my /home/droid directory.
    Did chmod +x sbf_flash
    ./sbf_flash SPRecovery_ESE81.sbf

    SBF FLASH 1.04 (mbm)

    Index[1]: Unexpected chip 16
    Index[2]: Unexpected chip 16
    === SPRecovery_ESE81.sbf ===
    00: RDL03 0x80500000-0x8054CFFF FE66 AP
    01: CG35 0xC0680000-0xC08E37FF ABCB AP
    02: CG47 0xC0A00000-0xC0D5C7FF 02C0 AP

    Droid found.
    >> uploading RDL03
    Uploading: 100% OK
    >> verifying ramloader
    -- OK
    >> executing ramloader
    Droid found.
    >> sending erase
    >> uploading CG35
    Uploading: 100% OK
    >> uploading CG47
    Uploading: 100% OK
    >> verifying CG35
    -- OK
    >> verifying CG47
    -- OK
    >> rebooting

    When is was rebooting I pushed down the “x” key on the keyboard. This got me into the recovery console. I used the DPAD to navigate to the install option.

    Scrolled down to Install /sdcard/update.zip (deprecated)

    Pressed the power button to get back to the main menu.

    Reboot the phone. Go into recovery menu again. This time we will be backing up the phones system files. This way if something happens you have a backup!

    I selected Simple Nandroid backup.

    Press the power button to return. Then reboot the system.

    Go to menu. You should see a Ninja with Superuser Permissions. This means your phone is now rooted!

    Download Titanium backup from the Market.

    Open Titanium up. This will bring up a request for Superuser privlage. Press the allow button.

    This will pop up an error. Press ok. Then press the Problems ? Button.

    Press yes for busybox. This will download and install busybox for you.

    Titanium backup will close. Use the titanium notification in the bar to bring it up.

    Get the liscense so you can use batch mode. To do this you will need a PayPal account. You will have to wait up to 24 hours to get your liscense so you can use batch mode.

    Now time to install the custom ROM!

    Need to get a ROM. Go to ROMs (Droid) - Android Forums or Droid Custom ROM's

    I downloaded into my /home/droid/rom folder.

    Plugged the phone into the computer. I turned on usb storage. Deleted my update.zip that I put on the root directory of the sd card. Then copied the ROM image I downloaded to the root directory of the sd card. Renaimed it update.zip.

    Rebooted the Droid. Pressed “x” and the power button to get into recovery concole.

    I wiped main memory twice, cache, then main memory again.

    Selected Install.

    Scrolled down to Install /sdcard/update.zip (deprecated)

    It installed. Then I rebooted and I had a custom ROM installed!

    Installed Titanium backup. You should be able to get all your apps back with this once the app is upgraded to the payed version.

    Good Luck!

Share This Page