What's new
DroidForums.net | Android Forum & News

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Droid 2 hacking/rom install class

you need bootstrap to install any rom, and please make a nandroid backup before istalling any roms. The first 5 posts explain and provide videos on how to get it set up.
 
Hey I just want to say thanks to PC for these guides theys are phenomenal...really helped me get started. Also thanks Lithoss for the "Enable USB Debugging"...that had me stumped for a minute...Thanks
 
Tuesdays lesson: reserved

DO NOT USE 2.2.20 SBF on a 2.3.20 device.


We will discuss how to set up RSDLite for the droid 2. I am going to preference that the method I am discussing uses the Windows 7 operating system. I welcome any one who is willing to discuss setting up the program with other operating systems.


Course Goals: To teach people how to set up and use rsdlite

Course Materials: Original source (Tutorial/Walkthrough for flashing an .sbf to Droid 2 (unrooting/factory restore) - xda-developers), a copy is here: http://www.droidforums.net/forum/droid-2-rooted-help/76378-droid-2-sbf.html

Required software/programs: Rsdlite file: Droid 2
Motorola drivers: USB and PC Charging Drivers - Motorola USA


Prerequisite: Have your drivers from motorola already set up.

Course videos: This is to serve as a visual reference, though it is for the droid x the process is very similar:

http://www.youtube.com/watch?v=CIdtdYqbasw

http://www.youtube.com/watch?v=H62KLc4kKN0




Step 1: Download and extract the sbf files and rsdlite program from rootwiki

Step 2: Install the rsdlite program 4.7

Step 3: Extract the patch (pst. flash.ini) to the motorola/ rsdlite folder. The Motorola Rsdlite folder can be found on your computers C drive under Program files.

Now your rsdlite program is all set and ready to go.







Now to discuss how to use it.


Prerequisite: Must have the rsdlite program set up


Step 1: Boot into the bootloader, you do this by powering on and holding the physical up button on your keyboard. You should see a black screen with text that says battery: OK

Step 2: Plug is your usb cord into the computer you loaded the rsdlite file on

Step 3: Click on your rsdlite program. You need to run as an administrator, to do that hold shift key and right click on the rsdlite program (do that as you are about to open the program). Thanks Firesong3k for reminding me about that.

Step 4: Next to the file name text box in the rsdlite program are three little dots. Click on those dots and find the file DROID2_X6_2.2.20_SHADOW_BP_C_01.09.05P_P2_USERBLD_SECURE.sbf. Click on that file and then click start. Make sure you have a strong battery before flashing this is the one time you need to ensure your battery is ok to get through the process, because the program erases everything and re-flashes your phone.

Step 5: Wait for it to get to 100% and reboot your phone to the motorola "M" symbol first then unplug your device. While at the M take off the battery cover out and remove your battery. Wait for about 3 seconds and then reinstall your battery. Power on and hold the physical X key until you get to the triangle and !.

Step 6: on your physical keyboard push the search button to get into the recovery mode. From there you are going to wipe data/factory reset. AFter that is complete click reboot.

Step 7: Your device will load up to some off colored screen. Remove your battery and put it back in. Power on while holding the physical up key. back to the bootloader.

Step 8: plug in your usb cord and open the rsdlite program again.

Step 9: Now you are going to click the three little dots and find this file: BL_D235_cdma_droid2_Consumer_replacer_HSPart.sbf you will click start.

Step 10: Allow the program to reach 100% and reboot. This time you are going to allow the phone to boot all the way up (no battery pull for now).

Step 10a: If for some reason you do not get past the M then you will have to do a battery pull and boot into recovery, once there wipe data and do a reboot. I found this step unnecessary but other had to do it.

Congratulations you have your phone back to the out of the box state.


If you are running the new Droid 2 2.3.20 look below:​


The steps are similar you will just be using a different rsdlite program and file.​






Steps: The steps are similar to what is above except you only have one file to SBF.​
none of this is working for me my phone is stuck at this screen
bootloader
d2.37
err:a5,70,70,00,1f



mem_map blank
service req'd
battery ok
ok to program
transfer mode:
usb
 
Tuesdays lesson: reserved

DO NOT USE 2.2.20 SBF on a 2.3.20 device.


We will discuss how to set up RSDLite for the droid 2. I am going to preference that the method I am discussing uses the Windows 7 operating system. I welcome any one who is willing to discuss setting up the program with other operating systems.


Course Goals: To teach people how to set up and use rsdlite

Course Materials: Original source (Tutorial/Walkthrough for flashing an .sbf to Droid 2 (unrooting/factory restore) - xda-developers), a copy is here: http://www.droidforums.net/forum/droid-2-rooted-help/76378-droid-2-sbf.html

Required software/programs: Rsdlite file: Droid 2
Motorola drivers: USB and PC Charging Drivers - Motorola USA


Prerequisite: Have your drivers from motorola already set up.

Course videos: This is to serve as a visual reference, though it is for the droid x the process is very similar:

http://www.youtube.com/watch?v=CIdtdYqbasw

http://www.youtube.com/watch?v=H62KLc4kKN0




Step 1: Download and extract the sbf files and rsdlite program from rootwiki

Step 2: Install the rsdlite program 4.7

Step 3: Extract the patch (pst. flash.ini) to the motorola/ rsdlite folder. The Motorola Rsdlite folder can be found on your computers C drive under Program files.

Now your rsdlite program is all set and ready to go.







Now to discuss how to use it.


Prerequisite: Must have the rsdlite program set up


Step 1: Boot into the bootloader, you do this by powering on and holding the physical up button on your keyboard. You should see a black screen with text that says battery: OK

Step 2: Plug is your usb cord into the computer you loaded the rsdlite file on

Step 3: Click on your rsdlite program. You need to run as an administrator, to do that hold shift key and right click on the rsdlite program (do that as you are about to open the program). Thanks Firesong3k for reminding me about that.

Step 4: Next to the file name text box in the rsdlite program are three little dots. Click on those dots and find the file DROID2_X6_2.2.20_SHADOW_BP_C_01.09.05P_P2_USERBLD_SECURE.sbf. Click on that file and then click start. Make sure you have a strong battery before flashing this is the one time you need to ensure your battery is ok to get through the process, because the program erases everything and re-flashes your phone.

Step 5: Wait for it to get to 100% and reboot your phone to the motorola "M" symbol first then unplug your device. While at the M take off the battery cover out and remove your battery. Wait for about 3 seconds and then reinstall your battery. Power on and hold the physical X key until you get to the triangle and !.

Step 6: on your physical keyboard push the search button to get into the recovery mode. From there you are going to wipe data/factory reset. AFter that is complete click reboot.

Step 7: Your device will load up to some off colored screen. Remove your battery and put it back in. Power on while holding the physical up key. back to the bootloader.

Step 8: plug in your usb cord and open the rsdlite program again.

Step 9: Now you are going to click the three little dots and find this file: BL_D235_cdma_droid2_Consumer_replacer_HSPart.sbf you will click start.

Step 10: Allow the program to reach 100% and reboot. This time you are going to allow the phone to boot all the way up (no battery pull for now).

Step 10a: If for some reason you do not get past the M then you will have to do a battery pull and boot into recovery, once there wipe data and do a reboot. I found this step unnecessary but other had to do it.

Congratulations you have your phone back to the out of the box state.


If you are running the new Droid 2 2.3.20 look below:​


The steps are similar you will just be using a different rsdlite program and file.​






Steps: The steps are similar to what is above except you only have one file to SBF.​
none of this is working for me my phone is stuck at this screen
bootloader
d2.37
err:a5,70,70,00,1f



mem_map blank
service req'd
battery ok
ok to program
transfer mode:
usb

Did you try and use the wrong sbf?
 
Wooo, learning thread... I have questions... :-D

I have a few questions I'd like to figure out before I swim into the deep end of the pool and start flashing ROMs... Any input is appreciated, but I'll also update my post to answer these as I do more research.

My Droid 2 currently has stock OS 2.3.20, rooted w/ z4root, clockwork recovery installed, some other stuff installed...

  • sbf imaging:
    - When I hold down <camera> + <down_vol> + <power> and boot, I get the "OK to Program" bootloader screen. This is in the unwritable firmware in the droid 2, so I can't mess it up, correct?
    - That "OK to program" screen is where rsdlite is able to load the sbf images, correct? Does this mean that no matter how I brick my phone using clockwork, I'll be able to load the correct sbf and get working again? What if I use the wrong sbf or the wrong version of rsdlite?

  • Clockwork:
    - I've seen that if I reboot to clockwork from the app, it will appear for the following two system reboots (the first of which is initiated by the app). Is this intended, such that on first reboot, we can flash a new ROM and try to boot it. Then if it boot-loops, we can power cycle the second time and restore a Nandroid backup?
    - It appears that I'm occationally also able to get to the clockwork bootloader by booting to the "OK to program" screen, then hitting the power button to turn off, then hitting it again to turn the Droid 2 back on. Is there a way to consistenlty get into the clockwork bootloader w/o the OS loading and running the app?

  • Loading ROMs and Factory Reset:
    - What happens during a Factory Reset? I did one and my apps dissapeared until I re-activated the phone and signed into my google account, then they were back. Also, a binary that I dropped into /system/bin was still present. Does the Factory reset actually erase anythind aside from some account data?
    - When a new ROM is installed via clockwork and a zip file on the SD, what is happening? Does it just untar a bunch of stuff on the /system partition? I know there are a couple of data-wipe functions in clockwork, so maybe I need to see what those do to find out what isn't touched by the ROM...

  • Putting stuff in /system
    - After rooting and figuring out how to mount /system as RW, I dropped a wget binary into /system/bin. Am I going to get into trouble dropping useful binaries into /system/bin, xbin, etc?
    - What's the best way to edit the default $PATH for root so I can use other directories to store nonstandard stuff?
 
I have a few questions I'd like to figure out before I swim into the deep end of the pool and start flashing ROMs... Any input is appreciated, but I'll also update my post to answer these as I do more research.

My Droid 2 currently has stock OS 2.3.20, rooted w/ z4root, clockwork recovery installed, some other stuff installed...

  • sbf imaging:
    - When I hold down <camera> + <down_vol> + <power> and boot, I get the "OK to Program" bootloader screen. This is in the unwritable firmware in the droid 2, so I can't mess it up, correct?
    - That "OK to program" screen is where rsdlite is able to load the sbf images, correct? Does this mean that no matter how I brick my phone using clockwork, I'll be able to load the correct sbf and get working again? What if I use the wrong sbf or the wrong version of rsdlite? If I am answering you correctly, when doing an sbf you will boot into bootloader by holding up+ power and that mode is used normally as a last resort to recover a device.
  • Clockwork:
    - I've seen that if I reboot to clockwork from the app, it will appear for the following two system reboots (the first of which is initiated by the app). Is this intended, such that on first reboot, we can flash a new ROM and try to boot it. Then if it boot-loops, we can power cycle the second time and restore a Nandroid backup?
    - It appears that I'm occationally also able to get to the clockwork bootloader by booting to the "OK to program" screen, then hitting the power button to turn off, then hitting it again to turn the Droid 2 back on. Is there a way to consistenlty get into the clockwork bootloader w/o the OS loading and running the app? After installing the bootstrap app yes your device will boot up (every other boot up) into a custom recovery and that is where you can load roms and restore a nandroid backup.
  • Loading ROMs and Factory Reset:
    - What happens during a Factory Reset? I did one and my apps dissapeared until I re-activated the phone and signed into my google account, then they were back. Also, a binary that I dropped into /system/bin was still present. Does the Factory reset actually erase anythind aside from some account data? A factory reset restores your device to factory condition (if you are not rooted). Now it will not restore your system files to factory...so if you modified something in your system files you will need to flash a stock rom or use sbf.
    - When a new ROM is installed via clockwork and a zip file on the SD, what is happening? Does it just untar a bunch of stuff on the /system partition? I know there are a couple of data-wipe functions in clockwork, so maybe I need to see what those do to find out what isn't touched by the ROM... What you have on your phone now is a stock rom, when you flash a rom you are replacing your stock rom with a customized one. So for example if someone made a Fascinate rom so that the droid 2 acts just like the fascinate then when you install the fascinate rom your phone will operate and act like the fascinate according to the program codes. look at the dev page to see what all is affected by the rom. I always recommend doing a nandroid backup of your stock based rom first before installing any rom.
  • Putting stuff in /system
    - After rooting and figuring out how to mount /system as RW, I dropped a wget binary into /system/bin. Am I going to get into trouble dropping useful binaries into /system/bin, xbin, etc?
    - What's the best way to edit the default $PATH for root so I can use other directories to store nonstandard stuff? Personally I do not mess around to much with the system files, I know that doing otas that is what is checked to ensure certain appas and files are in place. If you choose to play around make a backup of the base version first so that you can always restore your backup just in case. Also I suggest keeping rsdlite ready just in case you need it.


Sorry for the late response, my answers are in red. I hope I answered your questions.
 
I tried using the sbf from that website (the triple threat 1) I'm running 2.3.20 right now and rsdlite 4.8 and I fail in the process everytime anything I'm doin wrong? I have superuser but I have no use of commands when I use the commands the # never shows up. I have bootstrap and rom manager and neither of them let me go to reboot recovery. I have nandroid backups and restored them but they don't restore

Sent from my DROID2 using DroidForums App
 
Are you remounting /system and the data partition as RW from the clockwork menu before you restore your nandroid backup?

I did the SBF on the triple threat page a couple days ago and it worked for me. I used RSDlite 4.9 and the full 2.3.20 sbf.
 
I tried using the sbf from that website (the triple threat 1) I'm running 2.3.20 right now and rsdlite 4.8 and I fail in the process everytime anything I'm doin wrong? I have superuser but I have no use of commands when I use the commands the # never shows up. I have bootstrap and rom manager and neither of them let me go to reboot recovery. I have nandroid backups and restored them but they don't restore

Sent from my DROID2 using DroidForums App


You are in the bootloader mode right. (please see the first page for a video on how to use rsdlite). Also make sure you have the motoconnect drivers. A link to that is also on the first page of this thread.
 
Back
Top