myke-81 | Having problems with sailfishx build | 01:06 |
---|---|---|
myke-81 | This doesn't work "DEVICE=$HABUILD_DEVICE rpm/dhd/helpers/pack_source_droidmedia-localbuild.sh $DROIDMEDIA_VERSION" a) rpm/dhd doesn't exist, there's droid-hal-device, from mer-hybris/droid-hal-device b) even if I pull it from git, it refuses to build because out/..../lib/libdroidmedia.so is out/..../lib64/libdroidmedia.so? c) I had to call DEVICE=$HABUILD_DEVICE bash -c 'rpm/dhd/helpers/pack_source_droidmedia-localbuild.s | 01:09 |
myke-81 | I spent several days building according to https://sailfishos.org/wiki/Sailfish_X_Build_and_Flash; recorded all the steps (I believe) | 01:13 |
myke-81 | But cannot finish it, certain parts still don't mesh | 01:14 |
myke-81 | Ok I got some answers from reading previous irc logs; but you better update the build guide, because people probably would ask that over and over | 01:32 |
myke-81 | That tar not installed problem I kinda figured it out myself | 01:32 |
*** ubuntu is now known as Guest90837 | 01:35 | |
*** Guest90837 is now known as zhxt | 01:37 | |
mgrover | if i ran out of disk space making syspart, cleared some and ran again and it finished, will it be corrupted? or will it or will it of realised? | 09:53 |
abranson | mgrover: i'd do that again. too many weird and wonderful things to go wrong with a possible incomplete syspart. | 10:36 |
karachun | there is some problems with audio on my port. LOS 14.1, Android 7.1.2.I'm running "pulseaudio" via terminal. And it says "failed to find a working profile" | 11:23 |
r0kk3rz | mgrover: is this with aosp6? | 11:23 |
mgrover | r0kk3rz, yeahh | 11:23 |
karachun | https://ibb.co/gxWTYo | 11:23 |
mal | karachun: are you sure you provided correct parameters to pulseaudio when started it from commandline? you need to check the systemd service how to properly load it | 11:30 |
ohyash | hey. is the cpu usage normal. Doesn't look like to me. https://imgur.com/XPXPHYy | 11:43 |
ohyash | and usually this is what happens. One cpu heavy loaded. Some bits distributed over 3 more but usuallly 4 cpus are ideal. | 11:44 |
ohyash | and phone lags | 11:44 |
ohyash | and gets hot | 11:44 |
ohyash | even battery drains fast | 11:44 |
ohyash | play a video or open a few apps; Ram consumption goes nearly full | 11:46 |
mal | cpu usage looks normal, hearing doesn't sound good, maybe get full logs after reboot, dmesg, journalctl and logcat | 11:51 |
r0kk3rz | also try to identify which process are using the cpu | 11:54 |
mal | r0kk3rz: based on that top output nothing looks bad | 11:55 |
r0kk3rz | sure | 11:55 |
mal | one thing that could cause heating is that the power management doesn't work properly | 11:55 |
mal | so cpus could be running on full frequency all the time | 11:55 |
ohyash | mal: the last 4 are always at 0% usage. I just played a HD video. | 11:55 |
mal | and maybe not even sleeping | 11:56 |
ohyash | and the video playback lags a lil bit many times. Feels like its struggling | 11:57 |
demonaxsh | hi everyone | 11:58 |
demonaxsh | I do not have Wi-Fi on my device. Faq says that wifi needs to be building as a module, is it necessary? In the kernel config, I only have this: | 11:58 |
demonaxsh | CONFIG_MTK_COMBO=y | 11:58 |
demonaxsh | CONFIG_MTK_COMBO_CHIP_CONSYS_6735=y | 11:58 |
demonaxsh | CONFIG_MTK_COMBO_BT=y | 11:58 |
demonaxsh | CONFIG_MTK_COMBO_GPS=y | 11:58 |
demonaxsh | CONFIG_MTK_COMBO_WIFI=y | 11:58 |
demonaxsh | https://pastebin.com/xDAXJri0 | 11:58 |
r0kk3rz | mmm mtk | 12:00 |
demonaxsh | it's bad?)) | 12:01 |
r0kk3rz | abranson: can you remember a mediatek wifi fix? | 12:01 |
r0kk3rz | not bad, just unusual | 12:02 |
T4 | <NotKit> demonaxsh, do you have /dev/wmtWifi? | 12:03 |
demonaxsh | yes | 12:03 |
T4 | <NotKit> try echo 1 > /dev/wmtWifi | 12:03 |
demonaxsh | ok)) | 12:04 |
demonaxsh | bash: echo: write error: Input/output error | 12:07 |
demonaxsh | cat: /dev/wmtWifi: Invalid argument | 12:07 |
demonaxsh | it's from root | 12:08 |
krnlyng | demonaxsh, "test_wifi 1" | 12:09 |
krnlyng | any difference with that? | 12:10 |
demonaxsh | [root@Sailfish nemo]# test_wifi 1 | 12:11 |
demonaxsh | Cannot load driver (err -1) | 12:11 |
demonaxsh | WiFi driver load state: 0 | 12:11 |
krnlyng | demonaxsh, can you run getprop as root? | 12:11 |
demonaxsh | https://pastebin.com/jGm3GAZU | 12:13 |
demonaxsh | [init.svc.wifi2agps]: [restarting] | 12:14 |
demonaxsh | [init.svc.wmtLoader]: [stopped] | 12:14 |
demonaxsh | wifi2agps crashed and restarting again and again | 12:14 |
krnlyng | [service.nvram_init]: [Pre_Ready] | 12:16 |
krnlyng | i think that's the problem | 12:16 |
krnlyng | try "setprop ro.crypto.state encrypted; setprop vold.decrypt trigger_restart_framework" | 12:18 |
krnlyng | then run getprop again | 12:18 |
krnlyng | demonaxsh, wifi2agps crashes because it wants that droid-hal-init (or init in android) has PID 1. but droid-hal-init in sailfish doesn't have PID 1 so it crashes. | 12:19 |
demonaxsh | https://pastebin.com/1gkWheG7 | 12:20 |
krnlyng | looks good now: | 12:21 |
krnlyng | [service.nvram_init]: [Ready] | 12:21 |
krnlyng | try "test_wifi 1" now | 12:21 |
demonaxsh | Cannot load driver (err -1) | 12:24 |
demonaxsh | WiFi driver load state: 0 | 12:24 |
demonaxsh | it's not helped | 12:25 |
krnlyng | and the echo? | 12:25 |
demonaxsh | too | 12:25 |
krnlyng | demonaxsh, hmm | 12:26 |
krnlyng | demonaxsh, try "/system/bin/start wmtLoader" and "/system/bin/start nvram_daemon" | 12:26 |
krnlyng | and afterwards test_wifi 1 again | 12:26 |
krnlyng | or the echo | 12:27 |
demonaxsh | system crashed... reboot | 12:27 |
krnlyng | on which one? | 12:27 |
krnlyng | wmtLoader? | 12:27 |
demonaxsh | after "/system/bin/start wmtLoader" | 12:27 |
krnlyng | ok | 12:27 |
krnlyng | try all commands except that wmtLoader :) | 12:28 |
krnlyng | again* | 12:28 |
T4 | <NotKit> maybe it's missing firmware? reboot and check dmesg right after echo 1 > | 12:30 |
demonaxsh | "/system/bin/start nvram_daemon" not helped too, echo and test_wifi not worked | 12:37 |
demonaxsh | https://pastebin.com/pJ9VY7SH | 12:37 |
demonaxsh | (0)[696:mtk_wmtd][name:osal&][WMT-FUNC][E]wmt_func_wifi_on(651):WMT-FUNC: wmt call wlan probe fail(-1) | 12:41 |
ohyash | why does it spawn so many lipstick instances :/ | 13:34 |
r0kk3rz | define 'so many'? | 13:35 |
ohyash | r0kk3rz, seem to be around 20. https://imgur.com/kZTe8iV | 13:38 |
ohyash | 30 exacty | 13:38 |
ohyash | 30 exactly | 13:38 |
r0kk3rz | looks wrong | 13:41 |
ohyash | thats a gig of RAM consumed for no user app running. | 13:41 |
r0kk3rz | yeah there should be 1 of those, not 30 | 13:44 |
ohyash | ouch | 13:44 |
ohyash | what could be the culprit... :/ | 13:46 |
r0kk3rz | you have a few too many rilds as well | 13:49 |
mal | r0kk3rz: or is that just showing each thread separately | 13:51 |
r0kk3rz | they have different PIDs | 13:51 |
mal | there was some toggle to show threaded apps tree | 13:52 |
mal | *as tree | 13:52 |
r0kk3rz | surely different pid means different process, but worth checking | 13:52 |
mal | r0kk3rz: I also see similar on my device | 13:53 |
mal | pressing "t" shows it in a much nicer way | 13:54 |
r0kk3rz | ah | 13:54 |
r0kk3rz | if i want to check processes i just use ps | 13:54 |
OhYash_ | literally every app is calling it self.multiple times | 14:06 |
r0kk3rz | are you sure they are seperate processes? | 14:06 |
OhYash_ | like mediaplayer is loaded, it would further spawn 20 more instances of itself | 14:06 |
OhYash_ | if 't' makes thread tree. then they are threads | 14:07 |
mal | OhYash_: those are threads | 14:07 |
mal | press "t" in htop and it would look very different | 14:07 |
OhYash_ | yep threads then. | 14:08 |
mal | OhYash_: press H, it should toggle showing threads | 14:08 |
OhYash_ | yep. the multiple 'threads' are hidden now | 14:10 |
OhYash_ | I believe booster-silica does it? | 14:11 |
mal | I think it's just Qt, it uses threads a lot | 14:11 |
OhYash_ | ok then | 14:12 |
wiktorek140 | OhYash_: did u get gui up or before gui? | 14:43 |
OhYash | wiktorek140: Got GUI up and most things running. :D | 15:58 |
wiktorek140 | OhYash: hmm, once i have similiar problem, rebuilding image helped somehow | 15:58 |
OhYash | wiktorek140: Interesting tho. My GUI booted finally with some marcos that arent present in hadk and werent there in faq until then | 16:02 |
wiktorek140 | OhYash: better than nothing ;) | 16:03 |
OhYash | mal added them to faq after going through my logs. I wonder if I ever would be able read huge logs and understand shit myself xD | 16:04 |
OhYash | wiktorek140: yep | 16:05 |
wiktorek140 | OhYash: did your device reboot properly? | 16:15 |
OhYash | yes | 16:16 |
OhYash | happens normal | 16:16 |
wiktorek140 | before this solution too? | 16:16 |
OhYash | the macro solution? to get to GUI? I guess nope. I wasnt able to telnet in after mal and elros mentioned plenty of mistakes in my configs. | 16:19 |
wiktorek140 | OhYash: i mean rebooting | 16:19 |
OhYash | um. yes, I never had problems rebooting as far as I can remember. with or without GUI, with or.without other bugs | 16:20 |
OhYash | wiktorek140: did you expect reboot problems in the begunning? :D | 16:22 |
wiktorek140 | OhYash: nope, my device have this problem, stuck somewhere between kernel and init ;) | 16:24 |
OhYash | only when you reboot? | 16:24 |
OhYash | or always on everyboot? | 16:24 |
wiktorek140 | everyboot | 16:25 |
OhYash | now thats some problem xD | 16:25 |
wiktorek140 | poweroff and reboot from gui, reboot from console | 16:25 |
OhYash | i remember earlier you got GUI but telnet wasnt woring | 16:25 |
OhYash | wiktorek140: which kernel version? | 16:27 |
wiktorek140 | OhYash: yea, that was my fault, now i dont remember what done wrong | 16:27 |
wiktorek140 | OhYash: 3.10.49 | 16:27 |
wiktorek140 | OhYash: old repo with hybris-boot :) | 16:28 |
wiktorek140 | and problem with reboot sometimes show on android too | 16:29 |
OhYash | some kernel flags are different in 3.10 as compared to 3.4 and the errors/warnings detector still displays 3.4 flags. I have 3 flags which were not present in the out of that thing | 16:30 |
wiktorek140 | OhYash: i have it too ;p | 16:30 |
OhYash | oh xD | 16:30 |
wiktorek140 | but what else should be changed | 16:30 |
OhYash | and you dont get logs either? from telnet | 16:31 |
OhYash | or ssh | 16:32 |
wiktorek140 | i can get logs from telnet but how get logs when telnet is shuted down? ;p | 16:32 |
OhYash | I wonder how do you get GUI working at times then. | 16:33 |
OhYash | if you get GUI, you can do the same from terminal | 16:33 |
OhYash | get logs from within device | 16:34 |
wiktorek140 | OhYash: i have previously on hybris12.1/13 nearly full working device | 16:34 |
wiktorek140 | and then telnet work | 16:34 |
OhYash | silly question, but your USB settings is set to developer mode right? | 16:34 |
OhYash | Oh. | 16:34 |
OhYash | older hybris are better then xD | 16:35 |
wiktorek140 | yes, now is on developer mode | 16:35 |
wiktorek140 | i dont thing so, now are more stable for me ;) | 16:35 |
OhYash | doesnt look like that looking at your telnet problem | 16:36 |
OhYash | ssh works? | 16:36 |
wiktorek140 | OhYash: now working everything except reboot ;) | 16:37 |
OhYash | aha! so it was not set to Developer mode and that was the problem xD | 16:38 |
OhYash | you may as well.stop.rebooting | 16:38 |
OhYash | shutdown -> boot | 16:38 |
OhYash | profit | 16:39 |
wiktorek140 | OhYash: what if i tell you usb settings are set to developer mode, and still cannot reboot fully? | 16:40 |
OhYash | developer mode is only for telnet xD | 16:41 |
OhYash | reboot bug is weird | 16:42 |
OhYash | I just saw it doesnt poweroff either | 16:42 |
OhYash | how about you do "reboot" from console (which wont work) and take logs after it. | 16:43 |
wiktorek140 | OhYash: listen now. i can exec reboot. it work correctly. everything stopping. screen goes blank. telnet,ssh,other communication canals shuted down. but device is still powered on | 16:45 |
wiktorek140 | only way to reboot is force power off vie key combination | 16:46 |
OhYash | oooh | 17:02 |
OhYash | got it | 17:03 |
mal | wiktorek140: not if that is better or worse than what I have, I can't poweroff a device, it always reboots | 17:03 |
wiktorek140 | mal: i thing its better because it work correctly in at least one way | 17:06 |
OhYash | both are weird problems. mal can't save battery when he wants xD | 17:06 |
OhYash | wiktorek140: try systemctl reboot | 17:07 |
wiktorek140 | OhYash: nothing changed ;) | 17:08 |
OhYash | or go root then shutdown -h now. (I havent tried both of these just firing ideas I get from the internet) | 17:08 |
OhYash | asin 'shutdown -h now' | 17:09 |
mal | OhYash: I know exactly what component on the device causes that but not sure exactly why | 17:09 |
wiktorek140 | mal: can u tell what it is? maybe on my device is the same component | 17:10 |
OhYash | mal: take that component out xDD | 17:11 |
masya | Can anyone help me with audio? | 17:12 |
mal | wiktorek140: I doubt it's the same, on fp2 it's the new updated camera module that is causing that, even on android | 17:14 |
mal | at least on lineageos | 17:14 |
wiktorek140 | mal: that is realy strange, but how you detect that? | 17:15 |
mal | by changing the camera module | 17:15 |
mal | it worked fine when using the old module but new module has that issue | 17:15 |
mal | fp2 is a modular device | 17:16 |
OhYash | wiktorek140: Not really useful here but this gives a history of shutdown requests :: $ cat /var/log/systemboot.log | 17:16 |
OhYash | .wow nothing is trustworthy | 17:16 |
wiktorek140 | mal: so you right, in my device its exist in all branch since 12.1 so i dont thing so its camera | 17:16 |
wiktorek140 | ;) | 17:16 |
mal | masya: maybe give some information what we can use, like describe the problem and tell which device and android base and provide logs, for example journalctl and make sure it contains messages from pulseaudio | 17:17 |
wiktorek140 | mal: if shutdown get Reason unknown what that can mean? | 17:19 |
masya | mal: Audio is not working. Android 7.1.2, Lineage OS 14.1 | 17:21 |
mal | which device | 17:21 |
masya | mal: Device is Xiaomi Redmi 3 | 17:22 |
mal | also provide link to device repo | 17:22 |
mal | (the lineageos device repo) | 17:22 |
masya | https://github.com/LineageOS/android_device_xiaomi_ido/ | 17:22 |
OhYash | wiktorek140: should be normal. My systemboot.log shows Reason Unknown for startup | 17:23 |
mal | masya: add this file https://github.com/mer-hybris/droid-config-sony-nile/blob/master/sparse/etc/pulse/arm_droid_card_custom.pa and then copy this to /etc/audio_policy.conf https://raw.githubusercontent.com/LineageOS/android_device_xiaomi_ido/af6ea8b6ec559a2e0b98e424958332c0d91e9ee2/audio/audio_policy.conf | 17:25 |
mal | masya: the first one goes to /etc/pulse/arm_droid_card_custom.pa | 17:25 |
wiktorek140 | masya: silly question, gstreamer and audioflingerglue builded ? | 17:27 |
mal | wiktorek140: not related | 17:27 |
mal | yet | 17:27 |
masya | wiktorek140: of course | 17:28 |
piggz | lo all | 17:41 |
mal | evening | 17:42 |
wiktorek140 | mal: should be console in kernel comand line empty? | 17:45 |
mal | ? | 17:48 |
wiktorek140 | when i cat /proc/cmdline in parameter console get null | 17:49 |
wiktorek140 | but in android config file i have ttyHSL0 | 17:49 |
mal | wiktorek140: so what exactly is the problem you are trying to solve with that? | 18:00 |
wiktorek140 | mal: no clue with my problem so just asking and googling about stuff ;) maybe something can help with that | 18:01 |
mal | wiktorek140: so you are trying to solve issues that are not really an issue? | 18:02 |
wiktorek140 | mal: probably yes ;) | 18:03 |
mal | why did you even start looking at kernel commandline? | 18:03 |
wiktorek140 | i was just curious | 18:04 |
pseudodev | Can't send signal 11 to application [22985] while launching video camera | 18:23 |
pseudodev | any ideas? | 18:23 |
NeKit | demonaxsh, just in case, is /etc/firmware symlinked to /system/etc/firmware? | 19:07 |
NeKit | this was an easy fix on some MTK device | 19:07 |
ohyash_ | anyway I can use android apps on my community build? | 19:09 |
ohyash_ | or just whatsapp if possible | 19:09 |
NeKit | your best change is porting Anbox, check #sfdroid | 19:10 |
NeKit | but it's not in daily usage ready state, I think | 19:11 |
ohyash_ | NeKit, Anbox is a desktop-first application and for the past 2 days I've been trying to run it on desktop. It just wont run at all. I am very suspicious of the sailfish port because of that | 19:12 |
mal | I have it running on a sailfish phone so it's possible :) | 19:13 |
ohyash_ | Infact I wont need a sailfish android solution if a single one of all these apps run on my ArchLinux desktop | 19:13 |
ohyash_ | mal, alrighty. I'll try if I have no other option. | 19:15 |
ohyash_ | but considering sailfish is not running very well on my device. How does anbox perform over sailfish installation/ | 19:15 |
ohyash_ | mal, this link from sailfish-anbox etherpad is dead : https://github.com/anbox/anbox/tree/master/kernel/patches | 19:19 |
r0kk3rz | its in its own repo now | 19:23 |
*** Nokius_ is now known as Nokius | 19:23 | |
mal | r0kk3rz: I think the patches are "lost" i.e. not in any repo anymore, need to dig those from git history | 19:26 |
r0kk3rz | not these ones? https://github.com/anbox/anbox-modules | 19:28 |
r0kk3rz | but if not, we've got them in git https://github.com/r0kk3rz/android_kernel_sony_msm/pull/1 | 19:35 |
mal | r0kk3rz: that repo contains the modules not the patches | 19:46 |
ohyash_ | Mister_Magister, is your libpurple facebook messenger plugin working still? | 19:49 |
Mister_Magister | ohyash_: dunno i dropped it | 19:49 |
ohyash_ | ok | 19:49 |
Mister_Magister | should be | 19:49 |
Mister_Magister | i mean libpurple plugin itself from obs is working fine | 19:49 |
ohyash_ | Facebook keeps changing its services thats what I was wondering | 19:50 |
Mister_Magister | im developing now libpurple client and im using it so | 19:50 |
ohyash_ | Mister_Magister, I may go with separate client then. Where's it? | 19:51 |
Mister_Magister | it isnt | 19:51 |
Mister_Magister | doesnt exist | 19:51 |
Mister_Magister | not released | 19:51 |
ohyash_ | ok | 19:51 |
ohyash_ | Ah damn thing. There's literally no single way of me getting android(specifically whatsapp) apps at the moment unless I move back to android/lineage | 19:55 |
r0kk3rz | yeah whatsapp is evil | 20:07 |
ohyash_ | yeah | 20:26 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!