UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Sentinel
    3. Topics
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 10
    • Groups 0

    Topics

    • SentinelS

      No GPS access from inside Waydroid

      Watching Ignoring Scheduled Pinned Locked Moved Waydroid
      8
      0 Votes
      8 Posts
      344 Views
      Eric HE
      @Sentinel said in No GPS access from inside Waydroid: maybe the MIUI version I flashed might have impacted Waydroid's reliability or other things? Yes — this can significantly affect UT. The MIUI image version to use is specified in the installation guide under "2. Check the correct version of MIUI", and it looks like you used the correct one. I can't explain the unusual bugs you've reported. Did you remount the system as read-write and make any changes? Did you use apt (update/upgrade/install)? I'm fine with starting a new discussion thread.
    • SentinelS

      SystemD service to auto-mount the Waydroid folder on UT side

      Watching Ignoring Scheduled Pinned Locked Moved Waydroid
      2
      0 Votes
      2 Posts
      140 Views
      SentinelS
      I've updated the "Mount_WaydroidHome.sh" script, so the WaydroidHome folder is writable from Ubuntu Touch (without using sudo): #!/bin/bash ## Set-up commands #mkdir ~/WaydroidHome #chmod 755 ~/WaydroidHome #sudo chmod 777 ~/.local/share/waydroid/data/media/0 ## Bind mount Waydroid's home folder if it's not already mounted, and then ensure it (and all sub-folders) stay read/write-able by the Ubuntu Touch user set -e /usr/bin/findmnt -rno SOURCE,TARGET /home/phablet/WaydroidHome >/dev/null || /usr/bin/mount --bind /home/phablet/.local/share/waydroid/data/media/0 /home/phablet/WaydroidHome while /usr/bin/true; do /usr/bin/sleep 5 if [[ ! "$(/usr/bin/stat -c "%a" /home/phablet/WaydroidHome)" == *7 ]]; then /usr/bin/find /home/phablet/WaydroidHome -type d ! -perm -o+rwx -print0 | /usr/bin/xargs -0 -I {} /usr/bin/chmod o+rwx '{}' fi done WARNING: The above scripts work for me, but I haven't tested it thoroughly, or even for that long, and it may contain security flaws. It is (as I said before) just a 'quick hack'. In the spirit of open source, I hope other people will provide improvements to it.