yashsingh1/xdaforums huggingface dataset:
[Droid Incredible Q&A, Help & Troubleshooting] rynosaur:
There is no sdcard that is going to make the method foolproof. You need to reduce your variables. Windows driver scheme can become a mess very, very quickly. I recommend booting your PC with a Linux LiveCD like Linux Mint 9 Isadora or Ubuntu 10.04 Lucid Lynx. They're both free and both distros recognize the DI out of the box. I've attached the ./loop.sh that I've used successful to bring up the adb error you're looking for--just rename the file before you run it from linux terminal. Navigate your browser in linux and download the Linux Android SDK ho ~/Downloads, and once you do, extract it to ~/Downloads. Then, to be ultra-safe, use these commands:

*open terminal*
cd ~/Downloads/ # assuming you d/l'd my file/SDK file to your home Downloads folder in Linux
cd android-linux-sdk_86/tools
sudo ./android
# this will trigger the SDK installer, just tell it to fetch all packages, then close it

rename loop.sh.txt loop.sh
chmod a+x loop.sh
sudo ./loop.sh
# you'll get an infinite loop with "adb: device not found"

At that point, pop the back cover off your DI, power it down, connect the USB cable, boot into bootloader, eject the SDcard, making sure your terminal window is visible: select Recovery menu, then start counting from the boot vibrate. Count to seven seconds (as in: one-one-thousand, two-on-thousand ...), then insert the card exactly on 7 or when the white screen scanline flickers, whichever comes first.

Hint: I like to do this with the terminal window kinda small with a maximized "Computer" Nautilus file explorer window up in the background, showing all devices. You'll notice with this view that your android devices appear, in bootloader, disappear on recovery reboot, then reappear when recovery/black triangle screen is done loading. If you've missed the timing window and the card wasn't inserted right, you'll see those two volumes pop-up, but your adb shell error message won't have changed--and you know to pull the battery and start over. If the message does change when when the drives appear: success! You can "up vol-power" and continue with whatever rooting method you like, provided you know the slight (good) differences using linux introduces versus Windows.

Good luck, you only have to do this right once, then Unrevoked2 locks it in place! :)
[Droid Incredible Q&A, Help & Troubleshooting] dB Zac:
Dude, it took me forever. In the end it was finding the right time to insert the SD card for me. I would start out with it in then right before I selected recovery I would pop it out and then I would push it back in as close to the same time as the 2nd "mount tone" as I could. I have only had success with class 6 cards but both an 8 gig and the infamous 2 gig PNDY card have worked for me. I also had a prob with getting the adb shell to work after a did the push payload witch turned out to be a bad download of the "tools folder". re-downloaded it with the phone still in recovery and it was smooth sailing from there.

Don't get discouraged and have a lot og free time when you start trying the next time.
[Droid Incredible Q&A, Help & Troubleshooting] hexto:
Did you try downgrading? I had no much for a week then I downgraded ands got it on the very first try. Good luck
[Droid Incredible Q&A, Help & Troubleshooting] DobbsianYeti:
I tried for DAYS to get this to work... I searched every android forum on the net for tricks... I gave up... I got pissed and started again... gave up again... and finally like magic I found the right combination of bull**** trickery to make it work.

How I did it:

1. Turn off the phone normally

2. Remove sd card (I used the 2g card that Verizon sent)

3 Boot up into recovery with the Vol- /Power button method (sd card out)

4. Let the phone do it's thing

5. Run loop.bat

6. The trick here- When you press the power button to select recovery have the sd ready to go in (sitting in the slot but not clicked into mounted position)... then when you hear the second usb "ding" push it in as fast as you can- almost simultaneously with the "ding".

This got me into the error message in about two tries (after possibly hundreds of failed attempts using other methods)- after that it's pretty much downhill.

No guarantees, but it worked for me and quite a few other frustrated souls.

Keep the faith- root is definitely worth the headache ;)
[Droid Incredible Q&A, Help & Troubleshooting] jermaine151:
Edit: Disregard. I didn't see that rynosaur had already posted detailed steps above.

Windows needs to see the device as too many different things during the different stages (i.e. HBOOT, Recovery, Fully booted). I did it under Linux and didn't have to worry about that. If you have a Linux partition or a Linux Live Distro, try it there. The commands are basically the same except you need to preceed the adb commands with ./ as in ./adb reboot recovery
[Droid Incredible Q&A, Help & Troubleshooting] dB Zac:
the sdcard usb ding timing is key
[Droid Incredible Q&A, Help & Troubleshooting] Joe92T:
So heres what happened, my first Kingston 4gig card didnt work after like 40 tries, so i said screw this and returned it, and then i went somewere else and picked up a second 4gb kingston

Went home, put it in my phone, rebooted recovery and got it to work instantly... got the recovery flashed... removed cityid.. pushed the update.zip and su and superuser all on my phone

however my phone would NOT chmod no matter what i did.. i tried everything, i copied and pasted the directions exactly as on the screen and it would never work, when i got to the last line that starts of 1n - or something like that it would say permission denied even though i was in su...

So anyway i said maybe it had worked, so i rebooted the phone.. i saw that superuser.apk was in my app drawer as an installed app.. then i went into terminal emulator and typed in "su" and it said permission denied.. the root didnt stick because the stupid Chmod did not work for me...

Oh and to top it off guess what else happens? Obviously when i try to go back into recovery it DOES NOT work... tried it about 35 times again now and it wont go back in whatsoever after doing it the first time.. also for me in recovery my second usb ding happens MANY seconds into the black screen.. if you start counting right when you press the power button for recovery and the white screen turns to black at like 5 seconds.. my second usb ding dosent happen until like 10 seconds... deep in the black screen
[Droid Incredible Q&A, Help & Troubleshooting] rynosaur:
What's the difference now? Look at the root directory of the card. There's files there now. You need to re-format the card. The most effective formatting I (and others) have found is a split 2gig ext4 partition (linux fs), followed by a fat32 @ 1024k block allocation, long format. As soon as Android boots, it starts writing your card.
[Droid Incredible Q&A, Help & Troubleshooting] Joe92T:
How can i format it like that using windows? The easy format tool you find when right clicking on the drive under my computer dosent have those functions
[Droid Incredible Q&A, Help & Troubleshooting] ThugEsquire:
It's "fool-proof," by the way. :D
[Droid Incredible Q&A, Help & Troubleshooting] Joe92T:
seems to me the only time the card works is when its straight out of the box, once you do anything to it, its over... makes me wonder if i should return this second one and go buy a fresh third one to try..

when i did chmod it was all good up until one of the last lines that started with 1n... it would say permission denied and wouldnt do it even though i was in SU... so then i would do the remove sdcard/xbin or whatever command they tell you to do if it says it dosent work and to start over and it would say directory not found like it was never made in the first place... extremely frustrating
[Droid Incredible Q&A, Help & Troubleshooting] rynosaur:
Paragon Partition Magic for Windows *might* format ext flise systems, I'm not sure, I don't use it. I use linux :D As for fat32 options, they're there if you're using Windows XP or newer.
[Droid Incredible Q&A, Help & Troubleshooting] Joe92T:
Alright im going to see if anyone can help me with this problem thats not causing my root to stick... since i cannot get back into recovery anymore since my SDcard is no longer going in my favor im going to tell you what happened from memory, should be enough for you to get the idea though

Basically my problem is that i rooted my phone via recovery, then i pushed SU, Superuser and busybox onto my phone, however the chmod would not work for me, so when i rebooted my phone i lost root and am unable to get "su" to work as it says permission denied.. in my app drawer it shows superuser.apk listed so i know the files pushed properly i just cannot access su

I got recovery trick to work, pushed all the files to my phone, got it all working perfectly.. however CHmod would NOT work for me, this is what happened as a play by play from memory

adb shell

$

su

#

#/system/bin/cat /system/bin/sh > /system/bin/su

/system/bin/cat /system/bin/sh > /system/bin/su

#/system/bin/chmod 4777 /system/bin/su

/system/bin/chmod 4777 /system/bin/su

#export PATH=$PATH:/system/bin

export PATH=$PATH:/system/bin

#cd /system/app

cd /system/app

#cat /sdcard/Superuser.apk > Superuser.apk

cat /sdcard/Superuser.apk > Superuser.apk

#cd /system/bin

cd /system/bin

#cat /sdcard/su > su

cat /sdcard/su > su

#ln -s /system/bin/su /system/xbin/su

Cannot Do - Permission Denied

So then i followed the next step in the process it tells me to do if it fails for whatever reason, and i put this in

#rm /system/xbin/su

cannot remove, no such file or directory found

I tried doing this four to five times and each time it would fail at the in -s line and say permission denied... even though i was successfully in Su and in adb shell and everything else worked fine

what happened? how can i fix this and get it to work so my root sticks?
[Droid Incredible Q&A, Help & Troubleshooting] rynosaur:
Where did you get those instructions from? They don't make sense at the end.

#ln -s /system/bin/su /system/xbin/su
[B]Cannot Do - Permission Denied[/B]

#rm /system/xbin/su

The last two lines are: setting up a symlink for ash to find your user-installed su command, and then deleting the symlink. SYNTAX ERROR!! :D

I'd like to see the post that tells you to do so. I'm no linux guru, but I can tell when something is totally counter-productive.
[Droid Incredible Q&A, Help & Troubleshooting] Joe92T:
In the instructions it tells me to do the remove command if for some reason the first one fails, like it does in my case by saying permission denied, so that you can start over from the beginning of the process and try again.. which i did four times and nothing worked, always says permission denied

heres the instructions,

http://androidforums.com/all-things-root-incredible/98180-prs-complete-rooting-guide.html
[Droid Incredible Q&A, Help & Troubleshooting] Jaguox:
try running chmod on the file in your xbin directory. If it was already created you might not have access for whatever reason

#/system/bin/chmod 4777 /system/xbin/su

Not sure if its a security issue for later though
[Droid Incredible Q&A, Help & Troubleshooting] Joe92T:
I'll try that, however when it said permission denied I then tried to remove the file so I could start over and it said no such file so I don't know if its even creating it
[Droid Incredible Q&A, Help & Troubleshooting] rynosaur:
Oh, ok, I get it. I'm sorry, but if those hopelessly long-winded and complicated instructions were the only instructions for rooting and I were trapped with them on a desert island, I would NOT try to root!

Just use these, believe me, they're sufficient and they're from the horse's mouth: i.e., written by the guys who discovered the exploit that gave us root in the first place!
[Droid Incredible Q&A, Help & Troubleshooting] Joe92T:
those instructions do not include the necessary chmod hack that everyone does... without that root dosent exist outside of recovery
[Droid Incredible Q&A, Help & Troubleshooting] invisiblek:
thats all been included in the payload now

just follow his link, it will get you perm root
[Droid Incredible Q&A, Help & Troubleshooting] Joe92T:
that seems to be incorrect, you still need to chmod, because i installed the latest payload on my phone and still do not have su while on android, it says permission denied because i havent chmod'd yet
[Droid Incredible Q&A, Help & Troubleshooting] MrDJ:
Hi can you show me were you attached this loop file?
[Droid Incredible Q&A, Help & Troubleshooting] outsid0r:
alright ive had ROOT once then was having issues with doing ROMS and now ive lost root, tried to get it back with windows using all the guides but no dice. Ive tried to find a complete how to with linux to get root. If anyone can shoot me in the right direction to a complete line of instrucitions i would be very thankful
[Droid Incredible Q&A, Help & Troubleshooting] rynosaur:
I'm sorry you're having such a hard time, but there's no need to chmod anything locally if you simply follow the procedure.

Here it is again, just in case:

while true; do adb shell; done

one line, easily done in nano:

(in the first line here I assume you installed android-linux-sdk to your home folder, thus the ~/android..., change that path if you installed it elsewhere)

nano ~/android-sdk-linux_86/tools/loop.sh (ctrl+O to write the file, ctrl+x to leave nano)
chmod a+x loop.sh
./loop.sh (to begin the procedure/rooting)
(ctrl+z quits the loop in bash once you get the proper adb shell error)
[Droid Incredible Q&A, Help & Troubleshooting] MidnighToker:
I am one of those that tried the eight different cards that I had, but with no luck. Broke down and ordered the "known good" Kingston 4GB Class 4. I have the worst damned luck!!! Still no good. Almost got the timing right....instead of "Device not found", I get "insufficient permission" was able to do it twice.

WTF can I try from here?
[Droid Incredible Q&A, Help & Troubleshooting] Joe92T:
Thats not even that bad, you should see what ive had to do!

My Kingston cards only work ONCE and thats fresh out of the package, once you hit that reboot button they will never access adb recovery again... ive gone through FOUR KINGSTON CARDS and none have gotten me all the way yet... and to make matters worse... the ONLY place that sells them around here is a Tmobile booth with the same people that wok every day... so i have literally bought four kingston cards from them and then returned four cards all opened to the same people i bought them from, im starting to get bad looks from them and i need to pick up a fifth one soon
[Droid Incredible Q&A, Help & Troubleshooting] trunksta:
The kingston 4gb is not the "holy card". the PNY 2gb is the one you want. shouldnt cost you more than 10 bucks

Also do not plug it into your phone while its on. make sure the card has NO DATA and put it in while phone is off. then proceed with your loop or whatever. I have noticed with my pny 2gb card i have had to delete all the files off it to get it to work again sometimes. but when the card is clean its a 100% success rate for me, and i tried TONS of other cards.
[Droid Incredible Q&A, Help & Troubleshooting] trunksta:
Never had to use chmod on mine, used a different verison of superuser and just

adb install superuser.apk

worked just fine for me. Unrevoked root tool auto writes the su command to /system/bin

I also noticed some of the other info on the wiki was off a bit. the wifi tether it linked did not work, among other things. Keep trying you will get it. One thing is for sure you card has to have NOTHING on it.

anyhow good luck
[Droid Incredible Themes and Apps] drmbdrummer:
Hey guys. I know this is about and around, but we got the sound working on boot (the "DROID" noise). So here's how you do it:

1. download both files below

2. UNZIP the "android_audio.zip" file, put the audio file in your sdk/tools folder

3. leave the "bootanimation.zip" file zipped, put in your sdk/tools folder

4. go into adb and push both files as follows:

This should work; if anyone has problems let me know.

ENJOY! :)

***UPDATE***

If you're still having issues with the sound not working, first make sure that you are unzipping the "android_audio" file...then pushing the .mp3 contained within the zip file.

Second, if it still doesn't work, try this in adb:

then repush the two files!
[Droid Incredible Themes and Apps] worm-:
works like a charm!!
[Droid Incredible Themes and Apps] socalracer:
is this supposed to replace the vzw animation? i followed and i dont see anything different. under my data folder in astro nothign is there just data dir and thats it no local
[Droid Incredible Themes and Apps] srh.pres.usx:
Worked like a charm for me... thanks...
[Droid Incredible Themes and Apps] parkson:
both files successfully push. the animation works but no audio plays. any suggestions?
[Droid Incredible Themes and Apps] junjlo:
very nice love it
[Droid Incredible Themes and Apps] R1lover:
nice work, thank you
[Droid Incredible Themes and Apps] skaterA223:
Thanks looks really good.

Sent from my Droid Incredible
[Droid Incredible Themes and Apps] worm-:
parkson, rinse, wash repeat, your doing something wrong, do it from inside adb on computer
[Droid Incredible Themes and Apps] Mudavo:
When I do:

adb push bootanimation.zip /data/local

adb push android_audio.mp3 /data/local

I get:

/sbin/sh: adb: not found

Now what?

*EDIT*

I figured it out. Was trying to do this in Clockwork Mod recovery. Had to change to disk drive mode while the phone is running.
[Droid Incredible Themes and Apps] ximfinity:
do we just need to delete these files to go back?
[Droid Incredible Themes and Apps] skunis1:
Droid Incredible

Will this sound work on the DINC? I have the boot animation but have not installed the sound yet.
[Droid Incredible Themes and Apps] ximfinity:
yup it works thanks.
[Droid Incredible Themes and Apps] kentoe:
I keep getting adb: not found

EDIT:

Fixed it from irc, thanks guys.

Just did

adb push bootanimation.zip /data/local

without the adb shell
[Droid Incredible Themes and Apps] pbnj4640:
i kept getting permission denied doing it through adb, but doing it in root explorer worked perfect, audio and boot animation are great
[Droid Incredible Themes and Apps] mystics7:
Does any one have the sound working?
[Droid Incredible Themes and Apps] ZOMBII MATT:
will this work on the incredible?
[Droid Incredible Themes and Apps] kentoe:
yes it will
[Droid Incredible Themes and Apps] pbnj4640:
i can confirm 100% this works
[Droid Incredible Themes and Apps] mystics7:
I have the animation working just not the audio on the Inc, any help?
[Droid Incredible Themes and Apps] spjoneser:
do you have system mounted via clockwork partitions? Once mounted you must have animation and audio in your tools folder and because your dealing with froyo they must now be named differently and are also in a different location. They must be named VZW_bootanimation.zip and VZW_Droid.mp3

Then use this command from inside your tools folder.

adb push VZW_bootanimation.zip /system/customize/resource/

adb push VZW_Droid.mp3 /system/customize/resource/

you will get confirmation of transfer after each command, then type exit, unmount system, and then press power button to menu back in clockwork and reboot.
[Droid Incredible Themes and Apps] klehman1125:
i tried this and everything successfully transfered and everything but no droid x bootanimation. standard droid boot. any thoughts
[Droid Incredible Themes and Apps] Timmah339:
for those of you without sound on boot, follow these steps:

1. make sure your ringer volume is set to loud (not vibrate or silent)

2. reboot and enjoy the droid boot sound :)
[Droid Incredible Themes and Apps] jasek78:
i got the droid boot animation that i wanted working but the sound is still a no go

also i had to adb the bootanimation.zip to system/media in order to finally get it working so i figured i'd stick the sound file in there to with no luck, i got the boot anim but no sound any ideas?

fixed: i used root explorer to delete the audio and boot files from /system/media then went into CWM and mounted system, opened cmd prompt went to cd\sdk\tools and then adb from tools just adb push android_audio.mp3 /system/media and the same for my bootanimation it worked just make sure you have both files in your sdk/tools folder and they are named correctly fist.
[Droid Incredible Themes and Apps] Lock-N-Load:
used Root Explorer to place the bootanimation.zip file and the unziped android_audio.mp3 file. boot animation works fine, but like others, no sounds.

it's not major, as I have no plans to go this whole SDK and adb route just for a sound I rarely hear... but I wish it would have been as easy as placing the bootanimation.zip file was.

either way.. thanks to the OP for posting the bootanimation.zip. love it on my rooted D1 FRG01B
[Droid Incredible Themes and Apps] wondermoose:
Cyanogenmod 6 Boot Sounds

If you're using Cyanogenmod 6, it looks like there's a known issue with boot sounds. Relevant info is on the Cyanogenmod forums. (New user restriction. Can't post links. :rolleyes:)
[Droid Incredible Themes and Apps] AG212:
edit; never mind.
[Droid Incredible Themes and Apps] mikesincredible:
i used root explorer to move the android_audio.mp3 thats in /data/local and cut/pasted it to the /system/media folder, sound and boot wok perfect.
[Droid Incredible Themes and Apps] M0t0Droid85:
I'm fairly new to the dev scene. Could someone give an explaination to this?

OP's post

"If you're still having issues with the sound not working, first make sure that you are unzipping the "android_audio" file...then pushing the .mp3 contained within the zip file.

Second, if it still doesn't work, try this in adb:

cd data

cd local

rm android_audio.mp3

rm bootanimation.zip"

I've just started using the SDK and adb.

I'm running on the Moto Droid and I got the bootanimation to play, but not the sound =/
[Droid Incredible Themes and Apps] thomasboydada:
look good thanks for sharing
[Droid Incredible Themes and Apps] juhde:
beating a dead dog

Using a Droid 1, FRF84B Build, I've tried everything to get the sound to play. I've removed and re pushed several times, tried pushing a different bootanimation exec file to /system/bin, I've done everything I can think of. Is there ANYONE on a Droid 1 that has actually gotten the sound to play or am i giving myself a headache over a lost cause?
[Droid Incredible Themes and Apps] ray243:
I'm new here, and I want this to work on my motorola milestone. I'm non-US, so will this work for me? And what is this thing called pushing and apb? And lastly, anyone using a milestone knows how to actually install this?
[Droid Incredible Themes and Apps] good90033:
No Sound

i have the boot animation working but does anyone know how to get the sound to work on a D1
[Droid Incredible Themes and Apps] boldman78:
works well.

thanks
[Droid Incredible Themes and Apps] Phre@k:
For those who can't get there sound to work this was my fix, I went into rom manager/download rom/virtuous/restore apps & revert addons/restore boot audio and rebooted into recovery for the install........voila I had sound again.

This fixed my sound issues and I found a new sound file in system/media named bootaudio.mp3.

Then I used root explorer to replace the audio file with my custom one and renamed it to bootaudio.mp3 worked like a charm.
[Droid Incredible Themes and Apps] Svid:
pushed both files via adb.animation working good but no sound.how to fix this?
[Droid Incredible Themes and Apps] infiniteillusions:
I have the Droid X, and I tried pushing the sound file to /data/local and I have no sound... Any ideas what the issue is?