Thursday, 2019-01-17

maland by non-modified I mean directly from the mer-hybris repo00:00
UmeaboyI tried doing that and it still fails. How long ago did you build it?00:00
malyesterday or the day before or something like that00:01
malUmeaboy: so show git diff from your kernel repo and and also first commit hash from git log00:02
malonly that way I can be sure the repo is what it should be00:02
T4<meierrom> mal: observing how rather long build times are, what hardware do you recommend, eg storage, CPU, RAM?00:06
malI built my first builds on a quite old dual-core if I remember correctly and it was still manageable00:13
T4<meierrom> mal: OK, that's rather low specs. My i5 should be OK to get started then. Thanks!00:17
Umeaboymeirrom: What's good to do before building is to disable JACK and NINJA.00:20
mal@meierrom what kind of computer do you have?00:26
T4<meierrom> Umeaboy: not sure I'm getting you. I shouldn't play games while building?00:26
T4<meierrom> mal: I have an i5 laptop with  6gb ram and 500gb disk storage.00:29
malshould be fine00:30
malI build on i5 with 16 GB of RAM00:31
malonly think you need is enough disk space, depending on android base you use00:31
malfor example my aosp6 sources and build takes about 40 GB, hybris-15.1 is 64 GB00:33
T4<meierrom> mal: I will likely start with a few test builds, eg for hammerhead, mido or fp2.00:34
T4<meierrom> mal: I assume using a USB external hd is a no go?00:36
UmeaboyWeird. I just did git reset --hard HEAD again and started building..... It has passed 60% now.00:42
T4<meierrom> Umeaboy: Did a little research on Jack and Ninja. I'm getting it now. Thanks for the advice!00:47
Umeaboy90% built now.00:53
Umeaboymal: This time it built successfully.01:19
malUmeaboy: so I was correct all the time :)01:20
mal@meierrom I used to build on USB disk, it's just slower but doable01:21
Umeaboymal: Yeah.01:21
UmeaboyWould iot be OK to boot it using fastboot boot boot.img or do I need more?01:22
malthat is just the kernel01:22
maland it's hybris-boot.img01:22
maljust follow the hadk, there are many more steps01:23
Umeaboymal: The exclamation mark means that the module will only be built?01:56
UmeaboyFor example: CONFIG_FW_LOADER_USER_HELPER01:56
malin there ! means it's not required02:00
*** Gizmokid2010 is now known as Gizmokid200502:46
*** ChanServ sets mode: +v T402:49
T4<BusterBg_18> Quick question, is the method to build on obs from faq still valid?03:16
r0kk3rzthe process hasnt really changed ever08:32
*** ChanServ sets mode: +v T408:34
r0kk3rzbtw RELEASE has been bumped to on gitlab-ci11:34
r0kk3rzalthough we should wait for target on merobs11:35
T4<abhishek_0> Anything new with this release?11:44
r0kk3rzcheck the notes11:45
r0kk3rzapparently CONFIG_NETFILTER_XT_MATCH_CONNTRACK needs to be enabled now if you dont already11:56
malI think quite many devices might have it already, but should be enabled12:00
r0kk3rzyeah mine does at least12:00
r0kk3rzmal: did you talk with sdl2 people?12:01
malr0kk3rz: not yet12:04
malr0kk3rz: their IRC channel doesn't seem to have much active developers so I'll have to post either on their forums or bugzilla12:05
r0kk3rzoh ok12:09
r0kk3rzits obviously someones hobby project that everyone adopted12:10
T4<srmane4444> Quote from Marco: I get this, "No android-base.cfg is found in these paths: ''", … I also ran into this error. The build cannot find the path to this config in the kernel.12:21
*** ahjolinna_ is now known as ahjolinna12:29
r0kk3rzits obviously someones hobby project that everyone adopted13:56
*** ChanServ sets mode: +v T414:29
kraaijmakersHey, do I need arm64 or aarch64 for PORT_ARCH if I am trying to port SailfishOS to OnePlus 6?16:48
malkraaijmakers: which android base? lineage 15.1?16:58
kraaijmakersmal: I am just trying though, don't have any real experience using kernel stuff17:00
malkernel changes are easier part of porting usually17:05
kraaijmakersoh, well, i have knowledge about Linux usage and setup, so I hope I could make this work, or atleast a bit17:06
malthe kernel config checker will tell what to change (and in case you get confused about certain of those changes as hint do not modify CONFIG_AUDIT, use CONFIG_SECURITY_SELINUX_BOOTPARAM instead)17:07
kraaijmakersyeah, I seen it before when I did a gentoo installation on some hardware but I meant like getting hardware to work which isn't supported. That's something I can't do haha17:08
Benclark006hi, when i try to make my kernel, i get all these errors:
Benclark006here's the full log:
Benclark006sorry if this is obvious but i haven't found a fix so far18:55
malBenclark006: what kernel are you building now? didn't you already built it before?19:25
Benclark006mal: i had to rebuild it because the drive in my old pc failed so i had to get a new one19:51
Benclark006and i didn't get a chance to back everything up19:51
Benclark006i'm building it for the huawei y619:54
malBenclark006: so what have you done differently this time?20:02
Benclark006mal: i have no clue20:06
malare the kernel changes looking ok? pastebin git diff from kernel repo20:07
kraaijmakersIs there anyone who has setup mountpoints on a phone with treble? and if yes what is recommended to do?20:07
malyes, what is the problem?20:08
kraaijmakerswell, how to start is actually the problem, because I don't know if I need to set for example boot_a and boot_b or only boot_a or something?20:09
Benclark006mal: i'm building for a different device, i don't remember getting as far as the kernel build on my old pc for this one20:10
Benclark006wait maybe i did20:11
Benclark006i think i did20:12
Benclark006but i don't remember doing anything different this time20:12
r0kk3rzkraaijmakers: i think you just pick one, and use that20:12
kraaijmakersOkay thanks r0kk3rz20:13
r0kk3rzat least that seems to be what XA2 devices are doing20:13
*** ChanServ sets mode: +v T420:13
kraaijmakersah okay! :)20:13
malBenclark006: which device repos do you use for that?20:28
T4<BusterBg_18> mal so how do I get maintainership for xiaomi redmi note 3(kenzo) currently everything  besides FM Radio is working on my port20:54
Benclark006mal: i managed to fix /that/ error21:09
malBenclark006: what caused it?21:09
Benclark006i broke something when i ran repo sync so i just reinstalled repo and reran sync then it worked a charm21:09
mal@BusterBg_18 who was the original developer of that?21:09
T4<BusterBg_18> Akhil Kalwakurthy21:12
Benclark006hi again, i'm getting this error when i try to make hybris:
malis there any way to contact him?21:13
Benclark006full log:
T4<BusterBg_18> Yes, I message him on telegram whenever I had an issue while building21:14
mal@BusterBg_18 so where exactly do you want the permissions, github, OBS?21:15
T4<BusterBg_18> OBS for the whole OTA thing21:16
maldo you have account for OBS (i.e. mer bugzilla account)21:16
T4<BusterBg_18> Nope21:20
malthe follow the instructions here to get an account
kraaijmakersI fixed the  'error: 'libsf_compat_layer'' but now I am stuck on 'ninja: error: 'libhwc2_compat_layer'21:42
malkraaijmakers: have you cloned libhybris to some suitable place, either external/ or hybris/mw/? git clone --recurse-submodules -b android8-initial21:53
malkraaijmakers: how did ou fix the first error?21:53
malprobably not the correct way21:54
kraaijmakersgit clone in the ~/hadk/external folder21:55
malkraaijmakers: the branch needs to be android8-initial if you build for lineage 15.121:56
kraaijmakersOOh yeah21:56
kraaijmakersthanks for reminding :) I totally forgot about that haha21:56
malkraaijmakers: so remove the one you cloned and run my command21:56
kraaijmakersyes will do21:56
kraaijmakersin the external folder too ?21:56
maleither place works21:57
T4<BusterBg_18> All right I have sended the email to get the account, now just have to wait for a response21:58
kraaijmakersIt's compiling, thanks mal21:59
kraaijmakerstime for some food, I was so focussed I forgot to eat something! thanks again for the help :)21:59
Umeaboymal: I rebuilt the kernel with the errors and warnings fixed, but they still exist.22:12
UmeaboyIs that a false positive?22:12
T4<adampigg> umeaboy, perhaps get a t-shirt or a mug
Umeaboyadampigg: Good idea, but I already checked my kernel defconfig.22:28
piggzUmeaboy: which are still in error exactly? and can you link to your kernel?22:29
UmeaboyThe problem is that it still rebuilds with the same problems as I was noticed before I fixed those lines.22:29
Umeaboypiggz: Here's the content of my kernel defconfig:
piggzkernel source/branch, and errors22:33
Umeaboypiggz: I'm building for the Sony Xperia XZ Premium (G8142) a.k.a maple so it's the hybris aosp kernel 4.4.22:39
UmeaboyHere's the mer check kernel output even after building:
UmeaboyIf you check my defconfig you'll see that I've changed them accordingly.22:44
malUmeaboy: are you sure you fixed correct defconfig and didn't do anything else after that except run make hybris-hal22:48
UmeaboyYes, I'm absolutely sure.22:48
malUmeaboy: and you modified defconfig not .config22:49
maljust making sure22:49
malshow the defconfig22:49
malUmeaboy: if you look at the first error you get CONFIG_PROC_FS, that is not in defconfig22:52
malsame with the others22:53
malUmeaboy: what is exact filename of that defconfig?22:58
malUmeaboy: so why are some of the needed flags not added to defconfig?23:00
UmeaboyI checked every line now and rebuilding....23:15
UmeaboyI'm on my way out for a while while it builds.23:15

Generated by 2.17.1 by Marius Gedminas - find it at!