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) https://irc.thaodan.de/.imgstore/90ro3Yu6bK.png 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 192.168.2.15 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
benclark06https://bin.disroot.org/?c540f76c4fd596ef#RB0OE+qeCLsznQcCsxDB/OQ5xVuavIYFDsGr63wIBC4= 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 https://wiki.merproject.org/wiki/Adaptations/faq-hadk#So_you_booted_your_Sailfish_OS.3F_Congrats.21_No_GUI.3F_Oh_dear_:.29 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) https://irc.thaodan.de/.imgstore/VuiaBlujAK.null11:45
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
Mister_Magistersilence11: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
malhmm11: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 https://bin.disroot.org/?3c3cebedddf3e2d5#SMKgqLdZHUuPciLAHBnHDEy3Rg+3uw1hWIog+TWrNlw=11:55
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: https://bin.disroot.org/?076760e88f81a895#dHwI9uO7yyOREy4mUhbL9GPesqJujGruKbg0m+FvrBE= hwcomposer logs: https://bin.disroot.org/?3c3cebedddf3e2d5#SMKgqLdZHUuPciLAHBnHDEy3Rg+3uw1hWIog+TWrNlw=12:26
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
Mister_Magistertesting12: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
malMister_Magister: https://github.com/mlehtima/droid-hal-version-fp2-sibon/commit/6a2e2dc50a0f1efd74aefb7efd040043b8f6c46e13:04
Mister_Magisterheh13:04
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 https://bin.disroot.org/?3c3cebedddf3e2d5#SMKgqLdZHUuPciLAHBnHDEy3Rg+3uw1hWIog+TWrNlw=13:45
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 https://bin.disroot.org/?7d39b2ea62c676b1#S59WzcZlj0xFDrg+KfG8zrwcktTWDm7yJqy2d8I3EpA=13:47
benclark06https://bin.disroot.org/?17e6666be48b506a#amSBeq7ZbsU/Sbvs2lIhy7xzQy0Yx9QG3GVg6FDymHw= 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 https://bin.disroot.org/?9c84dce5714c3bf7#odFdwcyGFfUM9gi6f0HrNywNHNI5WayWIjTsZRv9Bk8=15:09
malSELinux:  Starting in permissive mode15:16
malare you sure boot param is in kernel?15:16
benclark06mal: certain, my defconfig's here https://bin.disroot.org/?bdfed0825667bdc9#HtezIxQ7FVzwsFVCwuKsB58np9fhLoDsSy9aDnEClVI=15:20
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
benclark06https://bin.disroot.org/?8a410f02f8c09a43#jW6Mi1YXO5vV6Xt8QP90IiL7XXmfxymQXOko7Y0ZYbY=15:30
mallogcat15:31
maland journal15:32
benclark06one sec15:32
benclark06logcat https://bin.disroot.org/?729c142f50069377#ud2Q89UMMImYHR/sp2KE3igYdcse+fLt0GPzUysvi6U=15:33
benclark06journal https://bin.disroot.org/?65277a5a99336574#+tIOfSEOx8BXVfvR5igqbyWkQRy4mBRE2TCCwzhK+GI=15:33
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 https://pad.disroot.org/p/faq-hadk16:28
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
benclark06alright16:28
T42<elros34> I think it should be like this: https://pastebin.com/UYfb2dbr16:31
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
benclark06alright16:40
benclark06also when i try to build the kernel i get hybris/hybris-boot/Android.mk:75: *** 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 build_packages.sh -mw17:43
malthen build_packages.sh -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 build_packages.sh 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 https://talk.maemo.org/showthread.php?t=9937720:15
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
benclark06https://bin.disroot.org/?f49daed900ba4ac5#l79ExcKMvnyPyWutUKs7fzKo8BCXmFNVBdccJYvfkEY=20:20
benclark06^ journalctl20:20
benclark06https://bin.disroot.org/?d691d573f833f6bb#+n7QekCse+opzjQXXXlv8o0hx7MMr6tdRSP+ryFyokk= logcat20:21
arunkumar413CyanogenMod is no longer available20:24
benclark06https://bin.disroot.org/?5d221b067747acc0#JiTeEN/cZNlEETyHMuHLoPP6wp8WLQ0sA5mJJsVuovM= 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: http://dpaste.com/1WTYAMB21:19
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
Umeaboyelros34: https://sailfishos.org/wiki/Sailfish_X_Xperia_Android_9_Build_and_Flash22: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 https://github.com/mer-hybris/droid-hal-sony-ganges-pie and you will notice it immediately22:41
UmeaboyI beg to differ because here's the repo I forked from: https://github.com/vknecht/droid-hal-sony-loire22:42
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: http://www.merproject.org/logs/%23mer-meeting/%23mer-meeting.2019-07-11.log.html#t2019-07-11T08:50:1223:27

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