Droid X Recovery finally released!

ggaabe

Member
Joined
Aug 3, 2010
Messages
52
Reaction score
0
Location
NY
logo2.png


Koush, working with birdman and rainabba, has finally released a droid X recovery package!

Well, this was a *****.

Caveats: This is not a *real* recovery. The way this recovery works is by hijacking portions of your boot process during system initialization and starting into recovery instead. So, if you hose your system *COMPLETELY* you will need to SBF. Specifically, if your logwrapper, logwrapper.bin, or hijack binary are missing from /system/bin, you will be screwed.

How does this work? When your device boots up, there is a init.rc script in your boot image that runs various components found in /system. The Droid X recovery bootstrap mimics the "logwrapper" binary. The hijacker then looks for "/data/.recovery_mode", and if it finds it, it unmounts /system to prevent android from starting. It then starts up recovery instead.

How do I boot into recovery? You can manually create the /data/.recovery_mode via a terminal file and simply reboot, and you will be in recovery. Or you can use the handy Droid X Recovery Bootstrap application to reboot into recovery.

What if my phone won't boot? How do I get into recovery without the app? When the hijacker runs, it will automatically create the "/data/.recovery_mode" file after it finishes. This tells the system that the next time it boots, it should boot into recovery. But, when the system starts, the Droid X Recovery Bootstrap will then delete that file when Android is fully started, to prevent you from booting into recovery. So what does this mean? If you fail to boot, simply pull your battery, and your next boot will be into recovery (unless your /system is *really* hosed, in which case you need to SBF).

Why does the Droid X Recovery Bootstrap start on boot? As mentioned above, it needs to log that your phone booted successfully and recovery mode is not necessary. It also replaces your "adb daemon" with one that has root permissions, allowing for easier usage of the adb command.

Will this work with ROM Manager? Yes, but not yet. I need to make some minor updates to ROM Manager first to support this recovery. Future recovery updates will come through ROM Manager.
Is this open source? Yep.
Recovery: koush's android_bootable_recovery at eclair - GitHub
Droid X Bootstrap: koush's DroidXBootstrap at master - GitHub
Droid X Hijack: koush's android_vendor_motorola_droidx at master - GitHub

OK STOP TALKING, WHERE DO I GET IT? You can grab it for $2 off the Android Market, or you can download it for free here: http://koush.tandtgaming.com//motorola/droidx/DroidXBootstrap.apk

link to this page here: My Brain Hurts
 
OP
ggaabe

ggaabe

Member
Joined
Aug 3, 2010
Messages
52
Reaction score
0
Location
NY
Also, can anybody explain how to do this or how to use the links? Maybe I'm really tired, but I'm stumped what to do with those codes. I downloaded the bootloader on my droid x, and there's 2 buttons. "Bootstrap Recovery", and "Reboot Recovery". I'm assuming I need a custom ROM or the developers froyo 2.2 to do anything with these buttons?
 
Last edited:

tjrocks91

Member
Joined
May 16, 2010
Messages
43
Reaction score
0
Can someone explain to me how ROMs will really make any difference without replacing the kernel? Isn't all the good stuff like speed optimizations and JIT and overclockig and flash all located in the kernel?

Obviously this is a big step in getting there but isn't it kind of pointless right now? Can someone give me some more info or input?

Sent from my DROIDX using Tapatalk
 

KingTee

Member
Joined
Dec 5, 2009
Messages
87
Reaction score
0
Can someone explain to me how ROMs will really make any difference without replacing the kernel? Isn't all the good stuff like speed optimizations and JIT and overclockig and flash all located in the kernel?

Obviously this is a big step in getting there but isn't it kind of pointless right now? Can someone give me some more info or input?

Sent from my DROIDX using Tapatalk


It gives you an option of loading a custom rom with out all of the bloatware that comes with a stock rom. It also gives you an option of loading a stock vanilla android rom without motoblur.
 

tjrocks91

Member
Joined
May 16, 2010
Messages
43
Reaction score
0
Can someone explain to me how ROMs will really make any difference without replacing the kernel? Isn't all the good stuff like speed optimizations and JIT and overclockig and flash all located in the kernel?

Obviously this is a big step in getting there but isn't it kind of pointless right now? Can someone give me some more info or input?

Sent from my DROIDX using Tapatalk


It gives you an option of loading a custom rom with out all of the bloatware that comes with a stock rom. It also gives you an option of loading a stock vanilla android rom without motoblur.

true true. but we wont be able to get froyo right without a custom kernel also?
 

tjrocks91

Member
Joined
May 16, 2010
Messages
43
Reaction score
0
i dont understand how we can run full froyo without a custom kernel. arent all the optimizations in the kernel itself, JIT FLASH etc?
 

afripino

New Member
Joined
Aug 31, 2010
Messages
27
Reaction score
0
Location
Raleigh, NC
Was this an intentional April Fool's Day prank? It definitely got me. LOL. I thought this was for real since we have to use the Droid 2 Recovery for the GB leaks for the DX. GOOD ONE!
 
Top