[Q] Question regard Koush's Bootstrap - Droid 2 General

Question about the Bootstrapper for Droid2.
I'm trying to understand exactly what the bootstrap does vs the Droid 1's SP Recovery...
With SP Recovery, if I wanted to restore a nandroid backup, I'd hold down the x button while booting up, and it'd bring me into the SP Recovery console where I could do JUST that.
With the Koush Bootstrap, FROM A POWERED OFF STATE... how would I go about getting into the recovery? If I try to press and hold the x down, I seem to get into the standard droid recovery (and then, subsequently, have to do a battery pull to get out of it)...
Now.. can a cold boot into the recovery/bootstrap NOT work because the Droid 2 doesn't have a 'true' root yet, or am I just missing something?
I apologize for the slight newbness of the question, but it's a question I've never really found a definitive answer to. Yes, I can force a reboot into the bootstrap from within the app itself on the phone, but I'm wondering.. what if you can't get the device to even LOAD that far? Full image recovery at that point? (aka: no nandroid)
Thanks in advance

From my understanding, the cold boot bootstrap have to 1) pull the battery while on M logo, or 2) plug it in then pull battery.
the bootstrap process is actually only hijacking a part of the system partition and use to to achieve root so its not a complete or a true root. idk if that answers your question. tbh i dont really understands this myself lol

You both sound like you have it (as far as I know)
Shadowlore said:
With the Koush Bootstrap, FROM A POWERED OFF STATE... how would I go about getting into the recovery?
Click to expand...
Click to collapse
From a powered off state plug in your phone and power it on and after a few tries should activate the hijacking to startup the bootstrapper to restore a backup.
From newk8600's Droid2

Good to know.. it's simple questions like this that seem to get glossed over in the explanation of many of the exploits
I've actually seen the question asked a few times, but the usual response is: "Go into the application, and select 'Reboot Recovery'.... which is great... except, no one ever really explains what to do if you CAN'T get into the OS itself
And before someone states the obvious, yes, I'm rooted.. and No, I'm not experiencing any issues. I just like to find out these things in advance, BEFORE there's an issue.

Pulling the battery works, because there is essentially a flag that gets set and unset with the bootstrap. If your phone boots past where the bootstrap usually boots, but doesn't boot all the way to the point where the flag gets unset (or set depending how it works), the next time you boot, you get the clockwork recovery.
You can see this at work if you flash a rom and loose bootstrap. The bootstrap program can't reset the flag in the OS, and every time you reboot, you will first load clockwork recovery and have to reboot to get the OS to load. As soon as you bootstrap your phone again, this scenario goes away.
So don't pull the battery as soon as you see the Moto Logo, but wait a little and then pull it for more consistent success.

I just discovered that if you remove "superuser" permissions from bootstraper (using the SuperUser app) that it will boot into bootstrap recovery every time you power on your phone. I made it "forget" the permissions, and noticed this behaviour. Makes sense with your explanation facelessuser.

Related

Booting into clockwork recovery

I don't know how I did it, but everyone else is trying to boot into Clockwork Recovery mode successfully...and the whole pull the battery mode doesn't work 100% of the time...buuuut...I CANT STOP!
I can't stop booting into Clockwork. Every time I turn my phone on, it boots into the Clockwork Recovery, without fault. I've rebooted almost 30 times now and every time its done the same thing. Once it reboots into recovery, it will allow me to reboot the phone and then it boots normally. I really want to fix it, its annoying. The phone still works without any issues, its just really annoying that I have to sit there and watch it boot up to get it to the actual phone.
I don't want to unroot and start over with it all because I've made so many small changes to the phone and made it my own.
Sooo, pleeeeeeeeeease anyone with any info or fixes; let me know!
Mine did that too so I flashed the SBF and started over from scratch. I am afraid to try the D2 Bootstrap again for that reason. For now I can live with it. Did you find a fix yet?
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.
That's from Koush's site. Have you tried to delete the .recover_mode file if it clears it up? If you do try may you please post back?
Worked for me! Thanks for that!
Apparently it only happens randomly to some people. My roommate has a Droid2 and his never did it....weird.
kwheel596 said:
Worked for me! Thanks for that!
Apparently it only happens randomly to some people. My roommate has a Droid2 and his never did it....weird.
Click to expand...
Click to collapse
Glad it worked. It happened to me too and I just used the sbf file to restore everything. Did you use any mount adb commands before you had that problem?
To be honest I have no idea, I've had android phones for a while so I was just flying through the commands and don't remember what was typed
Unable to remove "ClockworkMod Recovery"
[/QUOTE]That's from Koush's site. Have you tried to delete the .recover_mode file if it clears it up? If you do try may you please post back?[/QUOTE]
So, I looked throughout my sd card, and have been unable to find any ".recover_mode" file.. I still get the ClockworkMod Recover screen EVERY time I reboot my device.. I have rooted and unrooted multiple times to try and figure out this problem, as well as searched through this website for answers.. I am not finding any.. HELP!?
Ultimately, I would like to just restore my phone to factory so I can pass it on to a friend..
Thanks in advance for everyone's help!
Chenoaem
Im not able to get into recovery at all... even after flashing recovery using rom manager... and the koush flash doesn't work either. When I try to boot into recovery, it just shows the yellow triangle and the ! and the android icon.....what can i do to get around this? The device is rooted using z4root..... thx!
enkrypt3d said:
Im not able to get into recovery at all... even after flashing recovery using rom manager... and the koush flash doesn't work either. When I try to boot into recovery, it just shows the yellow triangle and the ! and the android icon.....what can i do to get around this? The device is rooted using z4root..... thx!
Click to expand...
Click to collapse
nevermind... forgot to hit the search key! doh!

[Q] Need Help-Can'tRemove Clockwork mod after factory reset

Can't remove clockwork mod after factory reset complete with .340 back. I have tried everything. I have read that I could remove 2 files in root exployer but am lost as to how to complete. Phone never been flashed. Just rooted with clockword Mod and rooted with Z4root. Please Help
Not too sure why you want to remove it. If you want to get rid of root and clockwork then use the SBF.
Sent from my DROIDX using XDA App
I still have a hard time understanding how people really think that doing a factory reset magically flashes the stock OS back. All it does it erase user data and apps. Use the root explorer method or sbf.
I have unrooted and have factory .340 but can't get rid of boot to clockwork mod. I have read sbf will not remove it, so I havent done it. i never flashed a rom, was just curious and wanted to learn. Just need help getting rid of clockwork mod at boot. I thought this was a place for help not downgrading people
mikeyt114 said:
I have unrooted and have factory .340 but can't get rid of boot to clockwork mod. I have read sbf will not remove it, so I havent done it. i never flashed a rom, was just curious and wanted to learn. Just need help getting rid of clockwork mod at boot. I thought this was a place for help not downgrading people
Click to expand...
Click to collapse
This is the place for learning however there is a little doing on your part.
You want to learn but yet you wish to delete a primary tool to flash a Rom.
Your statements are contradictory in meaning.
Now with that said.
check out this site also for flashing info and Rom's
http://www.mydroidworld.com/forums/droid-x-discussion/
You are heading in the correct direction don't get discouraged there's a lot to learn.
kdkinc said:
This is the place for learning however there is a little doing on your part.
You want to learn but yet you wish to delete a primary tool to flash a Rom.
Your statements are contradictory in meaning.
Now with that said.
check out this site also for flashing info and Rom's
http://www.mydroidworld.com/forums/droid-x-discussion/
You are heading in the correct direction don't get discouraged there's a lot to learn.
Click to expand...
Click to collapse
so I am banned from xda? I made a statment that is the way I felt and I dont know who you are but you must be a boss of somesort, don really know the chain of command, and I get a message from you I guess because I said he was degrading. In your read this first, your statmemt is to help noob's and be kind. If you will show me a kind word in his reply I will appoligize to him at once. So I guess I just need to know if you have banned me or what for just trying to get help.
After you SBF, do a factory reset using Motorola's recovery. When the phone boots back up, you will be unrooted and without Clockwork.
-----
Sent from my Droid X. Powered by Big Red, customized by NATF.
Thank you, could I be stupid as to ask for a link on how to do the SBF you are talking about. Sorry, I am just so comfused right now. I would really appreceiate as i have been make to look like a total idoit already. Thanks if you want to. no problem if not. Mike
There are no stupid questions.
Here is the guide I followed to SBF my phone. http://www.droidforums.net/forum/droid-x-hacks/68222-unbricking-your-droid-x.html. Depending on which OTA version your phone is on, you may need to track down the 2.3.15 Full SBF, or if on a newer version, you will need to get the 2.13.32 Full SBF and the 2.13.40 System-Only SBF. 2.13.40 is the latest OTA from Verizon.
After you follow the steps outlined about, your phone will have a mish-mash of Official OTA and whatever custom ROM you may have had. Power the phone off, and then hold the Home key while powering it back on. Release Power, but keep holding Home until you see a screen with a folder icon with a "!". Release Home, press Search, and then select Factory Reset. Once it completes, reboot the phone. The first boot will take 5-7 minutes of staring at the animated Motorola splash, and you will have a complete, non-rooted, stock ROM without Clockwork.
Hope this helps.
NotATreoFan said:
There are no stupid questions.
Here is the guide I followed to SBF my phone. http://www.droidforums.net/forum/droid-x-hacks/68222-unbricking-your-droid-x.html. Depending on which OTA version your phone is on, you may need to track down the 2.3.15 Full SBF, or if on a newer version, you will need to get the 2.13.32 Full SBF and the 2.13.40 System-Only SBF. 2.13.40 is the latest OTA from Verizon.
After you follow the steps outlined about, your phone will have a mish-mash of Official OTA and whatever custom ROM you may have had. Power the phone off, and then hold the Home key while powering it back on. Release Power, but keep holding Home until you see a screen with a folder icon with a "!". Release Home, press Search, and then select Factory Reset. Once it completes, reboot the phone. The first boot will take 5-7 minutes of staring at the animated Motorola splash, and you will have a complete, non-rooted, stock ROM without Clockwork.
Hope this helps.
Click to expand...
Click to collapse
the problem he is having is that he DID the sbf completely and thats all and EVERY time he reboots it first boots into clockworkmod recovery without installing clockworkmod recovery
Well....you're in a pickle...wish I had the 2.3.340 sbf...I'll take 5 copies when it's out
Sent from my DROIDX using XDA App
Funnyface19 said:
the problem he is having is that he DID the sbf completely and thats all and EVERY time he reboots it first boots into clockworkmod recovery without installing clockworkmod recovery
Click to expand...
Click to collapse
If the SBF completes successfully, a factory reset from the Motorola recovery menu (can only be accessed using the key combo I mentioned earlier) will completely remove Clockwork. If Clockwork still boots, the restore was not done correctly.
-----
Sent from my Droid X. Powered by Big Red, customized by NATF.
I did it today its fine
Sent from my DROIDX using XDA App
For anyone who might want to remove the bootstrap recovery, outside of having to reload an SBF, the instructions below are what I used to remove Clockwork from my DX. (I was tired of it always booting into Clockwork when I powered my device off and on. I found this in another forum, which references a couple of other forums below.
Removing Bootstrap Recovery:
Removal from an Androidforums post:
UNINSTALL the Recovery APK (Droid X Bootstrapper) in Settings, Applications
Reboot
Run "adb shell"
Run "su"
Run "mount -o remount,rw /dev/block/mmcblk1p21 /system"
Run "cp /system/bin/logwrapper.bin /system/bin/logwrapper"
Reboot
or
1. Reroot
2. Get root explorer in the market
3. Uninstall the bootstrap app
4. Go into root explorer to system/bin
5. In top right corner tap r/w
6. Delete the file called hijack
7. Delete logwrapper
8. Rename logwrapper.bin to just logwrapper
9. Reboot and it should be gone.
(thanks to Droidforums member Hostility6)
The commands can be used with terminal emulator do all the commands except for the first command. (Run adb shell)
are you turning your phone on while holding volume down ...if so that is why its booting into clockwork mod...but in all fairness you were contradicting yourself.... and I am a noob as well and having issues with the clockwork 3.0 but I have given up because i cant downgrade without errors and there are no answers on these forums about its solution so i will wait it out... uninstall clockwork will also not get you stock and I cant understand why the phone is booting into clockwork recovery and not the OS.. or did I misread and misunderstand your original question...

[Q] Getting to Clockworkmod Recovery the hard way

I have a rooted X stuck at the M logo(I can get to the stock recovery) and I want to know if there's a way to get to Clockworkmod.
I have Koush's bootstrap and Clockworkmod installed, so all I need is something that will trigger the bootstrap.
The backstory is that I was uninstalling Blur applications from ApeX and got a little overzealous, and now it won't boot(probably waiting for an application that's never going to start).
Ive heard that if you hold the down volume button when powering on, it will send you to bootstrap.
Sent from my DROIDX using XDA App
IWHBYD said:
I have a rooted X stuck at the M logo(I can get to the stock recovery) and I want to know if there's a way to get to Clockworkmod.
I have Koush's bootstrap and Clockworkmod installed, so all I need is something that will trigger the bootstrap.
The backstory is that I was uninstalling Blur applications from ApeX and got a little overzealous, and now it won't boot(probably waiting for an application that's never going to start).
Click to expand...
Click to collapse
Try plugging in a usb cable and pull the battery and put it back in, turn it on with the usb still in.
Sent from my DROIDX using XDA App
I think you're in for an SBF Flash. I had a similar problem the other day (tried to install a new rom...foolishly didn't make sure the battery was charged.) I tried all the above and then wound up doing a flash. Once I was back to stock the then gained root (another story) I quickly loaded Bootstrapper & restored my primary ROM (Darkslide 4.1) and am now a happy camper again.
I eventually gave up and SBF'd to stock, rooted, and then reinstalled ApeX. I was able to keep /data through the whole process, so I didn't lose too much. Is there any way to set up clockworkmod that it will always load in place of the default recovery system?
IWHBYD said:
I eventually gave up and SBF'd to stock, rooted, and then reinstalled ApeX. I was able to keep /data through the whole process, so I didn't lose too much. Is there any way to set up clockworkmod that it will always load in place of the default recovery system?
Click to expand...
Click to collapse
Install Koushs bootstrap recovery.
Sent from my DROIDX using XDA App
bigshotrob22 said:
Install Koushs bootstrap recovery.
Click to expand...
Click to collapse
I've had it installed the entire time. By default it only bootstraps/loads clockworkmod if you tell it to(specifically you need to be able to write to /data/.recovery_mode) so you can't just boot into it when your phone is off.
What I want is a way to essentially replace the stock recovery app.
IWHBYD said:
I've had it installed the entire time. By default it only bootstraps/loads clockworkmod if you tell it to(specifically you need to be able to write to /data/.recovery_mode) so you can't just boot into it when your phone is off.
What I want is a way to essentially replace the stock recovery app.
Click to expand...
Click to collapse
So does Koush and the rest of the Droid X owners...
Rubix has this feature sorta. If u install rubix drod implemented a beta fix that should boot into recovery if the battery is left out for x mins typically 3-5. From what I understand as long as the /system isn't formatted after installing rubix even if u use a different Ron this fix will still work. Might be worth installing rubix just to get this feature... and chances are if u haven't tried it before u might not want to leave rubix
Unless someone cracks the bootloader there is no easy to overwrite the stock recovery on droid x
Sent from my DROIDX using Tapatalk
Coming from an Unrevoked Forever Incredible, I've been searching for the same thing. Found this on another forum:
Getting Into Clockwork In a Pinch for Droid X
I saw a write up on this in another thread and I thought we needed it here too. I use this trick a lot and took it for granted that everyone knew it. Say you can't get into your phone to reboot into recovery through the Bootstrap App. Here are the Steps to get into Clockwork and Restore a Backup.
1) Make Sure your Phone is Plugged into the Charger.
2) Battery Pull.
3) With the Phone still Plugged into the Charger replace the Battery.
4) Wait until your Phone enters the Charging State. ( The Battery Icon Charging)
5) Hit your phone's power button, it should Boot into Clockwork Recovery. It works like a Charm for me everytime.
I figured that^ out on accident. If your stuck in the M you obviously have to battery pull but this will also work if you just reboot with a wall charger plugged in.
If you install the liberty rom, there is a feature that allows you to go into CWM every time you turn on the phone in the settings menu

MIui Question

I cant post in the thread because I am "new" so I am asking here.
http://forum.xda-developers.com/showthread.php?t=1181486
Post 1 says:
NOTES:
You MUST be on CyanogenMod 7 or .340 Froyo to flash this rom!
Remember to wipe before flash!
On 1.7.22.1: It is on Rom Manager, Click Check for Updates!
You must go into settings and change resolution of MIUI Camera to get it to work.
Do not wipe to install it.
Market apps are fixed!
Post 2 says:
If you haven't heard about this ROM yet then check out the videos in the 2nd post to see it in action!
This is an excellent ROM if for no other reason than it introduces the first non-CyanogenMod/carrier/manufacturer framework overhaul of Android 2.3.4 and boy what an overhaul.
So what version should I have to install it?
I don't want to install and end up in a boot loop because we all know how hard it is to fix a Droid X when that happens
You must be on either CyanogenMod 7 or 340 Froyo. You must flash 1.7.22, not 1.7.22.1, it can be flashed later.
Also, it's not that difficult to fix a bootloop lol.
Sent from my DROIDX using XDA App
Thanks
How do you get out of a boot loop with the Droid X?
I can't get into recovery unless I am in a Rom and run Droid 2 Bootstrapper
Well since I can't post in the real thread I will post here all the bugs I find.
1. Lot's off apps in the market don't work. I am talking a good 40-60 at least. There are a few important ones I use like Noom and Cardio Trainer.
Market shows that the app is incompatible with my device. Ti Backup tries to restore but either says it is successful or fails, it works neither time.
2. When I check Settings>System>About Phone and then click Systems Updates it force closes settings.
Reason I was checking this was because I tried to update using ROM manager but that didnt work.
3. ROM manager works, however it does nothing when I click "Check for ROM Updates"
4. Google Maps was said to be installed, maybe on the next version but since I cant install that I had to install it myself
5. Tethering and hotspots. No hotspot option shown. Also USB tethering did not seem to work. I tried the 4 different settings you can have the phone in when connected to USB but the status says USB not connected (obviously not true since I am able to connect and view my SD card through my computer)
6. ROM fails to load after a reboot. Happened to me twice and I had to SBF it back to stock for it to boot up. This happened when I just did a normal reboot
So for now I am done as I am looking at the Motorola logo even after a wipe of data and cache
curtdragon said:
Thanks
How do you get out of a boot loop with the Droid X?
I can't get into recovery unless I am in a Rom and run Droid 2 Bootstrapper
Click to expand...
Click to collapse
I experienced a bootloop when I was flashing back to froyo 340 (droid logo, droid eye, droid logo, droid eye, and so on).
Here's what worked for me:
1. Power down the phone (battery pull)
2. Put battery back in
3. Hold home key, then hold the power key until the phone turns back on (you should see the M logo)
4. Press the search key when you see the Android next to the triangle
5. Using the volume up/down keys on the side of your phone and the camera button to select, wipe the data and cache (please note: you only need to push the camera button half way to select)
6. Reboot the phone and it should work, at least it did for me.
Maximaniac said:
I experienced a bootloop when I was flashing back to froyo 340 (droid logo, droid eye, droid logo, droid eye, and so on).
Here's what worked for me:
1. Power down the phone (battery pull)
2. Put battery back in
3. Hold home key, then hold the power key until the phone turns back on (you should see the M logo)
4. Press the search key when you see the Android next to the triangle
5. Using the volume up/down keys on the side of your phone and the camera button to select, wipe the data and cache (please note: you only need to push the camera button half way to select)
6. Reboot the phone and it should work, at least it did for me.
Click to expand...
Click to collapse
Yeah I tried that and it works sometimes but not usually.
How did you flash miui? Did you flash it over CM7 or froyo 340?
SBF to stock 2.3.34
Wipe data and cache
Reboot
Install Z4Root and run (reboots on its own)
Install Droid 2 Bootstrapper (Flash recovery/Reboot recovery)
Install MIUI from zip
Reboot
It works fine for a while but after install some apps and fixing settings it wont get passed the Motorola screen.
This happened twice. I miss the OG Droid because if that happened you could just boot into recovery and load your last save and you are good to go
curtdragon said:
SBF to stock 2.3.34
Wipe data and cache
Reboot
Install Z4Root and run (reboots on its own)
Install Droid 2 Bootstrapper (Flash recovery/Reboot recovery)
Install MIUI from zip
Reboot
It works fine for a while but after install some apps and fixing settings it wont get passed the Motorola screen.
This happened twice. I miss the OG Droid because if that happened you could just boot into recovery and load your last save and you are good to go
Click to expand...
Click to collapse
how are you installing the apps? manually from the market? or titanium backup?
Are you referring to post 4? If so I tried both ways. Market won't let me install the ones that I cant get installed. They just don't show up in the search. If I go onto the market website they are there but once I choose my phone it disappears.
Titanium fails when i try to install the apps
It's as if the phone is not broadcasting what model it actually is. So the apps that do work are just "works on any old Android" while the others ones say these devices only
cdexsw said:
how are you installing the apps? manually from the market? or titanium backup?
Click to expand...
Click to collapse
Oh, I see where I mentioned installing apps in the last post. I did the same thing as i mentioned above. A combination of Ti and market installs

Stuck in all ways I think

Okay I followed these instructions
http://www.talkandroid.com/55906-on...d-3-droid-x2-cliq-and-cliq-2-from-the-forums/
I had it rooted, I used the droid x bootstrap to install the recovery and then used it to go into recovery. I made a backup, but I forgot to wipe before I installed a new rom (newest MIUI). I tried using the bootstrap to install the recovery again and go into it, but when I try to go into the recovery it just reboots the phone basically. It stays on the Motorola logo for a long time but eventually boots. I tried the Droid 2 bootstrap now and still the same results. The wifi on it is broken and the data does not work. Every time the phone reboots, its completely starting from scratch. I have to resign in with gmail and everything, and the bootstrap is no longer installed.
I tried using the recovery by holding the home button while powering it on, but wiping data and cache does nothing, and it errors out when I try to install the rom from the install from update option.
I'm stumped. How can I get back into the recovery so I can wipe+install the rom again?
I fixed it. Please delete the thread. Not sure why we don't have the ability to do so if it's our own thread.
Only because I'm curious, related to my DX presenting similar symptoms: If you have a few minutes, would you be willing to post up your solution/fix? I might find your insight and information useful in my present situation. Thanks in advance,
~:sDs:~

Categories

Resources