**** BEGIN LOGGING AT Thu Sep 26 02:59:57 2019 Sep 26 11:09:26 n00b2h4ck3r was added by: n00b2h4ck3r Sep 26 11:39:14 Hello guys. I would like to make an Ubuntu touch port for a mix2 what do you think? Sep 26 11:40:24 does it have Android 7? Sep 26 11:41:40 @n00b2h4ck3r [Hello guys. I would like to make an Ubuntu touch port for a mix2 what do you thi …], xiaomi mi mix 2? Sep 26 11:42:58 @Mattia990 [xiaomi mi mix 2?], Yes Sep 26 11:43:13 @NotKit [does it have Android 7?], You already have Android 10 from Android 7 Sep 26 11:43:51 Android 8/9/10 do not work for us Sep 26 11:44:07 @NotKit [Android 8/9/10 do not work for us], Oh That bad Sep 26 11:45:39 in particular, check if LineageOS 14 is available with device tree source code Sep 26 11:47:30 @n00b2h4ck3r [Hello guys. I would like to make an Ubuntu touch port for a mix2 what do you thi …], You can https://github.com/LineageOS/android_device_xiaomi_chiron/tree/cm-14.1 Sep 26 11:48:12 @Mattia990 [You can https://github.com/LineageOS/android_device_xiaomi_chiron/tree/cm-14.1], Great! Sep 26 11:54:11 Did someone manage to get a Huawei device working ? Sep 26 11:57:34 @n00b2h4ck3r [Great!], Let us know if you need any help Sep 26 12:17:25 @aurnytoraink [Did someone manage to get a Huawei device working ?], Kirin or not? Sep 26 12:20:18 @NotKit [Kirin or not?], Yes Sep 26 12:26:42 I have not heard of such devices, but should be possible with enough time and knowledge to debug it Sep 26 12:30:40 @Shakendo [Let us know if you need any help], Thanks!! Sep 26 13:51:13 (Photo, 1280x640) https://irc.ubports.com/LUTFtT02.png Boys. I get this error, how can I fix it? Sep 26 13:52:53 that's not error yet Sep 26 14:00:40 @NotKit [that's not error yet], Yes, I realized haha Sep 26 14:01:42 How do I find out the directory for the kernel? (mer_verify_kernel_config path) Sep 26 14:09:31 Probably in kernel/ dir Sep 26 14:21:39 Yes, but I have no idea how I write it down. Sep 26 14:49:45 @n00b2h4ck3r [How do I find out the directory for the kernel? (mer_verify_kernel_config path)], [Edit] kernel/msms9889/arch/(arm or arm64)/devicename_defconfig Sep 26 15:12:06 @Mattia990 [kernel/msms9889/arch/(arm or arm64)/devicename_defconfig], Thanks! Sep 26 15:12:20 @n00b2h4ck3r [Thanks!], You're welcome! Sep 26 15:12:34 (Photo, 640x1280) https://irc.ubports.com/8P70zZrV.png Well, I have arrived there! Sep 26 15:13:21 @n00b2h4ck3r [], Go into vendor folder, and check into the files if you have some .APK reference Sep 26 15:13:57 @n00b2h4ck3r [], (Ot I think you are Spanish or Portuguese) Sep 26 15:16:51 @Mattia990 [(Ot I think you are Spanish or Portuguese)], Spanish Sep 26 15:20:19 @Mattia990 [Go into vendor folder, and check into the files if you have some .APK reference], Yes, I have several apks Sep 26 15:20:45 (Photo, 640x1280) https://irc.ubports.com/0o0ftZsp.png Sep 26 15:20:49 (Photo, 640x1280) https://irc.ubports.com/cBKclade.png Sep 26 15:38:30 @n00b2h4ck3r [], I don't know how to solve this! Sep 26 15:40:05 Delete apks from mk file Sep 26 15:42:23 @Luka Panio [Delete apks from mk file], Ok! I'll try Sep 26 15:47:52 @Luka Panio [Delete apks from mk file], I'm watching the .mk and no .apps appear to delete ... Where do you say I find that mk? Sep 26 15:48:54 I think in that one with error Sep 26 15:49:55 @Luka Panio [I think in that one with error], Ok! I look for it! Sep 26 15:52:50 @Luka Panio [I think in that one with error], No, I can't find anything. Sep 26 16:15:37 @n00b2h4ck3r [No, I can't find anything.], Go into vendor/Xiaomi/chiron and check if inside the .mk files there are some reference to APK files Sep 26 16:15:49 @n00b2h4ck3r [No, I can't find anything.], [Edit] Go into vendor/Xiaomi/chiron and check if inside the .mk files there are some reference to APK Sep 26 16:19:17 @Mattia990 [Go into vendor/Xiaomi/chiron and check if inside the .mk files there are some re …], Yes, I noticed and no ... There is nothing Sep 26 16:19:52 @Mattia990 [Go into vendor/Xiaomi/chiron and check if inside the .mk files there are some re …], Only libs.so appear. Sep 26 16:20:06 @n00b2h4ck3r [Yes, I noticed and no ... There is nothing], Wait I'll check Sep 26 16:21:35 @n00b2h4ck3r [Yes, I noticed and no ... There is nothing], Can I see your manifest? Sep 26 16:22:31 @Mattia990 [Can I see your manifest?], Yes... Wait Sep 26 16:23:04 (Photo, 1280x960) https://irc.ubports.com/Dg0xNNGn.png Sep 26 16:23:53 @n00b2h4ck3r [], Where is los-chiron? Sep 26 16:24:37 @Mattia990 [Where is los-chiron?], I added it. because I don't get the vendor ... Sep 26 16:25:19 @n00b2h4ck3r [I added it. because I don't get the vendor ...], From where? Sep 26 16:26:21 @Mattia990 [From where?], Githuh.com/LineageOs-chiron Sep 26 16:27:53 @n00b2h4ck3r [Githuh.com/LineageOs-chiron], https://github.com/LineageOS-chiron/android_vendor_xiaomi_chiron/blob/master/Android.mk … Here there a lot of .APK, remove them Sep 26 16:31:29 @n00b2h4ck3r [Githuh.com/LineageOs-chiron], Also, comment this: https://github.com/LineageOS/android_vendor_nxp-nfc_opensource_frameworks/blob/039b8733d0a2c1775d1bf710247d9fbd97f9dce9/Android.mk#L23 Sep 26 16:31:29 @Mattia990 [https://github.com/LineageOS-chiron/android_vendor_xiaomi_chiron/blob/master/And …], This is all it seems on my android.mk Sep 26 16:31:34 (Photo, 960x1280) https://irc.ubports.com/f8x2xopB.png Sep 26 16:32:04 @n00b2h4ck3r [], Noooo you need to remove only the apks Sep 26 16:32:59 @Mattia990 [Noooo you need to remove only the apks], I already know it. It turns out that I wrote the vendor's address incorrectly. I correct it there Sep 26 16:40:53 @Mattia990 [Noooo you need to remove only the apks], no, definitely on the android.mk only this appears Sep 26 16:40:59 (Photo, 960x1280) https://irc.ubports.com/h01I4b2g.png Sep 26 16:43:39 Just grep for "apk" maybe Sep 26 16:44:12 @Venji10 [Just grep for "apk" maybe], I added the other lines manually and it gives the same error. Sep 26 16:44:41 (Photo, 640x1280) https://irc.ubports.com/0K090sxi.png Sep 26 16:44:58 (Photo, 640x1280) https://irc.ubports.com/E0UZ0y9X.png Sep 26 16:46:46 Did you remove the vendor nfc thing? Sep 26 16:47:51 @Venji10 [Did you remove the vendor nfc thing?], No. should I do it? Sep 26 16:48:15 Yes, its missing Sep 26 16:48:31 Where do I find it? Sep 26 16:48:53 @n00b2h4ck3r [], . Sep 26 16:49:49 @Venji10 [.], Ok! Sep 26 16:51:06 Looks loke vendor/nxp-nfc/opensource/frameworks doesnt exist, but is needed Sep 26 16:52:23 @Venji10 [Looks loke vendor/nxp-nfc/opensource/frameworks doesnt exist, but is needed], Well, I already did it. I try again Sep 26 16:52:48 @Venji10 [Looks loke vendor/nxp-nfc/opensource/frameworks doesnt exist, but is needed], WOW It worked! Sep 26 16:54:34 (Photo, 1280x640) https://irc.ubports.com/Hra8hiq6.png Sep 26 16:54:38 it's ready? Sep 26 16:55:09 Now you need boot and systemimage Sep 26 16:55:21 mka hybis-boot Sep 26 16:55:28 mka systemimage Sep 26 16:55:34 Ok! There I continue then! Sep 26 16:56:16 (Photo, 1280x960) https://irc.ubports.com/RfYek45n.png Sep 26 16:57:40 No kernel? Check kernel/ Sep 26 16:59:20 @Mattia990 [Also, comment this: https://github.com/LineageOS/android_vendor_nxp-nfc_opensour …], This @n00b2h4ck3r Sep 26 16:59:45 @Venji10 [No kernel? Check kernel/], Halium/kernel? I don't see that directory. Sep 26 17:04:31 @Venji10 [No kernel? Check kernel/], Where do I find the kernel? Sep 26 17:06:07 Likely from the same person you found your Lineage port Sep 26 17:07:32 In your devices manifest there should be a kernel entry, if you have that then check the directory its supposed to be in Sep 26 17:28:21 (Photo, 640x1280) https://irc.ubports.com/5DWUrdEd.png My kernel folder. Sep 26 17:30:40 It must be not chiron folder Sep 26 17:30:54 I think it must be msmxxxx Sep 26 17:32:18 @Luka Panio [I think it must be msmxxxx], This is how github's repository comes out ... Do you suggest that I find another one? Sep 26 17:34:12 No Sep 26 17:34:19 Can you send link? Sep 26 17:34:24 To kernel Sep 26 17:37:01 Wait! Sep 26 17:37:29 https://github.com/LineageOS/android_kernel_xiaomi_msm8998 Sep 26 17:39:26 Clone it to kernel/xiaomi/msm8998 Sep 26 17:39:47 not kernel/xiaomi/chiron Sep 26 17:40:40 @Venji10 [not kernel/xiaomi/chiron], Yes, I already corrected it. I realized it was wrong! Sep 26 17:41:10 When I try the command: mka bootimg. This returns me, is it correct? Sep 26 17:41:25 (Photo, 1280x640) https://irc.ubports.com/FtomIEUn.png Sep 26 17:42:01 mka hybris-boot Sep 26 17:44:17 (Photo, 1280x640) https://irc.ubports.com/6ArNd781.png Sep 26 17:46:04 Looking at the wrong place Sep 26 18:11:11 (Photo, 1280x960) https://irc.ubports.com/jovArhE0.png Sep 26 18:11:17 @n00b2h4ck3r [], No kernel folder Sep 26 18:11:42 Kernel sync? Sep 26 18:14:40 @n00b2h4ck3r [], Did you rename kernel/xiaomi/chiron to kernel/xiaomi/msm8998 Sep 26 18:14:46 @n00b2h4ck3r [], [Edit] Did you rename kernel/xiaomi/chiron to kernel/xiaomi/msm8998 ? Sep 26 18:15:02 @Mattia990 [Did you rename kernel/xiaomi/chiron to kernel/xiaomi/msm8998 ?], maybe fix this problem :) Sep 26 18:15:09 @ankaos [maybe fix this problem :)], Yeah, obviously Sep 26 18:16:12 I'm looking for a job. That's why I didn't see much. Sep 26 18:28:26 @Mattia990 [Did you rename kernel/xiaomi/chiron to kernel/xiaomi/msm8998 ?], Yes Sep 26 18:29:35 (Photo, 1280x640) https://irc.ubports.com/fjixcgV1.png why doesn't the directory take me? Sep 26 18:30:44 @n00b2h4ck3r [], I tried with mer kernel check Sep 26 18:30:57 (Photo, 1280x640) https://irc.ubports.com/TeY7cCfk.png Sep 26 18:31:21 that's OK? Sep 26 18:34:52 (Photo, 1280x640) https://irc.ubports.com/xw4zWfOC.png Sep 26 18:36:13 Ye. Now work! I just corrected the name Sep 26 19:17:21 @n00b2h4ck3r [], You need to modify the config based on the text written Sep 26 19:18:07 @n00b2h4ck3r [], For example you need to put into the defconfig … CONFIG_LBDAF=y Sep 26 19:18:47 @Mattia990 [For example you need to put into the defconfig … CONFIG_LBDAF=y], Warnings are warnings thought Sep 26 19:18:58 So these messages are mostly suggestions, but in some cases warnings help with some stuff Sep 26 19:20:48 @xioedodo [So these messages are mostly suggestions, but in some cases warnings help with s …], Exactly, for example for every port I did, I always put all the things (warnings and errors) and everything worked Sep 26 19:20:58 @Mattia990 [Exactly, for example for every port I did, I always put all the things (warnings …], This may give you bloat though Sep 26 19:21:02 Since most of warnings are not required Sep 26 19:21:29 @xioedodo [Since most of warnings are not required], I don't care, the important is unity needs to work😂😂 Sep 26 19:26:22 (Photo, 1280x640) https://irc.ubports.com/s7JiFEHH.png Ok, now... I don't have any jar or apk in the mk files Sep 26 19:28:26 BTW, did anyone try Halium with Arch? … And also, does stuff like calls/mobile data work on Halium (for example with Snapdragon 625) ? Sep 26 19:28:33 well I mean, can I make it work :D Sep 26 19:29:26 I'm asking because I ported Sailfish OS for my device (in the last year), but didn't really like it since it's not really that modular, and AFAIK they use a lot of similar stuff that Halium uses Sep 26 19:30:04 @xioedodo [BTW, did anyone try Halium with Arch? … And also, does stuff like calls/mobile da …], I did, but what would you like to achieve? Sep 26 19:30:15 @NotKit [I did, but what would you like to achieve?], Potentially use it on my phone :D Sep 26 19:30:34 also calls/mobile data work if it works with ofono, it is not Halium issue generally Sep 26 19:31:21 @xioedodo [Potentially use it on my phone :D], it's kind of never ending race to rebuild modified packages, like Qt for GLES Sep 26 19:38:09 (Photo, 1280x640) https://irc.ubports.com/5ZSupSrT.png Sep 26 19:38:16 @n00b2h4ck3r [], What can be? Sep 26 19:38:54 (Photo, 1280x640) https://irc.ubports.com/eFbSf8FW.png Sep 26 19:43:21 Please, its much easier for all of us if you copy/paste the actual errors into a pastebin and share the link here Sep 26 19:43:32 There are people bridged on IRC who cant see pictures. Sep 26 19:43:40 Please read the pinned message on top, thank you Sep 26 19:44:38 @Flohack [Please read the pinned message on top, thank you], Ok! Sorry Sep 26 19:46:50 https://paste.ubuntu.com/p/qV34WvjWCw/ Sep 26 19:47:34 not to mention glare on the screen and blurriness :) Sep 26 19:48:42 @dohbee [not to mention glare on the screen and blurriness :)], yes, i'm really sorry! Sep 26 19:49:26 Anything new about Halium 8/9? Sep 26 19:50:39 if you want to be a dev, there are plenty of things to look into Sep 26 19:50:44 otherwise no I guess Sep 26 19:53:20 @NotKit [if you want to be a dev, there are plenty of things to look into], Id really like to help, but I didnt even see a 8/9 repo yet Sep 26 19:56:18 @Venji10 https://github.com/Herrie82/android/tree/halium-8.1 Sep 26 20:00:20 What is working yet? Sep 26 20:01:49 compilation Sep 26 20:02:31 Wow 😅 Sep 26 20:03:59 I have compiled it like 2 months ago Sep 26 20:04:07 Sadly nothing more worked xD Sep 26 20:04:44 Hybris boot failed to mount ubports(yeah it should be handled by halium-boot instead) Sep 26 20:05:19 hybris/halium boot are not related to compiled LXC container though Sep 26 20:05:49 Lxc is part of Ubuntu rootfs Sep 26 20:05:55 Rite? Sep 26 20:06:12 kind of, but it is started by init system and can be skipped Sep 26 20:06:34 But then we don't get android running Sep 26 20:06:48 yes, but SSH should still work for debug Sep 26 20:07:02 I personally think, it would be better if postmarketOS and Halium would together Sep 26 20:07:15 too different goals Sep 26 20:07:32 Issue with 7.1 is that repos are very messed Sep 26 20:07:34 but postmarketOS is not preventing Halium components to be used if someone wants Sep 26 20:07:37 yeah, there's no point to halium for pmOS. they are trying to mainline things Sep 26 20:07:50 One repo can use different vendor implementations Sep 26 20:08:13 only reason to use android bits there would be to get things running and observe stuff while you reverse engineer drivers to submit to mainline kernel Sep 26 20:08:51 All this porting is huge headache Sep 26 20:08:59 @dohbee [yeah, there's no point to halium for pmOS. they are trying to mainline things], Mainlining is actually a pretty easy thing, its easy to debug Sep 26 20:09:08 Cannot it be so easy like on x86 Sep 26 20:09:12 @Venji10 [Mainlining is actually a pretty easy thing, its easy to debug], heh, good luck Sep 26 20:09:17 lol Sep 26 20:09:25 if it's so easy then please go mainline everything :P Sep 26 20:09:44 @Akatsu . [Cannot it be so easy like on x86], if we had this silver bullet, there would not be need for Halium or anything Sep 26 20:10:07 GSI is kind of promising to solve some of the issues, but it doesn't fully work as claimed Sep 26 20:10:12 it just took me a day of futzing about, to get libvirt to build properly on a PC Sep 26 20:10:30 And it seems to have also versioned implementations Sep 26 20:10:36 @dohbee [if it's so easy then please go mainline everything :P], Its easier than debugging Halium, the Android build system is trash Sep 26 20:10:54 and reverse engineering drivers for proprietary hardware is far more difficult than that Sep 26 20:11:21 @Venji10 [Its easier than debugging Halium, the Android build system is trash], well, just do it then Sep 26 20:11:28 @Venji10 [Its easier than debugging Halium, the Android build system is trash], then spend your time on postmarketOS instead of halium, if that's what you want Sep 26 20:11:48 the issue is that in Halium we mostly spend time debugging userspace bits and Android glue Sep 26 20:12:02 kernel-side hacking is a different level and requires lot of knowledge about hw Sep 26 20:12:37 @NotKit [kernel-side hacking is a different level and requires lot of knowledge about hw], and well, blind flipping of bits and observing what happens, then flipping other bits and seeing what's different Sep 26 20:13:08 unless of course you've found the full documentation for the SoCs or something from Qualcomm/MTK/Samsung/etc… Sep 26 20:13:46 most of important SoC hardware drivers are open source as part of kernel, but understanding vendor code written against old highly customized kernel - good luck Sep 26 20:13:47 Insert Nice proprietary software meme here Sep 26 20:15:43 As long as Google won't make android to run on mainline it will be pain in the ass Sep 26 20:16:19 From what I saw they try to do it more mainline but till it happen we will see Linux 6/7 kernel Sep 26 20:16:19 @NotKit [most of important SoC hardware drivers are open source as part of kernel, but un …], very basic "boot up and execute some code" yeah, but things like GPU, radios, sensors, etc… need digging Sep 26 20:16:45 @Akatsu . [As long as Google won't make android to run on mainline it will be pain in the a …], They are working on mainlining sdm845 Sep 26 20:17:18 Mainline kernel or mainline android? Sep 26 20:17:35 the thing is that support even for very basic things is like USB ports, CPU cores management, I2C/PMIC,display hardware, etc for particular SoC is often missing from mainline and that's needed before things like GPU, radios, etc Sep 26 20:17:59 Allwinner have mainline kernels too but you know it's community work. And you won't build android on it. Sep 26 20:18:49 well, it's not like we need Android on PinePhone Sep 26 20:18:51 https://lwn.net/Articles/771974/ Sep 26 20:18:52 @NotKit [the thing is that support even for very basic things is like USB ports, CPU core …], yep Sep 26 20:19:14 But running android apps will be epic Sep 26 20:19:20 i do wish a lot of the changes google made in the kernel were merged upstream though Sep 26 20:19:29 (wakelocks are cool) Sep 26 20:19:36 But with 2GB of ram uh, Sep 26 20:19:46 Never had wakelocks Sep 26 20:19:58 Binder is also cool Sep 26 20:25:30 Binder is something like translation layer to normalize all this communication? Sep 26 20:26:00 @UniversalSuperBox [Binder is also cool], Apart from obvious security concerns on UT, yes it is Sep 26 20:30:44 @Akatsu . [Binder is something like translation layer to normalize all this communication?], Think dbus but in-kernel and a little easier to reason about Sep 27 01:06:23 https://paste.ubuntu.com/p/32yqBr5RCY/ Sep 27 01:07:13 Guys, I could get there, but with the halium-install command it gives me a little error. Will you help me solve it? Sep 27 01:07:33 I: Unmounting images … I: Pushing rootfs and android image to /data via ADB … .halium-install-imgs.YkVxG/rootfs.img:...2.6 MB/s (2147483648 bytes in 90.456s) … .halium-install-imgs.YkVxG/system.img:...23.4 MB/s (548048896 bytes in 22.290s) … I: Cleaning up … umount: .halium-install-rootfs.z6CXC: no montado. Sep 27 01:21:49 the last umount can be ignored Sep 27 01:44:56 @fredldotme [the last umount can be ignored], ok, Tomorrow I will continue then. **** ENDING LOGGING AT Fri Sep 27 02:59:57 2019