<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Hi Slava,</p>
<p>so is better to wait your new implementation (extending the api) or the testing of the merge request patch still gives you useful feedback?
<br>
</p>
<br>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<div class="PlainText">
<hr tabindex="-1" style="display:inline-block; width:98%">
<br>
Date: Thu, 20 Apr 2017 18:41:49 +0300<br>
From: Slava Monich <slava.monich@jolla.com><br>
To: devel@lists.sailfishos.org<br>
Subject: Re: [SailfishDevel] lock JP01 on 4G, is it possible?<br>
Message-ID: <719e202b-892a-29d7-404f-e60e60a54e93@jolla.com><br>
Content-Type: text/plain; charset="utf-8"; Format="flowed"<br>
<br>
Hi Claudio,<br>
<br>
I would say update to 2.1 first. 2.0.5 is missing some packages that the <br>
latest ofono build depends on.<br>
<br>
After giving it a bit more thought, I'm leaning towards not merging this <br>
one but instead extending the api in such a way that would allow <br>
selecting an arbitrary combination of technologies.<br>
<br>
Cheers,<br>
-Slava<br>
<br>
<br>
><br>
> Hi Slava,<br>
> I am interested in testing your solution. Does it work on SFOS 2.0.5 <br>
> 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 <br>
> patchmanager patch in openrepos?<br>
><br>
> Lastly, does the patch also work on 3G (means, it strictly allows only <br>
> 3G)?<br>
><br>
> Thank you<br>
> Claudio<br>
><br>
> ------------------------------------------------------------------------<br>
><br>
><br>
> Message: 1<br>
> Date: Fri, 14 Apr 2017 20:36:50 +0300<br>
> From: Slava Monich <slava.monich@jolla.com><br>
> To: devel@lists.sailfishos.org<br>
> Subject: Re: [SailfishDevel] lock JP01 on 4G, is it possible?<br>
> Message-ID: <b3463e0e-f3af-df3e-af7e-16523fc59b0a@jolla.com><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 href="https://git.merproject.org/mer-core/ofono/merge_requests/112" id="LPlnk300618" previewremoved="true">
https://git.merproject.org/mer-core/ofono/merge_requests/112</a>
<div id="LPBorder_GT_14927693465960.8291859450373422" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_14927693465900.3110921315938061" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);" role="presentation" cellspacing="0">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td id="ImageCell_14927693465910.6010494245092043" style="width: 250px; position: relative; display: table-cell; padding-right: 20px;" colspan="1">
<div id="LPImageContainer_14927693465910.24141294119113166" style="background-color: rgb(255, 255, 255); height: 128px; position: relative; margin: auto; display: table; width: 128px;">
<a id="LPImageAnchor_14927693465930.6570717745165207" style="display: table-cell; text-align: center;" href="https://git.merproject.org/mer-core/ofono/merge_requests/112" target="_blank"><img style="display: inline-block; max-width: 250px; max-height: 250px; height: 128px; width: 128px; border-width: 0px; vertical-align: bottom;" aria-label="Anteprima immagine con collegamento selezionata. Effettua un doppio tocco per aprire il collegamento." id="LPThumbnailImageID_14927693465930.9530071538920564" height="128" width="128" src="https://git.merproject.org/assets/gitlab_logo-7ae504fe4f68fdebb3c2034e36621930cd36ea87924c11ff65dbcb8ed50dca58.png"></a></div>
</td>
<td id="TextCell_14927693465940.8285910033404138" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;" colspan="2">
<div id="LPRemovePreviewContainer_14927693465940.5424412111066127"></div>
<div id="LPTitle_14927693465940.5718777141907929" style="top: 0px; color: rgb(0, 114, 198); font-weight: 400; font-size: 21px; font-family: "wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_14927693465950.3182921981262682" style="text-decoration: none;" href="https://git.merproject.org/mer-core/ofono/merge_requests/112" target="_blank">Allow to strictly define the preferred technology (!112) · Merge Requests · mer-core / ofono</a></div>
<div id="LPMetadata_14927693465950.7015126426552237" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 14px;">
git.merproject.org</div>
<div id="LPDescription_14927693465960.8401754422981641" style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
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...</div>
</td>
</tr>
</tbody>
</table>
</div>
<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 <br>
> restrict to 4G as callback switching didn't work and now it no longer <br>
> works as before, so you'll have to be happy with 3g because they fixed <br>
> it (jk, but wouldn't be surprised, edge cases get forgotten once they <br>
> 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, <br>
> usually use<br>
> >> USB tethering so that it's charging and not finishing the battery <br>
> so fast.<br>
> >><br>
> >> 2017-04-13 16:10 GMT+03:00 szopin <szopin@gmail.com>:<br>
> >><br>
> >>> check <a href="https://git.merproject.org/mer-core/ofono/blob/master/" id="LPlnk117696" previewremoved="true">
https://git.merproject.org/mer-core/ofono/blob/master/</a>
<div id="LPBorder_GT_14927693482080.7368203400376204" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_14927693482040.3268402268592251" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);" role="presentation" cellspacing="0">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td id="ImageCell_14927693482050.2731254986376038" style="width: 250px; position: relative; display: table-cell; padding-right: 20px;" colspan="1">
<div id="LPImageContainer_14927693482050.4699714419244915" style="background-color: rgb(255, 255, 255); height: 128px; position: relative; margin: auto; display: table; width: 128px;">
<a id="LPImageAnchor_14927693482060.39994425944375067" style="display: table-cell; text-align: center;" href="https://git.merproject.org/mer-core/ofono/blob/master/" target="_blank"><img style="display: inline-block; max-width: 250px; max-height: 250px; height: 128px; width: 128px; border-width: 0px; vertical-align: bottom;" aria-label="Anteprima immagine con collegamento selezionata. Effettua un doppio tocco per aprire il collegamento." id="LPThumbnailImageID_14927693482060.6152543824282206" height="128" width="128" src="https://git.merproject.org/assets/gitlab_logo-7ae504fe4f68fdebb3c2034e36621930cd36ea87924c11ff65dbcb8ed50dca58.png"></a></div>
</td>
<td id="TextCell_14927693482060.8405107312512445" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;" colspan="2">
<div id="LPRemovePreviewContainer_14927693482060.06247673896729966"></div>
<div id="LPTitle_14927693482060.30765008663135995" style="top: 0px; color: rgb(0, 114, 198); font-weight: 400; font-size: 21px; font-family: "wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_14927693482070.13017992810584977" style="text-decoration: none;" href="https://git.merproject.org/mer-core/ofono/blob/master/" target="_blank">Files · master · mer-core / ofono</a></div>
<div id="LPMetadata_14927693482070.8239813186744497" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 14px;">
git.merproject.org</div>
<div id="LPDescription_14927693482070.1435939176140909" style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
Sailfish OS fork of https://01.org/ofono</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
> <<a href="https://git.merproject.org/mer-core/ofono/blob/master/" id="LPlnk378999" previewremoved="true">https://git.merproject.org/mer-core/ofono/blob/master/</a>>
<div id="LPBorder_GT_14927693480320.14937449607603126" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_14927693480270.4294521208715656" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);" role="presentation" cellspacing="0">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td id="ImageCell_14927693480280.45089904664368996" style="width: 250px; position: relative; display: table-cell; padding-right: 20px;" colspan="1">
<div id="LPImageContainer_14927693480290.5266707556475404" style="background-color: rgb(255, 255, 255); height: 128px; position: relative; margin: auto; display: table; width: 128px;">
<a id="LPImageAnchor_14927693480300.42174655011681594" style="display: table-cell; text-align: center;" href="https://git.merproject.org/mer-core/ofono/blob/master/" target="_blank"><img style="display: inline-block; max-width: 250px; max-height: 250px; height: 128px; width: 128px; border-width: 0px; vertical-align: bottom;" aria-label="Anteprima immagine con collegamento selezionata. Effettua un doppio tocco per aprire il collegamento." id="LPThumbnailImageID_14927693480300.4012669405801079" height="128" width="128" src="https://git.merproject.org/assets/gitlab_logo-7ae504fe4f68fdebb3c2034e36621930cd36ea87924c11ff65dbcb8ed50dca58.png"></a></div>
</td>
<td id="TextCell_14927693480310.4320326032828635" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;" colspan="2">
<div id="LPRemovePreviewContainer_14927693480310.09600579033054057"></div>
<div id="LPTitle_14927693480310.8091247453097266" style="top: 0px; color: rgb(0, 114, 198); font-weight: 400; font-size: 21px; font-family: "wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_14927693480310.6362171322309101" style="text-decoration: none;" href="https://git.merproject.org/mer-core/ofono/blob/master/" target="_blank">Files · master · mer-core / ofono</a></div>
<div id="LPMetadata_14927693480310.5114169795998531" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 14px;">
git.merproject.org</div>
<div id="LPDescription_14927693480320.7383385829671761" style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
Sailfish OS fork of https://01.org/ofono</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
> >>> ofono/doc/radio-settings-api.txt<br>
> >>> it still says lte is for lte only, maybe a bug, or maybe a feature <br>
> with<br>
> >>> callback switching, on j1 it used to block any call functionality, <br>
> might've<br>
> >>> been undesired behaviour, no idea (I had a similar situation like <br>
> 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 <br>
> barely get 5 megabits whereas on 4G I get always 10 megabits or more, <br>
> 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 <br>
> won't automatically go to 4G, and I do know that there is 4G coverage <br>
> 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 <br>
> your provider to tell you about it), it doesn't work on jollac,and <br>
> since radio switcher was mentioned as no longer working no idea if it <br>
> 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 <br>
> noted though<br>
> >>>> *>* that LTE did not usually support voice calls so when you are <br>
> making the<br>
> >>>> *>* call the phone always needs to switch back to UMTS (things <br>
> may have<br>
> >>>> *>* changed).<br>
> >>>> *> >* 2017-04-10 16:25 GMT+03:00 <szopin at gmail.com <br>
> <<a href="https://lists.sailfishos.org/cgi-bin/mailman/listinfo/devel" id="LPlnk37855" previewremoved="true">https://lists.sailfishos.org/cgi-bin/mailman/listinfo/devel</a>>>:
<div id="LPBorder_GT_14927693494680.061609511812377504" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_14927693494660.2940472294565424" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);" role="presentation" cellspacing="0">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td id="TextCell_14927693494670.6074824801543646" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;" colspan="2">
<div id="LPRemovePreviewContainer_14927693494670.3956169995508345"></div>
<div id="LPTitle_14927693494670.12705970183158033" style="top: 0px; color: rgb(0, 114, 198); font-weight: 400; font-size: 21px; font-family: "wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_14927693494670.5495433466815723" style="text-decoration: none;" href="https://lists.sailfishos.org/cgi-bin/mailman/listinfo/devel" target="_blank">Devel -- Sailfish OS Developers</a></div>
<div id="LPMetadata_14927693494670.517254275392255" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 14px;">
lists.sailfishos.org</div>
<div id="LPDescription_14927693494670.173514605305932" style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
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 ...</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
> >>>> *> >* > This should force lte (calls will most likely be <br>
> 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 <br>
> lock my JP01<br>
> >>>> *>* > > on 4G network (it seems that if 3G signal is low sailfish <br>
> doesn't search<br>
> >>>> *>* > > for 4G networks, but in my area 3g is 2100MHz and 4g on <br>
> 800MHz, so it<br>
> >>>> *>* > > penetrates the building walls way better), but a while <br>
> ago the 4G mode<br>
> >>>> *>* > > stopped working because the bash command use was no <br>
> longer working.<br>
> >>>> *>* > ><br>
> >>>> *>* > > I'm writing to know if it's still possible with a new <br>
> 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 <br>
> would like to<br>
> >>>> *>* > > avoid to use patches.<br>
> >>>> *>* > ><br>
> >>>> *>* > > Thank you<br>
> >>>> *>* > ><br>
> >>>> *>* > ><br>
> >>>><br>
><br>
><br>
><br>
> _______________________________________________<br>
> SailfishOS.org Devel mailing list<br>
> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfishos.org<br>
<br>
</div>
<font size="2"><span style="font-size:10pt;"></span></font></div>
</div>
</body>
</html>