rinigus | kimmoli: 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 logs | 06:18 |
---|---|---|
T42 | <ArixElo> hi, i'm back with the j5nlte and it's problem with booting sfos | 07:58 |
T42 | <ArixElo> i can't take dmesg | 07: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 afters | 08: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> nope | 10:01 |
mal | does host dmesg show any usb related messages when you have the device connected? | 10:02 |
mal | which device and android base? | 10:03 |
benclark06 | ok i got a green light now | 10:51 |
benclark06 | no display so far tho | 10:51 |
benclark06 | but hey that's progress | 10:51 |
benclark06 | yeah failed to start lipstick ui | 10:54 |
benclark06 | https://bin.disroot.org/?c540f76c4fd596ef#RB0OE+qeCLsznQcCsxDB/OQ5xVuavIYFDsGr63wIBC4= full journal if anyone wants to take a look | 10:54 |
T42 | <elros34> looks like you didn't enable SELINUX_BOOTPARAM in defconfig like explained in mer-kernel-check, confirm via: zcat /proc/config.gz | 11:07 |
benclark06 | it's not in there as far as i can see | 11:09 |
benclark06 | oops yeah i did | 11:09 |
benclark06 | alright i'll rebuild now | 11:09 |
T42 | <elros34> you only need to make hybris-boot and flash it | 11:10 |
benclark06 | alright :) | 11:11 |
benclark06 | in 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 |
benclark06 | sorry for a dumb question | 11:27 |
T42 | <elros34> it's /init-debug but don't touch it | 11:29 |
benclark06 | oh okay | 11:30 |
T42 | <elros34> mask user service: ln -s /dev/null /etc/systemd/system/user@100000.service and then you can use test_hwcomposer or minimer | 11:31 |
benclark06 | i get Segmentation fault | 11:32 |
benclark06 | and also when i run minimer i get sh: minimer: command not found | 11:36 |
Mister_Magister | mal: ping i have problem when i pull down menu it freezes app for a while and then works but no sound on menu or vibrations | 11:42 |
kimmoli | restart ngfd | 11:42 |
Mister_Magister | ngfd is working. last time changing to native-vibrator i thought it's gonna fix it but it didn't | 11:42 |
Mister_Magister | kimmoli: that isn't fix | 11:42 |
kimmoli | ok, you have that all the time? i hit it just sometimes, once in two months | 11:43 |
kimmoli | after long uptime | 11:44 |
Mister_Magister | i hit it 1-5 days after reboot | 11:44 |
Mister_Magister | annoying if you set alarm and it breaks in the night and doesn't wake you up so you loose your job and become homeless | 11:44 |
T42 | <elros34> (Document) https://irc.thaodan.de/.imgstore/VuiaBlujAK.null | 11:45 |
T42 | <elros34> benclark06: link for minimer in faq is dead | 11:45 |
T42 | <elros34> download and rename it to minimer.tar.gz ^ | 11:47 |
mal | Mister_Magister: do you see anything in dmesg or journal when that happens? | 11:49 |
Mister_Magister | mal: nope tried to get any logs when app hangs but nope nothing at all | 11:49 |
Mister_Magister | silence | 11:49 |
mal | I have never seen that issue myself, at least cannot remember seeing it | 11:50 |
Mister_Magister | i hoped changing to native would work but nope | 11:50 |
mal | Mister_Magister: I don't quite understand how that affects alarms? | 11:51 |
Mister_Magister | no sound or vibration from alarm | 11:52 |
mal | but does the alarm work otherwise i.e. do you see it activating in logs? | 11:52 |
Mister_Magister | i see alarm screen sure | 11:52 |
mal | hmm | 11:52 |
mal | quite odd | 11:53 |
Mister_Magister | that's second phone this is happening so not really odd | 11:53 |
mal | so nothing at all in logs when that happens, even in logcat? | 11:53 |
Mister_Magister | you mean that happens when it stops workig or when app hangs? | 11:54 |
benclark06 | whenever 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 |
mal | Mister_Magister: both cases | 11:57 |
Mister_Magister | when it happens it's random so dunno fi there is something but when app hangs nope. i even tried stracing app and nothing | 11:58 |
mal | benclark06: it's "EGL_PLATFORM=hwcomposer test_hwcomposer" | 11:59 |
benclark06 | oh oops | 11:59 |
benclark06 | i'll try that again | 11: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 |
mal | benclark06: if you want to use strace with that just add strace in the middle of that command before test_hwcomposer | 11:59 |
benclark06 | it still segfaults :( | 12:00 |
benclark06 | ok now the backlight is just turning off and then on again | 12:02 |
mal | benclark06: new logs, logcat and journal | 12:22 |
benclark06 | sure, one second | 12:22 |
Mister_Magister | mal: so my mission is to debug it somehow? | 12:22 |
mal | Mister_Magister: would be nice to try to see if something is in logs when either of the issues happen | 12:22 |
Mister_Magister | in app nothing but i will try checking logs after i wake up late to work | 12:23 |
mal | I had some odd alarm issues on some device, there was some time jump in logs which caused it to miss the alarm | 12:24 |
Mister_Magister | nah alarn shows okay | 12:24 |
Mister_Magister | but it's like menu options | 12:24 |
Mister_Magister | no vibrations or sound allowed | 12:24 |
Mister_Magister | untill you restart ngfd | 12:24 |
mal | Mister_Magister: do you have those built on OBS? | 12:25 |
Mister_Magister | sure the phone is victara | 12:25 |
mal | was the issue on latest sfos or which release? | 12:25 |
benclark06 | mal: journal: https://bin.disroot.org/?076760e88f81a895#dHwI9uO7yyOREy4mUhbL9GPesqJujGruKbg0m+FvrBE= hwcomposer logs: https://bin.disroot.org/?3c3cebedddf3e2d5#SMKgqLdZHUuPciLAHBnHDEy3Rg+3uw1hWIog+TWrNlw= | 12:26 |
Mister_Magister | it is on latest | 12:26 |
Mister_Magister | was on previous aswell | 12:26 |
mal | Mister_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 |
mal | Mister_Magister: is that devel or testing repos you are using=? | 12:28 |
Mister_Magister | testing | 12:28 |
*** ahjolinna_ is now known as ahjolinna | 12:33 | |
mal | Mister_Magister: heh, found a bug in fp2 repos while looking at your repos, a small typo, wondering how that didn't break anything | 12:34 |
Mister_Magister | mal: what typo | 13:03 |
mal | Mister_Magister: https://github.com/mlehtima/droid-hal-version-fp2-sibon/commit/6a2e2dc50a0f1efd74aefb7efd040043b8f6c46e | 13:04 |
Mister_Magister | heh | 13:04 |
Mister_Magister | mal: and i broke my phone xd debuggin' app now | 13:09 |
benclark06 | i'm getting a bunch of couldn't write 9787 to /dev/cpuset/system-background/tasks: No space left on device | 13:25 |
benclark06 | is that bad? | 13:25 |
mal | not a problem | 13:44 |
mal | benclark06: come on, that test_hwcomposer strace in your previous link is missing EGL_PLATFORM again | 13:45 |
mal | benclark06: that https://bin.disroot.org/?3c3cebedddf3e2d5#SMKgqLdZHUuPciLAHBnHDEy3Rg+3uw1hWIog+TWrNlw= | 13:45 |
benclark06 | oh sorry | 13:45 |
mal | also logcat is imporant for debugging | 13:46 |
mal | in case you don't know how to use it it's /usr/libexec/droid-hybris/system/bin/logcat | 13:46 |
benclark06 | alright, well here's strace https://bin.disroot.org/?7d39b2ea62c676b1#S59WzcZlj0xFDrg+KfG8zrwcktTWDm7yJqy2d8I3EpA= | 13:47 |
benclark06 | https://bin.disroot.org/?17e6666be48b506a#amSBeq7ZbsU/Sbvs2lIhy7xzQy0Yx9QG3GVg6FDymHw= and here's logcat | 13:48 |
mal | make sure lipstick is not running when running test_hwcomposer | 13:50 |
benclark06 | how do i stop lipstick? | 13:51 |
mal | systemctl stop user@100000 for example | 13:52 |
benclark06 | as far as i'm aware it's stopped and it still gives the same output :( | 13:57 |
mal | logcat still shows "qdhwcomposer: configure: No pipes available to configure fb for dpy 0" ? | 13:58 |
mal | and "ServiceManager: service 'display.qservice' died" | 13:58 |
T42 | <elros34> benclark06: you are still missing "SELinux: Disabled at boot" | 13:58 |
benclark06 | oh right yeah that was something else i thought was weird | 13:58 |
benclark06 | i can't find bootparam in my defconfig when i boot | 13:58 |
mal | benclark06: maybe you are missing some other option from defconfig which causes that to be removed | 13:59 |
benclark06 | oh oops i disabled audit | 14:01 |
benclark06 | mal: i've re-enabled audit and now it just won't boot | 14:43 |
benclark06 | as in it just doesn't do the green light and go blank it just stays on the bootlogo | 14:44 |
mal | which android base? | 14:47 |
mal | do you have *_context files in straggler files? | 14:47 |
benclark06 | lineage 14.1 and yes | 14:47 |
benclark06 | oh and also here's journal https://bin.disroot.org/?9c84dce5714c3bf7#odFdwcyGFfUM9gi6f0HrNywNHNI5WayWIjTsZRv9Bk8= | 15:09 |
mal | SELinux: Starting in permissive mode | 15:16 |
mal | are you sure boot param is in kernel? | 15:16 |
benclark06 | mal: certain, my defconfig's here https://bin.disroot.org/?bdfed0825667bdc9#HtezIxQ7FVzwsFVCwuKsB58np9fhLoDsSy9aDnEClVI= | 15:20 |
mal | did you check also .config in out? | 15:21 |
benclark06 | aha, # CONFIG_SECURITY_SELINUX_BOOTPARAM is not set | 15:21 |
mal | benclark06: that's wrong, it CONFIG_SECURITY_SELINUX_BOOTPARAM=y not SELINUX_BOOTPARAM=y | 15:22 |
mal | in your defconfig | 15:22 |
benclark06 | right, i'll fix it now | 15:22 |
mal | benclark06: you never thought it looked wrong that everything else started with CONFIG_ and your line didn't? | 15:24 |
benclark06 | you're overestimating my ability to see patterns with three hours of sleep | 15:25 |
benclark06 | alright, the green light's back on | 15:26 |
benclark06 | and so is the backlight | 15:27 |
benclark06 | still no display though | 15:27 |
benclark06 | and test_hwcomposer still segfaults | 15:29 |
benclark06 | https://bin.disroot.org/?8a410f02f8c09a43#jW6Mi1YXO5vV6Xt8QP90IiL7XXmfxymQXOko7Y0ZYbY= | 15:30 |
mal | logcat | 15:31 |
mal | and journal | 15:32 |
benclark06 | one sec | 15:32 |
benclark06 | logcat https://bin.disroot.org/?729c142f50069377#ud2Q89UMMImYHR/sp2KE3igYdcse+fLt0GPzUysvi6U= | 15:33 |
benclark06 | journal 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 dead | 16:22 |
benclark06 | as in inside the package? | 16:24 |
T42 | <elros34> sure | 16:24 |
benclark06 | nope, doesn't look like it does | 16:25 |
benclark06 | should i add it? | 16:25 |
benclark06 | also i made a clone of the faq wiki page on etherpad if anyone wants to use that https://pad.disroot.org/p/faq-hadk | 16: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 macro | 16:28 |
benclark06 | alright | 16:28 |
T42 | <elros34> I think it should be like this: https://pastebin.com/UYfb2dbr | 16:31 |
ben | thanks :) | 16:31 |
ben | oops polari randomly changed my name again | 16:32 |
mal | also note that add those before the last line, not after (I mean the include at the end) | 16:33 |
mal | the last line in that spec should always %include rpm/dhd/droid-hal-device.inc | 16:34 |
benclark06 | alright | 16:40 |
benclark06 | also 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 |
benclark06 | not important for this but idk if i'll run into it in the future | 16:40 |
mal | what did you change to make that appear now? | 16:41 |
mal | are you sure you ran the usual commands before running make hybris-hal? | 16:41 |
benclark06 | oh yeah | 16:41 |
benclark06 | i'm an idiot | 16:41 |
benclark06 | yeah i forgot to run the commands | 16:42 |
benclark06 | so i added all that to the device spec and built it | 17:42 |
benclark06 | still no gui though | 17:42 |
mal | you should also rebuild middleware, maybe even remove some of the sources from hybris/mw, probably libhybris and qt5-qpa-hwcomposer-plugin at least | 17:43 |
mal | then build_packages.sh -mw | 17:43 |
mal | then build_packages.sh -m | 17:43 |
benclark06 | yeah i did that | 17:44 |
benclark06 | wait no i didn't do -m | 17:45 |
benclark06 | alright it's flashing | 18:25 |
benclark06 | yep, 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 |
benclark06 | oh i didn't remove mw | 18:49 |
benclark06 | i will do that now | 18:49 |
T42 | <elros34> what about android-config.h? | 18:50 |
Mister_Magister | mal: going to port fp3? | 18:55 |
benclark06 | @elros34 yeah it's there now | 19:01 |
mal | Mister_Magister: we'll see | 19:27 |
arunkumar413 | Is it possible to Port sailfish os to nexus 5 | 20:07 |
minimec | arunkumar413: No need to port anymore. There is a full fledged port available https://talk.maemo.org/showthread.php?t=99377 | 20:15 |
benclark06 | oh hey i didn't know there was an updated n5 port | 20:16 |
benclark06 | i've rebuilt everything and i still don't have any sort of gui | 20:18 |
benclark06 | except the backlight turns on and off every now and again | 20:19 |
benclark06 | https://bin.disroot.org/?f49daed900ba4ac5#l79ExcKMvnyPyWutUKs7fzKo8BCXmFNVBdccJYvfkEY= | 20:20 |
benclark06 | ^ journalctl | 20:20 |
benclark06 | https://bin.disroot.org/?d691d573f833f6bb#+n7QekCse+opzjQXXXlv8o0hx7MMr6tdRSP+ryFyokk= logcat | 20:21 |
arunkumar413 | CyanogenMod is no longer available | 20:24 |
benclark06 | https://bin.disroot.org/?5d221b067747acc0#JiTeEN/cZNlEETyHMuHLoPP6wp8WLQ0sA5mJJsVuovM= strace | 20:24 |
arunkumar413 | It's Lineage os these days | 20:24 |
minimec | arunkumar413: 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 |
benclark06 | also you can find cm13 on github if you do enough sleuthing | 20:38 |
Umeaboy | Hi! 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 |
Umeaboy | Everything has been working perfectly until this step. | 21:19 |
Umeaboy | Here's the full output from the start: http://dpaste.com/1WTYAMB | 21:19 |
Umeaboy | No chance of getting a little help? | 22:24 |
Umeaboy | I 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 |
Umeaboy | elros34: ls shows no rpm/ and I made sure I followed the guide step by step. | 22:38 |
T42 | <elros34> what guide? | 22:39 |
Umeaboy | elros34: https://sailfishos.org/wiki/Sailfish_X_Xperia_Android_9_Build_and_Flash | 22:39 |
Umeaboy | It 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 immediately | 22:41 |
Umeaboy | I beg to differ because here's the repo I forked from: https://github.com/vknecht/droid-hal-sony-loire | 22:42 |
Umeaboy | suzu is the model I'm building for. | 22:43 |
Umeaboy | sonyxperiadev has released Pie for that model, but there's no loire repo with a pie branch for it in mer-hybris. | 22:47 |
Umeaboy | elros34: 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, kernel | 23:19 |
Umeaboy | OK. 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 |
Umeaboy | Apparently there IS a branch: hybris-sony-aosp-8.1.0_r52_20190206 | 23:23 |
T42 | <elros34> found it: http://www.merproject.org/logs/%23mer-meeting/%23mer-meeting.2019-07-11.log.html#t2019-07-11T08:50:12 | 23:27 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!