Saturday, 2021-05-15

T42Balraj %lastname% was added by: Balraj %lastname%02:44
T42<Balraj %lastname%> Hello All02:46
T42<Balraj %lastname%> lately Im working on porting samsung note 4 SM-N910C for ubports and trying to build systemimage02:47
T42<Balraj %lastname%> Im facing this error02:47
T42<Balraj %lastname%> raceback (most recent call last):02:47
T42<Balraj %lastname%>   File "external/nanopb-c/generator/nanopb_generator.py", line 29, in <module>02:47
T42<Balraj %lastname%>     import proto.nanopb_pb2 as nanopb_pb202:47
T42<Balraj %lastname%>   File "/home/sam/halium/external/nanopb-c/generator/proto/nanopb_pb2.py", line 155, in <module>02:47
T42<Balraj %lastname%>     google.protobuf.descriptor_pb2.FileOptions.RegisterExtension(nanopb_fileopt)02:47
T42<Balraj %lastname%> AttributeError: type object 'FileOptions' has no attribute 'RegisterExtension'02:47
T42<Balraj %lastname%> --nanopb_out: protoc-gen-nanopb: Plugin failed with status code 1.02:47
T42<Balraj %lastname%> relevant code in the error file02:48
T42<Balraj %lastname%> nanopb_fileopt.message_type = _NANOPBOPTIONS02:48
T42<Balraj %lastname%> google.protobuf.descriptor_pb2.FileOptions.RegisterExtension(nanopb_fileopt)02:48
T42<Balraj %lastname%> nanopb_msgopt.message_type = _NANOPBOPTIONS02:48
T42<Balraj %lastname%> google.protobuf.descriptor_pb2.MessageOptions.RegisterExtension(nanopb_msgopt)02:48
T42<Balraj %lastname%> nanopb_enumopt.message_type = _NANOPBOPTIONS02:48
T42<Balraj %lastname%> google.protobuf.descriptor_pb2.EnumOptions.RegisterExtension(nanopb_enumopt)02:48
T42<Balraj %lastname%> nanopb.message_type = _NANOPBOPTIONS02:48
T42<Balraj %lastname%> google.protobuf.descriptor_pb2.FieldOptions.RegisterExtension(nanopb)02:48
T42<Balraj %lastname%> # @@protoc_insertion_point(module_scope)02:48
T42<A_T_R> I am facing flashing sfos.zip error 7 ,02:51
T42<A_T_R> I know it is related with tar which fails flashing , any solution to this ?02:51
T42<A_T_R> Fwd from Herrie1982: Yes see https://github.com/webOS-ports/android-update-package/commit/ad157df224ddc6ece8d641309c8c4b606c7650b402:53
T42<A_T_R> How to use this busybox02:53
T42<A_T_R> conig - https://pastebin.ubuntu.com/p/Gpdjfg9rBg/04:47
T42<A_T_R> dmesg - https://pastebin.ubuntu.com/p/pXQg54xFZ4/04:47
T42<A_T_R> hybris-17.1 stuck at oem logo04:47
T42<A_T_R> help please04:47
T42<b100dian> Q: there are 6 selinux disablement patches in hybris-patches: https://github.com/search?q=repo%3Amer-hybris%2Fhybris-patches+filename%3A*selinux*&type=Code&ref=advsearch&l=&l=11:44
T42<b100dian> I found a missing /dev/cgroup_info/cgroup.rc because of ```+#if DISABLED_FOR_HYBRIS_SUPPORT11:44
T42<b100dian>      make_dir(android::base::Dirname(CGROUPS_RC_PATH), 0711);```11:44
T42<b100dian> should I revert them all?11:45
malwhat issue are you trying to fix?11:45
T42<A_T_R> picked 3 commits about selinux and ld.conig.29.txt to droid-conigs (stuck at logo ), now it is stuck at logo and telnet is not connecting11:47
T42<A_T_R> https://github.com/SailfishOS-sagit/droid-config-sagit/commit/d2b7890ac47b03c796af0f4aa8a1a8cb6ac4249411:47
T42<A_T_R> https://github.com/SailfishOS-sagit/droid-config-sagit/tree/hybris-17.1/sparse/etc/selinux11:48
T42<b100dian> mal: I have an error pointing to missing /dev/cgroup_info/cgroup.rc in logs11:48
T42<b100dian> this is also one of the processes that crashes with stack corruption11:49
malshow full logs11:49
mal@A_T_R if that is hybris-17.1 based do you have selinux enabled11:50
T42<A_T_R> yes hybris-17.111:51
T42<A_T_R> Aboothahir | hybris-17.1, [15.05.21 10:17]11:51
T42<A_T_R> config - https://pastebin.ubuntu.com/p/Gpdjfg9rBg/11:51
T42<A_T_R> help please11:51
T42<A_T_R> audit=0 selinux=111:51
T42<b100dian> @A_T_R sometimes I have to ifconfig the usb interface to 192.168.2.13 myself to telnet11:52
T42<A_T_R> @b100dian can you tell me the steps to do that ?11:53
T42<b100dian> mal: https://pastebin.ubuntu.com/p/FKsKVdKWJH/11:56
T42<b100dian> @A_T_R I do `sudo ifconfig enp0s20f0u2u4 192.168.2.13` when the device is present. To find out your usb net device, `watch ifconfig` while the phone is booting11:57
T42<b100dian> @A_T_R also the selinux policies need to actually be copied from your vendor partition/image, see hot hadk11:58
T42<b100dian> Btw, @elros34 or someone with Telegram group admin, who can add the hot hadk link to the telegram channel?11:58
T42<b100dian> mal: notice the libprocessgroup output before e.g. graphics.composer crash11:59
T42<A_T_R> 3 commits >12:00
T42<A_T_R> https://github.com/SailfishOS-sdm660/droid-config-X00TD/commits/hybris-17.112:00
Mister_MagisterIs ther arm64 target on obs?12:02
T42<b100dian> @A_T_R see https://t.me/sailfishos_porters/110488 (telegram post) or grep IRC logs https://piggz.co.uk/sailfishos-porters-archive/12:03
malMister_Magister: no, it's still broken12:04
Mister_Magisterso i have to use sdk mal?12:04
malyes12:04
Mister_Magisteroki thanks12:04
mal@b100dian show also full journal log12:10
T42<A_T_R> after adding changes to droid-configs >12:10
T42<A_T_R> then i have to build build_packages -c and —mic only ?right ?12:10
T42<b100dian> mal: I'll get it from another session, this one again had volatile and I missed the top journal :(12:16
T42<b100dian> mal: https://pastebin.ubuntu.com/p/wvRtDdmk7J/12:20
T42<b100dian> and corresponding logcat is https://pastebin.ubuntu.com/p/wC4T9yKrz6/12:21
T42<b100dian> @A_T_R yes12:25
Mister_Magistermal: i downloaded sdk from website and there's only i486 and armv7hl… do i need to use sfossdk instead of applicationsdk?12:30
Mister_Magisterehhhh sdk doesn't connect to machine12:36
malMister_Magister: I see aarch64 target in app sdk12:37
Mister_Magisteri don't12:37
Mister_Magisteronly armv7hl and i48612:37
malit's not installed by default it seems, go to the maintenance tool and add it12:37
Mister_Magisterand its fresh from website12:37
Mister_Magisteryeah i know12:37
Mister_Magisterjust… docker doesn't want to get up12:37
Mister_Magisteryeah… no connection eh12:52
Mister_Magisterssh says connection reset, 8080 doesn't work12:54
Mister_Magistermachine is running tho12:54
T42<elros34> @b100dian I don't have any power here and these are just my notes, not maintained by any jolla dev. Anybody can edit it but so far nobody tried13:01
T42<b100dian> Yeah, I think the OP is @abhishek_013:02
mal@elros34 which notes?13:06
T42<b100dian> mal: I was asking if somebody can pin the hot-hadk notes in telegram too13:07
T42<A_T_R> porting hybris-17.113:08
T42<A_T_R> defconfig - https://pastebin.ubuntu.com/p/BNpTX2QzSG/13:08
T42<A_T_R> Boardconfig.mk -  https://pastebin.ubuntu.com/p/Z5STxXBM79/13:08
T42<A_T_R> can anyone check the selinux conigurations are correct in def. BC.mk ?13:08
mal@A_T_R you seem to have CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=0 which disables selinux, set that to 113:09
T42<A_T_R> ok13:10
T42<elros34> @b100dian they are not pined in irc because as title says they are unofficial so I am not sure this is good idea.13:18
T42<b100dian> ah lol, on irc its 'bit.ly/hot-hadk' which goes to something else! I just assumed they're the same thing. Thanks for clarifying~13:21
T42<A_T_R> where i can grab the topics covered under - hot hadk13:36
T42<b100dian> http://collabedit.com/kr9xx13:47
Mister_Magistermal: do you know who can i ask about the sdk? :< docker doesn't start up it just freezes at init13:51
T42<A_T_R> thanks13:52
malMister_Magister: not sure, I have never used docker for building13:53
Mister_Magister:<13:53
Mister_Magisterye but maybe we have someone else from jolla here that wouuld know something about it13:54
malMister_Magister: have you looked at forums for any hints what could fix it13:54
Mister_Magisteri will thanks13:54
T42<abhishek_0> @b100dian [Yeah, I think the OP is @abhishek_0], Did someone call me?14:11
T42<b100dian> Hi @abhishek_0 , I was thinking to add a link to the hot-hadk on telegram pinned message, as it is on IRC - however I found out that there is no valid hot-hadk link on IRC..14:15
T42<abhishek_0> I believe we were updating everything in FAQ HADK14:16
T42<abhishek_0> If this is something new, give me the link, I'll add it14:17
T42<b100dian> It's 'hot' and unofficial: http://collabedit.com/kr9xx but maybe it saves people's time14:18
T42<b100dian> @elros34  this is a good point, any plan to update the FAQ with those?14:18
T42<elros34> feel free to make PRs, my stays open for a long time:)14:23
mal@elros34 it seems I have forgotten your PR to faq14:32
T42<elros34> you disabled CONFIG_SELINUX14:38
T42<elros34> sorry CONFIG_AUDIT14:38
T42<elros34> mal: thanks14:41
Mister_Magisterphiew14:46
Mister_Magistermal: early access works!14:46
Mister_Magisterwooooo14:46
Mister_Magisterhmm 8080 is gone…14:46
T42<A_T_R> @elros34 enable audit=y and mka hybris-hal ?14:47
T42<elros34> if you mean CONFIG_AUDIT not commandline audit=y then yes14:49
T42<elros34> then run mer-kernel-check and make sure it complain about not disabled CONFIG_AUDIT14:50
T42<A_T_R> BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive audit=0 to 1 ??14:50
T42<elros34> not sure whether is strict required but yes14:52
T42<A_T_R> I picked 3 commits from another device's dcd ,is that fine ?14:53
T42<A_T_R> https://github.com/SailfishOS-sdm660/droid-config-X00TD/commits/hybris-17.114:53
T42<elros34> not sure if systemd service is needed  when submodule use this: https://github.com/mer-hybris/droid-hal-configs/blob/7cd2e38453ce9665195990a0b6bc1b62811cd964/sparse-10/usr/bin/droid/droid-hal-early-init.sh provided you have '%define android_version_major 10' in droid config14:57
T42<elros34> also you have some leftovers form hybris16 in usr/libexec/droid-hybris/system/etc/init/14:59
T42<A_T_R> (dcd) adding configs for hybris-16.0 · SailfishOS-sdm660/droid-config-X00TD@c315636 · GitHub14:59
T42<A_T_R> https://github.com/SailfishOS-sdm660/droid-config-X00TD/commit/c315636e75f5d2a576ff05691ebd03607b1a938714:59
T42<A_T_R> yeah ,so  this should be reverted?15:00
T42<elros34> I thinks so, at least for *servicemanager.rc. Some disabled services may be valid for 17 base too15:01
T42<A_T_R> As of now i reverted last 3 commits https://github.com/SailfishOS-sdm660/droid-config-X00TD/commits/hybris-17.115:03
T42<A_T_R> Will revert hybris-16.0 configs15:03
T42<elros34> you need selinux dir, make sure you copy files from you device not from other device15:05
T42<A_T_R> which file ? ld.config.29.txt?15:06
T42<b100dian> mal: https://github.com/mer-hybris/hadk-faq/pull/8 - formatted from @elros34 's hot-hadk.15:06
T42<elros34> @A_T_R here, some of them are symlinks, you need to replace them with actual files from device: https://github.com/mer-hybris/droid-config-sony-seine/tree/master/sparse/etc/selinux15:07
T42<elros34> @b100dian gst-droid point shouldnt be in faq, similar apex_path change - this need to be fixed. ssu domain sailfish is already fixed in EA target15:10
T42<b100dian> yes, but those are the most frequently asked questions here. But at least without them one would still know e.g. not to disable selinux for 17.1, so sure.. updated15:21
mal@elros34 gst-droid could be in some other place in faq, it's not 17.1 specific15:28
T42<b100dian> is it 4.01 specific?15:39
T42<A_T_R> I can simply pick this ? since the symlink is same as my device https://github.com/mer-hybris/droid-config-sony-seine/commit/187cc9691bdc14fee67d7b2527e951e7e0d0e4a1#diff-d9ca2c0443f5d4d857f328b5d082160280e06ad9744e10967e4ce8a8eef61ca215:41
mal@b100dian yes, but it's a bit of a bug, depends on how we see it, I never tried using 4.0.1 target when I added that meson build support15:43
mal@A_T_R you need to replace the symlinks with the target files15:43
T42<b100dian> mal: should it just be pinned like this? https://github.com/b100dian/droid-hal-device/commit/f7249acbbe772b72630fc2d7f8258b43c8384b1a15:44
malneed to think, or maybe I should try to fix the main issue15:46
T42<A_T_R> @elros34 https://github.com/SailfishOS-sdm660/droid-config-X00TD/commits/hybris-17.116:23
T42<A_T_R> This looks fine ?16:23
mal@elros34 if interested please try this https://github.com/mlehtima/gst-droid/commits/meson_fix16:33
T42郝生淡 %lastname% was added by: 郝生淡 %lastname%16:36
T42<elros34> @A_T_R did you change anything in ld.config.29.txt? Take a look at droid-config-fp3 for needed changes18:51
malhttps://github.com/sailfishos/gst-droid/pull/6918:56
T42<A_T_R> @elros34 [@A_T_R did you change anything in ld.config.29 …], Since I already picked ld.config.29.txt from.other device then I replaced from.my device ,and it shows the changes22:11
UmeaboyWhat's the simplest way to start over with the HADK? Creating a new user account did not make a difference.22:20
T42<elros34> @A_T_R the point is to add /usr/libexec/droid-hybris/system/* changes like: https://github.com/mlehtima/droid-config-fp3/blob/master/sparse/usr/libexec/droid-hybris/system/etc/ld.config.29.txt#L1122:20
UmeaboyI thought that would erase everything in the user account.22:20
UmeaboyOr stuff related to the HADK amnyway.22:21
Umeaboyanyway22:21
T42<A_T_R> Thanks22:21
UmeaboyI have to because I'm debugging my progress to see what I did wrong.22:21

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