T42 | hensip was added by: hensip | 09:35 |
---|---|---|
T42 | <gibcheesepuffs> When I am running build_packages.sh —droid-hal (hybris-17.1, aarch64) | 10:44 |
T42 | <gibcheesepuffs> I get this error, | 10:44 |
T42 | <gibcheesepuffs> https://paste.ubuntu.com/p/KFBX3qNmzr/ | 10:44 |
mal | did make hybris-hal work without errors? | 11:48 |
T42 | <gibcheesepuffs> yes | 11:56 |
mal | wondering why is the file not in out/ | 12:43 |
T42 | <elros34> @gibcheesepuffs do you use some custom hybris-boot? Show output of make hybris-hal. | 13:06 |
T42 | <gibcheesepuffs> yes I use custom hybris-boot, I updated it and tried building again which gave me same error, so I ran make clean and trying to build hybris-hal again, I'll send it output if it fails again at building packages | 13:45 |
T42 | <elros34> make clean is little too much, you could just remove some hybris-boot/updater*intermediates directories from out/ to make sure they are rebuild when you run make hybris-hal. | 13:56 |
T42 | <edp_17> Hi all! Can I get a little help here, please? When I start my hammerhead with sfos 3.4, few seconds after the lock screen appears, the screen goes black. It is not hw failure because on sfos 3.3 it works. The os remans working because when I tap on the screen (blindly) I can start apps althought, don't see what started. I didn't find t | 14:05 |
T42 | he error in the log: https://paste.ubuntu.com/p/D7yqWZzWh9/ | 14:05 |
T42 | <edp_17> Do you have idea what is causing this behaviour? | 14:05 |
T42 | <elros34> phonehook issue? | 14:46 |
T42 | <edp_17> Looks like. What is that phonehook? | 14:48 |
T42 | <elros34> you tell me, you have it installed and it fails | 14:49 |
T42 | <edp_17> Well, I have not installed it. At least not deliberately. | 14:51 |
T42 | <edp_17> I've got it when OTA updated from 3.3 to 3.4. | 14:52 |
T42 | <elros34> pkcon is broken and it updates everything but don't install apps by itself. ANyway just remove it if you don't use | 14:53 |
T42 | <edp_17> I've quickly double checked the 3.3 install what I OTAd to 3.4 and that phonehook is installed there. | 14:55 |
T42 | <edp_17> I've found the app too. I remeber now, this is for blocking numbers. | 14:56 |
T42 | <edp_17> I thought its name was phonebook but now I see it is phonehook. Grrrrr. I try the OTA again. | 14:56 |
T42 | <edp_17> @elros34 : You know what's the best part of this? I OTAd 3.4 to 4.0 but then always stuck on the lock screen, therefore I deleted that rom. That issue also was because of this phonehook app. 😢 Once I got the OTA to 3.4 working, I'll retry the 4.0 again. | 15:02 |
T42 | <edp_17> Thanks for the help! | 15:03 |
T42 | <elros34> There was whole thread about overlay apps breaking system when upgrading to 3.4.0. | 15:05 |
T42 | <edp_17> I haven't seen that. Interestingly, few months ago, after about 10 attempts, finally, I did manage to OTA to 3.4. Unfortunately, today I messed up that rom so wanted to do the OTA again and this time it never worked. | 15:09 |
T42 | <edp_17> Do you have a link to that thread? I think better if I read now befor try the upgrade again. | 15:10 |
T42 | <elros34> https://forum.sailfishos.org/t/the-screen-goes-black-and-thats-it/2282 but there probably more similar threads. Here you can find list of apps which might be affected if they are not updated to latest version: https://github.com/elros34/sfos-moto_msm8960_jbbl-adaptation/blob/master/real-upgrade.sh#L21-L25 | 15:13 |
T42 | <edp_17> Thank you. | 15:15 |
T42 | <edp_17> @elros34 : What is the 'sys-fs-pstore.mount' that you removed in your script? In the log I posted this also errors. | 15:33 |
T42 | <elros34> for some reason that symlink wasn't removed after I have added makefstab_skip_entries /sys/fs/pstore to droid-hal spec file. | 15:35 |
T42 | <edp_17> I also have that symlink in there pointing to /lib/systemd/system/sys-fs-pstore.mount | 15:36 |
T42 | <edp_17> And there is another one that drops an error: sys-fs-cgroup-bfqio.mount | 15:37 |
T42 | <elros34> either you are missing bfqio in defconfig or maybe your kernel is too old | 15:40 |
T42 | <edp_17> Should I keep these services or remove them? | 15:41 |
T42 | <elros34> I don't know, I have never really analyzed it. If they failing either fix them or remove. There is no point keeping them if they are broken. | 15:43 |
T42 | <edp_17> Okay. I'll see after the OTA completed. | 15:44 |
T42 | <edp_17> I am just checking your upgrade.sh and real-upgrade.sh. Basically you have automated the OTA process, haven't you? | 15:46 |
T42 | <elros34> yeah I run upgrade.sh it takes care of disabling patches, checking available space and upgrading to next stop release. | 15:47 |
T42 | <edp_17> Yeah, it is neat. I do almost the same manually. Don't you mind if I grab your scripts an modify it for my devices? | 15:48 |
T42 | <elros34> sure use it at your own risk. There is also more general upgrade script at openrepos sfos-upgrade | 15:49 |
T42 | <edp_17> Thanks. I know that script but more like this one. | 15:53 |
T42 | <edp_17> Yeap, the phonehook has caused that. I removed before the OTA and the system now works. 👍 | 15:56 |
T42 | <ankaos> https://paste.ubuntu.com/p/7Xt6tjFQWr/new error :) | 16:16 |
T42 | <ankaos> hello | 16:16 |
T42 | <ankaos> mal: how can i solve it? | 16:44 |
mal | what error? | 16:55 |
T42 | <zinstack625> @ankaos can't seem to reach that paste. Mind reuploading? | 16:55 |
mal | @ankaos too new gst-droid | 16:56 |
mal | go to hybris/mw/gst-droid and run "git clean -x -f -d" and then "git reset --hard 0.20201104.0" and then check that the common/ folder in there has content, then back to $ANDROID_ROOT and run rpm/dhd/helpers/build_packages.sh -b hybris/mw/gst-droid | 16:57 |
T42 | <ankaos> mal: I downloaded it manually. i try that way | 17:24 |
T42 | <ankaos> mal: and build successfuly | 17:24 |
T42 | <ankaos> PlatformSDK [enes@enes hadk]$ rpm/dhd/helpers/build_packages.sh —gg -> build successfuly | 17:25 |
T42 | <ankaos> Warning[03/24 17:25:33] : repo problem: nothing provides gstreamer1.0-droid needed by patterns-sailfish-device-adaptation-hero2lte-1-202103240718.armv7hl, | 17:26 |
T42 | <zinstack625> @ankaos since --gg didn't compile gst-droid, do it manually with build_packages.sh -b hybris/mw/gst-droid | 17:30 |
T42 | <ankaos> @zinstack625 [@ankaos since --gg didn't compile gst-droid, d …], https://paste.ubuntu.com/p/4NN7XPBNFd/ | 17:30 |
T42 | <zinstack625> Ah, yes, need to install git in target. Do "sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper in git | 17:33 |
T42 | <ankaos> ı have `git` | 17:33 |
T42 | <ankaos> I'm like an idiot right now. | 17:35 |
T42 | <zinstack625> Probably just language barrier, don't let it bother you too much | 17:36 |
T42 | <zinstack625> Also, I have a very annoying habit of not finishing my quotes, so just ignore that for now | 17:37 |
T42 | <ankaos> I compiled on 2 devices without much error. but this forced me a lot. | 17:37 |
T42 | <ankaos> no problem. :) | 17:37 |
T42 | <ankaos> @zinstack625 [@ankaos since --gg didn't compile gst-droid, d …], finish.now? | 17:37 |
T42 | <zinstack625> Yeah, after building gst-droid, just continue building packages as if you've just built --gg | 17:38 |
T42 | <zinstack625> --version if I'm right | 17:39 |
T42 | <ankaos> @zinstack625 [Yeah, after building gst-droid, just continue …], ı use--version.than ı use —mic | 17:40 |
T42 | <ankaos> build start | 17:41 |
T42 | <K %lastname%> Wich phone supports Sailfish? Pixel only? | 18:02 |
T42 | <zinstack625> K M an interesting question to ask in a channel of people that are making sailfish work on different phones | 18:07 |
T42 | <zinstack625> I know for sure Fairphone and Oneplus 5(T) and 6 work for sure, some xiaomi phones | 18:08 |
T42 | <elros34> K not full and probably some devices lost support already but here is list of such a devices: https://wiki.merproject.org/wiki/Adaptations/libhybris | 18:12 |
T42 | <K %lastname%> Thanks | 18:17 |
T42 | <K %lastname%> No rom for mine Casper via a3 plus phone. | 18:18 |
T42 | <ankaos> (Photo, 720x1280) https://irc.thaodan.de/.imgstore/xBXBCDBU5X.png | 19:03 |
T42 | <ankaos> This is sailfishos 😂 | 19:03 |
T42 | <ankaos> device has bootloop | 19:05 |
T42 | <zinstack625> System as root? | 19:05 |
T42 | <ankaos> @zinstack625 [System as root?], no | 19:05 |
T42 | <ankaos> normaly system | 19:05 |
T42 | <zinstack625> Then see how device is recognized on host, if at all. If it's not recognized, your kconfig might be whack. What's mer-kernel-check-config says? | 19:07 |
T42 | <ankaos> @zinstack625 [Then see how device is recognized on host, if …], nothing | 19:09 |
T42 | <zinstack625> mer-kernel-check-config reports nothing? Have you just added those options to the kconfig file by hand? | 19:11 |
T42 | <zinstack625> If you have, kernel might be having trouble loading, because unresolved dependencies. Please use "ARCH=arm64 make menuconfig" when configuring | 19:12 |
T42 | <zinstack625> If your device is arm64, that is | 19:12 |
T42 | <zinstack625> Device at this stage would never show up in explorer, only device manager if you're on windows, lsusb if on linux, mac os probably has its own too | 19:13 |
T42 | <zinstack625> dmesg on linux and mac os would probably be the best | 19:14 |
T42 | <zinstack625> How soon does it reboot? | 19:15 |
T42 | <ankaos> @zinstack625 [If your device is arm64, that is], yes arm64 | 19:21 |
T42 | <ankaos> i made some bug fixes. | 19:21 |
T42 | <ankaos> @zinstack625 [Yeah, after building gst-droid, just continue …], use —gg? | 19:39 |
T42 | <ankaos> rpm/dhd/helpers/build_packages.sh —mw than rpm/dhd/helpers/build_packages.sh —vercion ı use | 19:40 |
T42 | <zinstack625> Yeah, you still need droidmedia, without it you shouldn't be able to create rootfs afaik | 19:51 |
T42 | <zinstack625> It's just that —gg pulls the newest gst-droid from git, and that's a no go for now | 19:52 |
T42 | <zinstack625> Hacking the build_packages.sh script for a minor convenience of building gst-droid yourself is an option we can bear for now | 19:52 |
T42 | <ankaos> @zinstack625 [Hacking the build_packages.sh script for a min …], Can you explain in order? | 19:54 |
T42 | <ankaos> 1. -> -b hybris/mw/gst-droid 2. -> —gg ? | 19:56 |
T42 | <zinstack625> There are lines 354-359 in that script that build gst-droid, comment those out for now | 19:56 |
T42 | <zinstack625> Run —gg afterwards, as if nothing has ever happened | 19:57 |
T42 | <zinstack625> Then -b hybris/mw/gst-droid | 19:57 |
T42 | <ankaos> @zinstack625 [Then -b hybris/mw/gst-droid], than? | 19:57 |
T42 | <zinstack625> Shouldn't matter, as those are the same step and gst-droid doesn't depend on anything from —gg I think | 19:58 |
T42 | <elros34> is that hybris-17? | 19:58 |
T42 | <zinstack625> I ran it after —gg, because it'd be the last step for me | 19:58 |
T42 | <ankaos> @elros34 [is that hybris-17?], no: hybris-14.1 | 19:59 |
T42 | <elros34> ok. Do you have any sign of usb in dmesg when you connect it to pc? How soon does it reboot? | 20:01 |
T42 | <ankaos> I'll be back soon. | 20:04 |
T42 | nikio was added by: nikio | 20:25 |
T42 | <ankaos> @elros34 [ok. Do you have any sign of usb in dmesg when …], https://paste.ubuntu.com/p/W7f3hyVKP2/ ı am back | 20:26 |
T42 | <ankaos> 3-4 second | 20:27 |
T42 | <zinstack625> Rebooting takes around 25 secs. No mer boatloader messages | 20:29 |
T42 | <ankaos> @ankaos [https://paste.ubuntu.com/p/W7f3hyVKP2/ ı am ba …], this? | 20:29 |
T42 | <zinstack625> It may be possible to connect to device in that time to at least see the init.log | 20:30 |
T42 | <ankaos> @zinstack625 [It may be possible to connect to device in tha …], Unfortunately it did not happen. | 20:31 |
T42 | <elros34> create init_enter_debug2 (I guess you already know how it works) then after reboot grab /proc/last_kmsg | 20:31 |
T42 | <ankaos> CONFIG_CMDLINE="audit=0 selinux=0" and CONFIG_SECURITY_SELINUX_BOOTPARAM=y | 20:32 |
T42 | <elros34> enabling persitent journal is also good idea | 20:33 |
T42 | <ankaos> @elros34 [enabling persitent journal is also good idea], I did not understand because I am using a translation program. | 20:34 |
T42 | <elros34> in hadk-faq 1.3 there is instruction how to do this | 20:35 |
T42 | <ankaos> 🚬 | 20:49 |
T42 | <ankaos> https://paste.ubuntu.com/p/CDrvgZzWcy/ kernel config | 20:52 |
T42 | <elros34> CONFIG_CMDLINE="audit=0 selinux=0"? It's not your first device so how about you disable selinux in boardconfig*.mk | 21:01 |
T42 | <ankaos> @elros34 [CONFIG_CMDLINE="audit=0 selinux=0"? It's not y …], Exynos does not use board config. | 21:05 |
T42 | <elros34> CONFIG_CMDLINE was empty or it had something added? | 21:06 |
T42 | <ankaos> ı add `audit=0 selinux=0` | 21:07 |
T42 | <elros34> ok so better grab dmesg/journal then it will be clear what is wrong | 21:09 |
T42 | <Дмитрий Павлов %lastname%> Fwd from Antoine: ɢᴏᴏᴅ ᴡᴏʀᴋ ᴅᴇꜱᴇʀᴠᴇꜱ ɢʀᴇᴀᴛ ʀᴇᴄᴏᴍᴍᴇɴᴅᴀᴛɪᴏɴꜱ. ɪ'ᴍ ᴀᴄᴛᴜᴀʟʟʏ ꜱᴏ ɢʟᴀᴅ ᴛᴏ ꜱʜᴀʀᴇ. ʏᴏᴜ ᴄᴀɴ ᴍᴀᴋᴇ ᴍᴀꜱꜱɪᴠᴇ ᴇᴀʀɴɪɴɢꜱ ꜰʀᴏᴍ ᴛʜᴇ ᴄᴏᴍꜰᴏʀᴛ ᴏꜰ ʏᴏᴜʀ ʜᴏᴍᴇ ʙʏ ꜱɪᴍᴘʟʏ ꜰᴏʟʟᴏᴡɪɴɢ ᴛʜᴇ ʀɪɢʜᴛ ᴘᴀʀᴛ ᴛᴏ | 22:05 |
T42 | <Дмитрий Павлов %lastname%> ᴛʜɪꜱ ɪꜱ ᴍʏ ꜰɪʀꜱᴛ ᴍᴏɴᴛʜ ᴏɴ ʜɪꜱ ᴘʟᴀᴛꜰᴏʀᴍ ᴀɴᴅ ᴛʜᴇʀᴇ ʜᴀꜱ ʙᴇᴇɴ ɴᴏ ʀᴇɢʀᴇᴛꜱ. | 22:05 |
T42 | <Дмитрий Павлов %lastname%> https://t.me/joinchat/Lv6mBKLzVas1NjU0 | 22:05 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!