I’ve done some testings and with your installer the process went further, until I got this:
It worked with Ubuntu 16.04
I’ve done some testings and with your installer the process went further, until I got this:
It worked with Ubuntu 16.04
I switched back to Fairphone Open some hours later since my device was rebooting randomly. I will wait for this system to be reliable before considering adopting it for good.
The OTA-6 update for Ubuntu Touch is now released, and will be made available to all users progressively through the next five days.
With it you can expect some significant improvements to the Morph Browser, the OnePlus One, and several other fixes.
Find out more at: https://ubports.com/blog/ubports-blog-1/post/ubuntu-touch-ota-6-release-186
A big thank you for all contributors!
#UBports #UbuntuTouch #OTA6 #Shiny #Release
Updated using the updater app on the phone to version 16.04 (2018-12-16 or r660)
What works for me
What doesn’t work for me
Some more points
Running android apps vie Anbox (emulates 7.1.1)
anbox-boot-FP2.img
from https://forums.ubports.com/topic/1676/development-testers-for-anbox
fastboot flash boot anbox-boot-FP2.img
/home/phablet/install_anbox.sh
+ make it executable (required only once)adb shell
or ssh from a PC), run ./install_anbox.sh
; it will free some space on the system image, install anbox and adb on the phoneadb install <name of the file>.apk
adb shell pm list packages
adb shell pm path com.example.someapp
adb pull /data/app/com.example.someapp /path/to/desired/destination/com.example.someapp.apk
Out of the box there is no file access between UT and anbox; to access the anbox files from UT do
mkdir -p /home/phablet/AnboxHome
sudo chmod -R 777 /home/phablet/anbox-data/data/media/0
sudo mount --bind /home/phablet/anbox-data/data/media/0 /home/phablet/AnboxHome
Finally, these are the apps that work for me
But please take note: I haven’t tested those in depth and am not using them on my daily driver, so maybe some problems went unnoticed so far.
What didn’t work
a few additions:
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).
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
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
It might not be possible at the moment. Anbox is in a really early stage.
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.
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.
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).
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
UBports team published a really interesting new video: UBports: Life porting session of Halium on FP2
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
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?
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.