[SailfishDevel] lock JP01 on 4G, is it possible?
Slava Monich
slava.monich at jolla.com
Fri Apr 21 11:13:48 UTC 2017
Hi Claudio,
Yes, it would be useful to test this one too. For your convenience, I
have built the rpm here:
https://build.merproject.org/package/show/home:slava:test/ofono
Cheers,
-Slava
> Hi Slava,
>
> so is better to wait your new implementation (extending the api) or
> the testing of the merge request patch still gives you useful feedback?
>
>
>
> ------------------------------------------------------------------------
>
> Date: Thu, 20 Apr 2017 18:41:49 +0300
> From: Slava Monich <slava.monich at jolla.com>
> To: devel at lists.sailfishos.org
> Subject: Re: [SailfishDevel] lock JP01 on 4G, is it possible?
> Message-ID: <719e202b-892a-29d7-404f-e60e60a54e93 at jolla.com>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> Hi Claudio,
>
> I would say update to 2.1 first. 2.0.5 is missing some packages that the
> latest ofono build depends on.
>
> 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.
>
> Cheers,
> -Slava
>
>
> >
> > Hi Slava,
> > 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?
> >
> > Also, how do I apply the patch? Is it possible to have it as
> > patchmanager patch in openrepos?
> >
> > Lastly, does the patch also work on 3G (means, it strictly allows only
> > 3G)?
> >
> > Thank you
> > Claudio
> >
> > ------------------------------------------------------------------------
> >
> >
> > Message: 1
> > Date: Fri, 14 Apr 2017 20:36:50 +0300
> > From: Slava Monich <slava.monich at jolla.com>
> > To: devel at lists.sailfishos.org
> > Subject: Re: [SailfishDevel] lock JP01 on 4G, is it possible?
> > Message-ID: <b3463e0e-f3af-df3e-af7e-16523fc59b0a at jolla.com>
> > Content-Type: text/plain; charset=utf-8; format=flowed
> >
> > Hi all,
> >
> > This should allow to force the use of the particular cellular
> technology:
> >
> > https://git.merproject.org/mer-core/ofono/merge_requests/112
> <https://git.merproject.org/mer-core/ofono/merge_requests/112>
>
> Allow to strictly define the preferred technology (!112) · Merge
> Requests · mer-core / ofono
> <https://git.merproject.org/mer-core/ofono/merge_requests/112>
> git.merproject.org
> Currently, if e.g. LTE is selected as the preferred technology, we
> allow all technologies up to and including LTE. With the
> `StrictTechnologySelection` option enabled, it would mean LTE and
> nothing...
>
>
> >
> > Obviously, there's no UI for this option and there won't be any time
> > soon, but once this patch is merged, you will be able to enable it from
> > the command line like this:
> >
> > dbus-send --system --print-reply --type=method_call --dest=org.ofono
> > /ril_0 org.nemomobile.ofono.SimSettings.SetStrictTechnologySelection
> > boolean:true
> >
> > The option survives the reboot and the value is stored on a per-SIM
> > basis. It would be nice if somebody could give it a try and let me know
> > (preferably by commenting on the merge request) if it does indeed help.
> >
> > Cheers,
> > -Slava
> >
> > > 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)
> > >
> > > On Thursday, 13 April 2017, E.S. Rosenberg wrote:
> > >> On my JP1 "Prefer 4G" in the network settings means that when 4G is
> > >> available and I'm not making a call/sending an sms I am on 4G.
> > >>
> > >> I never thether WiFi though so don't know if that would work,
> > usually use
> > >> USB tethering so that it's charging and not finishing the battery
> > so fast.
> > >>
> > >> 2017-04-13 16:10 GMT+03:00 szopin <szopin at gmail.com>:
> > >>
> > >>> check https://git.merproject.org/mer-core/ofono/blob/master/
> <https://git.merproject.org/mer-core/ofono/blob/master/>
>
> Files · master · mer-core / ofono
> <https://git.merproject.org/mer-core/ofono/blob/master/>
> git.merproject.org
> Sailfish OS fork of https://01.org/ofono
>
>
> > <https://git.merproject.org/mer-core/ofono/blob/master/>
> <https://git.merproject.org/mer-core/ofono/blob/master/>
>
> Files · master · mer-core / ofono
> <https://git.merproject.org/mer-core/ofono/blob/master/>
> git.merproject.org
> Sailfish OS fork of https://01.org/ofono
>
>
> > >>> ofono/doc/radio-settings-api.txt
> > >>> it still says lte is for lte only, maybe a bug, or maybe a feature
> > with
> > >>> callback switching, on j1 it used to block any call functionality,
> > might've
> > >>> been undesired behaviour, no idea (I had a similar situation like
> > you and
> > >>> wanted 4g only and it used to block any 2-3g connections, maybe
> it was
> > >>> dropped)
> > >>>
> > >>> On 13 April 2017 at 14:13, Claudio Campeggi
> <claudio.campeggi at studio.
> > >>> unibo.it> wrote:
> > >>>
> > >>>> Hi,
> > >>>> thank you for your replies but the command you provided doesn't
> work.
> > >>>> 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.
> > >>>> 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)..
> > >>>>
> > >>>> Regards
> > >>>>
> > >>>>
> > >>>> 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
> > >>>>
> > >>>> On Tuesday, 11 April 2017, E.S. Rosenberg wrote:
> > >>>>> * The dialog in System Settings should be enough, it should be
> > noted though
> > >>>> *>* that LTE did not usually support voice calls so when you are
> > making the
> > >>>> *>* call the phone always needs to switch back to UMTS (things
> > may have
> > >>>> *>* changed).
> > >>>> *> >* 2017-04-10 16:25 GMT+03:00 <szopin at gmail.com
> > <https://lists.sailfishos.org/cgi-bin/mailman/listinfo/devel>>:
> Devel -- Sailfish OS Developers
> <https://lists.sailfishos.org/cgi-bin/mailman/listinfo/devel>
> lists.sailfishos.org
> To see the collection of prior postings to the list, visit the Devel
> Archives. Using Devel: To post a message to all the list members, send
> email to ...
>
>
> > >>>> *> >* > This should force lte (calls will most likely be
> > disabled, change 'lte' to
> > >>>> *>* > 'any' to switch back):
> > >>>> *>* >
> > >>>> *>* > dbus-send --system --print-reply --dest=org.ofono /ril_0 org
> > >>>> *>* > .ofono.RadioSettings.SetProperty
> string:"TechnologyPreference"
> > >>>> *>* > variant:string:"
> > >>>> *>* > lte"
> > >>>> *>* >
> > >>>> *>* > (or at least this used to work in 2014)
> > >>>> *>* >
> > >>>> *>* >
> > >>>> *>* > On Monday, 10 April 2017, Claudio Campeggi wrote:
> > >>>> *>* > > Hi,
> > >>>> *>* > > in the past I used the Radio Switch app (on warehouse) to
> > lock my JP01
> > >>>> *>* > > on 4G network (it seems that if 3G signal is low sailfish
> > doesn't search
> > >>>> *>* > > for 4G networks, but in my area 3g is 2100MHz and 4g on
> > 800MHz, so it
> > >>>> *>* > > penetrates the building walls way better), but a while
> > ago the 4G mode
> > >>>> *>* > > stopped working because the bash command use was no
> > longer working.
> > >>>> *>* > >
> > >>>> *>* > > I'm writing to know if it's still possible with a new
> > bash command to
> > >>>> *>* > > lock the phone in 4G only mode, and if so how.
> > >>>> *>* > >
> > >>>> *>* > > I do know there is the "more network modes" patch but I
> > would like to
> > >>>> *>* > > avoid to use patches.
> > >>>> *>* > >
> > >>>> *>* > > Thank you
> > >>>> *>* > >
> > >>>> *>* > >
> > >>>>
> >
> >
> >
> > _______________________________________________
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to
> devel-unsubscribe at lists.sailfishos.org
>
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20170421/e65a7392/attachment-0001.html>
More information about the Devel
mailing list