DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18

Thread: [Tutorial] How to hack your Droid 2. All In One Thread.

  1. Developer
    AngDroid's Avatar
    Member #
    60737
    Join Date
    Apr 2010
    Posts
    759
    Liked
    1 times
    Phone
    D2 - Team DeFuse
    DroidForums.net Developer
    Premium Member
    #1

    [Tutorial] How to hack your Droid 2. All In One Thread.

    I have decided to put up this guide for new users of the Droid 2 and Android in general. This will help you catch up for those that are not coming from the OD (Original Droid) or another Android device.

    Everything in here is stuff I picked up from reading many different threads and the threads will be linked to.

    I will try to go in steps that one would take to get their Droid 2 rooted and customized to his/her liking.

    Hope you enjoy your Droid 2 and Android experience.

    Root:
    The first thing many want to do is root their phone. Root allows you to gain SuperUser permissions to system files so you may run programs such as Root Explorer, SetCPU, Titanium Backup and many others. This is much like running Windows as the Admin where you can change settings and files at will.

    Superuser permissions for each app on Android devices is handled by an app called Superuser. It will be installed the first time you root your phone and can be updated from Android Market or from HERE.

    You can Root your phone by two methods, using the ADB shell (command line) from The Android SDK or from a one click method directly from your phone.

    Instructions for the one click method can be found HERE and HERE.
    Instructions for the command line method can be found HERE.

    Before you begin to root your phone you will need to prep your computer with drivers and Android SDK.

    Motorola Drivers can be found HERE.

    Android SDK with all install instructions can be found HERE. Installing the SDK can be tricky since you will need to install Java and the optional Eclipse package. Take your time to read and follow all instructions. The most common errors are not installing Java and not setting up ADB in your system settings correctly. If you run into problems with ADB then just double check the instructions and make sure you put the path of adb.exe correctly in the Windows Environment Variables.

    You may also want to give Droid Explorer a try. It is a Windows Explorer type of app for Android devices and it will download and install Android SDK for you but you may need to still setup ADB in your Windows Environment Variables.

    Now that you have your machine setup you can begin rooting and hacking your Droid 2.

    Good luck with Root and welcome to the wonderful world of hacking your Droid 2!

    Updating Superuser App after Rooting your phone:
    With many changes to Superuser App your Rooting insturctions and files may have contained an older version. To update Superuser app do the following:
    Open Command Prompt
    Type or paste following commands
    adb shell
    su
    mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
    rm /system/app/Superuser.apk
    pm uninstall com.noshufou.android.su
    Goto Android Market from your phone
    Search for and Install Superuser

    Returning your phone to default software:
    Just in case you need to return your phone or something got hosed during rooting or whatever else you can flash your phone with the default software by reading this thread.

    Clockwork Recovery: A MUST HAVE BEFORE YOU DO ANYTHING ELSE!!!
    Download from Android Market or check here and make donation after you download.
    Clockwork Recovery adds bootstrap to your phone. It allows your phone to bypass the default bootstrap so you have advanced functions to install ROMs, back up your system and much more.
    BACKING UP YOUR SYSTEM IS THE FIRST THING YOU SHOULD DO BEFORE MAKING ANY CUSTOM CHANGES TO YOUR SOFTWARE!!!

    What can you do now that your phone has been rooted:
    One of the first things you may want to do is remove any bloatware and programs you do not running on your phone. This is a good thread to read if you are unsure what is safe to remove.

    Underclocking your CPU is a good way to save battery life you are stingy with your battery. You can do that by searching and installing SetCPU in market or by visiting this thread.

    You can turn your phone into a hotpsot by searching and installing Wireless Tether for Root Users in market.

    Block programs from starting up using such apps as Autostarts and Titanium Backup.

    Clear lots of caches by using Cachemate.

    Browse your phone using Root Explorer and also edit system files with it.

    ROMs:
    There are only a couple of ROMs out right now. You can find them in the ROM section of Droidforums.net or over at XDA. Fell free to check out my ROMs

    Deodex Vs Odex:
    Some apps (apk files) have files that contain settings and other info. They are named the same as the apk files but have odex ending. Some people claim that a ROM with the odex files removed (deodex) have better performance while others claim the opposite.

    ROMs are usually deodexed so one can use custom themes.

    You can check out this thread for the tools and instructions to deodex your ROM.

    You may also check out this thread for a deodex system dump and instructions on how to install. This will save you the time from doing it yourself if you are not interested.

    Busybox: What is Busybox? Click HERE to see.
    Download Busybox-1.17.2 HERE
    Extract busybox to your SD Card
    Make sure you are in PC Mode and Debugging is enabled in Applications options
    adb shell
    su
    stop
    mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
    cp /sdcard/busybox /system/xbin/
    cd system/xbin
    busybox --install /system/xbin/
    mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
    sync
    reboot

    Busybox

    You can also use Root Explorer or whatever file browser you may use to copy busybox to your system/xbin folder. Some people use system/bin but I prefer xbin...just a habbit.

    Thats about it for now and I will add more to this later...
    Last edited by AngDroid; 10-03-2010 at 07:31 PM.
  2. Developer
    AngDroid's Avatar
    Member #
    60737
    Join Date
    Apr 2010
    Posts
    759
    Liked
    1 times
    Phone
    D2 - Team DeFuse
    DroidForums.net Developer
    Premium Member
    #2

    Place Holder 1

    Place Holder 1
  3. Developer
    AngDroid's Avatar
    Member #
    60737
    Join Date
    Apr 2010
    Posts
    759
    Liked
    1 times
    Phone
    D2 - Team DeFuse
    DroidForums.net Developer
    Premium Member
    #3

    Place Holder 2

    Place Holder 2
  4. Droid Ninja
    Redflea's Avatar
    Member #
    5967
    Join Date
    Nov 2009
    Posts
    1,954
    Liked
    8 times
    Phone
    Motorola Droid 2
    #4
    Cool - nice write-up, Motaboy, and a good service to the Droid community (along w/the ROMs you've been making).

    One note that would be good to add in the Clockwork Recovery section...a large bolded, 24 point reminder that the first thing they should do right after rooting, and before any subsequent theme/ROM/modification, is make a nandroid backup, so they can revert when (not if, when) something eventually goes wrong.

    Lots of pain would be avoided if more folks knew to do it/remembered to do that.

    You might want to include a short description of why users would want to install busybox and how it's used in shell commands.

    And maybe a note for the adventurous types in the Deodex/Odex section that simply deleting the Odex files is a bad idea. I've already helped one person who thought he could deodex that way after reading a post about deodexing.

    Gonna add this thread to my "go here" list for noobs...
  5. Droid Ninja
    microsnook's Avatar
    Member #
    35836
    Join Date
    Feb 2010
    Posts
    1,292
    Phone
    Enter Current Phone Model Here
    #5
    This is helpful, thank you for taking the time to post it all up!
  6. Master Droid
    wmnomore's Avatar
    Member #
    711
    Join Date
    Nov 2009
    Posts
    598
    Liked
    1 times
    #6
    Hey guys got a question. i am coming from the droid 1 and have used rom manager. how do i use this with droid 2 now. i am able to see the same roms that i did with the droid 1. how do i refresh this list for d2, or how do i make it aware that i am now using a d2?
    thanks so much,
    chris
  7. Droid Ninja
    MrKleen's Avatar
    Member #
    29860
    Join Date
    Jan 2010
    Posts
    1,602
    Liked
    34 times
    Phone
    D1, D2, DX,TBolt, Galaxy Nexus
    #7
    Quote Originally Posted by wmnomore View Post
    Hey guys got a question. i am coming from the droid 1 and have used rom manager. how do i use this with droid 2 now. i am able to see the same roms that i did with the droid 1. how do i refresh this list for d2, or how do i make it aware that i am now using a d2?
    thanks so much,
    chris
    You are not able to use the same Roms as you were with the D1. You can use rom manager to install roms but presently there are none actually in rom manager.
  8. Developer
    AngDroid's Avatar
    Member #
    60737
    Join Date
    Apr 2010
    Posts
    759
    Liked
    1 times
    Phone
    D2 - Team DeFuse
    DroidForums.net Developer
    Premium Member
    #8
    Quote Originally Posted by Redflea View Post
    Cool - nice write-up, Motaboy, and a good service to the Droid community (along w/the ROMs you've been making).

    One note that would be good to add in the Clockwork Recovery section...a large bolded, 24 point reminder that the first thing they should do right after rooting, and before any subsequent theme/ROM/modification, is make a nandroid backup, so they can revert when (not if, when) something eventually goes wrong.

    Lots of pain would be avoided if more folks knew to do it/remembered to do that.

    You might want to include a short description of why users would want to install busybox and how it's used in shell commands.

    And maybe a note for the adventurous types in the Deodex/Odex section that simply deleting the Odex files is a bad idea. I've already helped one person who thought he could deodex that way after reading a post about deodexing.

    Gonna add this thread to my "go here" list for noobs...
    Made the changes you suggested. If you are anyone wants to add to it just PM me the additions you would like to add and I will post them up.
    Follow me on Twitter
    If you would like to make a donation, you may do so by clicking HERE.
    Team DeFuse Website
    IRC - http://webchat.freenode.net/ #teamdefuse
  9. Droid Newbie
    hydguy's Avatar
    Member #
    125336
    Join Date
    Oct 2010
    Posts
    2
    Phone
    Droid 2
    #9
    A few questions...

    When entering Command Prompt to update Superuser, it says that none of the commands are recognized.. WHICH Command Prompt are you using? The Command Prompt in the SDK will not allow user inputs for me, and the Win CP is what I get the errors in...

    Second, Clockwork Recovery for the Droid 2 isn't listed at the referenced site....
  10. Master Droid
    hailtothetheif83's Avatar
    Member #
    29048
    Join Date
    Jan 2010
    Location
    Temecula, Ca
    Posts
    1,021
    Twitter
    hailtothetheif8
    Phone
    GOOGLE Nexus S 4G
    #10
    Can I use terminal with the same commands to remove Super user so I can update from market?

    Thanks for the help... Also for the great write up
    Nexus S 4G MIUI 1.7.1,
    Kernel: *Matr1x* with BLN and voodoo v3.5 - smartass gov and 1.4 Ghz oc
Page 1 of 2 1 2 LastLast

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Verizon Droid Tutorial class
    By rjm5151 in forum Android General Discussions
    Replies: 15
    Last Post: 01-01-2011, 06:28 AM
  2. tutorial: True VOIP: Google Voice > Droid
    By cellphonedork in forum Android General Discussions
    Replies: 30
    Last Post: 11-02-2010, 07:01 PM
  3. Tutorial on Syncing iTunes to Droid
    By 2guys1droid in forum Motorola Droid
    Replies: 2
    Last Post: 10-25-2010, 07:39 AM
  4. USB host mode for Droid - Hack A Day Hack!
    By LastBoyScout in forum Android Hacks and Help
    Replies: 0
    Last Post: 02-11-2010, 06:53 AM
  5. Droid Tutorial Youtube Channel
    By bb-gun in forum Motorola Droid
    Replies: 7
    Last Post: 01-07-2010, 01:28 PM

Search tags for this page

hack my droid 2
,

hacking droid 2

,
how to crack a droid
,
how to crack a droid 2
,
how to crack droid 2
,
how to crack your android
,

how to hack a droid 2

,
how to hack a droid 2 password
,

how to hack droid 2

,

how to hack the droid 2

Click on a term to search our site for related topics.
Find us on Google+