← Back to team overview

ubuntu-phone team mailing list archive

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

 

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
> <http://askubuntu.com/questions/538129/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
>
>

Follow ups

References