K
kyuweftea

  • Nov 13, 2024
  • Joined Sep 20, 2022
  • Android 15 QPR2 Beta 1 contains a preview of a Linux terminal app: https://www.androidauthority.com/android-15-qpr2-linux-terminal-3498872/

    Looks like the eventual usage will work like this: After enabling the app in settings and launching it, it downloads a Debian image from Google and runs it inside a VM using AVF.

    Are there plans for Graphene to support this and would there be any modifications?

    • I use Apple EarPods (the version with the headphone jack) and a USB C adapter. I got them specifically to have something wired, portable, no silicone tips, compatible with many devices, and decent audio quality for the price.

    • I recently turned on Color correction on my Pixel 7a, and noticed that some youtube videos viewed through the browser caused the system bars to gradually brighten over about 1 second, which is distracting. The brightness stays this way until navigating away from the page, after which the brightness will dim back to normal over about 1 second.

      This looks like a bug with displaying SDR UI together with HDR videos and images. Turning Color correction on seems to trigger this bug in Vanadium and Brave browsers. Other apps like Google Photos instead display HDR content in SDR when Color correction is on.

      Steps to reproduce:

      1. On Pixel 7a with Graphene OS installed, with color correction off, open Vanadium and navigate to a web page with HDR content such as an HDR youtube video or https://www.wide-gamut.com/test/image-hdr . The HDR content should brighten over 1 second and the system UI should stay the same brightness.
      2. Open Settings, navigate to Accessibility > Colour and Motion > Color correction, and toggle Use color correction to on.
      3. Return to the web page with HDR content.
        Expected: The HDR content brightens over 1 second and the system UI stays the same brightness, like it did when Color correction was off.
        Actual: The system bars brighten along with the HDR content.

      Is this a display bug in Graphene OS or is it an issue with Chromium or AOSP?

    • treequell No problem!

      freezet I'm open to third-party apps. The tricky part is that I'm using this on a macbook provided by my employer, so I'm looking for something that works on macos that ideally has no need to install additional software.

    • I searched through AOSP and GrapheneOS source code and confirmed that the webcam feature is only available for Pixel 6 and up. All the supported devices have these lines in their makefile:

      # Enable DeviceAsWebcam support
      PRODUCT_VENDOR_PROPERTIES += \
          ro.usb.uvc.enabled=true

      ...and Pixel 5a does not have this: https://github.com/GrapheneOS/device_google_barbet/blob/14/device-barbet.mk

      Strangely though, the system app "Webcam Service" (com.android.DeviceAsWebcam) is installed on Pixel 5a like the supported devices.

      • As another option, Speech Recognition & Synthesis by Google comes with a "Google Voice Typing" input method that works offline.

        This input method can be enabled in keyboard settings after downloading the app (despite it not really being a keyboard). I had it download the English (US) speech model and then remove its Network permission before using it. I now switch to this "keyboard" when I want to use voice input.

        I recall that Gboard can also use this speech model if its language is also set to English (US), but I haven't tried this.

        This also likely needs Google Play Services.

      • I was hoping to use my old Pixel 5a as a usb webcam, but it doesn't appear as an option in the USB preferences menu when plugging it in to my PC.

        The webcam option does work on my newer Pixel 7a.

        Does Pixel 5a not have this feature? I thought it was scheduled to receive new android features until August 2024.

      • You can also try enabling "Themed icons" and playing with the colors.

      • I find that gboard speech-to-text only works offline in very specific circumstances. I was able to get English (US) typing to work once, but only if no other language was installed, which doesn't work for my needs. Another option is to use the Voice Input "keyboard" that comes with the Speech Services by Google app. It can be configured in Settings > System > Languages and Input > Voice Input . I was able to get this working offline more reliably than gboard's built-in voice input after downloading the language model.

      • Seedvault backups over USB drive seem to be more reliable than to NextCloud, but backups still fail every now and then. I've found that rebooting helps sometimes.

      • My Pixel 5a was recently updated to TQ1A.221205.011 and I haven't encountered this issue. Perhaps it's something else?

        • muhomorr Pixel 5a with TP1A.221105.002.2022113000 . Not sure exactly when play services was updated in the background, but I first noticed when checking it after the recent OS update.

        • Beerman Same thing happened to me recently, so I followed @GrapheneOS 's instructions above, uninstalling in all profiles and then reinstalling from Apps.

        • Is there a way to get Google Play Services back to the supported version? It's crashing sometimes with a bluetooth-related error, and I'm not able to set up a new profile with Play Services. If this isn't possible, when is Apps scheduled to release version 224417044?

          • islandrabbitran I experienced something like this earlier today on Pixel 5a. I tried toggling "Reroute location requests", "Google location accuracy", and location permissions for Google Play Services and other apps, and the problem persisted. Eventually, the problem fixed itself after rebooting. Still not sure what exactly caused or fixed the problem.

            • unwat I did some digging myself recently and have similar findings.

              The UI sits half-loaded due to at least these two failed method calls: TelecomManager.isInEmergencyCall() and UserManager.getUserName().

              TelecomManager.isInEmergencyCall() is strangely missing from online documentation and requires MODIFY_PHONE_STATE. I wonder why just READ_PHONE_STATE would be insufficient.

              UserManager.getUserName() requires MANAGE_USERS, CREATE_USERS, QUERY_USERS, or GET_ACCOUNTS_PRIVILEGED. I'm guessing this is used to display "Hi <username>" in the UI, as seen in the play store screenshots. I find it funny that this app partly breaks due to not being able to say Hi.

              Anyway, given these permissions can't be granted by the user, does this app essentially need some kind of gmscompat-like layer in order to work in Graphene OS?

              • SirLordThrThird Another option you can try is to enable the Google Voice Typing keyboard in settings, and use it for voice-to-text instead of gboard.

              • MetropleX Thanks for taking a look! Also, I just discovered a way to get an up to date list:

                1. Install Speech Services by Google
                2. Enable Google Voice Typing keyboard
                3. Go to some text field and switch to the Google Voice Typing keyboard
                4. Tap the gear icon
                5. Under Offline speech, tap Add a language

                Looks like there's just 4 more variants of English (no Canada 😢 ) and 4 other languages (including Français (France) ).

              • My issue was that my keyboard language was English (Canada). To get this to work, I added the English (US) language and switched to it by long-pressing the space bar. When I'm done voice typing, I switch back to English (Canada).

                Another frustrating caveat: If you have any language installed that supports multilingual typing with English (US) (such as French (Canada)), offline voice typing will not work for English (US), even if multilingual typing is disabled.

                Side question: Does anyone know where to find an official list of offline voice typing languages supported in gboard?