**** BEGIN LOGGING AT Tue Nov 26 02:59:57 2019 Nov 26 06:03:15 EmilSMN was added by: EmilSMN Nov 26 06:22:58 (Document) https://irc.ubports.com/40KSbud0.txt Nov 26 06:24:06 @EmilSMN [], You can use paste.ubuntu.com Nov 26 06:24:10 Please don’t use pastebin Nov 26 06:27:02 @vanyasem [You can use paste.ubuntu.com], https://paste.ubuntu.com/p/xjXRn4DD5t/ Nov 26 06:39:09 @vanyasem [Please don’t use pastebin], Why, I got even a subscription for that :) Nov 26 06:40:48 @Flohack [Why, I got even a subscription for that :)], It's blocked in $places Nov 26 06:45:46 Oh, interesting Nov 26 08:34:51 Recommended was added by: Recommended Nov 26 10:45:31 @drapatyi [now it's crashing right after X starts, but looking through logs it doesn't look …], I've recompile and reinstall UT on op2 and I don't have this kernel panic, it boot normally... … do you still have this KP? Nov 26 10:47:35 @drapatyi [now it's crashing right after X starts, but looking through logs it doesn't look …], [Edit] I've recompile and reinstall UT on op2 and I don't have this kernel panic, it just boots normally... … do you still have this KP? Nov 26 12:03:34 @vince1171 [I've recompile and reinstall UT on op2 and I don't have this kernel panic, it j …], yeah I even tried amd64. It didn’t help. For some reason it just tries to load wifi driver and crashes, I suppose that’s just because there’s no lxc properly configured. But not sure how to disable this kernel module from automatic load, will Nov 26 12:03:34 try in the evening today or on weekend. Don’t have time actually to experiment with during work days :’(. BTW if you need any help regarding testing on oneplus2, feel free to assign any issue to me in github, my github name is `vertilon` Nov 26 12:03:53 @vince1171 [I've recompile and reinstall UT on op2 and I don't have this kernel panic, it j …], [Edit] yeah I even tried amd64. It didn’t help. For some reason it just tries to load wifi driver and crashes, I suppose that’s just because there’s no lxc daemon properly configured. But not sure how to disable this kernel module from automa Nov 26 12:03:53 tic load, will try in the evening today or on weekend. Don’t have time actually to experiment with during work days :’(. BTW if you need any help regarding testing on oneplus2, feel free to assign any issue to me in github, my github name is `vertilon` Nov 26 12:04:19 @vince1171 [I've recompile and reinstall UT on op2 and I don't have this kernel panic, it j …], [Edit] yeah I even tried amd64. It didn’t help. For some reason it just tries to load wifi driver and crashes, I suppose that’s just because there’s no lxc daemon properly configured. But not sure how to disable this kernel module from automa Nov 26 12:04:19 tic load, will try in the evening today or on weekend. Don’t have time actually to experiment with it during work days :’(. BTW if you need any help regarding testing on oneplus2, feel free to assign any issue to me in github, my github name is `vertilon` Nov 26 12:04:42 @vince1171 [I've recompile and reinstall UT on op2 and I don't have this kernel panic, it j …], [Edit] yeah I even tried amd64. It didn’t help. For some reason it just tries to load wifi driver and crashes, I suppose that’s just because there’s no lxc daemon properly configured. But not sure how to disable this kernel module from automa Nov 26 12:04:42 tic load, will try in the evening today or on weekend. Don’t have time actually to experiment with it during work days :’(. BTW if you need any help regarding testing on oneplus2, feel free to assign any issue to me on github, my github name is `vertilon` Nov 26 12:38:48 @vince1171 [I've recompile and reinstall UT on op2 and I don't have this kernel panic, it j …], [Edit] yeah I even tried amd64. It didn’t help. For some reason it just tries to load wifi driver and crashes, I suppose that’s just because there’s no lxc daemon properly configured. But not sure how to disable this wifi kernel module from a Nov 26 12:38:49 utomatic load, will try in the evening today or on weekend. Don’t have time actually to experiment with it during work days :’(. BTW if you need any help regarding testing on oneplus2, feel free to assign any issue to me on github, my github name is `vertilon` Nov 26 12:38:59 @vince1171 [I've recompile and reinstall UT on op2 and I don't have this kernel panic, it j …], [Edit] yeah I even tried amd64. It didn’t help. For some reason it just tries to load wifi driver and crashes, I suppose that’s just because there’s no lxc daemon properly configured. But not sure how to disable this wifi kernel module from a Nov 26 12:38:59 utomatic load on startup, will try in the evening today or on weekend. Don’t have time actually to experiment with it during work days :’(. BTW if you need any help regarding testing on oneplus2, feel free to assign any issue to me on github, my github name is `vertilon` Nov 26 13:41:07 @rixchy [Here are the errors if someone here is a C programmer. :) https://pastebin.com/F …], I am still trying to fix this issue, how do I make sure what exact header file is missing? Nov 26 13:42:30 Well, I'm rather tried to find another kernel source Nov 26 13:43:14 @intel777 [Well, I'm rather tried to find another kernel source], I did, I have 2 kernel sources for my device. I had issues with both of the kernels, so I tried to merge them together... and here, this error appeared! Nov 26 13:43:15 as if this one is missing some headers, it may be that there is something wrong with sources itself Nov 26 13:43:30 @intel777 [as if this one is missing some headers, it may be that there is something wrong …], It's something because i deletet. Nov 26 13:43:34 @intel777 [as if this one is missing some headers, it may be that there is something wrong …], [Edit] It's something because i deleted. Nov 26 13:43:38 oh i see Nov 26 13:43:40 But, I am not sure what to restore Nov 26 13:43:44 [Edit] But, I am not sure what to restore. Nov 26 13:44:08 there are errors like … "$functionname" not declared Nov 26 13:44:25 try to find sources that defines that $functionname Nov 26 13:44:57 you basically can … ask '$functionname(' inside sources folder Nov 26 13:45:22 it will search all source code files and will find file that declares function Nov 26 13:45:37 place it where it originally was, or merege it with file you already have there Nov 26 13:45:50 second option is prefereble Nov 26 13:45:56 Ok, I will try that. I will try it also with `grep`. Thanks! Nov 26 13:45:57 [Edit] second option is preferable Nov 26 13:50:06 I think I already found where it was declared.. Nov 26 13:50:17 I will check if it works, before I get too excited.. Nov 26 13:51:20 [Edit] you basically can … ```ack '$functionname('``` … inside sources folder Nov 26 13:51:41 It didn't get fixed. Nov 26 13:53:46 did you removed everything in … halium/out/target/product/[devicename]/obj? Nov 26 13:53:57 and /obj_arm Nov 26 13:54:18 @intel777 [did you removed everything in … halium/out/target/product/[devicename]/obj?], Ok, I will try to, BRB. Nov 26 13:54:40 headers are compiled only first time, and then it uses them, thats why it builds alot faster after first time Nov 26 13:54:55 Oh, good to know that. Nov 26 13:55:13 I think it worked. Nov 26 13:56:33 Oh my, the errors went away! I have some issues with another file, but the previous errors are gone! Thanks! Nov 26 13:58:07 Also, you'll eventually gonna change some settings in your kernel configs, make sure to remove halium/out/target/product/[devicename]/obj/KERNEL_OBJ/.config after changin something in your kernel folder Nov 26 14:00:58 窦昊磊 was added by: 窦昊磊 Nov 26 14:06:59 @rixchy [I did, I have 2 kernel sources for my device. I had issues with both of the kern …], I think it's not a good idea😂😅 Nov 26 14:07:36 well, I guess there is no choice for him Nov 26 14:08:04 @Mattia990 [I think it's not a good idea😂😅], Yeah, I think so too now, but my kernel wasn't building when apparmor was set to default security in defconfig. My goal is UT anyways, so that was the only choice at the time. Also, on kernel source wasn't from CWM or LOS, lmao. Nov 26 14:08:06 @intel777 [well, I guess there is no choice for him], Yep, use one kernel and fix the errors Nov 26 14:08:33 @rixchy [Yeah, I think so too now, but my kernel wasn't building when apparmor was set to …], How did you applied apparmor patches? Nov 26 14:08:50 @Mattia990 [How did you applied apparmor patches?], There were apparmor patches, and I did apply them. Nov 26 14:09:22 I could try downloading my kernel again and trying to build it with apparmor to let you know the error, how about that? Nov 26 14:09:23 @rixchy [There were apparmor patches, and I did apply them.], I remember you said "I took hammerhead apparmor folder and I put it into my kernel sources" Nov 26 14:10:00 @Mattia990 [I remember you said "I took hammerhead apparmor folder and I put it into my kern …], Yes, I did so. I did that before copying (or even after) the apparmor from my other device's kernel repo. Nov 26 14:10:12 @rixchy [Yes, I did so. I did that before copying (or even after) the apparmor from my ot …], So that's wrong Nov 26 14:10:19 @Mattia990 [I remember you said "I took hammerhead apparmor folder and I put it into my kern …], [Edit] Yes, I did so. I did that before copying (or even after) the apparmor from my device's other kernel repo. Nov 26 14:10:42 @rixchy [I could try downloading my kernel again and trying to build it with apparmor to …], So, should I try this? Nov 26 14:11:37 @rixchy [So, should I try this?], Yes, for apparmor patches you need some file . patch and you need to apply them with git Nov 26 14:11:38 Actually, another note. When I am building my kernel with apparmor as security, I am having "truncate.c" building errors. Nov 26 14:11:59 @Mattia990 [Yes, for apparmor patches you need some file . patch and you need to apply them …], It is going to give me an error because my kernel files are shorter or longer than it expects. Nov 26 14:12:42 Really? Nov 26 14:12:49 @Mattia990 [Really?], Yeah. Nov 26 14:58:17 OK, so I am having a build error here which was all he time, I need to fix this one, and I think that's gonna do it. A function called "USEC_CONVERSION" isn't declared (error.) When I used `grep` to look for it, in the kernel folder, it is not declared in ANY file. Nov 26 14:59:11 Usually, there are GitHub commits which I apply to fix these errors, but those patches don't seem to define it. Nov 26 14:59:29 [Edit] OK, so I am having a build error here which was all he time, I need to fix this one, and I think that's gonna do it. A function called "USEC_CONVERSION" isn't defined (error.) When I used `grep` to look for it, in the kernel folder, it is not define in ANY file. Nov 26 15:01:30 "/home/rixchy/halium/kernel/samsung/exynos5420/kernel/time.c:550:17: error: 'USEC_CONVERSION' undeclared (first use in this function) … (((u64)usec * USEC_CONVERSION + USEC_ROUND) >> … ^" Nov 26 15:02:15 The same error with `USEC_ROUND` and `USEC_JIFFIE_SC`. Nov 26 15:06:08 But, now I surfed the web, and I found, that most of these functions *should* be defined in `jiffies.h`. Nov 26 15:10:27 That fixed it. :) Nov 26 15:19:58 spinzlab was added by: spinzlab Nov 26 17:23:38 DMCA takedown on themuppets Xiaomi vendor blobs Nov 26 17:23:43 What to do? Nov 26 17:24:13 Has anyone forked it? Nov 26 17:39:14 @Win32_downdadup [Has anyone forked it?], Me, check my first commit in my vendor tree … github.com/halium-gemini Nov 26 17:39:36 Thanks Nov 26 17:53:31 Is a remote tag necessary for building halium? It's said default aosp is assumed Nov 26 18:27:15 Hi, … How to solve? - chroot: failed to run command ‘passwd’: No such file or directory Nov 26 20:12:15 Can someone advise me what to do: https://pastebin.com/Grie5MhC Because I am crying right now, and this will take months to fix. Nov 26 20:12:31 [Edit] Can someone advise me what to do: https://pastebin.com/Grie5MhC This will take months to fix. Nov 26 20:13:45 rixchy: What did you do to cause this? Nov 26 20:14:17 I applied some patches to my kernel, because it wasn't building halium-boot with apparmor as security. Nov 26 20:14:45 My kernel `always` has issues. Damn you, Samsung! Nov 26 20:18:29 Well usually just applying some patches does more harm then good is my experience Nov 26 20:18:42 Easy to miss a single line and break a whole lot :( Nov 26 20:19:19 :( Nov 26 20:19:42 I don't even know what those errors are. 😂 Nov 26 20:23:28 You know what, screw it. I am just going to rename this kernel folder and download another one. Nov 26 20:24:01 I think that I won't be able to run UT for a long time. Nov 26 20:24:19 Because it uses Apparmor and it's important...right? Nov 26 20:24:33 AppArmor is not important to just have it booting Nov 26 20:24:52 so do not bother with it until you have rest working Nov 26 20:24:53 @NotKit [AppArmor is not important to just have it booting], But to get UT working? Nov 26 20:25:10 Atleast IDK, have it show ubuntu logo or something. Nov 26 20:25:30 Some say that they had their best luck on getting UT working first, instead of PM. Nov 26 20:25:38 I mean you will boot to UI without Apparmor, just security features won't be working Nov 26 20:25:40 So, that's why I was aiming at UI. Nov 26 20:25:43 [Edit] So, that's why I was aiming at UT. Nov 26 20:26:02 @NotKit [I mean you will boot to UI without Apparmor, just security features won't be wor …], Oh, okay. Nov 26 20:26:18 LuneOS is easy to boot in general as well ;) Nov 26 20:26:30 But you'd need to build the whole OS ;) Nov 26 20:26:33 But I am still gonna have issues with halium-boot being too big, so... I will get PM working first. Nov 26 20:26:44 @Herrie [But you'd need to build the whole OS ;)], WDYM, the whole os? From the GH? Nov 26 20:28:03 Yes ;) Nov 26 20:28:05 It's quite some ;) Nov 26 20:28:10 IDK, maybe I should try PM? Nov 26 20:28:17 There are so many pros and cons. Nov 26 20:28:56 But I think it's the best one. I keep switching back and forth between distributions, but I think everyone's gone thorugh that. Nov 26 20:29:26 rixchy: Yeah true Nov 26 20:29:38 LuneOS - need to build from source, and to get UT working it is going to take alot of work. Get Apparmor running + getting halium-boot to 7.9 MB. Nov 26 20:29:51 Well we don't use Halium-boot ;) Nov 26 20:29:55 For LuneOS Nov 26 20:30:08 For PM also. Nov 26 20:30:42 So, that's why I go with either reference or PM usually, because as I said, to get UT working, I have to get halium-boot from 11 MB to 7.9 MB. Nov 26 22:48:24 @rixchy [So, that's why I go with either reference or PM usually, because as I said, to g …], Resize boot partition😂 Nov 26 23:07:21 @Mattia990 [Resize boot partition😂], Mattia, I have repeated myself several times on this group, stating that I indeed tried your recommendation, and it failed. Nov 26 23:07:45 @Mattia990 [Resize boot partition😂], [Edit] Mattia, I have repeated myself several times on this group, stating that I indeed tried your recommendation, but it has failed. Nov 26 23:45:57 Sadly repeating one's self is unavoidable in a group this big :p Nov 27 01:36:00 KrisJacewicz was added by: KrisJacewicz Nov 27 01:37:38 hello, I joined this group looking for a way to take photos with phone camera from bash on ubuntu touch. How would I go about using camera via hybris - who can please point me somewhere with it? Nov 27 02:17:29 @rixchy [So, that's why I go with either reference or PM usually, because as I said, to g …], In your BoardConfig.mk I think it has those values for your device, if not try manually adding them and see if it changes anything **** ENDING LOGGING AT Wed Nov 27 02:59:57 2019