**** BEGIN LOGGING AT Sun Feb 07 02:59:58 2021 Feb 07 03:20:10 @mighty17> Hey man I tried an" [What do u mean another script?], Another method Feb 07 03:21:32 @mighty17 [Did you even read the documentation?], Yes in the orange box they told only two lines to change into y.but when I search for one line they not even exist Feb 07 03:33:34 so add it Feb 07 03:38:44 Do I need to use make when building halium 9, or does mka still work? Feb 07 03:41:18 I tried both, and still get this, I also tried to run "export ANDROID_MAJOR_VERSION=9" then make/mka halium-boot, but still get this: … https://pastebin.ubuntu.com/p/ZjXFqKnvHh/ Feb 07 03:53:21 @WolfLink115 [I tried both, and still get this, I also tried to run "export ANDROID_MAJOR_VERS …], Try add platform_version=9 in kernel makefile. Somthing like this … https://gitlab.com/arpio/kernel_samsung_a20/-/commit/2ed1a1fdd20861560f296b95f67a05e1b6255240 Feb 07 03:59:49 Ok, I will try and let you know if it worked Feb 07 04:04:01 @mighty17 [so add it], If I need to add the line Feb 07 04:09:28 @arpio1 [Try add platform_version=9 in kernel makefile. Somthing like this … https://gitlab …], It still fails Feb 07 04:12:31 Herrie: https://github.com/OMAP4-AOSP/android_kernel_samsung_espresso/tree/wip/3.10 i found a 3.10 kernel maybe i can try making it work as its wip, how does one check for issues and stuff? Feb 07 04:14:57 @WolfLink115 [It still fails], Probably this error: … /home/wolflink115/halium9/kernel/samsung/universal8895/include/trace/events/sched.h:902:27: error: 'struct rt_rq' declared inside parameter list [-Werror] TP_PROTO(int cpu, struct rt_rq *rt_rq), Feb 07 04:15:30 Try this patch: … https://gitlab.com/arpio/kernel_samsung_a20_halium/-/commit/defba4a3a413b881da5aa764cdc191a5cdd4f91e Feb 07 04:19:52 Ok, lemme try it Feb 07 04:21:14 anyone who knows can also tell :) Feb 07 04:47:14 It got a bit further, but failed again Feb 07 04:51:42 What exactly? Log? Feb 07 04:53:10 I will work on it later, and I already closed out of the terminal and didn't save a log. Feb 07 07:42:12 drym4rch0n was added by: drym4rch0n Feb 07 10:29:40 (Photo, 591x1280) https://irc.ubports.com/bVUYXod5.png Guys,can you help me? Feb 07 10:29:40 (Photo, 591x1280) https://irc.ubports.com/aem7rlff.png Feb 07 10:33:33 are you actually compiling it on termux? :D Feb 07 10:33:40 Damn Feb 07 10:34:03 @dopamine404 [are you actually compiling it on termux? :D], No,ssh Feb 07 10:34:29 If you can paste your output to gist I can maybe help you Feb 07 10:34:33 @Dimaty562 [No,ssh], Ah I see Feb 07 10:36:33 @dopamine404 [If you can paste your output to gist I can maybe help you], pastebin.com/agnwYqMz Feb 07 10:37:43 you should use virtualenv2 to build halium Feb 07 10:37:50 are you on arch? Feb 07 10:37:58 @dopamine404 [are you on arch?], + Feb 07 10:38:12 alright just install virtualenv2 Feb 07 10:38:28 virtualenv2 py2 in you halium source root Feb 07 10:38:36 and source py2/bin/activate Feb 07 10:38:41 then you should be good to go Feb 07 10:44:00 @dopamine404 [virtualenv2 py2 in you halium source root], Thank you very mach) Feb 07 10:44:21 no problem mate Feb 07 10:50:35 So my phone is a Moto g7 power, it says that it requires lineageos 14.1 or 12.1 but my phone has 17.1. There is halium-boot for my phone though, not sure how it was built then? … https://wiki.lineageos.org/devices/ocean … https://mirrors.lolinet.com/firmware/halium/ocean/ Feb 07 10:54:03 I just searched here I guess halium 10 I will have to take a look at that :) Feb 07 11:14:51 could someone review/merge this @fredldotme or @NotKit ? … https://github.com/Halium/hybris-patches/pull/14 Feb 07 12:25:23 Does this look ok? Not sure if I need to add anything else to my manifest … `````` Feb 07 12:28:16 wasn't G7 Power released with Android 9? Feb 07 12:28:58 It was, but it has lineage-17.1 Feb 07 12:29:09 and it has the android 10 update Feb 07 12:30:36 Fuad was added by: Fuad Feb 07 14:20:37 (Photo, 579x412) https://irc.ubports.com/QZaBUkyw.png Feb 07 14:20:43 am I doing something wrong here? Feb 07 14:33:21 piashmsu was added by: piashmsu Feb 07 14:33:50 @daviddps [am I doing something wrong here?], Yes you need to "./halium/devices/setup ocean --force-sync" Feb 07 14:34:26 Can I install my redmi 6a ubport sir Feb 07 14:35:31 @Herrie1982 [Yes you need to "./halium/devices/setup ocean --force-sync"], I use this to prepare my halium tree: https://paste.ubuntu.com/p/BHvzGHZQYf/ Feb 07 14:36:01 Then I add my manifest as: ./halium/devices/_.xml Feb 07 14:37:29 @Herrie1982 [Yes you need to "./halium/devices/setup ocean --force-sync"], thanks, it worked :) Feb 07 14:38:02 Once you've done a few devices you get the hang of it :) Feb 07 14:49:37 I need a little help, I've patched the kernel and everything is working fine, but the screen doesn't initialize and it's stuck on boot logo\ Feb 07 14:49:55 I've tried to test hwcompser and I got this Feb 07 14:49:56 faccessat(AT_FDCWD, "/usr/libexec/droid-hybris/system/lib64/hw/hwcomposer.default.so", R_OK) = -1 ENOENT (No such file or directory) … faccessat(AT_FDCWD, "/odm/lib64/hw/hwcomposer.default.so", R_OK) = -1 ENOENT (No such file or directory) … faccessat(AT_FDCWD, "/vendor/lib64/hw/hwcomposer.default.so", R_OK) = -1 ENOENT (No such file or d Feb 07 14:49:56 irectory) … faccessat(AT_FDCWD, "/system/lib64/hw/hwcomposer.default.so", R_OK) = -1 ENOENT (No such file or directory) … write(2, "test_hwcomposer: test_common.cpp"..., 107test_hwcomposer: test_common.cpp:370: HWComposer* create_hwcomposer_window(): Assertion `err == 0' failed. … ) = 107 Feb 07 14:51:58 @lehkeda device, Halium version Feb 07 14:52:09 is LXC container running? Feb 07 14:52:17 samsung m51, and I'm using a GSI Feb 07 14:52:39 nope, Failed to get properties: No such interface '' Feb 07 14:56:33 are the networking stuff required to run the lxc? Feb 07 14:56:42 should not be Feb 07 14:56:47 check why it fails to start Feb 07 14:56:52 cat /var/log/lxc/android.log Feb 07 14:57:08 cat: /var/log/lxc/android.log: No such file or directory Feb 07 14:57:52 lxc-start -n android -F -- /init Feb 07 15:00:38 it seems to have started now, not sure why it did not automatically Feb 07 15:00:46 is /vendor mounted? Feb 07 15:02:27 nope Feb 07 15:02:58 cat /var/log/upstart/mount-android.log (outside of container) Feb 07 15:09:04 fstab not found Feb 07 15:09:18 I remember seeing this in dmesg Feb 07 16:33:56 drachirogul was added by: drachirogul Feb 07 17:30:56 I was having some problems with halium (I think some of it got corrupted or something), but now I downloaded it again and I'm not sure what I can do about this … ```./halium/devices/setup ocean … ***************************************** … I: Configuring for device motorola_ocean … ***************************************** … fatal: remot Feb 07 17:30:56 e los not defined in /home/a/ocean-halium/.repo/manifest.xml … fatal: remote los not defined in /home/a/ocean-halium/.repo/manifest.xml … ******************************************* … ./halium/devices/setup: line 84: cd: /home/a/ocean-halium/device/motorola/ocean: No such file or directory … ./halium/devices/setup: line 91: cd: /home/a/ocean-halium Feb 07 17:30:56 /device/motorola/ocean: No such file or directory … I: Removing components relying on SettingsLib from: device/motorola/ocean … *******************************************``` Feb 07 17:31:39 I did move my manifest file to .repo/local_manifests/motorola_ocean.xml and tried to run setup again but it didn't help. Feb 07 17:34:11 I think it must be from the remote in my xml file, I'll change los to lineage-17.1 and maybe that'll do the trick Feb 07 17:36:06 (Photo, 976x315) https://irc.ubports.com/iUll4EOH.png Feb 07 17:45:03 @daviddps [], there's no "lineage-17.1" defined Feb 07 17:45:55 `````` Feb 07 17:46:11 manifest should looks like that Feb 07 17:52:56 I'll try changing all the revisions to halium-10.0 then if that will work :) Feb 07 17:53:21 I thought the revision was supposed to be where it was from e.g. if it was from LineageOS or from Halium repository Feb 07 17:56:05 I still get `remote los is not defined` but I don't have that remote in my manifest anymore, so I'm not sure what that's about :/ Feb 07 17:57:11 (Photo, 589x254) https://irc.ubports.com/n5Gri90I.png Feb 07 17:57:16 `los` isn't in here Feb 07 17:57:42 ``` Feb 07 17:57:47 [Edit] ```fatal: remote los not defined in /home/a/ocean-halium/.repo/manifest.xml … fatal: remote los not defined in /home/a/ocean-halium/.repo/manifest.xml``` Feb 07 17:58:27 @daviddps I don't know if it is a good idea to proceed with Halium 10 for your device since you can still build 9 Feb 07 17:58:41 10 doesn't have many things ported yet, including halium-boot probably Feb 07 17:59:04 does it work if I only have lineage-14.1? Feb 07 17:59:10 if yes then I will do that :) Feb 07 17:59:24 [Edit] does it work if I only have lineage-17.1? Feb 07 17:59:43 you need to use Android 9 kernel source code Feb 07 17:59:44 [Edit] if yes then I will do that :) thanks Feb 07 18:02:18 would this work? This is the source code for my phone that motorola released apparently https://github.com/MotorolaMobilityLLC/kernel-msm/tree/MMI-PPO29.80-27 Feb 07 18:02:28 thank u Feb 07 18:02:45 quertyvs was added by: quertyvs Feb 07 18:04:57 https://forum.xda-developers.com/t/unofficial-9-lineageos-16-0-by-dark98.4054839/ - is this correct device? Feb 07 18:07:33 https://github.com/SyberHexen/android_device_motorola_ocean/tree/lineage-16.0 Feb 07 18:07:33 yeah, looks like it Feb 07 18:07:36 thanks :D Feb 07 18:08:07 https://github.com/SyberHexen/android_kernel_motorola_sdm632/tree/lineage-16.0 Feb 07 18:08:22 I have halium boot for ocean Feb 07 18:08:34 And there's a guide on xda to install it Feb 07 18:08:38 Just use that Feb 07 18:20:07 Is there a chance that Android 8 vendor will work with Android 9 GSI? Feb 07 18:24:56 ideally it should Feb 07 18:26:10 This is android tho Feb 07 18:26:11 Lmao Feb 07 18:37:17 (Document) https://irc.ubports.com/MFcSSkW5.png Feb 07 18:43:14 alwalees was added by: alwalees Feb 07 19:05:40 @HackerShohag [], Duplicate files Feb 07 19:06:34 @amyosx [Duplicate files], where? Feb 07 19:07:22 device/qcom/common Feb 07 19:13:34 you seem to have it defined both in old device/qcom/common_old and device/qcom/common Feb 07 19:13:42 where is device/qcom/common_old from even? Feb 07 19:14:59 (Photo, 864x297) https://irc.ubports.com/j7g1CDcS.png Feb 07 19:15:02 I still get this, I think my xml looks correct Feb 07 19:15:24 would this work but I just do los instead? https://forum.xda-developers.com/t/problem-with-manifest-xml.2731242/ Feb 07 19:20:44 @daviddps [I still get this, I think my xml looks correct], Which Halium are you trying to build? 7.1? Feb 07 19:20:44 @amyosx [device/qcom/common], thanks Feb 07 19:21:07 @NotKit [where is device/qcom/common_old from even?], deleted them and worked Feb 07 19:22:22 @Herrie1982 [Which Halium are you trying to build? 7.1?], If 7.1 your remote should be "hal" not "los" for device and kernel repos Feb 07 19:22:33 @Herrie1982 [Which Halium are you trying to build? 7.1?], trying to build halium 9.0 Feb 07 19:25:09 @daviddps [trying to build halium 9.0], OK then leave out remote completely... Feb 07 19:25:54 And for the lineageos ones, put "lineageos/" in the "name" Feb 07 19:30:38 thanks, it changed to `remote them not defined` so I guess something is wrong with my remotes that I have to figure out lol Feb 07 19:30:58 I have this now … ``` … Feb 07 19:30:58 ``` Feb 07 19:31:05 Anyone can help? Feb 07 19:31:05 Fwd from arpio1: I'm testing halium10, I know not ready yet. Trying: sudo env LD_LIBRARY_PATH=/system/lib64:/vendor/lib64 /system/bin/logcat Feb 07 19:31:06 Fwd from arpio1: But I get CANNOT LINK EXECUTABLE "/system/bin/logcat": library "libc.so" needed or dlopened by "/android/system/bin/logcat" is not accessible for the namespace "(default)" Feb 07 19:31:33 did you do ln -s? Feb 07 19:44:32 @daviddps [thanks, it changed to remote them not defined so I guess something is wrong with …], you defined revision as a remote again lol Feb 07 19:45:13 there should be `revision="lineage-16.0"` insted of `remote` Feb 07 19:46:13 but `them` should works Feb 07 19:46:18 [Edit] but `them` should work Feb 07 19:48:33 (Photo, 1032x140) https://irc.ubports.com/GcI5G6Jz.png Feb 07 19:48:33 does this look ok? Feb 07 19:49:57 (Photo, 743x128) https://irc.ubports.com/tAfrvHgG.png Feb 07 19:50:08 I think it's finally working :) thanks for all your guys help Feb 07 20:09:00 @arpio1 [I'm testing halium10, I know not ready yet. Trying: sudo env LD_LIBRARY_PATH=/sy …], unset LD_LIBRARY_PATH Feb 07 20:09:15 lxc-attach -n android -e -- /system/bin/logcat Feb 07 20:13:10 ideally it should"> the device is xiaomi-clover(mi pad 4) and it was released on Android 8 but wasn't updated a single time :P Feb 07 20:22:04 doesn't that one have Lineage? Feb 07 20:24:02 @NotKit [unset LD_LIBRARY_PATH], Thanks, I'll try it later. Feb 07 20:26:58 doesn't that one have L"> Not sure Feb 07 20:27:09 Can you do halium-9 without GSI though? Feb 07 20:27:21 ah, or is lineage needed just to modify vendor partition? Feb 07 21:18:44 andyberkoff was added by: andyberkoff Feb 07 21:58:34 I don't have a `fstab.qcom` file, do I just use the one in `hybris`? Feb 07 21:58:36 (Photo, 1403x478) https://irc.ubports.com/bmhcXzqq.png Feb 07 21:59:35 [Edit] I don't have a `fstab.qcom` file, do I just use the one in `/hybris` or in `/system`? Feb 07 22:03:27 nvm, I just found it on my phone and I think that's what I use Feb 07 23:05:28 I'm a noob with C so would appreciate any help, if I get this error, what would I change in this C code to resolve it? … ```/home/a/ocean-halium/kernel/motorola/msm8953/sound/soc/codecs/tfa_dsp.c:3025:9: error: implicit conversion from enumeration type 'enum Tfa98xx_Error' to different enumeration type 'enum tfa_error' [-Werror,-Wenum-co Feb 07 23:05:29 nversion] … return err; … ~~~~~~ ^~~```https://paste.gg/p/anonymous/b322e8c0926742efbf2b4050f56be391 Feb 07 23:08:28 [Edit] I'm a noob with C so would appreciate any help, if I get this error, what would I change in this C code to resolve it? I think I would change the name of the enum but just want to make sure … ```/home/a/ocean-halium/kernel/motorola/msm8953/sound/soc/codecs/tfa_dsp.c:3025:9: error: implicit conversion from enumeration type 'enum T Feb 07 23:08:28 fa98xx_Error' to different enumeration type 'enum tfa_error' [-Werror,-Wenum-conversion] … return err; … ~~~~~~ ^~~```https://paste.gg/p/anonymous/b322e8c0926742efbf2b4050f56be391 Feb 07 23:08:38 [Edit] I'm a noob with C so would appreciate any help, if I get this error, what would I change in this C code to resolve it? I think I would change the name of the enum but just want to make sure … ``` … /home/a/ocean-halium/kernel/motorola/msm8953/sound/soc/codecs/tfa_dsp.c:3025:9: error: implicit conversion from enumeration type 'enu Feb 07 23:08:38 m Tfa98xx_Error' to different enumeration type 'enum tfa_error' [-Werror,-Wenum-conversion] … return err; … ~~~~~~ ^~~```https://paste.gg/p/anonymous/b322e8c0926742efbf2b4050f56be391 Feb 07 23:08:48 [Edit] I'm a noob with C so would appreciate any help, if I get this error, what would I change in this C code to resolve it? I think I would change the name of the enum but just want to make sure … ```/home/a/ocean-halium/kernel/motorola/msm8953/sound/soc/codecs/tfa_dsp.c:3025:9: error: implicit conversion from enumeration type 'enum T Feb 07 23:08:48 fa98xx_Error' to different enumeration type 'enum tfa_error' [-Werror,-Wenum-conversion] … return err; … ~~~~~~ ^~~```https://paste.gg/p/anonymous/b322e8c0926742efbf2b4050f56be391 Feb 08 00:25:55 Btw it's the same as this, I forgot to send the full error https://gist.github.com/rohanpurohit/b55a9b3348459831231011c6e7c2b29c Feb 08 02:18:13 @daviddps [Btw it's the same as this, I forgot to send the full error https://gist.github.c …], Try this fix https://review.lineageos.org/c/LineageOS/android_kernel_xiaomi_msm8998/+/270810 **** ENDING LOGGING AT Mon Feb 08 03:01:12 2021