debian+phosh running on PinePhone
Looks like I deleted my post somehow so here's the short version: you can install anbox and its modules but there appears to be a problem somewhere.

1) install modules
2) sudo apt install anbox
3) download android image and move to /var/lib/anbox/android.img
4) sudo systemctl start anbox-container-manager.service
5) systemctl --user start anbox-session-manager.service
6) anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity

Code:
[launch.cpp:214@operator()] Session manager failed to become ready

--

Fixed:

a) make sure to select android.img from android-image-working.tar.gz
b) sudo apt install android-tools-adb
c) adb install random.apk (random android apk files are available online)
d) sudo /usr/share/anbox/anbox-shell.sh (if you need root access)
e) some links to information sources
  Reply
Hey guys,

is it actually enough to update my phone with 

Code:
sudo apt update
sudo apt dist-upgrade 


or do I need to flash a new image regularly?

Best,
Thomas
  Reply
(04-13-2020, 07:38 AM)a-wai Wrote: A few cosmetic details have changed ("King's Cross" now appears as "Terminal")

Awe - that was a lovely quirky touch Sad
 
(04-13-2020, 07:38 AM)a-wai Wrote: Finally, thanks to @rico we now have a network connection and serial console through USB! All you have to do to enable it is install the pinephone-devtools package, then reboot.

You folks are fantastic - thank you Big Grin Big Grin Big Grin

(04-13-2020, 08:15 AM)rico Wrote: ...
And to all my PinePhone friends, keep in mind it's still in development stage Wink

Spoilsport Wink In my day software was production ready if it compiled! Ask young Mr Gates about MS-DOS!

(04-13-2020, 02:45 PM)Concrete_panda Wrote: Hey guys,

is it actually enough to update my phone with 

Code:
sudo apt update
sudo apt dist-upgrade 


or do I need to flash a new image regularly?

Best,
Thomas

Normally an update/upgrade is sufficient - in this case it was for me. Occasionally @a-wai has flagged a re-install is necessary though.
* ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Started Bionic minimal - now "focal", Openbox desktop for general purpose daily PC.
* PinePhone 2Gb CE daily driver with Mobian/Phosh
* PinePhone BraveHeart in semi-retirement
  Reply
(04-13-2020, 02:07 PM)nas Wrote: 6) anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity

Code:
[launch.cpp:214@operator()] Session manager failed to become ready

The logs suggest network bridge or lxc problem - it may be similar to this github issue.

It actually worked for me. I sometimes had scaling issues, where the screen seemed to be a few pixels above the touch input and text input seemed to input weird characters instead of what I typed (equals sign instead of backspace) but I've never had anbox work as good on any device before. Thanks!

So, even though it isn't working for you, we seem to be on the right track.
  Reply
(04-13-2020, 03:24 PM)Boern Wrote: It actually worked for me. I sometimes had scaling issues, where the screen seemed to be a few pixels above the touch input and text input seemed to input weird characters instead of what I typed (equals sign instead of backspace) but I've never had anbox work as good on any device before. Thanks!

So, even though it isn't working for you, we seem to be on the right track.

That's good news, care to share a photo?  Smile

I had a similar input issue in retroarch - seems to be a squeekboard quirk.

I guess something is iffy with my setup so I may just need to flash the latest image. Otherwise, this github thread seems pretty close to my problem.
  Reply
@a-wai this is probably very low on the to-do list, but in pmOS + Phosh build there is a settings option to change the wallpaper ... would be nice to have in this build too.
You can find me on IRC, Discord and Twitter


  Reply
(04-13-2020, 04:13 PM)nas Wrote: That's good news, care to share a photo?  Smile

I could even set the German language. Of course, now that I want to take a screenshot of it I can't reproduce the bug with the messed up screen placement.

Ah, well, here's anbox running on the pinephone:

.png   2020-04-14-074843.png (Size: 185.46 KB / Downloads: 898)
[Image: attachment.php?aid=1772]

And running the calculator app:

.png   2020-04-14-075057.png (Size: 53.76 KB / Downloads: 892)
[Image: attachment.php?aid=1771]
  Reply
Minor  annoyance :

Phone rings on full volume for incoming call,   while already on an existing call.

call waiting normally chirps or beeps when you get a second call.

I have not tried switching to the second incoming call,  ...   has someone else... I am curious  ?

>  Not complaining,   this is as it should be, except for it being a different 'ringtone'... ?

I would rather this than no notification of a second call.
      LINUX = CHOICES
         **BCnAZ**
               Idea
   Donate to $upport
your favorite OS Team
  Reply
(04-13-2020, 11:58 PM)Boern Wrote: Ah, well, here's anbox running on the pinephone:

I was using the wrong image (android_1_arm64.img instead of android.img) from the archive. Bluetooth keyboard allows you to enter correct characters but looks like internet needs to be enabled and maybe touch (versus mouse) input too. I think I saw both issues on the anbox github site but will check later.

I'm just surprised it works to be honest - here's a quick photo.


.jpg   anbox-pinephone.jpg (Size: 67.33 KB / Downloads: 108)
  Reply
? IS an 'Android Icon' really needed on a Pinephone desktop running Debian/Phosh ?
      LINUX = CHOICES
         **BCnAZ**
               Idea
   Donate to $upport
your favorite OS Team
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Lightbulb Video Tutorial: Pinephone ssh Access Only From Tor .Onion (Block Portscans/Shodan) RTP 0 85 10-24-2020, 01:10 AM
Last Post: RTP
  Anbox for Debian nas 32 9,165 10-15-2020, 07:23 AM
Last Post: jed
Wink Rockbox as an Application on Pinephone c3l@ 2 183 10-14-2020, 06:46 PM
Last Post: visiblink
  Mobian running config for baresip? lipkowski.be 0 107 10-12-2020, 03:05 AM
Last Post: lipkowski.be
  Enabling nighlight in mobian phosh joz_mak 2 324 09-18-2020, 06:11 PM
Last Post: joz_mak
  Mobian won't boot on convergence package Pinephone Mark53 11 1,279 09-05-2020, 08:51 PM
Last Post: SwordfishII
  Xwayland on Phosh works? paju1986 1 356 08-03-2020, 08:06 AM
Last Post: wibble
  File transfer from Linux Desktop and PinePhone livanti21 14 1,710 07-10-2020, 09:06 AM
Last Post: Subsentient
  Pinephone doesn't stay connected to bluetooth audio devices. tims1979 1 354 07-03-2020, 01:46 PM
Last Post: tims1979
  Camera test on Phosh Luke 6 1,683 05-26-2020, 02:44 AM
Last Post: a-wai

Forum Jump:


Users browsing this thread: 1 Guest(s)