**** BEGIN LOGGING AT Wed Oct 21 02:59:57 2020 Oct 21 06:08:49 (Photo, 758x574) https://irc.ubports.com/oSaKGD5Z.png TG群发,私聊,在线,增粉;三万优质中文群全网监听服务限时特价;需要请咨询; Oct 21 07:49:10 Hello, I'm trying to follow http://docs.halium.org/en/latest/porting/build-sources.html to build Halium 7.1 on a Ubuntu 20.04.1 LTS x64 computer and I'm stuck on the last step. "mka systemimage" errors almost immediately due to missing files. I tried to touch the missing file, but there were 2 more, and more after that so I deleted my fake stubs Oct 21 07:49:11 and am asking here. ninja: error: '/root/moto/halium/out/target/product/surnia/obj/SHARED_LIBRARIES/libril_intermediates/export_includes', needed by '/root/moto/halium/out/target/product/surnia/obj/SHARED_LIBRARIES/libreference-ril_intermediates/import_includes', missing and no known rule to make it Oct 21 07:50:17 @jcschauer [and am asking here. ninja: error: '/root/moto/halium/out/target/product/surnia/o …], Remove TARGET_PROVIDES_LIBRIL := true (or something like this) from BoardConfig.mk Oct 21 07:51:01 @jcschauer [and am asking here. ninja: error: '/root/moto/halium/out/target/product/surnia/o …], BOARD_PROVIDES_LIBRIL := true … Remove this Oct 21 07:51:05 This is for a Motorola Moto LTE phone (surnia). I was able to install Lineage 17.1 on it successfully. Oct 21 07:52:20 @jcschauer [This is for a Motorola Moto LTE phone (surnia). I was able to install Lineage 1 …], Can you receive me? I'm writing from Telegram Oct 21 07:53:30 Yes @SebaUbuntu, I'm looking at this file now. Oct 21 07:53:37 @jcschauer [Yes @SebaUbuntu, I'm looking at this file now.], Ok, good Oct 21 07:56:23 There's 30 BoardConfig.mk files. I looking in /root/moto/halium/device/motorola/surnia/BoardConfig.mk and couldn't find either of those options. I'll try to grep for them. Oct 21 08:01:31 I found it here and commented it out. /root/moto/halium/device/motorola/msm8916-common/BoardConfigCommon.mk:BOARD_PROVIDES_LIBRIL := true Oct 21 08:02:31 I did a "breakfast surnia" and mka systemimage, but now it's missing a different file. ninja: error: 'vendor/motorola/msm8916-common/proprietary/bin/stml0xx', needed by '/root/moto/halium/out/target/product/surnia/system/bin/stml0xx', missing and no known rule to make it Oct 21 08:07:04 I tried commenting out #BOARD_PROVIDES_RILD := true that was also under the #Radio section, but that didn't help. Putting it back in. I still can't find TARGET_PROVIDES_LIBRIL Oct 21 08:07:37 May you know why graphics on my tablrt doesnt work? Tests run fine, as root and as phablet (it says terminated), but, in logcat, when it run as phablet, there's permission error, also, root cant acess /dev/ion, any idea? Oct 21 08:09:18 May it be my configuration for the android container? It's stuck on the boot animation, wifi working Oct 21 08:09:29 * antoine62[m] uploaded an image: image_20201021100833.png < https://matrix.org/_matrix/media/r0/download/privacytools.io/lERQRRHbifpqdHuUJNZntxyB/image_20201021100833.png > Oct 21 08:18:03 @SebaUbuntu, I did a "root@smoke251:~/moto/halium# cp -a kernel/motorola/msm8916/drivers/misc/stml0xx vendor/motorola/msm8916-common/proprietary/bin/" and now I'm getting further. Now it's missing a different file. I'll try to track it down too. ninja: error: 'vendor/motorola/msm8916-common/proprietary/lib/hw/sensorhub.msm8916.so', needed by Oct 21 08:18:03 '/root/moto/halium/out/target/product/surnia/system/lib/hw/sensorhub.msm8916.so', missing and no known rule to make it Oct 21 08:18:48 @jcschauer [@SebaUbuntu, I did a "root@smoke251:~/moto/halium# cp -a kernel/motorola/msm8916 …], Have you properly cloned vendor repo? Oct 21 08:18:55 You shouldn't need to touch that Oct 21 08:19:30 Did you extracted the proprietary drivers, or cloned them? Oct 21 08:26:41 I had to disable apparmor to repo Halium. It makes sense that I messed up getting the proprietary drivers. Looking at the previous step, I'm a bit confused. Is there an easy way to copy this from the Lineage's source? (I already downloaded that). Oct 21 08:30:59 I created "halium/devices/manifests/motorola_surnia.xml" and I have 7 project entries in it. Did I name this file wrong or put it in the wrong place? Oct 21 08:37:40 I need to reboot to disable apparmor again. Disabling it on the fly isn't working. Please hold replies until I return. Thanks for your help. Oct 21 08:47:25 I went back and reran "root@smoke251:~/moto/halium# ./halium/devices/setup surnia" and it says no such file: I: Processing proprietary blob file: device/motorola/qcom-common/./common-proprietary-files.txt Oct 21 08:51:56 How much of a difference would disabling app armour make... would it help with permission error at all Oct 21 08:54:06 run dmesg and look if you've got apparmor errors at the end. I was trying to repo as root and still getting permission denied because of apparmor. Oct 21 08:59:58 Is there anyway I can get a prebuilt systemimage for my Motorola Moto LTE (surnia)? I don't care what version of Halium it is. Oct 21 09:05:28 There's nothing in dmesg iirc Oct 21 09:14:12 Is it treble compatible? If yes, then yes. Oct 21 10:52:29 h was added by: h Oct 21 10:57:03 h Android 9 kernel for Xiaomi Redmi Note 8 Pro: https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/begonia-p-oss so getting Halium 9 going would certainly be possible Oct 21 10:57:32 thanks Oct 21 10:57:51 be very careful about 8 pro Oct 21 10:58:00 it's very easy brickabke Oct 21 10:58:03 i already broke its recovery partition Oct 21 10:58:06 still doing good Oct 21 10:58:23 @h [i already broke its recovery partition], not only recovery partiton but the hard brick Oct 21 10:58:34 yea Oct 21 10:58:45 there are unbricking tutorials on some websites Oct 21 10:58:53 they may not work Oct 21 11:00:16 how does one break a recovery partition? :/ Oct 21 11:00:45 guess it's mediatek magic that I don't know about Oct 21 11:01:28 i just installed lineage os and it became a hell Oct 21 11:01:41 if i wanted to go to recovery it just rebooted Oct 21 11:02:01 and could even reboot while system is on Oct 21 11:02:31 since then if i tried to reinstall recovery it failed Oct 21 11:48:20 Rafael Leite was added by: Rafael Leite Oct 21 11:59:30 Anybody could look at why my tablet is stuck at the boot animation? Wifi is working, some sensors too, and touch too. You will find in this archive the output of the test commands, the dmesg, the syslog, the lightdm logs, and other things. Oct 21 11:59:36 * antoine62[m] posted a file: logs.tar_20201021135629.xz (101KiB) < https://matrix.org/_matrix/media/r0/download/privacytools.io/rIDgkInSWTzGFcrOtkhNdvNv/logs.tar_20201021135629.xz > Oct 21 12:00:13 * antoine62[m] posted a file: logs.tar.xz (101KiB) < https://matrix.org/_matrix/media/r0/download/privacytools.io/MRKqLOuypWRrZmXpXqZeTtiL/logs.tar.xz > Oct 21 12:41:35 guys Oct 21 12:41:39 oh my god Oct 21 12:41:42 this is happening Oct 21 12:41:50 recovery is now working Oct 21 15:02:08 @h [recovery is now working], 👍 be careful with the kernel still, if possible use just `fastboot boot` instead of flashing it Oct 21 15:05:05 Camille was added by: Camille Oct 21 15:33:30 (Document) https://irc.ubports.com/9mtu7Dh5.mp4 Oct 21 15:33:31 @RealDanct12 it's coming... Oct 21 15:35:50 what device is it? Oct 21 15:36:37 @just_carlod [what device is it?], Moto z2 force Oct 21 15:37:09 @erfanoabdi that'sd pretty hot :) Oct 21 15:37:10 I hope mobian will run on more devices in the future Oct 21 15:37:23 [Edit] I hope mobian will run on more and more devices in the future Oct 21 15:38:11 😁 Oct 21 15:39:15 the major issue right now would be stack corruption imo Oct 21 15:39:57 also purple-mm-sms is a modemmanager libpurple plugin, so you need someway to translate ofono to that Oct 21 15:40:12 otherwise no sms Oct 21 15:41:33 yeah Oct 21 15:41:52 will start working on it soon Oct 21 15:43:33 @erfanoabdi [], ❤️ Oct 21 16:37:32 Hı. How install mobian? Oct 21 16:37:40 And mobian gsi? Oct 21 16:38:22 @erfanoabdi [], wow... i might prefer this over ubuntu touch. Oct 21 16:38:28 actual gtk+ apps? Oct 21 16:39:35 as opposed to fake gtk+ apps? Oct 21 16:40:11 i mean like as opposed to the openstore apps and the need to make a container to run something else Oct 21 16:40:20 [Edit] i mean like as opposed to click packages and the need to make a container to run something else Oct 21 16:42:43 Actual debian packages :) Oct 21 16:43:09 yessss Oct 21 16:44:22 @mintphin [wow... i might prefer this over ubuntu touch.], Yeah me too Oct 21 16:47:07 @eugenio_g7 [Actual debian packages :)], Would be worth at least a closer look ... 👍 Oct 21 16:50:10 @mintphin [wow... i might prefer this over ubuntu touch.], Everyone prefers anything over Ubuntu Touch Oct 21 16:50:18 @mintphin [wow... i might prefer this over ubuntu touch.], +1 Oct 21 16:50:37 Sadlt I dont have much time to help with development :/ Oct 21 16:50:46 [Edit] Sadly I dont have much time to help with development :/ Oct 21 16:51:22 @just_carlod [Everyone prefers anything over Ubuntu Touch], Not Google-Android, no ... Oct 21 16:51:40 @X YZ [Not Google-Android, no ...], You mean aosp? Oct 21 16:52:12 @X YZ [Not Google-Android, no ...], yes Android is bad but there are lots of apps, on Ubuntu touch... Oct 21 16:52:35 @X YZ [Not Google-Android, no ...], [Edit] yes Android is bad but there is lots of apps, on Ubuntu touch... Oct 21 16:53:04 @just_carlod [yes Android is bad but there is lots of apps, on Ubuntu touch...], donate a few billion dollars and there will be lots of apps too Oct 21 16:53:07 @X YZ [Not Google-Android, no ...], Better emulate it Oct 21 16:53:08 @just_carlod [yes Android is bad but there is lots of apps, on Ubuntu touch...], Depends on what you (really) need ... apps or privacy. 😉 Oct 21 16:53:26 @mrcyjanek [You mean aosp?], And its nice in terms of security, your files are protected from accesing them by apps, while you can, by just switching, turn on root access Oct 21 16:53:29 but this isn't the place to moan about your personal feelings about ubuntu touch Oct 21 16:53:41 please stick to the topic of porting devices with halium :) Oct 21 16:54:12 yeah don't go too bad on ubuntu touch. it's a good platform anyways. Oct 21 16:54:13 @X YZ [Depends on what you (really) need ... apps or privacy. 😉], It is actually easy to make privacy focuesd android device. Oct 21 16:54:16 Did anybody took a look at my logs? Oct 21 16:54:22 @mintphin [yeah don't go too bad on ubuntu touch. it's a good platform anyways.], It is, I just dont like mir ;p Oct 21 16:54:30 @dohbee [please stick to the topic of porting devices with halium :)], So back to Mobian GSI .... when, where and how? 😇 Oct 21 16:54:45 @X YZ [So back to Mobian GSI .... when, where and how? 😇], ask mobian devs? Oct 21 16:55:18 @dohbee [ask mobian devs?], Yet another group to join? 😳 Oct 21 16:55:40 hybris mobian bois … https://t.me/hybris_mobian Oct 21 16:55:41 @mrcyjanek [It is, I just dont like mir ;p], that makes no sense. mir is simply an implementation of a wayland compositor Oct 21 16:57:32 But isn't that the things that stop us from running desktop apps... … Don't get me wrong, ut is cool, bot when somebody wants to actually modify his device, ut is not the best pick. That's why I'm waiting for mobian c: Oct 21 16:58:38 Yes Ubuntu touch is not for "hakers" and "thinkers" Oct 21 16:58:54 @mrcyjanek [But isn't that the things that stop us from running desktop apps... … Don't get me …], no Oct 21 16:59:05 But anyway it's @halium Oct 21 16:59:11 yes Oct 21 17:11:06 @erfanoabdi [], looks amazing Oct 21 18:26:26 @mrcyjanek [It is, I ju"> I don't think you need additional communication with Weston or anything to launch a new window, with Mir you should do that Oct 21 18:26:40 Mir brings a lot of restrictions due to "security" Oct 21 18:55:22 I think that i cant get into the ui because of permissions error, any idea on how i can fix them? Oct 21 18:56:29 Even root has permission error, on /dev/ion, for exemple Oct 21 18:56:45 * Even root has permission errors, on /dev/ion, for exemple Oct 21 19:45:56 Maybe some kernel config messing with things? Oct 21 19:46:16 I think some samsungs had a config option like that Oct 21 19:46:23 I may be wrong tho Oct 21 19:49:09 May you be able to take a look at my defconfig ? Oct 21 19:49:48 https://github.com/antoine62/android_kernel_samsung_exynos7870/blob/halium9_treble/arch/arm64/configs/lineage-gtaxlwifi_defconfig Oct 21 19:54:59 I should also modify my kernel cmdline, a lot of things are useless in it Oct 21 19:55:26 I don't know what is wrong Oct 21 19:55:38 It seems to be fine Oct 21 19:56:25 That's why i dont know why it doesnt boot to ui Oct 21 19:56:50 Why does it has a lot of permission errors? In every logs there's a permission error Oct 21 19:56:55 so chmod 777 to /dev doesn't help, right? Oct 21 19:57:37 I didnt tried that, but if it fix this, what should i do to fix it properly? Oct 21 19:58:18 btw have you added udev rules? Oct 21 19:58:52 fix udev rules xD Oct 21 19:59:07 but if superuser has permission issues that's weird Oct 21 19:59:25 GSI doesnt need them, but i did, i think, if the codename is stiml gtaxlwifi Oct 21 20:00:01 root@ubuntu-phablet:~# /dev/ion Oct 21 20:00:02 -bash: /dev/ion: Permission denied Oct 21 20:00:04 Lmao Oct 21 20:00:54 Just look at my tar.xz, every logs is just fine or with permissions errors Oct 21 20:02:22 Maybe /dev/ion is bad Oct 21 20:02:28 What does logcat say? Oct 21 20:02:31 Any clues? Oct 21 20:02:55 Look at my tar.xz, every log you need is in it Oct 21 20:03:01 * antoine62[m] posted a file: logs.tar.xz (101KiB) < https://matrix.org/_matrix/media/r0/download/privacytools.io/IHvroiaKByjVNBFjYjrSYPMc/logs.tar.xz > Oct 21 20:04:37 [nergzd723](https://matrix.to/#/@nergzd723:matrix.org) Oct 21 20:09:03 There's something wrong with /dev/ion, idk why, but it's really strange, what does it even do? Should i revert the lastest commit made by the devs of my tablet? They modified it Oct 21 20:09:33 /dev/ion seems to be some kind of memory allocator Oct 21 20:11:50 https://github.com/antoine62/android_kernel_samsung_exynos7870/commits/halium9_treble/drivers/staging/android/ion Oct 21 20:13:21 Idk, maybe you should revert it to Samsung point Oct 21 20:13:35 I think it's something else messing with permissions tho Oct 21 20:14:48 I also tryed disabling apparmor, but same thing, stuck on boot animation Oct 21 20:17:49 Root shouldnt have any issue accessing any file, right/ Oct 21 20:17:50 ?* Oct 21 20:19:43 Well, devices are not files Oct 21 20:19:48 Same applies to sysfs Oct 21 20:20:25 But there's not only ion Oct 21 20:21:24 There's something about underclokcing the gpu, it fails to do it when my device goes to sleep mode. Oct 21 20:24:15 Permission error too Oct 21 20:31:30 CONFIG_SECURITY_SELINUX=y Oct 21 20:31:30 This shouldnt be there, right? Oct 21 20:32:23 CONFIG_DEFAULT_SECURITY="selinux" Oct 21 20:32:23 Also this Oct 21 20:44:47 I think there was a config option to disable selinux Oct 21 20:44:53 In your config Oct 21 20:45:02 So I don't think that's the issue Oct 21 20:45:40 CONFIG_SECURITY_SELINUX_DISABLE=y Oct 21 20:45:40 You're right Oct 21 20:46:43 There's something about ext4 security, should i care? Oct 21 20:59:35 It should be enabled, i looked on a working linux 3.18 halium port Oct 21 22:55:41 @erfanoabdi how stable is the current mobian gsi? i found it on lolinet and wanna try it out Oct 21 22:56:39 @mintphin [@erfanoabdi how stable is the current mobian gsi? i found it on lolinet and wann …], its not booting Oct 21 22:56:48 oh ok. Oct 21 22:57:11 @erfanoabdi [], how did you get this working btw? Oct 21 22:57:57 i mean current rootfs need some hacks to boot … not ready to try Oct 21 22:58:05 @erfanoabdi does proximity sensor works? Oct 21 22:58:07 ah understandable. Oct 21 22:58:11 if it works phosh should dim the display all the time Oct 21 22:58:12 @RealDanct12 [@erfanoabdi does proximity sensor works?], yeah Oct 21 22:58:16 ok nice Oct 21 22:58:27 lol i was wondering why it happens Oct 21 22:59:42 i was about to start saving for a pinephone so i could get a stable device with a wayland distro Oct 21 23:00:10 [Edit] i was about to start saving for a pinephone so i could get a device with a confirmed wayland distro Oct 21 23:00:16 [Edit] i was about to start saving for a pinephone so i could get a device with a running wayland distro Oct 21 23:00:44 might still save up for that physical keyboard but this is still very good news. Oct 21 23:00:47 i've got like 3 pinephones now Oct 21 23:00:51 [Edit] i've got 3 pinephones now Oct 21 23:00:55 and a prototype pinetab Oct 21 23:01:01 lol Oct 21 23:02:05 i have some old phones laying around but nothing usable in 2020 Oct 21 23:02:20 except my mi a3 Oct 21 23:02:28 so that's what i'm working with Oct 21 23:02:57 i'm getting an n900 for a thin terminal in order to ssh to my remote servers. Oct 21 23:03:04 [Edit] i'm getting an n900 as a thin terminal in order to ssh to my remote servers. Oct 21 23:19:06 @RealDanct12 [i've got 3 pinephones now], different editions? Oct 21 23:24:28 @RealDanct12 [and a prototype pinetab], https://github.com/erfanoabdi/hadess-sensorfw-proxy Oct 21 23:26:42 it has broken compass which is sensorfw bug i believe Oct 21 23:45:06 @h [different editions?], Yep Oct 21 23:45:20 @RealDanct12 [Yep], cool **** ENDING LOGGING AT Thu Oct 22 02:59:57 2020