*** ubuntu is now known as Guest32825 | 01:43 | |
*** Guest32825 is now known as zhxt | 01:48 | |
kimmoli | https://m.youtube.com/watch?v=LfmrHTdXgK4# | 04:32 |
---|---|---|
T4 | <adampigg> mal, rfc on sailfish-devel, your views appreciated | 06: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 |
r0kk3rz | dbus, or when qt finally gets a HRM sensor api, through that | 09:09 |
mal | piggz: all things would be so much easier if qsensors had heart rate sensor API | 09:39 |
r0kk3rz | indeed | 09:39 |
r0kk3rz | HRM support is something needed for asteroidos as well | 09:40 |
mal | upstream qsensors has support for TI Sensortag bluetooth sensors so that could have been used as a base | 09:40 |
mal | r0kk3rz: that reminds me, I never tried to upstream my pressure sensor for upstream QSensors sensorfw plugin | 09:42 |
T4 | <adampigg> perhaps we need short and longer term options | 09:42 |
r0kk3rz | short term is roll with what you got | 09:43 |
r0kk3rz | but imo more generic support for BLE sensors is a good idea | 09:43 |
mal | I think sensorfw would be too low level for bt sensors, maybe | 09:43 |
mal | as bluetooth stuff is so much easier in Qt side | 09:44 |
r0kk3rz | yeah, it depends on how much control the applications need over the bluetooth as well | 09:45 |
mal | one 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 anyway | 09:47 |
mal | one thing would to make our own temporary QSensors heart rate API | 09:48 |
r0kk3rz | yeah, im not sure how much milage there is in having a unified interface between ble HRM and internal HRM of some kind | 09: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 like | 09:55 |
demonaxsh | Hello! After applying patches and an extraordinary rebuild, something started to work, though the gui did not appear. | 13:07 |
demonaxsh | ofonod [840]: [grilio] ERROR! Can not connect to RILD: No such file or directory | 13:07 |
demonaxsh | Such an error can be the cause? Or, another key daemon should signal a problem? | 13:07 |
r0kk3rz | depends on what you mean the 'gui didnt appear' | 13:08 |
r0kk3rz | screen is blank? or bootlogo? | 13:08 |
r0kk3rz | or you get a spinner | 13:08 |
demonaxsh | This means that the android is hanging. | 13:24 |
demonaxsh | android logo hangs | 13:25 |
mal | demonaxsh: you need to get logs, get output of dmesg, journalctl, systemctl and /usr/libexec/droid-hybris/system/bin/logcat | 13:31 |
demonaxsh | This 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 |
demonaxsh | https://drive.google.com/open?id=1r-yNFU9mkex87ffREz0C-Uf4-L_fX1GC | 13:40 |
mal | that doesn't work | 13:41 |
mal | requires login | 13:41 |
demonaxsh | It's journalctl log, but there only suspicion is caused by ofono.d and sensorfwd | 13:41 |
demonaxsh | https://drive.google.com/open?id=1r-yNFU9mkex87ffREz0C-Uf4-L_fX1GC | 13:42 |
demonaxsh | i changed access rights | 13:43 |
mal | have you enabled some extra debug printing because that seems to have much more output than usually | 13:48 |
mal | demonaxsh: what android base? | 13:49 |
demonaxsh | android aosp 6.0 | 13:49 |
demonaxsh | no... it's journalctl --no-pager | 13:51 |
demonaxsh | And still, I wonder where I can get the password for devel-su? | 13:53 |
mal | passwd nemo | 13:53 |
mal | also you don't use devel-su in telnet | 13:53 |
demonaxsh | yes, i jnow | 13:53 |
demonaxsh | but, sshd started, and i can get key for connecting by nemo user? | 13:54 |
mal | you just set the password like I said and then you should be able to ssh to the device | 13:55 |
demonaxsh | yes, i see | 13:57 |
demonaxsh | it worked | 13:57 |
mal | something is really wrong in your system, journalctl shows it doesn't start user session at all because it doesn't have correct user | 13:57 |
krnlyng | demonaxsh, can you check /proc/cmdline? | 14:00 |
demonaxsh | but 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=1 | 14:01 |
demonaxsh | 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=1 | 14:01 |
demonaxsh | because it doesn't have correct user? but I was now able to connect to the ssh via ssh? | 14:03 |
mal | demonaxsh: "(3)[1:systemd]systemd[1]: start-user-session@USER.service: Failed to load configuration: No such file or directory" | 14:07 |
mal | demonaxsh: what device is that? | 14:07 |
demonaxsh | Yes indeed. I did not notice this in the log. | 14:09 |
demonaxsh | Chinese thrash device, with a bar code. | 14:09 |
demonaxsh | where can usually get @USER? does this happen when building a rootfs? | 14:25 |
mal | it just should be there, not exactly sure where it comes from | 14:26 |
juiceme | r0kk3rz, ping | 15:12 |
juiceme | heh, notced something which explains how I have repeatedly hit my head to the wall the last few days | 15:13 |
r0kk3rz | juiceme: whats up? | 15:14 |
juiceme | as 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 |
juiceme | so you remember telling me I can test the hybris-boot.img by booting the device up with "sudo fastboot boot hybris-boot.img" without flashing | 15:15 |
juiceme | whatever I did, it always fails one way or anothere | 15:15 |
juiceme | so now I tried it with the original hybris-boot.img I downloaded from the device | 15:15 |
juiceme | and guess what? | 15:15 |
juiceme | It fails the same way with that too... | 15:16 |
juiceme | so unless I am doing something catastrophically wrong it is not just possible to boot official-xperiax from an offloaded kernel. | 15:17 |
juiceme | so I am in a dialemma now, do I dare to try to flash the boot image? | 15:18 |
juiceme | so, any ideas? | 15:22 |
r0kk3rz | worst case you put the old boot.img back | 15:26 |
r0kk3rz | worst worst case you use flash mode and start again :) | 15:27 |
juiceme | yeah... if it *is* the correct one, this is what I am wondering. | 15:27 |
juiceme | since I got it from /boot/ of the device. | 15:27 |
juiceme | it contains both hybris-boot.img and hybris-recovery.img | 15:28 |
r0kk3rz | well you also have the download .img files? | 15:28 |
juiceme | but if it is so, that the "real" boot images are stored in some unaccessible partition on the device, maybe these are not the real ones | 15:28 |
juiceme | you mean the original images I downloaded from Jolla store, yes I have those | 15:29 |
juiceme | You are correct I can reinstall the thing from scratch is I really brick it :) | 15:29 |
r0kk3rz | only stephg has managed that | 15:30 |
juiceme | but it is always tedious to do that, to get everything back the way it was. Even as I have rsynced /home/nemo | 15:30 |
juiceme | mmh what has stephg managed? | 15:30 |
r0kk3rz | bricking | 15:31 |
juiceme | ah | 15:31 |
juiceme | brick permanently-non-recoverably? | 15:31 |
juiceme | how did he do that | 15:31 |
r0kk3rz | no idea, im not sure even he knows | 15:31 |
juiceme | hehe :) | 15:31 |
juiceme | oaky, I'll bite the bullet and flash the kernel then. | 15:32 |
juiceme | fingers crossed... | 15:33 |
juiceme | hmm, is the command to flash just the boot image "sudo fastboot flash boot hybris-boot.img" ? | 15:34 |
juiceme | r0kk3rz ^^^ | 15:34 |
r0kk3rz | yep | 15:35 |
juiceme | okay, did it | 15:37 |
juiceme | bummer | 15:38 |
juiceme | seems to hang in the whits screen | 15:38 |
juiceme | nope, now it went black | 15:38 |
juiceme | oh! | 15:38 |
juiceme | nope, got lockscreen | 15:38 |
juiceme | OMG it worked! | 15:39 |
juiceme | [nemo@Sailfish ~]$ dmesg | head | grep Linux | 15: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 2018 | 15:40 |
juiceme | [nemo@Sailfish ~]$ | 15:40 |
juiceme | [nemo@Sailfish ~]$ zcat /proc/config.gz | grep MODULES | 15:41 |
juiceme | CONFIG_MODULES_USE_ELF_RELA=y | 15:41 |
juiceme | CONFIG_MODULES=y | 15:41 |
juiceme | [nemo@Sailfish ~]$ | 15:41 |
r0kk3rz | dun dun dunnnnnn | 15:42 |
r0kk3rz | if that works we should get jolla to enabled modules by default | 15:43 |
* juiceme is very self-statisfied | 15:43 | |
r0kk3rz | it used to break the build | 15:43 |
r0kk3rz | which is why its not enabled | 15:43 |
juiceme | well I had to fix the defconfig | 15:43 |
juiceme | there were some options that were not in "make oldconfig" | 15:44 |
juiceme | but in the end, nothing I see that should break it :) | 15:44 |
r0kk3rz | make a pr | 15:45 |
juiceme | now 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 that | 15:45 |
abranson | ooh that's cool. i think there was a problem with building the wifi driver as a module. | 15:59 |
r0kk3rz | piggz: huh, home key combo brings me to home screen | 20:43 |
r0kk3rz | thats cool and also annoying at the same time | 20:43 |
piggz | r0kk3rz: yes, i thought that was cool | 21:30 |
piggz | except when in an editor! | 21:30 |
piggz | but, when the edges of my screen arnt working, it gets me back to home! | 21:31 |
piggz | r0kk3rz: do you have the correct kb layout? does yous have modes for ios/windows/android? | 21:32 |
piggz | if you cant find the # key, i can get it from switching to ios mode, then the? key | 21:32 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!