**** BEGIN LOGGING AT Sun Feb 04 03:00:02 2018 Feb 04 04:12:23 Currently having issues with `mka systemimage`: https://paste.ubuntu.com/26516554/ Feb 04 04:14:23 Why is a .jar (and by extension, an .apk) part of the build process when Halium doesn't use the Android framework? Feb 04 04:15:16 you have to comment out apks in makefiles Feb 04 04:15:28 halium is not android and thus doesn't need apks at all Feb 04 04:15:52 @win8linux, yes, you have to set them Feb 04 04:18:27 Thanks Feb 04 04:20:42 Which makefiles are the apks and jars commented in? Feb 04 05:31:45 it's unique for every device Feb 04 05:31:53 you have to read error log and find then Feb 04 05:32:11 start with your vendor tree Feb 04 05:32:37 https://github.com/Halium/android_device_htc_pme/commit/15d000575d043274b63da2d095b4a0ba10864ea3 Feb 04 05:32:47 take a look at this commit for inspiration Feb 04 07:10:07 @win8linux, Android: Each devices is an OS for its own. Google gave much too much freedom to hardware vendors ;) Feb 04 07:22:06 is there any difference betwen LS14.1 and cm-12.1(nonexistent) vendor tree? For doogee_x5pro (Android 5.1) I'm unable to find cm-12.1 vendor tree. From what I need to start to make this missed vendor_tree for cm-12.1? Feb 04 07:27:11 Was your device originally released for Android < 7.1? Feb 04 07:28:10 Anyway make the port with halium-7.1, its not worth trying to backport a vendor tree Feb 04 08:04:31 device was originally released with 5.1 Feb 04 08:05:22 @Flohack, With Android Oreo they are asking hardware vendors that vanilla aosp build should run! I hope this change turns out to be good for custom rom and alike groups! Feb 04 08:05:53 @Progromizd, If you have a working 7.1 port then use the nougat sources and build with it Feb 04 08:11:42 so, i need to change my devices firmware to 7.1 and only after that do next operations? Feb 04 08:24:13 https://bpaste.net/show/059780a009bd … hot to fix "no input files" error ? Feb 04 08:26:59 and is neccessary to remove 'dev" before "block", like I see for any other device present in this file? Feb 04 08:28:12 yes, remove "/dev/" part Feb 04 08:28:58 as for no input files, weird, syntax seems correct, can it properly find fstab? Feb 04 08:30:48 @Flohack, backport a vendor tree ??? how ? what means ? Feb 04 08:34:44 @NotKit https://bpaste.net/show/a814163cc430 Feb 04 08:37:32 mka mkbootimg … No command 'mka' found … how to execute this? Feb 04 08:38:39 did you do breakfast/lunch in this shell? Feb 04 08:38:55 I just had lunch Feb 04 08:39:01 *hides* Feb 04 08:39:30 and I am in the processes of having lunch Feb 04 08:39:41 *has lunch* Feb 04 08:40:10 I'll get you a logcat after that @bhushanshah Feb 04 08:47:06 here is the part of an output of "make hybris-boot" … https://bpaste.net/show/2784a5d6cd3e … how to fix fstab error? Feb 04 08:47:33 have you added your device to fixup mountpoints? Feb 04 08:48:02 yes Feb 04 08:48:34 have you re-run breakfast / lunch after that? Feb 04 08:48:42 no Feb 04 08:49:40 will try now, since it wasn't obvious for me Feb 04 08:50:33 try to copy fstab to your device folder, it doesn't search in rootdir Feb 04 08:51:05 HYBRIS_FSTABS := $(shell find device/*/$(TARGET_DEVICE) -name *fstab* | grep -v goldfish) Feb 04 08:51:10 it should search there... Feb 04 08:52:31 @Walid, Should i give it a try ... On 3.10? Feb 04 09:15:18 find: ‘device/*/generic’: No such file or directory … find: ‘device/unknown’: No such file or directory … find: ‘device/android’: No such file or directory … copied, not helped Feb 04 09:16:06 do I need to re-run breakfast ? Feb 04 09:19:14 hm, did you choose right device there? Feb 04 09:19:26 according to your output, TARGET_DEVICE is set to generic Feb 04 09:27:40 when in .mk I've hardcoded "x5pro" as TARGET_DIVECE right before 1st search for fstab, build is started, but new error occured: … https://bpaste.net/show/ef584d934b1a Feb 04 09:28:20 @Progromizd, eh Feb 04 09:28:25 read the docs Feb 04 09:28:56 you have to run `mka mkbootimg` first Feb 04 09:35:55 Ivan, you're right. Now i got https://bpaste.net/show/16ea69ff801a … Why it uses "generic" as target device? Is it an error or not? Feb 04 09:36:38 probably because you failed to set up your enviroment and/or run breakfast(lunch) Feb 04 09:37:43 i've not re-run breakfast after pointing parttion ids, do I need to do it again? Feb 04 09:38:05 it's free ;) Feb 04 09:38:35 @Progromizd, you need to re-run it after you exit shell you run it in Feb 04 09:38:42 not after changes Feb 04 09:38:53 the only folder you shold have in product folder is %CODENAME% of your device Feb 04 09:39:09 the fact it's set to "generic" means you made a mistake somewhere Feb 04 09:43:18 @Progromizd, What's your kernel version? Feb 04 09:43:33 @NotKit, it wasn't obvious, so maybe it should be written in docs Feb 04 09:44:13 well, what it does is basically setting enviromental variables in shell Feb 04 09:44:43 NSA, 3.18 … version in device 3.4.5 Feb 04 09:45:24 did you test LOS14 build on your device? Feb 04 09:48:04 no, but it exists for this devices Feb 04 09:48:31 is that breakfast output looks correct? … https://bpaste.net/show/0987a497fb1f Feb 04 09:48:45 yes Feb 04 09:49:45 @Progromizd, docs specifically tell you to test LOS before building halium Feb 04 09:49:54 please, follow all steps percisely Feb 04 09:59:26 @Walid, Maybe he starts extracting blobs himself, who knows ;) Feb 04 10:00:07 @Progromizd, No, why would you? Ubuntu does not need preinstalled Android Feb 04 10:03:32 make mkbootimg => #### make completed successfully (14 seconds) #### … make hybris-boot => https://bpaste.net/show/1347f5221e71 Feb 04 10:10:20 acp: missing destination file … what destination file it is looking for? Feb 04 10:11:13 you're not supposed to use prebuilt kernel for Halium though, did you modify your device tree to actually build the kernel? Feb 04 10:13:56 no. How? Feb 04 10:14:25 @Flohack, yes Feb 04 10:15:05 in order for halium 7.1 to work you must have had 7.1 installed on your phone previously Feb 04 10:15:23 that's why Bhushan extracted vendor blobs himself and made a script to flash them Feb 04 10:19:00 Maybe the problem starts from … Kernel source found, but no configuration was defined … when "make mkbootimg" … saing honestly, I don't imagine how the build process can depend on my physical device OS-version, since all repo (vendor, kernel, device) are availbale. Feb 04 10:19:26 @Progromizd, it's not related to your error Feb 04 10:19:52 i just mentioned that /vendor version has to match halium version you're building Feb 04 10:20:56 maybe, so what is a solution in my case? Feb 04 10:24:58 Ti complete halium porting, all tests must work and systemctl status need ti be green? Feb 04 10:29:34 @Mattia990, half of the tests are broken in halium 7.1 Feb 04 10:29:39 https://github.com/Halium/projectmanagement/issues/28 Feb 04 10:29:46 take a look at my issue ^ Feb 04 10:32:01 @vanyasem, he doesn't have /vendor on MediaTek Feb 04 10:32:14 * vanyasem shrugs Feb 04 10:32:17 it's a folder on system partition Feb 04 10:32:54 @Progromizd, did you compare your device tree with another one for MediaTek phone which builds kernel from source? Feb 04 10:33:15 you are likely missing some configuration inside BoardConfig.mk, but I can't exactly guide you here Feb 04 10:34:44 TARGET_KERNEL_CONFIG Feb 04 10:34:56 what the file it must points to? Feb 04 10:35:16 the defconfig for your phone Feb 04 10:35:55 https://github.com/SnowCat6/DOOGEE-kernel-3.18/tree/Android7.1.1/arch/arm/configs Feb 04 10:36:41 just the name of it, without full path Feb 04 10:40:00 xiaomiuibot was added by: ybotd Feb 04 10:40:15 Sorry Feb 04 10:41:52 by setting TARGET_KERNEL_CONFIG := X5PRO_6735m_defconfig … build is started. Now waiting until "Making initramfs..." Feb 04 10:47:45 Already better. … make mkbootimg => make completed successfully … make hybris-boot => make completed successfully … make systemimage => https://bpaste.net/show/e67f5a75485f Feb 04 10:49:39 looks like SHARED_LIBRARIES is missed in my .mk. or something else Feb 04 10:49:54 I guess you didn't follow https://docs.halium.org/en/latest/porting/build-sources.html#modify-the-kernel-configuration though Feb 04 10:51:26 libgui_ext is MediaTek library, so it must either come from vendor tree, or compiled somewhere in device tree, or added by patches Feb 04 10:56:49 @vanyasem, Ahh ok, lxc to work need to be green using systemctl status or systemctl status lxc@android? Feb 04 10:58:38 both Feb 04 10:59:41 also `lxc-checkconfig` Feb 04 11:04:08 Manu was added by: Manu Feb 04 11:04:32 Hello, im trying again to port halium to my Galaxy s4 intl Feb 04 11:05:16 @Progromizd, i found libgui_ext and libion_mtk on my physical device, where to copy these files? Feb 04 11:05:47 When im looking into the lineage.dependencies there's only one Entry, but i think this cant be enough Feb 04 11:06:44 @Manu, Can anyone help me? Feb 04 11:09:28 @Manu, then go to that dependency .. and look for dependency in that tree Feb 04 11:16:21 where has the ut branch gone from jbb's script or it is merged with master Feb 04 11:18:01 merged with master Feb 04 11:18:19 https://github.com/JBBgameich/halium-install/pull/14 my fix is not yet merged though Feb 04 11:18:38 https://github.com/JBBgameich/halium-install/issues/15 and this issue still prevents the image from being correctly flashed Feb 04 11:19:12 @vanyasem, Ah, thanks! Feb 04 11:20:46 @vanyasem, okay .. i am merging them on my pc.. Feb 04 11:30:18 @vanyasem, at which line Feb 04 11:30:37 @NSA_AMERICA, just search for 2G Feb 04 11:30:40 in core.sh i guess Feb 04 11:31:25 yeah found it :) Feb 04 11:36:13 so we can say .. script works!! .. but not my kernel :-| Feb 04 11:47:49 (Document) https://irc.ubports.com/r0p5ClTo/file_4042.xml Feb 04 11:47:58 @Manu, Right so far? Feb 04 11:49:55 (Photo, 720x1280) https://irc.ubports.com/uF0sgjBV/file_4044.jpg Feb 04 11:50:03 @Manu, Because i get this error Feb 04 12:00:58 @Manu, are you following the latest docs? Feb 04 12:01:12 Yes Feb 04 12:01:55 cd to .repo/local_manifests/ Feb 04 12:02:09 then put your device manifest there Feb 04 12:02:25 and then repo sync -c Feb 04 12:02:54 @UniversalSuperBox I guess UBPorts would need this commit ported from Mer: https://github.com/mer-hybris/android_system_core/commit/5d1c31eb79e9ac09ed8a4c6cecdeefa6f0c12a08 Feb 04 12:03:11 otherwise setting properties just fails without SELinux Feb 04 12:03:56 @NotKit, agreed on this one Feb 04 12:04:20 NotKit, halium disables selinux slightly differently Feb 04 12:04:27 there is one edge case I need to fix Feb 04 12:06:44 what way? I get https://github.com/Halium/android_system_core/blob/halium-7.1/init/property_service.cpp#L424 Feb 04 12:07:01 so it doesn't seem to be fully netralized, at least if kernel is built without SELinux support Feb 04 12:07:02 @ybotd any reason you have brought a bot here? Feb 04 12:07:12 I'm going to remove the bot from here Feb 04 12:07:30 xiaomiuibot was removed by: bhushanshah Feb 04 12:08:36 @Progromizd, Did you run source build/envsetup.sh Feb 04 12:09:12 @JBBgameich, please merge my pr to halium-install Feb 04 12:09:24 what's the reason for it not being merged for a week Feb 04 12:10:05 @vanyasem, script works i can confirm Feb 04 12:14:14 Yeah sorry, I'm in holiday Feb 04 12:18:51 @bhushanshah I guess we miss just this line exactly: https://github.com/mer-hybris/android_system_core/commit/5d1c31eb79e9ac09ed8a4c6cecdeefa6f0c12a08#diff-a19df5bdbb893647e7c2a4b5b8fd98d4R77 Feb 04 12:19:20 yep Feb 04 12:19:25 I've exact smae change locally Feb 04 12:23:05 @NotKit can you open PR so i can merge it Feb 04 12:30:51 @bhushanshah https://github.com/Halium/android_system_core/pull/3 Feb 04 12:31:43 merged Feb 04 12:31:48 Thanks @NotKit Feb 04 12:41:41 In which folder is property_service.cpp ? Feb 04 13:14:21 I got this lines in dmesg https://paste.ubuntu.com/26518549/ every 1-2 minutes, it is normal? Feb 04 13:52:55 I did a repo sync, but now make hybris-boot fails complaining about fstab not found Feb 04 13:53:00 https://paste.ubuntu.com/26518725/ Feb 04 13:55:05 @dohniks: you forgot breakfast lunch Feb 04 13:55:17 bruahahah Feb 04 13:55:28 Ok, I go to sleep now :) thx Feb 04 13:56:28 maybe not right time for breakfast lunch.. that's why Feb 04 13:56:31 :P Feb 04 13:56:41 I love breakfast jobs.. buwahahaha Feb 04 13:56:43 make beer Feb 04 13:57:28 btw just admired the pm phone at the fosdem stand :) Feb 04 13:58:10 Now it wont download the device specific source code Feb 04 13:58:24 (Document) https://irc.ubports.com/HM0dyhi8/file_4045.xml Feb 04 14:00:00 dohniks: oh you were at FOSDEM.. nice Feb 04 14:01:35 Still am. And yes it is Feb 04 14:35:13 @Manu, What's the error? Feb 04 14:35:45 Your device tree should be cloned into device/samsung/jfltexx Feb 04 14:36:05 (Photo, 720x1280) https://irc.ubports.com/Sbn03fQR/file_4047.jpg Feb 04 14:43:37 @Manu, Please build your manifest correctly .. and then sync Feb 04 14:56:15 @NSA_AMERICA, Okay i dont understand it whats wrong with my local_manifest Feb 04 14:56:37 @bhushanshah, Sorry :) Feb 04 14:58:58 @Manu, https://gist.github.com/abhishek9650/0a33682de9c2307dd8694ea2168cb578 have a look at mine .. and see how i did it Feb 04 14:59:07 Is it possible to automatically apply all of the parameter values necessary to pass `mer-kernel-check` or can it only be done manually? Feb 04 14:59:59 @win8linux, manually .. Feb 04 15:01:02 *sighs* Ok then. Feb 04 15:09:42 What do the values of `m` and `!` mean in kernel build config params? Feb 04 15:11:55 m means module Feb 04 15:11:59 ! not sure Feb 04 15:12:08 you probably want to stick to y Feb 04 15:12:58 Gotcha. Feb 04 15:15:41 (Document) https://irc.ubports.com/fJMN20yW/file_4048.xml Feb 04 15:15:57 I dont know whats wrong... Feb 04 15:19:46 @UniversalSuperBox screenshot … https://drive.google.com/file/d/1z2c7m-HTC4feToyBso4nIj9VW1RqZ8j8/view?usp=sharing Feb 04 15:21:05 ! means 'not set' or 'missing' Feb 04 15:22:02 @Walid, Thank you! Feb 04 15:22:47 Is it ok to have `CONFIG_AUDIT=y` in the kernel config? Feb 04 15:24:13 Uh... does it say anything about that? Feb 04 15:25:45 Something about it being fine unless the device needs SELinux support in-kernel. Feb 04 15:34:54 I'm trying to run `mka` again, but this time the command isn't recognized anymore. Same story with `breakfast`. Feb 04 15:36:13 The computer was shut down briefly between the successful previous attempt (except for systemimage) and now. Feb 04 15:39:49 @vanyasem, Is this documented somewhere? Feb 04 15:43:33 @Flohack, no, I dont think so Feb 04 15:45:35 People find documentation, it looks well maintained and complete, and then they hit some roadblocks and get frustrated. We will turn away people who cannot be successful despite following the instructions in full. Preconditions must be checked and reported so that we do not leave people alone. Feb 04 15:46:13 @Flohack, this is device-specific though Feb 04 15:46:30 only few devices (Google Nexus?) have that partition Feb 04 15:46:54 Still it needs to be documented. Not assume people "just know" that Feb 04 15:47:05 We have a lot of issues with installing of UT just because of this Feb 04 15:47:22 Like the BQ M10 tablets, with some of them having too small partitions Feb 04 15:47:51 It also not affecting all devices, but a lot of ppl get frustrated with it. Developers need to take the view of an ordinary user more often. Document everything! Feb 04 15:48:44 Same with the udev rules that many people are missing for adb. I made a small commit for this to the UT installer, but in fact it needs to pop up: "Did you check udev rules?" if your device does not show up on usb Feb 04 15:54:51 @NotKit, HTC 10 also has a /firmware partrition Feb 04 15:55:02 That's the modem Feb 04 15:55:04 That's normal Feb 04 15:55:12 oh then im mistaken Feb 04 16:08:15 @win8linux, source envsetup.sh Feb 04 16:08:33 Thanks! Feb 04 16:10:43 Google should make a rule, that only those phone will be able to hit the market which are open source Feb 04 16:12:11 I want a even every capacitor to be open source Feb 04 16:12:40 And that kids, is how Tizen became popular /s Feb 04 16:13:32 @Manu, You're missing `` Feb 04 16:14:33 @Manu, Or better just have a look at this and replace the device name: … https://github.com/Halium/halium-devices/blob/halium-7.1/manifests/samsung_klte.xml Feb 04 16:16:34 I have copied all *.so files from my physical device lib-dir to where they are searching during build, but new errors came up: … libion_mtk.so.toc', needed by '/media/user/D500/ubuntu_touch/halium/out/target/product/x5pro/obj/SHARED_LIBRARIES/libgui_ext_intermediates/LINKED/libgui_ext.so', … Where can i I found/make '***.so.toc' files? Feb 04 16:17:34 For extracting files from the device, use the extract-files.sh script that's most likely included in your device tree Feb 04 16:19:00 is that means that TOC-files are present on my phone? Feb 04 16:26:11 @Progromizd, You probably need the script to generate them Feb 04 16:26:39 yes, i found that script, will try Feb 04 16:29:11 Anyone know ubuntu touch compatible kernel for bq 4.5 Feb 04 16:41:23 (Photo, 480x800) https://irc.ubports.com/IQbfLarx/file_4050.jpg Feb 04 16:43:38 offtopic, but actual: how to export path forever? … export PATH=$PATH:/media/user/D500/sdk/platform-tools … alias sudo='sudo env PATH=$PATH' … == this allows me to run ADB only until I close terminal Feb 04 16:44:00 Put it in your `~/.bashrc` Feb 04 16:45:43 both lines or export PATH... only ? Feb 04 16:46:12 both lines Feb 04 16:47:21 @maharudra108, .. Feb 04 16:48:13 @maharudra108, It's possible that you're missing a kernel config ... Feb 04 16:48:53 @Ellenjott, Now what to do? Feb 04 16:49:16 I changed defconfig as in docs written Feb 04 16:49:29 By using check-kernel-config Feb 04 16:49:59 see the definition of rt_rq struct and see where the `rq` member is defined in it and see if there are any `#ifdef`s Feb 04 16:51:16 @maharudra108 Which kernel are you using? Feb 04 16:51:25 3.10 Feb 04 16:51:36 No which exact kernel Feb 04 16:51:40 source? Feb 04 16:51:51 3.10.108 Feb 04 16:51:56 Custom source Feb 04 16:52:01 the source repository? Feb 04 16:52:41 or just send the local manifest Feb 04 16:53:06 https://github.com/GODz-Android-Dev/DareDevil_a106 Feb 04 16:53:18 now ADB path exported and I can run it by 3 letters from any terminal, but it can't be found by script … ...extract_utils.sh: line 738: adb: command not found … Why? Feb 04 16:54:34 @Progromizd, U installed adb Feb 04 16:54:42 @maharudra108, ? Feb 04 16:55:27 I have just exported path to ADB in Android SDK. Its not the same ADBs? Feb 04 16:56:49 Android Debug Bridge version 1.0.39 … Version 0.0.1-4500957 … Installed as /media/user/D500/sdk/platform-tools/adb … ... Feb 04 16:57:17 Type adb Feb 04 16:57:28 Or check by which adb Feb 04 16:57:58 which adb … /media/user/D500/sdk/platform-tools/adb Feb 04 16:58:00 Otherwise install adb by apt Feb 04 16:58:01 @maharudra108 Do you've got `CONFIG_RT_GROUP_SCHED` enabled? Feb 04 16:58:14 @Progromizd, It should work then Feb 04 16:58:20 @Ellenjott, Lem.e check Feb 04 16:59:50 @Ellenjott, Nope Feb 04 17:00:04 Enable and recompile Feb 04 17:00:08 Ok Feb 04 17:08:04 (Photo, 480x800) https://irc.ubports.com/OLlt0lY8/file_4052.jpg Feb 04 17:10:57 @Ellenjott Feb 04 17:17:23 how to enter properly absolute path to ADB in … function init_adb_connection() { … ? … since this script is blind. Feb 04 17:17:56 @Progromizd, U still stucked on adb Feb 04 17:18:04 yes Feb 04 17:18:17 Bro move on by installing adb Feb 04 17:18:37 Why u manually want to configure Feb 04 17:19:12 https://github.com/maharudra108/kernel_a106/tree/ubports?files=1 Feb 04 17:19:34 @maharudra108, @Ellenjott checkout this i hav changed defconfig Feb 04 17:20:57 @maharudra108, isn't it krillin? Feb 04 17:20:58 @maharudra108, Why don't you push the git history? Nobody can use the repository really like this Feb 04 17:21:20 Rurda … apt-get install adb is wrong comand … and … apt-get install android-tools-adb too … byt runnig adb devices I see ID of my connected device, but adb not found by running script, … that's why I want to force run it from where it actually located Feb 04 17:22:15 @JBBgameich, Idk Feb 04 17:22:26 @JBBgameich, How to use it then? Feb 04 17:22:57 @NotKit, Nope bt it is krillin's twin Feb 04 17:23:15 Where is this kernel source from? If it's from github, then you can push the git history, so features like merge and rebase work Feb 04 17:23:19 then I doubt there is Ubuntu Touch kernel from it Feb 04 17:23:27 *for it Feb 04 17:23:53 so how can I to run adb from method in that script? Feb 04 17:24:09 @JBBgameich, It is on custom source adapted from krillin Feb 04 17:24:31 Then push the history of the krillin kernel ... Read a basic git toutorial first Feb 04 17:24:51 Or just click the fork button on github Feb 04 17:25:21 Your commits are now basically like "Upload Linux". Nobody can see who wrote this code really. The git histotry looks like you wrote linux Feb 04 17:25:34 https://github.com/manjotsidhu/DareDevil_a106 Feb 04 17:25:38 I guess the kernel is from here Feb 04 17:25:58 Nope it is from pablito for krillin Feb 04 17:26:09 @NotKit, He adapted for a106 Feb 04 17:26:23 @maharudra108, Then use the fork button on github. Feb 04 17:26:47 @maharudra108 and your device is a108? Feb 04 17:27:12 @JBBgameich, Bro what u want i fork it from pablito then adapt for my device then upload Feb 04 17:27:41 https://github.com/manjotsidhu/DareDevil_a106 - isn't this the source of adapted kernel? Feb 04 17:27:42 @NotKit, a106(unofficial codename) manufactured name micromax unite 2 Feb 04 17:27:56 @NotKit, Yup it is Feb 04 17:28:01 so fork from there and add your changes? Feb 04 17:28:13 instead of uploading everything without history Feb 04 17:28:52 Seriously idk why u guys want this... Feb 04 17:29:05 it makes way easier to understand what was changed Feb 04 17:29:19 Ok ok Feb 04 17:30:08 Look at this repository (https://github.com/Pablito2020/android_kernel_bq_krillin). it has 4687 commits. Now do your changes on top and commit. Then you should have 4688 commits in your repo, not one Feb 04 17:30:33 Download the repository using git clone, not download the zip and import it again Feb 04 17:30:43 Ok i got it Feb 04 17:31:03 Now can i upload my commits to new branch Feb 04 17:31:56 @maharudra108, ? Feb 04 17:32:12 http://rogerdudler.github.io/git-guide/ Feb 04 17:35:37 @maharudra108, Do what's described as "checkout a repository" Feb 04 17:36:05 then copy your changes to the new folder and do `git add` and `git commit` Feb 04 17:37:58 if you want a new branch, do git checkout -b name Feb 04 17:42:04 https://github.com/maharudra108/DareDevil_a106/tree/ubports?files=1 Feb 04 17:42:09 Done Feb 04 17:42:15 Now all happy Feb 04 17:42:55 Actually i am a little lazy Feb 04 17:43:21 ADB installed using apt, not apt-get Feb 04 17:43:39 @Progromizd, Hahaha bt both r same Feb 04 17:44:13 @maharudra108, Yeah thanks. Much better now Feb 04 17:44:14 yes😂 Feb 04 17:45:13 @JBBgameich, Thnxx to u today i learnt something new like git merge nd git pull Feb 04 17:45:26 @NotKit, By his guide Feb 04 17:51:44 280 files extracted, but there is no one ends with .toc and ninja fils again: … libcurl.so.toc', needed by ' ...😔 Feb 04 17:52:29 Just fake the file. `touch $path/to/missing/file` Feb 04 17:52:35 Guys, in the kernel defconfig, the line # ... is not set , need to be deleted if that configuration need to be enabled or disabled? (Sorry for my bad english) Feb 04 17:55:47 where the files is copied to ? (by running file extractor script) Feb 04 17:56:32 To vendor/codename Feb 04 18:02:34 @Mattia990, Where? Feb 04 18:02:53 @Progromizd, Add libcurl on ur device.mk Feb 04 18:12:51 and than run file extrator script again? Feb 04 18:13:30 no, running it again shouldn't be neccesary Feb 04 18:27:36 mariogrip: ping Feb 04 18:29:52 @JBBgameich u built only halium for krillin ? Feb 04 18:31:20 Only? I compiled it for krillin, but I don't have the device and couldn't test it Feb 04 18:31:28 is there any documentation on what "/usr/lib/lxc-android/mount-android" does? I think it is the one that gets stuck Feb 04 18:31:37 on my device Feb 04 18:31:58 @ZeroPointEnergy, It mounts /data/system.img Feb 04 18:32:27 No, that mounts all of the Android partitions Feb 04 18:32:31 system.mount mounts the image Feb 04 18:32:41 Can you find anything in its journal? Feb 04 18:36:35 @UniversalSuperBox, Oh sorry, confused them :/ Feb 04 18:37:43 Yes, there are a lot of entries if I'm looking at the right ones. Stuff like this: "Feb 11 16:28:23 localhost.localdomain systemd[1]: dev-disk-by\x2duuid-57f8f4bc\x2dabf4\x2d655f\x2dbf67\x2d946fc0f9f25b.device: Dev dev-... " Feb 04 18:40:04 so this are partitions on the phone and it mounts them to somewhere in system? Feb 04 18:40:44 in /system I mean Feb 04 18:55:14 @maharudra108, appended libcurl into PRODUCT_PACKAGES scope in my device_x5pro.mk and than … make mkbootimg => OK … make hybris-boot => OK … make systemimage => https://bpaste.net/show/00898d673dcf Feb 04 19:04:48 @Progromizd, Comment out from /vendor/.../.../device.mk Feb 04 19:20:28 don't know why, but … x5pro/extract-files.sh … doesn't work now Feb 04 19:22:12 - cursor just stopped blinking without eny text output Feb 04 19:24:37 error in ADB - it is not respond Feb 04 19:25:57 @NSA_AMERICA, curl is already absent there (initially) Feb 04 19:41:40 i'm stuck on this libcurl , nothing helped😔 Feb 04 19:43:54 Pardon my curiosity, as this will sound dumb, but would it be possible to make a Halium-compatible android image? Feb 04 19:51:34 @Progromizd, seems like not all files was copied by extract-script.sh, and need to manualy decide what and where to put Feb 04 19:54:33 if i copy all libs from my device into build-out dir (with adaptation target folder structure and related files), than build produce less errors, but some of then i don't know how to fix Feb 04 19:58:01 if I comment out gps.mt6735m \ (which wanted to use libcurl) … i receive new error: bin/vtservice', needed by ' ... … and that file seems like even doesn't exist on my physical device😔 Feb 04 19:59:08 I guess we had issues with GPS/MediaTek/libcurl before Feb 04 19:59:23 not sure if it was solved though Feb 04 19:59:58 I remember for krillin, it was just magically gone ... Feb 04 20:01:47 and with qualcomm-cpus errors like that not occurs? Feb 04 20:02:18 they do, it's just more explored one Feb 04 20:11:36 the main question is about extension *.toc - what tool is used for produce such files? Feb 04 20:12:07 where is that file from? Feb 04 20:12:33 be very careful with that Feb 04 20:12:34 Fwd from Progromizd: seems like not all files was copied by extract-script.sh, and need to manualy decide what and where to put Feb 04 20:12:35 Fwd from Progromizd: if i copy all libs from my device into build-out dir (with adaptation target folder structure and related files), than build produce less errors, but some of them i don't know how to fix Feb 04 20:12:41 since you said your device is running 5.1 Feb 04 20:13:44 yeah, forgot about this moment Feb 04 20:16:04 i'll try to look for these files in 7.1 firmware, without installing it to device. Tomorrow. Thanks all for your help! Feb 04 20:16:43 why not to test it first? Feb 04 20:16:56 (7.1 firmware) Feb 04 20:18:21 good idea, but it's not a time yet to make the phone unusable for some period) Feb 04 20:18:51 the Halium is way better at that :) Feb 04 20:19:52 saying honesty, I don't know yet what the Halium looks like) Feb 04 21:14:42 Halium is framework/adaptation layer/something like this, so it's not OS and doesn't have UI Feb 04 23:02:09 When halium starts I have like 32 systemd jobs in state waiting and 1 running (systemd-journal). Does anyone know how I can see what they are waiting for? Feb 04 23:02:28 they must have a dependency Feb 04 23:02:47 `systemd-analyze critical-chain` Feb 04 23:03:04 Will show you what needs to happen so it can hit a target Feb 04 23:06:39 hmm, I think I let that run, but it did not output anything, have to look at it again Feb 04 23:31:50 lol, systemd-analyse just means: "Bootup is not yet finished. Please try again later." Feb 04 23:34:54 I don't see any way to check on what's causing a holdup Feb 04 23:35:28 Can you run any systemd-analyze commands? Feb 04 23:38:05 I can move system.img and then it manages to start ssh. I have the chain for dropbear now. If system.img is in place it gets stuck somewhere. I have a script running which runs all sorts of commands including systemd-analyze after 10min and then reboots to recovery Feb 04 23:38:54 Hmm... is your system.img actually mountable? Feb 04 23:39:15 yes Feb 04 23:39:31 dmesg from the boot? Feb 04 23:40:27 I have a whole journal from the boot, but I don't see a clear error in there Feb 04 23:40:56 stupid question does the journal include the kernel messages? Feb 04 23:41:05 yes Feb 04 23:41:11 May I see? Feb 04 23:41:26 will try to upload it Feb 04 23:44:25 https://paste.ubuntu.com/26521882/ @UniversalSuperBox Feb 04 23:45:49 Oh... well the mount worked Feb 04 23:47:15 Hmm... You said you can't get in to SSH during a boot where system.img is in place? Feb 04 23:47:36 Do you get rndis during one of those boots? Feb 04 23:47:56 nope Feb 04 23:48:24 it does not execute the usb-tether script Feb 04 23:49:34 It does not even reach the sysinit.target Feb 04 23:52:29 Does the USB device still appear? Feb 04 23:53:42 on the pc? no, it does not appear Feb 04 23:54:16 hm Feb 04 23:56:12 yeah, thats what I say for days now :-D Feb 04 23:56:32 Can you disable the lxc container and boot? Feb 04 23:56:54 I have already disabled the container Feb 04 23:59:04 the system.img contains all the androidy stuff right? does that influence anything on the host system or is it really just in the container? Feb 04 23:59:20 The container can break things Feb 04 23:59:36 Reconfigure USB, mess with hardware Feb 05 00:00:33 but it is not running currently, so that can't possibly be it. There has to be something else which is different id system.img gets mounted Feb 05 00:01:13 Might I interest you in testing halium-boot Feb 05 00:01:27 :-D Feb 05 00:01:44 Will it solve all my problems? Feb 05 00:01:52 maybe Feb 05 00:02:05 (two underscores is italics in Telegram, sorry) Feb 05 00:02:26 The real goal is ensuring that the system is in a state we know is good. Feb 05 00:02:49 So we can know "The system.img is mounted, that can't be the problem" Feb 05 00:03:04 I'm betting it's one of the units that runs after system.mount of course Feb 05 00:03:08 And only after it completes. Feb 05 00:03:13 yes Feb 05 00:03:49 So that's android.mount Feb 05 00:03:49 will try to build halium-boot then Feb 05 00:05:55 got to go now. Thanks for your help. Will build it and see if it changes things :-) good night Feb 05 00:06:08 Sounds good. Feb 05 00:06:20 I don't think it'll fix everything, but it will remove some variables Feb 05 00:06:35 that is always good Feb 05 01:31:36 Walid is there anywhere that you want to send people for install instructions or anything on your port? Feb 05 02:10:30 Building hybris-boot results in this: https://paste.ubuntu.com/26522318/ **** ENDING LOGGING AT Mon Feb 05 03:00:02 2018