debian+phosh running on PinePhone
(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: 224)
? IS an 'Android Icon' really needed on a Pinephone desktop running Debian/Phosh ?
      LINUX = CHOICES
         **BCnAZ**
               Idea
   Donate to $upport
your favorite OS Team
(04-14-2020, 10:05 AM)bcnaz Wrote: ? IS an 'Android Icon' really needed on a Pinephone desktop running Debian/Phosh ?

It's a free phone. We'll put any icon we damn well please on our phone. :-p
No luck getting the network bridge to work - the script referenced here seems to be focused on snaps but it might give some clues. The attached log says nat entries are missing. Maybe apparmor is relevant too but that may need a kernel update. I guess some more reading is required.


.txt   lxc-checkconfig.txt (Size: 1.62 KB / Downloads: 76)

--

Edit: The likely solution is to build the latest version of anbox but arm64 support appears to be work-in-progress so I'll leave it for now.

Extra: The instructions listed here may work for someone. I can ping 8.8.8.8 from the container as root after setting the default gateway but last two steps produce a rtnetlink error.
Updated today, looks like Nextcloud integration is fixed! And battery life seems to be greatly improved! Oh and love that Telegram is in the build and scaled properly, fantastic Big Grin
(04-14-2020, 10:18 AM)Boern Wrote:
(04-14-2020, 10:05 AM)bcnaz Wrote: ?  IS an  'Android Icon'  really needed on a Pinephone desktop running Debian/Phosh  ?

It's a free phone. We'll put any icon we damn well please on our phone. :-p
@Boem


SORRY  !


Not my intent to Provoke  or  Offend anyone

Open Source is for everybody.

      LINUX = CHOICES
         **BCnAZ**
               Idea
   Donate to $upport
your favorite OS Team
SMS/text

I just flashed the newest release ( April,13, 2020 ) to an SD card,  using the GUI  I cannot originate a text message ?
  ( I can still receive and reply )

My other SD card has April, 06, 2020 release with updates through April 15, 2020 and I could originate text messages ?

Thanks,  GREAT OS  !
      LINUX = CHOICES
         **BCnAZ**
               Idea
   Donate to $upport
your favorite OS Team
(04-15-2020, 06:41 PM)bcnaz Wrote:
(04-14-2020, 10:18 AM)Boern Wrote:
(04-14-2020, 10:05 AM)bcnaz Wrote: ?  IS an  'Android Icon'  really needed on a Pinephone desktop running Debian/Phosh  ?

It's a free phone. We'll put any icon we damn well please on our phone. :-p
@Boem


SORRY  !


Not my intent to Provoke  or  Offend anyone

Open Source is for everybody.


OFF!!!

I don't think anybody should be offended by this totally valid question. When the Pinephone Brave Heart was announced and could be bought many other Linux sites got flooded with questions like: whatsapp, messenger, android, etc. The only thing why these people were interested because the Pinephone is cheaper then a Samsung Galaxy whateverthefreck.

Jesus in heaven, this is a damn Linux phone if you want android go and buy an android phone. If you don't like Google, than use LineageOS or /e/, but people let the guys work on the Linux distros, as this phone was intended to help the mobile Linux endevours to thrive not the frecking android again. If someone wants to have android on the Pinephone, then do it but start a new thread and leave this one to those who are interested in Debian. We have a separate thread for /e/, go there. I don't care.

That is my honest opinion, don't really care if I offend anyone. Cool
From my point of view, getting anbox to work on debian+phosh is about software not ideology. I'm not interested in the politics, I'm just in it for the tinkering.  Wink

The developers recommend snap installation (found an arm64 version here) but since the hello-world snap fails with a cgroup freezer error, it's not going to install without a kernel update.
I gave it a try, and to be honest, I was suprised it worked at all, and without requiring that much tinkering! I guess the anbox devs have done a pretty good job so far Wink

(04-16-2020, 02:33 AM)cefre00 Wrote: this is a damn Linux phone if you want android go and buy an android phone.

Well, that's the whole point of free software: to have the freedom to do (almost) whatever you want with it. If anyone wants to have an Android OS and/or Android apps on a PinePhone, I won't argue with them.

(04-14-2020, 10:18 AM)Boern Wrote: It's a free phone. We'll put any icon we damn well please on our phone. :-p

Indeed Smile

Now for something completely different: there's a bunch of important upgrades coming soon, including u-boot and the kernel. You might want to backup your data during the week-end, as this won't be an easy upgrade, and most of you will most likely want to simply re-flash your PP.

The good point is, these upgrades should allow interesting things on the power management side, as suspend now works fine, with the modem (usually) waking up the phone on incoming calls and SMS Smile
The next release will also bring "crust" support (power management firmware, which allows deep sleep), but as of now we can't wake up from deep sleep on modem interrupts, so we'll have to stick with s2idle for some time...
And based on a few quick tests, audio quality during phone calls seems to have improved too, which can't be a bad thing.

Just teasing Wink


Possibly Related Threads…
Thread Author Replies Views Last Post
  Axolotl on PinePhone / Mobian arno_nuehm 116 32,501 11 hours ago
Last Post: arno_nuehm
  gnome podcasts on debian repo, dino-mobile user641 3 165 09-11-2021, 12:04 AM
Last Post: user641
  Pure Maps GPS on Pinephone Mobian godzillest 3 563 08-03-2021, 03:07 AM
Last Post: mouffa
  Axolotl on Pinephone CarmeloLabadie 1 329 07-26-2021, 12:56 AM
Last Post: kqlnut
  Armbian on the PinePhone Meow 0 271 07-21-2021, 10:42 PM
Last Post: Meow
  Best/easiest way to install minimal Debian on PinePhone? mcgee 6 743 07-18-2021, 09:35 AM
Last Post: swiley
  Pinephone in Canada using Shaw mobile provider RRman 0 314 06-19-2021, 06:35 PM
Last Post: RRman
  Reboot Modem on Pinephone in Mobian eggmatters 5 1,612 06-17-2021, 02:08 PM
Last Post: eggmatters
  Seems like Phosh is in downgrade mode... ryo 17 4,814 06-01-2021, 06:22 PM
Last Post: ryo
  How does calls work in debian? temp0rary 4 811 05-31-2021, 10:44 AM
Last Post: temp0rary

Forum Jump:


Users browsing this thread: 2 Guest(s)