2016-06-30 16:54:15 @kido hi Lrs121 2016-06-30 16:54:33 Lrs121 hello 2016-06-30 16:55:27 @kido im unsure which flag youre talking about in the defconfig <- that was my misunderstanding, I was refering to there seems to be a line that is commented out which sets the ASUS_SW_VER variable to the kernel version. eg. .kernel_version = ASUS_SW_VER 2016-06-30 16:56:05 @kido for some reasons I thought you were talking about the defconfig, my bad ! 2016-06-30 16:58:57 @kido so just replace the value and it should be fine 2016-06-30 17:00:36 Lrs121 ah no problem. ive almost got the kernel building. It took some makefile changes made courtesy of xda user T10NAZ 2016-06-30 17:13:28 @kido nice ! :) 2016-06-30 17:14:05 @kido what errors are remaining ? 2016-06-30 17:35:26 Lrs121 this is whats remaining. include/trace/define_trace.h:79:43: fatal error: ./devfreq_trace.h: No such file or directory 2016-06-30 17:35:57 Lrs121 oops thats the last part 2016-06-30 17:38:35 Lrs121 The full error is, In file included from drivers/devfreq/devfreq_trace.h:43:0, from drivers/devfreq/devfreq_trace.c:20:include/trace/define_trace.h:79.43: fatal error: ./devfreq_trace.h: no such file or directory 2016-06-30 18:03:18 @kido have you tried to run find in the kernel tree to get a devfreq_trace.h ? 2016-06-30 18:03:48 @kido and then you might copy it into include/trace/ 2016-06-30 18:04:33 Lrs121 it exists in drivers/devfreq. ill test that 2016-06-30 18:40:45 Lrs121 i dropped the new errors into a txt file on the third comment of the github issue. https://github.com/Lrs121/meta-sparrow-hybris/issues/1 2016-06-30 19:09:27 @kido Lrs121: http://forum.xda-developers.com/showpost.php?p=65955140&postcount=11 isn't it indicated by the post you told me about ? 2016-06-30 19:20:53 Lrs121 yes. that didn't fix the issue. possibly because i am doing something wrong or because of something else 2016-06-30 20:32:27 Lrs121 never mind looks like i was reading it wrong. 2016-06-30 20:32:35 @kido :) 2016-06-30 20:50:46 Lrs121 im trying to fix an include statment now. the error is this, drivers/power/qpnp-charger.c:48:39: fatal error: charger/axc_PM8226Charger.h: No such file or directory. the file exists in drivers/power/charger/axc_PM8226Charger.h 2016-06-30 20:54:01 @kido asus really does a shitty job with their kernel 2016-06-30 20:55:58 Lrs121 thaso it seems 2016-06-30 20:56:12 @kido thaso? 2016-06-30 20:56:41 Lrs121 should have been so. irc client messed up 2016-06-30 20:59:35 Lrs121 the same person who was helping in that xda thread has the include statement removed in his source. however i am reluctant to remove it should it cause issues with charging 2016-06-30 20:59:51 @kido https://android.googlesource.com/kernel/msm/+/f58d12c63503416e189fe2561c0e7a5bff359b09%5E%21/drivers/power/qpnp-charger.c 2016-06-30 21:01:16 @kido no the include line doesn't seem to be needed 2016-06-30 21:01:22 @kido try to remove it, if it compiles it should be fine 2016-06-30 21:28:48 Lrs121 after fixing a bunch of other includes it seems to catch during the vmlinux part 2016-06-30 21:31:45 @kido pastebin :) 2016-06-30 21:33:17 Lrs121 there you go. http://pastebin.com/85WkH7zp 2016-06-30 21:39:45 @kido add CONFIG_MOUSE_PS2_LIFEBOOK=y to your defconfig 2016-06-30 21:40:00 @kido (that's not enough, I'm investigating the other references) 2016-06-30 21:41:14 @kido CONFIG_MOUSE_PS2_SENTELIC=y 2016-06-30 21:43:26 @kido CONFIG_USB_LIBCOMPOSITE=y 2016-06-30 21:45:26 @kido and something is wrong with CONFIG_USB_G_ANDROID but that's the problem we always get with 3.10 kernel and openembedded 2016-06-30 21:46:27 @kido also CONFIG_ARM_UNWIND=y 2016-06-30 21:46:46 @kido add all of those config options to your defconfig, rebuild the kernel and you should only have issues when linking getSoftconnect 2016-06-30 21:47:31 @kido which is defined in usb/gadget/android.c and should be compiled with CONFIG_USB_G_ANDROID... however this option is always fucked up 2016-06-30 21:49:22 @kido once you only have an issue with CONFIG_USB_G_ANDROID you will need to backup the .config file at the root of your kernel tree 2016-06-30 21:49:29 @kido just cp it to config-original 2016-06-30 21:54:14 @kido then, use bitbake -c menuconfig linux-sparrow and go to Device drivers -> USB Support -> USB Gadget Support -> USB Gadget Drivers ad choose Android Composite Gadget 2016-06-30 21:54:38 @kido save your config file to a config-usb for example, or .config, whatever you want 2016-06-30 21:54:51 @kido and then diff config-original config-usb 2016-06-30 21:55:06 @kido and paste me the diff 2016-06-30 21:55:43 @kido this is painful as hell but we have got nothing better with those old kernels 2016-06-30 21:58:32 Lrs121 is there anything i need to do to get the build to recognize the new defconfig 2016-06-30 22:00:13 @kido as long as you change the defconfig in meta-sparrow-hybris, bitbake should be able to recognize that the SRC_URI's hash changed and it should rebuild your kernel 2016-06-30 22:00:23 Lrs121 ok 2016-06-30 22:18:19 Lrs121 got a new error this time http://pastebin.com/2Yztjg4e 2016-06-30 22:23:15 @kido did you store all your patches with git format-patch as I told you to do ? 2016-06-30 22:26:33 Lrs121 yes i did 2016-06-30 22:27:25 @kido it seems that you are missing the first one we talked about 2016-06-30 22:27:40 @kido the one coming from meta-bass-hybris 2016-06-30 22:28:18 Lrs121 right i tested it. it never applied always returned bad format 2016-06-30 22:30:01 @kido oh right, then do it by hand (if you know how to read a patch) and generate a new one, sometimes the lines nearby the change are slightly differents 2016-06-30 22:33:35 Lrs121 I should be able to do it by hand. ill test a different way of obtaining the patch and try that first if not then ill do it by hand. 2016-06-30 22:36:09 @kido Alright :) 2016-06-30 22:36:38 @kido sorry, I wouldn't have expected the asus's codebase to be so bad 2016-06-30 22:37:08 @kido it's wasting you time in boring details 2016-06-30 22:38:00 Lrs121 it maybe boring but its a great learning experience. I have to thank you for all your help. 2016-06-30 22:40:43 Lrs121 actually it isnt all that boring. 2016-06-30 22:43:21 Asara kido is the best 2016-06-30 22:44:35 @kido well it might be helpful on some things but trust me there are much more exciting things to do in asteroid :D anyway, you are really welcome. I am the one who should thank you for giving time to this project 2016-06-30 22:47:57 * SylvieLorxu is so happy to see this interest here, especially because her own device should arrive tomorrow and would love to see AsteroidOS get better and better :) 2016-06-30 22:49:57 SylvieLorxu I'm curious if I'll like the OS as much as Asara :OP 2016-06-30 22:49:59 SylvieLorxu *:P 2016-06-30 22:53:28 Asara It is a decent OS 2016-06-30 22:53:32 Asara the philosophy wins 10/10 2016-06-30 22:53:34 Asara opensource 10/10 2016-06-30 22:53:56 Lrs121 Im always excited to see opensource replacements. 2016-06-30 22:54:06 SylvieLorxu If I may interject for a moment, Open Source misses the point of Free Software. You see 2016-06-30 22:54:34 SylvieLorxu But yeah, I'd rather have no device than one that is my enemy 2016-06-30 22:54:51 SylvieLorxu Which by definition makes AsteroidOS better than nothing and nothing better than Android Wear 2016-06-30 22:55:07 SylvieLorxu But we'll see, I'll probably be able to flash it tomorrow :) 2016-06-30 22:56:56 Lrs121 very true. hey kiddo im still getting the same errors on the vmlinux section on top of the softconnect 2016-06-30 23:01:22 Asara Free Software > Open Source > Everything else 2016-06-30 23:01:27 Asara RMS is fundamentally right 2016-06-30 23:01:32 Asara and I aspire to be like him 2016-06-30 23:01:33 Asara but I can't do it 2016-06-30 23:01:35 Asara because you know 2016-06-30 23:01:36 Asara life 2016-06-30 23:01:45 Asara so i try my best :) 2016-06-30 23:02:05 SylvieLorxu Well, you run Replicant, I'm a CyanogenMod noob :P 2016-06-30 23:02:32 Asara I use to use CM 2016-06-30 23:02:38 Asara followed it from like 9->11 2016-06-30 23:02:43 Asara 8 even maybe idr 2016-06-30 23:02:52 Asara but i found replicant and it won 2016-06-30 23:03:00 Asara I need to help with taht project oto 2016-06-30 23:03:11 Asara wanted to port Replicant 6 to the Galaxy S2 2016-06-30 23:03:17 Asara but i haven't moved ovr to my 3 yet 2016-06-30 23:03:21 Asara maybe next weekend 2016-06-30 23:03:26 * Asara needs more time in the day 2016-06-30 23:07:16 @kido Lrs121: you should only get errors about softconnect right ? that's to be expected before playing with menuconfig 2016-06-30 23:07:44 SylvieLorxu There's never enough time, even if you have forever :) 2016-06-30 23:07:48 @kido and once you set the correct usb option in menuconfig send me the diff 2016-06-30 23:08:55 @kido SylvieLorxu: of course I'm also delighted to see that people are interested about my idea :) it's hard to fully fit the free software movement but I try my best, in the limits of possibilities 2016-06-30 23:09:05 Lrs121 right, however im still getting errors like 'lifebook-detect' 'fsp_detect' etc 2016-06-30 23:09:21 @kido damn 2016-06-30 23:09:28 SylvieLorxu kido: As free as possible is something I find very fitting :) 2016-06-30 23:10:13 @kido well... I've got to go for today since tomorow will be my first day of internship at "free electrons" 2016-06-30 23:10:33 @kido we can take a look at this tomorow in the evening or during the weekend 2016-06-30 23:10:47 SylvieLorxu Heh, tomorrow is the last day of my internship :P Good luck 2016-06-30 23:11:20 Lrs121 no problem. ill do some google searches and see if i come up with anything. good luck. 2016-06-30 23:11:25 @kido nice ! :) enjoy your holidays then 2016-06-30 23:12:48 @kido I'll still be on IRC during the day (and playing with the kernel) but I should have more time for you after work 2016-06-30 23:14:02 Asara good luck tomorrow kido :) 2016-06-30 23:14:07 @kido by the way I exchanged a couple of emails with bebecede and she seems to be a very talented UI designer willing to help. I'm so excited to see what will come out of all if this 2016-06-30 23:14:16 @kido thanks Asara 2016-06-30 23:14:17 SylvieLorxu Cool :)