**** BEGIN LOGGING AT Fri Nov 30 03:00:00 2018 Nov 30 07:04:43 RinMido was added by: RinMido Nov 30 07:04:47 Hi guys! Nov 30 07:04:50 Roker2 was added by: Roker2 Nov 30 07:04:58 (Photo, 1280x514) https://irc.ubports.com/ncBZkKIQ.png Hello. … I try to make hybris-boot, but I have this error. Can you help me? Nov 30 07:04:58 Fwd from Roker2: I used kernel for Sailfish and for Cyanogen 14.1 Nov 30 07:05:13 I with my friend building Halium for Mido(Xiaomi Redmi Note 4X) Nov 30 07:05:34 System image building successfully Nov 30 07:05:48 But,kernel don't building Nov 30 07:05:51 @Roker2, . Nov 30 07:06:39 Yes Nov 30 07:06:55 I use Cyanogen 14.1 device tree Nov 30 07:07:36 Maybe change device tree to Sailfish device tree? Nov 30 07:09:16 FAILED: /home/annaminko2007/halium/out/target/product/mido/obj/ROOT/hybris-boot_intermediates/init … /bin/bash -c "(sed -e 's %DATA_PART% /dev/block/bootdevice/by-name/userdata g' -e 's %BOOTLOGO% g' -e 's %DEFAULT_OS% sailfishos g' -e 's %ALWAYSDEBUG% g' halium/hybris-boot/init-script > /home/annaminko2007/halium/o Nov 30 07:09:16 ut/target/product/mido/obj/ROOT/hybris-boot_intermediates/init ) && (halium/hybris-boot/fixup-mountpoints \"mido\" \"/home/annaminko2007/halium/out/target/product/mido/obj/ROOT/hybris-boot_intermediates/init\" ) && (chmod +x /home/annaminko2007/halium/out/target/product/mido/obj/ROOT/hybris-boot_intermediates/init )" … /bin/bash: halium/hybris-boot Nov 30 07:09:16 /fixup-mountpoints: Permission denied … [ 96% 416/426] Building Kernel … external/busybox/networking/udhcp/dhcpc.c: In function 'udhcpc_main': … external/busybox/networking/udhcp/dhcpc.c:1244:11: warning: 'xid' is used uninitialized in this function [-Wuninitialized] … uint32_t xid = xid; /* for compiler */ … ^ … external/busybox/netwo Nov 30 07:09:16 rking/udhcp/dhcpc.c:1582:4: warning: 'server_addr' may be used uninitialized in this function [-Wmaybe-uninitialized] … perform_release(server_addr, requested_ip); Nov 30 07:56:03 There is already a port for mido. You can use the ./halium/devices/setup script to checkout the tree for it. Nov 30 07:57:10 https://github.com/Halium/halium-devices/blob/halium-7.1/manifests/xiaomi_mido.xml Nov 30 08:25:06 JBBgameich: it's possible we never had the time to configure hybris-boot, though Nov 30 08:25:55 Should be quite straightforward, but I never had the time to look into it Nov 30 08:27:02 I should just stop being lazy and migrate PlaMo to halium-boot q.q Nov 30 08:28:44 bshah: well, I can't say I'm doing a better job there :p Nov 30 08:43:22 (Photo, 720x1280) https://irc.ubports.com/B139FhPg.png I can't find this Nov 30 09:36:41 SmallSharky was added by: SmallSharky Nov 30 09:51:59 @Roker2, Try `halium/devices`. Looks like you're just in `device` because you named your project tree `halium` Nov 30 09:53:46 So, for you, the full path would be `~/halium/halium/devices`. Nov 30 10:25:25 Aaa... … One moment Nov 30 10:26:29 (Photo, 720x1280) https://irc.ubports.com/VwC2tXZG.png Yes... … Thanks Nov 30 10:38:33 @Tofe, Since the device seems to have a sailfishOS port, the hybris-boot config is probably already existing Nov 30 10:42:33 JBBgameich: ah, you're right, I just saw it in the fixup-mountpoints Nov 30 12:05:29 (Photo, 1280x476) https://irc.ubports.com/0HAZFffW.png So, again I got this error Nov 30 12:08:34 um Nov 30 12:08:40 maybe someone broke repo Nov 30 12:09:23 yep Nov 30 12:09:27 ```old mode 100755 … new mode 100644``` Nov 30 12:11:24 https://github.com/Halium/hybris-boot/commit/4862783e989331815b3f1dc3771a1e7cb4056ec7 fixed Nov 30 12:11:42 Can you repo sync again and retry? Nov 30 12:13:03 Also as a note for people merging fixup mountpoints in hybris-boot repo, please see that pull request doesn't accidentially change the file permissions @vanyasem @JBBgameich @dohniks @Ellenjott Nov 30 12:14:45 bshah: sidenote: isn't there a nicer way to organize this fixup-mountpoints script ? A bit less monolithic ? Nov 30 12:15:12 there must be... but... dunno Nov 30 12:15:30 I think halium-boot is much nicer solution then spending extra effort on hybris-boot Nov 30 12:15:52 right Nov 30 12:21:49 @bhushanshah, Yes, one moment Nov 30 12:23:58 @JBBgameich, Are we heading towards good times? Nov 30 12:28:28 YEAH … I MADE BOOTIMAGE Nov 30 12:28:39 Thank you!!! Nov 30 12:40:42 Congrats Дмитрий Nov 30 12:43:56 Thanks Nov 30 12:58:38 How to convert tar.gz convert to ext2? Nov 30 12:59:19 Where is script halium-install? Nov 30 13:01:13 @bhushanshah, Ups. Sorry. Jup that was me. I can see it now in github ... now I know where to look 👍 Nov 30 13:12:50 @Roker2, I found. Nov 30 13:16:22 I go to download all parts of ROM Nov 30 15:31:06 ./halium-install halium-rootfs-20170630-151006.tar.gz system.img … transfering rootfs tarball ... … failed to copy 'halium-rootfs-20170630-151006.tar.gz' to '/recovery/': couldn't create file: Is a directory … cleaning up … umount: can't umount /cache/system/: No such file or directory Nov 30 15:31:22 I can't install Nov 30 15:31:29 @Roker2, i had the same, i used the other install script referenced in wiki Nov 30 15:31:39 Oh, ok Nov 30 15:37:32 qemu-arm-static not found in $PATH … make sure you have all dependencies installed. … dependencies: qemu binfmt-support qemu-user-static e2fsprogs sudo simg2img Nov 30 15:38:04 What is I should to do? Nov 30 15:38:56 Install the missing dependency :) … Om debian or ubuntu you need to insstall qemu-user-static Nov 30 15:39:04 [Edit] Install the missing dependency :) … Om debian or ubuntu you need to install qemu-user-static Nov 30 15:39:27 Actually the script prints the list of package names itself, just install them Nov 30 15:39:46 I can't install qemu-arm-static in XUbuntu Nov 30 15:40:08 Yeah, the package is called qemu-user-static Nov 30 15:40:29 Oh. Okay, I go to try Nov 30 15:41:00 Yeah, It found this package Nov 30 16:01:09 So, I installed Halium, but recovery say, thay OS don't installed. I go to reboot and I see logo. No bootanimation Nov 30 16:01:31 And I see files of ROM Nov 30 16:02:09 (Photo, 1440x863) https://irc.ubports.com/PExGt6NA.png Nov 30 16:03:56 I don't know what I need to do Nov 30 16:06:48 How I can get logs? Nov 30 16:06:50 @Roker2, Recoveries usually don't find halium. That's normal. Graphics usually doesn't work from the beginning, so the bootloader logo stays on the screen. Nov 30 16:07:20 Now continue in the porting guide. It has a section about connecting using telnet or ssh Nov 30 16:07:54 And make sure your data partition isn't encrypted Nov 30 16:08:25 @JBBgameich, I used custom ROM. I think, that no. Nov 30 16:09:45 (Photo, 1440x863) https://irc.ubports.com/kbEsUI6N.png Nov 30 16:09:48 This? Nov 30 16:12:24 Yes Nov 30 16:18:48 Ok Nov 30 16:18:57 So, I have this Nov 30 16:18:59 while : ; do lsusb -v 2>/dev/null | grep -Ee 'iSerial +[0-9]+ +[^ ]' ; done | uniq … iSerial 3 Mer Debug telnet on port 23 on rndis0 192.168.2.15 - also running udhcpd Nov 30 16:21:01 So telnet debugging is neccesary Nov 30 16:21:12 Continue with the next steps Nov 30 16:26:55 dmesg | tail … [99441.721104] EXT4-fs (sdc48): warning: maximal mount count reached, running e2fsck is recommended … [99441.729984] EXT4-fs (sdc48): recovery complete … [99441.729992] EXT4-fs (sdc48): mounted filesystem with ordered data mode. Opts: (null) … [99507.020592] EXT4-fs (sdc26): recovery complete … [99507.029490] EXT4-fs ( Nov 30 16:26:55 sdc26): mounted filesystem with ordered data mode. Opts: (null) … [99550.771637] EXT4-fs (sdc24): recovery complete … [99550.771644] EXT4-fs (sdc24): mounted filesystem with ordered data mode. Opts: (null) … [99561.772943] EXT4-fs (sdc25): recovery complete … [99561.772950] EXT4-fs (sdc25): mounted filesystem with ordered data mode. Opts: (null) … Nov 30 16:26:55 [99576.114224] sdc: detected capacity change from 15634268160 to 0 Nov 30 16:27:35 So, first of all I need to logging in Nov 30 16:27:54 See the pinned message, don't paste more then 4 lines in chay Nov 30 16:27:56 [Edit] See the pinned message, don't paste more then 4 lines in chat Nov 30 16:28:00 I can't make this, because port is 23 Nov 30 16:28:09 @bhushanshah, Ups, sorry Nov 30 16:40:56 So, I understand, that I am idiot Nov 30 16:46:47 How to get device name? ip link show don't help Nov 30 16:54:12 (Photo, 461x547) https://irc.ubports.com/r77M2dxw.png Nov 30 16:57:41 192.168.2.15 Nov 30 16:57:47 @Roker2, ^ Nov 30 16:58:48 ssh: connect to host 192.168.2.15 port 22: Connection refused Nov 30 16:59:35 you need to be in same network i guess Nov 30 16:59:44 can't access from outside like that Nov 30 17:00:09 I connect smartphone to computer Nov 30 17:00:14 *connected Nov 30 17:08:42 Oh, lol Nov 30 17:08:43 sudo ip link set enp0s29f1u1 address 02:11:22:33:44:55 … RTNETLINK answers: Device or resource busy Nov 30 17:08:58 Try the other command Nov 30 17:09:15 For example? Nov 30 17:09:29 The one that actually sets the IP address rather than the MAC address Nov 30 17:10:42 recheck the documentation: https://docs.halium.org/en/latest/porting/debug-build/early-init.html Nov 30 17:10:49 @Roker2, you need to telnet at this stage Nov 30 17:15:16 Early Init is first, Logging in - second? Nov 30 17:16:00 Yes, that's why the documents are ordered that way Nov 30 17:16:30 Sorry... Nov 30 17:18:29 Yeah... I connected Nov 30 17:18:47 @Roker2, Cool Nov 30 17:26:48 adb push 70-[enp0s29f1u1].rules /data/halium-rootfs/etc/udev/rules.d/ … cannot stat '70-[enp0s29f1u1].rules': No such file or directory Nov 30 17:27:06 @Roker2, anyway, if you installed Halium test rootfs, there is nothing to be displayed Nov 30 17:27:19 Oh... Nov 30 17:27:33 @Roker2, where is this from? Nov 30 17:27:50 @NotKit, I reboot to recovery Nov 30 17:28:02 I mean 70-[enp0s29f1u1].rules Nov 30 17:28:07 filename looks wrong Nov 30 17:28:57 http://docs.halium.org/en/latest/porting/debug-build/udev.html Nov 30 17:29:13 [codename] :) Nov 30 17:29:17 should be mido Nov 30 17:29:32 Yeees... Nov 30 17:30:00 cannot stat '70-[mido].rules': No such file or directory Nov 30 17:30:00 but how did you run this if you can not boot into rootfs? Nov 30 17:30:31 @NotKit, I click to power button... Nov 30 17:31:40 Maybe it is not for me :/ Nov 30 17:31:46 according to your previous issue, you have device stuck inside hybris-boot initramfs Nov 30 17:32:10 so you need to check why did it fail to switch to rootfs Nov 30 17:34:08 Sorry, but I tired... I can give URL for download my build. Nov 30 17:34:27 Now I can't work Nov 30 17:40:19 https://mega.nz/#F!3aYx1IzZ!jJiKTuAoJqKrSCDORHg6mA Nov 30 17:48:10 well, just having build is not very useful, but take your time Nov 30 17:56:22 Ok. Nov 30 17:56:40 I didn't delete sources Nov 30 18:26:58 @drebrez, drebrez: I wrote a long answer in halium klte issue :) **** ENDING LOGGING AT Sat Dec 01 03:00:00 2018