• Broken WiFi icon after screen lock

    Unsolved Support
    2
    1
    0 Votes
    2 Posts
    8 Views
    MrT10001M
    What is the device?
  • 20.04 Focal: uNav freezes with GPS enabled

    App Development
    30
    1 Votes
    30 Posts
    8k Views
    H
    Work wishes us to be familiar with the capabilities of AI, so I figured I'd let Opus 4.6 have a go at it. It did fix the immediate issue and here is the result: https://haagch.frickel.club/files/ubtouch_gps_fix/ gps-fix.tar.xz contains a build of the fixed library for current 24.04.1-2 and the scripts to install it, and restore the original version. For installing this system wide fix the root partition needs to be made writeable, then the library replaced, then it can be made readonly again. This worked here, but will need to be applied after every OS update until it is fixed upstream. Note that it's much better to reproduce a patched library yourself rather than installing a prebuilt one from a random stranger like me. The patch fix-gps-singleton-instance.patch it came up with is this: diff --git a/qt/position/core_geo_position_info_source.cpp b/qt/position/core_geo_position_info_source.cpp index 62e5cfd..a4eeb53 100644 --- a/qt/position/core_geo_position_info_source.cpp +++ b/qt/position/core_geo_position_info_source.cpp @@ -389,7 +389,25 @@ void core::GeoPositionInfoSource::Private::handleVelocityUpdate(const cll::Updat void core::GeoPositionInfoSource::Private::createLocationServiceSession() { - instance = std::make_shared<Instance>(); + // Keep the Instance alive as a process-wide singleton. The dbus-cpp + // asio executor uses a global static boost::asio::io_context + // (see dbus-cpp executor.cpp make_executor()). When an Instance is + // destroyed, its Executor::stop() calls io_context::stop() on that + // global object. Because the io_context is shared, this permanently + // poisons it: any subsequent io_context::run() returns immediately, + // so a new Instance's worker thread exits at once and all blocking + // D-Bus calls (transact_method / invoke_method_synchronously) hang + // forever waiting for a reply that will never be dispatched. + // + // QtWebEngine's LocationProviderQt destroys and recreates its + // QGeoPositionInfoSource on every geolocation request cycle, which + // triggers Instance destruction → io_context::stop(). On the next + // cycle a new Instance is created but its worker is dead-on-arrival. + // + // Fix: use a persistent static shared_ptr so the Instance (and its + // worker thread / D-Bus connection) lives for the entire process. + static std::shared_ptr<Instance> s_instance = std::make_shared<Instance>(); + instance = s_instance; try { session = instance->getService()->create_session_for_criteria(cll::Criteria{}); and the AGENTS.md and final_report.md files should contain enough info to reproduce this build via qemu and proot. As usual with AI generated fixes, I don't claim that this is the correct way to fix this, nor that there are no issues with this like leaks. So don't go around and demand someone merge this immediately. I just figured I'd post this because it'll make my own smartphone slightly more useful for navigation right now.
  • Stylus works? Lenovo M10 TB-X306F

    Lenovo Tab M10 HD (2nd Gen)
    2
    0 Votes
    2 Posts
    184 Views
    H
    This tablet has no digitizer - it's a hardware limitation. So only touch input is supported, no active stylus will be recognized as such. You can still use it a soft-tip passive stylus for convenience, but it's essentially the same as using your fingers.
  • [app]{experimental}~xmrig touch

    App Development
    2
    1
    0 Votes
    2 Posts
    43 Views
    7
    @developerbayman that's pretty cool, but won't your device get hot from constant mining
  • One Plus Nord N10 5G Information

    Support
    8
    0 Votes
    8 Posts
    475 Views
    O
    @Ehartwork Due to lack of time, I asked Google. So, hopefully someone here will correct any errors: Answer was: VoLTE & WiFi calling share some underlying code. But VoLTE code more on modem & WiFi calling in OS. Also, Halium 11, or newer . Better support with that (11) for WiFi Calling. (Nord N10 only on halium10). I suggested (different thread) that WiFi Calling get added to all device pages, to make the distinction that VoLTE works on some devices, but WiFi calling does NOT, at present, on most UT devices. This would help prospective UT users decide on device. Google also said that some developers said FP5 WiFi calling works sometimes, and this was due to different -newer- modem & firmware than most other phones. I bought Nord N10 months ago, under same bad assumption: VoLTE (YES) & WiFi calling (NO) work. Wasted huge money & time. Had to buy active cell signal booster. (more $ than I paid for the phone). BTW: No native RCS. (Just in case you expected that feature). Not listed, as far as I could tell, on devices pages.
  • should i try samsung tab a7 2020 sm-t500

    Porting
    4
    0 Votes
    4 Posts
    30 Views
    S
    @faveoled https://github.com/LineageOS/android_kernel_samsung_sm6115 is it kernel one?
  • Trying to revive 'ubtd' (Bluetooth file transfer)

    Solved App Development
    82
    0 Votes
    82 Posts
    9k Views
    P
    @domubpkm said: @phandersson ok. I switched to dev channel and i tried to send a (big) file from my Volla 22 with UT to a Volla with volla OS with your last update : it works now. . Excellent news -- thanks for the feedback. But i found the transfer speed was very slow. Could it be improve or not ? Could you be a bit more specific, please? From what I read online, typical Bluetooth transfer speeds are between 1 and 3 Mbps. When I tested the app prior to releasing v0.1.1, I measured 1.3 Mbps when pushing a large file from my (Linux) laptop to the phone (Pixel 3a). Do you get a comparable bandwidth, or something much lower? (to measure it, I simply time the transfer and divide it by the file size).
  • touch controls acting up in browser games

    Off topic
    4
    0 Votes
    4 Posts
    290 Views
    MoemM
    @tahirmehmood Best of luck, I hope it helps!
  • Google Pixel 6 port: device donation

    Google
    5
    3 Votes
    5 Posts
    3k Views
    R
    Just FYI, there is a new 24.04 port in progress for OP6/6T. The porter says it is almost ready. Ports for Pixel 4 and 6 were never finished. There is also a new halium 12 port in progress for p3a. You can test it now. Instructions are here in the forum.
  • trouble unlocking Oneplus Nord N10 5G phone

    Oneplus Nord N10
    5
    0 Votes
    5 Posts
    95 Views
    R
    @shengchieh On Computer input adb reboot fastboot In fastboot menu on phone select English or Chinese Select advanced reboot to fastboot. You should see original fastboot menu, not fastboot2 on the phone. On computer, enter fastboot flashing unlock. It will either prompt you for a token, or ask you to select yes to unlock.
  • Ubuntu Touch Q&A188 call for questions.

    News
    7
    0 Votes
    7 Posts
    608 Views
    messayistoM
    @uxes I actually overlookd the link to the thread
  • TB X306F 2gen 4G/64GB

    Lenovo Tab M10 HD (2nd Gen)
    2
    0 Votes
    2 Posts
    89 Views
    MrT10001M
    @Teasy Hi and welcome to the forums. You can try the update path through software updates on the tablet. The other way requires a Windows PC, the Lenovo Software fix Tool, the devices serial number and a USB cable to attach the device to the PC.
  • Installing Android after Ubuntu Touch: Fix sensors issue

    Fairphone 4
    2
    2 Votes
    2 Posts
    210 Views
    adorsazA
    @flohack Hello, Last year I had to reinstall Android for some months and I used LineageOS. This Android version allows you to run the selinux commands without the need of Magisk. It allows you to run adb shell commands as root with a simple checkbox in the developper settings. I was happy to discover this possibility with LineageOS as I had already restored my data on the phone
  • 0 Votes
    2 Posts
    223 Views
    KenedaK
    https://forums.ubports.com/topic/1405/please-use-general-category-for-what-it-is Kind of the answer to your question.
  • Today is Q&A Day

    Locked News
    1
    0 Votes
    1 Posts
    191 Views
    No one has replied
  • [Halium 12, VoLTE] Test image for the Pixel 3a

    Google Pixel 3a/3a XL
    4
    2 Votes
    4 Posts
    641 Views
    U
    ignore my last reply, i got it to install. i tested it for a bit with at&t in the usa, and i found that 4g data works, sms messages do send to the person on the other end at first but on your end its just stuck loading and you cant send anything else nor receive anything else, volte calling doesnt work, it immediately fails on your end and when someone tries to call you they go straight to voicemail. location services seem to be faster than the halium 9 port, and cameraservice crashes whenever you try to record a video.
  • Battery saving/Low Power mode within OS discussions?

    Design
    2
    0 Votes
    2 Posts
    261 Views
    I
    @sixwheeledbeast said: To me this seems like something that should be included into a toggle on the Battery pull-down menu itself, much like most modern devices have a "low power mode". How feasible would a toggle option to disable all these power hungry features and set the radio to the most energy efficient available in your location. Then toggling back would restore what you had previous. It seems like something the OS should provide and not additional apps. Something like this is already implemented in the OS. It is called "Flight mode" Humour aside, I don't know if it is really worth implementing switch for turning off all but 2G when it can be done in two or three clicks. But if you want to contribute to Ubuntu Touch this way, you can take a look at how it is implemented in lomiri-system-settings repository.
  • UBports Foundation Elections.

    Pinned until 5/24/26, 4:17 PM News
    1
    1 Votes
    1 Posts
    209 Views
    No one has replied
  • Export notes from phone

    Support export notes
    9
    0 Votes
    9 Posts
    2k Views
    J
    @Alter You are very right about assuming it might help someone else! Thanks: knowing the storage location, I can backup without need for an evernote account.
  • Installer Ubuntu touch sur redmi note 7

    French / Francais
    5
    0 Votes
    5 Posts
    531 Views
    DJacD
    Pour la ROM d'origine : https://xiaomistockrom.com/xiaomi-redmi-note-7 Je n'ai pas le détail, mais je suppose qu'il faut utiliser "fastboot" pour l'installer. (Plus facile avec un PC linux : sinon, tu auras également besoin des drivers windows pour ton téléphone : https://xiaomi.eu/community/threads/installing-xiaomi-drivers-for-pc.73382/). Mais si vous aviez auparavant installé LineageOS, ce n'est sans doute pas un problème ?