UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics

    • All categories
    • Linus67L

      Is there a terminal command to disable the mobile data connection?

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Support
      6
      0 Votes
      6 Posts
      82 Views
      Linus67L
      @gpatel-fr That´s perfect! Thank you very much for solving this stubborn problem. Now I can put the Pixel 3a into ‘Nokia 3210 mode’ with a single click. Calls and text messages work, and the battery lasts at least three days in this mode. #!/bin/bash # ==================================================================== # NOKIA 3210 MODUS: CPU throttling + All offline services (Pixel 3a) # ==================================================================== if [ "$EUID" -ne 0 ]; then echo "ERROR: Please run the script using: sudo $0" exit 1 fi echo "Enable Nokia 3210 mode..." # 1. Force CPU cores into power-saving mode for governor in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do if [ -f "$governor" ]; then echo "powersave" > "$governor" fi done echo "[✓] CPU throttling enabled." # 2. Turn off Wi-Fi nmcli radio wifi off echo "[✓] Wi-Fi disabled." # 3. Turn off location tracking (GPS) sudo dbus-send --system --type=method_call --print-reply --dest=com.lomiri.location.Service /com/lomiri/location/Service org.freedesktop.DBus.Properties.Set string:com.lomiri.location.Service string:IsOnline variant:boolean:false echo "[✓] Location tracking disabled." # 4. Turn off Bluetooth rfkill block bluetooth echo "[✓] Bluetooth disabled." # 5. Turn off mobile data sudo -u phablet DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/32011/bus" dbus-send --session --type=method_call --print-reply --dest=com.lomiri.connectivity1 /com/lomiri/connectivity1/Private org.freedesktop.DBus.Properties.Set string:com.lomiri.connectivity1.Private string:MobileDataEnabled variant:boolean:false echo "[✓] Mobile data disabled." # 6. Greenline-Service stop at user level XDG_RUNTIME_DIR=/run/user/32011 sudo -u phablet systemctl --user stop greenline.service 2>/dev/null echo "[✓] greenline.service stopped." echo "------------------------------------------------" echo "Success! CPU, wireless modules and GPS are in sleep mode." sleep 3
    • U

      I wanna go home

      Watching Ignoring Scheduled Pinned Locked Moved Design
      82
      5
      13 Votes
      82 Posts
      39k Views
      arubislanderA
      @Turbolqk said: @kugiigi I see, I haven't used UT in a few months, so I might've missed a few things. These things you think you might have missed have been implemented for years, so even the few months ago that you used UT last, you should have come across them.
    • libremaxL

      Workaround for Internet access restrictions affecting ubports-installer

      Watching Ignoring Scheduled Pinned Locked Moved General
      10
      0 Votes
      10 Posts
      247 Views
      developerbaymanD
      host you could use google drive or whatever is allowed in your country
    • brenno.almeidaB

      [Alpha] Greenline - A qml Whatsapp client for Ubuntu Touch

      Watching Ignoring Scheduled Pinned Locked Moved App Development
      73
      2 Votes
      73 Posts
      5k Views
      brenno.almeidaB
      @ChromiumOS-Guy please keep the discussion on feedback and suggestions, avoiding giving orders or similar statements. The way you put it is a bit rude for my taste. It does not sound intentional, but with a bit of out of context to me. Its not that the app is being developed without a data model in mind, more like new requirements (replies, edits, new message types, etc.) requires rethink on how things are done, which is pretty common on any medium o higher complexity project.
    • alaskalinuxuserA

      Call for testing: [Beta] CitySim - a city simulation game

      Watching Ignoring Scheduled Pinned Locked Moved App Development
      10
      5 Votes
      10 Posts
      514 Views
      alaskalinuxuserA
      @developerbayman Thanks! It is now available on the openstore, so I hope people will enjoy it!
    • V

      Oneplus n10 24.04-2.x follow up

      Watching Ignoring Scheduled Pinned Locked Moved Oneplus Nord N10
      77
      0 Votes
      77 Posts
      10k Views
      I
      @egregiousecan There's some bug that causes random bootloop, forcing shutdown by holding all phone buttons simultaneously helps. I was also not able to boot into Ut 24.04 after upgrading from 20.04, I had to reflash the device with Android to do that.