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 "groovy", Openbox desktop for general purpose daily PC.
  • PinePhone BraveHeart now v1.2b 3/32Gb daily driver, dual boot via p-boot with Mobian on eMMC, Arch/f2fs/Phosh on SDcard
  • PinePhone v1.2a 2G/16Gb that needs USB board replaced
  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: 1,063)
[Image: attachment.php?aid=1772]

And running the calculator app:

.png   2020-04-14-075057.png (Size: 53.76 KB / Downloads: 1,054)
[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: 156)
  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
  Axolotl on PinePhone / Mobian arno_nuehm 50 7,522 Yesterday, 04:56 AM
Last Post: dukla2000
  Debian / mobian Pine64 - User Manual? Harry27 1 118 03-03-2021, 04:50 PM
Last Post: LibrePhoneUser
  Using sway along phosh fdlamotte 1 304 01-24-2021, 02:23 AM
Last Post: fdlamotte
  Seems like Phosh is in downgrade mode... ryo 10 1,283 01-13-2021, 04:07 PM
Last Post: ryo
  screen goes blank when I insert pinephone dock, or usb-a to usb-c adaptor rp3 3 399 01-12-2021, 05:06 AM
Last Post: rp3
  No internet access through Pinephone hot spot Zebulon Walton 6 797 12-23-2020, 06:57 PM
Last Post: Zebulon Walton
Lightbulb Thorough Overview of Mobian on Pinephone as Main Driver food 6 2,436 12-08-2020, 12:24 AM
Last Post: calinb
  Tor with Mobian on Pinephone dRateNWAytORy 5 1,276 11-24-2020, 03:34 PM
Last Post: RTP
  Anbox for Debian nas 43 19,760 11-11-2020, 06:37 PM
Last Post: Baggypants
Lightbulb Video Tut: Set Up SSH Access To Your Own Pinephone .onion (security enhancement) RTP 0 506 10-24-2020, 01:10 AM
Last Post: RTP

Forum Jump:


Users browsing this thread: 2 Guest(s)