T42 | Balraj %lastname% was added by: Balraj %lastname% | 02:44 |
---|---|---|
T42 | <Balraj %lastname%> Hello All | 02:46 |
T42 | <Balraj %lastname%> lately Im working on porting samsung note 4 SM-N910C for ubports and trying to build systemimage | 02:47 |
T42 | <Balraj %lastname%> Im facing this error | 02: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_pb2 | 02: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 file | 02:48 |
T42 | <Balraj %lastname%> nanopb_fileopt.message_type = _NANOPBOPTIONS | 02:48 |
T42 | <Balraj %lastname%> google.protobuf.descriptor_pb2.FileOptions.RegisterExtension(nanopb_fileopt) | 02:48 |
T42 | <Balraj %lastname%> nanopb_msgopt.message_type = _NANOPBOPTIONS | 02:48 |
T42 | <Balraj %lastname%> google.protobuf.descriptor_pb2.MessageOptions.RegisterExtension(nanopb_msgopt) | 02:48 |
T42 | <Balraj %lastname%> nanopb_enumopt.message_type = _NANOPBOPTIONS | 02:48 |
T42 | <Balraj %lastname%> google.protobuf.descriptor_pb2.EnumOptions.RegisterExtension(nanopb_enumopt) | 02:48 |
T42 | <Balraj %lastname%> nanopb.message_type = _NANOPBOPTIONS | 02: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/ad157df224ddc6ece8d641309c8c4b606c7650b4 | 02:53 |
T42 | <A_T_R> How to use this busybox | 02: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 logo | 04:47 |
T42 | <A_T_R> help please | 04: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_SUPPORT | 11:44 |
T42 | <b100dian> make_dir(android::base::Dirname(CGROUPS_RC_PATH), 0711);``` | 11:44 |
T42 | <b100dian> should I revert them all? | 11:45 |
mal | what 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 connecting | 11:47 |
T42 | <A_T_R> https://github.com/SailfishOS-sagit/droid-config-sagit/commit/d2b7890ac47b03c796af0f4aa8a1a8cb6ac42494 | 11:47 |
T42 | <A_T_R> https://github.com/SailfishOS-sagit/droid-config-sagit/tree/hybris-17.1/sparse/etc/selinux | 11:48 |
T42 | <b100dian> mal: I have an error pointing to missing /dev/cgroup_info/cgroup.rc in logs | 11:48 |
T42 | <b100dian> this is also one of the processes that crashes with stack corruption | 11:49 |
mal | show full logs | 11:49 |
mal | @A_T_R if that is hybris-17.1 based do you have selinux enabled | 11:50 |
T42 | <A_T_R> yes hybris-17.1 | 11: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 please | 11:51 |
T42 | <A_T_R> audit=0 selinux=1 | 11:51 |
T42 | <b100dian> @A_T_R sometimes I have to ifconfig the usb interface to 192.168.2.13 myself to telnet | 11: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 booting | 11:57 |
T42 | <b100dian> @A_T_R also the selinux policies need to actually be copied from your vendor partition/image, see hot hadk | 11: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 crash | 11:59 |
T42 | <A_T_R> 3 commits > | 12:00 |
T42 | <A_T_R> https://github.com/SailfishOS-sdm660/droid-config-X00TD/commits/hybris-17.1 | 12:00 |
Mister_Magister | Is 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 |
mal | Mister_Magister: no, it's still broken | 12:04 |
Mister_Magister | so i have to use sdk mal? | 12:04 |
mal | yes | 12:04 |
Mister_Magister | oki thanks | 12:04 |
mal | @b100dian show also full journal log | 12: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 yes | 12:25 |
Mister_Magister | mal: i downloaded sdk from website and there's only i486 and armv7hl… do i need to use sfossdk instead of applicationsdk? | 12:30 |
Mister_Magister | ehhhh sdk doesn't connect to machine | 12:36 |
mal | Mister_Magister: I see aarch64 target in app sdk | 12:37 |
Mister_Magister | i don't | 12:37 |
Mister_Magister | only armv7hl and i486 | 12:37 |
mal | it's not installed by default it seems, go to the maintenance tool and add it | 12:37 |
Mister_Magister | and its fresh from website | 12:37 |
Mister_Magister | yeah i know | 12:37 |
Mister_Magister | just… docker doesn't want to get up | 12:37 |
Mister_Magister | yeah… no connection eh | 12:52 |
Mister_Magister | ssh says connection reset, 8080 doesn't work | 12:54 |
Mister_Magister | machine is running tho | 12: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 tried | 13:01 |
T42 | <b100dian> Yeah, I think the OP is @abhishek_0 | 13:02 |
mal | @elros34 which notes? | 13:06 |
T42 | <b100dian> mal: I was asking if somebody can pin the hot-hadk notes in telegram too | 13:07 |
T42 | <A_T_R> porting hybris-17.1 | 13: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 1 | 13:09 |
T42 | <A_T_R> ok | 13: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 hadk | 13:36 |
T42 | <b100dian> http://collabedit.com/kr9xx | 13:47 |
Mister_Magister | mal: do you know who can i ask about the sdk? :< docker doesn't start up it just freezes at init | 13:51 |
T42 | <A_T_R> thanks | 13:52 |
mal | Mister_Magister: not sure, I have never used docker for building | 13:53 |
Mister_Magister | :< | 13:53 |
Mister_Magister | ye but maybe we have someone else from jolla here that wouuld know something about it | 13:54 |
mal | Mister_Magister: have you looked at forums for any hints what could fix it | 13:54 |
Mister_Magister | i will thanks | 13: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 HADK | 14:16 |
T42 | <abhishek_0> If this is something new, give me the link, I'll add it | 14:17 |
T42 | <b100dian> It's 'hot' and unofficial: http://collabedit.com/kr9xx but maybe it saves people's time | 14: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 faq | 14:32 |
T42 | <elros34> you disabled CONFIG_SELINUX | 14:38 |
T42 | <elros34> sorry CONFIG_AUDIT | 14:38 |
T42 | <elros34> mal: thanks | 14:41 |
Mister_Magister | phiew | 14:46 |
Mister_Magister | mal: early access works! | 14:46 |
Mister_Magister | wooooo | 14:46 |
Mister_Magister | hmm 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 yes | 14:49 |
T42 | <elros34> then run mer-kernel-check and make sure it complain about not disabled CONFIG_AUDIT | 14: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 yes | 14: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.1 | 14: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 config | 14: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 · GitHub | 14:59 |
T42 | <A_T_R> https://github.com/SailfishOS-sdm660/droid-config-X00TD/commit/c315636e75f5d2a576ff05691ebd03607b1a9387 | 14: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 too | 15:01 |
T42 | <A_T_R> As of now i reverted last 3 commits https://github.com/SailfishOS-sdm660/droid-config-X00TD/commits/hybris-17.1 | 15:03 |
T42 | <A_T_R> Will revert hybris-16.0 configs | 15:03 |
T42 | <elros34> you need selinux dir, make sure you copy files from you device not from other device | 15: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/selinux | 15: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 target | 15: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.. updated | 15:21 |
mal | @elros34 gst-droid could be in some other place in faq, it's not 17.1 specific | 15: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-d9ca2c0443f5d4d857f328b5d082160280e06ad9744e10967e4ce8a8eef61ca2 | 15: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 support | 15:43 |
mal | @A_T_R you need to replace the symlinks with the target files | 15:43 |
T42 | <b100dian> mal: should it just be pinned like this? https://github.com/b100dian/droid-hal-device/commit/f7249acbbe772b72630fc2d7f8258b43c8384b1a | 15:44 |
mal | need to think, or maybe I should try to fix the main issue | 15:46 |
T42 | <A_T_R> @elros34 https://github.com/SailfishOS-sdm660/droid-config-X00TD/commits/hybris-17.1 | 16: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_fix | 16: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 changes | 18:51 |
mal | https://github.com/sailfishos/gst-droid/pull/69 | 18: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 changes | 22:11 |
Umeaboy | What'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#L11 | 22:20 |
Umeaboy | I thought that would erase everything in the user account. | 22:20 |
Umeaboy | Or stuff related to the HADK amnyway. | 22:21 |
Umeaboy | anyway | 22:21 |
T42 | <A_T_R> Thanks | 22:21 |
Umeaboy | I 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/!