"adb kill" - does it need a root'ed device?

Espen Riskedal espen at cutehacks.com
Tue Jun 21 21:35:30 CEST 2011


On Tue, Jun 21, 2011 at 8:15 PM, Espen Riskedal <espen at cutehacks.com> wrote:
>> If you don't have a r00ted;) device your adb user is "shell" not
>> root, so you won't be able to issue an kill command to kill app_XXX
>> processes.
>
> What about killing the app_XXX first, that should kill it's child processes?

Tried it, didn't work. Neither using the app_XXX name, nor using the
PID of the process that gdbserver belongs to.

>> Try to go to Settings->Applications->Manage Applications.
>> There has to be a tab "running application". Select your App and
>> there has to be a button called "enforce app shutdown" or something
>> like that (my phone is german).
>
> Found it, will try that next time.

Tried it, used "Force stop". Didn't really work either :(

Process went from being "t" to "Z" (which I guess means it's now a
Zombie process):

from:
  app_120   14225 2572  161748 24336 ffffffff 00000000 t
eu.licentia.necessitas.industrius.example.fontdrawtest
  app_120   14234 14225 476    200   ffffffff 00000000 S
/data/data/eu.licentia.necessitas.industrius.example.fontdrawtest/lib/gdbserver
to:
  app_120   14225 2572  0      0     ffffffff 00000000 Z le.fontdrawtest
  app_120   14234 1     476    200   ffffffff 00000000 S
/data/data/eu.licentia.necessitas.industrius.example.fontdrawtest/lib/gdbserver

Anyone know why the name changed to le.xxxx?

espen


More information about the Necessitas-devel mailing list