yashsingh1/xdaforums huggingface dataset:
[Droid Incredible Android Development] jdmba:
Additional items to add

1) After I have rooted and reflashed - How do I flash new ROMs

2) After I have rooted and reflashed - Is there an easier way to get back in and get rid of CityID, etc?

3) How do I update to a later version of ClockworkMod
[Droid Incredible Android Development] aaronz:
Great topic
[Droid Incredible Android Development] dreamersipaq:
...

1) - Will update soon

2) - I BELIEVE that this works:

1) Go into Clockworkmod Recovery

2) Mount Internal Storage under partitions

3) Connect Phone to PC

4) Open Adb Shell on your pc

Type:

su (will change to #)

cd /system/app

mv CityID.apk CityID.apk.bak

you're done.

Not in front of my phone at this sec, but if mv does not work, try

busybox mv CityID.apk CityID.apk.bak or

/system/bin/mv CityID.apk CityID.apk.bak

*This does not delete it, but changes the file type so it will not show up as an add, in case you want to get it back at any time later.

If I'm wrong please correct me.

3) The easiest way to update recovery at this time is through Koush's Rom Manager. However, at this time I've read somewhere that it's not persistent. Let's give this a few days.
[Droid Incredible Android Development] dreamersipaq:
Updated

First Post Updated.
[Droid Incredible Android Development] qwho:
here is my problem, apparently when I got root I didn't push superuser.apk as a system app correctly.

SO, I have root in the OS after each boot, once I install superuser.apk.

Problem is, I can't get back in recovery to fix this. I have gotten into recovery with ADB again (maybe twice in the 2000 times I have tried again), but when I get to the step where you do the update and push the zip file at the same time, it never works now. So I am unable to push the apk as a system file.

So, the unrevoked recovery flash fails because it doesn't have su rights when it gets to the os on reboot.

Anyone want to help me out?
[Droid Incredible Android Development] rynosaur:
Take this opportunity to flash up to HBOOT 79, wipe, and re-root. Start fresh. Re-reflash w/unrevoked2. Alles in Ordnung! :) At least, that solved all of my problems. Start with the big headache to avoid later headaches. Once you have a nandroid of a "proper" root, you'll never have to do the annoying initial root again.
[Droid Incredible Android Development] qwho:
So you can get HBOOT 79 how? by flashing the latest HTC rom RUU?
[Droid Incredible Android Development] rynosaur:
Exactly. Doing will wipe out all userdata, everything not stored online, on your card, or on internal disk. It's really the best way to go, to start fresh and remove all the little variable piecemeal rooting has placed in your path to date.
[Droid Incredible Android Development] qwho:
can you point me to the RUU you would use? I did some searching, here and at htc.com, and I couldn't find an RUU anywhere.
[Droid Incredible Android Development] rynosaur:
Just down this, run it in Windoze, and before it tries to flash (you don't need your DI connected!), go into your AppData/temp directory, find the ~142mb rom.zip file, rename it to PB31IMG.zip, put it on /sdcard root directory, boot into bootloader, let the card/file get picked up while holding down-volume, ok the flash, no need to ok the reboot, then boot into to recovery and proceed with adb shell/rooting process one :)
[Droid Incredible Android Development] sanchagrins:
I've been having some trouble with the nandroid step, and creating a backup. I've done everything listed prior to that with success, but when I load into recovery I don't see the option to create a nandroid backup. I have also dl'ed RomManager and have tried to create backups through that.

I also dl'ed the unrevoked reflash and tried running that, but that also fails. I'm not really sure what I'm doing wrong, so any help wold be appreciated!
[Droid Incredible Android Development] dreamersipaq:
Not sure what you mean. Go into Hboot, and select recovery. When Koush's recovery loads, use Vol- to highlight "nandroid". Click the optical button in, and you'll enter another menu. Select the first option, which should be highlighted by default, which should be "Create Backup" or "Backup Device" or something like that.

Let me know if that works.
[Droid Incredible Android Development] sanchagrins:
When I go into recovery the only options I get are:

I'm not seeing anything about nandroid backup. I'm assuming I'm either not doing something correctly (I'm currently not booting into recovery while running reflash.exe) or somehow the clockworkmod isn't correctly installed.

Any ideas? Or what other information could I give you to help better answer my question?
[Droid Incredible Android Development] rynosaur:
You can't install anything to recovery that will stick until you get root via procedure 1, then reflash with unrevoked 2. Sounds to me like you've gotten ahead of yourself :)
[Droid Incredible Android Development] dreamersipaq:
Yeah, that looks like the stock recovery... (with that triangle thing as the background, right?) Might want to run reflash again. Nandroid is not in the stock one, it's in koush's
[Droid Incredible Android Development] sanchagrins:
I rooted via the 10min root method, and have verified that I have root by running 'adb shell' and then su. The superuser app requested permision on my phone and I granted it.

I also tried to run the unrevoked2 (relfash.exe) and it runs, then reboots, and then then it just stalls at "waiting for reboot" (the phone itself reboots though...)

Did the 10min rooting not accomplish the right thing? Like I said I can su via cmd prompt with no problem, and seem to be able to boot into recovery fine too...

EDIT:

Tried unrevoked for the 3rd time and this time it went past the "waiting for reboot..." and is now hanging up on "waiting for system to settle..."

I guess I'll keep trying unrevoked until hopefully it completes successfully

EDIT 2:

I was breaking one of the cardinal rules of the unrevoked2, I hadn't uninstalled HTC Sync. It worked the first time once I removed it.
[Droid Incredible Android Development] Yodes:
Hi I'm having trouble getting the USB drivers to recognize. I followed your guide up until the point you are supposed to edit the android_winusb file. When searching through the file I have [Google.NTx86] but not the [Google.NTamd64] section. Did something not install right from the SDK? Any help would be greatly appreciated.
[Droid Incredible Android Development] clambert11:
I don't have my Incredible yet (due in late July) but have you tried installing the drivers posted in the Reflash Recovery Tool?

I'd post a link but since I'm a new user here it won't let me. Search for Reflash Recovery Tool to find the post.
[Droid Incredible Android Development] dreamersipaq:
If you're editing the file, android_winusb.inf it's there, just look more closely...

However, from what I understand of the file, you only need to do one or the other based on what processor you have. Intel or AMD... thus NTx86 or NTamd86

Sorry, but I missed it a few times myself... it's there, unless a line was removed by accident.
[Droid Incredible Android Development] kborer22:
noob question

hey guys, sorry for simple question, i just downloaded the droid X wall papers and i would like to place them into the folder with the rest of the default htc/verizon wallpapers.

I was able to put them in the DCIM folder using windows explorer (on win7) so i can see them, but being anal i'd like them where they are supposed to be.

I read about the droid explorer in the 1st post but that says your phone needs to be rooted (i'm not there yet haha)

So is there any thing you guys would recommend to file explore my android phone on the computer side?

thanks
[Droid Incredible Android Development] syrguy1969:
Great thread, I have learned a lot in reading it and I am glad I found it this morning, but I have one question on the nandroid part: In your instructions, it mentions the backup is stored in a folder named 'I'. I followed the instructions I found in the recovery tool thread unrevoked started and it seemed to run fine, but in looking for the files today, I did find a new folder called 'clockworkmod' that seems to have the appropriately named backup files. Is this the correct (although differently named) folder?

Thanks for the info and helpful thread!!
[Droid Incredible Android Development] dreamersipaq:
Updated

Thanks for the catch. I'm not sure what you mean by "in a folder named 'I' ", however I did update the instructions and changed it to "clockworkmod"

By the way, instructions on flashing roms coming.

Thanks,
[Droid Incredible Android Development] syrguy1969:
opps....sorry, I typed in 'nandroid' as you had in the OP and when I went to italicize (sp?) it I must have hit shift I instead of Ctrl I!!

Glad to see the bit about ROM flashing. I will keep my eye out for that so I am ready for when they start being released! :D
[Droid Incredible Android Development] dreamersipaq:
Requests

If you guys have requests for specific walkthrough's (not, I can't get this to work, please HALP!!!) you can request them here or PM me. I will try to add them as part of this how to....

I've also updated the instructions a little in nandroid and apps. Hopefully they're a little easier to use. They're a little more "independent" of each other, and explain some steps in more detail.
[Droid Incredible Android Development] corywf:
When trying to do a /system/bin/mv /sdcard/myApp.apk /system/app/myApp.apk I'm getting a "Cross-device link" error. I have both the /system and /sdcard mounted from clockwork. Am I doing it wrong?
[Droid Incredible Android Development] dreamersipaq:
make sure that from the command prompt (not adb shell)

adb remount returns successful, and then go into adb shell, and make sure you're at root (#)

then try

/system/bin/mv /sdcard/myApp.apk /system/app/ (without the myApp.apk)

if that fails, try just mv (without the /system/bin)

let me know if that works.
[Droid Incredible Android Development] PDAnuby:
adb:not found

I need to push/overwrite a file in /data/data/com.comfilehold.FH3D/file.dat

So i am trying to run:

adb push file.dat /data/data/com.comfilehold.FH3D/file.dat

and it states adb: not found

steps were:

C:\sdk\tools>adb shell

$ su

su

# adb push file.dat /data/data/com.comfilehold.FH3D/file.dat

adb push file.dat /data/data/com.comfilehold.FH3D/file.dat

adb: not found

#

Any help on this would be greatly apreciated, Iread on another forums something about installing busybox and i though it was done while rooting but I am not sure.
[Droid Incredible Android Development] s197:
Thank you for the great summary. However, there is no link to download Droid Explorer.
[Droid Incredible Android Development] dreamersipaq:
Updated

Sorry, original post was updated with the link.
[Droid Incredible Android Development] dreamersipaq:
"adb push..." has to be done from:

C:\sdk\tools>

You can't adb push from within adb. If you're in koush recovery, i believe that adb shell goes into root right away.... so try this:

open up command prompt

cd C:\sdk\tools

adb push file.dat /data/data/com.comfilehold.FH3D/file.dat

tell me how it works. Remember to mount whatever you need in partitions first.
[Droid Incredible Android Development] clambert11:
Does Droid Explorer work ok with the Incredible? I don't see it on the list of supported phones.
[Droid Incredible Android Development] PDAnuby:
It worked! thanks
[Droid Incredible Android Development] dreamersipaq:
I have to fess up, never used it on the incredible, recommended it since it worked great on my moto droid back when I had it....

If someone tries it and it doesn't work, let me know and I'll remove it.

Thanks, and sorry :(
[Droid Incredible Android Development] dreamersipaq:
Update

First post updated with how to flash roms... Is this helping anyone? Worth keeping current, or just let it die?
[Droid Incredible Android Development] dreamersipaq:
Updated again, included links for Root.
[Droid Incredible Android Development] dreamersipaq:
lol, and again. Updated reflash instructions to add a step.
[Droid Incredible Android Development] davisbs999:
If I am able to successfully issue adb commands when my phone is booted (e.g. my device appears when I enter "adb devices"), then my inability to achieve root is likely not due to a driver or SDK issue. Is this correct?
[Droid Incredible Android Development] dreamersipaq:
Well, that's kind of a vague statement, but essentially yes. You may not have the right drivers to run reflash, but yes if you can adb shell into a booted phone, your issue should not be drivers.... unless you've somehow tinkered with the drivers that are loaded when the phone is in hboot/fastboot/recovery the phone should be using the same drivers as when booted normally (again, for root purposes, you need to download a different driver for windows that shadowmite provided when you reflash.
[Droid Incredible Android Development] leebsammy:
sticky this.
[Droid Incredible Android Development] PDAnuby:
I installed it and tried but cannot browse, it sees the phone and reboot coands work but no browsing of files located on the phone, so unless i am missing something...
[Droid Incredible Android Development] webs05:
To the OP, in my sig is a guide I wrote for evo users, but a lot of the info might still be useful.
[Droid Incredible Android Development] ezy1022:
droid explorer will recognize my phone however it will not show the files on the phone, some other features do work, but for the priamary purpose of this program it does not work, i would take it down from the OP
[Droid Incredible Android Development] MrGoodCat:
wow dreamersipaq, this is awesome! i wish i had found this tutorial before i ventured the internets for all the steps individually, haha. i will start sending people here when they have questions. thank you for taking the time to do this!

one thing i would really like to know about is how to make (cook) a rom for the incredible. i am not sure if you have the knowledge of how to do that, but coming from the visual kitchens with winmo, i hate running pre cooked roms. really wanna cook my own again (probably the only thing i miss from winmo). and so far i have found very little, at least with regards to the incredible, about making a rom...
[Droid Incredible Android Development] davisbs999:
"Well, that's kind of a vague statement, but essentially yes. You may not have the right drivers to run reflash, but yes if you can adb shell into a booted phone, your issue should not be drivers.... unless you've somehow tinkered with the drivers that are loaded when the phone is in hboot/fastboot/recovery the phone should be using the same drivers as when booted normally (again, for root purposes, you need to download a different driver for windows that shadowmite provided when you reflash."

dreamersipaq, thanks for the info (and patience)!
[Droid Incredible Android Development] dreamersipaq:
Looked at your guides. Some good stuff man... don't know how much applies to the DInc though that I haven't already posted. Again, nice guies though. Spread the knowledge.
[Droid Incredible Android Development] dreamersipaq:
Taking Down. Thanks again, and sorry for the mislead.
[Droid Incredible Android Development] dreamersipaq:
Thanks! Cooking roms is not that "easy". I doubt I could explain how to in just a single post. It would be more like a thread of it's own. I know that some have already created tutorials, and I also know that there is some sort of an Android Rom "Kitchen" for newbs so to speak. I'll search around and update my first post with links to cooking roms if I find any.

Again, anyone want anything else posted here?

P.S. I'd like to get this stickied so others can see it, but not sure how to.
[Droid Incredible Android Development] davisbs999:
extremely useful thread. using it along with dreamsripaq's adb shell thread (finally buying a 4gb Kingston sd card was also important) has finally, after many spent hours, gotten me to where I can flash custom ROM's. thanks for the consolidation/creation of info!
[Droid Incredible Android Development] dreamersipaq:
You used my ADB Recovery "Break In" thread and it worked for you? Awesome man. Good to hear!
[Droid Incredible Android Development] ezy1022:
i hate to do this to you but after some more testing the droid explorer does in fact work, but you have to first mount /system in recovery, while in recovery it will recognize the phone and work fine AFAIK, i was able to copy files from the phone, delete files in /system and put new files in system perfectly.

i am not sure if droid explorer was only designed to work this way but either way it does work this way perfectly just add that in the instructions that /system needs to be mounted.
[Droid Incredible Android Development] bowtieduece:
Is it possible for us to enable jit i was searching and found this thread about the desire

.http://xdaforums.com/showthread.php?t=684535

Does it work for us?

I would like to try this but I need a clear how2. Thanks for this thread extremely helpful to me!
[Droid Incredible Android Development] bowtieduece:
I think I got it working. Ran linpack and got into the top ten with the lower oc kernel. So I put in the faster kernel from hydra's site and got the top spot:-) noticed that my xda app isn't working now though...
[Droid Incredible Android Development] rpearl:
There are a few apps that are buggy with the 2.1 JIT. Sense (hah), Pandora, and the XDA app seem to be among them.
[Droid Incredible Android Development] TrailBlazer31:
awesome!

great write up man, I have one recommendation for you, but I need some posts to pm :p
[Droid Incredible Android Development] wraithdu:
Bummer, I thought everything was going so well... Phone ran great for two days with the JIT. Then today I tried to turn it on and it boot looped. I tried several things, but had to disable it to get the phone to boot. Realistically, it was only giving my an increase of about 3 Mflops on Linpack, from around 7 to around 10.

On the other hand, there was a Nexus JIT or something posted in that thread you referenced, and I've been running that on my Moto Droid... It's been stable for two days so far and I was getting 10.5-11 on Linpack... as fast as my Incredible.
[Droid Incredible Android Development] ghostrida:
JIT is unstable. It was never enabled in CM by default for this reason.
[Droid Incredible Android Development] wraithdu:
Yep, definitely knew that. Was keeping my fingers crossed for the Sense 'compatible' build. Strange that it would work fine for a few days then completely die.
[Droid Incredible Android Development] bowtieduece:
It may have worked fine until you ran something that conflicts with jit, known apps are the newer xda app ( if you search you can find one that works), Pandora, and ALL the HTC stuff needs to be removed.

It really does help our phones with 3d graphics. Stock I would get a quadrant score from mid to low 500's. With Jit I was able to pull a 770. and Linpack I have 11.445
[Droid Incredible Android Development] bowtieduece:
http://xdaforums.com/showthread.php?t=699305

In this thread there is a nice writeup on bootanimations it the 3rd post.
[Droid Incredible Android Development] Lcsglvr:
hmm, so, I rooted my Incredible last night. Have superuser on my Incredible and can wirelessly tether.

So, tried to reflash the thing according to these instructions. Updated the drivers. Then, I move on to open up the adb shell in sdk\tools and it tells me "error: device not found". Started up my phone again and still have superuser icon, wireless tether, etc... Am I missing something here?

I can get the adb shell when the phone is booted up... but when I hit trackpad+power -> bootloader and let it change to HBoot USB, it says device not found. . . . ah.

edit:: errrr... nevermind. I was reading the step for if you had HTC sync installed... . okay, I'll check back later if I run in to any other prob.
[Droid Incredible Android Development] boss5:
What is the process to unroot does anyone know?
[Droid Incredible Android Development] jdmba:
Reflash

Reflash any of the existing Verizon stock releases
[Droid Incredible Android Development] caelestis2:
Can you please organize it better and explain what adb is and why it is important. This is supposed to be a noob guide but it starts off saying to download and install something without explanation. Pft! :confused:
[Droid Incredible Android Development] tech9ne:
i cant get adb to recognize my phone for the reflash. i had htc sync installed from when i was rooting it, which was preventing me from installing the hboot drivers. uninstalled the htc sync and drivers, rebooted pc and installed the hboot drivers but adb doesnt recognize my phone now.

suggestions?
[Droid Incredible Android Development] dreamersipaq:
:o

Sorry I've been non-existent for a while. Will try to address a lot of these questions/comments later tonight.
[Droid Incredible Android Development] prchohan:
When will this thread be updated to reflect one click root?

Dreamersipaq, thanks a lot for writing these detailed instructions. I am ready to root and reflash using the latest one click method unveiled yesterday and was wondering if you could update this post with instructions (steps and dependencies). I am sure it will help a lot of noobs like myself who don't know abcs of this process. Many thanks again!
[Droid Incredible Android Development] dreamersipaq:
It's coming.

:o

Been spending all my free time trying to find a car for my wife. Will update tonight (I hope).

stay tuned. I also received some PM's so will try to address those as well. Later all, and again, sorry.
[Droid Incredible Android Development] zipzoomeroo:
I used unrevoked3 to root. Everything went fine, now I have Superuser Permissions as one of my apps. All I wanted to do was use Wifi Tether with my ipad.

The app seems to be working fine, the iPad connects, but no data will go through. Reading the "android-wifi-tether for those with root" thread makes it seem like I need to drop a .bin file into a certain folder. I know my way around the command line pretty well, but here's my problem:

I don't know how to get into the command line on my DI. I plugged it into a my Windows XP machine, went to cmd, changed directories to the sdk\tools but when I type adb devices it doesn't list my device.

I'm sure it's something simple, but what am I doing wrong?

Thank you.
[Droid Incredible Android Development] Mr. Spontaneous:
You may have to replace the Unrevoked/Hboot driver with the one from HTC or the Android SDK.

[EDIT] Also, the bin method won't work - we need a custom kernel with netfilter enabled. The one from the new OTA updates may have that.
[Droid Incredible Android Development] dreamersipaq:
You shouldn't need to replace anything. the .bin file goes into a directory in the root of your sd card. All you need to do is plug your phone into the pc, like you would normally if you were adding music to it. You can even take the sd card out of the phone and use a card reader if you want.
[Droid Incredible Android Development] oldmacnut:
The Unrevoked USB driver did the trick for me. Just download the driver via the link included in the Hboot driver file, and then follow the directions it gives you. Regardless of what machine I used for root, I applied that driver to all computers in my house.
[Droid Incredible Android Development] dreamersipaq:
Updated!

Guys and Gals,

Instructions updated for Rooting, Unrooting, and Kernels.... PM me if you would like something added or if something is wrong.
[Droid Incredible Android Development] tech9ne:
i cannot get the unrevoked tool to work for me at all, it doesnt recognize my phone.

i am rooted and have the hboot drivers installed.

when the phone is rebooted into recovery all that comes up is a red question mark above a phone. no menus or anything.