Sunday, 2019-09-01

riniguskimmoli: when on 100% charge, shutdown still worked. However subsequent boot didn't get to gui. Shutdown and new start booted ok. I'll have to see if there is anything in the logs06:18
T42<ArixElo> hi, i'm back with the j5nlte and it's problem with booting sfos07:58
T42<ArixElo> i can't take dmesg07:59
T42<ArixElo> (Photo, 1280x719) you see?08:00
T42<elros34> @ArixElo You misunderstand it. There is no adb in sailfish. You need to run dmesg in your host linux based system to find out whether hybris-boot script properly set up usb connection so you can telnet to device. On windows you could at least blindly try to telnet  (via PuTTY) to port 23 or 2323. Does device reboot afters08:56
T42 some time or stay on bootloader logo forever?08:56
T42<ArixElo> @elros34 [@ArixElo You misunderstand it. There is no adb …], Stays at bootlogo for forever?08:57
mal@ArixElo hadk pdf tells how to use telnet to connect to the device (hopefully it booted far enough for telnet to work)10:00
T42<ArixElo> nope10:01
maldoes host dmesg show any usb related messages when you have the device connected?10:02
malwhich device and android base?10:03
benclark06ok i got a green light now10:51
benclark06no display so far tho10:51
benclark06but hey that's progress10:51
benclark06yeah failed to start lipstick ui10:54
benclark06 full journal if anyone wants to take a look10:54
T42<elros34> looks like you didn't enable SELINUX_BOOTPARAM in defconfig like explained in mer-kernel-check, confirm via: zcat /proc/config.gz11:07
benclark06it's not in there as far as i can see11:09
benclark06oops yeah i did11:09
benclark06alright i'll rebuild now11:09
T42<elros34> you only need to make hybris-boot and flash it11:10
benclark06alright :)11:11
benclark06in where's the init script located?11:27
benclark06sorry for a dumb question11:27
T42<elros34> it's  /init-debug but don't touch it11:29
benclark06oh okay11:30
T42<elros34> mask user service: ln -s /dev/null  /etc/systemd/system/user@100000.service and then you can use test_hwcomposer or minimer11:31
benclark06i get Segmentation fault11:32
benclark06and also when i run minimer i get sh: minimer: command not found11:36
Mister_Magistermal: ping i have problem when i pull down menu it freezes app for a while and then works but no sound on menu or vibrations11:42
kimmolirestart ngfd11:42
Mister_Magisterngfd is working. last time changing to native-vibrator i thought it's gonna fix it but it didn't11:42
Mister_Magisterkimmoli: that isn't fix11:42
kimmoliok, you have that all the time?  i hit it just sometimes, once in two months11:43
kimmoliafter long uptime11:44
Mister_Magisteri hit it 1-5 days after reboot11:44
Mister_Magisterannoying if you set alarm and it breaks in the night and doesn't wake you up so you loose your job and become homeless11:44
T42<elros34> (Document)
T42<elros34> benclark06: link for minimer in faq is dead11:45
T42<elros34> download and rename it to minimer.tar.gz ^11:47
malMister_Magister: do you see anything in dmesg or journal when that happens?11:49
Mister_Magistermal: nope tried to get any logs when app hangs but nope nothing at all11:49
malI have never seen that issue myself, at least cannot remember seeing it11:50
Mister_Magisteri hoped changing to native would work but nope11:50
malMister_Magister: I don't quite understand how that affects alarms?11:51
Mister_Magisterno sound or vibration from alarm11:52
malbut does the alarm work otherwise i.e. do you see it activating in logs?11:52
Mister_Magisteri see alarm screen sure11:52
malquite odd11:53
Mister_Magisterthat's second phone this is happening so not really odd11:53
malso nothing at all in logs when that happens, even in logcat?11:53
Mister_Magisteryou mean that happens when it stops workig or when app hangs?11:54
benclark06whenever i strace test_hwcomposer the backlight turns on for a split second and then segfaults
malMister_Magister: both cases11:57
Mister_Magisterwhen it happens it's random so dunno fi there is something but when app hangs nope. i even tried stracing app and nothing11:58
malbenclark06: it's "EGL_PLATFORM=hwcomposer test_hwcomposer"11:59
benclark06oh oops11:59
benclark06i'll try that again11:59
T42<elros34> I have updated url to minimer in faq, feel free to uppload it to better place. Old link was dead for a long time.11:59
malbenclark06: if you want to use strace with that just add strace in the middle of that command before test_hwcomposer11:59
benclark06it still segfaults :(12:00
benclark06ok now the backlight is just turning off and then on again12:02
malbenclark06: new logs, logcat and journal12:22
benclark06sure, one second12:22
Mister_Magistermal: so my mission is to debug it somehow?12:22
malMister_Magister: would be nice to try to see if something is in logs when either of the issues happen12:22
Mister_Magisterin app nothing but i will try checking logs after i wake up late to work12:23
malI had some odd alarm issues on some device, there was some time jump in logs which caused it to miss the alarm12:24
Mister_Magisternah alarn shows okay12:24
Mister_Magisterbut it's like menu options12:24
Mister_Magisterno vibrations or sound allowed12:24
Mister_Magisteruntill you restart ngfd12:24
malMister_Magister: do you have those built on OBS?12:25
Mister_Magistersure the phone is victara12:25
malwas the issue on latest sfos or which release?12:25
benclark06mal: journal: hwcomposer logs:
Mister_Magisterit is on latest12:26
Mister_Magisterwas on previous aswell12:26
malMister_Magister: btw, you don't have to build native vibrator stuff on OBS, it's in jolla repos already, you can see it using "pkcon search name native"12:27
malMister_Magister: is that devel or testing repos you are using=?12:28
*** ahjolinna_ is now known as ahjolinna12:33
malMister_Magister: heh, found a bug in fp2 repos while looking at your repos, a small typo, wondering how that didn't break anything12:34
Mister_Magistermal: what typo13:03
Mister_Magistermal: and i broke my phone xd debuggin' app now13:09
benclark06i'm getting a bunch of couldn't write 9787 to /dev/cpuset/system-background/tasks: No space left on device13:25
benclark06is that bad?13:25
malnot a problem13:44
malbenclark06: come on, that test_hwcomposer strace in your previous link is missing EGL_PLATFORM again13:45
malbenclark06: that
benclark06oh sorry13:45
malalso logcat is imporant for debugging13:46
malin case you don't know how to use it it's /usr/libexec/droid-hybris/system/bin/logcat13:46
benclark06alright, well here's strace
benclark06 and here's logcat13:48
malmake sure lipstick is not running when running test_hwcomposer13:50
benclark06how do i stop lipstick?13:51
malsystemctl stop user@100000 for example13:52
benclark06as far as i'm aware it's stopped and it still gives the same output :(13:57
mallogcat still shows "qdhwcomposer: configure: No pipes available to configure fb for dpy 0" ?13:58
maland "ServiceManager: service 'display.qservice' died"13:58
T42<elros34> benclark06:  you are still missing "SELinux:  Disabled at boot"13:58
benclark06oh right yeah that was something else i thought was weird13:58
benclark06i can't find bootparam in my defconfig when i boot13:58
malbenclark06: maybe you are missing some other option from defconfig which causes that to be removed13:59
benclark06oh oops i disabled audit14:01
benclark06mal: i've re-enabled audit and now it just won't boot14:43
benclark06as in it just doesn't do the green light and go blank it just stays on the bootlogo14:44
malwhich android base?14:47
maldo you have *_context files in straggler files?14:47
benclark06lineage 14.1 and yes14:47
benclark06oh and also here's journal
malSELinux:  Starting in permissive mode15:16
malare you sure boot param is in kernel?15:16
benclark06mal: certain, my defconfig's here
maldid you check also .config in out?15:21
benclark06aha, # CONFIG_SECURITY_SELINUX_BOOTPARAM is not set15:21
malbenclark06: that's wrong, it CONFIG_SECURITY_SELINUX_BOOTPARAM=y not SELINUX_BOOTPARAM=y15:22
malin your defconfig15:22
benclark06right, i'll fix it now15:22
malbenclark06: you never thought it looked wrong that everything else started with CONFIG_ and your line didn't?15:24
benclark06you're overestimating my ability to see patterns with three hours of sleep15:25
benclark06alright, the green light's back on15:26
benclark06and so is the backlight15:27
benclark06still no display though15:27
benclark06and test_hwcomposer still segfaults15:29
maland journal15:32
benclark06one sec15:32
T42<elros34> benclark06: check whether you have in droid-hal-$DEVICE-devel.rpm in android-config.h #define QCOM_BSP 1. Instruction for it was in faq but etherpad is dead16:22
benclark06as in inside the package?16:24
T42<elros34> sure16:24
benclark06nope, doesn't look like it does16:25
benclark06should i add it?16:25
benclark06also i made a clone of the faq wiki page on etherpad if anyone wants to use that
T42<elros34> If you have qcom device then I think so. you need to add it to droid-hal-$DEVICE.spec in android_config macro16:28
T42<elros34> I think it should be like this:
benthanks :)16:31
benoops polari randomly changed my name again16:32
malalso note that add those before the last line, not after (I mean the include at the end)16:33
malthe last line in that spec should always %include rpm/dhd/droid-hal-device.inc16:34
benclark06also when i try to build the kernel i get hybris/hybris-boot/ *** There should be a one and only one device entry for HYBRIS_DATA_PART.16:40
benclark06not important for this but idk if i'll run into it in the future16:40
malwhat did you change to make that appear now?16:41
malare you sure you ran the usual commands before running make hybris-hal?16:41
benclark06oh yeah16:41
benclark06i'm an idiot16:41
benclark06yeah i forgot to run the commands16:42
benclark06so i added all that to the device spec and built it17:42
benclark06still no gui though17:42
malyou should also rebuild middleware, maybe even remove some of the sources from hybris/mw, probably libhybris and qt5-qpa-hwcomposer-plugin at least17:43
malthen -mw17:43
malthen -m17:43
benclark06yeah i did that17:44
benclark06wait no i didn't do -m17:45
benclark06alright it's flashing18:25
benclark06yep, still no gui :(18:37
T42<elros34> so you removed hybris/mw and run without args so everything is rebuild and confirmed that defines are now added to android-config.h?18:47
benclark06oh i didn't remove mw18:49
benclark06i will do that now18:49
T42<elros34> what about android-config.h?18:50
Mister_Magistermal: going to port fp3?18:55
benclark06@elros34 yeah it's there now19:01
malMister_Magister: we'll see19:27
arunkumar413Is it possible to Port sailfish os to nexus 520:07
minimecarunkumar413: No need to port anymore. There is a full fledged port available
benclark06oh hey i didn't know there was an updated n5 port20:16
benclark06i've rebuilt everything and i still don't have any sort of gui20:18
benclark06except the backlight turns on and off every now and again20:19
benclark06^ journalctl20:20
benclark06 logcat20:21
arunkumar413CyanogenMod is no longer available20:24
benclark06 strace20:24
arunkumar413It's Lineage os these days20:24
minimecarunkumar413: The latest port for the Nexus 5 is based on CM13. Everything you need to have sailfishOS on the Nexus 5 (including a patched CM13 base) is provided in that forum post I gave you.20:28
benclark06also you can find cm13 on github if you do enough sleuthing20:38
UmeaboyHi! I'm having this problem building for the F5121 atm. I had to fork vknecht's repo as there is no loire repo for mer-hybris so that's why I forked and moved on to enter the libhybris directory like the guide for Sony Xperia X tells me to.21:19
UmeaboyEverything has been working perfectly until this step.21:19
UmeaboyHere's the full output from the start:
UmeaboyNo chance of getting a little help?22:24
UmeaboyI thought I did the right procedure, but apparently I should've cloned another repo.22:25
T42<elros34> I am not sure what do you expect, the only thing you did (besides preparing sdk environment) is clone droid-hal repo to current directory instead to rpm like in HADK. You are missing basicaly everything else.22:31
Umeaboyelros34: ls shows no rpm/ and I made sure I followed the guide step by step.22:38
T42<elros34> what guide?22:39
UmeaboyIt clearly tells you to do the steps I did.22:41
T42<elros34> that is for android 9. Your droid-hal-sony-loire is not compatible with it. Compare it with and you will notice it immediately22:41
UmeaboyI beg to differ because here's the repo I forked from:
Umeaboysuzu is the model I'm building for.22:43
Umeaboysonyxperiadev has released Pie for that model, but there's no loire repo with a pie branch for it in mer-hybris.22:47
Umeaboyelros34: You still don't agree that it's the proper repo to use? Just asking. No offence meant.23:12
T42<elros34> It's not. I remember there were discussion at mere meetings about xperia x and android 8 base. There were at least 3 people trying it but I am not sure anybody tried android 9. If you want to be first then you must do all hard work and prepare repositories, patches, kernel23:19
UmeaboyOK. So there is an existing Android 8 base?23:20
T42<elros34> I didn't build it and I don't know the details. IIRC knecht, mal and somebody else tried it android 8 (sorry if I am mix something)23:23
UmeaboyApparently there IS a branch: hybris-sony-aosp-8.1.0_r52_2019020623:23
T42<elros34> found it:

Generated by 2.17.1 by Marius Gedminas - find it at!