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

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

Like Tree1Likes
  • 1 Post By themib

test: Reply
 
LinkBack Thread Tools
Old August 18th, 2012, 06:26 PM   #1 (permalink)
Senior Member
Thread Author (OP)
 
themib's Avatar
 
Join Date: Jul 2011
Location: South Dakota
Gender: Male
Posts: 658
 
Device(s): D3 (Steel Droid 5.6 ICS), DX2, D2G, D2, DX (Liquid ics 2.0), Droid 4 (CM11)
Carrier: Verizon

Thanks: 14
Thanked 143 Times in 115 Posts
Default D2 "ezSBF" 2.3.4/4.5.621 with magic md5 root option

updated many times see change log

[ROOT] Framaroot, a one-click .apk to root
I have verified it works with these Motorola devices running android 2.3.4
Droid 2 (a955), Droid 2 Global (a956), R2D2 (a957), & Droid X (MB810)

Just download, allow unknown sources, install, open, select top root method (Gimli), reboot phone, done

no pc needed.



----------------------------------------------------------------------------------

[Video] How to ezSBF plus Root the Droid 2 on android 2.3.4-Tomsgt123

download from here
https://docs.google.com/document/d/1hCPt64in4qqy459FvqBy_CKVqNlYXwj8yq2P6QQOLjQ/edit#
for current links

created by phifc modified by bhigham

3 options
Multi-Device Root (54mb)
Droid2_621_SBF-and-RootCD.iso (213mb)
Droid2_R2D2_A957_2.3.4_SBF_and-or_RootCD.iso (250mb



How this works
Quote:
Originally Posted by phifc
There's an exploit in loadpreinstall.sh. It compares md5 sum files of preinstalled apps and if they're different, copies the md5 to the local cache. The preinstall just has an empty file in app/ so it will parse the md5 for it. Instead of an md5 sum, it contains a local.prop that allows adb root shell. So the system thinks it's copying the md5sum to the cache when it bounces off the symlink and overwrites the /data/local.prop, giving adb root on next reboot
what is ezSBF?
original [TOOL] ezSBF (not for 2.3.4)

Quote:
Originally Posted by 1KDS View Post
Don't let the word Linux scare you, this is just a cd you burn, nothing installs to your pc. Once you burn this CD you are ready to SBF flash anywhere you have a computer, no net connection needed to download any files.

This is an .iso file. It is a complete Linux operating system that you will download, burn to CD (or USB) then boot your pc from CD or USB, this allows your pc to reboot into a different operating system.
Quote:
Originally Posted by 1KDS View Post
Instructions (Mac):
Download .iso
Use Disk Utility (built in) to burn iso file to a CD (instructions)
Shut computer down
Hold c key, push power and hold c until you see the Linux OS start
Hit enter at the yellow "boot baby... boot" screen
You will see yellow dots for 3-5 minutes then the script will start

Instructions (Windows):
Download .iso
Burn iso image to a disk (Instructions, Windows 7 - Vista and XP) or (Load to a USB flash drive)
Reboot PC
Hit F12 (sometimes F8 or esc) during boot to go to boot menu (possibly google search how to boot your specific pc from CDROM)
Select boot from CDROM (or USB if you used a flash drive)
Hit enter at the yellow "boot baby... boot" screen
You will see yellow dots for 3-5 minutes then the script will start

Live USB Instructions (Windows):
(Instructions from pendrivelinux.com)(thanks)
Download
UNetBootin for Windows
Download your favorite Linux ISO
Double click the Unetbootin Executable to start the program
(1) Click the Diskimage radio box
(2) browse to select your ISO
(3) Set your target USB drive
(4) click OK to start the creation



(5) After the USB drive is done select reboot.
(6) During boot enter the boot menu and change USB to boot first, save and reboot.
(7) When booting from UNetbootin select SliTaz


________________________________________________

You will now be in the script and ready to flash.

select D2 for multi device root cd or /select root for the Droid2_621_SBF-and-Root CD
don't use numbers on right side of you keyboard, just use the ones above qwerty

turn phone on, connect to pc with usb cable

on phone check usb debugging (settings/apps/development)
on phone select charge only usb mode

on pc press continue
program will use adb to push
Code:
data/local.prop /data/preinstall_md5/magic.md5
manually reboot phone to bootloader
program will flash repacked sbf (less than 50mb)
program will reboot twice, very important (reboot just replaces the local.prop, but the old local.prop is still in memory, till second reboot)
adb pushes su,superuser, and busybox
program will reboot to recovery,
manually press both volume buttons when you see !, triangle, & android andy
manually select wipe cache
manually select reboot
rooted

error info
when running program you may see these errors
rm failed for /data/preinstall_md5/magic.md5 no such file or directory
no root.img.gz no such file or directory
rm failed for /data/preinstall_md5/magic.md5 read only file system


that is fine, it will still work



if you plan on creating nandroid backups or flashing roms read
[HOW TO] Install/Use Droid 2 Bootstrap




Older Methods see instruction by phifc below
windows Batch file (uses rsd lite)
Linux batch file (adb and sbf_flash)
Linux manual (adb and sbf_flash)

original thread New root method for stock 2.3.4 (621/622) found (Droid2, R2D2) - Droid 2 / R2D2 / Milestone 2 / Droid 2 Global - RootzWiki
Quote:

Posted by phifc (OP)

This is for original Droid2 and Droid R2D2. If you have issues b
ooting after root, check the end of this post.

I've been working on root for a few days after having to flash stock 621. I've tested this with my R2D2 running 621.

7/25/2012 - Thanks to beh for putting together an EzSBF cd for this! Just burn, boot from CD and follow the directions. It can flash to the stock 621 update for those that want the stock Gingerbread image, then gives you the option to root if you like. You can also create a bootable USB stick with the iso using UNetbootin - Homepage and Downloads

Droid 2 621 EzSBF with root option
The MD5 is
e50bc7914c4852ca32e9f08f7744c056

The instructions below work, but beh's EzSBF is far superior.

If you want to use CyanogenMod 7.2 after root with this method check this post.

I've been working on root for a few days after having to flash stock 621. I've tested this with my R2D2 running 621.

Windows
Install Motorola drivers and RDS Lite.
Get RootDroid2 file, extract folder, run RootDroid2.bat and follow the instructions.
You'll have to flash the phone as part of the process.

Linux (Easy way)
You'll need adb and sbf_flash.
1) Download the RootDroid2 file, extract it wherever you like.
2) Using adb enter
Code:
adb shell ln -s /data/local.prop /data/preinstall_md5/magic.md5
3) Flash using sbf file in download.
4) Reboot
5) adb shell will now be root

Linux (Long way)
What you need: Stock SBF (thanks to droid-developers.org), custom preinstall.img, adb (from android sdk), and sbf_flash

1) Enable USB debugging on your phone and send this adb command:

Code:
adb shell ln -s /data/local.prop /data/preinstall_md5/magic.md5
2) Unpack the custom preinstall file, then reboot your phone into flash mode by holding the up arrow on the keypad. Then send the custom SBF file with sbf_flash:
Code:
sbf_flash -r --preinstall preinstall.img <stock sbf filename>
(For example, I used 1FF-p2a_droid2_cdma_droid2-user-2.3.4-4.5.1_57_DR4-51-120117-release-keys-signed-Verizon-US.sbf so the command is "sbf_flash -r --preinstall preinstall.img 1FF-p2a_droid2_cdma_droid2-user-2.3.4-4.5.1_57_DR4-51-120117-release-keys-signed-Verizon-US.sbf")

3) Wait for phone to boot after flashing, then reboot again one final time.
4)
Code:
adb shell
should give you a root prompt (# instead of $)

5)Send superuser utils from Superuser

Code:
adb shell mount -o remount,rw /dev/block/system /system
adb push su /system/bin/su
adb shell chmod 4755 /system/bin/su
Code:
adb push Superuser.apk /system/app/Superuser.apk
adb shell chmod 644 /system/app/Superuser.apk
adb shell mount -o remount,ro /dev/block/system /system
Thanks to Dan Rosenberg (djrbliss) and those that helped him researchhttp://vulnfactory.o...ng-the-droid-3/ for ideas

for basic SBF and RSD lite info read The DROID Wiki

Quote:
First, where do i download all these tools like motorola drivers and RSDlite? Do i put them on my phone or my PC?
use pc, links are baked into text just click on name of file
moto drivers USB and PC Charging Drivers - Motorola Mobility, Inc. USA
Quote:
...Where do i enter this adb command?...
abd in command prompt start/search cmd.exe
Quote:
...What version of software will be on my droid 2...
same version, rooting alone doesn't change that, rooting just gives you access to change system files/settings



My Links
Magic MD5 Root 2.3.4 for D2, R2D2, D2G, DX and 2.3.5 for DX2 - Google Docs

sd_shadow's [Collection] of Links: FAQs, Guides, Rooting, SBFs, ROMs... - Google Docs



edit
10 oct 2012 totally reorganized post/ added info and links
17 oct 2012 added D2 to title
26 oct 2012 added mirror
02 dec 2012 changed download links
09 Dec 2012 major rewrite
26 April 2013 added Framaroot link

themib is online now  
Last edited by themib; April 26th, 2013 at 01:18 PM.
Reply With Quote
The Following User Says Thank You to themib For This Useful Post:
Raley (November 28th, 2012)
sponsored links
Old August 25th, 2012, 04:54 PM   #2 (permalink)
New Member
 
Join Date: Jul 2012
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Omgashthanku

Thannkk youuu so much! You don know how much I've searched for a solution for this. I was giving up on my Droid 2 and you saved it.
Mattx22 is offline  
Reply With Quote
Old August 28th, 2012, 07:38 PM   #3 (permalink)
Senior Member
 
Colchicine's Avatar
 
Join Date: Apr 2010
Location: Virginia
Gender: Male
Posts: 753
 
Device(s): S4 now, HTC Rezound & Incredible then
Carrier: Verizon

Thanks: 280
Thanked 243 Times in 106 Posts
Default

Quote:
Originally Posted by themib View Post

You will see yellow dots for 3-5 minutes then the script will start
select D2
turn phone on, connect to pc with usb cable
check usb debugging, select charge only usb mode
press continue
At the "press continue" is where my experience breaks down. I see 4 options, to flash, to root, and other things. There is no continue to speak of.
I have tried doing both the flash and root and from what I can grasp in the screen that flashes afterwards is there are a few lines that say "bad number". So what is going wrong?

I used the boot from CD method. The phone was previously rooted, but I'm guessing the OTA broke root. This is my wife's phone so I don't mess with it unless I have to.
Colchicine is offline  
Reply With Quote
Old August 28th, 2012, 07:53 PM   #4 (permalink)
Senior Member
Thread Author (OP)
 
themib's Avatar
 
Join Date: Jul 2011
Location: South Dakota
Gender: Male
Posts: 658
 
Device(s): D3 (Steel Droid 5.6 ICS), DX2, D2G, D2, DX (Liquid ics 2.0), Droid 4 (CM11)
Carrier: Verizon

Thanks: 14
Thanked 143 Times in 115 Posts
Default

sorry my instructions are for the multi device slitaz boot img
just select root option
themib is online now  
Reply With Quote
Old August 28th, 2012, 08:02 PM   #5 (permalink)
Senior Member
 
Colchicine's Avatar
 
Join Date: Apr 2010
Location: Virginia
Gender: Male
Posts: 753
 
Device(s): S4 now, HTC Rezound & Incredible then
Carrier: Verizon

Thanks: 280
Thanked 243 Times in 106 Posts
Default

Okay, I did that at least once. Any idea why I was getting "bad number" text then it booted to the OS? I presume that was a Linux OS.
Colchicine is offline  
Reply With Quote
Old August 28th, 2012, 08:04 PM   #6 (permalink)
Senior Member
Thread Author (OP)
 
themib's Avatar
 
Join Date: Jul 2011
Location: South Dakota
Gender: Male
Posts: 658
 
Device(s): D3 (Steel Droid 5.6 ICS), DX2, D2G, D2, DX (Liquid ics 2.0), Droid 4 (CM11)
Carrier: Verizon

Thanks: 14
Thanked 143 Times in 115 Posts
Default

don't use numbers on right side of you keyboard
just use the ones above qwerty
themib is online now  
Reply With Quote
Old September 2nd, 2012, 10:00 AM   #7 (permalink)
Senior Member
 
Colchicine's Avatar
 
Join Date: Apr 2010
Location: Virginia
Gender: Male
Posts: 753
 
Device(s): S4 now, HTC Rezound & Incredible then
Carrier: Verizon

Thanks: 280
Thanked 243 Times in 106 Posts
Default

Is there a way to contact "beh" to ask about the root program he created? He is not a user of this forum apparently.
Colchicine is offline  
Reply With Quote
Old September 2nd, 2012, 11:02 AM   #8 (permalink)
Senior Member
Thread Author (OP)
 
themib's Avatar
 
Join Date: Jul 2011
Location: South Dakota
Gender: Male
Posts: 658
 
Device(s): D3 (Steel Droid 5.6 ICS), DX2, D2G, D2, DX (Liquid ics 2.0), Droid 4 (CM11)
Carrier: Verizon

Thanks: 14
Thanked 143 Times in 115 Posts
Default

bhigham/beh modified root method based on New root method for stock 2.3.4 (621/622) found (Droid2, R2D2)

sorry I'll add that to the op

edit: corrected link
themib is online now  
Last edited by themib; September 2nd, 2012 at 12:14 PM.
Reply With Quote
Old October 17th, 2012, 10:16 PM   #9 (permalink)
Senior Member
Thread Author (OP)
 
themib's Avatar
 
Join Date: Jul 2011
Location: South Dakota
Gender: Male
Posts: 658
 
Device(s): D3 (Steel Droid 5.6 ICS), DX2, D2G, D2, DX (Liquid ics 2.0), Droid 4 (CM11)
Carrier: Verizon

Thanks: 14
Thanked 143 Times in 115 Posts
Default

major edit to op, tried to make links easier to find, title clearer...
themib is online now  
Reply With Quote
Old December 2nd, 2012, 03:14 PM   #10 (permalink)
Senior Member
Thread Author (OP)
 
themib's Avatar
 
Join Date: Jul 2011
Location: South Dakota
Gender: Male
Posts: 658
 
Device(s): D3 (Steel Droid 5.6 ICS), DX2, D2G, D2, DX (Liquid ics 2.0), Droid 4 (CM11)
Carrier: Verizon

Thanks: 14
Thanked 143 Times in 115 Posts
Default

mirror links posted here https://docs.google.com/document/d/1-Oj1a1wNZKhZMPUqU_6KzzYzQJ2RKzvvumTx-41f3h4/edit
crunch514 likes this.
themib is online now  
Reply With Quote
The Following User Says Thank You to themib For This Useful Post:
crunch514 (December 25th, 2012)
sponsored links
Old February 14th, 2013, 01:06 PM   #11 (permalink)
Senior Member
Thread Author (OP)
 
themib's Avatar
 
Join Date: Jul 2011
Location: South Dakota
Gender: Male
Posts: 658
 
Device(s): D3 (Steel Droid 5.6 ICS), DX2, D2G, D2, DX (Liquid ics 2.0), Droid 4 (CM11)
Carrier: Verizon

Thanks: 14
Thanked 143 Times in 115 Posts
Default

new [Video] How to ezSBF plus Root the Droid 2 on android 2.3.4-Tomsgt123
themib is online now  
Reply With Quote
Old April 26th, 2013, 01:17 PM   #12 (permalink)
Senior Member
Thread Author (OP)
 
themib's Avatar
 
Join Date: Jul 2011
Location: South Dakota
Gender: Male
Posts: 658
 
Device(s): D3 (Steel Droid 5.6 ICS), DX2, D2G, D2, DX (Liquid ics 2.0), Droid 4 (CM11)
Carrier: Verizon

Thanks: 14
Thanked 143 Times in 115 Posts
Default

[ROOT] Framaroot, a one-click .apk to root
I have verified it works with these Motorola devices running android 2.3.4
Droid 2 (a955), Droid 2 Global (a956), R2D2 (a957), & Droid X (MB810)

Just download, allow unknown sources, install, open, select top root method (Gimli), reboot phone, done

no pc needed.
themib is online now  
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > Motorola Droid 2 > Droid 2 - 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



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