@Inali
Thank you for the effort, maybe this site helped a little bit. The solution i've found is a simple: sudo ufw allow out on waydroid0 to any
. I was (and still am) confused about the 2 devices and how they "work" together. Now that i know which interface to deal with i can, of course, precise this rule, but i have another (Android-) firewall in the waydroid container that can handle this.
Best posts made by bbiw
-
RE: How to get internet in waydroid with ufw enabled?
-
Problems with apt because root partition isn't big enough
I saw that many people have this problem.
Maybe stow (Link 1, Link 2) is something for you. You will also have to mount the root partition
rw
and install stow, but this and the symlinks it creates won't take much space.Try following:
-
mkdir -p ~/Downloads/apt/cache && mkdir -p ~/Downloads/apt/archives && mkdir -p ~/Downloads/apt/lists && mkdir -p ~/Downloads/apt/installed
-
sudo apt --download-only -o Dir::Cache="/home/phablet/Downloads/apt/cache" -o Dir::Cache::archives="/home/phablet/Downloads/apt/archives" -o Dir::State::lists="/home/phablet/Downloads/apt/lists" update
-
sudo apt --download-only -o Dir::Cache="/home/phablet/Downloads/apt/cache" -o Dir::Cache::archives="/home/phablet/Downloads/apt/archives" -o Dir::State::lists="/home/phablet/Downloads/apt/lists" install stow
-
cd ~/Downloads/apt/archives
-
sudo mount -o remount,rw /
-
sudo dpkg -i stow*.deb
-
sudo apt --download-only -o Dir::Cache="/home/phablet/Downloads/apt/cache" -o Dir::Cache::archives="/home/phablet/Downloads/apt/archives" -o Dir::State::lists="/home/phablet/Downloads/apt/lists" clean
-
sudo apt --download-only -o Dir::Cache="/home/phablet/Downloads/apt/cache" -o Dir::Cache::archives="/home/phablet/Downloads/apt/archives" -o Dir::State::lists="/home/phablet/Downloads/apt/lists" autoclean
-
sudo apt --download-only -o Dir::Cache="/home/phablet/Downloads/apt/cache" -o Dir::Cache::archives="/home/phablet/Downloads/apt/archives" -o Dir::State::lists="/home/phablet/Downloads/apt/lists" install glmark2-data=2014.03+git20150611.fa71af2d-0ubuntu7 glmark2-es2-mir
-
for f in `ls -1 *.deb`; do dpkg-deb -x $f /home/phablet/Downloads/apt/installed; done
-
sudo stow --stow --dir=/home/phablet/Downloads/apt --target=/ installed
-
glmark2-es2-mir
To undo:
-
sudo stow --delete --dir=/home/phablet/Downloads/apt --target=/ installed
-
rm -rf /home/phablet/Downloads/apt/installed/*
-
sudo dpkg -P stow
-
sudo apt --download-only -o Dir::Cache="/home/phablet/Downloads/apt/cache" -o Dir::Cache::archives="/home/phablet/Downloads/apt/archives" -o Dir::State::lists="/home/phablet/Downloads/apt/lists" clean
-
sudo apt --download-only -o Dir::Cache="/home/phablet/Downloads/apt/cache" -o Dir::Cache::archives="/home/phablet/Downloads/apt/archives" -o Dir::State::lists="/home/phablet/Downloads/apt/lists" autoclean
-
sudo mount -o remount,ro /
Eventually:
rm -rf /home/phablet/Downloads/apt
You can also do things like:
apt-cache -o Dir::Cache="/home/phablet/Downloads/apt/cache" -o Dir::Cache::archives="/home/phablet/Downloads/apt/archives" -o Dir::State::lists="/home/phablet/Downloads/apt/lists" madison glmark2-data
-
-
RE: Problems with apt because root partition isn't big enough
You're right. Btw. Fairphone 4 is not really image-based as the root partition is a device-mapper device (dm-0) defined as a part of the super partition. If it would be image based with an ubuntu image living at /userdata, like in the old days or other devices, i don't know, it would be easy to just extend this image. I wonder why someone chooses to install Ubuntu Touch with zero knowledge about Linux or Ubuntu but it's up to them and of course it's better for a developer to take care that they don't brake their system. As superuser you will always have to know what you're doing, SO FIRST THINK, THAN "Return".
The biggest problem i see with UT are the proprietary drivers. Even with libertine there's no e.g. hardware acceleration. By using stow and the symlinks it creates i can, at least with glmark2-es2-mir, have hardware rendering.
-
Waydroid crashes in Desktop Mode over HDMI
Hello all,
when i connect bluetooth mouse & keyboard to my Fairphone 4, connect the phone to my TV with a USB-C-to-HDMI-cable and start Waydroid, Waydroid starts correctly, but crashes and restarts as soon as i hover with the mouse cursor over the Waydroid window. There aren't any useful informations when starting Waydroid from Terminal, even with --verbose and/or --details-to-stdout enabled.
Anyone has an idea what the problem is?
Latest posts made by bbiw
-
RE: App text and other objects extremely large or small in windowed mode
-
RE: Waydroid crashes in Desktop Mode over HDMI
@wynn1212 You're the best
. TBH i was hoping you would do it, because you faced the same problem. Maybe there will be a real solution soon
.
-
RE: App text and other objects extremely large or small in windowed mode
@ikoz I use the Label component somewhere else in the app and the scaling problem persists. The text is still very large on TV.
@kugiigi I've used units.gu() before, but didn't know or forgot the meaning of it. This maybe a good hint, i will try this. Thank you.
As for the header i've found another solution:
Set
font.pointSize
tohdrrec.height/3
, this way the relation stays the same. Maybe i will use this relation thing for other texts the problem still persists, because Text components for which I didn't set a size has no scaling problem. E.g. settingfont.pointSize
totxt1.font.pointSize*2
or i will try with the grid units like mentioned above.I will write again in the event of further problems.
-
RE: Waydroid crashes in Desktop Mode over HDMI
@kugiigi I think i've logged into gitlab via my github account. Why shouldn't this be simply possible in the future? Maybe you're right, i don't know. Another reason for me to remove the account was that i have so many accounts on the internet and don't want to lose overview. Perhaps I will try to open one again.
-
RE: Waydroid crashes in Desktop Mode over HDMI
@wynn1212 Sorry, but i have no gitlab account. I had one, but removed it because i haven't used it for quite a while.
-
App text and other objects extremely large or small in windowed mode
Hello all,
i'm working on an app that, so far, works well on phone screen. But when connecting the phone to a TV over USB-C-to-HDMI-cable e.g. the PageHeader text is extremely large. Here's a sample code:
Rectangle { id: mainPage anchors.fill: parent PageHeader { id: header title: "ABC" z: 1 contents: Rectangle { id: hdrrec anchors.fill: parent color: "white" Text { id: hdrtxt anchors.left: hdrrec.left anchors.verticalCenter: hdrrec.verticalCenter text: header.title font.pointSize: 40 }
If i change
font.pointSize
tofont.pixelSize
the text is much smaller on phone screen but not on TV, it's still very large, i can't even see a difference betweenfont.pointSize
andfont.pixelSize
.Does anyone know what i should change or which Text QML Type properties to use? I can't find any useful informations from Google. I guess it's a special Ubuntu Touch thing, because of the possibility to change between windowed and staged mode?
This is not the only problem, maybe someone can help me with the others, too.
Edit: I have found Screen QML Type, is this the way to go?
-
RE: Waydroid crashes in Desktop Mode over HDMI
Ok, i have tried for myself and downgraded the images. Waydroid doesn't crash anymore. This isn't really a solution, but fixes the problem for now. Thank you very much.
Btw. with the newer images Avast finds malware in htmlviewer. Maybe this is false positive, i don't know. This is no problem with the old 20250426 image, cause htmlviewer isn't even installed.
-
RE: Waydroid crashes in Desktop Mode over HDMI
@wynn1212 :
Show taps
is disabled in my Developer options. When enabling it, Waydroid and eventually whole Lomiri crashes. After that even touch inputs (without external display) don't work anymore, Waydroid instantly crashes. To disable it again (i'm glad this was possible, cause Waydroid remains unusable withShow taps
enabled) i had to do aadb shell settings put system show_touches 0
in Terminal. When using a bluetooth mouse without external display Waydroid crashes, too.Is it possible to downgrade Lineage images without data loss? I can try if this fixes the problem for now.
-
Waydroid crashes in Desktop Mode over HDMI
Hello all,
when i connect bluetooth mouse & keyboard to my Fairphone 4, connect the phone to my TV with a USB-C-to-HDMI-cable and start Waydroid, Waydroid starts correctly, but crashes and restarts as soon as i hover with the mouse cursor over the Waydroid window. There aren't any useful informations when starting Waydroid from Terminal, even with --verbose and/or --details-to-stdout enabled.
Anyone has an idea what the problem is?
-
RE: Missed OTA-7 upgrade
It's been awhile since I've used the installer, it surely has changed since then. Thanks for the hints.