@kristatos I see this freeze on a Google Pixel 3A as well (UT 20.04 OTA-8 fully up-to-date), at least in uNav -- I haven't tried the other apps yet.
Posts
-
RE: 20.04 Focal: uNav freezes with GPS enabled
-
UT installation on Google Pixel 3a (step-by-step)
The present post does not contain any question. When I flashed my first phone with UT four years ago, I struggled a bit to gather all relevant information, so I'm offering the below procedure to the community in the hope that it may ease the journey of first-time users.
Disclaimer: this is a description of what worked for me. Use at your own risk. Flashing is performed from a PC installed with openSUSE Leap 15.6 -- some commands may need to be adapted if you use a different distro.
Important: if flashing the phone with either Android Flash Tool or the
flash-all.sh
script hangs / fails to detect the phone, DO try from a different PC if you can (I have a Lenovo laptop and a custom-built PC both installed with openSUSE Leap 15.6: I was never able to flash from the laptop, while the PC worked like a charm). It may also be worth trying different USB cables / USB ports.Note: in the steps below, '#' denote commands that are executed as root, '$' denote commands that are executed as a regular user.
Android initial setup
-
unbox and fully charge phone (do not turn on yet)
-
insert SIM, turn phone on
-
select language (English UK)
-
click Get Started
-
connect to WiFi (provide credentials)
-> "getting your phone ready..." -
"Copy apps & data" -> select "Don't copy"
-
Google account sign-in -> login
-
Accept conditions
-
set a PIN
-
Continue setup or get reminder -> get reminder
-
Unselect all optional apps
-
Settings -> System -> Updates
(Android 12, build SP2A.220505.008) -
Settings -> About Phone
tap "Build number" 7 times, enter PIN to confirm
-> "you are now a developer" -
Settings -> System -> Developer Options:
- enable USB debugging
- allow OEM unlocking, enter PIN to confirm
-
-
turn phone off
Dev. env. installation on linux PC
-
unzip 'platform-tools' archive below
~/platform-tools/
-
edit
~/.bashrc
to add${HOME}/platform-tools
to your PATH -
install (update) 'android-udev-rules' package from build service
# zypper addrepo https://download.opensuse.org/repositories/hardware/15.6/hardware.repo # zypper refresh # zypper install android-udev-rules-20250314-lp156.51.1.noarch
(this also installs
adb
andfastboot
by way of dependencies) -
add your own user account to 'adbusers' group:
# usermod -aG adbusers <userID>
(logout/login)
# grep adb /etc/group adbusers:x:453:<userID>
Unlock bootloader
-
turn phone on (regular mode). Unlock it
-
plug phone into PC
-
ADB connection detected by phone. Check box to always allow connection from PC (allow PC's RSA key fingerprint on device):
$ adb devices -l List of devices attached XXXXXXXXXX device usb:1-6 product:sargo model:Pixel_3a device:sargo transport_id:1
-
turn phone off
-
boot into Fastboot Mode
(volume down + power -- hold for 5")Fastboot menu appears
$ fastboot devices -l XXXXXXXXXX fastboot usb:1-6
-
unlock bootloader
$ fastboot flashing unlock OKAY [ 0.133s] Finished. Total time: 0.133s
-
phone screen prompts: do not unlock / unlock
(use volume keys to select, power button to confirm)
-> bootloader confirmed unlocked -
turn phone off (use volume button to select option, power button to confirm)
Return phone to latest Android 9
(the steps below refer to the Android Flash Tool -- using the
flash-all.sh
script also works fine but starts with the phone booted into the bootloader)-
check that 'adb' is not running
(otherwise, stop it with 'adb kill-server') -
turn phone on the usual way
-
redo basic setup, as bootloader unlock returned it to factory default (see above)
-
reconnect to phone using 'adb devices' to get prompt to authorized PC and allow it
-
visit following URL in Chrome (authorise pop-ups in browser):
https://flash.android.com/ -
select device
-
select target build (PQ3B.190801.002)
-
DO NOT select to relock bootloader
-
click Install Build (confirm, accept license)
- DO NOT interact with device during flashing
- it reboots to fastboot
- reselect device in Chrome
-
flash successful -- power cycle device
-
reboot to Android 9, redo initial setup, enable dev. mode, USB debug, connect and allow PC, turn phone off
Flash phone with UbuntuTouch
-
install 'snapd' daemon
# zypper addrepo https://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_15.6/ Snappy # zypper refresh # zypper in snapd # systemctl enable snapd.apparmor.service # systemctl start snapd.apparmor.service # systemctl enable snapd.service # systemctl start snapd.service
-
reboot
-
install UBports installer
# snap install ubports-installer $ which ubports-installer /snap/bin/ubports-installer $ snap info ubports-installer name: ubports-installer summary: The easy way to install Ubuntu Touch on UBports devices. publisher: UBports store-url: https://snapcraft.io/ubports-installer contact: https://github.com/ubports/ubports-installer/issues/new license: GPL-3.0 description: | A friendly cross-platform Installer for Ubuntu Touch. Just connect a supported device to your PC, follow the on-screen instructions and watch this awesome tool do all the rest. commands: - ubports-installer snap-id: mq0sTMV7a8744UTRBwQHimStAqsGzbjj tracking: latest/stable refresh-date: 2022-09-11 channels: latest/stable: 0.9.7-beta 2022-09-11 (435) 97MB - latest/candidate: ? latest/beta: 0.9.8-beta 2022-11-02 (445) 102MB - latest/edge: 0.10.0 2023-04-23 (462) 103MB - installed: 0.9.7-beta (435) 97MB -
-
switch
ubports-installer
to "edge" channel$ snap refresh ubports-installer --edge ubports-installer (edge) 0.10.0 from UBports refreshed $ snap info ubports-installer name: ubports-installer summary: The easy way to install Ubuntu Touch on UBports devices. publisher: UBports store-url: https://snapcraft.io/ubports-installer contact: https://github.com/ubports/ubports-installer/issues/new license: GPL-3.0 description: | A friendly cross-platform Installer for Ubuntu Touch. Just connect a supported device to your PC, follow the on-screen instructions and watch this awesome tool do all the rest. commands: - ubports-installer snap-id: mq0sTMV7a8744UTRBwQHimStAqsGzbjj tracking: latest/edge refresh-date: today at 13:47 CET channels: latest/stable: 0.9.7-beta 2022-09-11 (435) 97MB - latest/candidate: ? latest/beta: 0.9.8-beta 2022-11-02 (445) 102MB - latest/edge: 0.10.0 2023-04-23 (462) 103MB - installed: 0.10.0 (462) 103MB -
-
start
ubports-installer
$ ubports-installer Gtk-Message: 19:40:25.179: Failed to load module "window-decorations-gtk-module" Gtk-Message: 19:40:25.179: Failed to load module "colorreload-gtk-module" info: Welcome to the UBports Installer version 0.10.0!
-
connect phone (off) via USB
-
click select device manually
-> Google Pixel 3a:3a XL -
click "My device is unlocked"
-
select OS
-> Ubuntu Touch -
click Install
-
Installation options:
- select channel
-> 20.04/stable - check "wipe personal data"
- check "Flash system partitions using fastboot" (default)
- click OK
- select channel
info: device selected: sargo info: Installing Ubuntu Touch on your Google Pixel 3a/3a XL (sargo) info: configuring... info: settings: {"bootstrap":true,"wipe":true,"channel":"20.04/arm64/android9plus/stable"} info: Downloading 3 files info: Downloaded file 1 of 3 info: Downloaded file 2 of 3 info: Downloaded file 3 of 3
-
boot phone to bootloader, click Continue
(flashing firmware)
-
boot to recovery, click Continue
(if button fails, try
adb reboot recovery
)
=> shows 3-circles recovery logo and menu
info: Downloading 12 files info: Downloaded file 1 of 12 info: Downloaded file 2 of 12 info: Downloaded file 3 of 12 info: Downloaded file 4 of 12 info: Downloaded file 5 of 12 info: Downloaded file 6 of 12 info: Downloaded file 7 of 12 info: Downloaded file 8 of 12 info: Downloaded file 9 of 12 info: Downloaded file 10 of 12 info: Downloaded file 11 of 12 info: Downloaded file 12 of 12 info: All done! Your device will now reboot and complete the installation. Enjoy exploring Ubuntu Touch!
(pushing files to phone)
-
phone reboots at the end
=> goes to longish 3-circles recovery logo animation while installing (may last a few minutes -- have patience) -
phone reboots again
=> this time it boots to UT and asks you to perform the initial setup
-
-
-
RE: Any way to push contacts to car kit?
Many thanks to all those who responded, first of all.
Based on the initial comment by @wally, I made some further tests yesterday night. Indeed, the car kit has a button/function to import the contacts from the phone, but it fails to import anything. Its message is that maybe I need to authorize the sharing on the phone.
I also tried to export all contacts to vCard on the phone (successfully), then to browse to that file in file manager, then shift-left and click on the sharing icon, but that only listed "Messages" and "Dekko" as potential targets. New import attempts from the car kit ended up with the same error message.
So I guess that this "sharing" icon is where a "BT File Transfer" app would need to register itself. For the record, this is how I used to send contact info to the car kit from my Nokia N900, using a BT transfer app called "Petrovich'.
-
RE: Any way to push contacts to car kit?
OK, to start answering my own question, based on information found in other posts in this forum, there appear to be 2 apps that could be used for this:
- "Bluetooth File Transfer", the original app by Ian L., reportedly working but no longer updated since Oct. 2018
- "Bluetooth File Transfer", a clone of the first one made by Ruben Carneiro ported to a different architecture, but non-functional based on the reports I could find -- that one dates back to 2021
Both of them are still listed on the OpenStore when accessed through the web site, but none of them show up in the OpenStore app (perhaps because they're not compatible with my phone / UT version).
-
Any way to push contacts to car kit?
Hello again,
I was able to pair my newly installed Pixel 3a with the car kit of my Skoda Octavia, and I'm glad to report that everything seems to be working:- I'm able to use the car sound system to listen to music played by the phone (selecting Bluetooth as source on the car Media Centre)
- the car displays the phone's battery charge and GSM network strength
- when an incoming call is received, the ringtone comes through the car sound system
- I'm able to take the call from the dashboard and the voice goes through the car sound system as expected
Now for the question: is there a tool that would allow me to push my contacts to the car kit over Bluetooth?
Thanks in advance.
Ph. A.
-
RE: UBports flashing failed half-way
I just installed the phone with UBP-installer v0.10.0 -- everything went like a charm this time round.
Many thanks to both of you for your support.
-
RE: UBports flashing failed half-way
@stanwood Thanks a lot for the advice.
-
RE: UBports flashing failed half-way
For the benefit of the community: due to my failed flashing attempt, the phone was left in a state where only the bootloader could be reached. It displayed a message saying: "no valid slot to boot".
As suggested by @MrT10001, I was able to get it back to a functioning state by re-flashing it with Android 9 (PQ3B.190801.002) using the 'flash-all.sh' script.
I'll try again the UT installation using the UBP-installer v0.10.0 this time and report back on the outcome.
-
RE: UBports flashing failed half-way
@MrT10001 Thanks -- I'll try that.
-
UBports flashing failed half-way
Hello,
I got a refurbished Pixel 3a delivered with Android 12 and was able to unlock its bootloader and downgrade it to Android 9 (PQ3B.190801.002) using the web-based Android Flash Tool.
I then attempted the UT installation using 'ubports-installer' version 0.9.7-beta (upon startup, it suggested that "snap refresh --stable", but snap told me that no update was available).
I selected channel "20.04/arm64/android9plus/stable" and the UT installation process started (it said "flashing firmware"), then asked me to reboot the phone in recovery, which I tried to do -- the phone seemed stuck on the white "Google" splash screen. 'ubports-installer' was never able to re-establish the communication with the device.
I tried power-cycling the phone, booting it to bootloader and switching to recovery mode again, but this no longer works -- it returns by itself to the bootloader with a message at the bottom saying "failed to boot boot.img" (or some such).
Any idea as to how I should proceed? (try to re-flash Android 9? retry immediately with UBP-installer?)
Also, is version 0.9.7-beta of UBP-installer the recommended one?
TIA
Ph. A. -
RE: Hardware recommendation for Focal
@Moem Thanks a lot for your suggestion -- I'll have a look at it.
-
RE: Hardware recommendation for Focal
@mschmids That's good to know -- thanks a lot for your feedback.
-
Hardware recommendation for Focal
Hello everyone,
I currently use (as secondary device) a Xiaomi Mi A2 that I installed with UT 16.04 (currently at OTA-25). I can't complain about the base OS -- that has been very stable and enjoyable to use (including the dual SIM support, one of the reasons I selected that phone to begin with). But its interactions with some of the hardware components are far from satisfying:- the camera app is really hit-and-miss: from time to time, it's able to take a picture and save it, but most of the time it just freezes while doing so
- similar story with the GPS: uNav and OSM Scout start up fine. In most cases, uNav eventually gets a fix on the satellites and shows me my position, but when I move, the app soon stops updating my position
- I also tried to use Steps (step counter), but there as well, it may capture the first few steps, then either stops refreshing the count, freezes, or even gets the phone completely frozen
All in all, I get the feeling the apps themselves are excellent, but the lower-level drivers that implement the interface with the hardware are far from reliable (at least on the 'jasmine_sprout' platform).
Hence my question(s) to the community:
- is this experience rather typical, or just the sign that I selected a poorly supported phone model?
- if not typical, can you suggest a phone model where all these applications are known to work reliably enough to base your daily activities on? I would like to continue experimenting with UT, but preferably with better results than on the Xiaomi
- also important to me is dual SIM support -- I've looked at the phone models recommended for Focal, but none of them seemed to offer it. Any suggestions?
Side question: I remember reading in these forums that the upgrade to Focal was a pre-requisite for the UT phone app to be able to take calls through a Bluetooth headset (such as a car-kit or motorcycle helmet headset). Has there been progress on this?
Thanks in advance for any insight or advice on any of this.
-
RE: Phone no longer charges since latest OTA update
After retesting yesterday and today, issue no longer manifest itself (don't know why). And that also covers waking up the phone by touching the fingerprint sensor at the back.
In any case, thread can be marked as resolved (my apologies for the noise).
-
RE: Phone no longer charges since latest OTA update
Small clarification: if the USB cable is plugged after unlocking the phone (I'm talking about the UT-level PIN, not the SIM PIN), then charging takes place as expected.
-
RE: Phone no longer charges since latest OTA update
@lakotaubp Many thanks for the pointer. Problem reported as https://github.com/ubports/ubuntu-touch/issues/2076.
-
Phone no longer charges since latest OTA update
I applied OTA-24 yesterday. Since then, the phone no longer charges when I plug it into the PC while booted to UT. When I do, the battery icon turns green and the lightning symbol appears for about one second, then it disappears and the battery icon turn white again. If I let it plugged in for hours, the battery charge doesn't increase.
Turning the phone off and plugging it to a regular USB charger still works, thankfully.
Another side effect of the latest update is that touching the fingerprint sensor at the back no longer wakes the phone up (not a big deal as far as I'm concerned, but a regression nonetheless).
-
RE: Dual-SIM + OTA-20 on Mi A2
Status update:
As it happens, I took the opportunity of having the phone on the dev channel to re-test an application that typically froze the GUI (the app called "Steps" -- I already opened a bug report on that specific issue). Turns out the behaviour was the same on v763, so I wanted to force a power cycle by rebooting the phone on the recovery image (Power + Vol+).But instead of the recovery menu, I was greeted by the spiralling animation: the phone was clearly installing something. When it finished rebooting, I was back on OTA-20, and both SIMs were still active!
Following @DPITTI suggestion, I also removed v763 from the upgrade history.
I'll now mark this post as "resolved". Many thanks to all those who contributed.
-
RE: Dual-SIM + OTA-20 on Mi A2
@lakotaubp said in Dual-SIM + OTA-20 on Mi A2:
@phandersson So you are back on stable with 2 simsworking?
The 2 SIMs are working again, yes, but I'm still on "devel" (v763), and apparently unable to get back to "stable". I can select the channel, but nothing gets downloaded.
Might just be an overlap of updates between being on dev and going back to stable. Should be safe enough to ignore it and carry on the next stable update should remove it.
You mean, switch to "stable" even if nothing happens, and wait for OTA-21 to be released? I can try. Although representing heavier work, I guess I could also re-install the phone from scratch on OTA-20 using UTI.
By the way, the problem of dual-SIM support in OTA-20 is a known bug (just found out about it):
https://github.com/ubports/ubuntu-touch/issues/1879
...and a manual fix is provided in the post by "laguna66".
-
RE: Dual-SIM + OTA-20 on Mi A2
@lakotaubp Same behaviour after power cycle.
What's strange is that after switching back to the stable channel, the main "Settings" screen shows 1 update available (see screenshot below):
But when tapping on that line, and after "checking for updates", it still returns "Software is up to date".