5,593,650 Members 40,138 Now Online
XDA Developers Android and Mobile Development Forum

[HOW TO] Root Motorola Defy

Tip us?
 
pedrodh
Old
(Last edited by pedrodh; 3rd July 2011 at 01:03 PM.) Reason: updated information to comply with version 2.51 of Motorola Defy stock ROM
#1  
Recognized Developer - OP
Thanks Meter 211
Posts: 190
Join Date: Oct 2009
Default [HOW TO] Root Motorola Defy

I've seen that there's no topic teaching how to ROOT the phone in the forum yet, so I'm making one myself, I hope this will help users who come here looking for info.

This method was originally found by jboogie3 here http://modmymobile.com/forums/637-mo...id2method.html

EDIT: If you have version 2.51 ROOT with another way, check out this topic: http://forum.xda-developers.com/showthread.php?t=889133

Let's get started:

1. Put the phone in Debug Mode: Go to Settings > Applications > Development and check USB debugging box.

2. Extract the files from the zip below, connect the phone via USB, and copy them to the phone via ADB like this:

Code:
adb push Superuser.apk /sdcard/Superuser.apk
adb push su /sdcard/su
adb push busybox /sdcard/busybox
adb push exploit.bin /data/local/tmp/exploit.bin
3. Now we enter the phone's internal shell, also using ADB:

Code:
adb shell
4. Then we take advantage of the "fake" root exploit:

Code:
cd /data/local/tmp
chmod 0755 exploit.bin
./exploit.bin
5. Now after that last command you should be back to your normal console, not the phone one, so we need to connect to it again, and doing so we should now see that we have root permissions since the "#" symbol is displayed instead of "$".

Code:
adb shell
6. Now we mount the /system partition as writable and copy the necessary files there, and set them with the right permissions:

Code:
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/Superuser.apk /system/app/Superuser.apk
cp /sdcard/su /system/bin/su
cp /sdcard/busybox /system/bin/busybox
chmod 4755 /system/bin/su
chmod 4755 /system/bin/busybox
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
exit
7. Restart the phone and check if you have ROOT in a terminal by typing the "su" command, or by installing any other app that requires ROOT, and seeing it the SuperUser app pops up.
Attached Files
File Type: rar Droid2Root.rar - [Click for QR Code] (954.1 KB, 23472 views)
Like my work and have bitcoin? Please donate: 152A5eh6QgLXYuNVxhgHtM1XxM8o85RoLL
The Following 10 Users Say Thank You to pedrodh For This Useful Post: [ Click to Expand ]
 
disturkis4u
Old
#2  
Senior Member
Thanks Meter 18
Posts: 667
Join Date: Aug 2009
Or, download z4root by ryan in the market. Click permanent root, done.

Sent from my MB525 using XDA App
The Following User Says Thank You to disturkis4u For This Useful Post: [ Click to Expand ]
 
pedrodh
Old
#3  
Recognized Developer - OP
Thanks Meter 211
Posts: 190
Join Date: Oct 2009
Many people reported z4root to work, but somehow it didn't work for me :\, phone reboot 2 times, but root wasn't being recognized system wide. But yeah, there's no problem testing that first, if it works for you it's way simpler
 
disturkis4u
Old
#4  
Senior Member
Thanks Meter 18
Posts: 667
Join Date: Aug 2009
Worked well for me. Almost too easy.

Thank you for the great write up though.


Quote:
Originally Posted by pedrodh View Post
Many people reported z4root to work, but somehow it didn't work for me :\, phone reboot 2 times, but root wasn't being recognized system wide. But yeah, there's no problem testing that first, if it works for you it's way simpler


Sent from my MB525 using XDA App
 
pedrodh
Old
#5  
Recognized Developer - OP
Thanks Meter 211
Posts: 190
Join Date: Oct 2009
Well, at least this will help people know what's going on in the background for achieving ROOT hehe
 
tH™
Old
#6  
Member
Thanks Meter 1
Posts: 38
Join Date: Nov 2010
Thanks for posting and distur for the z4root tip, worked for me.

Sent from my MB525 using XDA App
deviceSAMSUNG GALAXY S4 [GT-I9505]
romSLIMBEAN BETA
kernelslim
 
nitewalkergr
Old
#7  
Junior Member
Thanks Meter 1
Posts: 28
Join Date: Nov 2010
Yep. z4root worked for me as well. Perfect.
 
Captainkrtek
Old
#8  
Captainkrtek's Avatar
Recognized Developer / Retired Forum Moderator
Thanks Meter 545
Posts: 2,506
Join Date: Feb 2010
Location: Seattle
Nice writeup! very detailed
Captainkrtek
 
inteks
Old
#9  
inteks's Avatar
Senior Member
Thanks Meter 704
Posts: 1,062
Join Date: Oct 2006

 
DONATE TO ME
thx !!!
 
defysword
Old
#10  
Member
Thanks Meter 0
Posts: 42
Join Date: Nov 2010
thanks much

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes