← Back to team overview

ubuntu-phone team mailing list archive

Re: Remote terminal to Aquaris E4.5 - how?

 

That did it. Thanks!




On Fri, 2015-05-08 at 09:39 +0200, Benjamin Zeller wrote:
> Hello,
> 
> from your screenshot I can tell that you have not the most recent SDK
> version installed.
> What Ubuntu version are you running?
> 
> You probably want to enable this ppa (for 14.04 and newer) to get
> always the most recent version of the SDK :
> 
> https://launchpad.net/~ubuntu-sdk-team/+archive/ubuntu/ppa
> 
> 
> Benjamin
> 
> 
> Am 08.05.2015 um 07:49 schrieb Louis Holbrook (for subscriptions only,
> don't use):
> 
> > Thanks Pat and Ed.
> > 
> > With remounting and installing ssh I was able to get in.
> > 
> > The USB is really acting up, though (I tried restarting phone and pc to
> > see if it helped):
> > 
> > - adb devices lists the device, but the ubuntu sdk only hangs on
> > "detecting version" when trying to connect to it. Also, it says it has
> > no network connection, although it has.
> > 
> > - adb shell worked the first time, but now it only says "error: closed"
> > every time.
> > 
> > - I was earlier able to connect to the home directory with the file
> > browser through usb, but now (after I did the adb shell) it doesn't work
> > anymore: Unable to open MTP device '[usb:002,006]'. 
> > 
> > 
> > 
> > 
> > 
> > On Thu, 2015-05-07 at 17:00 -0400, Pat McGowan wrote:
> > > Hi
> > > 
> > > 
> > > Do you have android-tools-ad installed?
> > > Did you follow the instructions to enable developer mode in settings?
> > > And then the phone needs to be opened using your pincode or password
> > > If so adb devices should list the phone and adb shell can then access
> > > it.
> > > 
> > > 
> > > The filesystem is read-only by default, to make it writeable either
> > > use phablet-config writeable-image or run sudo -S mount -o
> > > remount,rw / on the device
> > > 
> > > 
> > > Your Mint may not know the devices usb id. You can add it with the
> > > file  ~/.android/adb_usb.ini containing
> > > the string: 0x2a47
> > > 
> > > 
> > > Pat
> > > 
> > > On Thu, May 7, 2015 at 4:55 PM, Ed Kapitein <ed@xxxxxxxxxxxx> wrote:
> > >         On 05/07/15 22:06, Louis Holbrook (not read, for accounts)
> > >         wrote:
> > >         
> > >         > I just got my first linux phone today - Aquaris E4.5 and
> > >         > wanted to hook it up to my laptop and start messing around
> > >         > through terminal. But I can't seem to be able to get in
> > >         > touch with it. From what I've read so far, adb should be
> > >         > involved somehow, but the device doesn't show up anywhere. I
> > >         > tried it from the Ubuntu SDK too, and it didn't list any
> > >         > device either.
> > >         > 
> > >         > I was pointed to Ubuntu touch - remote access to device as a
> > >         > possible duplicate of this question, but it's not because:
> > >         > 
> > >         >       * The device never shows up in my SDK when I connect
> > >         >         the USB
> > >         >       * When I try apt-get on my device, I get "not using
> > >         >         locking for read only lock file /var/lib/dpkg/lock
> > >         >         (which means in turn it can't write to dpkg soucres)
> > >         >       * My linux mint (17.1 rebecca) distro's phablet-tools
> > >         >         package doesn't even include phablet-shell
> > >         > 
> > >         > Is it supposed to be as simple as just plugging the usb and
> > >         > then it gets detected, or are there other woodoo tricks to
> > >         > it?
> > >         > 
> > >         > 
> > >         > 
> > >         > PS is there a way to search this mailing list archive by
> > >         > keywords in any way?
> > >         > 
> > >         > 
> > >         > 
> > >         > 
> > >         Does it show up in lsusb?
> > >         Try:
> > >         lsusb | grep 2a47:0003
> > >         ( on the computer/laptop, not on the phone )
> > >         
> > >         I find it easier to start ssh:
> > >         sudo service ssh restart
> > >         ( on the phone )
> > >         
> > >         And log in with ssh ( as the user phablet )
> > >         you can copy the id_dsa* from ~/.ssh/  folder on the phone to
> > >         the computer/laptop and use 
> > >         it to log in.
> > >         ( on the phone, cat ~/.ssh/id_dsa.pub >>
> > >         ~/.ssh/authorized_keys first )
> > >         
> > >         Hope it helps.
> > >         
> > >         Kind regards,
> > >         Ed
> > >         
> > >         
> > >         
> > >         
> > >         
> > >         
> > >         --
> > >         Mailing list: https://launchpad.net/~ubuntu-phone
> > >         Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> > >         Unsubscribe : https://launchpad.net/~ubuntu-phone
> > >         More help   : https://help.launchpad.net/ListHelp
> > >         
> > > 
> > > 
> > 
> > 
> 




References