Friday, 2018-08-10

Yardanicostrange, 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
demonaxshHi, all09:00
demonaxshTo 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 Mode09: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: finish09:00
demonaxsh[  308.856003]  (1)[1672:sh][name:stp_chrdev_bt&][MTK-BT] BT_close: BT_close: major 192 minor 0 pid 167209:00
abransonYardanico: i'd clear your out dir and try again.09:01
Yardanicoabranson, thanks I'll try09:01
T4<adampigg> I never got ninja to work so turned it off09:01
Yardanicoit can be disabled?!09:02
Yardanicoah sorry I read it now in faq09:02
T4<adampigg> Export use_ninja=false iirc09:04
Yardanicohmm, I can't build droidmedia even without ninja10:10
YardanicoCan "Could not determine android architecture. Please pass it as 2nd argument using gettargetarch." be related to my error?10:11
abransonyep10:11
abransonsee hot-hadk link in room topic10:12
Yardanico"When building locally, add DROIDMEDIA_32 := true to env.mk" didn't work out for me10:29
Yardanicoah I see10:30
Yardanicosorry, I was stupid and didn't read info on the top10:30
Yardanicowhy I always break something :D now `createrepo` package disappeared (so there's no modifyrepo command) and `sudo zypper in createrepo` can't find createrepo11:41
Yardanico(inside of platform sdk)11:41
Yardanicoah, nvm, found in IRC logs11:42
Yardanico"sudo ssu ar mer-tools"11:45
malYardanico: createrepo_c11:50
Yardanicomal, "sudo ssu ar mer-tools" fixed it too11:52
malwell old createrepo is not suggested anymore11:53
Yardanicowhat's the best way to test all hardware on sailfish os?13:06
taixzomesswerk is good for checking sensors13:12
r0kk3rzcsd13:13
birdzhang_pccsd and AIDA6413:17
Yardanicoyeah I found out about csd, thank you13:17
malcsd needs configuration as instructed in faq13:18
Yardanicoand 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 lags13:29
Yardanicoso things that don't work are - all sensors (proximity/gyro/accelerometer/light), wifi, bt13:36
malsearch for "sensors" in faq13:38
malwifi fix depends on which wifi chip your device has, is it qcom of broadcom? that should be visible in defconfig13:39
malsame for BT13:39
Yardanicomal, yes, my wifi chip is qcom, probably same for BT (because it's snapdragon 625)14:05
r0kk3rzwell, these days they tend to be combined wifi+bt chips anyway14:08
malYardanico: could you give a link to the defconfig14:26
Yardanicomal, https://github.com/Yardanico/android_kernel_xiaomi_msm8953/blob/Nosgoth/arch/arm64/configs/markw_defconfig14:27
malYardanico: 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 faq14:28
Yardanicomal, ok, thanks14:29
Yardanicomal, I can just rebuild kernel (with hybris-boot) and flash it, or no?14:52
Yardanicoto check if wifi will work14:52
r0kk3rzYardanico: you can14:53
r0kk3rzunless you built modules14:53
Yardanicowell yes, I built modules14:53
r0kk3rzthen they get packages elsewhere i think14:53
malthe build_packages.sh -d also14:53
r0kk3rz*packaged14:53
malYardanico: did you also add the sensor fix already?14:54
Yardanicomal, not yet, wifi is top priority :) I just didn't understand how to fix sensors - I already have hw-settings.ini14:56
YardanicoI mean I already edited it so it contains all sensors which are available on the device14:57
maldid test_sensors return anything?14:57
Yardanicomal, no, it returns 0 sensors. I know why it can happen, in piggz's mido port he uses 32-bit libs from HTC for sensors14:58
YardanicoI probably need them too14:59
malcould be14:59
r0kk3rzYardanico: sensor service running?15:00
malbut if it returned 0 sensors it then found some hw module, otherwise it should fail completely?15:00
Yardanicomal, it found MultiHal Sensor Module by google15:02
Yardanicoand said "library "libDRPlugin.so" not found"15:02
Yardanicoand http://www.merproject.org/logs/%23sailfishos-porters/%23sailfishos-porters.2017-09-30.log.html piggz talked about the same15:02
r0kk3rzmal: not in my experience, the test program isnt that clever15:03
malYardanico: 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 line15:03
Yardanicomal, ok, thanks15:03
Yardanicohttp://www.merproject.org/logs/%23sailfishos-porters/%23sailfishos-porters.2017-09-30.log.html#t2017-09-30T16:18:0415:04
Yardanicoyay sensors are detected now!15:20
Yardanico(https://github.com/Loup-ROM/android_vendor_xiaomi_santoni/commit/a939ceea19dafce0b4e377497a22a1b55fe61271)15:20
Yardanicoyes I'm testing in csd and everything works now15:23
YardanicoBTW, 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#L815:56
malthat looks correct15:57
YardanicoI was confused because mido port has codename :) https://github.com/piggz/droid-hal-version-mido/blob/master/rpm/droid-hal-version-mido.spec#L716:00
Yardanicosoo about wifi - can I somehow try compiled module on my device without re-making whole .zip?16:43
r0kk3rzrunning mic isnt exactly hard :P16:46
r0kk3rzbut everything in the image is packaged into an rpm16:47
Yardanicor0kk3rz, it's very slow for me :)16:56
r0kk3rzit shouldnt be that slow16:57
r0kk3rzi suggest you're just impatient :P16:57
Yardanicooh bummer I can't symlink kernel/vendor/device folders (they're in another location) to $ANDROID_ROOT subfolders?16:58
YardanicoI tried and now nothing can find my device files16:58
malYardanico: build is done in chroot so the symlink would have work in that also17:38
Yardanicobtw, 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 :D17:46
Yardanicohmm 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 again18:04
r0kk3rzthis is why its good to rebuild often18:13
Yardanicooh well, I rebuilt it but it's still the same :) gonna continue tomorrow19:03
malYardanico: so what did you change?19:04
*** keithzg_ is now known as keithzg23:54

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