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

mingw android mingw.android at gmail.com
Tue Jun 21 21:48:20 CEST 2011


A bit of Googling turned up this:

https://wiki.mozilla.org/User:Blassey/Notes/Android#debugging_without_rooting

killer script has:

adb shell run-as $1 kill $p

where $1 is the PID of your app and $p that of gdbserver.

...so run-as is the magic ingredient. Worth a go I reckon, if it works
reliably on all devices then all is good.

I'd give it a go but I'm busy fixing the build script to work on a VM
of a clean Win7 install...

On Tue, Jun 21, 2011 at 8:37 PM, Christian Kuester <c.kuester at tarent.de> wrote:
> On Tue, Jun 21, 2011 at 07:16:08PM +0100, mingw android wrote:
>> Is this common across all devices? Ive always rooted my phones out of the
>> box, but was hoping to not have to on my s2.
>
> Yes, that is part of the android security model. Every application
> runs under a different user. The linux process isolation is the
> heart of the security model.
>
> ck
> --
> Dipl.-Inform. Christian Küster
>
> tarent solutions GmbH
> Heilsbachstraße 24, D-53123 Bonn * http://www.tarent.de/
> Tel: +49 228 52675-0 * Fax: +49 228 52675-25
> Mobil: +49 171 7673249
> HRB AG Bonn 5168 * USt-ID (VAT): DE122264941
> Geschäftsführer: Boris Esser, Elmar Geese
>
>


More information about the Necessitas-devel mailing list