Monday, 2021-12-06

Thaodanelros34 antonlx: you can use lpunpack from system/extra/partition_tools, it's in $ANDROID_ROOT/out/host/linux-x86/bin00:41
T42<elros34> he needs to mount partitions so that will probably not help unless he will package all these partitions in super00:49
Thaodanelros34: It does after lpunpack, he can use them normally as described described in the build instructions (simg2img & mount)01:25
T42<rodrisola> hello  i have a problem03:29
T42<rodrisola> https://www.toptal.com/developers/hastebin/hovagitomi.properties03:29
T42<rodrisola> because I keep getting warnings if I modify the deconfig. and added the errors and warnings03:42
T42<birdzhang> Check /home/rodrigo/hadk/droid-hal-courbet.log for full log.03:44
T42<rodrisola> droid-hal-courbet.log  ----> https://www.toptal.com/developers/hastebin/aziloneqet.sql03:55
T42<birdzhang> search ERROR keywords, fix it in your kernel defconfig, and rebuild hybris-hal03:58
T42<birdzhang> BTW, you can ignore CONFIG_NETFILTER_XT_MATCH_QTAGUID, https://github.com/mer-hybris/mer-kernel-check/commit/c9f8c33136a95821ca9f05eeaceff2111c4495da03:59
T42<rodrisola> ok04:04
T42<rodrisola> https://www.toptal.com/developers/hastebin/inufiduloz.ini04:04
T42<rodrisola> That is what makes me curious, it has already added all the warnings and errors to defconfig, but when I build the hybris-hal, and I look at the .config, it keeps telling me that I still have the warnings, I have doubts about that.04:06
Thaodanrodrisola: Comment out the check for CONFIG_NETFILTER_XT_MATCH_QTAGUID that it should be fine.04:08
T42<rodrisola> but why don't the warnings disappear if they are added to defconfig04:18
T42<rodrisola> I keep getting the same error, I added the warnings and errors to defconfig, but when compiling it doesn't process them ... I don't know why04:31
Thaodanrodrisola: Check if the .config is the same you checked04:36
T42<rodrisola> Check it (re @SailfishFreenodeIRCBridgeBot: <Thaodan>rodrisola: ...)04:44
T42<rodrisola> I keep getting an error, any ideas?05:12
T42<rodrisola> https://www.toptal.com/developers/hastebin/vadijedixu.properties05:18
T42<rodrisola> not is same05:20
T42<rodrisola> .config05:20
T42<rodrisola> but when I rebuild, the hybris-hal warnings are not removed05:21
T42<rodrisola> https://gitlab.com/sailfish-on-courbet/kernel-xiaomi-sm6150-Sailfish/-/blob/sailfishos-courbet/arch/arm64/configs/courbet_user_defconfig#L9-L6705:56
T42<rodrisola> https://www.toptal.com/developers/hastebin/xuhuzojuno.sql06:25
T42<elros34> @rodrisola: kernel configs have dependencies, for example you set SECURITY_SELINUX_BOOTPARAM but you have already disabled AUDIT which disables SECURITY_SELINUX*. I guess you use some ubports defconfig  as base so switch to regular lineage defconfig07:31
T42<rodrisola> It is the identical copy of lineage of xda, it is not at all of ubports,07:33
T42<rodrisola> Forwarded from elros34: @rodrisola: kernel configs have dependencies, for example you set SECURITY_SELINUX_BOOTPARAM but you have already disabled AUDIT which disables SECURITY_SELINUX*. I guess you use some ubports defconfig  as base so switch to regular lineage defconfig07:33
T42<elros34> hm, so regenerate it: revert all changes, make then copy .config from out to defconfig and commit.07:36
T42<elros34> then fix configs but do not follow mer-kernel-check in few cases as described here collabedit.com/kr9xx07:37
T42<rodrisola> I don't understand, are you telling me to regenerate it with the original defconfig of the lineage kernel?07:39
T42<rodrisola> ok thanks07:41
T42<elros34> no, defconfig just before your commits. According to your defconfig you have no CONFIG_AUDIT=y which is quite unusual given the fact that android use selinux. After regenerating it will be clear what options are really enabled/disabled07:41
T42<elros34> hm he advertise it as  selinux enforcing but then: https://github.com/vantoman/kernel_xiaomi_sm6150/commit/4fd033f004a1824d8a5537bca1193949ef499b2e#diff-36fbadd0a677a88a54cc7f8f7b597fa8b1f548a8b0954cbfe6e8a3a781b171fd. You might need to revert that unless hybris-18 can work without selinux but that is question to mal07:53
Mister_Magisteroh wait, i can't have Z01R on obs07:54
Mister_Magistersuch pita07:54
T42<rodrisola> I already enabled it, is that what you trying to say?08:04
T42<elros34> more or less yeah08:05
T42<rodrisola> ok, I'm building the kernel, we'll see what happens, I already added the "!" to the file and from there I build the kernel with the observation that you made me08:11
Mister_Magisterhttps://build.sailfishos.org/package/view_file/nemo:testing:hw:asus:5z/droid-hal-5z/build.script?expand=1 mal should i change armv7hl to aarch64?09:18
Mister_Magistermal: ping11:19
Mister_Magisteralso lbt ping my package is stuck at "downloading 1 dod package" https://build.sailfishos.org/package/show/nemo:testing:hw:asus:5z/qt5-feedback-haptics-native-vibrator11:22
Mister_Magisterits just stuck :<12:08
malMister_Magister: ask lbt to fix it12:29
Mister_Magistermal: i just did12:32
Mister_Magistermal: also i have some questions for you if you have time12:32
* lbt puts big stick away again12:37
Mister_Magisterlbt: <3 ma hero12:38
Mister_Magistersmack that obs12:38
malMister_Magister: what questions?12:46
Mister_Magistermal: is there any package that is no longer needed or is ther anything else wrong? https://build.sailfishos.org/project/monitor/nemo:testing:hw:asus:5z12:46
malwhich android base is that?13:04
Mister_Magistermal: 1713:05
malwhy are you using the hal versions of geoclue and sensorfw?13:06
malI mean at least you build those on obs13:06
malalso vibrator packages are not needed13:06
Mister_Magisternot sure13:07
Mister_Magistermal: they were needed with 3.4 i think so hence im asking whats not needed anymore13:07
malusually 17 base uses binder plugings which come from jolla repos13:08
malquite sure you don't need thos nci packages13:09
malnor nfcd13:09
Mister_Magisteroki13:12
Mister_Magistermal: so i sohuld remove geoclue and sensorfw packages too?13:12
Mister_Magisterand vibrator too?13:12
malyes13:13
malMister_Magister: unless you for some reason need hal versions13:13
malof sensorfw and geoclue13:13
malyou can check on device which you have in use and test the binder versions13:13
Mister_Magistermal: now version doesnt want to build13:14
Mister_Magister:<13:14
malmost of the time android 8 or newer should use binder versions13:14
malah, wait, why are you still building 4.2.0?13:16
maland not 4.3.0?13:16
Mister_Magistermal: just because13:16
Mister_Magisteri don't know what 4.3 requires and 4.2 works13:16
Mister_Magistermal: do i have to add geoclue-providers-hybris-binder?13:16
malmaybe you need it13:17
Mister_Magisteri mean droid-hal-version doesn't want to build13:17
Mister_Magisterbecause nothing provides hybris-libsensorfw-qt513:18
malso build it13:19
Mister_Magisteri just removed it13:19
Mister_Magisteryou said its not needed13:19
Mister_Magisterim confused13:20
malwell it seems to be needed for dhv to build on obs, the package is actually available on device from jolla repos but there is an issue in obs that it can't access that repo13:21
Mister_Magisterahhh okay13:21
Mister_Magisteri might be building wrong version though13:21
Mister_Magisteryeah there is hybris-libsensorfw-qt5-binder from adaptation-common13:22
Mister_Magistergeoclue as well13:23
Mister_Magisterand ye im building same version13:23
Mister_Magisterso all good13:23
Mister_Magisterwait i added geoclue not sensorfw im dumb13:23
Mister_Magistermal: speaking of 4.3, is there anything special i need for 4.3?13:30
malnot that I remember13:36
malif submodules etc are new enough13:37
Thaodanjust switch to  libngf-qt513:40
malah, that too13:40
Mister_Magisterwhats libngf-qt513:41
malreplaces one vibra package https://github.com/mlehtima/droid-config-fp2-sibon/commit/8d28813454a9943f03620034e8887b87ae4a0c0513:41
Mister_Magisterah13:41
malnote that the config is device specific, I need custom values on fp213:42
Mister_Magisterfor now ill just try to get 4.2 working13:42
moralrecordingsahoy! I see pketo isn't on the channel, is this still the place to request access to the store?13:52
moralrecordingsdevice model is "Xperia XZ1 Compact (lilac / lilac)"13:52
malmoralrecordings: the nick is Keto13:55
moralrecordingsah right13:55
moralrecordingsKeto: as above13:56
Mister_Magistermal: my droid-configs don't want to generate .ks file with packaging part14:35
Mister_Magisterand i can't figure out the reason14:38
maldoes build log tell anything?14:39
Mister_Magistermal: nothing obvious to me https://build.sailfishos.org/package/live_build_log/nemo:testing:hw:asus:5z/droid-config-5z/sailfishos_4.2.0.21/aarch6414:46
malMister_Magister: what exactly is missing?14:49
Mister_Magistermal: it doesn't include the /droid-configs-device/kickstart/pack_package-droid-updater and lacks entire %pack section14:50
Mister_Magisteralong with os-release files etc14:50
malreally? the .ks I checked in the rpms in your obs build has %pack14:51
Mister_Magisterweird14:52
malcheck the *ssu-kickstarts rpm from your obs build14:52
Mister_Magisterthen it works on obs weird14:53
Mister_Magisterill get the ks from obs and try to build zip again14:54
Mister_Magistermal: it just won't pack :/ https://paste.opensuse.org/a9d13e7815:17
maljust to be sure, have you update also sdk? not just target15:19
Mister_Magisterhmmm i've built the other 4.2 without issues but  i will try updating sdk15:19
Mister_Magistermal: sdk is on 4.2.015:22
Mister_Magisterso the version checks out15:22
malfound some issue15:22
Mister_Magisteroh?15:23
malthat "pushd: too many arguments" which means the IMG_OUT_DIR is empty or undefined15:24
malhow do you run mic build?15:26
Mister_Magistermal: https://paste.opensuse.org/0d6640fb15:27
Mister_Magisterworks fine for other devices15:28
malshould those \ be before $? I don't have those15:29
malsame for the @15:30
Mister_Magisteryeah don't mind those15:30
Mister_Magisterit works absolutely fine for other devices, as well as build_packages.sh -i work with other devices but not with this one15:31
maldoes your build env have the correct codename defined, I mean you tried to use capitalized codename before?15:32
malin the env var15:32
Mister_Magisteryeah i did but i changes all those back to 5z and i have rpm_device set to Z01R and i'm using 5z for mic15:33
malcheck "echo $DEVICE"15:34
Mister_Magister$DEVICE is set to 5z15:35
Mister_Magisterimage builds just fine same with repos and stuff15:39
Mister_Magisterit jsut won't package15:39
Mister_Magistermal: where is IMG_OUT_DIR coming from?15:40
T42<elros34> maybe space in path cause some issue? "Pack rootfs to /var/lib/jenkins/workspace/sfos zips/"15:43
Mister_Magisternah15:43
Mister_Magisterworks fine with other devices15:43
T42<elros34> maybe you could try to add --verbose --debug to mic to see why it fails and compare it with working device or set -x in ### begin 50_os-release section in ks file15:45
Mister_Magisterthanks for tips15:50
T42<elros34> I have just tried ks from obs and it created zip without error: platform sdk 4.2.0.1916:10
Mister_Magisterhere it refuses on 4.2.0.2116:11
T42<rodrisola> @elros34 look, same error16:36
T42<rodrisola> https://www.toptal.com/developers/hastebin/elagonekog.properties16:36
T42<elros34> grep for  CONFIG_DUMMY in defconfig and .config16:37
T42<rodrisola> 🆗 Ok16:39
T42<rodrisola> https://www.toptal.com/developers/hastebin/edoxehanug.rb16:45
T42<rodrisola> look in the defconfig is disable, but en .config not disable16:45
T42<elros34> strange path: ut/target/product/courbet/obj/DTBO_OBJ/.config. Shouldn't be KERNEL_OBJ instead?16:47
T42<elros34> here is the line https://github.com/mer-hybris/droid-hal-device/blob/master/droid-hal-device.inc#L41316:52
T42<rodrisola> HABUILD_SDK [courbet] rodrigo@rodrigo-MacBookPro:~/hadk$ grep -Ri  CONFIG_DUMMY out/target/product/courbet/obj/DTBO_OBJ/.config16:53
T42<rodrisola> # CONFIG_DUMMY_IRQ is not set16:53
T42<rodrisola> CONFIG_DUMMY=y16:53
T42<rodrisola> HABUILD_SDK [courbet] rodrigo@rodrigo-MacBookPro:~/hadk$ grep -Ri  CONFIG_DUMMY out/target/product/courbet/obj/DTBO_OBJ/.config16:53
T42<rodrisola> # CONFIG_DUMMY_IRQ is not set16:53
T42<rodrisola> CONFIG_DUMMY=y16:53
T42<rodrisola> HABUILD_SDK [courbet] rodrigo@rodrigo-MacBookPro:~/hadk$ grep -Ri  CONFIG_DUMMY out/target/product/courbet/obj/DTBO_OBJ/.config16:53
T42<rodrisola> # CONFIG_DUMMY_IRQ is not set16:53
T42<rodrisola> CONFIG_DUMMY=y16:53
T42<elros34> if that is your device tree then you are checking wrong defconfig in your latest paste: https://gitlab.com/sailfish-on-courbet/android_device_xiaomi_courbet/-/blob/lineage-18.1/BoardConfig.mk#L2916:57
T42<rodrisola> yes, but in courbet_user-defconfig https://www.toptal.com/developers/hastebin/cusiwavehe.rb17:09
T42<elros34> that is also wrong file, cmon. You are checking courbet__user_defconfig but your boardconfig use courbet_user_defconfig17:11
T42<rodrisola> ok17:17
T42<rodrisola> i building17:17
T42<rodrisola> https://www.toptal.com/developers/hastebin/nakerowufa.rb17:28
T42<rodrisola> i change name courbet_user_defconfig to courbet_defconfig, and change in the BoardConfig.mk17:29
T42<elros34> to confuse it more?:) Is CONFIG_DUMMY the only config which you can't change or there are more? For example toggling CONFIG_VT has any effect?17:32
T42<rodrisola> after building17:34
T42<elros34> or your incorrect change: CONFIG_SECURITY_SELINUX=n17:34
T42<elros34> also if you still did not regenerate defconfig then at least show your whole .config17:36
T42<rodrisola> https://www.toptal.com/developers/hastebin/zudigaxaca.kotlin17:37
T42<rodrisola> config_security_selinux is n, https://gitlab.com/sailfish-on-courbet/kernel-xiaomi-sm6150-Sailfish/-/blob/sailfishos-courbet/arch/arm64/configs/courbet_defconfig#L6617:38
T42<rodrisola> config not change, for example https://gitlab.com/sailfish-on-courbet/kernel-xiaomi-sm6150-Sailfish/-/blob/sailfishos-courbet/arch/arm64/configs/courbet_defconfig#L4417:40
T42<rodrisola> HABUILD_SDK [courbet] rodrigo@rodrigo-MacBookPro:~/hadk$ hybris/mer-kernel-check/mer_verify_kernel_config ./out/target/product/$DEVICE/obj/DTB_OBJ/.config17:40
T42<rodrisola> WARNING: CONFIG_NFS_COMMON is invalid17:40
T42<rodrisola> It is unset17:40
T42<rodrisola> Allowed values : y, !17:40
T42<rodrisola> Comment says: optional, for NFS support17:40
T42<elros34> who cares about nfs, change something relevant like mentioned config_security_selinux to finally confirm that you really use correct defconfig (re @rodrisola: config_security_seli...)17:41
T42<elros34> ah did not notice so you finally figure out it and CONFIG_DUMMY is disabled in your latest paste. So what was the issue, wrong file?17:45
T42<foxclore> Hello, can you help please? There is a build fail on 100%, https://pastebin.com/mEaDTECZ17:46
T42<foxclore> Where to look for the more detailed error message?17:46
Thaodanfoxclore: try piggz channel grep to see if the issue happened to someone else before (it did)17:47
malalso more information needed, which android base?17:48
T42<foxclore> Im sorry, whats piggz? (re @SailfishFreenodeIRCBridgeBot: <Thaodan>foxclore: t...)17:56
Mister_Magisterperson17:57
ThaodanTry ./whois piggz17:57
Mister_Magisterlets ping-spam piggz17:58
Mister_Magistersadly he's not here17:58
ThaodanMister_Magister: Only when pigzz can fly17:58
T42<elros34> @foxclore you will find link to channel search page in link you got yesterday18:01
T42<rodrisola> No, rename the defconfig file on the board*. Mk, when I rebuilt, appeared to me rebuilding board*.mk (re @elros34: ah did not notice so...)18:03
Mister_Magisterhmmm it fails to go into setupwizard :,18:19
Mister_Magister:<18:19
Mister_Magisterdang telnet is not running18:20
T42<rodrisola> @elros34 https://www.toptal.com/developers/hastebin/samulaqoci.sql18:47
T42<rodrisola> @elros34 not change in the. Config18:48
T42<rodrisola> .config18:48
T42<elros34> to avoid another guess game, please show output of make hybris-hal after you made the change than also whole .config18:51
ThaodanI really should setup a fact bot and make it point to hadk faq18:55
T42<elros34> hadk-faq should be linked in HADK pdf before 5.4 section which tells you to make hybris-hal but of course it will fail because hybris patches19:00
Mister_Magisterha, 4.2 didn't boot to gui but 4.3 did19:31
Mister_Magisterwifi works audio works, very nice, even19:35
Mister_Magisteroh mal even vibrations work without config19:35
malI assume there is probably some default19:36
Mister_Magisteri just have to fix camera now19:36
malhow does it fail?19:37
Mister_Magisteri have to check the logs yet19:37
Mister_Magisternone of the mini* are running19:43
Mister_Magistermal: services: gatekeeperd tombstoned vendor.ipacm time_daemon minimedia minisf keystore are failing19:44
Mister_Magisterwhiletombstoned and time_daemon i know are not needed i'm not so sure about the other ones19:45
Mister_MagisterCANNOT LINK EXECUTABLE "/usr/libexec/droid-hybris/system/bin/minimediaservice": library "libandroidicu.so" not found19:45
Mister_Magistermal: that seems to be culprit19:45
ThaodanMister_Magister: see here https://github.com/Thaodan/droid-config-sony-kumano/tree/master/sparse/system19:46
T42<b100dian> Try linking it from /odm/lib6419:46
Mister_Magisteri don't have odm19:46
Mister_MagisterThaodan: /apex?19:47
Mister_Magisterlol i have that one19:47
Mister_Magisterthank19:47
Mister_Magisterwhatever that is19:47
ThaodanMister_Magister: Packaging for Android basicly19:47
Mister_Magisterhuh19:47
Mister_Magisterweird19:48
Thaodanallows replacing of components from /system19:48
Thaodancomplicated because they deal with read only /system19:48
Mister_Magistermhm19:49
Mister_MagisterThaodan: i added symlinks to /usr/libexec/droid-hybris/system/lib/ and lib64 but it doesn't pick them up :/19:49
ThaodanMister_Magister: From /usr to /system?19:50
Mister_MagisterThaodan: what19:50
ThaodanMister_Magister:The symlink goes from /usr/libexec to /system19:51
Mister_Magisterbut i don't have those files in /usr/libexec19:51
Mister_Magisterand also /system is mounted so i can't deploy symlinks there19:51
malMister_Magister: why are you not using the /odm way?19:51
Mister_Magistermal: what is odm way19:51
malhttps://github.com/mlehtima/droid-config-fp3/tree/master/sparse/odm/19:52
Mister_Magistermal: cause noone told me about it19:52
malit was mentioned already19:52
Mister_Magisterwell not really19:53
mal"Try linking it from /odm/lib64"19:54
Mister_Magisterand i answered that i don't have odm so i can't link it from there19:54
Mister_Magisterit doesn't really mention putting symlinks in /odm19:54
malwell you could have asked19:54
Mister_Magisterit doesn't matter now anyway19:55
Mister_Magistergot the two minis running19:59
Mister_Magisterdroid-camres says Camres error: Failed to create an instance of droidcamsrc.20:00
maldo you have correct droid-camres version20:01
Mister_Magisteri just installed one from adaptation-community-common 1.2.3-1.10.1.jolla20:02
Mister_Magisteris it too old?20:02
Mister_Magisterhttps://github.com/mlehtima/droid-camres/tree/multi-cam should i use this one?20:07
Mister_Magisterneither the one from adaptation-community-common nor 1.2.4 nor your multi-cam work20:10
Mister_Magistermal: is there some other version i should use?20:16
T42<foxclore> Sorry i dont quite follow (re @elros34: @foxclore you will f...)20:17
T42<elros34> I meant collabedit.com/kr9xx20:18
T42<foxclore> thanks! (re @elros34: I meant collabedit.c...)20:20
T42<elros34> then in general info section you can find: https://piggz.co.uk/sailfishos-porters-archive/index.php20:20
Mister_Magisterhmm no such element factory "droidcamsrc"!20:21
Mister_Magisterdoesn't sound good20:21
Mister_Magisterjolla-camera screams no such element factory "droideglsink"!20:22
Mister_Magisterits like gstdroid is missing20:22
maltry removing gst cache20:23
malsomewhere under .cache/20:23
Mister_Magisterah that did the trick20:23
Mister_Magisterwell not really but it did change output20:24
Mister_Magistermal: https://paste.opensuse.org/b034beee20:24
Mister_Magistertoo old droidmedia maybe?20:25
malnot sure20:25
Mister_Magistermhm i have 0.20210702.0 and i should have at least 0.20210818.020:26
Mister_Magisteryep, that did the trick20:54
Mister_Magister@elros34 verbose mic unfortunately doesn't add anything verbose to packing part21:15
Mister_Magisterhmm actdead doesn't work21:15
Mister_Magistermal: do i need any of gatekeeperd, keystore, tombstoned, vendor.ipacm?22:21
malnot sure, depends on if fingerprint support need either of the first ones22:23
Mister_Magisterwell they're crashing and fingerprint is working except that i loose fingerprints upon reboot22:23
Mister_Magistermal: also there was some patch or something for wifi suspend on xperias?22:25
Mister_Magisteri remember applying it in 5z22:25
Mister_Magisterugh i just can't disable the time_daemon22:31
maldid you add override to the service definition you added22:34
Mister_Magisteroops i did not22:35
Mister_Magisterhow should the override look like?22:35
Mister_Magisterah its property22:36
malI mean just "override"22:39
mallike here https://github.com/mlehtima/droid-config-fp3/blob/master/sparse/usr/libexec/droid-hybris/system/etc/init/overrides.rc22:39
Mister_Magisteryeah22:39
Mister_Magisteri looked into /vendor for example seems to be fine now thanks22:40
Mister_Magisternow i gotta add the hacks before i forget22:41
Mister_Magisterthen i just need to figure out recording and persistent fingerprint22:46
Mister_Magistermal: whats this for https://github.com/mlehtima/droid-config-fp3/blob/master/sparse/odm/etc22:51
malI don't remember exactly23:01
Mister_Magistermal: anything immedietaly wrong? https://github.com/VerdandiTeam/droid-config-5z/commit/34b2fbf9a8288a8a85632f99c401a03ec909239d23:03
malwhy do you have that connman config?23:18
maland what did you do to that udev rule set?23:18
Mister_Magistermal: to disable wlan123:18
Mister_Magistermal: https://github.com/mer-hybris/hadk-faq/blob/master/README.rst#bootctl-fixes-operation-not-permitted23:18
Mister_Magisterhmm i can't figure out the partitions issue23:22
Mister_Magistermal: despite this https://github.com/VerdandiTeam/nemo-qml-plugin-systemsettings i still see internal partitions in settings :/23:27
T42<rodrisola> They are applied, but What I want is to rebuild from scratch, one last attempt, what is the command to delete the Make? (re @elros34: hadk-faq should be l...)23:28
T42<elros34> That was answer to somebody else. I see not reason to rebuild but if you want then make clean or remove out/ or instead provide what I asked23:31
Mister_Magisterwow with piggz's advanced cam i can use my wide angle cam ootb23:36
Mister_Magisterbut still recording is broken eh23:37

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