**** BEGIN LOGGING AT Mon Feb 12 03:00:01 2018 Feb 12 03:01:47 Have other people come across the bsdiff issue? I am using the halium-7.1 branch Feb 12 03:07:08 Qiangong2 was added by: Qiangong2 Feb 12 03:07:58 I'm trying to build halium for the jfltetmo, but it is always failing at the same part: https://pastebin.com/KrF817MR Feb 12 03:08:26 Anyone having the same issues? Feb 12 03:09:58 @univer Feb 12 03:10:19 at line 400 of scripts/halium Feb 12 03:10:23 Right after that should be a successful mount Feb 12 03:10:33 >_< oh. Feb 12 03:10:57 the way linux tries mounting ext's as different versions throws me off Feb 12 03:12:06 [05-24 01:29:24.173] [2][499: exe]F2FS-fs(loop1): Can't find ralid F2FS file2ystem in 2th superblock Feb 12 03:12:24 Does it try ext4 after that Feb 12 03:12:25 something's wrong with my system.img I think Feb 12 03:12:39 If it can't mount the Android image, it should warn but boot anyway Feb 12 03:13:56 It doesn't seem to try ext4. I just see it continue on, throwing errors... Feb 12 03:14:38 But you get a kernel panic, no? Feb 12 03:15:13 no, I don't think so Feb 12 03:15:20 Oh... so what's happening? Feb 12 03:15:47 it does respond to pings for a while, but stops. ssh/telnet give connection refused. If telnet were running, is it on port 23 at this point? I saw something about running it on a different port. Feb 12 03:16:02 Telnet won't be running in rootfs Feb 12 03:16:03 "but stops" I mean the packets start dropping Feb 12 03:16:28 Is there a certain amount of time that it waits before starting? Feb 12 03:16:29 starts responding to pings? yeah Feb 12 03:16:38 Stopping, rather Feb 12 03:16:39 I think. Let me double check Feb 12 03:17:11 you want me to time it? Feb 12 03:17:16 Yeah, actually Feb 12 03:19:20 timing it now Feb 12 03:19:39 first run, about 45 seconds. Feb 12 03:21:15 btw I think there was a typo on the debug guide. It lists different IP's where it says to assign an ip, and which ip to ssh into. Feb 12 03:21:20 Second run, 45 seconds Feb 12 03:21:46 I'm timing this by spamming "sudo ip addr add 10.15.19.100 dev enp0s20u2 && ping 10.15.19.100" until ping starts Feb 12 03:21:55 and just counting how many times it responds Feb 12 03:23:25 third run, 45 seconds Feb 12 03:23:39 Okay Feb 12 03:24:28 wait.. it started responding again? Feb 12 03:25:42 it's losing its ip. If I add it again, it responds for a while again, then stops again. Feb 12 03:25:43 Ohhhh Feb 12 03:25:44 Delete the connection in the networkmanager GUI Feb 12 03:25:45 Is that gonna be in the rootfs.img? Feb 12 03:30:04 that's not installed on my manjaro. They must be managing it differently. I don't see the device anywhere... I'm just gonna try my debian laptop Feb 12 03:44:59 ah jeeze my fixup-mountpoints changes were lost at some point here. Feb 12 03:44:59 does halium-boot use that script? Feb 12 03:45:01 Nope Feb 12 03:45:01 It's magic Feb 12 03:45:03 haha ok Feb 12 04:02:02 I don't see dropbear in any of the rc* folders Feb 12 04:02:17 How does it get started? Feb 12 04:02:40 nvm Feb 12 06:44:10 If a device has both Android 5.1 and 7.1 support/LineageOS code, which one is preferred for building Halium? Feb 12 06:44:49 I think 7.1 Feb 12 07:31:48 Tonight in a nutshell: … Disable rsyslogd, 5X boots. Understanding is none. Feb 12 07:42:07 What's wrong with rsyslogd? Feb 12 07:44:14 @win8linux, Its hard to say. I started with one device in 7.1 but had to come back to 5.1 bc of unstable device binaries. In the worst case, you need to do both ports once ;) Feb 12 08:54:23 @Flohack, i confirm this, if device has stock rom based on android 7.1 so use halium -7.1, if not , use halium-5.1 is more stable Feb 12 09:01:03 @carriewst, Everything Feb 12 09:02:33 @UniversalSuperBox, interesting Feb 12 09:03:10 We also got unity to start btw Feb 12 09:03:28 sad I was not there Feb 12 09:03:39 So @Ellenjott I've imported the needed repos to my github Feb 12 09:04:55 I took the android_device_samsung_qcom-common repo directly from the Halium github just to be sure that this will work with halium Feb 12 09:05:31 Now I'll make the needed changes in my github Feb 12 09:25:09 @UniversalSuperBox, I hate rsyslog... It gave problems to me... Feb 12 09:35:47 So where I have to remove the .apks and .jars ? I mean in which file? Feb 12 09:39:02 My output from executing mka hybris-boot https://pastebin.com/e4dpDs9y Feb 12 09:39:17 moste case in vendor files Feb 12 09:40:33 It was (in my case) vendor/bq/tenshi/Android.mk, for you vendor///Android.mk Feb 12 09:41:07 Okay Feb 12 09:48:02 @Manu, No, not in vendor. Remove them in proprietary-files.txt in device tree and common device tree. Then rerun ./halium/devices/setup [codename] Feb 12 09:49:28 @bhushanshah, LMAO Feb 12 09:56:36 @Ellenjott, this is the most recent modification indeed, and it is better in order not to infringe proprietary stuff in vendor Feb 12 10:00:46 @stefanomelchior, I know :) Feb 12 10:33:06 Any ideas how to make halium-boot more verbose. It just spawns telnet after "moving Android system to /android/system" but no error message is given, also no panic reason Feb 12 11:17:25 So now at 2nd attempt to build the hybris-boot there is this output: … https://pastebin.com/aPSVXTi8 Feb 12 11:17:53 Line 164 is your error Feb 12 11:18:49 I don't know what to do in proprietaryfiles.txt Feb 12 11:19:09 that's not issue Feb 12 11:19:16 right now Line 164 is your error Feb 12 11:19:20 in your pastebin Feb 12 11:29:55 in fondo c'è questo commento:vanyasem commented on 13 Jan … @Flohack74 use github gist for the manifest plz Feb 12 11:30:19 per aggiungere file, uso il drag-n-drop Feb 12 11:37:48 I don't understand anything Feb 12 11:46:21 @stefanomelchior, I was suggesting Mattia to publish his manifest.xml and his work to port to a new device Feb 12 11:48:28 Ah okay Feb 12 11:49:04 @stefanomelchior, Yes, i've published the manifest: https://github.com/Halium/halium-devices/compare/halium-7.1...Mattia990:patch-1 and in a few minutes the issue in projectmanagement Feb 12 11:56:03 @Manu, So any ideas? Feb 12 12:01:45 @rH3R0, is it possible you configured modules but you didn't enable CONFIG_MODULES=y (or something like that?) did your config passed without errors/warnings the mer check? **** BEGIN LOGGING AT Mon Feb 12 12:29:28 2018 Feb 12 12:30:09 Maybe I have to check it, wait Feb 12 12:33:11 Oh you're right its not in the file Feb 12 12:34:39 before compiling, look at "Modify the kernel configuration" (http://docs.halium.org/en/latest/porting/build-sources.html) Feb 12 12:35:05 Okay I've did it already but maybe I've forgot something Feb 12 12:35:21 there are a lot of mentions of this CONFIG in the list, it might be possible you can find the same error Feb 12 12:35:34 Yep Feb 12 12:38:57 Have I to type in just CONFIG_SOMETHING=y or with a comma after the y? Feb 12 12:41:03 Because it gives me something like: ERROR: CONFIG_CGROUPS is invalid … Value is: y … Allowed values : y … Comment says: systemd: http://cgit.freedesktop.org/systemd/systemd/commit/README?id=713bc0cfa477ca1df8769041cb3dbc83c10eace2 Feb 12 12:54:08 Now I'm getting this: … https://pastebin.com/jVMDx8nT **** BEGIN LOGGING AT Mon Feb 12 14:07:04 2018 Feb 12 15:07:37 @rH3R0, Have you bc installed? Feb 12 15:08:14 I think not … Just sudo apt install bc? Feb 12 15:08:54 Okay done is installed Feb 12 15:28:41 Hi guys, i reinstalled ubuntu and now my phone is in ssh but i can't connect... Do you know where i can find "enp0" ecc... ? Feb 12 16:11:48 I'm trying to build halium-7.1, but it keeps failing at 99 percent on mka systemimage Feb 12 16:12:20 It is trying to build bsdiff which is not included in the halium code Feb 12 16:12:49 any ideas? It doesn't work when you try to download it from the aosp code Feb 12 16:13:48 add external/bsddiff with aosp remote in manifest? Feb 12 16:14:07 @Mattia990, Ubuntu touch or halium rfs Feb 12 16:14:09 ? Feb 12 16:14:33 @Qiangong2, Paste the output Feb 12 16:17:14 http://pastebin.com/KrF817MR Feb 12 16:18:43 @abhishek_01, With raspberry i can ssh the phone, but with ubuntu no... Is there a way to reset network settings? Feb 12 16:19:46 Ok, I managed to get some more output from init in halium-boot. I'm not 100% sure, but I think the part where it fails is where it tests init: # run-init -n /root /sbin/init Feb 12 16:19:47 run-init: opening console: No such device Feb 12 16:20:47 @Mattia990, If it is giving you a error like ssh key, you can just remove it from known hosts .ssh/ on the host Feb 12 16:21:37 @Mattia990, Reset the network, you can flush every network settings for a interface :) google it Feb 12 16:21:38 ZeroPointEnergy: do you have console= in your cmdline? Feb 12 16:21:51 Assuming you have ubtouch booting Feb 12 16:22:41 @bshah console=ram Feb 12 16:22:50 kill it with fire Feb 12 16:23:21 that must come from the board config or something Feb 12 16:24:13 first verify if it is not your device itself adding it Feb 12 16:24:29 abootimg -i Feb 12 16:29:41 empty cmdline Feb 12 16:29:52 so it is coming from the device? Feb 12 16:30:11 yep.. yay Feb 12 16:30:12 :( Feb 12 16:30:22 Samsung device right? Feb 12 16:30:27 yes Feb 12 16:30:35 * bshah summons @Flohack Feb 12 16:31:18 ZeroPointEnergy: what you can try is, add console=tty0 in cmdline Feb 12 16:31:26 and see if it is alive Feb 12 16:31:36 if not it neeeds more messing around Feb 12 16:36:34 he has some patch to append to the kernel cmdline in his kernel tree. Maybe I need something similar. Will try now just adding the parameter, but it will probably be overwritten by the device parameter Feb 12 16:47:29 @bshah fantastic, that actually worked :-D Feb 12 16:50:40 @abhishek_01 any ideas why I'm having the bsdiff problem? Feb 12 16:51:58 @mariogrip can you restart @ubports_bot ? Feb 12 16:53:23 @Qiangong2, I wrote this on IRC but it didn't reach here... what if you add external/bsddiff with aosp remote on manifest? Feb 12 16:54:26 It doesn't work. It's like the makefile isn't building bsdiff Feb 12 16:54:43 Ah Feb 12 16:54:57 In that case add it in build/core/main.mk Feb 12 16:59:39 Heh, now I'm back at the old problem of systemd getting stuck probably Feb 12 17:02:01 ZeroPointEnergy: is it ubports rootfs? Feb 12 17:07:43 It isn't even in the lineage build/core/main.mk though Feb 12 17:08:39 Well yeah but maybe because recovery uses it Feb 12 17:08:53 Which is not the lineageos recovery iirc Feb 12 17:10:01 i just installed bsdiff (sudo apt-get install bsdiff) then symlink it … ln -s /usr/bin/bsdif host/linux-x86/bin/bsdiff Feb 12 17:11:05 in LOS 14.1 they removed bsdiff, only in 14.0 it used Feb 12 17:13:36 I'll try that later, thanks :) Feb 12 17:14:29 It just is interesting because lineageos downloads it and uses it, but it doesn't show up in halium Feb 12 17:15:11 @abhishek_01, On raspberry pi i can connect, with ssh, On ubuntu i can only see usb device rndis ecc... But i can't execute ip address and ip route commands Feb 12 17:16:43 @Mattia990, which script did you use to install it ? Feb 12 17:27:04 @Walid, Jbb's script Feb 12 17:27:36 But with ifconfig i can't see usb0 but with raspberry yes Feb 12 18:03:17 Skinnyman was added by: Skinnyman Feb 12 18:14:53 So hello. I got device land with msm8937 and sources available. I successfuly managed through all the steps and compiled halium. Then i gone further and compiled ubports according to the guide, downloaded xenial rootfs, formatted data and installed everything via script. After boot my device isn't detected at all. If i boot with -c break=premount, i can get connect over telnet and get dmsg. Can someone take a look at it and give me a little hint o Feb 12 18:14:54 have i done wrong?) Thanks Feb 12 18:22:21 @Skinnyman, Has the halium reference rootfs or plasma mobile rootfs worked already? Feb 12 18:23:08 In nearly all cases you first have to do some debugging, generelly trying ubuntu touch is the second task Feb 12 18:23:40 And is there a `/diagnosis.log` in telnet? Feb 12 18:25:25 Are you using hybris-boot or already halium-boot? Feb 12 18:25:48 Sounds like halium-boot Feb 12 18:25:57 Can you get telnet at `break=bottom`? Feb 12 18:27:36 Actually sounds like ubports-boot... question still standa Feb 12 18:33:52 Well, the ubports said i only need to get to compile halium succesfully, then i can get back to installing ubports, so i haven't tested halium much. But i did install halium rootfs from the guide and booted hybris-boot, and it actually stuck on break=mount level. I can't get to telnet after breakpoint levels i mentioned. Feb 12 18:34:40 also there's no /diagnosis.log Feb 12 19:28:08 @Mattia990, Resolved with an update... Thanks to all! Feb 12 19:31:17 Okay, halium has built Feb 12 19:31:32 How do you flash through odin or heimdall? Feb 12 19:31:53 I'm working with a galaxy S4 and it doesn't have fastboot Feb 12 19:32:42 If the device is supported by heimdall, I think you should prefer it Feb 12 19:33:35 Do I just flash the system and boot images then? Feb 12 19:34:05 Only flash hybris-boot then, the system image should be installed using halium-install Feb 12 19:34:11 https://forums.ubports.com/topic/912/samsung-porting-notes-a-loose-collection is nice guide Feb 12 19:39:21 Okay, thanks Feb 12 19:39:38 Should it still be in download mode then when using halium-install? Feb 12 19:40:00 For halium-install, it needs to be in recovery mode (TWRP) Feb 12 20:13:58 Guys, i booted my phone with plasma but i haven't got the gui... Is there a tutorial to do this? Feb 12 20:17:20 @Mattia990, did you create udev rules? Feb 12 20:22:21 @Walid, No, i do it now Feb 12 20:23:39 if you got ssh connection run this commands … sudi -i … cat /var/lib/lxc/android/rootfs/ueventd*.rc|grep ^/dev|sed -e 's/^\/dev\///'|awk '{printf "ACTION==\"add\", KERNEL==\"%s\", OWNER=\"%s\", GROUP=\"%s\", MODE=\"%s\"\n",$1,$3,$4,$2}' | sed -e 's/\r//' >/etc/udev/rules.d/70-[device_code-name].rules Feb 12 20:23:57 replace [device_code-name] Feb 12 20:27:13 @Mattia990, What was the fix? Feb 12 20:38:48 @Walid, Thanks a lot! Feb 12 20:39:07 @abhishek_0, Apt update / upgrade / dist-upgrade Feb 12 20:43:30 Oh :P Feb 12 22:11:55 still trying to find out why systemd blocks. Is "systemd-binfmt.service" importamt? It fails to start Feb 12 22:12:40 tmp.mount as well Feb 12 22:30:47 @bhushanshah, I am getting quoted ❤️ Feb 12 22:32:30 @Qiangong2, And there are several versions of Heimdall available, youneed to find which one works for your device Feb 13 00:43:59 I built and deployed the halium rootfs tar to my jfltetmo, my computer recognizes 8 different filesystems from the phone (I assume the tmpfs ones) but now it isn't booting Feb 13 00:44:49 No adb either Feb 13 00:44:50 have you read the docs Feb 13 00:44:52 you don't get adb exposed in the rootfs Feb 13 00:45:11 only telnet / ssh based on your boot state Feb 13 00:45:18 please consider reading the docs Feb 13 00:45:54 @Flohack, "porting is a strange sadism" is still the most popular quote of yours Feb 13 00:46:28 I have been reading the docs Feb 13 00:46:38 I get no last_kmsg Feb 13 00:46:43 or pstore ramoops Feb 13 00:46:47 what do you see in dmesg Feb 13 00:46:57 please pastebin that Feb 13 00:47:08 @vanyasem, on your host machine that is Feb 13 00:48:36 https://hastebin.com/agevaritij.vbs Feb 13 00:48:56 thank you for using hastebin, i can't view that paste with js disabled Feb 13 00:49:07 lol Feb 13 00:49:14 hastebin's just so much cleaner Feb 13 00:49:23 `usb 1-1.4: SerialNumber: Mer Debug setting up (DONE_SWITCH=no)` Feb 13 00:49:34 now read the section about telnet on the docs Feb 13 00:49:40 you got telnet exposed Feb 13 00:51:03 thanks Feb 13 00:51:50 https://raw.githubusercontent.com/JBBgameich/halium-install/6997957989ab2bb839b6b07b2290c77375c77800/connect-telnet.sh Feb 13 00:52:07 you can also use that script to quickly set up a telnet connection to your device Feb 13 00:52:25 then `cat diagnosis.log` and pastebin that Feb 13 00:52:34 I'll try it later, thanks Feb 13 00:52:39 sure Feb 13 00:55:58 i've tried with hwcomposer test on plasma but i got a lot of errors like this: https://paste.ubuntu.com/p/yHY68sSSQF/ Feb 13 01:40:06 Hi, there's a bit stupid question, Where I can get mka? I have only make aviable :s Feb 13 01:40:17 I'm using ArchLinux Feb 13 01:40:19 Are you building a 5.1 tree Feb 13 01:40:54 No, I'm trying to build a 7.1 tree Feb 13 01:41:11 Did you run `source build/envsetup.sh` and `breakfast [device]` yet Feb 13 01:42:28 Oh, now it's working, thanks Feb 13 01:42:43 I thought mka was a package **** ENDING LOGGING AT Tue Feb 13 03:00:02 2018