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/", 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/", 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 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
T42<A_T_R> How to use this busybox02:53
T42<A_T_R> conig -
T42<A_T_R> dmesg -
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:*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<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 -
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 myself to telnet11:52
T42<A_T_R> @b100dian can you tell me the steps to do that ?11:53
T42<b100dian> mal:
T42<b100dian> @A_T_R I do `sudo ifconfig enp0s20f0u2u4` 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
Mister_MagisterIs ther arm64 target on obs?12:02
T42<b100dian> @A_T_R see (telegram post) or grep IRC logs
malMister_Magister: no, it's still broken12:04
Mister_Magisterso i have to use sdk mal?12: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:
T42<b100dian> and corresponding logcat is
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 -
T42<A_T_R> -
T42<A_T_R> can anyone check the selinux conigurations are correct in def. ?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 '' 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
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_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: 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_Magistermal: early access works!14: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<elros34> not sure if systemd service is needed  when submodule use this: 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> 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
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: - 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:
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
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?
malneed to think, or maybe I should try to fix the main issue15:46
T42<A_T_R> @elros34
T42<A_T_R> This looks fine ?16:23
mal@elros34 if interested please try this
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
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 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:
UmeaboyI thought that would erase everything in the user account.22:20
UmeaboyOr stuff related to the HADK amnyway.22: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 2.17.1 by Marius Gedminas - find it at!