**** BEGIN LOGGING AT Thu Jan 18 03:00:02 2018 Jan 18 04:23:31 So I'm in the midst of setting up the tree for cheeseburger and I have one question: if me and Marius Gripsgard or one of us independently get it working, who would have to maintain it? Jan 18 04:30:23 @c_smith, The dev who builds, maintains Jan 18 04:32:32 @NSA_AMERICA, I just might be biting off more than I can chew, then Jan 18 04:33:19 Would it still be possible to give Marius a helping hands knowing I don't have the time for maintaining this? Jan 18 04:37:21 Well tbh, it can be community maintained or well co-maintained Jan 18 04:37:46 Someone can pick up where you left off and start from there Jan 18 04:39:36 @bhushanshah, Cool. I'll do what I can, and hope I haven't gotten in over my head Jan 18 04:40:36 First thing's first: fix the typos in my local manifest that are causing sync errors Jan 18 04:54:29 @c_smith, I was there... Screwed my mind totally Jan 18 05:15:30 @NSA_AMERICA, Yeah, wasn't too bad, just a transition from the format custom rooms usually use to what Halium uses Jan 18 07:41:28 hey @bshah, seems I got back in! Jan 18 07:41:36 yay, welcome :) Jan 18 07:42:14 thx! Jan 18 08:30:37 Is there currently a way, both ubuntu touch and plasma mobile are satisfied with one defconfig? Jan 18 09:29:32 Manuel was added by: Manuel Jan 18 09:34:56 hi im trying to port halium to galaxy s4 lte jfltexx can anyone help me with porting? i would send my local manifests xml here in this group, because there are some failures in downloading the source code Jan 18 09:37:05 (Document) https://irc.ubports.com/x8mFDh7k/file_3843.xml Jan 18 09:52:13 @Manuel | whoami98, Path is wrong in the first line , fix that Jan 18 09:55:51 @Manuel | whoami98, Also it lacks dependencies of … ```android_device_Samsung__jf-common``` Jan 18 11:05:55 thanks for the tips … do you mean that i have to add android_device_Samsung_jf-common to my local manifests? Jan 18 11:09:52 or do you mean to replace android_device_samsung_jfltexx with this? Jan 18 11:27:36 @Manuel | whoami98, Yeah, also add the common repo Jan 18 11:28:31 You can also look at some manifests here, if that helps: … https://github.com/Halium/halium-devices/tree/halium-7.1/manifests Jan 18 11:29:06 @Manuel | whoami98, this Jan 18 11:31:17 Also one tip: If you use the `los` remote, you don't need to add the cm-14.1 as revision, same for `them` Jan 18 11:46:12 @Ellenjott, we must test it, i think plasma mobile need also defconfig that are used in UT, maybe it will work i tested in my device and no pb Jan 18 11:52:44 so ive edited it … is it right so? Jan 18 11:52:55 (Document) https://irc.ubports.com/Id88wpmv/file_3844.xml Jan 18 11:53:23 looks ok Jan 18 12:03:05 thanks😁👍 Jan 18 12:50:18 minlexx was added by: minlexx Jan 18 12:53:21 @minlexx, welcome Jan 18 13:26:48 hi Jan 18 13:57:23 @Manuel | whoami98, Wait ... the path of android_device_samsung_jf-common is still not correct; remove the `android/` at the beginning Jan 18 16:02:16 @Manuel | whoami98, Im porting S3 Neo, maybe we can share ideas. Also regarding install scripts with heimdall Jan 18 16:03:57 [9995:test_hwcomposer][DISP][mtk_disp_mgr_compat_ioctl #1937]ERROR:[mtk_disp_mgr_compat_ioctl]ioctl not supported, 0x40384fda Jan 18 16:04:09 does anyone know the masks to decode ioctl? Jan 18 16:04:14 https://github.com/spotify/linux/blob/master/Documentation/ioctl/ioctl-decoding.txt Jan 18 16:05:44 okay i'm not familiar with heimdall … but to have spotify or what i use deezer on halium would be cool Jan 18 16:06:26 spotify is not related, it's just that it was the first link for the "ioctl-decoding.txt" document :) Jan 18 16:07:33 okay Jan 18 16:18:00 the size here seems to be 0x38 or 56, which doesn't make sense for a struct of 6-7 32-bit uints, unless they somehow are 64-bit Jan 18 16:24:10 okay, ive downloaded the source code and now there comes "** Don't have a product spec for: 'lineage_jfltexx' … ** Do you have the right repo manifest?" Jan 18 16:25:46 You probably do not have the device specific sources in your tree yet Jan 18 16:26:10 okay how can i add them? Jan 18 16:27:02 Add local manifest for your device. That should be described in the porting guide Jan 18 16:28:30 okay but i thought the file i pasted here was the local manifest? Jan 18 16:28:36 @Flohack, That said.. would be lovely to have a documentation on how to install with heimdall *hint hint* Jan 18 16:29:46 @Manuel | whoami98, Oh right, I missed the chat history ... … Just to make sure, did you already run repo sync after adding it? Jan 18 16:30:01 yes i did Jan 18 16:31:00 Can you verify that device/samsung/$codename is not empty? Jan 18 16:32:05 ya there are some files Jan 18 16:32:49 Are there some errors before "don't have a product spec"? Jan 18 16:33:22 ya Jan 18 16:33:38 oh sorry i missunderstand Jan 18 16:34:07 this: "including vendor/cm/vendorsetup.sh … build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/samsung/jfltexx/lineage.mk]]: "device/samsung/jf-common/jf-common.mk" does not exist. Stop. … build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/samsung/jfltexx/lineage.mk]]: "device/samsung/jf-common/jf-common.mk" does not exist. Stop. … build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/samsung/jfltexx/line Jan 18 16:34:08 "device/samsung/jf-common/jf-common.mk" does not exist. Stop. … Device jfltexx not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS). … Found repository: android_device_samsung_jfltexx … Traceback (most recent call last): … File "vendor/cm/build/tools/roomservice.py", line 263, in … default_revision = get_default_revision() … File "vendor/cm/build/tools/roomservice.py", line 117, Jan 18 16:34:09 return r.replace('refs/heads/', '').replace('refs/tags/', '') … AttributeError: 'NoneType' object has no attribute 'replace' … build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/samsung/jfltexx/lineage.mk]]: "device/samsung/jf-common/jf-common.mk" does not exist. Stop. … build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/samsung/jfltexx/lineage.mk]]: "device/samsung/jf-common/jf-common.mk" does not exist. Stop." Jan 18 16:34:36 You are missing a repository in your manifest Jan 18 16:34:45 okay Jan 18 16:35:01 Please follow 4+ line pastebin rule next time Jan 18 16:35:04 It's probably called device_samsung_jf_common Jan 18 16:35:06 :_ Jan 18 16:35:14 * :) Jan 18 16:36:50 @Manuel | whoami98, Point me to your manifest please Jan 18 16:37:46 @Manuel | whoami98, this Jan 18 16:38:30 @Manuel | whoami98, Add all the dependencies to your manifest .. You are still missing some Jan 18 16:40:01 Remove android in your path declaration of your common tree Jan 18 16:40:14 @NSA_AMERICA, And do this Jan 18 16:40:40 okay Jan 18 16:42:29 where can i find a list of these dependencies? Jan 18 16:42:54 @bhushanshah, yeah probably have to toss in my notes in a drft area, and we then sort it out. Need also someone who can reproduce / test it :) Jan 18 16:43:05 But in summary its not a big difference to fastboot. Jan 18 16:44:45 @UniversalSuperBox coming back top that folder overly troubles in the boot process, what was the final fix for that? Jan 18 16:45:02 matcher84 was added by: matcher84 Jan 18 16:47:15 @Manuel | whoami98, Go to your device tree .. Check lineage.dependencies, then go to each dependency and check if they have some dependency Jan 18 16:47:29 And add them Jan 18 16:48:12 okay Jan 18 16:48:13 Keep doing that until you are done with Every dependency.. Jan 18 16:48:28 And then sync everything again Jan 18 16:51:33 okay Jan 18 17:37:39 so i get now some errors like:fatal: cannot find remote ref refs/heads/cm14.1 Jan 18 17:38:21 and like: error: Cannot fetch android_hardware_qcom_display-caf … and so on Jan 18 17:47:33 is CONFIG_DEBUG_RODATA needed ? it give me many error when enable it, in Ubport FP2 this config is disabled Jan 18 17:48:21 @Manuel | whoami98, Already helped you enough, now you have figure it out yourself.. And please read the docs carefully Jan 18 18:00:39 @Walid, I think RODATA has two (or more) options and you can disable the DEBUG option Jan 18 18:10:30 CONFIG_NETPRIO_CGROUP must disable, it make lxc container crash Jan 18 18:12:17 @Walid, Hi Walid! I am back on track, my image in 16.04 is booting again Jan 18 18:12:32 Now trying to get your wifi fix up. Jan 18 18:13:19 graphic work ? Jan 18 18:13:32 yes! Jan 18 18:13:39 Touch works also Jan 18 18:13:49 Keyboard also works now Jan 18 18:13:55 I changed nothing dont know ^^ Jan 18 18:14:40 wifi and sound would be nice now Jan 18 18:14:47 if ssh work try first connect with shell Jan 18 18:15:11 yeah Im in. I did update udev and small thingsd already. I must say it looks very promising Jan 18 18:15:38 for sound maybe like me , just use old libhybris-common.so.1.0.0 Jan 18 18:15:52 aha just from overlay? Jan 18 18:16:26 (Document) https://irc.ubports.com/ZtwzkA4l/file_3845.0 Jan 18 18:17:20 for wifi to test connnect , in shell run this cmd … echo sta > /sys/module/wlan/parameters/fwpath … nmcli d … nmcli d wifi list … nmcli d wifi connect SSID password xxxxxxxx Jan 18 18:17:42 It would probably be better to fix the current libhybris instead of copying old blobs from vivid ... Jan 18 18:18:23 @Walid, No this wont work the path does not exist (yet) Jan 18 18:18:31 I need to activate your script probably Jan 18 18:29:51 Also display switches on and off sometimes for no reason Jan 18 18:33:29 yes same pb, i thinnk libhybris pb Jan 18 18:57:46 Some video: https://www.youtube.com/watch?v=S95YMfBRe6M Walid Jan 18 18:58:23 lol what happened with my upload Jan 18 19:00:42 Now it works Jan 18 19:03:54 Great congrat Jan 18 19:04:11 thx :) Jan 18 19:04:21 was much less effort than old S3 - which did not work at all Jan 18 19:04:34 Was the kernel too old? Jan 18 19:05:31 @JBBgameich, probably, yes. Funny thing is the much older HTC One X has even 3.1 kernel, but Samsung S3 has only 3.0 it seems Jan 18 19:05:36 this one here is 3.4 Jan 18 19:11:39 @Walid, Damn it reboots itself again ;) Jan 18 19:13:38 disable this flag CONFIG_ANDROID_LMK_ADJ_RBTREE, its cause manny pb, also try to get last_kmsg when reboot Jan 18 19:17:37 @Walid, I think this is off, also the low mem killer is also off Jan 18 19:20:16 this flag must be on CONFIG_ANDROID_LOW_MEMORY_KILLER=y, its free memory when is no free space Jan 18 19:22:13 @Walid, Hmm Halium and also I think UT config checkers think it should be off? Jan 18 19:22:46 no , i run it and no complain for this flug Jan 18 19:24:17 @Flohack, Can confirm, my sgs3 i9300 has 3.0.101-lineage-XXX kernel :) Jan 18 19:24:35 @minlexx, And it works? Jan 18 19:24:41 @Walid, Ok will try Jan 18 19:25:32 @Flohack, Lineage OS?... works. Guess no point in trying halium there :) Jan 18 19:26:13 @minlexx, haha would be interesting though for ubports as we can boot now still with upstart Jan 18 19:27:12 I remember the glibc build in ubuntu being incompatible with this old kernel Jan 18 19:29:30 @JBBgameich, yes that might be the problem Jan 18 19:44:36 @walid did you ever see this: … E/wcnss_service( 0): source file do not exist /system/etc/wifi/WCNSS_qcom_cfg.ini … E/wcnss_qmi( 0): wcnss_qmi_get_wlan_address: failed to open /efs/wifi/.mac.info … E/wcnss_service( 0): Failed to Get MAC addr from modem … E/wcnss_service( 0): Failed to open /dev/wcnss_ctrl : Permission denied … E/wcnss_service( 0): Failed to open wcnss device : Permission denied Jan 18 19:45:57 its mounted here: /android/efs Jan 18 19:46:09 but seems to search somewhere else Jan 18 19:46:23 plus udev rule missing? Jan 18 19:47:12 don't know really, i remember i see this error for months ago, Jan 18 19:47:40 can I check your udev rules Jan 18 19:48:03 did you compiled with libnativehelper ? Jan 18 19:48:05 sure Jan 18 19:48:13 @Walid, not 100% sure :) Jan 18 19:48:15 let me see Jan 18 19:48:47 (Document) https://irc.ubports.com/Pwe1WWEv/file_3846.rules Jan 18 19:49:04 add it in main.mk Jan 18 19:49:47 and you must change file HOST_x86_common.mk to make it compile Jan 18 19:50:06 ok you dont even have wcnss_ctrl ^^ Jan 18 19:50:32 root@ubuntu-phablet:~# cat /usr/lib/lxc-android-config/70-s3ve3g.rules | grep wcns … ACTION=="add", KERNEL=="wcnss_wlan", OWNER="system", GROUP="system", MODE="0660" … ACTION=="add", KERNEL=="wcnss_ctrl", OWNER="system", GROUP="system", MODE="0660" Jan 18 19:50:39 (Document) https://irc.ubports.com/Pk0lUqq8/file_3847.mk Jan 18 19:50:58 use this file when add libnativehelper Jan 18 19:51:12 in build/core/clang Jan 18 19:51:38 i added this line … -B$($(clang_2nd_arch_prefix)HOST_TOOLCHAIN_FOR_CLANG)/x86_64-linux/bin \ Jan 18 19:55:55 hmmm Jan 18 19:56:03 why it would help this is different architecture Jan 18 19:58:07 this patch used also in CM, it resolve symlink pb when compiling libnativehelp Jan 18 20:07:18 @Walid, libnativehlper seems to compile fine, its in out/INTERMEDIATES Jan 18 20:08:09 so good Jan 18 20:10:40 @Walid, Ah well your script init_wlan is maybe not copied to output ^^ Jan 18 20:10:57 I just added this to rootdir/etc but maybe thats nnot enough? Jan 18 20:11:27 yes thats seems to be the issue Jan 18 20:12:51 found it ;) Jan 18 20:13:18 ? Jan 18 20:15:30 Needs to go into some .mk file to be copied over Jan 18 20:35:22 @walid did you change permissions to auto_brightness entry also? Jan 18 20:39:19 @Walid, I had to modify the Android.mk in rootdir of device, now its being copied over: … florian@flummi:~/halium-5.1/device/samsung/s3ve3g$ find -name "*.sh*" … ./extract-files.sh … ./rootdir/etc/init.qcom.bt.sh … ./rootdir/etc/init_wlan_bt.sh … ./rootdir/etc/init.crda.sh … ./setup-makefiles.sh … ./vendorsetup.sh Jan 18 20:42:14 for auto_brightness no, just added set-brightness-titan.conf in etc and etc/init/ (don't know what should be correct path) Jan 18 20:42:25 (Document) https://irc.ubports.com/36EAI7ZS/file_3848.conf Jan 18 20:44:16 for *.mk file sometimes they don't called when ompile , you must add in this case AndroidProducts.mk Jan 18 20:45:30 It seems to work but its not finishing: … root 2939 0.0 0.0 1092 276 pts/2 S 16:36 0:00 /system/bin/sh /system/etc/init_wlan_bt.sh Jan 18 20:45:40 its waiting fort this other part Jan 18 20:46:41 wcnss_service seems not to work in some way Jan 18 20:47:33 i disabled default wcnnss_service, and add new service Jan 18 20:48:32 oh you put it into an endless loop Jan 18 20:48:42 the call to enable wifi and the bluetooth call Jan 18 20:49:23 disable bluetooth Jan 18 20:50:04 comment enable_bt Jan 18 20:50:29 your kernel not yet backprted ? Jan 18 20:50:55 I dunno what I am missing ,) maybe I need some backports, yes Jan 18 20:51:17 also this part that should turn on smth: … Failed to open the /sys/devices/platform/wcnss_wlan.0/smd_channel_ready … init_transport: Cannot open /dev/ttyHS0: No such file or directory … . Retry after 2 secondsinit_transport: Cannot open /dev/ttyHS0: No such file or directory … . Retry after 2 secondsinit_transport: Cannot open /dev/ttyHS0: No such file or directory Jan 18 20:52:21 what is your kernel cmdline ? Jan 18 20:53:13 https://pastebin.com/ZRkDTKmx Jan 18 20:53:17 But it seems odd ^^ Jan 18 20:54:09 remove console=tty0 and see again Jan 18 20:56:14 consolte=tty0 is needed I think otherwise my dmesg is very empty Jan 18 20:56:19 but I can try Jan 18 20:58:00 @Walid, I also have some strange things in dmesg, I added it to the paste right now **** ENDING LOGGING AT Fri Jan 19 03:00:00 2018