Google Pixel 3a (sargo)
-
@dsimmons that's interesting, thanks for finding that! I have built updated versions of some components and would like to see if they work for your use case:
- Download: https://drive.google.com/file/d/1HIZkTBRqypqeFz-p-AfDoqogFo7ukYsa/view?usp=sharing
- Download: https://drive.google.com/file/d/1G-WQNpbNLTsmaptDw4HaFC1GcwXfq9VO/view?usp=sharing
- Copy the two files to your phone's Downloads folder
- Run an
adb shell
and enter:
sudo mount -o remount,rw / sudo cp ~/Downloads/libgbinder-radio.so.1.0.11 /usr/lib/libgbinder-radio.so.1.0.8 sudo cp ~/Downloads/libgbinder.so.1.0.47 /usr/lib/libgbinder.so.1.0.37 sudo reboot
It's certainly interesting that the rilmodem would just disappear from binder, so I'm eager to find out if that somewhat fixes your issue.
EDIT: Also, could you please verify with
dmesg -w | grep -i binder
in a separate terminal window if there are binder transaction failures coming up when your issue appears? -
@fredldotme Duped the two files to the /usr/lib/ location and rebooted. Here's the grep... ouch!
[ 3.842925] binder: 1661:1661 transaction failed 29189/-22, size 0-0 line 3047 [ 3.962031] binder: 1680:1680 ioctl 4018620d 7ff1452850 returned -22 [ 4.552391] binder: undelivered death notification, 0000000000000000 [ 10.773000] binder: release 2586:2586 transaction 6162 out, still active [ 10.773011] binder: undelivered TRANSACTION_COMPLETE [ 10.792496] binder: 2554:3673 transaction failed 29189/0, size 164-32 line 2987 [ 10.792508] binder: send failed reply for transaction 6162, target dead [ 10.851370] init: bluebinder post-start process (3720) terminated with status 1 [ 13.790649] audit: type=1400 audit(1605921619.678:71): apparmor="DENIED" operation="open" profile="/usr/bin/media-hub-server" name="/proc/4541/timerslack_ns" pid=4415 comm="Binder:4415_1" requested_mask="w" denied_mask="w" fsuid=32011 ouid=32011
As an aside - do you have any pointers on if this solution can be dual-bootable with an Android build? I'm excited about trying to push UBports forward, but the SMS/GPS issue is a major deal breaker as this is my daily driver now. I think I'm going to have to roll it back to the default Android build, but would like to keep helping.
Else, I might make a bad habit of toggling back and forth between the two when I don't need my Pixel at full health
Are you not seeing any of the mentioned issues on your 3a? Maybe it's a carrier problem? I'm on Verizon (US).
-
@dsimmons i have the same issue on at&t
-
@dsimmons @dieharddan No, I'm not seeing those issues on my phone (T-Mobile/Magenta, Austria). What I've noticed is a different issue where ofono (UT-side) and rild (Android-side) don't communicate with each other anymore because rild runs out of IPC memory. Hard to fix since it's the proprietary blob acting up.
Your problem, it could be either differences in operators, but also there are specific models with different modem settings. In the case it's the modem settings, could you please post the output of
getprop ro.boot.hardware.sku
? Mine isG020F
.We have one known US citizen getting his compatible device soon, so at least we can verify and potentially fix those issues.
What I would propose for now, since it's your daily driver, is to revert to Android until we have a solution. Those issues are harder to fix than expected because most developers/porters who get into contact with ofono live in Europe. We will surely ping you in the thread as soon as we have something for ya.
-
@fredldotme G020C
-
@fredldotme Just out of curiosity, are you going to possibly do a port for the Pixel 4a as well?
-
@mendevi_0 4a is very pricy, even as used device. Nothing below 250-300 β¬ - thats far too much for a private porter. So either a device is donated in some form or lend out.
-
Not even 300,--- its more like 350-400,- β¬ here. So thats definitely too much to expense for us atm.
-
@dieharddan @dsimmons our super secret guy has verified that SMS work with a certain set of changes. I will post a method on how to add testing repos soon after I've created them!
Or, if you feel adventurous and can't wait for it:
- Download all files from here: https://drive.google.com/drive/folders/1PuDBL2v9VKeKWlfrNbxxIDDOsqUH-056?usp=sharing
- Copy them to your phone's "Downloads" folder
- Enter an
adb shell
and run the following commands:
sudo mount -o remount,rw / sudo apt install ./Downloads/libgbinder-radio_1.0.11+ubports1_arm64.deb ./Downloads/libgbinder_1.0.47_arm64.deb sudo cp ./Downloads/libgrilio-binder.so.1.0.15 /usr/lib/aarch64-linux-gnu/libgrilio-binder.so.1.0.13 sudo cp ./Downloads/rilbinderplugin.so /usr/lib/aarch64-linux-gnu/ofono/plugins/rilbinderplugin.so sync sudo reboot
In case your device doesn't show your carriers name in the indicator, just switch between 3G and 4G.
-
@fredldotme Hmm, I tried but It didn't seem to make any difference for me
-
I left it on overnight and it worked for 30sec in the morning and quit, i left it sit for some more time and then it worked for a few hours and quit after a reboot. It currently is not working but ill leave it for some time and see if it comes to life
-
@fredldotme So I downgraded to android 9.0 (PD2A.190115.029) and reinstalled UT and so far, SMS has been working well now even if I reboot! I'm not sure if it was the downgrade or starting fresh that fixed it, but I will use it as a daily driver for a while to test long term.
Also, I'm curious if you have working mms; if I try to send a picture the data icon on the top bar disappears until the message fails and then it reappears
-
@dieharddan thanks for the good news! Have fun!
Was this with the patched ofono-ril-binder-plugin that I mentioned or with a fully clean installation?Regarding MMS, I don't know, haven't tried yet. Might take a look at it this coming weekend.
-
@fredldotme fresh install without any changes made, I wasnt sure if your changes have been rolled in yet. Its been working great, though occasionally, text, phone and data will quit working and will need a reboot.
-
@dieharddan no, it's too late in the cycle to include the changes yet, also they have a few regressions. So for the time being the changes should be applied manually. They are supposed to help with the instability though.
-
ok guys i have tried both fastbooting the halium-boot.img dtbo.img vbmeta.img and using the gsi installer and i have tried using the ubports installer and i cannot get the os to load. it just goes to fastboot
-
@duhjoker Did you unlock the bootloader and downgrade to android 9?
-
So I've been using this as a daily for over a week and can say it's been a great experience so far! For those of you thinking about getting a pixel 3a or xl, here are the only, minor issues I've had:
- Keyboard vibration seems to work sporadically
- When powering off the device, it sometimes reboots instead
- No MMS send or receive
- Unable to change volume during a call with the side buttons
- Unable to get sound out of my bluetooth headphones, but other BT devices work fine (could be an issue with my particular headphones)
- All sound comes from the ear speaker and nothing from the lower speakers
- Seems to disconnect from wifi and ask for password alot which it doesnt need as i just click on my router to reconnect
Big thanks to @fredldotme for his awesome work on this port!
-
@dieharddan thanks, glad it works!
If you would like to help testing something real quick, I'm testing ofono without the sailfish_manager plugin right now, as I believe nothing in the system currently makes use of it and might screw around with some functionality and stability.
If you would like to help testing things, please mount the rootfs rw again and modify
/etc/init/ofono.override
to includesailfish_manager
in the list of disabled plugins (argument-P
). -
@fredldotme Ok, I made the change and will test