Go Back   Android Forums > Android Phones > Motorola Droid > Droid - All Things Root
Droid - All Things Root Rooting, ROMS, Overclocking, etc.

Find everything you need for the Galaxy S5 and discuss it in our S5 forum!
Have you seen that OnePlus One's awesome camera?? The forum is over here!

test: Reply
 
LinkBack Thread Tools
Old July 22nd, 2010, 07:29 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2009
Posts: 14
 
Device(s):
Carrier: Not Provided

Thanks: 7
Thanked 0 Times in 0 Posts
Default Root and Linux

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?

Thanks

Earthalker is offline  
Reply With Quote
sponsored links
Old July 23rd, 2010, 12:10 AM   #2 (permalink)
VIO
Member
 
VIO's Avatar
 
Join Date: May 2010
Posts: 263
 
Device(s): Nexus S - Unbridled Android Baby DROID - [Retired]
Carrier: Not Provided

Thanks: 38
Thanked 62 Times in 36 Posts
Default

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
VIO is offline  
Last edited by VIO; July 23rd, 2010 at 07:21 AM.
Reply With Quote
Old July 23rd, 2010, 10:05 AM   #3 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2009
Posts: 14
 
Device(s):
Carrier: Not Provided

Thanks: 7
Thanked 0 Times in 0 Posts
Default

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


SPRecovery_ESE81.sbf
This is the SBF file to install APRecovery


update.zip
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!
Earthalker is offline  
Reply With Quote
Reply
Tags
linux


Go Back   Android Forums > Android Phones > Motorola Droid > Droid - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://androidforums.com/droid-all-things-root/130647-root-linux.html
Posted By For Type Date
can i install linux on my motorolla droid? - Google Search This thread Refback May 8th, 2011 11:58 AM


All times are GMT -5. The time now is 01:50 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.