Yardanico | strange, while building gstreamer I have error "ninja: error: '/home/dian/hadk/out/target/common/obj/PACKAGING/public_api.txt', needed by '/home/dian/hadk/out/target/common/obj/PACKAGING/checkpublicapi-last-timestamp', missing and no known rule to make it" | 08:56 |
---|---|---|
demonaxsh | Hi, all | 09:00 |
demonaxsh | To work bluetooth necessarily use bluez? Mtk not used rfkill (rfkill: cannot open /dev/rfkill: No such file or directory), without it bluez not working? How use bluedroid on sailfish or is it impossible? "echo 1 > /dev/stpbt" return: | 09:00 |
demonaxsh | [ 308.855723] (1)[1672:sh][name:stp_chrdev_bt&][MTK-BT] BT_open: WMT turn on BT OK! | 09:00 |
demonaxsh | [ 308.855755] (1)[1672:sh][name:stp_chrdev_bt&][MTK-BT] BT_open: Now it's in MTK Bluetooth Mode | 09:00 |
demonaxsh | [ 308.855788] (1)[1672:sh][name:stp_chrdev_bt&][MTK-BT] BT_open: STP is ready! | 09:00 |
demonaxsh | [ 308.855820] (1)[1672:sh][name:stp_chrdev_bt&][MTK-BT] BT_open: BT_open: finish | 09:00 |
demonaxsh | [ 308.856003] (1)[1672:sh][name:stp_chrdev_bt&][MTK-BT] BT_close: BT_close: major 192 minor 0 pid 1672 | 09:00 |
abranson | Yardanico: i'd clear your out dir and try again. | 09:01 |
Yardanico | abranson, thanks I'll try | 09:01 |
T4 | <adampigg> I never got ninja to work so turned it off | 09:01 |
Yardanico | it can be disabled?! | 09:02 |
Yardanico | ah sorry I read it now in faq | 09:02 |
T4 | <adampigg> Export use_ninja=false iirc | 09:04 |
Yardanico | hmm, I can't build droidmedia even without ninja | 10:10 |
Yardanico | Can "Could not determine android architecture. Please pass it as 2nd argument using gettargetarch." be related to my error? | 10:11 |
abranson | yep | 10:11 |
abranson | see hot-hadk link in room topic | 10:12 |
Yardanico | "When building locally, add DROIDMEDIA_32 := true to env.mk" didn't work out for me | 10:29 |
Yardanico | ah I see | 10:30 |
Yardanico | sorry, I was stupid and didn't read info on the top | 10:30 |
Yardanico | why I always break something :D now `createrepo` package disappeared (so there's no modifyrepo command) and `sudo zypper in createrepo` can't find createrepo | 11:41 |
Yardanico | (inside of platform sdk) | 11:41 |
Yardanico | ah, nvm, found in IRC logs | 11:42 |
Yardanico | "sudo ssu ar mer-tools" | 11:45 |
mal | Yardanico: createrepo_c | 11:50 |
Yardanico | mal, "sudo ssu ar mer-tools" fixed it too | 11:52 |
mal | well old createrepo is not suggested anymore | 11:53 |
Yardanico | what's the best way to test all hardware on sailfish os? | 13:06 |
taixzo | messwerk is good for checking sensors | 13:12 |
r0kk3rz | csd | 13:13 |
birdzhang_pc | csd and AIDA64 | 13:17 |
Yardanico | yeah I found out about csd, thank you | 13:17 |
mal | csd needs configuration as instructed in faq | 13:18 |
Yardanico | and yeah, now calls/camera (no flashlight in it but it works as a torch)/web browser work (probably due to gstreamer and audioflingerglue) and less lags | 13:29 |
Yardanico | so things that don't work are - all sensors (proximity/gyro/accelerometer/light), wifi, bt | 13:36 |
mal | search for "sensors" in faq | 13:38 |
mal | wifi fix depends on which wifi chip your device has, is it qcom of broadcom? that should be visible in defconfig | 13:39 |
mal | same for BT | 13:39 |
Yardanico | mal, yes, my wifi chip is qcom, probably same for BT (because it's snapdragon 625) | 14:05 |
r0kk3rz | well, these days they tend to be combined wifi+bt chips anyway | 14:08 |
mal | Yardanico: could you give a link to the defconfig | 14:26 |
Yardanico | mal, https://github.com/Yardanico/android_kernel_xiaomi_msm8953/blob/Nosgoth/arch/arm64/configs/markw_defconfig | 14:27 |
mal | Yardanico: for wlan check faq, you seem to have pronto driver, CONFIG_PRONTO_WLAN so build that as module and then add the service mentioned in faq | 14:28 |
Yardanico | mal, ok, thanks | 14:29 |
Yardanico | mal, I can just rebuild kernel (with hybris-boot) and flash it, or no? | 14:52 |
Yardanico | to check if wifi will work | 14:52 |
r0kk3rz | Yardanico: you can | 14:53 |
r0kk3rz | unless you built modules | 14:53 |
Yardanico | well yes, I built modules | 14:53 |
r0kk3rz | then they get packages elsewhere i think | 14:53 |
mal | the build_packages.sh -d also | 14:53 |
r0kk3rz | *packaged | 14:53 |
mal | Yardanico: did you also add the sensor fix already? | 14:54 |
Yardanico | mal, not yet, wifi is top priority :) I just didn't understand how to fix sensors - I already have hw-settings.ini | 14:56 |
Yardanico | I mean I already edited it so it contains all sensors which are available on the device | 14:57 |
mal | did test_sensors return anything? | 14:57 |
Yardanico | mal, no, it returns 0 sensors. I know why it can happen, in piggz's mido port he uses 32-bit libs from HTC for sensors | 14:58 |
Yardanico | I probably need them too | 14:59 |
mal | could be | 14:59 |
r0kk3rz | Yardanico: sensor service running? | 15:00 |
mal | but if it returned 0 sensors it then found some hw module, otherwise it should fail completely? | 15:00 |
Yardanico | mal, it found MultiHal Sensor Module by google | 15:02 |
Yardanico | and said "library "libDRPlugin.so" not found" | 15:02 |
Yardanico | and http://www.merproject.org/logs/%23sailfishos-porters/%23sailfishos-porters.2017-09-30.log.html piggz talked about the same | 15:02 |
r0kk3rz | mal: not in my experience, the test program isnt that clever | 15:03 |
mal | Yardanico: a hint, you can click on the time at the end of the row in that page to get a link pointing to the specific line | 15:03 |
Yardanico | mal, ok, thanks | 15:03 |
Yardanico | http://www.merproject.org/logs/%23sailfishos-porters/%23sailfishos-porters.2017-09-30.log.html#t2017-09-30T16:18:04 | 15:04 |
Yardanico | yay sensors are detected now! | 15:20 |
Yardanico | (https://github.com/Loup-ROM/android_vendor_xiaomi_santoni/commit/a939ceea19dafce0b4e377497a22a1b55fe61271) | 15:20 |
Yardanico | yes I'm testing in csd and everything works now | 15:23 |
Yardanico | BTW, should I name my device model with codename or without it? I mean here https://github.com/Yardanico/droid-hal-version-markw/blob/master/rpm/droid-hal-version-markw.spec#L8 | 15:56 |
mal | that looks correct | 15:57 |
Yardanico | I was confused because mido port has codename :) https://github.com/piggz/droid-hal-version-mido/blob/master/rpm/droid-hal-version-mido.spec#L7 | 16:00 |
Yardanico | soo about wifi - can I somehow try compiled module on my device without re-making whole .zip? | 16:43 |
r0kk3rz | running mic isnt exactly hard :P | 16:46 |
r0kk3rz | but everything in the image is packaged into an rpm | 16:47 |
Yardanico | r0kk3rz, it's very slow for me :) | 16:56 |
r0kk3rz | it shouldnt be that slow | 16:57 |
r0kk3rz | i suggest you're just impatient :P | 16:57 |
Yardanico | oh bummer I can't symlink kernel/vendor/device folders (they're in another location) to $ANDROID_ROOT subfolders? | 16:58 |
Yardanico | I tried and now nothing can find my device files | 16:58 |
mal | Yardanico: build is done in chroot so the symlink would have work in that also | 17:38 |
Yardanico | btw, for some reason whenever I build a .zip through mic russian keyboard layout gets removed from LXQt (my DE) and I must re-add it manually :D | 17:46 |
Yardanico | hmm I must've borked something - nothing happens (just splash screen, no reboots, no telnet, nothing) if I try to boot from new version of my port :) I'll rebuild it again | 18:04 |
r0kk3rz | this is why its good to rebuild often | 18:13 |
Yardanico | oh well, I rebuilt it but it's still the same :) gonna continue tomorrow | 19:03 |
mal | Yardanico: so what did you change? | 19:04 |
*** keithzg_ is now known as keithzg | 23:54 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!