Monday, 2018-07-02

*** ubuntu is now known as Guest3282501:43
*** Guest32825 is now known as zhxt01:48
kimmolihttps://m.youtube.com/watch?v=LfmrHTdXgK4#04:32
T4<adampigg> mal, rfc on sailfish-devel, your views appreciated06:41
r0kk3rz@adampigg could it be rolled into sensorfwd?08:57
T4<adampigg> maybe, these are the discussions to be had...how would that then be accessible to a qml app?09:06
r0kk3rzdbus, or when qt finally gets a HRM sensor api, through that09:09
malpiggz: all things would be so much easier if qsensors had heart rate sensor API09:39
r0kk3rzindeed09:39
r0kk3rzHRM support is something needed for asteroidos as well09:40
malupstream qsensors has support for TI Sensortag bluetooth sensors so that could have been used as a base09:40
malr0kk3rz: that reminds me, I never tried to upstream my pressure sensor for upstream QSensors sensorfw plugin09:42
T4<adampigg> perhaps we need short and longer term  options09:42
r0kk3rzshort term is roll with what you got09:43
r0kk3rzbut imo more generic support for BLE sensors is a good idea09:43
malI think sensorfw would be too low level for bt sensors, maybe09:43
malas bluetooth stuff is so much easier in Qt side09:44
r0kk3rzyeah, it depends on how much control the applications need over the bluetooth as well09:45
malone thing is that handling simple sensor tags (which only send data upon request) is quite straightforward but a watch or something like that is more complex anyway09:47
malone thing would to make our own temporary QSensors heart rate API09:48
r0kk3rzyeah, im not sure how much milage there is in having a unified interface between ble HRM and internal HRM of some kind09:52
T4<adampigg> mal, as i expect you to be the second person implmenting this, your guidance is welcome.  i appreciate the current code is quick n possibly dirty, and not what a best solution would look like09:55
demonaxshHello! After applying patches and an extraordinary rebuild, something started to work, though the gui did not appear.13:07
demonaxshofonod [840]: [grilio] ERROR! Can not connect to RILD: No such file or directory13:07
demonaxshSuch an error can be the cause? Or, another key daemon should signal a problem?13:07
r0kk3rzdepends on what you mean the 'gui didnt appear'13:08
r0kk3rzscreen is blank? or bootlogo?13:08
r0kk3rzor you get a spinner13:08
demonaxshThis means that the android is hanging.13:24
demonaxshandroid logo hangs13:25
maldemonaxsh: you need to get logs, get output of dmesg, journalctl, systemctl and /usr/libexec/droid-hybris/system/bin/logcat13:31
demonaxshThis is all there, and I can connect via telnet. Yes, that's another question, I can connect via ssh under the root, but I do not have a password, is it somewhere set when creating rootfs or is it always generated at startup?13:35
demonaxshhttps://drive.google.com/open?id=1r-yNFU9mkex87ffREz0C-Uf4-L_fX1GC13:40
malthat doesn't work13:41
malrequires login13:41
demonaxshIt's journalctl log, but there only suspicion is caused by ofono.d and sensorfwd13:41
demonaxshhttps://drive.google.com/open?id=1r-yNFU9mkex87ffREz0C-Uf4-L_fX1GC13:42
demonaxshi changed access rights13:43
malhave you enabled some extra debug printing because that seems to have much more output than usually13:48
maldemonaxsh: what android base?13:49
demonaxshandroid aosp 6.013:49
demonaxshno... it's journalctl --no-pager13:51
demonaxshAnd still, I wonder where I can get the password for devel-su?13:53
malpasswd nemo13:53
malalso you don't use devel-su in telnet13:53
demonaxshyes, i jnow13:53
demonaxshbut, sshd started, and i can get key for connecting by nemo user?13:54
malyou just set the password like I said and then you should be able to ssh to the device13:55
demonaxshyes, i see13:57
demonaxshit worked13:57
malsomething is really wrong in your system, journalctl shows it doesn't start user session at all because it doesn't have correct user13:57
krnlyngdemonaxsh, can you check /proc/cmdline?14:00
demonaxshbut console=tty0 console=ttyMT0,921600n1 root=/dev/ram vmalloc=496M androidboot.hardware=mt6735 slub_max_order=0 slub_debug=O bootopt=64S3,32N2,64N2 selinux=0 lcm=1-vm5296_fhd_dsi_skyworth_c70 fps=5917 vram=29229056 printk.disable_uart=1 bootprof.pl_t=3954 bootprof.lk_t=2833 boot_reason=4 androidboot.serialno=HC710E180300070 androidboot.bootreason=wdt_by_pass_pwk wtk_memname=KMQE10013M_B318,ROM=16GB,RAM=2GB gpt=114:01
demonaxshconsole=tty0 console=ttyMT0,921600n1 root=/dev/ram vmalloc=496M androidboot.hardware=mt6735 slub_max_order=0 slub_debug=O bootopt=64S3,32N2,64N2 selinux=0 lcm=1-vm5296_fhd_dsi_skyworth_c70 fps=5917 vram=29229056 printk.disable_uart=1 bootprof.pl_t=3954 bootprof.lk_t=2833 boot_reason=4 androidboot.serialno=HC710E180300070 androidboot.bootreason=wdt_by_pass_pwk wtk_memname=KMQE10013M_B318,ROM=16GB,RAM=2GB gpt=114:01
demonaxsh because it doesn't have correct user? but I was now able to connect to the ssh via ssh?14:03
maldemonaxsh: "(3)[1:systemd]systemd[1]: start-user-session@USER.service: Failed to load configuration: No such file or directory"14:07
maldemonaxsh: what device is that?14:07
demonaxshYes indeed. I did not notice this in the log.14:09
demonaxshChinese thrash device, with a bar code.14:09
demonaxshwhere can usually get @USER? does this happen when building a rootfs?14:25
malit just should be there, not exactly sure where it comes from14:26
juicemer0kk3rz, ping15:12
juicemeheh, notced something which explains how I have repeatedly hit my head to the wall the last few days15:13
r0kk3rzjuiceme: whats up?15:14
juicemeas I was compliling a new boot kernel for my official-xperiax and tried several things and always ended up with a kernel not booting correctly.15:14
juicemeso you remember telling me I can test the hybris-boot.img by booting the device up with "sudo fastboot boot hybris-boot.img" without flashing15:15
juicemewhatever I did, it always fails one way or anothere15:15
juicemeso now I tried it with the original hybris-boot.img I downloaded from the device15:15
juicemeand guess what?15:15
juicemeIt fails the same way with that too...15:16
juicemeso unless I am doing something catastrophically wrong it is not just possible to boot official-xperiax from an offloaded kernel.15:17
juicemeso I am in a dialemma now, do I dare to try to flash the boot image?15:18
juicemeso, any ideas?15:22
r0kk3rzworst case you put the old boot.img back15:26
r0kk3rzworst worst case you use flash mode and start again :)15:27
juicemeyeah... if it *is* the correct one, this is what I am wondering.15:27
juicemesince I got it from /boot/ of the device.15:27
juicemeit contains both hybris-boot.img and hybris-recovery.img15:28
r0kk3rzwell you also have the download .img files?15:28
juicemebut if it is so, that the "real" boot images are stored in some unaccessible partition on the device, maybe these are not the real ones15:28
juicemeyou mean the original images I downloaded from Jolla store, yes I have those15:29
juicemeYou are correct I can reinstall the thing from scratch is I really brick it :)15:29
r0kk3rzonly stephg has managed that15:30
juicemebut it is always tedious to do that, to get everything back the way it was. Even as I have rsynced /home/nemo15:30
juicememmh what has stephg managed?15:30
r0kk3rzbricking15:31
juicemeah15:31
juicemebrick permanently-non-recoverably?15:31
juicemehow did he do that15:31
r0kk3rzno idea, im not sure even he knows15:31
juicemehehe :)15:31
juicemeoaky, I'll bite the bullet and flash the kernel then.15:32
juicemefingers crossed...15:33
juicemehmm, is the command to flash just the boot image "sudo fastboot flash boot hybris-boot.img" ?15:34
juicemer0kk3rz ^^^15:34
r0kk3rzyep15:35
juicemeokay, did it15:37
juicemebummer15:38
juicemeseems to hang in the whits screen15:38
juicemenope, now it went black15:38
juicemeoh!15:38
juicemenope, got lockscreen15:38
juicemeOMG it worked!15:39
juiceme[nemo@Sailfish ~]$ dmesg | head | grep Linux15:40
juiceme[    0.000000] Linux version 3.10.84-g2fecfa6 (juice@toosa) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #1 SMP PREEMPT Sat Jun 30 18:23:07 UTC 201815:40
juiceme[nemo@Sailfish ~]$15:40
juiceme[nemo@Sailfish ~]$ zcat /proc/config.gz | grep MODULES15:41
juicemeCONFIG_MODULES_USE_ELF_RELA=y15:41
juicemeCONFIG_MODULES=y15:41
juiceme[nemo@Sailfish ~]$15:41
r0kk3rzdun dun dunnnnnn15:42
r0kk3rzif that works we should get jolla to enabled modules by default15:43
* juiceme is very self-statisfied15:43
r0kk3rzit used to break the build15:43
r0kk3rzwhich is why its not enabled15:43
juicemewell I had to fix the defconfig15:43
juicemethere were some options that were not in "make oldconfig"15:44
juicemebut in the end, nothing I see that should break it :)15:44
r0kk3rzmake a pr15:45
juicemenow I'll need to make some modules and try that it works correcly; all that are in the original config are still built-in, I did not change that15:45
abransonooh that's cool. i think there was a problem with building the wifi driver as a module.15:59
r0kk3rzpiggz: huh, home key combo brings me to home screen20:43
r0kk3rzthats cool and also annoying at the same time20:43
piggzr0kk3rz: yes, i thought that was cool21:30
piggzexcept when in an editor!21:30
piggzbut, when the edges of my screen arnt working, it gets me back to home!21:31
piggzr0kk3rz: do you have the correct kb layout? does yous have modes for ios/windows/android?21:32
piggzif you cant find the # key, i can get it from switching to ios mode, then the? key21:32

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!