<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Claudio,<br>
    <br>
    I would say update to 2.1 first. 2.0.5 is missing some packages that
    the latest ofono build depends on.<br>
    <br>
    After giving it a bit more thought, I'm leaning towards not merging
    this one but instead extending the api in such a way that would
    allow selecting an arbitrary combination of technologies.<br>
    <br>
    Cheers,<br>
    -Slava<br>
    <br>
    <br>
    <blockquote
cite="mid:DB5PR01MB1239EA31642696A7DC4F0117CC1B0@DB5PR01MB1239.eurprd01.prod.exchangelabs.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;"
        dir="ltr">
        <p><br>
        </p>
        Hi Slava,<br>
        I am interested in testing your solution. Does it work on SFOS
        2.0.5 or do I have to upgrade to 2.1 first?<br>
        <br>
        Also, how do I apply the patch? Is it possible to have it as
        patchmanager patch in openrepos?
        <br>
        <br>
        Lastly, does the patch also work on 3G (means, it strictly
        allows only 3G)?<br>
        <br>
        Thank you<br>
        Claudio<br>
        <br>
        <div style="color: rgb(0, 0, 0);">
          <div class="PlainText">
            <hr tabindex="-1" style="display:inline-block; width:98%">
            <br>
            <br>
            Message: 1<br>
            Date: Fri, 14 Apr 2017 20:36:50 +0300<br>
            From: Slava Monich <a class="moz-txt-link-rfc2396E" href="mailto:slava.monich@jolla.com"><slava.monich@jolla.com></a><br>
            To: <a class="moz-txt-link-abbreviated" href="mailto:devel@lists.sailfishos.org">devel@lists.sailfishos.org</a><br>
            Subject: Re: [SailfishDevel] lock JP01 on 4G, is it
            possible?<br>
            Message-ID:
            <a class="moz-txt-link-rfc2396E" href="mailto:b3463e0e-f3af-df3e-af7e-16523fc59b0a@jolla.com"><b3463e0e-f3af-df3e-af7e-16523fc59b0a@jolla.com></a><br>
            Content-Type: text/plain; charset=utf-8; format=flowed<br>
            <br>
            Hi all,<br>
            <br>
            This should allow to force the use of the particular
            cellular technology:<br>
            <br>
            <a moz-do-not-send="true"
              href="https://git.merproject.org/mer-core/ofono/merge_requests/112"
              id="LPlnk488622" previewremoved="true">https://git.merproject.org/mer-core/ofono/merge_requests/112</a><br>
            <br>
            Obviously, there's no UI for this option and there won't be
            any time <br>
            soon, but once this patch is merged, you will be able to
            enable it from <br>
            the command line like this:<br>
            <br>
            dbus-send --system --print-reply --type=method_call
            --dest=org.ofono <br>
            /ril_0
            org.nemomobile.ofono.SimSettings.SetStrictTechnologySelection
            <br>
            boolean:true<br>
            <br>
            The option survives the reboot and the value is stored on a
            per-SIM <br>
            basis. It would be nice if somebody could give it a try and
            let me know <br>
            (preferably by commenting on the merge request) if it does
            indeed help.<br>
            <br>
            Cheers,<br>
            -Slava<br>
            <br>
            > Prefer 4g used to be 'lteumts' so with 3g, maybe 'lte'
            worked to restrict to 4G as callback switching didn't work
            and now it no longer works as before, so you'll have to be
            happy with 3g because they fixed it (jk, but wouldn't be
            surprised, edge cases get forgotten once they figure out the
            popular case)<br>
            ><br>
            > On Thursday, 13 April 2017, E.S. Rosenberg wrote:<br>
            >> On my JP1 "Prefer 4G" in the network settings means
            that when 4G is<br>
            >> available and I'm not making a call/sending an sms
            I am on 4G.<br>
            >><br>
            >> I never thether WiFi though so don't know if that
            would work, usually use<br>
            >> USB tethering so that it's charging and not
            finishing the battery so fast.<br>
            >><br>
            >> 2017-04-13 16:10 GMT+03:00 szopin
            <a class="moz-txt-link-rfc2396E" href="mailto:szopin@gmail.com"><szopin@gmail.com></a>:<br>
            >><br>
            >>> check <a moz-do-not-send="true"
              href="https://git.merproject.org/mer-core/ofono/blob/master/"
              id="LPlnk762437" previewremoved="true">
              https://git.merproject.org/mer-core/ofono/blob/master/</a><br>
            >>> ofono/doc/radio-settings-api.txt<br>
            >>> it still says lte is for lte only, maybe a bug,
            or maybe a feature with<br>
            >>> callback switching, on j1 it used to block any
            call functionality, might've<br>
            >>> been undesired behaviour, no idea (I had a
            similar situation like you and<br>
            >>> wanted 4g only and it used to block any 2-3g
            connections, maybe it was<br>
            >>> dropped)<br>
            >>><br>
            >>> On 13 April 2017 at 14:13, Claudio Campeggi
            <claudio.campeggi@studio.<br>
            >>> unibo.it> wrote:<br>
            >>><br>
            >>>> Hi,<br>
            >>>> thank you for your replies but the command
            you provided doesn't work.<br>
            >>>> I do know that I won't be able to receive
            calls, but on 3G I barely get 5 megabits whereas on 4G I get
            always 10 megabits or more, not to talk about the amazingly
            low latency on 4G compared to 3G.<br>
            >>>> I want to force JP01 on 4G as once I start
            wifi tethering it won't automatically go to 4G, and I do
            know that there is 4G coverage in that place (as I wrote,
            better walls penetration on 800Mhz)..<br>
            >>>><br>
            >>>> Regards<br>
            >>>><br>
            >>>><br>
            >>>> Yeah, ppl calling you would get busy signal
            (and no text from your provider to tell you about it), it
            doesn't work on jollac,and since radio switcher was
            mentioned as no longer working no idea if it still does<br>
            >>>><br>
            >>>> On Tuesday, 11 April 2017, E.S. Rosenberg
            wrote:<br>
            >>>>> * The dialog in System Settings should
            be enough, it should be noted though<br>
            >>>> *>* that LTE did not usually support
            voice calls so when you are making the<br>
            >>>> *>* call the phone always needs to
            switch back to UMTS (things may have<br>
            >>>> *>* changed).<br>
            >>>> *> >* 2017-04-10 16:25 GMT+03:00
            <szopin at gmail.com <<a moz-do-not-send="true"
              href="https://lists.sailfishos.org/cgi-bin/mailman/listinfo/devel"
              id="LPlnk554809" previewremoved="true">https://lists.sailfishos.org/cgi-bin/mailman/listinfo/devel</a>>>:<br>
            >>>> *> >* > This should force lte
            (calls will most likely be disabled, change 'lte' to<br>
            >>>> *>* > 'any' to switch back):<br>
            >>>> *>* ><br>
            >>>> *>* > dbus-send --system
            --print-reply --dest=org.ofono /ril_0 org<br>
            >>>> *>* >
            .ofono.RadioSettings.SetProperty
            string:"TechnologyPreference"<br>
            >>>> *>* > variant:string:"<br>
            >>>> *>* > lte"<br>
            >>>> *>* ><br>
            >>>> *>* > (or at least this used to work
            in 2014)<br>
            >>>> *>* ><br>
            >>>> *>* ><br>
            >>>> *>* > On Monday, 10 April 2017,
            Claudio Campeggi wrote:<br>
            >>>> *>* > > Hi,<br>
            >>>> *>* > > in the past I used the
            Radio Switch app (on warehouse) to lock my JP01<br>
            >>>> *>* > > on 4G network (it seems
            that if 3G signal is low sailfish doesn't search<br>
            >>>> *>* > > for 4G networks, but in my
            area 3g is 2100MHz and 4g on 800MHz, so it<br>
            >>>> *>* > > penetrates the building
            walls way better), but a while ago the 4G mode<br>
            >>>> *>* > > stopped working because
            the bash command use was no longer working.<br>
            >>>> *>* > ><br>
            >>>> *>* > > I'm writing to know if
            it's still possible with a new bash command to<br>
            >>>> *>* > > lock the phone in 4G only
            mode, and if so how.<br>
            >>>> *>* > ><br>
            >>>> *>* > > I do know there is the
            "more network modes" patch but I would like to<br>
            >>>> *>* > > avoid to use patches.<br>
            >>>> *>* > ><br>
            >>>> *>* > > Thank you<br>
            >>>> *>* > ><br>
            >>>> *>* > ><br>
            >>>><br>
            <br>
          </div>
          <font size="2"><span style="font-size:10pt;"></span></font></div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to <a class="moz-txt-link-abbreviated" href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a></pre>
    </blockquote>
    <br>
  </body>
</html>