**** BEGIN LOGGING AT Sun Mar 04 03:00:02 2018 Mar 04 03:03:23 update: i got halium to successfully boot on dream2lte Mar 04 03:03:30 it doesn't bootloop now Mar 04 03:03:39 i still don't have any debugging interfaces exposed Mar 04 03:03:52 so it launches, creates all the files in android-data, user-data, system-data Mar 04 03:04:06 but there's no SSH, so i can't see what's going on Mar 04 03:11:03 ZeroPointEnergy i need your advice Mar 04 03:22:10 Something went wrong with the latest commits on the halium repos Mar 04 03:23:03 I keep getting this when I mka systemimage: https://hastebin.com/delasaxeju.coffeescript Mar 04 03:23:10 libnativehelper cannot be found Mar 04 03:23:27 I could build just fine three/four days ago Mar 04 03:23:35 See backlog... ^^^ Mar 04 03:24:42 Oh, okay. Thanks Mar 04 03:24:49 Why was it removed? Mar 04 03:25:50 Wait. It's there Mar 04 03:26:17 It's still linking libnativeloader Mar 04 03:27:32 Unfortunately, not. I dont know whats missing at all. :/ Mar 04 03:27:34 can i revert just this one repo Mar 04 03:27:36 or do i need to revert all of them Mar 04 03:27:38 @vanyasem, You have to test it if it still builds, when you revert only one repo Mar 04 03:27:40 reverting worked ^^ … i reverted to `51ae3260373087f80cba0c1714fd587e1f84e7ff` Mar 04 03:28:00 do this in frameworks/native Mar 04 03:29:21 this pinged me :P Mar 04 03:29:41 lol Mar 04 03:29:53 It seems to be working for me too Mar 04 03:31:35 bshah, do you know why "/sys/module/wlan/parameters/fwpath" doesn't exist on my device? Mar 04 03:31:57 Do I have to manually add it? Or should it be created on its own? Mar 04 03:32:08 it should be created on itself Mar 04 03:32:16 is wcnss_service running? Mar 04 03:33:32 let me see Mar 04 03:40:48 How would I check for the service? service doesn't work as a command Mar 04 03:45:34 ps -ef Mar 04 03:47:10 looks like it isn't running Mar 04 03:49:42 although apparently ril is running fine Mar 04 03:50:20 The output: https://paste.ubuntu.com/p/hkPrV9tzDP/ Mar 04 03:52:38 Can you give me output of `mount`? Mar 04 03:52:45 And also point me to your fstab? Mar 04 03:54:53 mount: https://paste.ubuntu.com/p/jQJ8rPsMkw/ Mar 04 03:55:25 fstab: https://github.com/Qiangong2/android_device_samsung_jf-common/blob/halium-7.1/rootdir/etc/fstab.qcom Mar 04 03:55:36 I've used fixup-mountpoints too Mar 04 03:55:42 that is merged in Mar 04 03:57:41 Your device doesn't have separate vendor partition? Mar 04 03:58:08 No Mar 04 03:58:21 I don't believe samsung devices do Mar 04 03:58:33 Okay hm Mar 04 03:58:41 At least the ones that I have worked with do not have a vendor partition Mar 04 03:58:51 Please send me dmesg Mar 04 04:02:47 https://paste.ubuntu.com/p/xtbnrhyHKg/ Mar 04 04:10:02 CFG80211-TRACE) __wl_cfg80211_scan : START SCAN Mar 04 04:10:14 I think your WiFi is not qcom? Mar 04 04:10:18 And it's already on? Mar 04 04:11:22 All I ran was "nmcli d" Mar 04 04:11:33 I haven't tried to disconnect Mar 04 04:11:36 or connect Mar 04 04:11:47 I did run "echo 1 > /dev/wcnss_wlan" Mar 04 04:12:09 Can you give output of `nmcli d`? Mar 04 04:12:12 I just don't have "echo sta > /sys/module/wlan/parameters/fwpath" Mar 04 04:12:47 https://paste.ubuntu.com/p/6J2G2T7QSp/ Mar 04 04:15:18 wlan0 Mar 04 04:15:25 Well just try to connect Mar 04 04:15:33 Your WiFi is already initialized Mar 04 04:15:41 No need for echo sta ... Mar 04 04:21:47 Error: Connection activation failed: (7) Secrets were required, but not provided. Mar 04 04:22:03 It hung for about a minute and then output that error Mar 04 04:27:43 Aravind_I_M was added by: Aravind_I_M Mar 04 04:29:44 I have "Lenovo Tab 3 7 Essentials" running Android 5.0.1 , buts it's Mediatek device. … I want to port Ubuntu Touch based on Halium project... … How do I do it? Mar 04 04:30:36 http://docs.halium.org/en/latest/porting/first-steps.html Mar 04 04:30:45 Make sure you have the kernel source too Mar 04 04:31:49 @bhushanshah I got it to connect to a network, but that network requires you to sign in with the device you are using, which I cannot do in the reference rootfs Mar 04 04:34:27 But it doesn't support Mediatek, right? And My tab doesn't have Lineage/CM OS support! Mar 04 04:36:04 Then you'll have to build lineageOS for your device first Mar 04 04:37:05 How to? Mar 04 04:39:35 https://forum.xda-developers.com/showthread.php?t=2223690 Mar 04 04:39:46 That will help you build Mar 04 04:40:06 XDA is a great source, that's how I started building ROMs Mar 04 04:40:29 You have to make your own device and vendor trees as well Mar 04 04:40:37 people at XDA will be able to help you Mar 04 04:41:40 Will I need drivers dor my Tab? Mar 04 04:42:21 Probably Mar 04 04:42:39 Do I have to make them too? Mar 04 04:43:56 Possibly, I don't know for sure because I haven't worked extensively with Mediatek devices Mar 04 04:44:16 Ask in the beginner threads at XDA, they will be able to help you out more than I can Mar 04 04:51:52 @Qiangong2, Ah....that login portal thingie Mar 04 04:52:06 I had such weird connection once in my life Mar 04 04:54:57 Yeah, so I think my wifi works, it just can't connect to my home wpa2 network Mar 04 04:59:04 Now when I build systemimage, I get "hardware/libhardware_legacy/wifi/wifi.c:59:10: fatal error: 'samsung_macloader.h' file not found … #include … ^" Mar 04 04:59:46 [Edit] -snip- nvm Mar 04 05:00:43 can you not connect to the network at all or are you stuck at a captive portal? Mar 04 05:01:30 I connect to the network, but because I need to sign in, I have no internet connection Mar 04 05:10:45 What kind of captive portal it is? Mar 04 05:11:04 I'm sure online there are multiple scripts available for different captive portals Mar 04 05:12:30 MAC address, but the bypass that works if your device can't view the online portal doesn't work. I believe it only works for devices that don't support WPA2 Mar 04 05:12:49 You have to sign in on other devices Mar 04 11:51:47 in halium libhybris what debian must use ? Mar 04 13:16:34 https://github.com/Halium/hybris-boot/pull/45 … https://github.com/Halium/halium-devices/pull/56 Mar 04 14:25:43 @bhushanshah ping Mar 04 14:26:18 @vanyasem, i started a new port yesterday to dream(2)lte https://github.com/Halium/projectmanagement/issues/64 Mar 04 14:26:21 it has a 4.4 kernel Mar 04 14:26:37 it booted and created all files in system-data, android-data, etc Mar 04 14:26:44 no usb interfaces (ssh/telnet) were exposed Mar 04 14:27:07 oneplus 5 seemingly has a similar (or even the same) issue Mar 04 14:27:10 idea? Mar 04 14:27:12 [Edit] ideas? Mar 04 14:29:10 Hmm Mar 04 14:29:19 I can't find link in mobile Mar 04 14:29:53 Care to search sailfishos-porters channel log for configfs and hybris-boot keyword? Mar 04 14:31:52 sure, just a moment Mar 04 14:37:09 sk8higher was added by: sk8higher Mar 04 14:37:13 hi Mar 04 14:37:50 @vanyasem just asked https://github.com/guhl/hybris-boot/commit/2cc6f7966734af93b4eb265ca1968878c5950013 Mar 04 14:38:43 You might want it to port in halium-boot or our "fork" of hybris-boot Mar 04 14:39:14 Patches welcome 😜 Mar 04 14:43:18 @sk8higher, Hello ;) Mar 04 14:50:54 gennadii1981 was added by: gennadii1981 Mar 04 15:04:22 @bhushanshah, should i build that fork Mar 04 15:04:23 ? Mar 04 15:04:31 i am sorry, i was out for a while. Mar 04 15:04:32 [Edit] i am sorry, i was out for a while Mar 04 15:12:09 When compiling `mka systeimage` I was reported of the following error `ninja: error: '/media/HALIUM/halium/out/target/product/tenshi/obj/SHARED_LIBRARIES/libnativehelper_intermediates/export_includes', needed by '/media/HALIUM/halium/out/target/product/tenshi/obj/SHARED_LIBRARIES/libnativeloader_intermediates/import_includes Mar 04 15:12:09 ', missing and no known rule to make it`: any suggestion how to fix it? Mar 04 15:12:51 read the backlog Mar 04 15:13:01 Fwd from bshah> Unfortunately, not. I dont know whats missing at all. :/ Mar 04 15:13:01 Fwd from bshah> can i revert just this one repo Mar 04 15:13:02 Fwd from bshah> or do i need to revert all of them Mar 04 15:13:03 Fwd from bshah> @vanyasem, You have to test it if it still builds, when you revert only one repo Mar 04 15:13:03 Fwd from bshah> reverting worked ^^ … i reverted to `51ae3260373087f80cba0c1714fd587e1f84e7ff` Mar 04 15:13:04 Fwd from bshah: do this in frameworks/native Mar 04 15:22:49 I'm starting a port for the htc m8. I've put my manifest together for halium 5.1, but I don't see it in lunch. Mar 04 15:27:17 When porting a device that has CM12.1 and LOS 14.1 support is one prefered over the other, or does it really depend on the device? Mar 04 15:30:03 Can someone help me to fix (during make -j8) … Unable to find a published version of package ubuntu-touch-generic-initrd (armhf) at vivid … ? my PC OS is 16.04x64 Mar 04 15:53:06 why do you use make Mar 04 15:53:07 you are supposed to use mka Mar 04 15:54:22 It might not be available in 5.1 Mar 04 15:54:28 But still, that wouldn't cause the problem Mar 04 15:54:41 @Progromizd, Can you specifically run `make -j8 systemimage` Mar 04 15:55:02 @bhushanshah, dalton Mar 04 15:55:18 What? Mar 04 15:55:27 look at the message i replied to Mar 04 15:55:38 changes to halium-boot requested Mar 04 15:55:40 Sorry, I don't have any device that supports configfs Mar 04 15:55:54 uh? Mar 04 15:56:24 You do have it.. bullhead.. it supports both Mar 04 15:56:40 i patched hybris-boot btw, testing it Mar 04 15:57:56 But maybe bullhead makes you this Mar 04 15:58:06 (Sticker, 507x512) https://irc.ubports.com/rDOB0jEa.webp Mar 04 15:58:10 :p Mar 04 15:58:16 Basically Mar 04 15:58:21 Also it's running Android right now Mar 04 16:01:02 On the bright side, I'm getting really good at switching phones. ;-; Mar 04 16:10:17 bshahanshah: It seems we might need android_vendor_qcom_opensource_dataservices as well.. This provides librmnetctl.so it seems. Mar 04 16:10:37 Ah Mar 04 16:13:37 still got libnativehelper problem even after revert :/ Mar 04 16:14:44 You don't have to revert that commit Mar 04 16:14:50 You've to checkout to it Mar 04 16:16:00 @bhushanshah, yeah, that's what i've done. sorry, used the wrong terminolog Mar 04 16:16:01 @bhushanshah, [Edit] yeah, that's what i've done. sorry, used the wrong terminology Mar 04 16:16:38 @UniversalSuperBox is halium-boot a makefile? Mar 04 16:16:43 I.e. netmgrd needs it, seems that some provide it as proprietary files, but it's also provided by android_vendor_qcom_opensource_dataservices it seems Mar 04 16:16:44 wut? Mar 04 16:16:56 I'll have a look to see if I can get it working on my mido and propose some PR Mar 04 16:17:14 @vanyasem, the halium-boot makefile pulls the initrd from initramfs-tools-halium Mar 04 16:17:36 yeah, i see that :P Mar 04 16:18:01 i am confused Mar 04 16:18:23 @vanyasem, https://github.com/Halium/initramfs-tools-halium/blob/halium/scripts/halium Mar 04 16:18:42 `mount_root` runs to, y'know, mount root and switch to it Mar 04 16:18:47 i found the link. i am still confused why the old init is so much different Mar 04 16:18:49 So that's where you'll wnat your logic Mar 04 16:19:02 @vanyasem, Old init being hybris-boot or...? Mar 04 16:19:11 hybris-boot ofc Mar 04 16:19:22 Because it's much simpler Mar 04 16:19:29 It doesn't do as many things Mar 04 16:19:30 it doesn't work though Mar 04 16:19:43 and you refuse to patch it if i understood you correctly Mar 04 16:19:49 so i need to figure it out myself Mar 04 16:19:55 and having a hard time doing so Mar 04 16:20:31 I think you're trying to incite something I didn't say when I said "I don't have a device with configfs". I'm sorry you misunderstood. Mar 04 16:21:37 exactly Mar 04 16:22:36 Now would you like to know the problems I see in that patch that I think you should be aware of before trying to toss them into halium-boot? Mar 04 16:22:52 sure, go ahead Mar 04 16:23:46 Well, there are a few widgets that might not be available to you. Namely, `usleep` and `write`. Mar 04 16:24:17 I think `write` is a function that's added by the hybris-boot initscript so you can either bring that in or replace it with `printf` Mar 04 16:24:36 i am aware of that Mar 04 16:24:39 @bhushanshah, ow .. okay thx Mar 04 16:25:06 @UniversalSuperBox, what's the deal with usleep though? Mar 04 16:25:16 write is a function in a script, so that's understandable Mar 04 16:25:31 Hmm... Mar 04 16:25:51 It delays execution by n milliseconds Mar 04 16:25:59 So.. replace with any other wait, I gues Mar 04 16:26:00 [Edit] So.. replace with any other wait, I guess Mar 04 16:26:15 affirmative Mar 04 16:50:58 @UniversalSuperBox merge this ? https://github.com/Halium/halium-boot/pull/3 Mar 04 16:52:08 You've tested it? Mar 04 16:53:01 ZeroPointEnergy did. it's implemented the same way in hybris-boot Mar 04 16:53:08 i call that a regression Mar 04 16:56:16 building halium-boot, I'm running into some errors: https://gist.github.com/rockybulwinkle/7af8ef801972c2e80712af8e48b3a3a3 Mar 04 16:56:37 "There should be a one and only one device entry for HYBRIS_BOOT_PART and HYBRIS_DATA_PART." Mar 04 16:56:59 Wait what Mar 04 16:57:06 Oh, it's coming from hybris-boot Mar 04 16:57:40 Could you try removing `hybris-boot` from `build/core/main.mk` ? Mar 04 16:57:40 sorry, not building halium-boot _yet_. Building mkbootimg Mar 04 16:58:16 that did it, thanks Mar 04 17:39:11 building halium-boot now, it can't find zconf.hash.c? https://gist.github.com/rockybulwinkle/25e7c0df7c9401d365d63e4ff31f6b46 Mar 04 17:53:55 Deleted my out/ dir and it seems ok Mar 04 18:12:41 My m8 is boot looping and I don't have a /sys/fs/pstore in twrp.... Mar 04 18:16:37 ankaos was added by: ankaos Mar 04 18:17:11 how can i make a halium manifest. Mar 04 18:20:20 ankaos: Which device? Mar 04 18:29:07 i9300 Mar 04 18:29:13 s3 Mar 04 18:41:40 He is working on galaxy s3 i9300 Mar 04 18:43:26 @archi_dagac, Good luck with this one Mar 04 18:43:35 It wont work since it has Kernel 3.0 Mar 04 18:50:46 @rockybulwinkle, not sure what to do? Mar 04 18:52:50 What's its kernel version? Mar 04 18:53:59 3.4 Mar 04 18:54:59 You'll probably have `/proc/last_kmsg` Mar 04 18:59:31 Thanks, it's there Mar 04 18:59:44 https://gist.github.com/rockybulwinkle/b978261e9c99e4e97fb55b5028837294 Mar 04 19:03:02 Do I need system.img to get telnet into halium-boot? Mar 04 19:10:53 No, but you won't automatically get telnet if it isn't there Mar 04 19:11:54 "Couldn't find a system partition" means you're missing `rootfs.img` and didn't specify a `SYSPART` on the commandline Mar 04 19:14:23 If you installed with `rootstock` from UBports, you'll need to move `ubuntu.img` to `rootfs.img`. You'll also need to move the Android system.img from `{rootfs}/var/lib/lxc/android/system.img` to `/data/system.img`. Mar 04 19:14:33 If you install with JBB's halium-install, this doesn't happen any more. :) Mar 04 19:16:02 The reason this happens now and didn't before is I removed the `ubports` boot mode. It wasn't really fair to other Halium OS's that we got a special exception to the standard file layout. Mar 04 19:16:03 ok Mar 04 19:17:02 Do I need "libnativeloader"? https://gist.github.com/rockybulwinkle/7526f0ae9fb70650fd4657753a15a2f7 Mar 04 19:17:20 I think there's discussion about that yet today Mar 04 19:17:33 Revert the latest commit and it will work Mar 04 19:17:42 In which repo? Mar 04 19:18:22 I'm not finding it, but it is in today's scrollback Mar 04 19:18:50 I found it Mar 04 19:22:29 I went to that commit in frameworks/native. It's a bit further back than "the latest commit" though. Mar 04 19:22:29 Fwd from bshah> reverting worked ^^ … i reverted to `51ae3260373087f80cba0c1714fd587e1f84e7ff` Mar 04 19:22:30 Fwd from bshah: do this in frameworks/native Mar 04 19:23:04 @rockybulwinkle, yes it is. that's why i even specified a HASH of a commit to checkout Mar 04 19:23:09 .. Mar 04 19:23:33 Right, Qian said "latest commit" Mar 04 19:23:42 Yeah. Mar 04 19:23:58 .. Mar 04 19:24:11 why do people say stuff they don't understand Mar 04 19:24:15 drives me mad Mar 04 19:24:44 Ivan, take a break. There's no problem here Mar 04 19:25:18 It was the latest commit last night Mar 04 19:25:28 that's why Mar 04 19:27:22 Sorry, I don't mean to cause any drama. Mar 04 19:28:00 @Qiangong2, no, it was a merge of a pull request Mar 04 20:22:27 Ok, so I'm getting further. systemd starts up. I've got the reference halium rootfs installed. Mar 04 20:22:33 and halium-boot Mar 04 20:22:57 no usb ethernet though Mar 04 20:24:07 https://gist.github.com/rockybulwinkle/33d6a73fbce4ca6832521844a9dfe817 Mar 04 20:32:03 It doesn't boot loop Mar 04 20:34:38 I commented out the "import init.qcom.usb.rc" in my init.qcom.rc already, I'm not sure if I have to do something else. Mar 04 21:12:54 bshah: https://github.com/Halium/android/pull/16 that fixes the missing librmnetctl.so. Even though it's specified in the .mk even though it would fail to find it build would succeed, but it would only show at runtime. Mar 04 21:13:09 This fixes it for mido, so I'm sure it would work for other targets using the same too Mar 05 00:51:57 I am still having the following error while buolding systemimage, and yes I do have hardware/ti/omap4 in my tree. any ideas? Mar 05 00:51:58 https://pastebin.com/YkLTFiSe Mar 05 02:11:36 it looks like there is a line to vopy a bunch of libraries in my device-vendor-blobs.mk file, but they're never being copied **** ENDING LOGGING AT Mon Mar 05 03:00:03 2018