**** BEGIN LOGGING AT Fri Apr 16 03:00:29 2021 Apr 16 08:39:28 why all ported devices have strong cpus mostly from snapdragon (ie 8xx)? Is it coincidence? Maybe just low-end phones arent worth porting? Or maybe there are technical issues that make weaker cpus impossible to port to halium? Apr 16 09:01:03 @Jonek [why all ported devices have strong cpus mostly from snapdragon (ie 8xx)? Is it c …], It's not Apr 16 09:01:10 I ported it to a samsung s2 Apr 16 09:20:25 well, developers and tech people usually get high-end devices Apr 16 09:20:37 I think it's related to this Apr 16 09:21:02 Also, believe me, Snapdragon is much more sane than Mediakek Apr 16 09:21:08 don't know about Exynos Apr 16 09:21:15 ok thats what I thought, I just wanted to make sure that there are no technological blockers Apr 16 09:21:19 or maybe performance ones Apr 16 09:21:28 whats wrong with MTK? Apr 16 09:22:16 Ofc higher end CPUs will give better performance, but yeah that's not something stopping porting Apr 16 09:22:23 Well, many things, but the main issue are bugs in the kernel and a weird build system overall Apr 16 09:22:39 kernel might not compile if you enable some config option, etc. Apr 16 09:22:41 And I'm porting to a 2012 device so yeah Apr 16 09:22:59 isnt MTK build system just derived from aosp? did they change something? Apr 16 09:23:29 I'm talking about kernel build system, it's different Apr 16 09:23:45 I don't think it's derived from aosp Apr 16 10:09:35 I'm now getting some errors while compiling halium for a s3 Apr 16 10:09:54 https://paste.ubuntu.com/p/RWksk8Ms7G/ Apr 16 10:16:18 `/home/u0_a203/halium/kernel/samsung/smdk4412/kernel/fork.c:284:2: error: too many arguments to function 'alloc_thread_info_node'` fun Apr 16 10:16:51 * mighty17 uploaded an image: (79KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/YvFarUOYOqkiOMQhHZtRhNxe/image.png > Apr 16 10:18:20 @ubports_bot [* mighty17: uploaded an image: (79KiB) < https://matrix.org/_matrix/media/r0/dow …], So what do I do? Apr 16 10:18:58 that function doesnt take any arguments according to the node Apr 16 10:19:05 are u sure that the kernel is correct? Apr 16 10:19:16 @mighty17 [are u sure that the kernel is correct?], Yes Apr 16 10:19:21 * that function takes less arguments according to the node Apr 16 10:19:38 u need to check the code Apr 16 10:19:49 @mighty17 [u need to check the code], Ok Apr 16 10:20:01 ie where the error has occured Apr 16 10:20:09 and see what the function takes are arguments Apr 16 10:20:23 @mighty17 [and see what the function takes are arguments], Ok Apr 16 10:20:26 u could just comment out the broken code as a last resort Apr 16 10:20:39 @mighty17 [u could just comment out the broken code as a last resort], Thanks Apr 16 10:20:46 The file I should check is fork.o Apr 16 10:20:49 Correct? Apr 16 10:20:54 no Apr 16 10:21:02 fork.c Apr 16 10:21:10 not the object (.o) file Apr 16 10:31:25 @mighty17 [not the object (.o) file], I now get this: https://paste.ubuntu.com/p/gJW37HytWV/ Apr 16 10:31:57 did u frget some brackets? Apr 16 10:32:00 forget* Apr 16 10:32:10 Hm Apr 16 10:32:17 I'm not so good at C Apr 16 10:32:38 just match the number of open and closed brackets in that part Apr 16 10:32:57 @mighty17 [just match the number of open and closed brackets in that part], Ok Apr 16 10:34:38 @mighty17 [just match the number of open and closed brackets in that part], I don't see anything off Apr 16 10:34:43 The brackets match Apr 16 10:34:56 huh weird Apr 16 10:35:01 no clue then Apr 16 10:35:27 @mighty17 [no clue then], Could you check my fork.c? Apr 16 10:35:36 `/home/u0_a203/halium/kernel/samsung/smdk4412/kernel/fork.c:130:39: error: 'node' undeclared here (not in a function)` aha whats this Apr 16 10:35:58 I disabled this now Apr 16 10:36:30 disabled what xD Apr 16 10:38:05 The whole block Apr 16 10:38:14 It doesn't link to anywhere Apr 16 10:38:55 weird Apr 16 10:44:18 @mighty17 [weird], I'll send my fork.c file Apr 16 10:48:41 i have lecs coming up now, will check Apr 16 10:50:44 (Document) https://irc.ubports.com/lDUZAr8I.null Apr 16 10:53:55 @mighty17 [i have lecs coming up now, will check], Could you check it? Apr 16 11:00:58 kk Apr 16 11:01:53 u have commented a bracket... Apr 16 11:02:07 * mighty17 < https://matrix.org/_matrix/media/r0/download/matrix.org/dLMjNGQwmABhcNHjonEuJpAB/message.txt > Apr 16 11:03:17 Hi are files in hardware modified by halium or use stock files from android....thankyou.. Apr 16 11:04:25 https://github.com/LineageOS/android_kernel_samsung_smdk4412/blob/cm-14.1/kernel/fork.c#L122-L133 try with this Apr 16 11:18:21 Ok Apr 16 11:21:48 @Mathew Dennis [Hi are files in hardware modified by halium or use stock files from android....t …], Any one have any idea... Apr 16 11:24:18 idk Apr 16 11:35:29 @mighty17 [idk], Now I get this: https://paste.ubuntu.com/p/MM46r5hj3y/ Apr 16 11:36:00 cant help rn in lecture Apr 16 11:39:21 Oh Apr 16 11:51:49 @mighty17 [cant help rn in lecture], You done now? Apr 16 12:47:39 startekmb was added by: startekmb Apr 16 13:12:09 Nope :( Apr 16 13:50:10 @mighty17 [Nope :(], :( Apr 16 13:50:25 yeah lets check now Apr 16 13:50:49 `/home/u0_a203/halium/kernel/samsung/smdk4412/kernel/fork.c:321:20: error: 'struct task_struct' has no member named 'adj_node' RB_CLEAR_NODE(&tsk->adj_node);` Apr 16 13:51:03 u need to check where adj_node is defined Apr 16 13:53:13 https://stackoverflow.com/questions/34344588/error-struct-task-struct-has-no-member-named-it-virt-value Apr 16 14:10:48 @mighty17 [u need to check where adj_node is defined], So what do I do? Apr 16 14:10:55 I'm not that good at C Apr 16 14:11:14 even i dont know much about this Apr 16 14:11:24 have a look at the link i sent of stackoverflow Apr 16 14:11:29 its a similar issue Apr 16 14:11:33 Not much there Apr 16 14:14:33 :( sorry then Apr 16 14:14:45 i have no clues, except commenting that part out :P Apr 16 14:16:59 Ok Apr 16 14:25:30 raghav_7 was added by: raghav_7 Apr 16 15:01:30 Good day! I managed to build halium-boot.img and system.img. Now it remains to establish all this.))) Apr 16 15:11:25 @mighty17 [i have no clues, except commenting that part out :P], After fixing a lot of errors, I get this now: https://paste.ubuntu.com/p/j8jYSqm2g7/ Apr 16 15:12:13 Huh that's a weird syntax error Apr 16 15:12:59 u forgot a bracket again? Apr 16 15:14:31 @mighty17 [u forgot a bracket again?], Nah Apr 16 15:14:44 I had to close the whole block Apr 16 15:15:04 Doing the one that the build reported errors of don't fix it Apr 16 15:15:15 I had to close the whole block Apr 16 15:16:26 send file Apr 16 15:16:31 and what did u comment Apr 16 15:16:38 commenting isnt the best way to fix Apr 16 15:17:02 (Document) https://irc.ubports.com/qrUYyMTu.null Apr 16 15:17:09 @mighty17 [commenting isnt the best way to fix], That was the only way Apr 16 15:17:30 It was a commit for Android 5 that is not needed now Apr 16 15:17:43 oh Apr 16 15:18:09 @mighty17 [oh], So do you see anything? Apr 16 15:18:19 The block starts with hci_uart_tty Apr 16 15:18:25 line number? Apr 16 15:18:43 yeah found it Apr 16 15:19:24 @mighty17 [yeah found it], Good Apr 16 15:19:39 nop that was false Apr 16 15:19:53 @mighty17 [nop that was false], What was false? Apr 16 15:20:30 i didnt find it Apr 16 15:20:41 also the bracket error is in bluetooth_mgmt.h file Apr 16 15:20:41 @mighty17 [i didnt find it], Find what? Apr 16 15:20:45 not the .c file Apr 16 15:20:53 @mighty17 [not the .c file], What? Apr 16 15:20:53 @mighty17 [i di"> find the problem Apr 16 15:20:53 Ohhh Apr 16 15:21:04 The fix I did before must have fixed it Apr 16 15:21:08 `/home/u0_a203/halium/kernel/samsung/smdk4412/include/net/bluetooth/bluetooth_mgmt.h:172:22: error: expected identifier or '(' before 'struct'` Apr 16 15:21:15 The fix I did b"> ????/ Apr 16 15:21:31 Undefined reference to hci_uart Apr 16 15:21:51 can u send the error Apr 16 15:22:01 @mighty17 [can u send the error], I fixed it now Apr 16 15:22:09 cool Apr 16 15:22:27 @mighty17 [cool], The one for the .h file is still there Apr 16 15:22:44 send that file Apr 16 15:22:48 Oki Apr 16 15:24:34 (Document) https://irc.ubports.com/mjUkgOME.null Apr 16 15:24:36 @mighty17 [send that file], There Apr 16 15:24:55 ok Apr 16 15:26:05 hmm thats weird Apr 16 15:26:06 something else seems to be broken Apr 16 15:26:19 @mighty17 [something else seems to be broken], Like what? Apr 16 15:26:34 i dont know Apr 16 15:26:46 @mighty17 [i dont know], Aw Apr 16 15:26:55 :( Apr 16 15:27:03 Could I just get rid of bluetooth? Apr 16 15:27:15 I don't really need it Apr 16 15:28:08 lmao Apr 16 15:28:19 @mighty17 [lmao], Could I? Apr 16 15:28:22 i mean u can, but should you?? Apr 16 15:28:32 @mighty17 [i mean u can, but should you??], I don't need it Apr 16 15:28:53 maybe disable the config for it then Apr 16 15:29:11 Oki Apr 16 15:34:57 @mighty17 [maybe disable the config for it then], Where do I disable it? Apr 16 15:35:41 the defconfig file Apr 16 15:35:51 Oh Apr 16 15:35:51 where u ran the mer-kernel-check Apr 16 15:35:57 @mighty17 [where u ran the mer-kernel-check], Ohk Apr 16 15:36:11 What would the config entry be? Apr 16 15:36:15 Sorry for asking Apr 16 15:36:25 Don't wanna mess this up like my last port Apr 16 15:36:34 idk something like config_bt or config_bluetooth Apr 16 15:36:43 Don't wanna mes"> as in? Apr 16 15:36:59 i mean u could wait to get a proper fix for the .h file Apr 16 15:37:04 Hard-bricked my p8 lite Apr 16 15:37:12 and all the stuff u commented which isnt ideal Apr 16 15:37:16 Hard-bricked my"> oooof Apr 16 15:37:25 @mighty17 [i mean u could wait to get a proper fix for the .h file], Development has been stopped for these trees Apr 16 15:37:50 yeah but someone with more c knowledge can help Apr 16 15:43:57 @mighty17 [yeah but someone with more c knowledge can help], Now I get a different error Apr 16 15:44:10 :( Apr 16 15:46:52 @mighty17 [:(], https://paste.ubuntu.com/p/MSfcSsd5Nh/ Apr 16 15:46:53 This Apr 16 15:53:50 home/u0_a203/halium/kernel/samsung/smdk4412/arch/arm/mach-exynos/cpuidle-exynos4.c:714 Apr 16 15:53:51 U probably need bluetooth Apr 16 15:53:51 * home/u0_a203/halium/kernel/samsung/smdk4412/arch/arm/mach-exynos/cpuidle-exynos4.c:714 undefined reference to `bt_uart_rts_ctrl' Apr 16 17:37:12 Bros i have a device having 4gb storage … & according to halium porting guide it should me minimum 16 Gb storage … excluding the storage my device meet all the other requirements. … should i drop the idea of porting and pickup another device. … please suggest. Apr 16 17:37:47 Bros i have a device having 4gb storage … & according to halium porting guide it should be minimum 16 Gb storage. … excluding the storage my device meet all the other requirements. … should i drop the idea of porting and pickup another device. … please suggest. Apr 16 17:40:59 how much ram it has? Apr 16 17:41:23 if less than 1gb it's not worth it Apr 16 17:41:34 4GB of storage is worse Apr 16 17:41:44 yeah Apr 16 17:41:45 There won't be enough storage in /data to fit systemimage and rootfs Apr 16 17:42:06 but you can always use micro sd card Apr 16 17:42:31 @just_carlod [if less than 1gb it's not worth it], 1 gb ram Apr 16 17:42:39 I think then you'd need to modify halium-boot Apr 16 17:42:49 or does it auto detect? I don't think so Apr 16 17:42:50 @just_carlod [but you can always use micro sd card], to expand storage? Apr 16 17:43:00 @Zack83r [to expand storage?], yes Apr 16 17:43:28 what device is it? Apr 16 17:43:51 @just_carlod [what device is it?], moto e 1 gen Apr 16 17:45:02 @nergzd723 [I think then you'd need to modify halium-boot], I am going to start soon … if i encounter problems pls help Apr 16 17:46:01 https://www.gsmarena.com/motorola_moto_e_dual_sim-6323.php this one? Apr 16 17:46:19 I think it's way to old Apr 16 17:46:45 @just_carlod [https://www.gsmarena.com/motorola_moto_e_dual_sim-6323.php this one?], yes Apr 16 17:46:59 but maybe there are some new custom roms Apr 16 17:47:12 @just_carlod [I think it's way to old], that's why i to revive it. Apr 16 17:47:21 @just_carlod [but maybe there are some new custom roms], last one was 2019 Apr 16 17:51:36 @just_carlod [I think it's way to old], not sure if dual core is enough for ubuntu touch or droidian Apr 16 18:19:39 @just_carlod [not sure if dual core is enough for ubuntu touch or droidian], Someone booted it back in 2017 … That's why I want to try Apr 16 18:20:33 @Zack83r [Someone booted it back in 2017 … That's why I want to try], https://forum.xda-developers.com/t/experimental-wip-ubuntu-touch-15-04-20-01-2016-ubuntu-touch-for-moto-e.3273224/ **** ENDING LOGGING AT Sat Apr 17 02:59:57 2021