Yet another another WORKING How to root your Incredible - Droid Incredible Android Development

Thanks to everyone and all their post I was finally able to root my Incredible. Since I was having issues getting mine to root I tried pretty much everything that was said on these forums.
The secret to rooting is the timing of inserting your sdcard before the recovery screen is shown.
Here are the steps that I did to root 2 difficult incredibles.
1) Download the google SDK. You need the adb command for the rooting process.
2) Install HTC Sync or google SDK drivers. It doesn't matter which one you use. You just need the drivers installed and working.
3) Put your phone in USB Debugging mode under the applications config section.
4) Plug your usb in your phone while it is booted normally.
5) Select the disk drive option when prompted.
6) Make sure you can sucessfully connect to your phone using "adb shell" command. If this does not work you will not be able to go any further. This means drivers are not installed correctly.
7) Power off your phone. Doesn't matter how. Battery removal, press power off button etc...
8) Remove your SD card.
9) Press Volume down and power at the same time.
10) When the phone is at the Bootloader menu press Volume down and Highlight the Recovery option. Do not select it yet.
This is where the rooting process gets tricky.
11) Make sure your usb is plugged in.
12) Make sure you dont have your SD card in your phone.
You have to insert your SD card in your phone while the recovery mode is loading. There is a specific time window that you must do this. By using different SD cards they take certain time to initialize during the loading. This is why some SD cards work all the time and why others have to be inserted at a certain time
13) Go ahead and get your "adb shell" loop running. It should show "error: device not found"
14) Bring up a clock. You will need this to keep track of when you inserted your SD card during the recovery boot process.
15) Press the power button to select Recovery and start counting the second hand on the clock.
16) Start at 1 second and insert your SD card. You will wait until you hear windows beep when its loading the drivers for the USB device. After the 10 seconds your adb loop screen should show the following if it worked: "exec '/system/bin/sh' failed: No such file or directory (2)"
17) If it does NOT show this you will need to remove the battery and SD card and go back to step 14.
18) Increment your time by a second. So for the 2nd try insert the SD card after 2 seconds have past. So far on my walmart PNY 2gb SD card on 2 incredibles it takes around 5 to 6 seconds of waiting before I can insert my SD card. If you get to 10 seconds you need to restart and try again, but this time try half seconds increments.
When I select the Recovery option and the phone is loading I will see the white splash screen near the bottom kinda flicker a little bit and have a small horizontal line distort across the screen. That's about the same time I insert my SD card.
If you get the "exec '/system/bin/sh' failed: No such file or directory (2)" message looping in your shell prompt, Congrats you have access to the recovery shell. You will need to follow these steps to fully root your phone.
http://www.unrevoked.com/rootwiki/doku.php?id=public:adb_in_recovery
Thanks to everyone in these forums offering their input. Without your input I wouldn't be able to root my phone.

LOL
I guess great minds think alike:
http://forum.xda-developers.com/showthread.php?t=703589
^ I posted that this morning.

At first I thought it was you reposting or someone poking fun at these types of threads.
You guys say like the same thing. Hopefully that means this is a good "update" to the process and people will have a slightly easier time.
I have Froyo on my Droid so am not too eager to get my Incredble rooted, but I have been following along.

I'm going to get my timings down tonight and post a 3rd thread on this!!!1

dreamersipaq said:
I guess great minds think alike:
http://forum.xda-developers.com/showthread.php?t=703589
^ I posted that this morning.
Click to expand...
Click to collapse
lol yeah, I guess the method works

seanmcd72 said:
I'm going to get my timings down tonight and post a 3rd thread on this!!!1
Click to expand...
Click to collapse
I'm going to use an atomic clock to time and root my DI and report back on the decay rates of Polonium!
I appreciate users' attempts to refine this process, but I'm sticking with the old: insert the card right before white-switches-to-black . . . I tried timing and found myself slamming the sdcard card into the slot trying to make my targets, and that ain't not good for the DI.

rynosaur said:
I'm going to use an atomic clock to time and root my DI and report back on the decay rates of Polonium!
I appreciate users' attempts to refine this process, but I'm sticking with the old: insert the card right before white-switches-to-black . . . I tried timing and found myself slamming the sdcard card into the slot trying to make my targets, and that ain't not good for the DI.
Click to expand...
Click to collapse
LOL, well that's your own fault
Don't be so rough with her.... Abuser! Gentle, there is no reason to slam.
And it's still better then the click in and out method.

Related

Tera Term for Windows XP?

Do any of you have a program that I could use to sync my phone to my Computer via usb? I've tried several versions of Tera Term with no success. I reached the point where I was ready to pull all of my hair out and then I remembered... I don't have anyway. Oh well. Please help I really want to upgrade my rom but I want to back up the old first. Thanks, Vern.
i think i don't understand what you're trying to do!?
Don't you use ActiveSync for Syncing with your PC?
And wtf is Tera Term???
This is what I'm trying to do:
Originally Posted by kdenninger
To back up the firmware on the MDA to an SD card (a VERY GOOD IDEA if you intend to fool around with new firmware!)
1. Get a 128MB SD card. They're cheap - under $20.
2. Insert said card.
3. Go to http://forum.xda-developers.com/viewtopic.php?t=37386 and download the aWizard utility. CID-unlock your phone. (You only need to do this ONCE, even if reflash in the future.)
4. Get a terminal program that can speak over the USB port. There is a patched version of Terraterm out there, along with a few others. You need a way to connect to the device over the USB port as an ascii terminal.
5. Turn off the phone.
6. Holding the CAMERA key, press the power button for 2-3 seconds. Continue holding the CAMERA key until it comes up in the tri-color screen.
7. Connect the USB cable. Wait until ActiveSync tries to start. CTRL-ALT-DEL Windows and kill the process wcescomm.exe (ActiveSync's communication driver)
8. Now start your terminal program and point it at the USB port. Hit RETURN and you should get a command prompt. You are now talking to the phone's boot loader in terminal mode.
9. Type "r2sd all" and hit RETURN.
10. If you get a security level violation, you DID NOT CID-unlock the device. Go back to step #1.
11. The ROM image (all of it) will be written to the SD card. Several messages will be displayed while this is in progress. Note that this is NOT - I repeat - NOT - a filesystem-formatted dump - it is a RAW image of the ROM with some checksum information included. Anything on the SD card will be destroyed - don't do this with a card that has data on it you care about!
12. You can stick this card somewhere to be used for restoring. If you want to save the image off the card to your computer, stick the SD card in your computer and then dump 128MB of the card starting at the front (the actual dump is about 80mb but will always be less than 128MB, so that's "safe".) You will need a tool like "psdread" or any other tool that can do byte-level I/O to the SD card in your PC's reader for this.
To restore a SD-card image dump to the Wizard:
1. Write the image to the SD card. Again, this is NOT a filesystem - its a RAW image! Unless you saved the image to the card from the Wizard initially you will need a tool that can do a raw write to the SD card in your computer.
2. With the Wizard OFF, insert the card into the SD slot.
3. Hold BOTH the CAMERA and VOICE keys and press the power button for 3 seconds. Release POWER.
4. Look CAREFULLY at the Wizard screen. The backlight WILL NOT BE ON! It will tell you to press the VOICE button if you wish to restore the SD card image. This message only appears for a few seconds and the backlight is OFF! If you wait too long you will end up at the tri-color bootloader screen. Press the VOICE button (if you still have it down, let up on it then press again.)
5. The restore will run. Note that the backlight IS NOT ON during this process! You may need a flashlight (or very bright ambient light) to be able to read the progress meter.
6. When the process is complete it will tell you to press "any key". Do so and you're back in the tri-color bootloader screen.
7. Turn off the Wizard with the power button. When you turn it back on, it will hard reset just as if it was brand new off the firmware you just restored.
Note that this is the ONLY way to recover from a bricked phone if you try to load the wrong firmware file using one of the "forcible" methods (e.g. aWizard) on a non-CID-unlocked phone, and have bypassed the normal protection methods as ActiveSync cannot get back in there under these circumstances.
I strongly recommend that if you're going to futz with firmware, that you get yourself a 128MB card, make one of these dumps, and TEST the restore before you play around. This will recover from almost any botch - the only exception is loading a firmware file via some means (e.g. "aWizard") that the phone cannot execute at all.
Note that I do not know if this will get around the "boot loader version is too high" problem - I'm not willing to try it until I have an official T-Mobile update with a newer boot loader.
This same method for both dump and restore works on the SDA as well.
13. Overclocking the MDA (do so at your own risk!)
Quote:
Originally Posted by Scaw
Use Smartskey, read about it in this article on my HTC Wizard Blog. No specific ROM required, overclocking integrated. You need to download OMAP Clock seperately, it is available from the same article. A small tutorial in PDF format is included in the .zip with Smartskey. Don't forget to remove the ";" (without the quotes) at the beginning of the overclock settings in the configuration file!
How fast you can clock it depends on your device, it's just a matter of trial and error. 240 seems to be safe for the majority of HTC Wizard owners. No need for extra tools to wake overclocking up after a soft reset or standby. I haven't noticed severy battery drain, I can easily use my device a whole day and come home with the batterie well over 50% charged.
It's just a great little program. The integrated overclocking comes as a bonus to the tweak that the program was actualy made for, remapping buttons so you can open the start menu without using your stylus and close programs without using the stylus.
Have a look around on the HTC Wizard Blog, there is lots of other stuff that you may find useful.
And Number 4 is WTF Tera Term is. Thanks.

Root G1 with Latest update

Hey guys I have a stock G1 that was given to me and I can't access the wifi settings thus I cannot sign in. I believe I have the latest update. Anyone know a way around this?
http://forum.xda-developers.com/showthread.php?t=452316
B-man007 said:
http://forum.xda-developers.com/showthread.php?t=452316
Click to expand...
Click to collapse
Does not work with the very latest AOSP update : (
cars1106 said:
Does not work with the very latest AOSP update : (
Click to expand...
Click to collapse
You need to root your phone.....Read the stickys at the top of this section to learn how
It has been rooted before. then I unrooted it gave it to someone to use, it got updated and I don't have a sim with data and now I can't do anything with it. I guess I will have to downgrade via SD stick somehow through the recovery menu and try and run the exploit again.
if your one of those one-click rooters....your out of luck
you will have to root the old fashion way.....hint: RC29 DREAIMG.nbh
B-man007 said:
if your one of those one-click rooters....your out of luck
you will have to root the old fashion way.....hint: RC29 DREAIMG.nbh
Click to expand...
Click to collapse
Yup, I had the same issue, downgrade to RC29, then follow this:
**Originally Posted by dizzydevil111**
please make sure you have rc29 or lower by typer (enter)reboot(enter)
if the phone reboots then you have rc 29 or lower.
if not, follow this guide to downgrade to rc29
2. Mount your SD card in Windows and reformat it as FAT32. The HTC
bootloader won't be able to see the RC29 (or RC7) image otherwise. Make
sure you back up all your files first!
3. Download the appropriate image (RC29 for USA or RC7 for UK) from
http://koushikdutta.blurryfox.com/G1/DREAIMG-RC29.zip or
http://koushikdutta.blurryfox.com/G1/DREAIMG-RC7.zip . This is a DOWNGRADE
to the Android version that contains a root shell bug (this exploit just
seems too easy). I got these files from the forum thread
http://forum.xda-developers.com/showthread.php?t=442480 .
4. Extract the DREAIMG.nbh file from the downloaded zip archive and copy it
to your SD card (again, for me, this had to be formatted as FAT32, not just
regular FAT which is the default). Don't put it in a folder, just stick it
directly on there.
5. Disconnect the SD card the right way (eject, unmount, or otherwise tell
your OS you are unplugging it) to make sure the data gets written. If you
used an SD card reader, put the SD card back in your phone.
6. Make sure your phone has a full battery, then turn it off. Turn it back
on by holding down the CAMERA and POWER buttons. This should get you into
the HTC bootloader (the funky red, green, and blue screen).
7. If everything was done correctly, the bootloader will detect the image.
You'll be taken to a different screen that asks you to press the POWER
button to install the image. Do this, but beware, you will lose all your
saved data on your phone (with the exception of things that are synced with
Google's servers, like contacts, calendar, Gmail, etc.).
8. Wait for the update to complete. The progress bar will fill up, then
all the steps will say OK beside them, and finally, it will ask you to press
the "action key" (I think this means click the trackball). DO NOT do
anything until you see this message. The progress bar needs to DISAPPEAR,
not just fill up.
9. You now have the stock RC29 installed. Take out the battery, put it
back in, and turn on your phone. It should ask you to activate your Google
account again -
once you have this done type on the phone again (enter)setprop persist.service.adb.enable 1(enter)
your pc should now pick this up as an android adb device
point it to the correct drivers found in the file called androidusbwindows
once that installs, extract the adb file anywhere on your pc. (best place is root directory)
open up a dos command prompt and type (cd ..<enter>)
then type (cd ..<enter>)
then type adbshell
should look like this thereafter
$
referring to the dollar sign
then copy the following line into your dos command prompt and press enter
(am start -a android.intent.action.MAIN -n com.android.settings/.Settings)
please make sure that you copy the contents of adbwin.zip in your ROOT FOLDER or else you will be going through hell
voila you should be able to access wifi
pm me if it worked for you

How to FORCE stop phone from showing up as USB drives in Recovery, still no root :(

Okay I don't know if this will help anyone, but I figured out how to stop Windows from detecting the phone as two USB drives when the phone goes into Recovery mode, and to make it show up as Android Composite ADB device.
I do NOT have HTC installed, rather, I'm using the USB 3 drivers that come down through the SDK, so I'm not sure how to do this if you are using the HTC Sync drivers intead.
At any rate, start with the phone off and disconnected. Open the Device Manager. Boot with your prefered method into Recovery mode, then connect the phone. It should detect as USB Mass Storage Device under Universal Serial Bus Controllers. Right click on USB Mass Storage Device and click Uninstall and then OK. Once this is done, disconnect the phone (you can leave it running in Recovery).
Open My Computer and navigate to C:\Windows\inf. Copy the files usbstor.inf and usbstor.pnf to your desktop or wherever, it doesn't matter, just make sure you put them somewhere you can get them later. Then delete them from the C:\Windows\inf folder. These are the drivers that Windows automatically uses for USB storage devices.
Ok, now bring Device Manager back to the foreground and plug the phone back in in Recovery. It should show up as Android Phone with an exclamation mark. If Device Wizard pops up cancel out of it. Now right click on the Android Phone and click update driver. Click Browse my computer for driver software. Click Let me pick from a list... Click Android Phone and Next. Click Have Disk. Browse to your SDK folder into the USB Drivers folder and you should see android_winusb.inf, select that then click OK. You should now have a list of three items to select, this part I am not sure if there is a 'right' or a 'wrong' but I go with Android Composite ADB Interface.
Select that or whichever one you think and this is what it will install as. Bingo, now whenever you connect the phone into Recovery or boot into Recovery with it already connect it correctly detects as the Composite ADB Interface or whichever you selected, but does NOT show up as any USB drives.
Unfortunately... I still could not get ADB Shell to connect (I even went out and bought a 2GB PNY card).... so I don't know if this will help any of you but I figure it's one step closer to what we need to happen.
At any rate, to get everything back to normal as far as your computer being able to use USB storage devices just copy those two files back to the inf folder before you connect them and you should be fine.
bast525 said:
Unfortunately... I still could not get ADB Shell to connect (I even went out and bought a 2GB PNY card).... so I don't know if this will help any of you but I figure it's one step closer to what we need to happen.
.
Click to expand...
Click to collapse
Format it LONG Fat32, 1024k allocation, name it TEST, put PB31IMG.zip (downgrade ROM) on it, power on into bootloader holding volume down until you get to volume up to start upgrade, run the downgrade from Bootloader, then immediately reboot with holding the track button switch into Fastboot menu, power to Bootloader, let the card check run, decline upgrade this time, run your loop.bat or loop.sh if you like linux, power the phone into recovery boot, and prepare yourself to be happy--I think that will work. The whole trick is get a card/format that forces recovery into an ADB-available mode.
Or you could try what I've done 7 times and achieved ADB Shell 7 times...
1. Turn the phone off.
2. Start running Loop.bat
3. Unplug USB cable.
4. Turn device on in Fastboot by holding in the optical joystick and power.
5. Plug USB in.
6. Hit power button once to get to HBOOT.
7. Wait two seconds for it to do it's thing.
8. Pull off the back of the phone.
9. Hit Vol - to Recovery then hit power.
10. Immediately after doing this continuously push the sd card in and out (about every .5 - .75 seconds)
11. ?????
12. Profit
@DigitalDementia--
How is what you said relevant in this thread?
bast525 said:
Unfortunately... I still could not get ADB Shell to connect (I even went out and bought a 2GB PNY card).... so I don't know if this will help any of you but I figure it's one step closer to what we need to happen.
Click to expand...
Click to collapse
drtrmiller said:
@DigitalDementia--
How is what you said relevant in this thread?
Click to expand...
Click to collapse
Pretty positive it had everything to do with that section of the first post, he said he still couldn't achieve root I attempted to help him. Why don't you explain to me exactly what it doesn't have to do with this thread?
rynosaur said:
Format it LONG Fat32, 1024k allocation, name it TEST, put PB31IMG.zip (downgrade ROM) on it, power on into bootloader holding volume down until you get to volume up to start upgrade, run the downgrade from Bootloader, then immediately reboot with holding the track button switch into Fastboot menu, power to Bootloader, let the card check run, decline upgrade this time, run your loop.bat or loop.sh if you like linux, power the phone into recovery boot, and prepare yourself to be happy--I think that will work. The whole trick is get a card/format that forces recovery into an ADB-available mode.
Click to expand...
Click to collapse
The real bummer here - and I should have known better, really - is that this wipes your phone.
I suppose it should be obvious, but take it from someone who's pretty new to Android phones and just wiped their entire phone after following your steps: Please add a warning to your original post.
It's late, I'm tired and irritated, but I'm sort of bummed to know I went from hero to zero in trying to enter shell (again) during recovery all in an effort to get proper perm. root. Sort of ****ty to know that I just lost everything.
still no root
I'm sorry, I shouldn't have assumed people knew an IMG flash from bootloader wipes user data. Believe me, that's not the only time you'll wipe if you keep modding
-------------------------------------Sent via the XDA Tapatalk App
USB drives are ok in recovery
When I am in recovery with adb and working correctly it still shows the 2 USB drives so this is normal and ok, what you have done is fool yourself into thinking that your phone is in correct mode but it really is not, this is why it still does not work, sorry.
rynosaur said:
I'm sorry, I shouldn't have assumed people knew an IMG flash from bootloader wipes user data. Believe me, that's not the only time you'll wipe if you keep modding
-------------------------------------Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
Now that I've scorched the earth, I'm hitting this thing hard with every trick I can think of to get the shell in recovery again.
Thankfully, I at least have my app list on appbrain.
After researching around the different forums, I think this maybe my issue. I will have to make this attempt when I get home.
This is what I posted on a different forum. I am not sure if this is a similar experience you were having:
So, for a little a bit I was having issues with finding and modding the usb.inf file. I got that finally resolved... Now as I go to one of the first parts of the procedure, executing the adb shell command. Well at first it said the 2 lines, about the daemon and whatever the second line was. Anyways, the third line did not say "no device found" it went straight to a shell prompt "$" . The instructions made a point in the instructions for it to say " no device found" .
I went ahead with the rest of the instructions. No Luck. And I did both methods. A co-worker of mine told to run adb devices to see if my phone is recognized. I will also make that attempt tonight.
I wanted to know if any of you had some insight. I made sure I was in the right directory.
I will make another attempt on a different machine tonight.
Thanks. Oh yeah, I do have some UNIX experience if that makes a difference.
I had the same problem, used this method here
addictivetips.com/windows-tips/how-to-disable-automatic-driver-installation-in-windows-vista/
Click to expand...
Click to collapse
Seemed to help me with the dumb usb mass storage devices whilst in recovery
I don't know how I missed this thread earlier though, It had been a problem for me for days!
kentoe said:
I had the same problem, used this method here
Seemed to help me with the dumb usb mass storage devices whilst in recovery
I don't know how I missed this thread earlier though, It had been a problem for me for days!
Click to expand...
Click to collapse
I rooted in Windows, rather than linux, simply because I like the look of MejDam's procedure better than the linux script posted here on XDA--and his windows procedure is accompanied by his YouTube video
Long story short: I had ADB Composite Device AND the two storage volumes mounted together, as I got shell, and did the other steps in recovery. NB: they were mounted as Generic Storage Volumes, not writeable partitions. The stock recovery on DI does not allow host to mount either partions, although I'd like to see if
Code:
mount /dev/block/mmcblk0p1
worked for the SDcard on the sdcard, cuz then it would be a cinch to mount sdcard/emnc partition into host OS--windows, linux, Atari 2600, etc Worth a try.
Anyhow, my conclusion: a bad driver setup could be a barrier to catching adb shell, but it is certain not the prevailing problem for most, IMHO.
Was wondering if bast525(the creator of the thread) was ever able to adb shell while in recovery, and if so what did you do thanks.
Heh, I wish.... I've tried just about every method posted on these forums, and five different SD cards from Sandisk, PNY, and Kingston. The only thing I haven't tried is rolling back to the pre OTA update, because I don't want to wipe the phone at this point.

[Q] One-Click Root/Custom ROM

Just wondering if anyone is working on a one-click root or custom ROM (obviously, for a donation!!!) for the NC? I am going to take the time to root this weekend, but would obviously love to just DL something and flash it.
Well, one click isn't really one click. There are lots of other clicks involved, turn on computer clicks, go to download page clicks, download clicks, then load on SD card clicks or Start - Run - cmd clicks, then the closing windows clicks.
What I believe you should have been asking, without the sugarcoating of the "one-click" phrase, is: "If it isn't too much trouble, can I use your third Genie wish after you've rubbed the lamp? I'll donate, of course, not that it would matter because I can only assume one of those first two wishes was an insane amount of money"
devis said:
Well, one click isn't really one click. There are lots of other clicks involved, turn on computer clicks, go to download page clicks, download clicks, then load on SD card clicks or Start - Run - cmd clicks, then the closing windows clicks.
What I believe you should have been asking, without the sugarcoating of the "one-click" phrase, is: "If it isn't too much trouble, can I use your third Genie wish after you've rubbed the lamp? I'll donate, of course, not that it would matter because I can only assume one of those first two wishes was an insane amount of money"
Click to expand...
Click to collapse
Precisely, what you said!!!! lol. Believe me, I try...
coldbeverage said:
Precisely, what you said!!!! lol. Believe me, I try...
Click to expand...
Click to collapse
Glad you enjoyed reading it as much as I did writing it
Now... that out of the way, and in all seriousness, can I use that third wish from someone?
devis said:
Glad you enjoyed reading it as much as I did writing it
Now... that out of the way, and in all seriousness, can I use that third wish from someone?
Click to expand...
Click to collapse
I'll have more time to mess with this after this week is over. On my todo list is trying the BN kernel's video console support so we can at least write a message to the screen when Nooter is done rooting, and copying over superuser.apk and su and maybe Astro for starting out.
With the above we could have an almost-1-click root if someone could make the card writing process easier. It would be nice if we had a Linux boot CD or boot USB image that can reformat the card (check that it's a USB device first and ask the user!) to make the boot partition the whole disk automatically. Or someone could verify the rumor that HP's USB bootdisk maker formats the drive correctly.
I'm not the guy to do a 1-click root; exploits aren't my thing, but my goal is to make Nooter easy enough that we don't need to go that route.
My apologies if this has been covered....but with my eken slate, we use an update.zip file....the device automatically does a restore with this file if its present on the sd card
Until someone actually does a custom rom roll, it's unlikely that you're going to see one-click root. Since B&N decided to hide the Android menus that would allow us to side-load Apps, we have to boot from the SD image as part of the process.
I will look into making things a little easier though by adding a few items to the list of things that nooter does:
+ Install ADW and/or Zeam.
+ Install android.hardware.touchscreen.multitouch.xml to enable multi-touch on Android applications that support it.
+ Enable the installation of Non-Market Apps.
I personally took a shortcut when it came to rooting my personal Nook Color. Others may want to use this method as well.
(1) Write the nooter image to SD:
# dd if=nooter_sdcard_40mb.img of=/dev/<sdcard>
(2) Make sure that the Nook Color is powered off.
(3) Install the SD card with nooter written to it in the Nook Color
(4) Connect the Nook Color via USB to your computer. (Linux in my case). The Nook Color will power on all by its lonesome when it is connected to the USB.
(5) Wait a few minutes for nooter to do its thing. Seriously folks. Trying to time this down to seconds until you power the Nook Color off at this step is way overkill. Look at your watch. Add 5 minutes to whatever time it is. When 5 minutes have passed, you can safely go to step 6.
(6) Hold down the power button on your Nook Color for what seems like forever. You can count this one in seconds but, make sure that it has powered down. Without something on the screen, that is difficult to tell that it has powered down. I just timed it and an 8-10second continuous hold of the power button powered the Nook Color off. To be safe, lets say you hold it for 15 seconds.
(7) Remove the SD card from your Nook Color.
(8) Power your Nook Color Back on. (Hold the power button until you see the screen turn on. Duh!)
At this point, your Nook Color is should be rooted.
I then followed the instructions at nookdevs.com/NookColor_Rooting to use ADB to enable multi-touch and Non-Market Apps.
Thanks. I am just an IT lawyer who's only been at this android stuff since August so much to learn (for instance, figuring out what you wrote below.....I do try to learn and not constantly ask on here though)!!!!
johnopsec said:
Until someone actually does a custom rom roll, it's unlikely that you're going to see one-click root. Since B&N decided to hide the Android menus that would allow us to side-load Apps, we have to boot from the SD image as part of the process.
I will look into making things a little easier though by adding a few items to the list of things that nooter does:
+ Install ADW and/or Zeam.
+ Install android.hardware.touchscreen.multitouch.xml to enable multi-touch on Android applications that support it.
+ Enable the installation of Non-Market Apps.
I personally took a shortcut when it came to rooting my personal Nook Color. Others may want to use this method as well.
(1) Write the nooter image to SD:
# dd if=nooter_sdcard_40mb.img of=/dev/<sdcard>
(2) Make sure that the Nook Color is powered off.
(3) Install the SD card with nooter written to it in the Nook Color
(4) Connect the Nook Color via USB to your computer. (Linux in my case). The Nook Color will power on all by its lonesome when it is connected to the USB.
(5) Wait a few minutes for nooter to do its thing. Seriously folks. Trying to time this down to seconds until you power the Nook Color off at this step is way overkill. Look at your watch. Add 5 minutes to whatever time it is. When 5 minutes have passed, you can safely go to step 6.
(6) Hold down the power button on your Nook Color for what seems like forever. You can count this one in seconds but, make sure that it has powered down. Without something on the screen, that is difficult to tell that it has powered down. I just timed it and an 8-10second continuous hold of the power button powered the Nook Color off. To be safe, lets say you hold it for 15 seconds.
(7) Remove the SD card from your Nook Color.
(8) Power your Nook Color Back on. (Hold the power button until you see the screen turn on. Duh!)
At this point, your Nook Color is should be rooted.
I then followed the instructions at nookdevs.com/NookColor_Rooting to use ADB to enable multi-touch and Non-Market Apps.
Click to expand...
Click to collapse
coldbeverage said:
Thanks. I am just an IT lawyer who's only been at this android stuff since August so much to learn (for instance, figuring out what you wrote below.....I do try to learn and not constantly ask on here though)!!!!
Click to expand...
Click to collapse
No problem. Just so nobody is confused about anything I posted above: I take absolutely no credit for anything (especially nooter) in my post. I simply wrote down the steps I took using OTHER PEOPLES ideas and code.
Your simple instructions are pefect! The only thing I would add is for the Windows users to use WinImage on step 1.
Rooting really is easy; it is getting the ADB drivers to work properly (for us Windows users) that is the difficult step. If you can modify nooter to add the extra steps of writing the file to allow .apk installation; installing Astro or other file explorer; installing a launcher (Zeam seems to be a good choice); and maybe SlideME as a Market until the Google Market is figured out - I think the rooting process couldn't be much easier given the nature of the device!
johnopsec said:
Until someone actually does a custom rom roll, it's unlikely that you're going to see one-click root. Since B&N decided to hide the Android menus that would allow us to side-load Apps, we have to boot from the SD image as part of the process.
I will look into making things a little easier though by adding a few items to the list of things that nooter does:
+ Install ADW and/or Zeam.
+ Install android.hardware.touchscreen.multitouch.xml to enable multi-touch on Android applications that support it.
+ Enable the installation of Non-Market Apps.
I personally took a shortcut when it came to rooting my personal Nook Color. Others may want to use this method as well.
(1) Write the nooter image to SD:
# dd if=nooter_sdcard_40mb.img of=/dev/<sdcard>
(2) Make sure that the Nook Color is powered off.
(3) Install the SD card with nooter written to it in the Nook Color
(4) Connect the Nook Color via USB to your computer. (Linux in my case). The Nook Color will power on all by its lonesome when it is connected to the USB.
(5) Wait a few minutes for nooter to do its thing. Seriously folks. Trying to time this down to seconds until you power the Nook Color off at this step is way overkill. Look at your watch. Add 5 minutes to whatever time it is. When 5 minutes have passed, you can safely go to step 6.
(6) Hold down the power button on your Nook Color for what seems like forever. You can count this one in seconds but, make sure that it has powered down. Without something on the screen, that is difficult to tell that it has powered down. I just timed it and an 8-10second continuous hold of the power button powered the Nook Color off. To be safe, lets say you hold it for 15 seconds.
(7) Remove the SD card from your Nook Color.
(8) Power your Nook Color Back on. (Hold the power button until you see the screen turn on. Duh!)
At this point, your Nook Color is should be rooted.
I then followed the instructions at nookdevs.com/NookColor_Rooting to use ADB to enable multi-touch and Non-Market Apps.
Click to expand...
Click to collapse
jasoraso said:
Your simple instructions are pefect! The only thing I would add is for the Windows users to use WinImage on step 1.
Rooting really is easy; it is getting the ADB drivers to work properly (for us Windows users) that is the difficult step. If you can modify nooter to add the extra steps of writing the file to allow .apk installation; installing Astro or other file explorer; installing a launcher (Zeam seems to be a good choice); and maybe SlideME as a Market until the Google Market is figured out - I think the rooting process couldn't be much easier given the nature of the device!
Click to expand...
Click to collapse
^ This.
Thats the main reason I am holding out on rooting... That and I want to see how far it goes before the market place comes out unless an easy solution like this comes out. While I like the updates here, I am also not in a huge needs for a large phone... but still Great work so far!!!
johnopsec said:
No problem. Just so nobody is confused about anything I posted above: I take absolutely no credit for anything (especially nooter) in my post. I simply wrote down the steps I took using OTHER PEOPLES ideas and code.
Click to expand...
Click to collapse
Lol. I just meant that I try to help you guys, but I have so much to learn on actually doing the stuff you do. Everyone is sharing there stuff on here openly. All good.
I am going to try to teach myself how to use ADB. Kinda nervous though.
jasoraso said:
Your simple instructions are pefect! The only thing I would add is for the Windows users to use WinImage on step 1.
Rooting really is easy; it is getting the ADB drivers to work properly (for us Windows users) that is the difficult step. If you can modify nooter to add the extra steps of writing the file to allow .apk installation; installing Astro or other file explorer; installing a launcher (Zeam seems to be a good choice); and maybe SlideME as a Market until the Google Market is figured out - I think the rooting process couldn't be much easier given the nature of the device!
Click to expand...
Click to collapse
coldbeverage said:
I am going to try to teach myself how to use ADB. Kinda nervous though.
Click to expand...
Click to collapse
No kidding, that is whaat ij aam strugglliing with. Thhaatt and tthe stupid keyybboard!
pokey9000 said:
With the above we could have an almost-1-click root if someone could make the card writing process easier. It would be nice if we had a Linux boot CD or boot USB image that can reformat the card (check that it's a USB device first and ask the user!) to make the boot partition the whole disk automatically. Or someone could verify the rumor that HP's USB bootdisk maker formats the drive correctly.
Click to expand...
Click to collapse
I was messing around with UNetBootin, which is similar to the HP USB formatter. It is designed to take linux ISOs and format them as bootable. But I don't know what specialized format Nooter uses. I didn't get far on this front.
It seems windows users are having trouble with windows drivers needed to get USB ADB working. An alternative is to enable ADB over IP. Leaving this open persistantly is a security hole, but it may be appropriate for initial setup.
PHiZ said:
I was messing around with UNetBootin, which is similar to the HP USB formatter. It is designed to take linux ISOs and format them as bootable. But I don't know what specialized format Nooter uses. I didn't get far on this front.
It seems windows users are having trouble with windows drivers needed to get USB ADB working. An alternative is to enable ADB over IP. Leaving this open persistantly is a security hole, but it may be appropriate for initial setup.
Click to expand...
Click to collapse
Getting the OMAP to boot off of SD requires a few things:
-the OMAP wired to boot from SD
-an SD card with a specific disk geometry as reported by the partition table
-a FAT16 or 32 filesystem on the first partition
-a first and second stage bootloader (MLO and u-boot.bin) in the FAT filesystem
The hardest part of getting Nooter installed correctly is creating that special partition table, and so I released it as a raw dump of an SD formatted using that scheme to only a 40MB image. The theory I've heard is that for maximum BIOS compatibility the HP USB formatter tool generates this same sort of geometry, after which you just need to drag and drop the four Nooter files onto the drive. I haven't had a chance to try this yet though.
edit: I'll be damned, it does work! Just format using hpusbfw.exe (Google it) with "quick format" checked and "create a dos startup disk" unchecked. Then copy MLO, u-boot.bin, uImage, and uRamdisk over. That's it. Plus you wind up with a FAT32 partition that takes up your whole disk, not just 40MB.
pokey9000 said:
Getting the OMAP to boot off of SD requires a few things:
-the OMAP wired to boot from SD
-an SD card with a specific disk geometry as reported by the partition table
-a FAT16 or 32 filesystem on the first partition
-a first and second stage bootloader (MLO and u-boot.bin) in the FAT filesystem
The hardest part of getting Nooter installed correctly is creating that special partition table, and so I released it as a raw dump of an SD formatted using that scheme to only a 40MB image. The theory I've heard is that for maximum BIOS compatibility the HP USB formatter tool generates this same sort of geometry, after which you just need to drag and drop the four Nooter files onto the drive. I haven't had a chance to try this yet though.
edit: I'll be damned, it does work! Just format using hpusbfw.exe (Google it) with "quick format" checked and "create a dos startup disk" unchecked. Then copy MLO, u-boot.bin, uImage, and uRamdisk over. That's it. Plus you wind up with a FAT32 partition that takes up your whole disk, not just 40MB.
Click to expand...
Click to collapse
Sounds like we may be getting close to a custom rom....????
Is the uImage the ROM? or is it all 4 pieces
Sorry if I am misunderstanding this pokey since I am a total noob. I too have been holding out on rooting hoping for an easier solution (I do not even know how to navigate to directories in terminal) I believe you are implying that the NC can be rooted using this method and is in fact much easier to accomplish. You said that you had to copy over those 4 files once you format the card. Where can one obtain those files?
Thanks man for all your dedication and hard work!
sudermatt said:
Sounds like we may be getting close to a custom rom....????
Is the uImage the ROM? or is it all 4 pieces
Click to expand...
Click to collapse
MLO - first stage bootloader. The OMAP's built in ROM looks for this on the SD and runs it. MLO then looks for u-boot.bin and runs it if it can find it on the card. It's like the Nook's boot sector.
u-boot.bin - second stage bootloader. This is responsible for figuring out how to get Linux and the ramdisk in memory. This copy loads up uImage and uRamdisk from microsd and starts running the kernel. This is similar but not the exact same as the one on the internal flash.
uImage - The Linux kernel. This copy is built specifically for Nooter.
uRamdisk - a Linux filesystem that gets loaded into RAM. Contains the Nooter script, disk utilities for performing the root, and other bits and pieces that let you log in over USB and get a shell.
This really has nothing to do with a custom ROM, it's just an easier way to install Nooter.
th3c1am said:
Sorry if I am misunderstanding this pokey since I am a total noob. I too have been holding out on rooting hoping for an easier solution (I do not even know how to navigate to directories in terminal) I believe you are implying that the NC can be rooted using this method and is in fact much easier to accomplish. You said that you had to copy over those 4 files once you format the card. Where can one obtain those files?
Thanks man for all your dedication and hard work!
Click to expand...
Click to collapse
If you have a card with Nooter on it, you could mount it on a PC and pull all 4 files off. Using the HP utility is an easier option for people who want to root under Windows and are having trouble with the disk utilities. When I get a chance I'll post the files separately.

Stupid noob questions on NC rooting

My kids received Nook Color readers for Christmas, and like everything, they look to Dad to optimize them.
I was going to try rooting, but a couple of things remain unclear:
- Do I have to 'auto-noot' to root the Noot, or are there other options (other tools, manual rooting, etc.)
- Should I upgrade the software to 1.0.1 prior to rooting or not?
I tried to give auto-noot for 1.0.0 a quick run, but I couldn't get the SD card to boot (and a check revealed that I had two FAT16 partitions, one with the appropriate images and the other with the files needed). I'm assuming it's because the card I have might be too slow (portal recommends Class 6 or greater, and the card I'm using is a cheapo card I got with an earlier phone that I'm not too sure of).
Thoughts? Tips?
I upgraded mine to 1.0.1 first then rooted.
What OS is on your PC?
If Windows, did you use Win32DiskImager to write the image to microSD card?
Take a look at here for different ways of rooting here http://www.nookdevs.com/Portal:NookColor#Rooting
The easiest and the way I rooted is below which I borrowed from http://blogkindle.com/2010/12/read-kindle-books-on-nook-color/
Here’s what you need to do:
1. Before rooting make sure that you’ve registered the device with B&N as it might not work after rooting.
2. Download nooter that corresponds to you Nook version. You can check your Nook version by pressing Nook button, selecting “Settings” >> “Device Info” >> “About your NOOKcolor” >> Software version:
--- for 1.0.0 – GabrialDestruir’s auto nooter 2.12.15 file 15 Dec 2010
--- for 1.0.1 – GabrialDestruir’s auto nooter 2.12.25 file 25 Dec 2010
3. Unpack the file
4. On Windows use Win32DiskImager to write the image to microSD card (please note that all data on the card will be lost). For Linux or Mac, check out NookDevs.com for detailed microSD imaging instructions.
5. Completely power off NOOKcolor by holding the power button until the screen blurs and “Power off NOOKColor” dialog appears. Select “Power Off” and wait for the device to shut down completely.
6. Turn device face down and open the microSD card container in the lower right corner. Push the card in with metal contacts facing down.
7. Connect the device to your computer via USB cable. The device will power up and book from the SD card but the screen will not turn on. This is normal.
8. After about a minute your computer show detect the new device. This means that the rooting is complete. Your Windows computer will complain about missing drivers. This is normal.
9. Disconnect the USB cable and remove the card from the reader.
10. Power cycle it by holding the power button for 20 seconds and then releasing it. The press the power button briefly to power the reader on.
11. As the reader boots you will see a red splash screen.
12. Once the reader boots, you will be prompted for you Gmail account (as usually with Android) and some initial settings. This will only happen once.
13. As you open the extras folder you will see that it now contains Android market icon and some extras (Youtube, Gmail, etc)
14. You can now start the market app and download other apps that you like. You will need to reboot the device for apps to appear on the extras page. The apps themselves can be used right away just as with usual Android apps.
I would look for the thread in the android development section for auto nook 1.01. Update the OS to 1.01, then do the nook-ing process. Its all laid out there in the opening post.
I would definitely root your nooks to get the most out of them.
I'm guessing he meant Auto-Nooter 2.12.25 (1.0.1 Only), which the thread can be found here
I was looking for a manual method because I didn't have my card reader at work yesterday, and I couldn't get the card I wrote in my Incredible to boot Auto-Noot in 1.0.0.
Oddly enough, after deciding to upgrade to 1.0.1 first, when I tried to root the second time it worked just fine. I did the second one after upgrading, also went without a hitch. Think it just makes sense to upgrade first, seeing as they're both exploitable.
giantcrazy said:
I was looking for a manual method because I didn't have my card reader at work yesterday, and I couldn't get the card I wrote in my Incredible to boot Auto-Noot in 1.0.0.
Oddly enough, after deciding to upgrade to 1.0.1 first, when I tried to root the second time it worked just fine. I did the second one after upgrading, also went without a hitch. Think it just makes sense to upgrade first, seeing as they're both exploitable.
Click to expand...
Click to collapse
How can you write an image from your Incredible? You need to use a computer to write the "image" not just the files to the sdcard, to make it bootable.
-CC
clockcycle said:
How can you write an image from your Incredible? You need to use a computer to write the "image" not just the files to the sdcard, to make it bootable.
-CC
Click to expand...
Click to collapse
I spent some time re-inventing the wheel before I realized someone had documented the method on XDA (my fault for being search lazy):
http://forum.xda-developers.com/showthread.php?t=889001
You use the Linux DD command to write the image to the SD card, which renders it with the correct partitions and files needed to complete root. I did it yesterday, and assumed that I had either too slow a card or it didn't work, until I upgraded to 1.0.1 first and it worked at first crack. Just take care to write the card with the correct device name, mmcblk1.
I used GParted on Linux to double-check after doing my fdisk, everything looked kosher to me and it worked flawlessly.
giantcrazy said:
I spent some time re-inventing the wheel before I realized someone had documented the method on XDA (my fault for being search lazy):
http://forum.xda-developers.com/showthread.php?t=889001
You use the Linux DD command to write the image to the SD card, which renders it with the correct partitions and files needed to complete root. I did it yesterday, and assumed that I had either too slow a card or it didn't work, until I upgraded to 1.0.1 first and it worked at first crack. Just take care to write the card with the correct device name, mmcblk1.
I used GParted on Linux to double-check after doing my fdisk, everything looked kosher to me and it worked flawlessly.
Click to expand...
Click to collapse
Ah, totally forgot about that.. Well glad you got it sorted.
-CC

Categories

Resources