**** BEGIN LOGGING AT Sat Mar 02 02:59:57 2019 Mar 02 07:46:25 it does :D and I've since managed to make steps to make it boot loop now working through https://wiki.postmarketos.org/wiki/Troubleshooting:boot Mar 02 08:06:46 [ 6.198139] EXT3-fs (mmcblk0p25): error: couldn't mount because of unsupported optional features (40) … is the error Mar 02 08:30:39 my kernel config is CONFIG_ARM64=y, will work with Ubuntu Touch ? Mar 02 09:19:47 @JBBgameich, Hey, your uploaded patch (completely disabling memfd support) is working fine. … However I did not yet have time to build my own patch, unfortunately I wont have time before monday, sorry! Mar 02 09:21:08 * by "uploaded patch" I mean the package in your repo... Mar 02 09:29:33 (Photo, 1280x225) https://irc.ubports.com/LBvoQsLF.png Mar 02 09:34:46 Does this mean it's not mounting the rootfs right? Mar 02 09:35:57 @Daniel, Okay. Good to know that it works for now. I also updated Libhybris a few days ago. It didn't introduce any regressions, right? Mar 02 09:36:29 It was quite a big change because android 8 support was added. It shouldn't change anything on android 7 though. Mar 02 10:27:37 cvamoose was added by: cvamoose Mar 02 15:18:15 Whats the actual difference between the halium-boot.img and the boot.img in the output directory? My halium-boot.img makes the device bootloop while the other stays on the samsung logo and turns back on when I power it down via powerbutton Mar 02 17:39:28 thatannoyingguy4: boot.img is regular android, halium-boot.img is, well, halium, different initrds Mar 02 17:39:39 you want to find out why halium-boot bootloops Mar 02 18:02:26 The problem is that ptrace doesnt show up in twrp and the last_kmesg doesn't show anything except the output of the S-BOOT Bootloader Mar 02 18:03:50 and what does that s-boot loader say? Mar 02 18:05:13 i got as far as it saying … 6.254838] EXT3-fs (mmcblk0p25): error: couldn't mount because of unsupported optional features (40) [ 6.265350] EXT2-fs (mmcblk0p25): error: couldn't mount because of unsupported optional features (44) … in /proc/last_ (something) Mar 02 18:06:01 @DickThomas full log please Mar 02 18:07:04 @dohniks Mar 02 18:07:15 let me just fire up the phone again :) Mar 02 18:12:35 okay, this will take longer than expected. My food is ready. but I'll get the log and post a pastbin link Mar 02 18:53:58 @JBBgameich, Hey, ah, that's interesting news! Well, I have not observed anything like that - *but* I am currently using X11, so very little of hwcomposer is actually used. I can checkout kwin_wayland as well, but as well only after the weekend... … Thanks for the info! Mar 02 18:57:22 hı. my device d802. Mar 02 18:57:27 d802 open telnet Mar 02 18:57:49 than ı use this command `ps | grep kworker/u8` Mar 02 18:58:20 wait 4 minute. than ı use echo continue > /init-ctl/stdin` Mar 02 18:58:27 but not open ssh :( Mar 02 18:58:39 what can ı do? Mar 02 19:20:13 @dohniks here is the full log https://paste.debian.net/1071070/ Mar 02 19:23:58 is that halium-boot? does the flashing go ok? Mar 02 19:24:48 it is the halium-boot and it says it went ok and reoots automagically Mar 02 19:25:02 fastboot? Mar 02 19:25:37 dthomas@thadeus  ~  heimdall flash --BOOT hybris-boot.img Mar 02 19:25:43 was the command I used Mar 02 19:26:09 install hybris-boot Mar 02 19:26:16 how open ssh? Mar 02 19:27:11 @DickThomas flo had some trouble recently with heimdall recently. in the end it turned out image was too large and heimdall just happily ignored this and he was left with a broken boot Mar 02 19:27:50 @dohniks should I try in windows ? Mar 02 19:28:01 dont think that makes a difference Mar 02 19:28:11 well not if it is the size of the image Mar 02 19:28:17 it just doesnt fit in the partition Mar 02 19:28:17 phew, windows hasn't been booted in to in months Mar 02 19:28:27 ah I get you now. Mar 02 19:29:06 not sure what he did, but you can search back in the history, heimdall doesn't come up too often Mar 02 19:29:48 or maybe heimdall has some options that help? Mar 02 19:31:11 I will try with —verbose and while i seach the history Mar 02 19:31:24 @ankaos, http://docs.halium.org/en/latest/porting/debug-build/logging-in.html?highlight=ssh Mar 02 19:33:18 thank. ı read now Mar 02 20:03:33 i'm now seeing the issue I think https://paste.debian.net/1071077/ but no ideas how to fix it 0.o Mar 02 20:05:55 @dohniks, Be aware that the kernel must not exceed the predefined partition size Mar 02 20:06:03 Heimdall will not tell you if the kernel is too big Mar 02 20:06:15 It will just do nothing and you boot the old kernel or you boot nothing Mar 02 20:06:26 Use LZMA compression by all means Mar 02 20:06:33 LZO will not do it normally Mar 02 20:10:18 ahh :) /me googles lzo and kernel Mar 02 20:16:16 I'll have to charge the tab to transfer the log to the pc but I found something interesting in the last_kmesg: something... c0 Freeing init memory: 276K Mar 02 20:16:17 Something... c1 Kernel panic - not syncing: Attempted to kill init! Mar 02 20:16:52 More likely that it failed to mount the data partition, then Mar 02 20:23:16 open telnet. and `cat diagnosis.log` not found. this is good :) Mar 02 20:23:38 but ı use https://docs.halium.org/en/latest/porting/debug-build/logging-in.html and not open ssh Mar 02 20:24:02 mount ? Mar 02 20:24:42 and dmesg Mar 02 20:26:58 pc or device? Mar 02 20:27:10 device Mar 02 20:28:16 https://paste.ubuntu.com/p/8d6CHt3wjJ/ Mar 02 20:31:20 mount Mar 02 20:31:51 open telnet. and mount -o data/rootfs.img target Mar 02 20:36:11 @dohniks, how? Mar 02 20:37:56 type `mount` and pastebin the output Mar 02 20:38:01 :) Mar 02 20:39:25 ~ # mount -o data/rootfs.img target/ … mount: can't find target/ in /etc/fstab Mar 02 20:40:39 please run mount just by itself without any options Mar 02 20:41:59 @dohniks, in telnet or adb? Mar 02 20:42:26 telnet Mar 02 20:42:36 lzo Mar 02 20:42:37 hmm. ı dont you Mar 02 20:42:40 ı use adb Mar 02 20:42:44 oops wrong window sorry Mar 02 20:43:05 [Edit] hmm. ı dont know you Mar 02 20:43:10 Fwd from ankaos: open telnet. and `cat diagnosis.log` not found. this is good :) Mar 02 20:43:19 what did you mean by this then? I'm not following you Mar 02 20:45:46 @dohniks, I tried 3 times. did it last here. Mar 02 20:46:07 @dohniks, ı make. but open not ssh :( Mar 02 21:37:34 Ok here is the paste. Check the most recent one. The last paragraphes are from S-Boot. I found something about an irq issue where the kernel doesn't find the mic and audio jack. I also find errors like "c0 mmc0: cmd XY response timeout error". Https://pastebin.com/FK6UEtqA Mar 02 21:42:21 Fwd from thatannoyingguy4: The problem is that ptrace doesnt show up in twrp and the last_kmesg doesn't show anything except the output of the S-BOOT Bootloader Mar 02 21:42:34 you said the last_kmsg doesnt show anything Mar 02 21:42:52 it shows quite a lot, confusingly multiple boots .... Mar 02 21:43:14 Linux version 3.0.31-kerNoleCM14.1+ (dave@noletude) (gcc version 4.8 (GCC) ) #1 SMP PREEMPT Fri Jun 2 09:49:02 EDT 2017 Mar 02 21:43:27 but taht doesn't look like it's a kernel you build Mar 02 21:43:28 2017 Mar 02 21:47:16 I thought most of the things were preboot inits from the proprietary bootloader. There should also be a twrp boot in there and the boot.img of the out dir of halium. Line 3777 is the last line of the faulty kernel I believe Mar 02 21:52:53 can you get into telnet and see whether you can actually mount and read /data Mar 02 21:53:01 e.g. from hybris-recovery Mar 02 21:53:22 in the kernel log I don't see it mounting a filesystem ever Mar 02 21:54:07 is it halium-boot or hybris-boot btw? Mar 02 21:59:57 halium-boot Mar 02 22:01:00 It wont even show up in lsusb so telnet is impossible Mar 02 22:01:26 Oh over the recovery? I'll try to flash it Mar 02 22:01:39 yeah try hybris-recovery Mar 02 22:03:10 I believe I'm too dumb to do anyhing. How do I compile the recovery? Mar 02 22:04:33 make hybris-recovery Mar 02 22:04:35 :) Mar 02 22:04:50 XT4-fs warning (device sda20): ext4_enable_quotas:5317: Failed to enable quota tracking (type=0, err=-3). Please run e2fsck to fix. … Any idea Mar 02 22:04:57 [Edit] EXT4-fs warning (device sda20): ext4_enable_quotas:5317: Failed to enable quota tracking (type=0, err=-3). Please run e2fsck to fix. … Any idea Mar 02 22:07:32 Oh, that simple? thanks. Can't be more obvious :D Mar 02 22:18:46 ls /data returns lost+found media misc and property so data should be mountable and readable. 'mount' itself shows the right partition Mar 02 22:24:56 can you pastebin the output of mount Mar 02 22:36:05 https://pastebin.com/8A1GAcmt Mar 02 22:36:05 I have to type everything manually because my netbook is the only device that likes to communicate with that tablet. Mar 02 22:37:06 nothing mounted at /target Mar 02 22:37:15 Oh and mount -a shows mounting none on /var/run failed: no such file or directory Mar 02 22:37:46 http://docs.halium.org/en/latest/porting/debug-build/logging-in.html?highlight=mount#logging-in Mar 02 22:38:05 try the mkdir /a ; mount /data/rootfs.img /a Mar 02 22:38:14 ls -l /a Mar 02 23:07:46 I forgot I wiped /data so the rootfs has to be transferred back does the hybris recovery have an adb server? Mar 02 23:08:15 :) Mar 02 23:08:16 nope Mar 02 23:08:38 That means back to twrp, right? Mar 02 23:08:42 jup Mar 02 23:11:16 device unauthorized. Please don't tell me I have to install a rom and reactivate adb debugging Mar 02 23:11:39 ? Mar 02 23:11:49 you get that with twrp - adb ? Mar 02 23:11:59 yes Mar 02 23:12:12 no clue. never see :( Mar 02 23:12:27 plug in plug out turn off turn on? Mar 02 23:13:00 I'll quickly flash lineage on the device Mar 02 23:13:26 hehe, the fun of porting Mar 02 23:14:25 I believe the keys are stored on the /data partition which I wiped. Lesson learned. Mar 02 23:14:42 if you need to go there again, with fastboot you can boot directly `fastboot boot hybris-recovery.img` Mar 02 23:18:28 Problem is that it is a samsung tab which uses odin. Fastboot would be much faster Mar 02 23:18:42 oh right Mar 02 23:18:53 or heimdall right? Mar 02 23:19:57 Yep. Odin is a pain in the butt. And heimdall only works on my netbook which means I run around like a fool with a pendrive in my hand Mar 02 23:20:49 ouch. well good for halium project that there are porters with so much commitment :) Mar 02 23:29:19 How do I create the rootfs.img? I tried the halium-install script but it gives me a segfault with zcat: write error: broken pipe Mar 02 23:29:58 the other script? Mar 02 23:30:13 Other? Mar 02 23:31:19 http://docs.halium.org/en/latest/porting/install-build/reference-rootfs.html#install-rootfs-and-system-img-alternative-method Mar 02 23:47:52 does it work? Mar 02 23:49:03 I'm installing binfmt-support for the script. It installs from Aur so it will take some time Mar 02 23:50:51 oh Mar 03 00:03:56 Ok I forgot to install qemu itself. dpkg-reconfigure command not found after password updated successfully Mar 03 00:04:42 Ok aur has the dpkg package Mar 03 00:05:22 I'm going to bed. good luck! Mar 03 00:06:04 Thanks. I'll give it a try and I'll be gone too **** ENDING LOGGING AT Sun Mar 03 02:59:56 2019