Motorola Devour ROMs/Hacks ROMs and hacks for the Motorola Devour
Go Back   Android Forums > Motorola Android Devices > Motorola Devour > Motorola Devour ROMs/Hacks
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-23-2010, 10:03 PM
Android Nanite
 
Join Date: Jul 2010
Posts: 8
Thanks: 0
Thanked 6 Times in 3 Posts
bitswitch is infamous around these parts
Default We can have Devour root now. Instructions inside. XD

This whole set of instructions was lifted directly from the instructions
on how to root the Droid X with a few edits here and there.

(Run means type the command in quotes [but not the quotes] then press the Enter key)
1.Download the attached archive and expand it to a folder you can find (eg. c:\devour_root)
2.Set up ADB (You'll need to google this part)
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 "PC Mode" 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 (use that topic for support) and return here when "adb devices" lists your X.
7.Run "CD c:\devour_root" (or where ever you expanded the archive)
8.Run "adb push Superuser.apk /sdcard/Superuser.apk"
9.Run "adb push su /sdcard/su"
10.Run "adb push busybox /sdcard/busybox"
11.Run "adb push exploid /sqlite_stmt_journals/exploid"
12.Run "adb shell"
13.Run "cd sqlite_stmt_journals"
14.Run "chmod 755 exploid"
15.On your phone, navigate to a screen where you can switch wifi/bluetooth on/off easily (settings, or a home screen with a widget)
16.IMMEDIATELY after executing the next step, toggle wifi or bluetooth off and back on
17.Run "./exploid" and follow directions on screen. Once this completes you'll be back at a shell prompt.
18.Run "rootshell". You'll be prompted for a password.
19.Type in password "secretlol" and press Enter then you are root! (You'll know because your prompt will now be a "#" instead of "$")
20.Run "mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system"
21.Run "busybox cp /sdcard/Superuser.apk /system/app/Superuser.apk"
22.Run "busybox cp /sdcard/su /system/bin/su"
23.Run "busybox cp /sdcard/busybox /system/bin/busybox"
24.Run "chmod 4755 /system/bin/su"
25.Run "chmod 4755 /system/bin/busybox"
26.Run "rm /system/bin/rootshell"
27.Run "exit" to drop from root to a non-root user shell (on phone still)
28.Run "exit" to drop back to your machine command prompt (instead of phone)

To Confirm root is established:
Run "adb shell"
Run "su" (now you should see the # sign which indicates you are root)
Watch your screen so you can allow Superuser root access.

You're done! feel free to kill the bloat apps and such. (I haven't tested killing anything yet.)

NOTE: It might be a smart idea to do "rm /system/bin/rootshell" after you have su and superuser in place as ANY program will have access to your root if you leave it (cause everyone will know the password)
NOTE: If the 'busybox cp' commands do not work try
"dd if=/sdcard/Superuser.apk of=/system/app/Superuser.apk"
"dd if=/sdcard/su of=/system/bin/su"
"dd if=/sdcard/busybox of=/system/bin/busybox"

The edits:
-added busybox in front of the cp commands
-mounted the system read write
-changed out Birdman's su and Superuser.apk to the ones from xda-developers - View Single Post - [APP] Superuser 2.2.2 - Install fixed (really this time) [2010-07-07]

Credits:
Birdman for rooting the Droid X
ChainsDD for posting the su and Superuser.apk files.

Credits (Original credits from DROID X IS ROOTED! (ADB and Shell as SU with System mounted as R/W, NO Flashing or bootloader yet) - Motorola Droid X Rooting - AllDroid Public Board - DROID X IS ROOTED! (ADB and Shell as SU with System mounted as R/W, NO Flashing or bootloader yet))
Sebastian Kramer for this blog post - http://c-skills.blogspot.com/2010/07...-trickery.html
Birdman - for editing Sebastians work for the droidx
[mbm] - for answering birdmans many questions while root was tried (and failed xD)

And of course if anything goes wrong and breaks it is no ones fault but your own. XD

BTW: I've only tested this on my Devour. Your mileage may vary.
Attached Files
File Type: zip devour_root.zip (1.04 MB, 361 views)

Last edited by bitswitch; 07-23-2010 at 11:41 PM. Reason: Fixed link to Sebastian's blog post.
Reply With Quote
Thanked by 4
  #2 (permalink)  
Old 07-23-2010, 10:07 PM
Android Nanite
 
Join Date: Jul 2010
Posts: 8
Thanks: 0
Thanked 6 Times in 3 Posts
bitswitch is infamous around these parts
Default

Step 23 is probably optional as a copy of busybox is already there. This would just update it.

To Un-Root:
remove su and Superuser.apk.
DO NOT REMOVE BUSYBOX.
Seeing as busybox was already there (I think), it would be bad to remove it.

At least I think that's all that is needed to un-root it.

And of course if anything goes wrong and breaks it is no ones fault but your own. XD
__________________
Twitter: Bitswitch

Last edited by bitswitch; 07-25-2010 at 07:53 PM. Reason: Update
Reply With Quote
Thanked by
  #3 (permalink)  
Old 07-23-2010, 11:08 PM
Android Beginner
 
Join Date: May 2010
Posts: 51
Thanks: 0
Thanked 2 Times in 1 Post
x.v_ is infamous around these parts
Default

Good job! Even though I don't own a Devour.
Reply With Quote
  #4 (permalink)  
Old 07-23-2010, 11:08 PM
Android Nanite
 
Join Date: May 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
dimachka is infamous around these parts
Default

Heh. Well done sir.
Reply With Quote
  #5 (permalink)  
Old 07-24-2010, 12:55 PM
Android Nanite
 
Join Date: Jul 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
boonemeat is infamous around these parts
Default

hey bitswitch congrats on your accomplishment. if you are up to it the guys at modmymobile are trying to use the same droid x method onthe motorola backflip. they could use ur help if you are willing. supposedly there is a bounty for it also if ya wanna go there and check it out.
Reply With Quote
  #6 (permalink)  
Old 07-24-2010, 01:51 PM
Android Nanite
 
Join Date: Jul 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
syztym is infamous around these parts
Default

good job bitswitch
Reply With Quote
  #7 (permalink)  
Old 07-24-2010, 02:23 PM
Android Nanite
 
Join Date: Jun 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
hoganistrash is infamous around these parts
Default

just followed the guide and successfully have root access on my devour
thank you so much for your guide!
it was incredibly helpful and straightforward.

i do have one question though. Can i now flash roms on my device? I am new to the rooting scene (this is my first delving into the matter) and am not sure exactly how everything works. thanks again!
Reply With Quote
  #8 (permalink)  
Old 07-24-2010, 03:00 PM
Android Nanite
 
Join Date: Jul 2010
Posts: 8
Thanks: 0
Thanked 6 Times in 3 Posts
bitswitch is infamous around these parts
Default

Quote:
Originally Posted by hoganistrash View Post
just followed the guide and successfully have root access on my devour
thank you so much for your guide!
it was incredibly helpful and straightforward.

i do have one question though. Can i now flash roms on my device? I am new to the rooting scene (this is my first delving into the matter) and am not sure exactly how everything works. thanks again!
I'm not sure if we can do custom roms on this yet. I know pretty much nothing about building custom roms, dealing with the bootloader, etc. so we will need someone with some more experience to work on that part.
I plan to work on it but it will probably take me awhile.
__________________
Twitter: Bitswitch
Reply With Quote
  #9 (permalink)  
Old 07-24-2010, 03:21 PM
Android Nanite
 
Join Date: Jul 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
camperdave is infamous around these parts
Default

Hey bitswitch, I was going to PM you this, but unfortunately, I don't have the postcount to. So, anyway:

Hey bitswitch, I'm camperdave, and worked on a slightly different rooting method than you for the Devour over at droidforums.net

Congratulations on getting the su whitelist app working, (though I haven't gotten a chance to test your binaries out yet) I had quite a bit of trouble getting libbinder.so to play nice.

If you don't mind revealing some of the magic tricks, I was curious on two of the things you and I solved differently:

1) how DID you resolve the libbinder.so problem? Did you just static link everything? (I was contemplating that, but ran off to a party last night before I could start it :P)

2) Where did you get the mtdblock3 mount point?
I looked in /proc/mtd, and it seems the devour sticks its system mount in mtdblock1.

Anyway, good to have some other people working on rooting, and I guess the race is on now for a custom recovery image?
Reply With Quote
  #10 (permalink)  
Old 07-24-2010, 03:38 PM
Android Nanite
 
Join Date: Jul 2010
Posts: 8
Thanks: 0
Thanked 6 Times in 3 Posts
bitswitch is infamous around these parts
Default

Quote:
Originally Posted by camperdave View Post
Hey bitswitch, I was going to PM you this, but unfortunately, I don't have the postcount to. So, anyway:

Hey bitswitch, I'm camperdave, and worked on a slightly different rooting method than you for the Devour over at droidforums.net

Congratulations on getting the su whitelist app working, (though I haven't gotten a chance to test your binaries out yet) I had quite a bit of trouble getting libbinder.so to play nice.

If you don't mind revealing some of the magic tricks, I was curious on two of the things you and I solved differently:

1) how DID you resolve the libbinder.so problem? Did you just static link everything? (I was contemplating that, but ran off to a party last night before I could start it :P)

2) Where did you get the mtdblock3 mount point?
I looked in /proc/mtd, and it seems the devour sticks its system mount in mtdblock1.

Anyway, good to have some other people working on rooting, and I guess the race is on now for a custom recovery image?
Ah yes...the magic behind how I did it...
To be honest, I got lucky. Really lucky most likely.

I went searching to see if there was a su and superuser.apk already out there for me to use because I ran into the libbinder.so problem too.
I found that the su and superuser.apk released by ChainsDD here worked.

As for the mount point, more luck I guess.
It was late, I wasn't thinking to much, and I tried that the mount command I had seen in a post about removing bloatware from a rooted Droid.
It worked so I went with it.

All the real effort/work was done by Birdman, ChainsDD, Sebastian Kramer, and [mbm]. I just got lucky that all their stuff worked together.

As for the custom recovery image, someone else will get it well before me.
I have no idea where to begin with that.
__________________
Twitter: Bitswitch
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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


 

Welcome to the
AndroidCentral Forums!

You've found the best place to discuss, learn, and chat about Android Phones like the EVO 4G, Motorola Droid X, Droid Incredible, and many more!

Register now

Registering will remove this sidebar, give you the ability to post, send messages, vote in polls, enter contests, and much more!

Android Central Accessory Store
Motorola Droid 2 Motorola Droid 2 Accessories
Motorola Droid 2 Cases
Motorola Droid 2 Chargers and Cables
Motorola Droid 2 Batteries
Motorola Droid 2 All Accessories
Motorola Droid X Motorola Droid X Accessories
Motorola Droid X Cases
Motorola Droid X Chargers and Cables
Motorola Droid X Batteries
Motorola Droid X All Accessories
HTC Verizon Droid Incredible Accessories HTC Verizon Droid Incredible Accessories
HTC Verizon Droid Incredible Cases
HTC Verizon Droid Incredible Chargers and Cables
HTC Verizon Droid Incredible Batteries
HTC Verizon Droid Incredible All Accessories
Motorola Droid Accessories Motorola Droid Accessories
Motorola Droid Cases
Motorola Droid Chargers and Cables
Motorola Droid Batteries
Motorola Droid All Accessories
HTC Sprint EVO 4G Accessories HTC Sprint EVO 4G Accessories
HTC Sprint EVO 4G Cases
HTC Sprint EVO 4G Chargers and Cables
HTC Sprint EVO 4G Batteries
HTC Sprint EVO 4G All Accessories
Samsung Captivate Accessories Samsung Captivate Accessories
Samsung Captivate Cases
Samsung Captivate Chargers and Cables
Samsung Captivate Batteries
Samsung Captivate All Accessories
Select your phone to shop

Evo 4G


Rooting and ROM cooking

New in the Forums

From the Android Central Store

Follow Android Central

 

Subscribe via RSS
   

Add to Google Reader or Homepage



All times are GMT -4. The time now is 02:36 PM.


Creating smartphone communities
Android Central - Android reviews, news and forums Crackberry - Blackberry news, reviews and community TiPb - iPhone news, accessory reviews & forums
Pre Central - Palm Pre Review, News and Community Treo Central - Treo & Centro News and Forums WMExperts - Windows Mobile Reviews & News
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0