Sxmo/Pixel 3a: Difference between revisions
Appearance
Fdelamotte (talk | contribs) Initial commit |
Fdelamotte (talk | contribs) No edit summary |
||
Line 6: | Line 6: | ||
Current UCM profiles do not work (callaudio won't swich), so you'll have to use the ones that are worked on at this address : https://gitlab.com/sdm670-mainline/alsa-ucm-conf/-/merge_requests/2 and place it in <code>/usr/share/alsa/ucm2/Google/sargo/</code> | Current UCM profiles do not work (callaudio won't swich), so you'll have to use the ones that are worked on at this address : https://gitlab.com/sdm670-mainline/alsa-ucm-conf/-/merge_requests/2 and place it in <code>/usr/share/alsa/ucm2/Google/sargo/</code> | ||
=== Proximity sensor === | |||
You can to do the same as for [[Sxmo:Oneplus6#ProximitySensor|Oneplus6]]. | |||
If you don't want <code>monitor-sensor</code> to run as root, you can use this polkit rule : | |||
<pre> | |||
polkit.addRule(function(action, subject) { | |||
if (action.id == "net.hadess.SensorProxy.claim-sensor" && subject.isInGroup("plugdev")) { | |||
return polkit.Result.YES; | |||
} | |||
}); | |||
</pre> | |||
=== Working around the notch === | === Working around the notch === |
Revision as of 13:40, 14 October 2024
SXMO works on Pixel 3A.
Placing Calls
That is what a phone is for (no ?).
Current UCM profiles do not work (callaudio won't swich), so you'll have to use the ones that are worked on at this address : https://gitlab.com/sdm670-mainline/alsa-ucm-conf/-/merge_requests/2 and place it in /usr/share/alsa/ucm2/Google/sargo/
Proximity sensor
You can to do the same as for Oneplus6.
If you don't want monitor-sensor
to run as root, you can use this polkit rule :
polkit.addRule(function(action, subject) { if (action.id == "net.hadess.SensorProxy.claim-sensor" && subject.isInGroup("plugdev")) { return polkit.Result.YES; } });
Working around the notch
Just kiddin', there is no notch on this phone !!!
But if you're upset by the rounded corners, you can always add some gaps on the status bar :
bar { gaps 0 20 0 20 height 20 ...