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


Groups > comp.os.linux.advocacy > #478988

Re: more gnuroot debian fun

From owl <owl@rooftop.invalid>
Newsgroups comp.os.linux.advocacy
Subject Re: more gnuroot debian fun
Date 2018-11-23 22:25 +0000
Organization O.W.L.
Message-ID <a9b0803gtg.auy@rooftop.invalid> (permalink)
References (3 earlier) <w9YJD.390683$vf.305184@fx05.am4> <ax9b098q043hb.34io@rooftop.invalid> <3uYJD.8338$lKb.1328@fx15.am4> <aiibu39a783.apl3@rooftop.invalid> <VNYJD.311663$F96.16082@fx40.am4>

Show all headers | View raw


Melzzzzz <Melzzzzz@zzzzz.com> wrote:
> On 2018-11-23, owl <owl@rooftop.invalid> wrote:
>> Melzzzzz <Melzzzzz@zzzzz.com> wrote:
>>> On 2018-11-23, owl <owl@rooftop.invalid> wrote:
>>>> Melzzzzz <Melzzzzz@zzzzz.com> wrote:
>>>>> On 2018-11-23, owl <owl@rooftop.invalid> wrote:
>>>>>> Melzzzzz <Melzzzzz@zzzzz.com> wrote:
>>>>>>> On 2018-11-23, owl <owl@rooftop.invalid> wrote:
>>>>>>>> I had been using AndFTP (iirc JuiceSSH requires payment for scp) to copy
>>>>>>>> images from my phone to my laptop, and that got tiresome, what with
>>>>>>>> occasional authentication problems and having to navigate to the DCIM
>>>>>>>> directory and select images; so I installed ssh/scp into the gnuroot
>>>>>>>> debian installation on the phone and created a script called cpix.
>>>>>>>> Now it's just a matter of starting a terminal and typing:
>>>>>>>>
>>>>>>>> ./cpix 112318*
>>>>>>>>
>>>>>>>> to copy all photos taken today from my phone to my computer.
>>>>>>>>
>>>>>>>> God, I love Linux :)
>>>>>>> 
>>>>>>> Any Android can be enabled to use adb. With adb you can copy anything.
>>>>>>> 
>>>>>>
>>>>>> Is this what you're talking about?
>>>>>>
>>>>>> https://developer.android.com/studio/command-line/adb
>>>>>>
>>>>>> That sounds like a lot of steps.  Do you have to do that every time?
>>>>>> With scp, I just open a terminal on the phone and type "./cpix <whatever>". 
>>>>>>
>>>>> How do you do that? Android don't execute executables at all, you have
>>>>> to gain root for that?
>>>>> 
>>>>
>>>> Root not required for this:
>>>>
>>>> https://play.google.com/store/apps/details?id=com.gnuroot.debian&hl=en_US
>>>>
>>>> Apparently gnuroot debian's not being maintained anymore and doesn't
>>>> work with newer android versions.
>>>>
>>>> Works fine on my phone with android 5.1.1.
>>>>
>>>> The developer recommends this:
>>>>
>>>> https://play.google.com/store/apps/details?id=tech.ula&hl=en_US
>>>>
>>>> I'll have to give it a spin and see.
>>> 
>>> Well, with adb you just run :adb shell scp ....
>>> 
>>
>> How often do you have to run through the steps outlined in the
>> developer.android.com link?  Does that ":adb shell ..." command
>> run on the phone or the computer?
> 
> You execute adb on computer and shell command on phone...
> I think that you don't need to execute anything else once 
> adb server is running on phone.
> 

What's the benefit of doing it that way vs just using scp?

Back to comp.os.linux.advocacy | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

more gnuroot debian fun owl <owl@rooftop.invalid> - 2018-11-23 15:54 +0000
  Re: more gnuroot debian fun Steve Carroll <fretwizzer@gmail.com> - 2018-11-23 08:01 -0800
    Re: more gnuroot debian fun owl <owl@rooftop.invalid> - 2018-11-23 16:21 +0000
      Re: more gnuroot debian fun Steve Carroll <fretwizzer@gmail.com> - 2018-11-23 08:27 -0800
        Re: more gnuroot debian fun owl <owl@rooftop.invalid> - 2018-11-23 16:47 +0000
          Re: more gnuroot debian fun Steve Carroll <fretwizzer@gmail.com> - 2018-11-23 08:59 -0800
          Re: more gnuroot debian fun Steve Carroll <frelwizzen@gmail.com> - 2018-11-23 09:19 -0800
  Re: more gnuroot debian fun Melzzzzz <Melzzzzz@zzzzz.com> - 2018-11-23 17:17 +0000
    Re: more gnuroot debian fun Steve Carroll <frelwizzen@gmail.com> - 2018-11-23 09:34 -0800
    Re: more gnuroot debian fun owl <owl@rooftop.invalid> - 2018-11-23 18:31 +0000
      Re: more gnuroot debian fun Melzzzzz <Melzzzzz@zzzzz.com> - 2018-11-23 19:02 +0000
        Re: more gnuroot debian fun owl <owl@rooftop.invalid> - 2018-11-23 19:19 +0000
          Re: more gnuroot debian fun Melzzzzz <Melzzzzz@zzzzz.com> - 2018-11-23 19:24 +0000
            Re: more gnuroot debian fun owl <owl@rooftop.invalid> - 2018-11-23 19:35 +0000
              Re: more gnuroot debian fun Melzzzzz <Melzzzzz@zzzzz.com> - 2018-11-23 19:45 +0000
                Re: more gnuroot debian fun owl <owl@rooftop.invalid> - 2018-11-23 22:25 +0000
                Re: more gnuroot debian fun Melzzzzz <Melzzzzz@zzzzz.com> - 2018-11-23 22:28 +0000
                Re: more gnuroot debian fun owl <owl@rooftop.invalid> - 2018-11-23 22:42 +0000
                Re: more gnuroot debian fun Melzzzzz <Melzzzzz@zzzzz.com> - 2018-11-23 23:26 +0000
                Re: more gnuroot debian fun owl <owl@rooftop.invalid> - 2018-11-24 01:40 +0000
                Re: more gnuroot debian fun Steve Carroll <frelwizzen@gmail.com> - 2018-11-24 04:50 -0800
                Re: more gnuroot debian fun Steve Carroll <frelwizzen@gmail.com> - 2018-11-24 01:59 -0800
  Re: more gnuroot debian fun "F. Russell" <fr@random.info> - 2018-11-23 18:35 +0000
    Re: more gnuroot debian fun owl <owl@rooftop.invalid> - 2018-11-23 18:51 +0000

csiph-web