1. Check out our app, Forums for Android! Download and leave feedback here!

Root Motorola Devour - Root Attained, Thanks rainabba. ADB and SHELL with SU, and /system mounted as R/W.

Discussion in 'Android Devices' started by ZanzDroid, Jul 23, 2010.

  1. ZanzDroid

    ZanzDroid New Member
    Thread Starter
    6

    Apr 16, 2010
    3
    8
    6
    Many, Many Thanks to Sebastian Kramer, birdman, [mbm], and rainabba for the Original Version of this guide, and tools needed.
    (I found all of the information to get started with this on http://alldroid.org)

    Download link is at the bottom, READ THE GUIDE FIRST!

    This download has different su/Superuser.apk files than the one for the Droid X, as they didn't work on the Devour.
    I also included a basic passwd and group file, so the "whoami" command would work.
    The last additional command I added was "remount", so you can enter "remount rw" to enable read/write on /system,
    and "remount ro" to set it back to read-only.

    REMEMBER I DIDN'T COME UP WITH THIS ORIGINALLY - I ONLY MODIFIED IT FOR THE DEVOUR!

    (Run means type the command in quotes [but not the quotes] then press the Enter key)


    1. Download the archive and expand it to a folder you can find (eg. c:\exploid_devour)
    2. Set up ADB for your Devour. Motorola Drivers are HERE.
    3. On the phone: Home, Menu Button, Settings, Applications, Development: Make sure the "USB debugging" option is enabled/checked.
    4. Status bar, USB connection: Make sure "Motorola PC Tools" is selected.
    5. Open a command prompt (Windows: Start, Run, "cmd", OK; Linux: Terminal)
    6. Run "adb devices". If you don't see your device listed under "List of devices attached", return to step 2 and follow the link to setup ADB drivers.
    7. Run "cd c:\exploid_devour" (or where ever you expanded the archive)
    8. Run "adb push Superuser.apk /sdcard/"
    9. Run "adb push su /sdcard/"
    10. Run "adb push passwd /sdcard/"
    11. Run "adb push group /sdcard/"
    12. Run "adb push busybox /sdcard/"
    13. Run "adb push remount /sdcard/"
    14. Run "adb push exploid /sqlite_stmt_journals/"
    15. Run "adb shell"
    16. Run "cd sqlite_stmt_journals"
    17. Run "chmod 755 exploid"
    18. On your phone, Under Settings -> Display and Security, set the Screen Timeout to 15 seconds.
    19. Wait for the screen to go black.
    20. WITHIN FOUR SECONDS after executing the next step, Press the Power Button to wake up the screen.
    21. Run "./exploid"
    22. Press the Power Button on the Top of your Devour, to wake up screen WITHIN FOUR SECONDS.
    23. Wait until you're back at a shell ($) prompt.
    24. Run "rootshell". You'll be prompted for a password.
      If you see "rootshell: permission denied", you didn't wake the screen up quick enough. Go back to Step 21, Run "./exploid", and try again!
    25. At the prompt, enter the password "secretlol" and press Enter, you are now root! (You'll know because your prompt will now be a "#" instead of "$")
    26. Run "cat /sdcard/busybox > /system/xbin/busybox"
    27. Run "chmod 4755 /system/xbin/busybox"
    28. Run "busybox --install /system/xbin/"
    29. Run "cp /sdcard/Superuser.apk /system/app/"
    30. Run "cp /sdcard/su /system/bin/"
    31. Run "cp /sdcard/remount /system/xbin/"
    32. Run "cp /sdcard/passwd /system/etc/"
    33. Run "cp /sdcard/group /system/etc/"
    34. Run "chmod 4755 /system/bin/su"
    35. Run "chmod 755 /system/xbin/remount"
    36. Run "chmod 644 /system/app/Superuser.apk"
    37. Run "chmod 644 /system/etc/passwd"
    38. Run "chmod 644 /system/etc/group"
    39. Run "rm /system/bin/rootshell"
    40. Run "exit" to drop from root to a non-root user shell (on phone still)
    41. Run "exit" to drop back to your machine command prompt (instead of phone)
    To Confirm root is established:
    1. Run "adb shell"
    2. Run "su"
    3. Watch your screen so you can click the allow button for Superuser root access. (now you should see the # sign, instead of the $ sign, which indicates you are root)

    You're done! Feel free to kill the bloatware, Blur, and whatever else. Root apps will now run fine. I've successfully tested Root Explorer, Titanium Backup, AdFree Android, and others.

    Credits
    • Sebastian Kramer for this blog post - http://c-skills.blogspot...07/android-trickery.html
    • Birdman - for editing Sebastians work for the droidx
    • [mbm] - for answering birdmans many questions while root was tried (and failed xD)
    • rainabba - for writing the original guide for the Droid X, which is the only thing I modified, in addition to some different files.

    The blog list

    File was too large (1.05mb) to attach here. Click HERE for the zip file. Or type the following URL into your browser:

    ZanzDroid, aka Zanzibar
     

    Advertisement

  2. ZanzDroid

    ZanzDroid New Member
    Thread Starter
    6

    Apr 16, 2010
    3
    8
    6
    - reserved -
     
  3. snowboarderxd1

    snowboarderxd1 Well-Known Member
    16

    Jun 2, 2010
    55
    1
    16
    MA
    This wont work on my Devour I am following step by step but it keeps saying that CP file was not found
    The part when im sappose to copy from Sdcard to system folder
    it says it isent there
    The rootshell worked too Something im doing wrong?
     
  4. phirefaux

    phirefaux Well-Known Member
    56

    Apr 8, 2010
    157
    2
    56
    Central FL
    is this confirmed to be working? i would love to root my devour, can we get a video for some verification? or perhaps a direct link to alldroid showing the steps?
     
  5. phirefaux

    phirefaux Well-Known Member
    56

    Apr 8, 2010
    157
    2
    56
    Central FL
  6. snowboarderxd1

    snowboarderxd1 Well-Known Member
    16

    Jun 2, 2010
    55
    1
    16
    MA
    Thank you ! i used both Links above and Got My devour rooted <3 !
     
  7. 007shark

    007shark Well-Known Member
    43

    Jul 24, 2010
    242
    40
    43
    Male
    Electronics Tech
    FL
    I just successfully rooted my Devour. Finally!!! I personally used the directions from TechJournal but still had to deviate from them for success.

    I first downloaded the android sdk from google. I extracted the file to the c: directory.
    Follow directions 1-5 from above.
    In the command prompt if you extracted the sdk to the c: directory, type: cd c:\android-sdk-windows\tools and press enter then type: abd devices
    Your phone should be listed as A555.
    Skip step 7.
    On steps 8-14: stay in the c:\android-sdk-windows\tools directory and when selecting the file to push reference the file's location.
    EX: adb push c:\Devour_root\Superuser.apk /sdcard/Superuser.apk
     
    SmoothOperator and phirefaux like this.
  8. djratchet

    djratchet Member
    5

    Jul 25, 2010
    8
    0
    5
    Ok so I got my Devour last month, and I am so glad there is a root now.. Just some questions. I am new to android, and I am definitely new to the rooting process. The only hacking I have done before is loading a PSP with custom process. The only hacking I have done before is loading a PSP with custom firmware. This seems like the same concept, but it seems a bit more nvolved. So here are my questions 1) what are the odds of me screwing up and bricking my phone? Anyway to fix it if this does happen? 2) if I decide for some crazy reason I want to revert my phone back to unrooted, how would I do that, and how easy would it be? 3) after rooting, will it be possible to upgrade to eclair or froyo?
     
  9. SmoothOperator

    5

    Jul 25, 2010
    6
    0
    5
    Now that the phone has been rooted, I am interested in posting. So I got my Devour rooted, but what do I do with it now? I recently owned the Palm Pre so android rooting is new to me. Do I need to wait for files to be posted, or can I find some sort of "How to.." now that it is rooted?
     
  10. nether1369

    nether1369 New Member
    5

    Apr 8, 2010
    1
    0
    5
    ive tried rooting my phone and everytime i run thru those instructions, step 28 does not work.

    after I key in the command and execute it, it goes thru the file list and says file not found for every file, then none of the command past that point dont work.
     
  11. deahcory

    deahcory New Member
    5

    Aug 3, 2010
    1
    0
    5
    Devour rooted successfully!

    Already renaming Verizon Bloatware from *.apk to *.bak.

    Items renamed already:
    VCastMusic.apk (VCast Music)
    VZNav.apk (VZ Navigator)
    MusicSync.apk (VCast Music Sync)
    VCastVideos.apk (VCast Videos)
    HelpCenter-release.apk (Help Center)
    VpnServices.apk (Virtual Private Network)

    I can't figure out which is Visual Voicemail and Media Share. Any help?
     
  12. tithefug

    tithefug Active Member
    16

    Oct 28, 2008
    32
    3
    16
    Visual Voicemail is VVM.apk or something like that. I'm not sure about the Media Share. Also, the VpnServices had nothing to do with Verizon per se, as this is what is needed to connect to VPN's, such as the one I have at work. If you don't need VPN, then it's fine to alter.

    Also, would you be able to copy the GMail.apk and GMail.odex files and PM them to me. I accidentally overwrote them (before renaming) with ones from another phone, and now neither work properly.

    Thanks,

    Tithefug
     
  13. LCKY 13

    LCKY 13 Member
    36

    Mar 29, 2010
    19
    1
    36
    so...i cant do this with windows 7? ive done sum searching around and dled the drivers for adb but it won't work cause it says "theres a newer version of this program already installed" wtf.
     
  14. d.wats

    d.wats Member
    16

    Aug 3, 2010
    17
    1
    16
    It works on windows 7. Take the adb files and put them in a folder under c:\. Then use the command prompt to navigate to it.

    example: cd \androidSDK\tools

    You will also put the devour_root files in the tools folder. The tools folder will be located with adb.
     
  15. musicman

    musicman New Member
    5

    Aug 17, 2010
    1
    0
    5
    I've been able to attain root access, but when I try to run "busybox --install /system/xbin/ I'm told that none of the files exist, and when I try to run the cp commands after that, I'm told "cp: not found". Any help would be much appreciated!

    *edit*

    I was able, using the link provided farther up the page, to obtain Superuser access. My questions now are as follows: is it now possible to get a working version of 2.1 or 2.2 on the phone, and how would I go about deleting/disabling bloatware/BLUR/etc?
     
  16. LCKY 13

    LCKY 13 Member
    36

    Mar 29, 2010
    19
    1
    36

    it won't let me dl the adb...cause there is no windows 7 version...so i dl the 64 bit version for vista and when i try to install it it says there is already a newer version of this software on the pc, which there isn't.
     
  17. thangbbi2005

    thangbbi2005 New Member
    5

    Aug 24, 2010
    3
    0
    5
    i fail at the chmod 755 exploid any help? i followed all the direction just this part doesnt work
     
  18. LCKY 13

    LCKY 13 Member
    36

    Mar 29, 2010
    19
    1
    36

    i'm having the same problem now..i understand why and how we are pushing the files to the sd card on the phone..but what is this chmod file? or where is it located.
     
  19. Rocket_Grunt_Darien

    Rocket_Grunt_Darien Well-Known Member
    16

    Aug 24, 2010
    87
    7
    16
    Male
    Orlando, FL
    on Step 8 i type the cmd just like ddschmidt says without specifying the name of the file to push like this "c:\devour_root>adb push Superuser.apk /sdcard/" it gives me "failed to copy 'Superuser.apk' to '/sdcard/Superuser.apk': Read only file system" i'm running Windows 7 Home Premium.
     
  20. calially

    calially New Member
    5

    Aug 27, 2010
    1
    0
    5
    IVE ROOTED MY MOTO DROID ALREADY WITH NO PROBLEM, BUT I SEEM TO BE HAVING A PROBLEM ROOTING THIS DEVOUR.. CAN SOMEONE PLEASE POST THE LINKS FOR THE CORRECT DOWNLOADS..:thinking:
     
  21. moomoodino

    moomoodino New Member
    6

    Mar 25, 2011
    2
    1
    6
    underground
    ok this will be my first root [the devour)...i have everything downloaded and im stuck at setting up adb.

    its says to go to device manager and everything and go to the adb file...but my device manager isnt showing a adb file can anyone please help me i can not stand that the devour isnt getting any further updates so that sucks bad

    any help will be greatly appreciated
    im extremely stressed out from trying to root my phone...from uninstalling everything reinstalling everything changing the usb ports..ive looked all over google for a solution but nothing pops up.

    moomoodino
     
    zrad.zg likes this.
  22. zrad.zg

    zrad.zg Well-Known Member
    16

    Mar 17, 2011
    62
    1
    16
    CNA
    Illinois
    instead of going that route why not push andro universal root onto your then install it using cmd commands
    'adb install C:\AndroidSDK\tools\androroot.apk'
    thats just an example replace the AndroidSDK\tools with wherever you put the sdk
    see if that works
     
  23. mbrowne

    mbrowne New Member
    5

    Jun 17, 2011
    2
    0
    5
    This worked great in general but I encountered two problems...fortunately I found solutions/workarounds for both:

    1. I'm on a Mac, so I skipped the part about the Windows drivers, but at first the adb push command wouldn't work for me, and I realized it's because the SD card was coming up as read-only. So I reformatted the SD card (MS-DOS FAT) in disk utility.

    Later on, I couldn't seem to access any files from /sdcard using the adb shell. It turns out the reason was that when I connected the phone to my computer I selected "Manage memory card," which I guess means Mac OS took control of the drive and it was unavailable to adb. So I chose "modem mode" instead and it worked.

    2. When I ran the command:
    busybox --install /system/xbin/

    I got a bunch of "no such file or directory" errors.

    I found a workaround on this page:
    Extending Android's shell with BusyBox | Novoda

    ..the important part of which is to run:
    export PATH=/data/busybox:$PATH
    busybox

    Then just prefix all the cp commands with busybox, like this:

    busybox cp /sdcard/Superuser.apk /system/app/

    Now on to upgrading the Android OS...
     
  24. scary alien

    scary alien not really so scary
    Moderator
    2,138

    Mar 5, 2010
    22,050
    22,995
    2,138
    Male
    space alien ;)
    Indy
    Moved to the all-things-root sub-forum.

    Thanks!
     
  25. Me1vin00

    Me1vin00 New Member
    5

    May 24, 2012
    2
    0
    5
    file is not downloadable anymore, is been blocked. Ooops!
     

Share This Page

Loading...