Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[HOW TO] Root Motorola Defy

OP pedrodh

28th November 2010, 02:08 AM   |  #1  
OP Retired Recognized Developer
Thanks Meter: 217
 
190 posts
Join Date:Joined: Oct 2009
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, 25289 views)
Last edited by pedrodh; 3rd July 2011 at 02:03 PM. Reason: updated information to comply with version 2.51 of Motorola Defy stock ROM
The Following 12 Users Say Thank You to pedrodh For This Useful Post: [ View ]
28th November 2010, 03:27 AM   |  #2  
Senior Member
Thanks Meter: 19
 
699 posts
Join Date:Joined: Aug 2009
Or, download z4root by ryan in the market. Click permanent root, done.

Sent from my MB525 using XDA App
The Following 2 Users Say Thank You to disturkis4u For This Useful Post: [ View ]
28th November 2010, 03:30 AM   |  #3  
OP Retired Recognized Developer
Thanks Meter: 217
 
190 posts
Join Date:Joined: 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
28th November 2010, 03:51 AM   |  #4  
Senior Member
Thanks Meter: 19
 
699 posts
Join Date:Joined: Aug 2009
Worked well for me. Almost too easy.

Thank you for the great write up though.


Quote:
Originally Posted by pedrodh

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
28th November 2010, 03:57 AM   |  #5  
OP Retired Recognized Developer
Thanks Meter: 217
 
190 posts
Join Date:Joined: Oct 2009
Well, at least this will help people know what's going on in the background for achieving ROOT hehe
28th November 2010, 05:12 AM   |  #6  
Member
Thanks Meter: 3
 
40 posts
Join Date:Joined: Nov 2010
Thanks for posting and distur for the z4root tip, worked for me.

Sent from my MB525 using XDA App
28th November 2010, 08:13 AM   |  #7  
Junior Member
Thanks Meter: 1
 
28 posts
Join Date:Joined: Nov 2010
Yep. z4root worked for me as well. Perfect.
29th November 2010, 01:12 AM   |  #8  
Captainkrtek's Avatar
Retired Recognized Developer / Retired Forum Moderator
Flag Seattle
Thanks Meter: 553
 
1010
2,514 posts
Join Date:Joined: Feb 2010
Nice writeup! very detailed
29th November 2010, 10:21 AM   |  #9  
inteks's Avatar
Senior Member
Thanks Meter: 732
 
1,088 posts
Join Date:Joined: Oct 2006
Donate to Me
More
thx !!!
29th November 2010, 11:11 AM   |  #10  
Member
Thanks Meter: 0
 
42 posts
Join Date:Joined: Nov 2010
thanks much

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes