T42_ | <DerRenard> Hello. I synced the hybris, device repos and begin the building process. But during the breakfast command it went wrong with this log | 14:41 |
---|---|---|
T42_ | <DerRenard> ``` | 14:41 |
T42_ | <DerRenard> HABUILD_SDK [Mi439] renard@sfosBUILD:~/hadk$ breakfast $DEVICE | 14:41 |
T42_ | <DerRenard> 14:22:47 Build sandboxing disabled due to nsjail error. | 14:41 |
T42_ | <DerRenard> In file included from build/make/core/config.mk:380: | 14:41 |
T42_ | <DerRenard> In file included from build/make/core/envsetup.mk:369: | 14:41 |
T42_ | <DerRenard> In file included from build/make/target/product/product_launched_with_p.mk:2: | 14:41 |
T42_ | <DerRenard> device/xiaomi/Mi439/device.mk:107: error: vendor/xiaomi/Mi439/Mi439-vendor.mk does not exist.. | 14:41 |
T42_ | <DerRenard> 14:22:48 dumpvars failed with: exit status 1 | 14:41 |
T42_ | <DerRenard> Device Mi439 not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS). | 14:41 |
T42_ | <DerRenard> Found repository: android_device_xiaomi_Mi439 | 14:41 |
T42_ | <DerRenard> Default revision: lineage-21.0 | 14:41 |
T42_ | <DerRenard> Checking branch info | 14:41 |
T42_ | <DerRenard> Using fallback branch: lineage-21 | 14:41 |
T42_ | <DerRenard> Checking if device/xiaomi/Mi439 is fetched from android_device_xiaomi_Mi439 | 14:41 |
T42_ | <DerRenard> LineageOS/android_device_xiaomi_Mi439 already fetched to device/xiaomi/Mi439 | 14:41 |
T42_ | <DerRenard> Syncing repository to retrieve project. | 14:41 |
T42_ | <DerRenard> Syncing: 0% (0/1) 0:00 | 1 job | 0:00 LineageOS/android_device_xiaomi_Mi439 @ device/xiaomi..error.GitError: Cannot checkout LineageOS/android_device_xiaomi_Mi439: /home/renard/hadk/device/xiaomi/Mi439/.git: unsupported checkout state | 14:41 |
T42_ | <DerRenard> Syncing: 100% (1/1), done in 0.513s | 14:41 |
T42_ | <DerRenard> error: Unable to fully sync the tree | 14:41 |
T42_ | <DerRenard> error: Checking out local projects failed. | 14:41 |
T42_ | <DerRenard> Failing repos (checkout): | 14:41 |
T42_ | <DerRenard> device/xiaomi/Mi439 | 14:41 |
T42_ | <DerRenard> Try re-running with "-j1 --fail-fast" to exit at the first error. | 14:41 |
T42_ | <DerRenard> ================================================================================ | 14:41 |
T42_ | <DerRenard> Repo command failed due to the following `SyncError` errors: | 14:41 |
T42_ | <DerRenard> /home/renard/hadk/device/xiaomi/Mi439/.git: unsupported checkout state | 14:41 |
T42_ | <DerRenard> Repository synced! | 14:41 |
T42_ | <DerRenard> Looking for dependencies in device/xiaomi/Mi439 | 14:41 |
T42_ | <DerRenard> Looking for dependencies in device/xiaomi/mithorium-common | 14:41 |
T42_ | <DerRenard> Looking for dependencies in kernel/xiaomi/msm8937 | 14:41 |
T42_ | <DerRenard> What is the log about? What goes wrong? Kernel was the issue or device tree? This is device tree from the lineage' `lineage.dependencies`. I don't know where to find device specific repos, except in lineage' repo | 14:41 |
mal | show the local manifest you have, use some pastebin service and got paste a lot of content here | 14:44 |
mal | *do not paste a lot of content here | 14:45 |
mal | also that output says "vendor/xiaomi/Mi439/Mi439-vendor.mk does not exist" which usually means you need to add https://github.com/TheMuppets/proprietary_vendor_xiaomi_Mi439 to local manifests the path you see in the error and the repo should be obvious from that url | 14:47 |
T42_ | <DerRenard> Where should i clone this repo to? A path? To`vendor/xiaomi/Mi439`? (re @SailfishFreenodeIRCBridgeBot: <mal>also that outpu...) | 14:55 |
T42_ | <DerRenard> I mentioned that I didn't make one... (re @SailfishFreenodeIRCBridgeBot: <mal>show the local ...) | 14:57 |
mal | why didn't you make a local manifest? | 14:58 |
T42_ | <DerRenard> https://pastebin.com/EeAQ6wb1 (re @SailfishFreenodeIRCBridgeBot: <mal>also that outpu...) | 15:06 |
T42_ | <DerRenard> Here i show what i got in the folders after resyncing mithorium and proprietary_vendor_xiaomi_Mi439 to the right folders (re @DerRenard: https://pastebin.com...) | 15:07 |
mal | the error is clear, "vendor/xiaomi/mithorium-common/mithorium-common-vendor.mk does not exist" which again means finding the repo from that github project I linked earlier https://github.com/TheMuppets/proprietary_vendor_xiaomi_mithorium-common | 15:08 |
T42_ | <DerRenard> Wait, I cloned it (re @SailfishFreenodeIRCBridgeBot: <mal>the error is cl...) | 15:08 |
mal | you still didn't explain why you didn't use local manifest | 15:09 |
T42_ | <DerRenard> I do not understand how to make it. It's much simpler to clone ~4 repos to the right place and see will it works or not. If yes - I have the right path and repo. If no - looking for another one. (re @SailfishFreenodeIRCBridgeBot: <mal>you still didn'...) | 15:10 |
T42_ | <DerRenard> I haven't even done any manifests and furthermore haven't seen any xml before. Some markdown yes, json, html, but xml (what is really ugly in some places. i had a bad experience with android native development) | 15:13 |
mal | the example in chapter 5.2 of hadk pdf should not be very difficult, you just add the xml file with repos you need, the path, name and revision are easy to find | 15:13 |
mal | path is the folder where it should end up in the sources, name is the part of the repo url after github.com/ and revision is the branch you use | 15:14 |
mal | so for example that https://github.com/TheMuppets/proprietary_vendor_xiaomi_Mi439 would be <project path="vendor/xiaomi/Mi439" name="TheMuppets/proprietary_vendor_xiaomi_Mi439" revision="lineage-21" /> | 15:16 |
T42_ | <DerRenard> Got it. I will make one now. But why i getting my error? Everything in the right place even without manifest. (re @SailfishFreenodeIRCBridgeBot: <mal>path is the fol...) | 15:17 |
mal | I think it doesn't really like local checkout of device repos since it tries to sync them but fails because the target exists | 15:18 |
mal | the rest of the xml file you can see in the example in hadk pdf | 15:21 |
mal | just the project entries need to be adjusted | 15:21 |
T42_ | <DerRenard> Ah, you think the problem is in there? Maybe. But it tries to look out the file "mithorium-common/mithorium-common-vendor.mk " which doesn't exist even in the repo (re @SailfishFreenodeIRCBridgeBot: <mal>I think it does...) | 15:22 |
mal | just make the local manifest sync and then see what happens | 15:23 |
mal | you might need to use repo sync --force-sync so it can handle the local checkouts when syncing | 15:24 |
T42_ | <DerRenard> here my local manifest. is it correct? | 15:27 |
T42_ | <DerRenard> https://pastebin.com/57DUS2dG | 15:27 |
mal | no, path of mithorium-common should be "vendor/xiaomi/mithorium-common" | 15:28 |
T42_ | <DerRenard> AH! (re @SailfishFreenodeIRCBridgeBot: <mal>no, path of mit...) | 15:29 |
mal | wait | 15:30 |
mal | even more wrong | 15:30 |
mal | you are confusing things a bit | 15:30 |
T42_ | <DerRenard> what else? revision? (re @SailfishFreenodeIRCBridgeBot: <mal>you are confusi...) | 15:31 |
mal | that is missing device/xiaomi/mithorium-common which is where LineageOS/android_device_xiaomi_mithorium-common goes, and then it should also have vendor/xiaomi/mithorium-common where TheMuppets/proprietary_vendor_xiaomi_mithorium-common goes | 15:31 |
mal | you somehow combined those incorrectly | 15:32 |
mal | also the kernel entry is incorrect | 15:34 |
mal | that should be <project path="kernel/xiaomi/msm8937" name="LineageOS/android_kernel_xiaomi_msm8937" revision="lineage-21" /> | 15:35 |
T42_ | <DerRenard> im f* confused at all. when i was googling about codename of my cpu it was sdm439, why now its msm8937 (re @SailfishFreenodeIRCBridgeBot: <mal>that should be ...) | 15:37 |
T42_ | <DerRenard> and why there's kernel for sdm439 | 15:37 |
mal | https://github.com/LineageOS/android_device_xiaomi_mithorium-common/blob/lineage-21/lineage.dependencies | 15:37 |
mal | the older branches used sdm439, no idea why https://github.com/LineageOS/android_device_xiaomi_Mi439/blob/lineage-19.1/lineage.dependencies | 15:39 |
mal | but since you use lineage 21 then you use what is defined here https://github.com/LineageOS/android_device_xiaomi_mithorium-common/blob/lineage-21/lineage.dependencies | 15:40 |
T42_ | <whydidyallmakesecurebootgay> msm8937 = msm8917 = msm8920 = msm8940 = sdm429 = sdm439 = sdm450 = sdm632 = msm8953 | 15:42 |
T42_ | <whydidyallmakesecurebootgay> | 15:42 |
T42_ | <whydidyallmakesecurebootgay> Welcome to qualcomm | 15:42 |
T42_ | <DerRenard> Updated local manifest | 15:42 |
T42_ | <DerRenard> https://pastebin.com/1msxXrwd | 15:42 |
T42_ | <DerRenard> What does mediatek have? :) Something similar or even worse? (re @whydidyallmakesecurebootgay: msm8937 = msm8917 = ...) | 15:44 |
T42_ | <whydidyallmakesecurebootgay> Nope, mediatek is quite obvious when it comes to model names | 15:45 |
T42_ | <DerRenard> Wait, i removed everything in device/xiaomi, why do I keep getting this error? | 15:50 |
T42_ | <DerRenard> ``` | 15:50 |
T42_ | <DerRenard> HABUILD_SDK [Mi439] renard@sfosBUILD:~/hadk$ repo sync --force-sync | 15:50 |
T42_ | <DerRenard> error: in `sync --force-sync`: duplicate path device/xiaomi/Mi439 in /home/renard/hadk/.repo/manifest.xml``` | 15:50 |
T42_ | <elros34> error is about manifest.xml which contains device specific entry | 16:00 |
T42_ | <DerRenard> I read it. It have nothing about this path. (re @elros34: error is about manif...) | 16:01 |
T42_ | <DerRenard> Can i force it to not mention it and start syncing? | 16:01 |
T42_ | <elros34> grep Mi439 ~/hadk/.repo/manifest.xml | 16:02 |
T42_ | <DerRenard> Nothing (re @elros34: grep Mi439 ~/hadk/.r...) | 16:05 |
T42_ | <DerRenard> I'll say more, this is only what it has | 16:05 |
T42_ | <DerRenard> ``` | 16:05 |
T42_ | <DerRenard> <?xml version="1.0" encoding="UTF-8"?> | 16:05 |
T42_ | <DerRenard> <!-- | 16:05 |
T42_ | <DerRenard> DO NOT EDIT THIS FILE! It is generated by repo and changes will be discarded. | 16:05 |
T42_ | <DerRenard> --> | 16:05 |
T42_ | <DerRenard> <manifest> | 16:05 |
T42_ | <DerRenard> <include name="default.xml" /> | 16:06 |
T42_ | <DerRenard> </manifest>``` | 16:06 |
T42_ | <elros34> so check default.xml | 16:07 |
T42_ | <elros34> I guess you still use this lineage initialized android tree right? | 16:07 |
T42_ | <DerRenard> its good to say "check". where is it?.. (re @elros34: so check default.xml) | 16:08 |
T42_ | <DerRenard> Nah. I reinstalled HOST os and redownloaded everything (re @elros34: I guess you still us...) | 16:08 |
T42_ | <DerRenard> It's pure by HADK | 16:09 |
T42_ | <DerRenard> but when i was syncing it i did it without local manifest | 16:10 |
T42_ | <elros34> did you "repo init" mer-hybris or lineage repo? | 16:10 |
T42_ | <DerRenard> this one | 16:11 |
T42_ | <DerRenard> `repo init -u https://github.com/mer-hybris/android.git -b hybris-21.0` (re @elros34: did you "repo init" ...) | 16:11 |
T42_ | <elros34> maybe try: grep -rn Mi439 —include="*.xml" | 16:17 |
T42_ | <elros34> in .repo directory | 16:17 |
T42_ | <DerRenard> ``` | 16:18 |
T42_ | <DerRenard> grep -rn Mi439 —include="*.xml" no such file or directory``` | 16:18 |
T42_ | <DerRenard> (re @elros34: maybe try: grep -rn ...) | 16:18 |
T42_ | <DerRenard> ``` | 16:18 |
T42_ | <DerRenard> grep —include="*.xml" no such file or directory``` | 16:18 |
T42_ | <DerRenard> (edited) (re @elros34: maybe try: grep -rn ...) | 16:18 |
T42_ | <DerRenard> Wait. Telegram replaced 2 dashes with 1 | 16:19 |
T42_ | <elros34> junk client | 16:20 |
T42_ | <DerRenard> ``` | 16:20 |
T42_ | <DerRenard> local_manifests/Mi439.xml:3: <project path="device/xiaomi/Mi439" | 16:20 |
T42_ | <DerRenard> local_manifests/Mi439.xml:4: name="LineageOS/android_device_xiaomi_Mi439" | 16:20 |
T42_ | <DerRenard> local_manifests/Mi439.xml:16: name="TheMuppets/proprietary_vendor_xiaomi_Mi439" | 16:20 |
T42_ | <DerRenard> local_manifests/roomservice.xml:3: <project path="device/xiaomi/Mi439" remote="github" name="LineageOS/android_device_xiaomi_Mi439" revision="lineage-21" />``` | 16:20 |
T42_ | <DerRenard> Just remove this from local manifest? | 16:21 |
T42_ | <DerRenard> If roomservice has it | 16:21 |
T42_ | <elros34> remove roomservice.xml | 16:22 |
T42_ | <DerRenard> fine, syncing begin | 16:23 |
T42_ | <elros34> if you are not familiar with grep use great gnome-search-tools or something like that for searching | 16:24 |
T42_ | <DerRenard> Uhhh. Again | 16:26 |
T42_ | <DerRenard> https://pastebin.com/6EdnF1g6 | 16:26 |
T42_ | <DerRenard> now in vender | 16:26 |
T42_ | <DerRenard> now in vendor (edited) | 16:26 |
T42_ | <elros34> show current local manifest | 16:27 |
T42_ | <DerRenard> . (re @DerRenard: Updated local manife...) | 16:27 |
T42_ | <elros34> clearly you are missing vendor/xiaomi/Mi439 | 16:28 |
T42_ | <DerRenard> yes, but which repo should i use for it? (re @elros34: clearly you are miss...) | 16:29 |
T42_ | <DerRenard> Everything is in place already | 16:29 |
T42_ | <elros34> you use proprietary_vendor_xiaomi_Mi439 should be in vendor/xiaomi/Mi439 instead vendor/xiaomi/mithorium-common | 16:30 |
T42_ | <elros34> proprietary_vendor_xiaomi_mithorium-common should be in vendor/xiaomi/mithorium-common | 16:31 |
T42_ | <DerRenard> okay, but what is mithorium actually? | 16:33 |
T42_ | <DerRenard> it's not codename of device/cpu/platform. wtf is that then? | 16:34 |
T42_ | <elros34> mi thorium | 16:39 |
T42_ | <DerRenard> updated manifest and new error... | 16:40 |
T42_ | <DerRenard> https://pastebin.com/WHQ4TMwc | 16:40 |
T42_ | <DerRenard> it does not see vendor Mi439 | 16:40 |
T42_ | <DerRenard> I don't understand why | 16:41 |
T42_ | <DerRenard> See. I did a mistake in manifest | 16:41 |
T42_ | <DerRenard> Sorry for screwing, but FUCK github. mithorium-common from TheMuppets didn't synced cause of github blocked syncing without sign in.... BUT original git could not sign in github anymore... and this HABUILD ubuntu doesn't have github-cli in the repos.... I downloaded it manually and unziped it to the vendor/xiaomi/mithorium-common by hand | 17:07 |
Mister_Magister | what are you even on about, creating problems that only affect you | 17:08 |
T42_ | <elros34> you don't need to use repo in habuild | 17:09 |
T42_ | <DerRenard> where do i need to use it then? (re @elros34: you don't need to us...) | 17:16 |
T42_ | <DerRenard> repo used in HABUILD, repo hasn't download vendor/xiaomi/mithorium-common at all. I've tried to clone it manually by git and it said i need to auth in github | 17:17 |
T42_ | <elros34> I mean't you don't need to use repo, git/ github-cli or whatever inside habuild, you can run in host os. | 17:18 |
T42_ | <elros34> so auth and download or whatever. just get the files theere and move on | 17:18 |
T42_ | <DerRenard> In hadk it used in HA, so did i (re @elros34: so auth and download...) | 17:20 |
T42_ | <DerRenard> Finally. Building | 17:32 |
rinigus | on nagara/los21 based port, during volte phonecall I get once in a while handover indication and call is transferred from IMS to GSM. similar info arrives through qcrilmsgtunnel with call_type switched from LTE to GSM. now, I can still continue phonecall and hangup the call. hangup will be done on ofono side without calling ims plugin hangup in this case. | 17:34 |
rinigus | however, looks like something on ofono side is not in sync as if I get a phonecall from someone through IMS, the call will be displayed on the screen not from that new number, but from the number I had a call before with. even if ims logs show that the number has been detected correctly by plugin. | 17:35 |
rinigus | hence a question: how I am expected to handle such LTE->GSM handover in ofono plugin? | 17:35 |
T42_ | <DerRenard> Who knows why this happened? | 18:12 |
T42_ | <DerRenard> https://pastebin.com/ATv9raF2 | 18:12 |
mal | you forgot to clone libhybris as described here https://github.com/mer-hybris/hadk-faq?tab=readme-ov-file#hybris-16-0 | 18:15 |
mal | did you apply patches? | 18:15 |
mal | also mentioned in that link | 18:15 |
mal | only do that first part about libhybris and patches | 18:16 |
T42_ | <DerRenard> Ah. I thought it was only for hybris 16, but i'm compiling hybris 21 | 18:17 |
mal | patches and libhybris are needed for all newer android bases | 18:17 |
mal | also when doing the config repo later check the last 3 parts of 17.1 instructions | 18:18 |
T42_ | <DerRenard> i cannot find this file | 18:48 |
T42_ | <DerRenard> `rpm/dhd/helpers/build_packages.sh` | 18:48 |
T42_ | <DerRenard> i have no rpm directory in the ANDROID_ROOT | 18:49 |
mal | that is done later | 18:51 |
mal | I said once you get to get part where you create the additional repos you need to check faq again | 18:51 |
mal | that will happen in chapter 7.1 once you get that far | 18:51 |
mal | for now just do the patching and clone libhybris as instructed and then try to build hybris-hal again | 18:52 |
T42_ | <DerRenard> okay. this just sentence about copying files from repo from oneplus5 and this command (re @SailfishFreenodeIRCBridgeBot: <mal>for now just do...) | 18:54 |
T42_ | <DerRenard> So, HAL was assembled. Cool. What's my next step? | 19:44 |
T42_ | <DerRenard> if i don't have any kernel configs yet, can i make one and paste it here? | 19:55 |
T42_ | <DerRenard> ``` | 19:55 |
T42_ | <DerRenard> renard@sfosBUILD:~/hadk$ cat $ANDROID_ROOT/device/$VENDOR/*/BoardConfig*.mk | grep GET_KERNEL_CONFIG | 19:55 |
T42_ | <DerRenard> TARGET_KERNEL_CONFIG += \ | 19:55 |
T42_ | <DerRenard> TARGET_KERNEL_CONFIG := \``` | 19:55 |
T42_ | <elros34> of course you have kernel config, even grep shows something ^ | 19:56 |
T42_ | <DerRenard> uh? It's nothing, isn't it? (re @elros34: of course you have k...) | 19:59 |
mal | grep -C1 | 20:00 |
T42_ | <elros34> told you use gnome-search-tool but if you insist on grep then add for example -C10 | 20:00 |
T42_ | <DerRenard> I see. I just manually opened these files in less and searched for value. Yeah, they aren't empty | 20:05 |
T42_ | <DerRenard> My terminal crashed and I opened a new session and start getting this error when trying to compile the kernel. What am i doing wrong? build/envsetup.sh i sourced | 20:21 |
T42_ | <DerRenard> | 20:21 |
T42_ | <DerRenard> https://pastebin.com/evZ412hh | 20:21 |
mal | did you rerun the commands mentioned in chapter 5.4, those source, export and breakfast commands? | 20:23 |
T42_ | <DerRenard> breakfast returns now this strange message | 20:26 |
T42_ | <DerRenard> pastebin.com/j0gZjjzp | 20:26 |
T42_ | <DerRenard> I didn't change anything but | 20:26 |
T42_ | <DerRenard> ``` | 20:26 |
T42_ | <DerRenard> vendor/msm8937-perf_defconfig``` | 20:26 |
T42_ | <DerRenard> I didn't change anything but | 20:27 |
T42_ | <DerRenard> ``` | 20:27 |
T42_ | <DerRenard> vendor/msm8937-perf_defconfig``` | 20:27 |
T42_ | <DerRenard> | 20:27 |
T42_ | <DerRenard> to | 20:27 |
T42_ | <DerRenard> ``` | 20:27 |
T42_ | <DerRenard> kernel/xiaomi/msm8937/arch/arm64/configs/``` | 20:27 |
T42_ | <DerRenard> (edited) | 20:27 |
mal | you did something wrong when editing device/xiaomi/mithorium-common/BoardConfigCommon.mk | 20:27 |
mal | what did you change in that file? | 20:27 |
T42_ | <DerRenard> this one (re @DerRenard: I didn't change anyt...) | 20:27 |
mal | you must have done something, it doesn't just break | 20:27 |
mal | check line 40 | 20:27 |
mal | as seen in the error message | 20:28 |
T42_ | <elros34> 'git diff' in mithorium-common | 20:28 |
mal | just a reminder to look at the log you plan to paste first, in line 3 of that paste it clearly says "device/xiaomi/mithorium-common/BoardConfigCommon.mk:40: error: missing separator." | 20:29 |
T42_ | <DerRenard> I'm an idiot. I forget about backslash after line (re @SailfishFreenodeIRCBridgeBot: <mal>you must have d...) | 20:29 |
T42_ | <elros34> again show git diff, you are not supposed to change anything there | 20:30 |
T42_ | <DerRenard> I didn't even think about backslash was this separator. Anything but backslash (re @SailfishFreenodeIRCBridgeBot: <mal>just a reminder...) | 20:34 |
mal | but why did you do anything to that line 40 | 20:35 |
mal | there is nothing in that part of the file you should be touching | 20:35 |
mal | so go to folder device/xiaomi/mithorium-common, then run git diff and paste the output | 20:36 |
T42_ | <DerRenard> After command | 20:43 |
T42_ | <DerRenard> ``` | 20:43 |
T42_ | <DerRenard> hybris/mer-kernel-check/mer_verify_kernel_config ./out/target/product/$DEVICE/obj/KERNEL_OBJ/.config | 20:43 |
T42_ | <DerRenard> ``` | 20:43 |
T42_ | <DerRenard> | 20:43 |
T42_ | <DerRenard> it returned some ERROR in it, what is fixed in this config | 20:43 |
T42_ | <DerRenard> ``` | 20:43 |
T42_ | <DerRenard> kernel/xiaomi/msm8937/arch/arm64/configs/defconfig``` | 20:43 |
T42_ | <DerRenard> (re @SailfishFreenodeIRCBridgeBot: <mal>there is nothin...) | 20:43 |
T42_ | <DerRenard> And I begin the reassembling of the kernel | 20:43 |
T42_ | <DerRenard> TBH I followed this guy's "docs". Even in translation it reads easier than official docs (re @morciatka: uhh, they are comple...) | 20:46 |
mal | that does not explain why you edited the BoardConfigCommon.mk | 20:46 |
T42_ | <DerRenard> cause it has `msm8937-perf_defconfig` this `defconfig` part catch me to change this file (Richard did this in his docs and i followed because HADK has nothing about which file i need to change) (re @SailfishFreenodeIRCBridgeBot: <mal>that does not e...) | 20:48 |
mal | but that said which file to edit, msm8937-perf_defconfig | 20:52 |
mal | well you can also check the other files listed there to see what those contain | 20:53 |
mal | @elros34 do you happen to know how android build handles when there are multiple files listed there | 20:54 |
T42_ | <elros34> just pure guess they all merged | 20:54 |
mal | @DerRenard you still haven't said what you changed in that BoardConfigCommon.mk | 20:54 |
mal | @elros34 then we need to be careful when overriding things so the next file won't overwrite it | 20:55 |
T42_ | <elros34> I think make hybris-hal should scream about overridding | 20:55 |
mal | yeah | 20:57 |
T42_ | <DerRenard> I said. This line `vendor/msm8937-perf_defconfig` to this line `kernel/xiaomi/msm8937/arch/arm64/configs/defconfig` in the TARGET_KERNEL_CONFIG (re @SailfishFreenodeIRCBridgeBot: <mal>@DerRenard you ...) | 20:58 |
mal | hmm, what is that kernel/xiaomi/msm8937/arch/arm64/configs/defconfig ? where did it come from? | 20:58 |
mal | I have no idea why you would do that | 20:59 |
T42_ | <elros34> kernel/xiaomi/msm8937/arch/arm64/configs/defconfig is not your device specific defconfig | 21:00 |
T42_ | <elros34> you should make changes probably only to msm8937-perf_defconfig | 21:02 |
T42_ | <elros34> file itself not some line with msm8937-perf_defconfig | 21:02 |
T42_ | <DerRenard> defcondig https://pastebin.com/1Fqrt8Aq | 21:04 |
T42_ | <DerRenard> BoardConfigCommon https://pastebin.com/Rwg6nr9e | 21:04 |
T42_ | <DerRenard> | 21:04 |
T42_ | <DerRenard> defconfig looks like solved some error i got after | 21:04 |
T42_ | <DerRenard> hybris/mer-kernel-check/mer_verify_kernel_config ./out/target/product/$DEVICE/obj/KERNEL_OBJ/.config | 21:04 |
T42_ | <DerRenard> | 21:04 |
T42_ | <DerRenard> | 21:04 |
T42_ | <DerRenard> At least i checked ERRORs and in defconfig they was fine. So i tried to build with this config, but something goes wrong | 21:04 |
mal | well that is wrong | 21:04 |
mal | you can't just change which defconfig file is used | 21:04 |
mal | revert the change in BoardConfigCommon.mk and edit the correct defconfig file meaning msm8937-perf_defconfig | 21:05 |
T42_ | <elros34> you build kernel for 99 architectures now | 21:05 |
T42_ | <DerRenard> Already (re @SailfishFreenodeIRCBridgeBot: <mal>revert the chan...) | 21:06 |
T42_ | <DerRenard> OH F. That was... unexpected (re @elros34: you build kernel for...) | 21:06 |
T42_ | <DerRenard> I don't have this file in the vendor. Do i need to create it or look for it in different place? (re @SailfishFreenodeIRCBridgeBot: <mal>revert the chan...) | 21:07 |
T42_ | <elros34> yes you have | 21:07 |
T42_ | <elros34> https://github.com/LineageOS/android_kernel_xiaomi_msm8937/blob/lineage-21/arch/arm64/configs/vendor/msm8937-perf_defconfig | 21:08 |
mal | @DerRenard kernel/xiaomi/msm8937/arch/arm64/configs/vendor/msm8937-perf_defconfig | 21:08 |
mal | you are confusing $ANDROID_ROOT/vendor folder and the kernel config vendor folder | 21:09 |
mal | probably | 21:09 |
T42_ | <elros34> maybe using some translated instruction instead hadk/hot/faq is not that great idea | 21:09 |
T42_ | <DerRenard> yes (re @SailfishFreenodeIRCBridgeBot: <mal>probably) | 21:09 |
T42_ | <DerRenard> yes i do | 21:09 |
T42_ | <DerRenard> i thought every path located from $ANDROID_ROOT | 21:10 |
mal | in a lot of cases yes but not in the case of kernel defconfig paths | 21:11 |
T42_ | <DerRenard> but i have this file (re @SailfishFreenodeIRCBridgeBot: <mal>@DerRenard kern...) | 21:12 |
mal | ? | 21:12 |
T42_ | <DerRenard> and they are the same from the link | 21:12 |
mal | yes, I just gave the path it is under $ANDROID_ROOT | 21:12 |
T42_ | <DerRenard> I need to change this file or make a new one in different place? (re @SailfishFreenodeIRCBridgeBot: <mal>yes, I just gav...) | 21:13 |
T42_ | <DerRenard> I just wonder why | 21:14 |
T42_ | <DerRenard> ``` | 21:14 |
T42_ | <DerRenard> hybris/mer-kernel-check/mer_verify_kernel_config ./out/target/product/$DEVICE/obj/KERNEL_OBJ/.config``` | 21:14 |
mal | of course change the file | 21:14 |
T42_ | <DerRenard> | 21:14 |
T42_ | <DerRenard> showed a lot of error in it if i have this file already | 21:14 |
mal | what kind of errors? | 21:14 |
mal | it's usual it gives some errors | 21:14 |
mal | it is very likely you need to add all the changes after this line https://github.com/mlehtima/android_kernel_fairphone_qcm6490/blob/hybris-21.0/arch/arm64/configs/vendor/fp5-qgki_defconfig#L930 | 21:16 |
mal | just copy the things after that line and paste to the end of your msm8937-perf_defconfig | 21:17 |
mal | easier to try that than manually check each config | 21:17 |
T42_ | <DerRenard> https://pastebin.com/RztGdctq (re @SailfishFreenodeIRCBridgeBot: <mal>what kind of er...) | 21:19 |
T42_ | <DerRenard> done (re @SailfishFreenodeIRCBridgeBot: <mal>it is very like...) | 21:20 |
T42_ | <DerRenard> I begin building again. Hope it'll be goes well | 21:22 |
T42_ | <elros34> it's not logical but you should have CONFIG_AUTOFS4_FS enabled | 21:24 |
T42_ | <DerRenard> Even if it was logical I don't know what it is this option about (re @elros34: it's not logical but...) | 21:27 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!