yashsingh1/xdaforums huggingface dataset:
[Verizon Droid Incredible 2] Nachobass25:
So sorry if i sound like a n00b, this is actually my first attempt at a root.

I keep running into this problem though. I follow the steps to the letter and have installed both HTC sync and PDANet. when i check devices, my DInc2 is picked up just fine, but once i get to step 8, i get a "$" prompt, never a "#" prompt, and ofcourse this means "access denied", "permission not granted", take your pick. is it a problem with the pushroot.bat?
[Verizon Droid Incredible 2] LowFire82:
Have you tried redownloading and redoing the pushroot.bat, it should overwrite the files in the /data/local/tmp and possibly fix it. There could have been an error/corruption when the files were pushed over from your computer.

Let us know if rerunning the batch file doesn't work
[Verizon Droid Incredible 2] Nachobass25:
no joy. tried deleting all the adb files and redownloading the zip, even did a factory restore on my device, still the same problem persists.

btw, if theres anything i can provide to help find and fix the problem, say the word
[Verizon Droid Incredible 2] LowFire82:
Are you familiar with Terminal Emulator? Do you have it installed?

Can you get into the directory and do an ls -l and make see what files and what permissions are in /data/local/tmp
[Verizon Droid Incredible 2] Nachobass25:
Unfortunately I'm not familiar with the Android Terminal. could you walk me through the procedure?

and yeah, i have the Terminal Emulator installed, I'm just so unfamiliar with the commands and directories for Android, I dont know where to begin
[Verizon Droid Incredible 2] AmisRBjr:
There's more to this than I understand, but it worked. Thanks for the step by step instructions. Like all others I'm waiting for the permanent solution. Hopefully now that HTC has announced they will unlock bootloaders in the future, maybe someone in their camp will leak a rooting solution for us with the DInc2.

Thanks again.

I plan on not doing a reboot unless I absolutely must. I used Titanium Pro and froze VZW bloat and a couple other things, then made a backup.
[Verizon Droid Incredible 2] pkopalek:
Is there any reason you temp rooters aren't using a root explorer and DELETING the apps that are pre installed? Or does /system not mount as r/w?
[Verizon Droid Incredible 2] nimdae:
/system is write protected. The system will allow you to remount rw and you can do things to the writable filesystem, but it will not commit to flash, so your changes are undone. This is why the rooting process is only temporary, and why simply deleting the apps isn't being discussed.
[Verizon Droid Incredible 2] drewcam888:
Has anyone found that any tether app work with this temp root
[Verizon Droid Incredible 2] LowFire82:
Open up Terminal Emulator, turn your phone into landscape mode (will help when you need to read it out)

Type what's in quotes:

"cd /data/local/tmp" <enter>

"ls -l" <enter>

It should print out about 6 lines, type in everything that comes after you hit enter
[Verizon Droid Incredible 2] Nachobass25:
$ export PATH=/data/local/bin:$PATH

$cd /data/local/tmp

$ ls -l

-rwxr-xr-x shell shell 1083568 2010-07-31 03:36 cp

-rwxr-xr-x shell shell 207 2011-04-17 23:27 pushroot

-rwxr-xr-x shell shell 1083568 2010-07-31 03:36 busybox

-rwsr-sr-x shell shell 76232 2009-08-01 07:08 su

-rwxr-xr-x shell shell 557962 2011-04-06 01:34 getroot

$

Instructions followed to the letter
[Verizon Droid Incredible 2] Nachobass25:
So I'm not sure what's changed, but the root went through successfully this time! I can't thank you enough for the help, and I'm so happy to be rid of all this annoying bloatware!
[Verizon Droid Incredible 2] LowFire82:
EDIT - Nevermind..... lol

Glad it finally worked :D
[Verizon Droid Incredible 2] Skruffy Jew:
Ok, I've been subscribing to this thread for a while and finally your someone who knows what they're talking about! Now, here's my question:

My gf has a Dinc 2, she doesnt have the availability to hook it up to a comp. SOOOO Terminal Emulator is my best friend, but were the F do I save the zip, and what commands do I do on the emulator? THANK YOU THANK YOU!!!
[Verizon Droid Incredible 2] LowFire82:
As I said in PMs, the exploit for this temp root is associated with adb so it can not be done via terminal emulator, unfortunately

Let me know if it works out for ya! :)
[Verizon Droid Incredible 2] Tool1001:
Thanks for the post!!!
[Verizon Droid Incredible 2] TheAtheistReverend:
+1

:confused:
[Verizon Droid Incredible 2] nimdae:
The only tethering that appears to work is the Verizon provided tethering. I haven't really seen anyone mention PDANET, which supposedly doesn't require root.
[Verizon Droid Incredible 2] WorldOfJohnboy:
Just bumping this question as no one answered me... anything I need to do in adb, etc. let me know.
[Verizon Droid Incredible 2] nimdae:
Some apps may be looking for other apps to be installed, may be looking for filesystem access, or may be looking for files. If you run getroot and get your # shell, you haven't really done enough for these apps.

After getting your # prompt, you should remount the /system filesystem rw, then copy the su binary to /system/xbin/. Additionally you can do things like install superuser (for extra superuser stuff and updated su binary) and busybox installer to make your temprooted environment a little more friendly to use. Keep in mind that all of these changes will go away when you reboot so you will have to redo it all when you temproot again.

Unfortunately there are still some apps that still don't work after all of this. If you manage to get this far and it still doesn't work, more than likely more is needed to be done and I haven't explored that far yet. I know wifi tether still doesn't work.

BTW, I will probably work on a script at some point to automate setting up the temproot environment where things work a bit more reliably. However, this will require a bit of time, which I'm pretty short on these days.
[Verizon Droid Incredible 2] WorldOfJohnboy:
I have superuser and busybox installed. There is no app that says the phone has Root access even though I ran the Temp Root process to a "T" and had no issues. It is wierd that a Data/Cache wipe of the phone would have broken the Temp Root.
[Verizon Droid Incredible 2] nimdae:
I know busybox installer wouldn't do its thing until I remounted the /system filesystem rw and copied the su binary to /system/xbin/. The superuser app and the busybox installer app should probably be reinstalled after redoing the temproot as they do some first run things (at least superuser does).
[Verizon Droid Incredible 2] bik2101:
PDAnet works
[Verizon Droid Incredible 2] Tarpit_Carnivore:
For anyone looking to do this you can also install the Android sdk to get adb and driver access without using the htc software. I'd also recommend this because you can then take screenshots using the Eclipse software.

Edit: Nevermind, for some reason the HTC drivers are not in the SDK. Still, installing Eclipse with the SDK will make it super easy for you to take screenshots.
[Verizon Droid Incredible 2] nimdae:
The sync software is a 2 part installer. The first part installs the driver. You can skip the second part. This is the easiest way to get the driver working.

The SDK actually does come with a working driver but you have to modify an inf file. I forget which modifications to make offhand, but I believe it was posted in the IS dev forum.
[Verizon Droid Incredible 2] LowFire82:
I installed PDAnet and got the correct drivers, seemed the easiest to me
[Verizon Droid Incredible 2] Varucell:
What did you do to fix this?
[Verizon Droid Incredible 2] xgunther:
Can the OP edit the original topic post to include something along the lines of:

"After the last step, a new # line appears. That's it! You're temporarily rooted!"
[Verizon Droid Incredible 2] LowFire82:
Done!!! :)
[Verizon Droid Incredible 2] mountaineerndixie:
SIAP: Sense

I saw it asked earlier but didn't see a response......can Sense be frozen with this temproot and if so is there a working vanilla android under it?

My Eris always gave me a choice between stock or Sense but I noticed this phone does not.

Thanks....
[Verizon Droid Incredible 2] nimdae:
Without root, the Eris did not give the option to disable Sense. You can't disable Sense. You can hide it, but if you try to disable it, the system becomes unstable. I am currently not using Sense for my launcher, and even this occasionally causes me problems.

Note: I had an Eris.
[Verizon Droid Incredible 2] mountaineerndixie:
Disable was the wrong word.

I could use sense or a stock vanilla android launcher on my Eris. I don't get that option on the dinc2. It has to be sense or a 3rd party launcher.

If I temproot can I freeze sense and get an option of a stock vanilla android launcher? Can sense even be frozen?

Note: my Eris was never rooted.

Yup...Tapatalk'd
[Verizon Droid Incredible 2] nimdae:
I haven't seen any stock launcher being available, but I haven't really tried either. I use LauncherPro.

On my Eris I could remove Sense and it would work pretty well as long as I left Rosie alone. However, I've noticed Sense being a more integral part in the I2 as it seems like things become unstable if you try to prevent it from running. At least, this has been my experience with it. I haven't tried to freeze it so I can only suggest trying it and see what happens.
[Verizon Droid Incredible 2] devator22:
I saw it posted somewhere, I think in the thunderbolt's list of apps safe to freeze, that freezing sense will cause the stock vanilla launcher to load. Not 100% sure, though.
[Verizon Droid Incredible 2] ekinnee:
On some of the older or earlier versions of Sense you could clear defaults and it would prompt you to use the stock launcher.

Newer versions of Sense don't even include the stock launcher. Install the Gingerbread launcher or your launcher of choice and then hit the home button and you'll get prompted. No root needed.
[Verizon Droid Incredible 2] mountaineerndixie:
I do have LPP and Go Launcher installed....I kind of liked the bare bones android look sometimes. No biggie just wondering if it was still possible. Thanks!

~ sent from HTC DInc2 ~
[Verizon Droid Incredible 2] Tarpit_Carnivore:
Try going to Settings>Applications and choose the Running tab. Scroll down to HTC Sense, click on it and scroll down and hit the "clear defaults" button. Hit the Home button and it should prompt you to choose a launcher Home or HTC Sense.

Alternatively you can install Go,LPP,ADW, hit home and choose it and then uninstall it.

Emphasis on should, I didn't try this yet.
[Verizon Droid Incredible 2] xgunther:
This isn't disabling sense, its just running in the background.

Posted from my unrootable HTC Droid Incredible 2
[Verizon Droid Incredible 2] Tarpit_Carnivore:
I'm aware of that but the poster was asking about using the vanilla interface and what I suggested would allow for that.
[Verizon Droid Incredible 2] nimdae:
The problem is I've never seen an option on the I2 for the vanilla launcher. The only options I see is HTC Sense and LauncherPro. Whether this changes or not without LauncherPro installed, I couldn't tell you.
[Verizon Droid Incredible 2] mountaineerndixie:
You're correct. The vanilla "Home" launcher is no longer there. HTC wants to make sure Sense is the only option out of the box.

~ sent from HTC DInc2 ~
[Verizon Droid Incredible 2] Derek1267:
So I've tried everything up to step 6 and then everything falls apart. I just downloaded all the SDK files straight from google last night, and when I type in pushroot it just gives me a bunch of errors.

Errors like, ADB is out of date, chmod /data/local/tmp/su: No such file or directory

I have all the files from the zip in my android-sdk-windows folder, so I got no idea why I keep getting tossed errors.

Also as side note, the device is seen through adb so I dont know if the drivers would be an issue

Thanks if anyone can help me out
[Verizon Droid Incredible 2] LowFire82:
Can you do a cut and paste from the command window so we can see what exactly happens?

With the chmod error, doesn't look like the su file was pushed to that directory
[Verizon Droid Incredible 2] joe21015:
When I type abd devices, I get 'abd' is not recognized as an internal or external command...

The drivers seem to be installed correctly and when plugged in the phone shows up under device manager as android device "my HTC"

any suggestions ?
[Verizon Droid Incredible 2] dobosininja:
Try adb, that is the correct command not abd.
[Verizon Droid Incredible 2] lrttn:
Help With Temp Root

I've run the adb commands and get to the "#" prompt but when I open Titanium Backup its says I don't have root.

Following is a transcript of my last attempt. Any help will be greatly appreciated.

lrttn

C:\ADB>adb devices

adb server is out of date. killing...

* daemon started successfully *

List of devices attached

HT15CMA02841 device

C:\ADB>pushroot

C:\ADB>adb shell chmod 777 /data/local/tmp

C:\ADB>adb push getroot /data/local/tmp

1556 KB/s (557962 bytes in 0.350s)

C:\ADB>adb shell chmod 755 /data/local/tmp/getroot

C:\ADB>adb push su /data/local/tmp

1240 KB/s (76232 bytes in 0.060s)

C:\ADB>adb shell chmod 6755 /data/local/tmp/su

C:\ADB>adb push busybox /data/local/tmp

1556 KB/s (1083568 bytes in 0.680s)

C:\ADB>adb shell chmod 755 /data/local/tmp/busybox

C:\ADB>adb shell ln /data/local/tmp/busybox /data/local/tmp/cp

link failed File exists

C:\ADB>adb push pushroot /data/local/tmp

0 KB/s (207 bytes in 1.000s)

C:\ADB>adb shell chmod 755 /data/local/tmp/pushroot

C:\ADB>adb shell /data/local/tmp/getroot

property service neutered.

killing adbd. (should restart in a second or two)

C:\ADB>adb shell

adb server is out of date. killing...

* daemon started successfully *

# /data/local/tmp/pushroot

/data/local/tmp/pushroot

/data/local/tmp/pushroot: /data/local/tmp/cp: permission denied

/data/local/tmp/pushroot: /data/local/tmp/cp: permission denied

#
[Verizon Droid Incredible 2] LowFire82:
What else do you have running on your PC? The adb server out of date seems to possibly be the issue, may be multiple instances of adb.exe running according to this thread: http://xdaforums.com/showthread.php?t=567955
[Verizon Droid Incredible 2] lrttn:
Thanks for the quick reply and the link. I will study the other thread, attempt to correct problems with adb and report back.

lrttn

"What else do you have running on your PC? The adb server out of date seems to possibly be the issue, may be multiple instances of adb.exe running according to this thread: http://xdaforums.com/showthread.php?t=567955"
[Verizon Droid Incredible 2] melgibson666:
I don't know why I'm having this problem, but I did all of the steps, seemed to work fine. The last step though I entered the command after the #, then it just echoes this command, is that what it's supposed to do? Because afterwards I get no superuser. I've redownloaded the files again, same thing. Any suggestions or thoughts? I need to freeze these damn apps I never use. lol
[Verizon Droid Incredible 2] xgunther:
Read instructions fully. :cool:

"After the last step, a new # line appears. That's it! You're temporarily rooted"
[Verizon Droid Incredible 2] Boogersugar83:
You won't get superuser with temp root
[Verizon Droid Incredible 2] melgibson666:
I "fully" read them, but noone ever said "you don't get the superuser app like in a permroot" lol New to this android stuff. Got so used to webos. Now that stuff is easy. haha
[Verizon Droid Incredible 2] lrttn:
ADB Server Out of Date Error

I was able to eliminate the "ADB Server Out of Date" error by stopping conflicting processes on the PC. Thanks again for the link to the other thread.

I didn't find multiple cases of ADB running but I did find 3 phone related processes running on the PC - ADB, HTC and PDANet. I uninstalled PDANet and HTC drivers, reinstalled PDANet, rebooted the PC and reran the Temp Root steps without any errors until the last step. Now I'm getting a "permission denied" message on the final command at the "#" prompt:

C:\ADB>adb shell

# /data/local/tmp/pushroot

/data/local/tmp/pushroot

/data/local/tmp/pushroot: /data/local/tmp/cp: permission denied

/data/local/tmp/pushroot: /data/local/tmp/cp: permission denied

I tried using the Terminal Emulator query from Post #52 but don't get the 6 line print out, just an error. My "peeling the onion" ADB education continues. I'll read and tinker some more.
[Verizon Droid Incredible 2] lrttn:
OK, I got the Terminal Emulator command to work (I was typing an uppercase "I", should have been lowercase "l", here's the output. Again, many thanks for any assistance.

lrttn

$cd /data/local/tmp

$ ls -l

-rw-rw-rw- shell shell 1083568 2011-06-10 21:37 cp

-rwxr-xr-x root root 207 2011-06-14 14:43 pushroot

-rwsr-sr-x root 76232 2011-06-14 14:43 su

-rw-rw-rw- root 115962 1970-01-10 19:53 PdaNet.apk

-rwxr-xr-x root 1083568 2011-06-14 14:43 busybox

-rwxr-xr-x root 557962 2011-06-14 14:43 getroot
[Verizon Droid Incredible 2] LowFire82:
cp does not have the correct permissions... Hmmm

it should be

rwxr-xr-x root root

When you get to step 9, instead of running pushroot right away try:

chmod 755 /data/local/tmp/cp

Then do step 9, let me know if that works...
[Verizon Droid Incredible 2] lrttn:
Success!

Thar worked, I have Temp Root! Thanks for all the help. Great community.

lrttn

"When you get to step 9, instead of running pushroot right away try:

chmod 755 /data/local/tmp/cp

Then do step 9, let me know if that works..."
[Verizon Droid Incredible 2] dieseldank:
This did work fine for me, with #, uninstalled bull**** apps then restarted the phone and of course everything came back. I am now aware I need to just freeze the apps but now I can't get the temp root again.

At first it just kept doing the $ instead of # but now I am actually getting an error:

adb server is out of date. killing....

*daemon started successfully*

Then it gives the device name. When I try to do the pushroot I have exact same problem but it never completes the pushroot so I can't do any further steps.

I have restarted my phone each time trying and have also deleted and re-downloaded everything several times.

Thanks in advance for any help given.
[Verizon Droid Incredible 2] LowFire82:
Please post all inputs and outputs to help us, help you

Also, up just a few posts we talked about the "adb server is out of date..." error and according to an xda thread, there is possibly a couple instances running the adb.exe process or something similar

http://xdaforums.com/showthread.php?t=567955
[Verizon Droid Incredible 2] applejacks108:
i've been able to temp root it. it rebooted so i did it all again. i messed up and started from pushroot.bat. instead of just from step 7. The first time i temp rooted everything was fine. yesterday when i did it again my phone started activing funny. It started with double texting. then it started lagging when i opened messages. Then i would type something and it would just close on me and open a new message, or i would click on the buttons but no text would type. Things randomly force closed. and at one point i tried to open the default sms and it said the

mms

had to be force closed followed by a white blank screen that i couldn't press back or home to get rid of. I pressed the lock and unlock button and i could see the lock page. i unlocked my phone and the home screen showed up although it took a while. I clicked on messages again and it went back to the white screen. after that i rebooted my phone and it seems like everything is working fine now. when i did root it again yesterday. it did say $# instead of just # for step 9 but after i typed the last part only # came up. anyone help me i wanna temproot it again but i'm scared.
[Verizon Droid Incredible 2] dieseldank:
I told you all of my inputs and outputs in my last message. Because it never lets me complete the running of pushroot.bat file I cannot do anything afterwards. Thanks for the link but I exhausted all the suggestions in there now. And I tried the previous posts suggestions in this thread. Nothing works still.

I appreciate your help. It lets me get to my adb directory in the command prompt then when I try to show devices I get this.

C:\adb>adb devices

adb server is out of date. killing....

*daemon started successfully*

List of devices attached

HT14UMA05076 device

It never completes the pushroot file and says the adb server out of date killing then started successfully thing with every part of step 6

Also when I try to exit the adb in my task manager it reopens automatically every single time even when htc sync is closed and everything else also. Don't know if that matters but maybe it will help you help me. Any other things I can tell you please let me know I would love to get this figured out soon
[Verizon Droid Incredible 2] lrttn:
I'm a 'noob at this but that's the problem I had and here's what I did. It basically was a problems with conflicting processes running on the PC. Nothing in the other post worked for me either. There's probably a more eligant approach, but this brute-force approach to starting over worked for me. Good luck.

Unplug and reboot phone.

Use Windows uninstaller to uninstall any android-related apps/drivers. In my case, it was anything named HTC, PDAnet and, I think sdk.

I then deleted any remaining related folders on my c:\ drive. Then rebooted the PC.

Then I restored a windows restore point from a week ago, prior to starting the Temp Root process.

Then I installed PDAnet to get the phone drivers, downloaded the Temp Root zip file, extracted the files to C:\ADB and followed the steps in the OP.

lrttn

"It never completes the pushroot file and says the adb server out of date killing then started successfully thing with every part of step 6

Also when I try to exit the adb in my task manager it reopens automatically every single time even when htc sync is closed and everything else also."
[Verizon Droid Incredible 2] dieseldank:
Hey got everything figured out, thanks so much. I did what you said above... only thing different than my original attempts of fixing was doing the system restore and using pdanet instead of the htc sync <<<in case anyone else comes across this problem.

Also for anyone wanting to not pay to remove the bloatware there is a great program root uninstaller. With a normal root it is my fav. system app uninstaller but for this temp root it has the freeze feature which is great considering the cost to do it on titanium and bloat freezer.

Thanks again
[Verizon Droid Incredible 2] dieseldank:
After you do the last step and a new line appears with just a # means you have the temp root completed and can go use root uninstaller to freeze (don't uninstall) bull**** apps.
[Verizon Droid Incredible 2] lrttn:
Glad that worked. I've found that after multiple unsuccessful attempts at something, its often helpful to start over with a totally clean slate.

lrttn

>Hey got everything figured out, thanks so much.....
[Verizon Droid Incredible 2] applejacks108:
i know i had it temp rooted. i'm just saying after i temp rooted my phone started acting wierd. freezing. and closing and stuff. i just wanted to know if anyone knew why
[Verizon Droid Incredible 2] nimdae:
Ideally you don't want to have to use an exploit to gain root, you just want to have root at your disposal. In the case of "temp root" we have to exploit it every time we want root. This involves fudging with memory.

The root access most likely is not causing the inconsistent behavior and instability. What is most likely causing it is the exploit itself.

We can't know for sure until we can root this thing where we don't have to exploit it every time. I suspect once we get an unlock that allows us to make permanent changes so that we don't have to run an exploit every time that things will become stable with the root access.
[Verizon Droid Incredible 2] homedum:
stupid macs

hi, just wondering if anyone came across instructions for temprooting on a mac, or ideas on how to do this, im not really brave enough to be subject 0
[Verizon Droid Incredible 2] Knight2011:
+1 I was just going to ask if it can be done on mac.

So can it?