**** BEGIN LOGGING AT Sat Apr 24 03:00:29 2021 Apr 24 07:48:51 @mighty17 [Ooof that's bad news :(], Welp Apr 24 07:48:54 Compile done Apr 24 07:49:45 (Photo, 720x1280) https://irc.ubports.com/TS79PkS0.png Apr 24 08:02:22 Aaand it still bootloops although stays longer at the Samsung logo Apr 24 08:05:59 Aaand it still "> Oh that's better than power reset mode Apr 24 08:06:10 Can u get /proc/last_kmsg in twrp? Apr 24 08:06:30 Compile done"> Yay!! Apr 24 08:19:20 Hi there. I'm stuck on finding compatible lineage sources. My device is xiaomi-markw (Xiaomi Redmi 4 Prime, snap 625) … I found this sources, but there's no lineage.dependencies and ″arch″ folder 😐 https://github.com/ViPaOl/android_device_xiaomi_markw-1 Apr 24 08:24:27 It seems very similar to Redmi Note 4 (mido) for which we already have a port. Are you trying to do Halium 7.1 or 9.0? Apr 24 08:27:17 It seems you need msm8953-common for vendor and also a specific markw one according to https://github.com/ShihabZzz/android_device_xiaomi_markw/blob/lineage-16.0/device.mk#L18-L19 Apr 24 08:27:45 @ViPaOl ^ Apr 24 08:29:55 Seems it shares the kernel with Mido more or less. I have 3.18 kernel working OK with 7.1 and 9.0 on LuneOS side. I didn't get 4.9 to boot yet though Apr 24 09:10:18 @Herrie1982 [It seems very similar to Redmi Note 4 (mido) for which we already have a port. A …], 9.0 Apr 24 09:12:05 @Herrie1982 [It seems you need msm8953-common for vendor and also a specific markw one accord …], ㅤ🤔 Apr 24 09:12:43 Let me see where I had my mido 9.0 manifest Apr 24 09:12:47 Seems I didn't PR it yet Apr 24 09:12:56 So I need to build it again, to make sure it still works Apr 24 09:17:18 @mighty17 [Can u get /proc/last_kmsg in twrp?], I have kmsg Apr 24 09:17:42 Never mind Apr 24 09:18:08 How big is the file cuz it's taking forever on Reading... Apr 24 09:21:46 Ok I got something! Apr 24 09:22:54 @mighty17 [Can "> kmsg will be of twrp boot, we want of last boot that is of halium :) Apr 24 09:23:06 First error I see is ` please try cgroup_disable=memory` Apr 24 09:23:15 @mighty17> @mighty17 [Can " [kmsg will be of twrp boot, we want of last boot that is of halium :)], Yes I found last_kmsg Apr 24 09:23:25 can u paste it in pastebin or smth? Apr 24 09:24:20 @mighty17 [can u paste it in pastebin or smth?], That might not be an option for me :+ Apr 24 09:24:23 @mighty17 [can u paste it in pastebin or smth?], [Edit] That might not be an option for me :( Apr 24 09:24:28 why? Apr 24 09:24:33 I use a phone for adb Apr 24 09:24:55 yeah you can copy from the terminal xD Apr 24 09:24:59 oh Apr 24 09:25:12 @mighty17 [yeah you can copy from the terminal xD], Meaning I don't have a pc right now Apr 24 09:25:15 phone as adb? like u connected two phones Apr 24 09:25:20 @mighty17 [phone as adb? like u connected two phones], Yes Apr 24 09:25:24 And it works Apr 24 09:25:30 you can copy from phone's terminal xD Apr 24 09:25:41 @mighty17 [you can copy from phone's terminal xD], Hm Apr 24 09:25:45 I'll try Apr 24 09:25:52 Thanks :D Apr 24 09:26:31 @mighty17 [Thanks :D], Now I can't find my otg Apr 24 09:26:43 Plan PC then Apr 24 09:26:56 hopfully i am not troubling you very much Apr 24 09:27:13 @mighty17 [hopfully i am not troubling you very much], No it's okay Apr 24 09:33:25 (Document) https://irc.ubports.com/xGoE0otq.bin Apr 24 09:33:43 @mighty17 [hopfully i am not troubling you very much], Here you go Apr 24 09:34:44 thanks a lot Apr 24 09:35:14 @mighty17 [thanks a lot], No issue Apr 24 09:35:32 (Document) http"> its curropted for me Apr 24 09:36:10 Hmph Apr 24 09:36:18 I use windows on my backup pc Apr 24 09:36:33 There's no chance of it opening this log Apr 24 09:36:45 huh? Apr 24 09:37:42 @mighty17 [huh?], Does notepad open this? Apr 24 09:37:47 Unless I force it to Apr 24 09:37:59 im on ubuntu and it gives error of invalied byte sequence Apr 24 09:38:13 invalid* Apr 24 09:38:27 @mighty17 [im on ubuntu and it gives error of invalied byte sequence], Use nano Apr 24 09:38:36 ohhk Apr 24 09:39:02 that worked thanks Apr 24 09:39:24 @mighty17 [that worked thanks], No prob :) Apr 24 09:40:55 cant understand why it boot loops tho Apr 24 09:41:06 @mighty17 [cant understand why it boot loops tho], Like it doesn't get past the Samsung logo Apr 24 09:41:16 It reboots and then shows the logo again Apr 24 09:41:20 Never gets past it Apr 24 09:41:36 Do I need to get hybris-recovery involved? Apr 24 09:41:58 no clues about that Apr 24 09:42:03 there are some mmc errors tho Apr 24 09:42:21 well let others here who know this more check about bootloop Apr 24 09:42:37 @mighty17 [there are some mmc errors tho], Is it degraded? Apr 24 09:43:02 not like that kind or error Apr 24 09:44:10 Unmountable right? Apr 24 09:44:16 mmc might not be the error Apr 24 09:44:23 Do I need to edit fixup-mountpoints? Apr 24 09:44:42 Cuz I remember seeing i9300 fixup being empty so I added my device too Apr 24 09:44:57 are they correct tho? Apr 24 09:45:02 @mighty17 [are they correct tho?], Idk Apr 24 09:45:06 It had nothing in it Apr 24 09:45:08 lol Apr 24 09:45:35 * mighty17 < https://matrix.org/_matrix/media/r0/download/matrix.org/KikZQKYWWRsXqCGgjvHPeHOz/message.txt > Apr 24 09:45:46 @mighty17 [lol], And because i9300 partitions match with this thing I thought it would work Apr 24 09:45:49 did u edit it? Apr 24 09:45:57 @mighty17 [did u edit it?], Just added c1skt Apr 24 09:46:07 To device list Apr 24 09:46:16 dunno about that should work tho Apr 24 09:46:51 @mighty17 [dunno about that should work tho], It had no partitions in it Apr 24 09:47:02 Just the se -i // Apr 24 09:47:05 Nothing Apr 24 09:47:17 yeah, but idk how the devs for s3 did it Apr 24 09:47:21 so i cannot say much Apr 24 09:47:36 @mighty17 [so i cannot say much], So I edit mountpoints now? Apr 24 09:48:01 @mighty17 [yeah, but idk how the devs for s3 did it], Maybe they have a secret repo with all their changes and they forgot to push it Apr 24 09:48:23 i mean i will try in my tab with no extra configs, as we got the same power reset issue Apr 24 09:48:26 @mighty17 [yeah"> lol Apr 24 09:48:48 @mighty17 [i mean i will try in my tab with no extra configs, as we got the same power rese …], Hm Apr 24 09:48:56 I wanted to make something for this phone Apr 24 09:49:11 maybe those are the issue, i cannot rly tell Apr 24 09:49:18 I love this varient as it has 2 gb ram and a quad core Apr 24 09:49:21 And LTE Apr 24 09:49:27 Unlike the intl version Apr 24 09:49:31 dayum LTE wow Apr 24 09:49:54 @mighty17 [dayum LTE wow], It's 80 mbps Apr 24 09:50:06 thats awesome Apr 24 09:50:17 @Herrie1982 [So I need to build it again, to make sure it still works], @ViPaOl It builds, just now also building new LuneOS image to make sure it boots as well. Apr 24 09:50:20 @mighty17 [thats awesome], Well anyway Apr 24 09:50:25 We're getting off topic Apr 24 09:50:34 Herrie: do u have any clues? Apr 24 09:50:42 its another samsung here Apr 24 09:51:06 We're getting o"> we should ask TheKit Apr 24 09:51:31 @peat_psuwit Hi, i'm trying to use droidcamsrc on a gtk app and have a little doubt for viewfinder-sink i should only use droideglsink? … currently i'm using gtksink but it gives me: … `link between droidcamsrc0:vidsrc and videobin-capsfilter:sink failed: no common format` Apr 24 09:54:34 @Herrie1982 [@ViPaOl It builds, just now also building new LuneOS image to make sure it boots …], This is the manifest I'm using: https://bpa.st/55GA this is with 3.18 kernel Apr 24 09:57:01 @mighty17> We're getting o" [we should ask TheKit], But we shouldn't ping him right? Apr 24 09:58:21 @Herrie1982 [@ViPaOl It builds, just now also building new LuneOS image to make sure it boots …], Okay Apr 24 10:11:05 @mighty17> as in? he will see the messages tho Apr 24 10:12:11 @mighty17> @mighty17> yeah maybe not, we will have to wait for him to come online Apr 24 10:13:29 Yeah Apr 24 10:13:37 None of my ports ever boot Apr 24 10:14:11 same :( Apr 24 10:22:24 @Herrie1982 [This is the manifest I'm using: https://bpa.st/55GA this is with 3.18 kernel], Should i copy this partially or full? Apr 24 10:23:28 And can i use any other kernel or some certain? Apr 24 10:28:08 Well with kernel it's trial and error really Apr 24 10:30:21 This kernel should work with Mer/SFOS and LuneOS. For UBPorts you need to tweak defconfig a bit still especially for AppArmor Apr 24 10:58:23 @erfanoabdi [@peat_psuwit Hi, i'm trying to use droidcamsrc on a gtk app and have a little do …], If you chuck in `videoconvert` in front of `gtksink` it might work. Although the performance will be bad as accelerated pipeline requires `droideglsink`, and that requires specific support to work. Unfortunately `droidcamsrc` hasn't imple Apr 24 10:58:23 mented Gst's OpenGL support, but it's a possibility if someone does the work. Apr 24 11:07:31 @peat_psuwit [If you chuck in videoconvert in front of gtksink it might work. Although the per …], Thanks for reply … I might check it out👍 Apr 24 11:15:41 @TheVancedGamer, what changes did you do to the config file Apr 24 11:21:42 @mighty17 [@TheVancedGamer, what changes did you do to the config file], Just did CONFIG_DEVTMPFS=y Apr 24 11:21:56 And the kernel is from flohack74 Apr 24 11:28:30 oh alrighty thanks Apr 24 11:28:36 as the halium wiki says this Apr 24 11:28:49 * mighty17 uploaded an image: (16KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/NoQzLLmwMpEukCuShqKAvWOe/image.png > Apr 24 11:29:05 @ubports_bot [* mighty17: uploaded an image: (16KiB) < https://matrix.org/_matrix/media/r0/dow …], That's already set in flo's kernel Apr 24 11:29:22 oh i cant use flo's kernel xD Apr 24 11:29:34 Well you can check it out Apr 24 11:29:56 link pls Apr 24 11:32:25 so you actually have the halium necessary configs set? Apr 24 11:32:35 what did TheKit tell you then Apr 24 12:08:31 @peat_psuwit [If you chuck in videoconvert in front of gtksink it might work. Although the per …], i tried this: https://github.com/erfanoabdi/libaperture-0/commit/bd0fbd795975bf8a0f009da57204b0088f421d4e … still gives me same error, guess i should go for opengl..? Apr 24 13:18:23 @NotKit [fixing UT inside Android emulator would involve fixing libhybris for x86_64, whi …], Does work with arm Apr 24 13:18:25 But again why Apr 24 13:21:41 @Herrie1982 [This kernel should work with Mer/SFOS and LuneOS. For UBPorts you need to tweak …], I want to try droidian Apr 24 13:21:55 Or sth simmilar Apr 24 13:22:22 [Edit] Or sth similar Apr 24 13:23:52 @ViPaOl [I want to try droidian], I'm not too familiar with their requirements... I'm now trying 4.9 kernel to see if I can get that to boot Apr 24 13:23:56 Maybe I'll try 4.19 Apr 24 13:24:19 I.e. https://github.com/nE0sIghT/android_kernel_xiaomi_msm8953/tree/lineage-16.0-mido-4.19 Apr 24 19:02:15 Theodore was added by: Theodore Apr 24 19:02:20 hey Apr 24 19:02:32 Wassup Apr 24 19:02:55 I'm wanting to go linux gnu on my phone I came across halium so I'm building it rn Apr 24 19:03:03 my device is not supported so I'm porting it Apr 24 19:03:30 @Herrie1982 [I'm not too familiar with their requirements... I'm now trying 4.9 kernel to see …], In the porting guide written that halium 9.0 and treble support are needed Apr 24 19:04:03 @Herrie1982 [I'm not too familiar with their requirements... I'm now trying 4.9 kernel to see …], [Edit] In the droidian porting guide written that halium 9.0 and treble support are needed Apr 24 19:04:04 Good thing I have A/B partition Apr 24 19:04:08 I'm building halium 9.0 too Apr 24 19:05:31 @ViPaOl [In the droidian porting guide written that halium 9.0 and treble support are nee …], Not sure about droidian, could be that for GSI you need Treble Apr 24 19:05:53 In LuneOS we still build device specific images so we don't care about Treble or not Apr 24 19:06:49 We have Rosy and Tissot working without Treble afaik Apr 24 19:06:52 I'm not even sure what Halium is anyways Apr 24 19:07:01 Is it just a kernel, a boot image or a system!?! Apr 24 19:07:29 and i want for redmi note 4 (mido) Apr 24 19:08:13 @Theodore [Is it just a kernel, a boot image or a system!?!], Minimal Android that can be used for droidian, UBPorts, LuneOS and previously Plasma Mobile as well Apr 24 19:08:22 (Photo, 800x218) https://irc.ubports.com/su50hQIu.png Apr 24 19:08:31 so once I install it it will boot into a android interface Apr 24 19:08:38 that I can SSH into and put the rootfs? Apr 24 19:08:41 (Photo, 800x218) https://irc.ubports.com/yAlfcrZd.png (From droidian porting guide) Apr 24 19:09:22 So far halium has the right Device Files and Vendor Files Apr 24 19:09:38 I have a feeling this could really work. Apr 24 19:12:05 @Theodore [that I can SSH into and put the rootfs?], In general yes, but depending on the device, you might go down the postmarketOS route as well Apr 24 19:12:51 I'm currently running my own build of lineage so I got all my sources already compatible the only thing to do is to build it and hope it works and does not mess up my fastboot. Apr 24 19:14:42 Ah OK Apr 24 19:14:46 Which device is it? Apr 24 19:15:18 Cheryl (Razer Phone 1) Apr 24 19:16:38 (Photo, 641x448) https://irc.ubports.com/hWDsD51r.png Apr 24 19:16:57 Ah OK :) Apr 24 19:18:46 (Photo, 1280x525) https://irc.ubports.com/TD1A89om.png Apr 24 19:18:50 oh dear I got some work to do Apr 24 19:25:29 You shouldn't run it against boardconfig.mk ;) Apr 24 19:25:47 But against the defconfig in arch/arm(64)/configs/mydefconfigname Apr 24 19:27:20 Am i supposed to include my device kernel too Apr 24 19:27:46 Yes Apr 24 19:27:56 device, kernel & vendor normally Apr 24 19:28:04 Sometimes some vendor-common and device-common as well Apr 24 19:28:05 Ok like I would do with Lineage Apr 24 19:28:11 But I guess not in your case Apr 24 19:28:14 Yes correct Apr 24 19:28:54 Should I use the source from the razer website (Stock Kernel) or the lineage one? Apr 24 19:32:39 If you have device tree etc from Lineage, I would use LIneage Apr 24 19:32:52 Alrighty. Apr 24 19:55:05 I changed evreything so it only says WARNING now Apr 24 19:55:16 or should the thing output no errors Apr 24 19:55:27 (Photo, 760x629) https://irc.ubports.com/NDW8CH0g.png \ Apr 24 20:02:11 Warnings should be OK Apr 24 20:02:18 Also depends if you need systemd in the end Apr 24 20:02:22 Most are systemd related Apr 24 20:02:37 So I should add most of the warnings that says systemd recommended Apr 24 20:03:11 Well it also depends on which systemd features you need Apr 24 20:03:21 I usually ignore most of them and we use systemd ;) Apr 24 20:03:36 namespaces are the most important ones usually for systemd and lxc Apr 24 20:03:37 Ah so I should be good to start breakfast Apr 24 20:04:12 ``` Apr 24 20:04:14 Comment says: should be empty, if you want to use systemd without initramfs. Also systemd: http://cgit.freedesktop.org/systemd/systemd/commit/README?id=713bc0cfa477ca1df8769041cb3dbc83c10eace2 Apr 24 20:04:20 That one? Apr 24 20:10:18 (Photo, 1277x609) https://irc.ubports.com/O9dfdQar.png Apr 24 20:10:32 Is this normal shoulden't it say halium Apr 24 20:41:14 Seems like you might be missing something Apr 24 20:43:05 Like? Apr 24 20:49:14 (Photo, 1124x588) https://irc.ubports.com/B70IwOQ6.png Apr 24 20:49:23 this is what it does when you do halium-boot Apr 24 20:49:47 That one looks OK I guess Apr 24 20:49:54 WIll take a while depending on your machine Apr 24 20:50:09 It goes fast then stops at this Apr 24 20:50:10 ``` Apr 24 20:51:06 You need a patch for kernel Apr 24 20:51:21 hm Apr 24 20:51:28 @Theodore [/usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x10): multiple definition of `y …], I actually Apr 24 20:51:36 came across this working on my port for the j5 2016 Apr 24 20:51:36 ? Apr 24 20:51:45 Something like: https://github.com/shr-distribution/linux/commit/be9bf7562925fe6c6fe711763cfa28e334850be5 Apr 24 20:51:57 Let's try that. Apr 24 20:52:43 Patch worked Apr 24 20:52:56 https://gist.github.com/EralpCelebi/b184bf5b4fe74e3b945156c55b80edf2 Apr 24 20:53:00 @Theodore [Patch worked], oh alright :D Apr 24 20:53:36 hopefully it won't hard brick my device :/ Apr 24 20:53:52 I really want to run GNU/Linux :D Apr 24 20:54:55 @Theodore [I really want to run GNU/Linux :D], What device are you working on? Apr 24 20:55:00 Hardbrick is not that easy Apr 24 20:55:01 Cheryl Apr 24 20:55:09 @Theodore [hopefully it won't hard brick my device :/], Ah don't worry you will just suffer for a while :D Apr 24 20:55:23 I did this before with trying to run android 11 Apr 24 20:55:25 @Theodore [Cheryl], msm chip? Apr 24 20:55:29 msm8998 Apr 24 20:55:49 Feline v1.0 Recovery (my own thing) Apr 24 20:55:51 you probably won't have an hard time getting it to work then Apr 24 20:55:56 @Theodore [Feline v1.0 Recovery (my own thing)], oh thats cool Apr 24 20:56:07 I also tried making my bootloader but decided not to. Apr 24 20:56:24 @Theodore [I also tried making my bootloader but decided not to.], probably a good idea :p Apr 24 20:56:24 I like digging deep Apr 24 20:56:32 But too deep is bad. Apr 24 20:56:37 I am guessing you are into osdev too Apr 24 20:56:41 Yeah Apr 24 20:56:56 Yup figured so :D Apr 24 20:57:18 What halium can as a GUI Apr 24 20:57:23 like gnome mobile etc? Apr 24 20:57:57 If you get stuck somewhere I might be able to help you Apr 24 20:58:05 @Theodore [like gnome mobile etc?], not really sure Apr 24 20:58:45 What you running on Apr 24 20:58:49 I have seen it working on the pinephone but I am not sure if its halium Apr 24 20:59:02 @Theodore [What you running on], I am working on ubuntu touch mostly Apr 24 20:59:11 ubuntu touch has a rootfs for halium Apr 24 20:59:17 https://github.com/ubports/porting-notes/wiki/Halium-9 Apr 24 20:59:18 I know I know Apr 24 20:59:30 I was just saying that as a gui Apr 24 20:59:46 Are you trying to port ut too? Apr 24 20:59:50 Yap Apr 24 20:59:51 or just halium Apr 24 20:59:57 Halium + UT Apr 24 20:59:59 @Theodore [Yap], huh alright Apr 24 21:00:04 isin't halium just a boot thingy Apr 24 21:00:17 As far as my knowledge goes its more of a wrapper Apr 24 21:00:59 it just bundles androids HAL and enables the rootfs to manage hardware while being cross-device Apr 24 21:01:25 once i flash it what will it do Apr 24 21:01:28 Just black screen? Apr 24 21:01:34 Most likely Apr 24 21:01:43 Should I be scared of it Apr 24 21:01:45 Nope Apr 24 21:01:51 Hm intresting Apr 24 21:02:02 When you get a working boot image and system image Apr 24 21:02:13 you should start reading about debuging halium Apr 24 21:02:23 System Img? Apr 24 21:02:42 #### build completed successfully (09:57 (mm:ss)) #### Apr 24 21:02:43 It might be a black screen at first but it will have a telnet server running Apr 24 21:02:46 Wohoooo! Apr 24 21:02:53 Yeah Apr 24 21:03:04 and you should be able to access it using the devices usb Apr 24 21:03:07 why is my file halium Apr 24 21:03:15 it says hybris-boot.img in the docs Apr 24 21:03:46 https://docs.halium.org/en/latest/porting/debug-build/early-init.html Apr 24 21:03:56 After flashing you should follow this Apr 24 21:04:11 I only have the boot img rn Apr 24 21:05:41 I haven't worked with halium in some time so I can't really remember the process Apr 24 21:05:53 If I remember correctly tho after doing mka hybris-boot Apr 24 21:05:56 and mka systemimage Apr 24 21:06:10 in your out directory you should have system.img and hybris-boot.img Apr 24 21:06:11 what's the difference with hybris and halium Apr 24 21:06:16 those are what you need Apr 24 21:06:18 its same file but 2 different things Apr 24 21:06:34 I am not really sure about the difference Apr 24 21:06:54 ninja: error: '/home/lynxodore/halium/out/target/product/cheryl/obj/STATIC_LIBRARIES/libpuffpatch_intermediates/export_includes', needed by '/home/lynxodore/halium/out/target/product/cheryl/obj/EXECUTABLES/update_engine_intermediates/import_includes', missing and no known rule to make it … 17:06:32 ninja failed with: exit status 1 … #### Apr 24 21:06:54 failed to build some targets (9 seconds) #### Apr 24 21:07:03 That's quite bad. Apr 24 21:07:15 I did mka systemimage Apr 24 21:07:36 @dopamine404 [I am not really sure about the difference], hybris -> for most rootfs's … halium -> for ubuntu touch Apr 24 21:07:47 @Theodore [ninja: error: '/home/lynxodore/halium/out/target/product/cheryl/obj/STATIC_LIBRA …], hmm Apr 24 21:08:22 so I should stick with halium right Apr 24 21:08:53 yes Apr 24 21:09:10 but testing out hybris might be useful too Apr 24 21:09:27 does hybris have ubuntu touch Apr 24 21:09:47 @Theodore [does hybris have ubuntu touch], don't think so Apr 24 21:10:10 in my experience hybris will be more likely to boot Apr 24 21:10:39 but that might be device spesific Apr 24 21:11:02 @dopamine404 [in my experience hybris will be more likely to boot], so you might use it for debugging your build for now Apr 24 21:11:40 @Theodore [ninja: error: '/home/lynxodore/halium/out/target/product/cheryl/obj/STATIC_LIBRA …], anyways good luck on your next hour of googleing :p Apr 24 21:11:53 https://github.com/mer-hybris/hybris-boot Apr 24 21:11:55 This one? Apr 24 21:12:17 yes but they are both included in the halium source code don't worry Apr 24 21:12:28 you won't have to get any other repositories to build both of those Apr 24 21:12:32 the commands just differ Apr 24 21:12:44 mka hybris-boot changes to halium-boot if I am not mistaken Apr 24 21:12:53 let me try Apr 24 21:13:15 What what is sailfish OS? Apr 24 21:13:19 https://docs.ubports.com/en/latest/porting/halium_7-1/Building.html Apr 24 21:13:26 i'm building 9.0 Apr 24 21:13:38 same procedure should apply Apr 24 21:14:05 SailfishOS, is Mer which is a continuation of Nokia's Linux OS Apr 24 21:14:08 Forgot it's name Apr 24 21:14:36 it builds halium's img Apr 24 21:14:48 returns halium-boot.img Apr 24 21:14:51 Ehm Meego I guess Apr 24 21:15:01 @Herrie1982 [Ehm Meego I guess], Ah right Apr 24 21:15:07 SailfishOS uses a bit different approach though Apr 24 21:15:25 UBPorts/LuneOS run Android inside LXC container, SFOS does some overlay stuffs Apr 24 21:15:58 Wow sailfishOS looks way better Apr 24 21:17:05 This is the part that faisl Apr 24 21:17:08 fail* Apr 24 21:17:09 glob vendor/qcom/opensource/interfaces/wifi/supplicant/1.0/src Apr 24 21:22:56 I think i found the problem Apr 24 21:23:51 Products package maybe? Apr 24 21:31:21 (Photo, 441x189) https://irc.ubports.com/WL4kqp6b.png Apr 24 21:31:23 I'm trying this Apr 24 21:35:56 Stiliyan Kushev was added by: Stiliyan Kushev Apr 24 21:36:48 For wpa supplicant you might need some patches in device tree Apr 24 21:39:11 Is that libantradio? Apr 24 21:39:53 I needed this in some devices: https://github.com/Herrie82/android_device_xiaomi_rosy-2/commit/425640fe6bd91179d614ac53415e63fd502bd14c Apr 24 21:41:32 what does that do? Apr 24 21:41:36 Disable Wifi? Apr 24 21:42:33 BOARD_HOSTAPD_DRIVER := NL80211 … BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE) Apr 24 21:42:36 That's the lines i got Apr 24 21:43:52 I borrowed it from somewhere else again ;) Apr 24 21:44:23 Do i need it rn ? Apr 24 21:44:33 I'm not sure what you're exact error is Apr 24 21:45:03 Well I had theses patches Apr 24 21:45:08 https://github.com/ubports-on-fxtec-pro1/proprietary_vendor_idealte/commit/65cfe7583aaa886709b6142d8b79c276a3028ad9 Apr 24 21:45:12 so Idk if that did the issue Apr 24 21:46:08 If you can share all your repos and patches that would help ;) Apr 24 21:46:16 Sure! Apr 24 21:46:23 I built about a handful of different devices for Halium 9 ;) Apr 24 21:46:37 So I might be able to give some pointers Apr 24 21:46:39 https://github.com/LineageOS/android_kernel_razer_msm8998 Apr 24 21:47:03 https://github.com/LineageOS/android_device_razer_cheryl Apr 24 21:47:30 https://github.com/TheMuppets/proprietary_vendor_razer/tree/lineage-16.0 Apr 24 21:47:37 (Using the lineage 16 branch) Apr 24 21:48:31 OK let me try a few things here Apr 24 21:48:34 Got a quick builder ;) Apr 24 21:49:21 Oh you'll try to build it lol? Apr 24 21:49:52 Yes LOL Apr 24 21:49:58 Got a building beast ;) Apr 24 21:50:08 2990WX, 128GB RAM, 1TB m.2 SSD ;) Apr 24 21:50:22 And 1Gbit/1Gbit fibre ;) Apr 24 21:50:24 Holy crap. Apr 24 21:50:32 That's better than my XEON server Apr 24 21:50:51 I only got 64GB ram , No GPU , 5TB HDD Apr 24 21:54:37 You'll need some patches to device tree for sure: https://github.com/Herrie82/android_device_razer_cheryl/commits/halium-9.0 Apr 24 21:54:44 Last 2 commits are my initial stab at it Apr 24 21:55:02 We should make a github group Apr 24 21:55:08 or something and both work on it ;) Apr 24 21:57:12 Well I'll push it to my GitHub ;) Apr 24 21:58:08 I followed you Apr 24 21:58:09 We can always move it from there later Apr 24 21:58:12 Yeah Apr 24 21:58:34 My goal is we get it booting nothing breaks + we can try to get it officially ported Apr 24 21:58:46 Got quite a bit of experience building lineage but not halium Apr 24 21:59:46 @Theodore [Got quite a bit of experience building lineage but not halium], I have some quick helper scripts locally ;) Apr 24 21:59:55 Oh that's cool! Apr 24 21:59:56 So it makes my builds easier Apr 24 22:00:03 How often do they work :P Apr 24 22:00:18 Im guessing automated builds are not zero compremises Apr 24 22:01:18 Well we do have some Jenkins jobs at our LuneOS build server that builds the Halium bits for multiple targets ;) Apr 24 22:01:24 It usually works ;) Apr 24 22:01:40 Anyway initial build is running now on my builder Apr 24 22:01:54 Wait what? Apr 24 22:01:59 LuneOS???? Apr 24 22:02:05 I didn't change the defconfig yet ;) Apr 24 22:02:17 Are you telling me you're apart of a big GNU/Linux OS Apr 24 22:02:22 But I'm more curious about Android bits to start Apr 24 22:02:40 Yeah for sure. Apr 24 22:03:08 Defconfig changes are "easy" normally, I prefer to get the Halium build to finish first Apr 24 22:03:12 if the msm8998 had patches like this https://github.com/ubports-on-fxtec-pro1/proprietary_vendor_idealte/commit/65cfe7583aaa886709b6142d8b79c276a3028ad9#diff-7cc479333540e52ef4707960dacc2e842a5177ba6aa70623931676a4e3dec871 Apr 24 22:03:17 Its possibly will work better. Apr 24 22:03:31 Cause msm8998 must be globally supported or something Apr 24 22:04:04 Well there's some funny circle loop between device and vendor a bit ;) Apr 24 22:04:25 I added some automation to halium-devices/setup script but it needs some more tweaking for 9.0 builds Apr 24 22:04:42 Hm Apr 24 22:05:04 Also a bit curious Apr 24 22:05:20 does this like wipe the entire EMMC + Bootloader and installs its own? Apr 24 22:05:21 It would remove the commonly known java bits from device tree's proprietary-files.txt so setup-makefiles.sh would remove them from vendor tree ;) Apr 24 22:05:49 Oh thats cool Apr 24 22:05:56 And very helpful aswell Apr 24 22:06:32 Because for Halium 7.1 they were just patching device tree & vendor for that mainly. So by including that in the setup script, you could use device & vendor unmodified in most cases (in case they are proper ;)) Apr 24 22:06:52 You'd still need to modify defconfig of course, but it saved the need for forking everything Apr 24 22:07:03 Oh, yeah defconfig needs to be modified Apr 24 22:07:19 I think its skip-initramfs = 1 to skip-initramfs=0 Apr 24 22:08:36 Yeah these things we'll need too in the kernel, some patches usually Apr 24 22:08:46 Anyway my build should be finishing soon ;) Apr 24 22:08:58 Sweet Apr 24 22:09:00 It's at 60% already Apr 24 22:09:11 That is a Boot.img + system.img? Apr 24 22:09:23 Or fails system.img Apr 24 22:10:57 Also in the docs I see that you need to telnet into the phone but there's no wifi connected so how would that work? Apr 24 22:11:43 via USB Apr 24 22:11:52 Basically SSH via USB, similar to ADB shell Apr 24 22:12:06 No drivers needed? Apr 24 22:14:10 Not sure, I never used hybris/halium-boot since in LuneOS we create our own boot image ;) Apr 24 22:14:17 And we use ADB there Apr 24 22:14:44 Idk if the bootloader requires the boot.img to be valid to boot in fastboot if something would go wrong flashing the boot.img Apr 24 22:14:56 Mostlikely would not happen as I got a boot.img that is quite modified already Apr 24 22:14:59 Well we generate .fastboot for some targets ;) Apr 24 22:15:14 huh what is a .fastboot? Apr 24 22:24:03 how are things looking Apr 24 22:25:08 It's @ 60% again ;) Apr 24 22:25:11 So we'll soon know Apr 24 22:25:14 Sweet :D Apr 24 22:25:23 I finished backing up things Apr 24 22:27:15 FWIW: This is my local build script which I run after ./halium-devices/setup cheryl --force-sync: https://paste.ubuntu.com/p/qxw2md2jcg/ Apr 24 22:27:40 Nice Apr 24 22:28:48 And my razer_cheryl.xml: https://bpa.st/RKXQ Apr 24 22:29:03 That I place inside ./halium/devices/manifests/ Apr 24 22:29:15 Nice Apr 24 22:29:32 I wonder how well it'll work :D I'm super excited Apr 24 22:29:42 Doing a lot of research of how Halium acctually works I'm still confused Apr 24 22:30:04 Well basically in UBPorts and LuneOS we start the Android bits inside of a LXC container Apr 24 22:30:23 So the real OS can talk to Android via libhybris Apr 24 22:30:40 So that also works for postmarket OS for example Apr 24 22:30:42 or KDE mobile Apr 24 22:30:55 I guess so Apr 24 22:31:09 Though for pmOS they often try to mainline kernels as well Apr 24 22:31:15 I saw that I'll need to run dmsg -w to check if the device shows up Apr 24 22:31:17 Which is even better of course, but results may vary Apr 24 22:31:20 then to connect to it via SSH Apr 24 22:31:43 Well build succeeded at my end ;) Apr 24 22:31:48 :) Apr 24 22:31:53 1 step further Apr 24 22:31:53 I have an Android system.img and vendor.img Apr 24 22:32:00 Huh? Apr 24 22:32:16 I tought it was halium-boot.img and system.img Apr 24 22:33:02 Well I didn't modify defconfig yet ;) Apr 24 22:33:07 I see Apr 24 22:33:13 And like I said I usually don't build halium-boot ;) Apr 24 22:33:20 But I could try it Apr 24 22:33:23 would it still work? Apr 24 22:33:28 without halium-boot Apr 24 22:34:00 cause I see you mentioned a vendor.img Apr 24 22:35:33 Well vendor.img is needed sometimes for non GSI devices it seems Apr 24 22:35:42 I have a GSI device Apr 24 22:36:05 (Photo, 720x1280) https://irc.ubports.com/JKGDjDzY.png Apr 24 22:37:08 Well in that case you could just try UBPorts GSI based on Halium 9 ;) Apr 24 22:37:16 Or you did that already? Apr 24 22:37:20 There's none available Apr 24 22:37:25 The link got taken down Apr 24 22:37:33 Ah Apr 24 22:37:38 We could try LuneOS maybe Apr 24 22:37:41 idk? Apr 24 22:37:47 Yeah but would need to build it Apr 24 22:37:54 Can do it tomorrow, now time for some sleep ;) Apr 24 22:37:58 same wit huport right? Apr 24 22:38:18 Sure What time is it for you lol? Apr 24 22:38:34 Almost midnight Apr 24 22:38:45 yikes Apr 24 22:38:52 Have 2 small children that don't care about weekend or not ;) Apr 24 22:39:22 We already got quite far. Apr 24 22:39:47 I can get a halium-boot.img but this is with unmodified defconfig so 100% sure will fail Apr 24 22:40:05 Yeah. Apr 24 22:40:15 And if it fails idk if fastboot will work hehe Apr 24 22:41:25 Anyway I'll pick it up tomorrow Apr 24 22:41:37 I can upload the system and vendor.img if you want? Apr 24 22:42:47 Sure Apr 24 22:42:55 Idk if i should Flash that Apr 24 22:43:10 Nah not yet, but at least there's proof something built :P Apr 24 22:43:30 Just seems I deleted it while creating halium-boot.img :P Apr 24 22:43:33 Rebuilding again Apr 24 22:43:37 XD Apr 24 22:43:43 I would need it for LuneOS build anyway Apr 24 22:43:43 Is it a ssh box Apr 24 22:43:57 We could both work on it at same time Apr 24 22:46:05 @Theodore [Is it a ssh box], My private home build PC ;) Apr 24 22:46:12 Nice Apr 24 22:46:45 Anyway since Halium is rebuilding started on LuneOS bits ;) Apr 24 22:46:54 You happen to have the partition layout? Apr 24 22:47:04 Hm how would i get that Apr 24 22:47:05 ie mmcblk0p21 Apr 24 22:47:12 Etc Apr 24 22:47:19 This? Apr 24 22:47:28 (Document) https://irc.ubports.com/tOcXZIY8.txt Apr 24 22:52:56 Try cat /proc/emmc Apr 24 22:53:18 Or: ls -l /dev/block/platform/msm_sdcc.1/by-name/ Apr 24 22:53:47 Or if you have parted: parted /dev/block/mmcblk0 Apr 24 22:54:47 permission denied Apr 24 22:55:14 wait su Apr 24 22:57:24 it says Apr 24 22:57:40 127|:/ # ls -l /dev/block/mmcblk0 … brw------- 1 root root 179, 0 1970-02-27 15:47 /dev/block/mmcblk0 … :/ # l Apr 24 23:00:31 https://pastebin.com/WCUiq6gL Apr 24 23:03:16 https://pastebin.com/eHXw6Dtd Apr 24 23:03:20 Also this Apr 24 23:05:15 Hmmz Apr 24 23:05:20 Here's the image: http://build.webos-ports.org/halium-luneos-9.0/halium-luneos-9.0-20210424-1-cheryl.tar.bz2 Apr 24 23:05:29 Contains the system.img and vendor.img Apr 24 23:05:38 I'll continue tomorrow ;) Apr 24 23:05:42 Alright Apr 24 23:05:56 Meanwhile I'll restore the device to stock rom to make sure we don't run into issues Apr 24 23:06:02 and install a fresh twrp Apr 24 23:06:14 Going from 11 to 9 can prob cause issues Apr 24 23:07:34 Yes! Apr 24 23:07:38 Good idea for sure! Apr 24 23:07:56 root@catify:/home/lynxodore/Downloads# adb devices … List of devices attached … 181751V00404608 no permissions (user in plugdev group; are your udev rules wrong?); see [http://developer.android.com/tools/device.html] Apr 24 23:08:02 odd Apr 25 00:20:38 Cheryl is back to original firmware with clean bootloader, recovery fresh repartition and evreything. **** ENDING LOGGING AT Sun Apr 25 02:59:56 2021