Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.mobile.android > #45318

Re: how to get and build the su(1) command for Motorola phones

From "Charles T. Smith" <cts.private.yahoo@gmail.com>
Newsgroups comp.mobile.android
Subject Re: how to get and build the su(1) command for Motorola phones
Date 2017-07-20 08:53 +0000
Organization A noiseless patient Spider
Message-ID <okpr2h$b9i$1@dont-email.me> (permalink)
References <okoms0$svl$1@dont-email.me> <GtZbB.467821$LJ4.74142@fx37.am4>

Show all headers | View raw


On Thu, 20 Jul 2017 07:58:45 +0000, Desmond Riverton wrote:

> "Charles T. Smith" wrote:
> 
>> I've unlocked my phone according to the instructions on the
>> Motorola web page, but that doesn't seem to give me anything.
>> There is no su command on the device 
> 
> The su binary usually is at /system/xbin/su on Android.


$ adb shell ls /system/xbin
backup
dexdump
run_backup
run_restore
$

> 
>> and "adb root" responds
>> with:
>> 
>>   "adbd cannot run as root in production builds"
>> 
>> I don't want to use somebody's binary - google/android makes
>> the unix commands available, e.g. ls(1), sh(), etc.  The su(1)
>> command should be available, too.
> 
> To get the Android su source:
>    https://android.googlesource.com/platform/system/extras/+/master/su/


Thank you.


> 
> To build: start reading from here:
>    https://source.android.com/source/requirements

Back to comp.mobile.android | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

how to get and build the su(1) command for Motorola phones "Charles T. Smith" <cts.private.yahoo@gmail.com> - 2017-07-19 22:35 +0000
  Re: how to get and build the su(1) command for Motorola phones Desmond Riverton <des@private.invalid> - 2017-07-20 07:58 +0000
    Re: how to get and build the su(1) command for Motorola phones "Charles T. Smith" <cts.private.yahoo@gmail.com> - 2017-07-20 08:53 +0000
    Re: how to get and build the su(1) command for Motorola phones "Charles T. Smith" <cts.private.yahoo@gmail.com> - 2017-07-20 10:45 +0000
      Re: how to get and build the su(1) command for Motorola phones "Carlos E.R." <robin_listas@es.invalid> - 2017-07-21 04:51 +0200
        Re: how to get and build the su(1) command for Motorola phones "Charles T. Smith" <cts.private.yahoo@gmail.com> - 2017-07-21 07:48 +0000
    Re: how to get and build the su(1) command for Motorola phones "Charles T. Smith" <cts.private.yahoo@gmail.com> - 2017-07-20 21:39 +0000
      Re: how to get and build the su(1) command for Motorola phones Desmond Riverton <des@private.invalid> - 2017-07-21 07:51 +0000
        Re: how to get and build the su(1) command for Motorola phones "Charles T. Smith" <cts.private.yahoo@gmail.com> - 2017-07-21 08:01 +0000
          Re: how to get and build the su(1) command for Motorola phones Desmond Riverton <des@private.invalid> - 2017-07-22 09:11 +0000
            Re: how to get and build the su(1) command for Motorola phones "Charles T. Smith" <cts.private.yahoo@gmail.com> - 2017-07-22 09:17 +0000

csiph-web