Jump to content

Check us out:

- - - - -

Froyo and ADB dont work together?


26 replies to this topic

#1 OFFLINE   hijackerjack

    MDW Writer

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

Posted 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 OFFLINE   chuk1005

    Junior Droid

  • Members
  • PipPip
  • 10 posts
  • Device:Droid

Posted 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 OFFLINE   jtelander

    Droid

  • Members
  • 155 posts
  • Device:RAZR

Posted 09 June 2010 - 10:52 AM

chuk1005 said:

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 OFFLINE   olta777

    Android Master

  • VIP
  • 3,808 posts
  • Device:HTC Thunderbolt

Posted 09 June 2010 - 11:09 AM

jtelander said:

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 Posted Image 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 OFFLINE   jtelander

    Droid

  • Members
  • 155 posts
  • Device:RAZR

Posted 09 June 2010 - 11:26 AM

olta777 said:

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

Quote

adb shell

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

I then typed

Quote

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

and received the following message

Quote

adb.exe: permission denied


#6 OFFLINE   olta777

    Android Master

  • VIP
  • 3,808 posts
  • Device:HTC Thunderbolt

Posted 09 June 2010 - 11:36 AM

jtelander said:

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 Posted Image 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 OFFLINE   mrZoSo

    Droid

  • Members
  • 131 posts
  • Device:Moto Droid

Posted 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 OFFLINE   jtelander

    Droid

  • Members
  • 155 posts
  • Device:RAZR

Posted 09 June 2010 - 11:47 AM

olta777 said:

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 OFFLINE   olta777

    Android Master

  • VIP
  • 3,808 posts
  • Device:HTC Thunderbolt

Posted 09 June 2010 - 11:49 AM

jtelander said:

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 Posted Image 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 OFFLINE   jtelander

    Droid

  • Members
  • 155 posts
  • Device:RAZR

Posted 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

Quote

adb shell

the computer responds

Quote

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

When I typed

Quote

SU
There was a prompt for permissions

But when I type any commands, the response is

Quote

adb.exe: not found

Was I supposed to type

Quote

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"

Edited by jtelander, 09 June 2010 - 12:57 PM.
clarity


#11 OFFLINE   Erren

    MDW Noob

  • Members
  • Pip
  • 1 posts
  • Device:Droid

Posted 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 OFFLINE   jtelander

    Droid

  • Members
  • 155 posts
  • Device:RAZR

Posted 09 June 2010 - 01:17 PM

Erren said:

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 OFFLINE   jtelander

    Droid

  • Members
  • 155 posts
  • Device:RAZR

Posted 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 OFFLINE   fscalzo

    Junior Droid

  • Members
  • PipPip
  • 18 posts

Posted 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 OFFLINE   jtelander

    Droid

  • Members
  • 155 posts
  • Device:RAZR

Posted 09 June 2010 - 02:30 PM

fscalzo said:

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 OFFLINE   mrZoSo

    Droid

  • Members
  • 131 posts
  • Device:Moto Droid

Posted 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 OFFLINE   jtelander

    Droid

  • Members
  • 155 posts
  • Device:RAZR

Posted 09 June 2010 - 03:00 PM

mrZoSo said:

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 said:

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 OFFLINE   olta777

    Android Master

  • VIP
  • 3,808 posts
  • Device:HTC Thunderbolt

Posted 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 Posted Image 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 OFFLINE   fscalzo

    Junior Droid

  • Members
  • PipPip
  • 18 posts

Posted 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 OFFLINE   mrZoSo

    Droid

  • Members
  • 131 posts
  • Device:Moto Droid

Posted 09 June 2010 - 03:19 PM

jtelander said:

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!






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users