/srv/irclogs.ubuntu.com/2017/03/17/#ubuntu-touch.txt

=== JanC is now known as Guest79577
=== JanC_ is now known as JanC
=== chihchun_afk is now known as chihchun
zedroidHello! Could you please say which bootsplash used in the ubuntu touch and how I can change backgroud image here09:31
zedroid*there09:32
zedroidHey , knows someone how change image with dots and ubuntu logo in the ubuntu touch?10:17
arunmehrahello10:40
arunmehrai am getting error10:40
=== ecloud_wfh is now known as ecloud
arunmehracan you plz help me10:50
zedroidwhich error10:51
arunmehraphablet-tools : Depends: repo but it is not installable11:01
=== marcusto_ is now known as marcustomlinson
arunmehraphablet-tools : Depends: repo but it is not installable11:06
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
javier4Good morning. I'm porting UT to a mt6795 device. I managed to get my SIM card recognized and unlocked by my pin. It seems it cannot find my 2G/3G/4G network. Looking at the ofono debug log, on the ofono channel has been told to me that's a RIL problem, and then it's better ask for help to you, guys.11:47
javier4https://www.irccloud.com/pastebin/VmO4u6KB/11:47
matv4javier4 wrt RIL/ofono, AWE (Tony Espy) has been helpfull to me in the past. But I think he is on american timezone12:37
javier4matv4: thanks. I'll try to contact him in a couple hours.13:04
=== _salem is now known as salem_
javier4awe: execuse me for bothering you, they told me you cold be able to help me: I'm porting UT to a mt6795 device, I managed to get my SIM card recognized and unlocked by my pin. It seems it cannot find my 2G/3G/4G network. This is the ofono log in debug mode:15:21
javier4https://www.irccloud.com/pastebin/VmO4u6KB/15:21
awejavier4, I'm just about to join a meeting15:22
aweif possible, please ping me later today15:22
javier4Sure. I'll try later or tomorrow. Thanks. :-)15:24
=== cachio is now known as cachio_afk
javier4awe: are you still busy?21:54
awehey, just got back and have some time to talk21:55
awehow can I help?21:55
javier4I ported Ubuntu on an mt6795, my SIM gets recognised, but can't connect. If I make a search for operator, it returns the correct ones, but displays only their plmn instead of their name.21:57
javier4https://www.irccloud.com/pastebin/tuJNiYhZ/21:59
javier4First is the right one (Wind Italia, my operator), the other two are other operators, correctly reported as forbidden)22:00
awejavier4, have you looked at any of the output from ofono in /var/log/syslog to see if it's reporting any errors22:02
awemediatek loves to re-write their rild for each new device22:02
aweno consistency whatsoever22:02
javier4Yes, I posted earlier the syslog with ofono in debug mode. Forgot to remention it.22:03
awewe had to quirk both the mx4 an mx5 in the ofono rilmodem driver22:03
javier4https://www.irccloud.com/pastebin/VmO4u6KB/22:03
javier4I pased mtk2 plugin to daemon.22:03
awecan you pastebin the output of list-modems?22:07
aweI haven't actually looked at any of this for quite a while22:07
aweyou see where they live by running 'dpkg -L ofono-scripts'22:09
javier4https://www.irccloud.com/pastebin/siM2juou/22:09
javier4I know where they are. I had to wait, because it hanged on the sections left empty.22:10
aweso the last two things in your debug output are:22:16
aweMTK2_RIL_UNSOL_RESPONSE_PLMN_CHANGED22:16
aweand a quick look at the code shows that there's no handler for this unsolicited response22:17
awethis is why your operator name isn't readable22:17
awemost likely22:17
awethe rild says "hey, the plmn changed" and the code just ignores it22:17
aweand then second22:17
aweUNSOL_RESPONSE_REGISTRATION_SUSPENDED22:18
awewhich is probably because the mtkmodem driver probably isn't sending the correct requests/responses and/or handling events properly22:19
awedo have access to a mx4 or mx5?22:19
awethat said, even if you did22:19
awethere's probably code that needs to be written to make this device work22:20
aweif were started a new port22:20
awetypically we'd try to get Android rild traces using a known good image22:21
aweand then also enable rild tracing in ofono too22:21
aweit supports both readable traces22:22
aweand actual hex dumps of the messages22:22
aweand that's where the fun comes in22:22
javier4I just partially understand what you're saying. Is there some document that explains the needed procedure?22:27
awethe only other suggestion I have is that you might see what happens if you clear RadioSettings "FastDormancy" flag22:27
awejavier4, not really...22:27
aweI could send you points to the mozilla rild doc, if it's still public22:28
awehold on a sec22:28
awethis page will give you a good overview on how the rild protocol works22:29
awehttps://wiki.mozilla.org/B2G/RIL22:29
aweand here's the android documentation for the std RIL22:30
awehttp://androidxref.com/5.0.0_r2/xref/hardware/ril/include/telephony/ril.h22:30
awethe problem is that vendors sometimes want to do more than what Android provides22:30
aweso they invent their own requests and unsolicited responses (ie. events)22:30
javier4But to make them work, shouldn't they had to patch libril?22:31
aweand they also may add or subtract fields in the std RIL messages defined by ril.h22:31
aweno22:31
awerild is a binary blob22:31
aweand ofono / rilmodem & mtk[2]modem22:32
awetalk to rild via a socket22:32
awe(or sometimes two)22:32
awe(if the device is multi-SIM)22:32
aweso the b2g page defines the protocol used to send/receive messges to/from rild22:32
awes/defines/explains/22:33
aweand ril.h, defines the format of each of the messages22:33
aweif you modify the upstart job that starts ofono, you can define the env var OFONO_RIL_TRACE22:34
aweand this will cause ofono to log all the messages in human readable format22:34
aweyou can also just stop the current ofono, and run it from the command line22:34
aweand see the output direct onscreen vs. having to wade thru the syslog22:35
aweI actually have to jump back to what I was doing.  It's been a long day, and I'd like to finish up for the weekend22:36
aweabeato also might be able to offer up suggestions22:36
aweas he did most of the enablement for the mtk phones22:36
awehe's off Mon22:37
awebut should be around Tue22:37
awetry clearing the FastDormancy flag as suggested above too22:37
javier4I want to thank you really much. Just one last question: the source of mtk-ril could help in this? Even if they relies on a couple of static library shipped as binary blobs?22:38
=== salem_ is now known as _salem

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!