English

UBPorts 16.04 updates + feature tests

ubuntu
Tags: #<Tag:0x00007f57d3fbca70>

#92

Today I tested Spotify in anbox on my way to work. Playing stuff online, i.e. not downloading the music first as I would usually do.
Didn’t notice any difference to using it on my main phone except that UT doesn’t have controls to play/pause/skip on the lock screen.

Not sure if that would work as a daily driver, though: during 50min the battery went down 16% (mobile data and wifi on, GPS and bluetooth off).


#93

Hallo Ingo,
vielen Dank für Deine Anleitung für Anbox… irgendwie habe ich es geschafft. Was ich noch nicht kann - wahrscheinlich fehlendes Basiswissen - ist eine app neu auf meinem FP2 zu installieren. Wo bzw. wie bekomme ich den package name von WhatsApp auf mein FP2??
Danke und Grüsse aus Kiel
Ali


#94

Okay, I just solved the WhatsApp.apk problem and just found a new one: the file access. I can find the AnboxHome with Dateiverwaltung (UT) but not with file (Anbox). I just need help to switch between both. Fore example to transfer the utcontacts.vcf to Anbox and use it with WhatsApp.
The following is working:
File, Contacts (without Import), Calender, Settings, Clock.
Still not working:
Camera, Email and the file access Anbox to UT
I just wont to switch to an other OS… but now I stay @ ubports
Ali


#95

It might not be possible at the moment. Anbox is in a really early stage.


#96

Okay,

I just thought it would be so easy to get all the well known contacts into the Anbox. I tried using dropbox to transfer the file. Dropbox in Anbox is working fine, but after saving the file to my device, I can’t find the file at the device. Dropbox opened a different container comparing to the Anbox - file container . Now I will test Whatsapp typing the contacts again and it it works that won’t be bad at all.


#97

I just tried: after the three commands I posted above (mkdir, chmod, mount) I could copy a VCF file from UT to AnboxHome and then import it in the android contacts app.


#98

BTW, in the UT telegram group someone asked about spotify web player in the new morph browser. In the past I only tried the old one.

Doesn’t help much. It is possible to login at spotify.com but then opening the web player at open.spotify.com just looks the same as with the old browser: no access to your playlists, no way to actually play songs (it’s the same on Android BTW, so I guess mobile browsers are not supported, indepenent of the OS).

So it seems the only way to listen to Spotify on UT is with anbox + original android app (at the cost of a big battery drain).


#99

Because I update so often, I became too lazy to manually do the aethercast fix to the apparmor settings each time and wrote a script for that: https://gist.github.com/Ingo-FP-Angel/905c5655511435b0ded2eb354dab538b


#100

You’re a script angel, @Ingo ! :smiley:


#101

7 posts were split to a new topic: State of the Ubports installer


#102

UBports team published a really interesting new video: UBports: Life porting session of Halium on FP2


#103

I updated to OTA-7 with the custom script (UBports installer PR517 didn’t went to the end…)

My installed apps were all still there :slight_smile:

Then I tried re-installing anbox:

adb shell
chmod u+x install_anbox.sh
./install_anbox.sh

However, android apps are loading forever and phone is getting hot and hardly responsive…
@Ingo Is this the correct steps to restore anbox after an update? Is kernel flashing necessary or not?


#104

Kernel flashing is definitely needed.

Recently I learned that when you do an OTA update, the anbox system is still there, i.e. you don’t need to run install_anbox.sh, just flash the kernel.

But I assume, that install_anbox.sh is still necessary when using the installer or the corresponding manual commands. Haven’t tried that yet.


#105

Thanks! That’s why it was crashing :wink:


#106

Hi,
I have a question, and I think that I once read something about it on the forum, but I can’t find a detailed answer. Mostly to @Ingo, as you change OS quite often, but maybe @oli.sax also?
How do you backup and restore your OS when you make your tests? Let’s say someone is under the latest Fairphone Open OS or LineageOS (with or without microg), and wants to try UBports.
Can you describe all the steps you do (including the time it takes to do so)?

  1. Backup your phone (with TWRP or with Titanium or another method?)
  2. Install UBports
  3. Play around
  4. Restore your initial OS (how from UBports)?

Thanks in advance!


#107

I have an FP2 dedicated for testing purposes so I don’t restore a previous OS.

What I do is backing up my ubports user data with rsync. And of course that can be reversed to restore the data (not the apps; still need to look into that) if I for example were to check out Sailfish and then return to UT.


#108

Thanks for the answer! Yes, I would like to find a Fairphone or an old Nexus 5 or something similar to play around with UBports…

Isn’t it so that you need Android 6 to install Sailfish? I think you can’t even do it from Fairphone Open OS with Android 7. Going from UT to Sailfish would be a really long process then.


#109

#110

When the phone is not at the exact required Android version it’s basically two or three additional steps in the installation sequence for Sailfish.
It doesn’t matter if you come from Fairphone (Open) OS, Lineage with or without microG or Ubports in that case. The steps/effort are the same.


#111

Hi @chrisse !
Unlike @Ingo I have only one FP2, so I switch regularly from one OS to another :smiley:
Here are my steps:

  1. Backup my daily-driver-OS with TWRP.
  2. Transfer this backup to my laptop (very important if the installation process wipe the internal data!! - less important in case of OTA upgrades)
  3. Install SailfishOS/UbuntuTouch/LineageOS following the instructions
  4. Play with it…
  5. (UBports only) Reflash TWRP, because ubports-installer use their own recovery
  6. Backup the new-OS with TWRP
  7. Restore the TWRP backup of my daily-driver-OS

Each backup/restore with TWRP takes maximum 5 minutes.
Installation time depends of the OS (c.a. 10~30minutes).