Check us out:

- - - - -

Froyo and ADB dont work together?


#1   hijackerjack

    MDW Writer

  • Members
  • 334
  • Twitter:www.twitter.com/hijackerjack
  • Device:Moto Droid, Droid X

09 June 2010 - 07:15 AM

Am I the only one who gets "ADB access denied" when trying to use any command in ADB?

Remove Advertisements Sponsored Links

    MyDroidWorld.com



#2   chuk1005

    Junior Droid

  • Members
  • 10
  • Device:Droid

09 June 2010 - 07:22 AM

You need to upgrade ur platform to 2.2 see the link below (look to the left side)

Please Login HERE or Register HERE to see this link!



#3   jtelander

    Droid

  • Members
  • 155
  • Device:RAZR

09 June 2010 - 10:52 AM

You need to upgrade ur platform to 2.2 see the link below (look to the left side)

Please Login HERE or Register HERE to see this link!


I am using the latest version and getting the same error message. I should add that this is my first attempt to use ADB...what else might I be doing wrong?

#4   olta777

    Android Master

  • VIP
  • 3,808
  • Device:HTC Thunderbolt

09 June 2010 - 11:09 AM

I am using the latest version and getting the same error message. I should add that this is my first attempt to use ADB...what else might I be doing wrong?

Try re-running root update.zip. Are you typing su first? Or, what are you trying to do here? :)


> Register at MDW | MDW Rules and Guidelines <
Click the in a member's post to thank them for their post!
"BB Pearl > LG Dare > BB Storm 1 > BB Storm 2 > HTC Eris > Motorola Droid > HTC Incredible > Droid X > HTC Incredible > Samsung Fascinate - Rooted/CWM Recovery/Blackhole FROYO - WINNER" :angel


#5   jtelander

    Droid

  • Members
  • 155
  • Device:RAZR

09 June 2010 - 11:26 AM

Try re-running root update.zip. Are you typing su first? Or, what are you trying to do here? :)

I'm trying to fix the maps issue discussed in http://www.mydroidwo...-fix-froyo.html
I followed your directions at http://www.mydroidwo....html#post15210

I did not type su first

I opened CMD per your instructions in the above thread

Then I typed

adb shell

After I did that the symbol "$" appeared on the next line at the cursor

I then typed

adb.exe uninstall com.google.android.apps.maps

and received the following message

adb.exe: permission denied


#6   olta777

    Android Master

  • VIP
  • 3,808
  • Device:HTC Thunderbolt

09 June 2010 - 11:36 AM

I'm trying to fix the maps issue discussed in http://www.mydroidwo...-fix-froyo.html
I followed your directions at http://www.mydroidwo....html#post15210

I did not type su first

I opened CMD per your instructions in the above thread

Then I typed


After I did that the symbol "$" appeared on the next line at the cursor

I then typed


and received the following message

Ok, look on your droid and see if you got a prompt for permissions...If not, just open the superuser ninja icon, then tap home. Now, try typing adb commands. :)


> Register at MDW | MDW Rules and Guidelines <
Click the in a member's post to thank them for their post!
"BB Pearl > LG Dare > BB Storm 1 > BB Storm 2 > HTC Eris > Motorola Droid > HTC Incredible > Droid X > HTC Incredible > Samsung Fascinate - Rooted/CWM Recovery/Blackhole FROYO - WINNER" :angel


#7   mrZoSo

    Droid

  • Members
  • 131
  • Device:Moto Droid

09 June 2010 - 11:39 AM

After that try it this way:

adb.exe kill-server
adb.exe root
adb.exe remount
adb.exe uninstall com.google.android.apps.maps
mrZoSo
adb for Windows

Posted Image


Register @ MDW | MDW Rules & Guidlines

Please be kind and use SEARCH to avoid duplicate posts. Thank You :)

Click the Posted Image in a member's post to thank them for their post!


#8   jtelander

    Droid

  • Members
  • 155
  • Device:RAZR

09 June 2010 - 11:47 AM

Ok, look on your droid and see if you got a prompt for permissions...If not, just open the superuser ninja icon, then tap home. Now, try typing adb commands. :)

I'm not following. I believe there was a permissions prompt, but I don't know what a superuser ninja icon looks like. The only place I see superuser is in an application titled "superuser permissions" Please explain...thanks

#9   olta777

    Android Master

  • VIP
  • 3,808
  • Device:HTC Thunderbolt

09 June 2010 - 11:49 AM

I'm not following. I believe there was a permissions prompt, but I don't know what a superuser ninja icon looks like. The only place I see superuser is in an application titled "superuser permissions" Please explain...thanks

That's the one... just open it...it will just be a blank screen. Now for the prompts, make sure you select "Always Allow" as that is how root works and allows apps to run. ;)


> Register at MDW | MDW Rules and Guidelines <
Click the in a member's post to thank them for their post!
"BB Pearl > LG Dare > BB Storm 1 > BB Storm 2 > HTC Eris > Motorola Droid > HTC Incredible > Droid X > HTC Incredible > Samsung Fascinate - Rooted/CWM Recovery/Blackhole FROYO - WINNER" :angel


#10   jtelander

    Droid

  • Members
  • 155
  • Device:RAZR

09 June 2010 - 12:50 PM

In case it matters, when I open the "superuser permissions" I do not see a blank screen. Instead a number of apps are listed (titanium backup, wireless tether, root explorer)
Since my last post, I've rebooted computer and droid. To be clear, the droid is plugged into the computer, I've selected "USB connected) on the Droid, but have not enabled "turn on USB storage"

When I opened the command prompt and enter

adb shell

the computer responds

* daemon not running. starting it now*
* daemon started successfully*
$

When I typed

SU
There was a prompt for permissions

But when I type any commands, the response is

adb.exe: not found

Was I supposed to type

SU
before the other commands?

At least I'm getting a different error now than I was before...instead of "permission denied", now its "not found"

#11   Erren

    MDW Noob

  • Members
  • 1
  • Device:Droid

09 June 2010 - 01:02 PM

When working in Linux/Unix shell your command line will either start with a $ or a #

$ - Limited Access - restricted to commands that won't cause any serious damage.
# - Root - Allows root commands to be issued.

when you type su (switch user or substitute user) you elevate your permissions from a limited user to a superuser. The first time you enter su from the ADB Shell, you'll need to grant it root access on the device via the dialog box that appears.

That is only applicable inside the shell. When you aren't in the shell, you are subject to the Windows Command line syntax and rules. The adb.exe: not found errors mean something isn't installed correctly with adb on your PC.

#12   jtelander

    Droid

  • Members
  • 155
  • Device:RAZR

09 June 2010 - 01:17 PM

When working in Linux/Unix shell your command line will either start with a $ or a #

$ - Limited Access - restricted to commands that won't cause any serious damage.
# - Root - Allows root commands to be issued.

when you type su (switch user or substitute user) you elevate your permissions from a limited user to a superuser. The first time you enter su from the ADB Shell, you'll need to grant it root access on the device via the dialog box that appears.

That is only applicable inside the shell. When you aren't in the shell, you are subject to the Windows Command line syntax and rules. The adb.exe: not found errors mean something isn't installed correctly with adb on your PC.

Thanks!
So, I've granted root access to the ADB shell

Should the commands identified here be preceded by a $ or should it be a # instead?

I'll reinstall the adb and see if it makes a difference...thanks again

#13   jtelander

    Droid

  • Members
  • 155
  • Device:RAZR

09 June 2010 - 01:25 PM

More info

commands after the $ prompt result in "permission denied" errors
commands after the # prompt result in "not found" errors

#14   fscalzo

    Junior Droid

  • Members
  • 18

09 June 2010 - 01:33 PM

Just making sure you have usb debugging on your droid and you are actually connecting to your actual device not the emulator

#15   jtelander

    Droid

  • Members
  • 155
  • Device:RAZR

09 June 2010 - 02:30 PM

Just making sure you have usb debugging on your droid and you are actually connecting to your actual device not the emulator

Yes I do have usb debugging enabled. Thanks for asking.

I'd really like to get past this..please keep those suggestions coming!!

#16   mrZoSo

    Droid

  • Members
  • 131
  • Device:Moto Droid

09 June 2010 - 02:33 PM

Did you try what I suggested in post #7?
Post your results.
Also if you have the sdk\tools in your path correctly, you won't need to type the .exe part
mrZoSo
adb for Windows

Posted Image


Register @ MDW | MDW Rules & Guidlines

Please be kind and use SEARCH to avoid duplicate posts. Thank You :)

Click the Posted Image in a member's post to thank them for their post!


#17   jtelander

    Droid

  • Members
  • 155
  • Device:RAZR

09 June 2010 - 03:00 PM

Did you try what I suggested in post #7?
Post your results.
Also if you have the sdk\tools in your path correctly, you won't need to type the .exe part

After that try it this way:

adb.exe kill-server
adb.exe root
adb.exe remount
adb.exe uninstall com.google.android.apps.maps

I did try this...same error messages indicated previously

I tried your commands after the $ prompt result - "permission denied" errors
I typed "SU" and tried your commands after the # prompt result- "not found" errors

#18   olta777

    Android Master

  • VIP
  • 3,808
  • Device:HTC Thunderbolt

09 June 2010 - 03:02 PM

I would try root explorer and go into system/apps and see if maps is still there...if not, then it's deleted. :)


> Register at MDW | MDW Rules and Guidelines <
Click the in a member's post to thank them for their post!
"BB Pearl > LG Dare > BB Storm 1 > BB Storm 2 > HTC Eris > Motorola Droid > HTC Incredible > Droid X > HTC Incredible > Samsung Fascinate - Rooted/CWM Recovery/Blackhole FROYO - WINNER" :angel


#19   fscalzo

    Junior Droid

  • Members
  • 18

09 June 2010 - 03:07 PM

yeah if you are getting a not found on you seem to have uninstalled did u try to reinstall from the market

#20   mrZoSo

    Droid

  • Members
  • 131
  • Device:Moto Droid

09 June 2010 - 03:19 PM

I did try this...same error messages indicated previously

I tried your commands after the $ prompt result - "permission denied" errors
I typed "SU" and tried your commands after the # prompt result- "not found" errors

Just so you know, what I suggested is not done in the shell. So don't type adb shell first.
mrZoSo
adb for Windows

Posted Image


Register @ MDW | MDW Rules & Guidlines

Please be kind and use SEARCH to avoid duplicate posts. Thank You :)

Click the Posted Image in a member's post to thank them for their post!