Homelab, Linux, JS & ABAP (~˘▾˘)~
 

[YouTube] Android App Gestures

I don’t remember exactly when and how I found all this out, but I have noticed that many people don’t know many features/gestures.

  • If you double tap with one finger on the left or right of the screen, you can skip 10 seconds (I guess most people know this). If you tap more often, it can skip multiples of 10 seconds.
  • If you double tap with two fingers, you can skip to the next chapter (if the video has chapter marks).
  • If you simply tab and hold with one finger, you can fast forwards with 2x speed.
  • If you are watching a video, you can simply swipe up to view the video in full screen (will turn video into landscape mode) or swipe down to exit full screen mode.
  • In full screen mode, pinch with two fingers to zoom in or out. Then pan = move to that corner you want to look closer.
  • When searching for a specific scene, press and hold on the progress bar and then slightly swipe upwards. You get a larger progress bar, which contains preview images for the respective timestamps, and through which you can easily scroll.

And there are probably others that I don’t know about…

[LineageOS] Umstellung 5G auf 4G

Kürzlich hat mein Handyprovider meinen Tarif auf 5G umgestellt. Das führte jedoch dazu, dass ich ständig Verbindungsabbrüche unterwegs hatte, sei es beim normalen Surfen oder auch in Kombination mit GPS und einem Navigationsdienst. Das 5G Netz scheint in Deutschland zumindest im o2/Telefónica Netz noch nicht so weit zu sein, ggf. ist es im Telekom/Vodafone Netz besser.

Die Umstellung von 5G zurück auf 4G klappt unter LineageOS folgendermaßen:

Einstellung → Netzwerk & Internet → SIM-Karten → Wähle deine SIM-Karte aus → Bevorzugter Netzwerktyp → LTE/TD-SCDMA/CDMA/EVDO/GSM/WCDMA

Bei mir war vorher der Wert ganz unten ausgewählt: NR/LTE/TDSCDMA/CDMA/EvDo/GSM/WCDMA

ChatGPT erklärt die Abkürzungen folgendermaßen:

Im 4G Netz läuft zumindest nun wieder alles zuverlässig.

[Android] Installing LineageOS on a Motorola Moto G100

Just installed LineageOS on a used Moto G100. Following are a few notes I made while working through the excellent installation guide.

Two settings must be enabled in the Developer options on your device before you start:

  • Developer options → Enable USB-Debugging
  • Developer options → Enable OEM unlocking

Otherwise, you will encounter the same error as I did when unlocking the bootloader.

adb reboot bootloader
fastboot devices
fastboot oem get_unlock_data
fastboot oem unlock UNIQUE_KEY

After entering the UNIQUE_KEY, select “Unlock Bootloader” on your phone with the volume down button and confirm with the power button.

The next point that confused me for a second was this:

But you just have to use the volume buttons and select recovery on the smartphone screen from the menu you’re in. I just didn’t realize it was a menu at first…

All in all, everything worked without any problems and took maybe 30 minutes in total.

[DerpFest] Xiaomi Pad 5 (nabu)

I recently bought a used Xiaomi Pad 5 for 139.99€ from homezesting.com. It arrived in perfect condition.
The latest official Android version by Xiaomi is Android 13 with MIUI 14.0.5. This is kinda old, and I directly ran into an issue due to the old webview version in combination with the Home Assistant app (see here).

I therefore looked for a custom ROM and the first ROM I found for this device was DerpFest. I’ve never used it before, but flashing it shouldn’t be too different from other ROMs.
There are not much information on their website, but I found everything needed to know in their related telegram group: https://t.me/c/2284318430/8189

Unlocking the bootloader for Xiaomi devices can be annoying, but turned out, the bootloader of my purchased Pad 5 was already unlocked. Great!
(Update 10.02.2025: I asked the customer support and apparently they already sell all devices unlocked. Good to know!)

To make my life even simpler, I used the Auto-Installer shell script to install DerpFest 15. Unfortunately, it was running into an error, but it was easy to fix. (Seems like there is already a fixed version when downloading from GitHub here).

# make it executable
sudo chmod +x install_derpfest_linux.sh         

# start script
./install_derpfest_linux.sh  
# resulted in the error: /bin/bash^M: bad interpreter

# fix
sudo apt-get install dos2unix
dos2unix install_derpfest_linux.sh   
./install_derpfest_linux.sh                                                                                

Then the script ran without any issues.

When starting the device the first time, I skipped the Google Login step, so I wasn’t able to use the Play Store. But since not even a web browser is installed by default (which I think is really great to not be bloated from the beginning :-), I had to enable USB-Debugging mode and sideload F-Droid to install basic apps like a file explorer and browser.

adb install F-Droid.apk 

The Tablet is running super smooth and so far I could not find any issues! 🙂

[Android] Gadgetbridge

“Gadgetbridge is a free and open source Android application that allows you to pair and manage various gadgets such as smart watches, bands, headphones, and more without the need for the vendor application. So in short, you can use Gadgetbridge instead of relying on your gadget’s own proprietary app.”

https://gadgetbridge.org

[LineageOS] When someone calls, my own number is appended to the caller’s number

I had an issue with my Xiaomi Mi 8 phone, which really annoyed me. For some callers, my phone number was somehow appended to the caller’s phone number. This also meant that the number was not matched with my contacts. It looked like this:

When searching, I found a reddit post (as always) where someone had the exact same problem, even using the same phone. Therefore, I’m not sure if the issue is Phone or Lineage related.

https://www.reddit.com/r/LineageOS/comments/inud0m/incoming_calls_caller_id_issue

The suggested solution is to disable VoLTE. To be honest, I didn’t even know what VoLTE was exactly. After reading a bit, I found the required setting under: Settings → Network and Internet → SIM cards → 4G calls.
And fortunately, it also helped in my case. I could not really notice a difference regarding the phone quality, therefore I’m fine with it.

[YouTube] Ad-free consumption and other helpful add-ons

When I was at a friend’s house the other day and a YouTube playlist was playing on the TV, I was really shocked. After every video, there were one or two ads (and some of them even in between). I was not aware how extremely many ads you get when using YouTube without an ad blocker. Therefore, a small collection of apps, add-ons and links that help to make YouTube a bit more enjoyable:

Browser

AndroidTV / FireTV

Android

HTPC

DNS Blocking (i.e. with PiHole)


Update 15.01.2024: When using YouTube in a Browser in combination with uBlock, you likely receive the following message right now: “Ad blockers are not allowed on YouTube”. The only working solutions to prevent this message and to continue watching ad-free is disabling uBlock on YouTube and use this Script with Tampermonkey (at least for me).

Update 25.01.2025: I found Chrome Mask very helpful, as I continue to experience problems when using uBlock in combination with Firefox on YouTube.


Update 23.07.2025: To stop the super annoying AI translations, you can use the browser Add-on YouTube No Translation (GitHub).
When using ReVanced, you can force the App to use the original Audio. Got to the ReVanced Settings:
– Miscellaneous → Spoof Video Streams → Standard-Client → iOS TV
– Video → Force original audio → turn on