• Bug: data mobile interface looses ip

    OS
    16
    0 Votes
    16 Posts
    1k Views
    pparentP
    Here is the script that I currently use, it improves greatly the usability of my phone, because it reduces dramatically the need to go in the settings in order to get access to the Internet. Though it's not perfect and might have secondary effects, use at your own risks! #!/bin/bash MODEM="/ril_0" HOST_TO_PING="8.8.8.8 www.google.com ubports.com 1.1.1.1 9.9.9.9 cloudflare.com amazon.com microsoft.com wikipedia.org apple.com" function get_modem_iface() { /usr/share/ofono/scripts/list-contexts |awk -v target="$1" ' /^\[ \/ril_/ { r=$2 } /Type = internet/ { i=1 } /Interface=ccmni/ && r==target && i { sub(/^.*Interface=/, "") sub(/ .*/, "") print exit } ' } IFACE=$(get_modem_iface $MODEM) i=0; while true; do if [ "$IFACE" = "" ]; then IFACE=$(get_modem_iface $MODEM) fi ifconfig $IFACE | grep -v inet6 | grep inet > /dev/null 2>&1 if [ "$?" -ne "0" ]; then gdbus call --system --dest org.ofono --object-path "$MODEM" --method org.ofono.NetworkRegistration.GetProperties | grep "'Technology': <'lte'>" > /dev/null 2>&1 if [ "$?" -eq "0" ]; then date echo "IFACE: $IFACE"; echo "IP loss detected" /usr/share/ofono/scripts/offline-modem $MODEM /usr/share/ofono/scripts/online-modem $MODEM sleep 5; IFACE=$(get_modem_iface $MODEM) fi else route=$(ip route show default) if [ "$route" = "" ]; then gdbus call --system --dest org.ofono --object-path "$MODEM" --method org.ofono.NetworkRegistration.GetProperties | grep "'Technology': <'lte'>" > /dev/null 2>&1 if [ "$?" -eq "0" ]; then date echo "IFACE: $IFACE"; echo "Route loss detected" /usr/share/ofono/scripts/offline-modem $MODEM /usr/share/ofono/scripts/online-modem $MODEM sleep 5; IFACE=$(get_modem_iface $MODEM) fi fi fi i=$((i+1)) if [ "$i" -gt "15" ]; then i=0; gdbus call --system --dest org.ofono --object-path "$MODEM" --method org.ofono.NetworkRegistration.GetProperties | grep "'Technology': <'lte'>" > /dev/null 2>&1 if [ "$?" -eq "0" ]; then internetaccess=0; for host in $HOST_TO_PING ; do ping -W 1 -c 1 $host >/dev/null 2>&1 if [ "$?" -eq "0" ]; then internetaccess=1; break; else echo "Ping to $host failed, trying next one in 4s ...." sleep 4; fi done if [ "$internetaccess" -eq "0" ]; then date echo "IFACE: $IFACE"; echo "Internet access loss detected" /usr/share/ofono/scripts/offline-modem $MODEM /usr/share/ofono/scripts/online-modem $MODEM sleep 5; IFACE=$(get_modem_iface $MODEM) fi fi fi sleep 20; done
  • Call for testing: Ubuntu Touch 24.04-1.3

    OS
    52
    10 Votes
    52 Posts
    3k Views
    S
    Signal strength isn't the issue, I wouldn't expect them all to be the same. I know the signal strength is displayed much lower on 1.3 for 5G and 4G compared with 1.2 is the point
  • Hello

    Off topic
    8
    0 Votes
    8 Posts
    48 Views
    L
    @Keneda Sometimes, such severe restrictions can also lead to a huge surge in innovation and creativity.
  • 6t and 20.04 stability

    Oneplus 6/6T
    11
    0 Votes
    11 Posts
    532 Views
    T
    If someone could tell me the exact version of OxygenOS (meaning 9.x.x.x) which works for them I would be interested. Like this if I flash it and it's still unstable I will suspect more a problem of battery.
  • I have a problem with clickable to compile for Noble.

    App Development
    6
    1 Votes
    6 Posts
    612 Views
    F
    Thanks! I dived into the issue a bit more, and it seems like the problem lies in the default mapping in /etc/subuid file. The first OS regular user created usually has the assignment 100000:65536 in /etc/subuid. I decided to assign the values (231072:65536) from the user that succeed with the podman pull command to the user with previous 100000:65536. With the new values, podman (and therefore, clickman) runs without issues. I don't see any conflict on the default range assigned, but definitely that new assignment seems to fix it. Hope it helps for those that run into it
  • 0 Votes
    5 Posts
    2k Views
    MoemM
    @danfro That's a shame, it seemed like a good 'new' device for the list.
  • 1 Votes
    6 Posts
    631 Views
    danfroD
    Nur als Info. Aktuell ist der OP8T port "auf Eis gelegt". Der lief zwar recht gut unter Focal, aber machte echte Problem mit Noble. Da Focal quasi vom Tisch ist, macht es wenig Sinn einen Port dafür offiziell zu veröffentlichen, der nicht zukunftsfähig ist.
  • 0 Votes
    14 Posts
    217 Views
    libremaxL
    @oldbutndy said: I frequently print things from Linux Mint (I am 'oldschool', and worked a few years at Xerox, on laser printers, starting about 42 years ago, so I 'expect' to be able to print from any system that is 'office'). I was NOT able to print from Office suite on UT. So, this issue feels like failure. The printing system is not included in the Ubuntu Touch images due to a lack of space for the root filesystem on many device models. Work is currently underway to be able to increase the size of the rootfs. This will enable numerous developments, such as concurrent support for Q5 and Qt6, the transition to mir2+mir1... and the integration of the CUPS printing system. So, it's coming, more a matter of months now than a matter of years.
  • 1 Votes
    34 Posts
    3k Views
    L
    I’d actually prefer to do without META products. But that’s hardly possible. My music mates, tennis pals and other friends only use WhatsApp. For my UT as a day-to-day device, there wasn’t really anything useful like a quick-check app to see what’s going on with certain WhatsApp users (groups) who organise all their appointments and updates in groups. WhatsNew never really worked for me. Too slow, too cluttered. This morning I installed Grennlines. It’s a really good project and a perfect solution to my unwelcome WhatsApp dependency. Many thanks for the solution. For me, the current state of development is already perfect. It starts up very quickly and has everything I need. Let me buy you a bottle of wine!
  • Poco X3 is no longer viable

    Xiaomi Poco X3 NFC
    20
    0 Votes
    20 Posts
    1k Views
    A
    @wally I have read more carefully your first post and I think we are stuck in the same step. At first I undertood you did not receive the SMS for linking the phone with the Xiaomi account. With all I have read lately I think I got the big picture. I phoned Xiaomi support and I heard them typing looking for a generic and unrelated answer that I had already found by myself. Not a very high service standard. For the SIM activation, MiAccount app sends a SMS. I checked with my carrier that esch try a SMS is sent (and of course, charged), alternatively, to a local mobile number and a local landline. I phoned these numbers and the former does not exist and the latter is disconnected or out of reach. I mailed Xiaomi asking about these numbers. I presume they will say that I must update MIUI, but I am reticent in case it makes more difficult to unlock the bootloader. If they do not provide another way or phone number to send manually the SMS, I think I will have no other option than to update hoping that the correct phone numbers are also updated.
  • Custom builder for a library

    App Development
    8
    0 Votes
    8 Posts
    1k Views
    P
    @PerlMax said: Hello everybody, I am trying again to develop a simple pEFL test app. In libertine everything works great. Unfortunately the app won't start outside the libertine environment. Apparently, efl needs to be able to read files in the $HOME directory and some other directories (see https://sourceforge.net/p/enlightenment/mailman/message/58751741/). My idea now is to run the app in a chroot environment. Would that be possible for a normal click app? Are there any examples of other apps that do this? Or is that not such a good idea? Thanks in advance! Max You can make the application unconfined (not recommended), or use the read_path/write_path options in the apparmor file. Or, potentially better, change the library/application to read from the UT XDG data-dirs correctly.
  • 3 Votes
    5 Posts
    310 Views
    MrT10001M
    @KJU Just to point out, Ubuntu Touch is the name of the mobile operating system that you have installed and given good account. UBPorts is the charitable foundation that helps develop and finance Ubuntu Touch through donations and sponsorship.
  • OnePlus6T downgrade to android 9.0

    Oneplus 6/6T
    2
    0 Votes
    2 Posts
    50 Views
    MrT10001M
    @ResuWen Check the end of this thread on XDA-Developers forum. There is a media fire link that works.
  • Working VoLTE reports, share your experience

    General volte
    89
    3 Votes
    89 Posts
    18k Views
    G
    @kristatos a diagnosis has been posted on gitlab A problem understood is half way to be solved they say. So there is hope that 24.04-1.4 will finally kill this beast.
  • [app]{public testing}~UT_devstudio

    App Development
    2
    1
    0 Votes
    2 Posts
    79 Views
    developerbaymanD
    heads up i forgot to re-enable some of the build chains during debugging so this is broken till i post the update
  • Use phone as modem with gnome-calls

    Unsolved Support
    4
    1
    0 Votes
    4 Posts
    159 Views
    developerbaymanD
    you need to go to settings and set your usb to tethering ....there is your internet connection it should just work when you plug it in and connect ...if im understanding you correctly?
  • Futify Remix: a native Spotify client for Ubuntu Touch

    App Development
    12
    1 Votes
    12 Posts
    512 Views
    A
    @brenno.almeida welcome
  • New Braxtech Tablet (or Laptop) with UT on mainline linux kernel

    General
    13
    5 Votes
    13 Posts
    2k Views
    A
    One of the most interesting parts of this for me is the focus on mainline kernel support. A lot of alternative mobile/Linux devices struggle long-term because of outdated vendor kernels and limited maintenance. If the hardware can stay close to upstream Linux, that could make the device much more sustainable over time for the UBports community.
  • Black screen after failed install.

    Lenovo Tab M10 HD (2nd Gen)
    9
    0 Votes
    9 Posts
    254 Views
    C
    @E-Z-Tux idk the chip manufacturer for this tablet but research this: if Mediatek: bootrom bypass & sp flash tool if Qualcomm: EDL mode & Download tool
  • "Are we mainstream-ready yet?"

    Marketing Incubator
    17
    0 Votes
    17 Posts
    3k Views
    developerbaymanD
    i just posted a testing version in app development ....expect bugs ....i expect feedback ....i add the missing features mentioned as well