**** BEGIN LOGGING AT Tue Feb 19 02:59:57 2019 Feb 19 08:55:27 @Tygerpro, Tygerpro Not anything different than when booting Plasma Mobile Feb 19 08:55:29 https://pastebin.com/raw/bNyqYm8M Feb 19 12:29:59 appleroot was added by: appleroot Feb 19 12:33:48 @WaseemAlkurdi, Ok, have you tried adding your public ssh key? (I may have that worded wrong) Feb 19 12:41:34 @Tygerpro, I did Feb 19 12:42:03 Point is that it is refusing the connection at a point before it even gets to the stage where it authenticates the connection Feb 19 12:46:49 Hmm ... iirc when I had this situation I ended up having to try a rootfs from a different date Feb 19 12:47:42 @Tygerpro, The one I'm trying doesn't have a date attached Feb 19 12:47:55 Simply called ubports-touch.rootfs-xenial-armhf. … tar.gz Feb 19 12:48:02 It was either that or I had something configured wrong, hard to remember which I had to do cause I wasn't able to replicate it Feb 19 12:48:56 @Tygerpro, What do you suggest then? … There isn't any configuration to do after installation Feb 19 12:49:20 I simply installed using JBB's halium-install Feb 19 12:49:20 And that's it Feb 19 12:49:21 @WaseemAlkurdi, When you download it that's how it gets saved, but if you go to the link in the guide the build numbers all have dates as well Feb 19 12:49:47 Interesting ... do you think that an older one would work? Feb 19 12:50:13 When you install with JBBs you used -p ut -v? Feb 19 12:50:25 Of course Feb 19 12:50:34 So it configures the rootfs for Ubuntu Touch Feb 19 12:52:07 @WaseemAlkurdi, Ok, just have to ask to make sure, I would say try a older or newer rootfs, or even verify yours isn't corrupt with SHA key Feb 19 12:53:23 I had a rootfs that didn't give any errors but the SHA key was off, although that was with plasma which my port wouldn't boot anyway Feb 19 12:53:27 There's no newer AFAIK, but I might try an older one … Correct me, but won't it simply not extract if there was any corruption? Feb 19 12:53:37 [Edit] There's no newer AFAIK, but I might try an older one … Correct me if I'm wrong, but won't it simply not extract if there was any corruption? Feb 19 12:54:08 @Tygerpro, See this comment Feb 19 12:54:47 @Tygerpro, Oh ... Feb 19 12:54:52 I'm going to checl Feb 19 12:54:56 check* Feb 19 12:55:37 My port ATM only works with a rootfs from December 8 2018, so it's worth trying an older one Feb 19 12:55:53 @Tygerpro, I'm going to try that particular one Feb 19 12:56:10 I can't check the SHA-1 of the rootfs that I have Feb 19 12:56:18 because I've forgotten what date it was Feb 19 12:56:34 I'm going to download yours then Feb 19 12:56:48 It's a edge rootfs and it should say if you look at the files details Feb 19 12:57:44 As in 'xenial-hybris-edge-rootfs'? Feb 19 12:58:03 Or 'mainline'? Feb 19 12:59:11 Uh mainline I think? This was before they got renamed so I'm not 100% sure Feb 19 12:59:30 Do you have the link? I can't seem to find the history Feb 19 12:59:35 Only the latest build is there Feb 19 12:59:47 https://ci.ubports.com/job/xenial-rootfs-armhf/ Feb 19 13:01:38 I think they trimmed it, let me see if I still have my link somewhere Feb 19 13:06:39 My link doesn't work anymore, I'll post my rootfs file for you on my server, one sec Feb 19 13:10:58 http://tygercraft.duckdns.org/rootfs/ Feb 19 13:12:09 @Tygerpro, Downloading! 😍 Feb 19 13:12:28 BTW, awesome server you've got there!😁 Feb 19 13:12:31 Hosted at home? Feb 19 13:13:18 Oh, just read about it ... AWS instance it seems? Feb 19 13:21:40 Straight Apache, it home hosted but I'm working on a newer interface for it behind the scenes cause it's role has changed a bit Feb 19 13:23:08 It was setup for my Minecraft stuff but I took that down since no one played it anymore, as an interesting side note, minetest on UT is a weird thing to see Feb 19 14:50:14 steftim was added by: steftim Feb 19 16:05:45 well hello there Feb 19 17:29:24 where do I put break=bottom? Kernel cmdline? Feb 19 17:29:41 Yep Feb 19 17:29:44 @Flohack, Depends on the device Feb 19 17:29:54 On Samsung you need to put into kernel somewhere Feb 19 17:29:59 Because my S3 kernel bootloops with halium 7.1 but worked like a charm with 5.1 Feb 19 17:30:04 @vanyasem, As it overrides the default cmdline Feb 19 17:30:19 Ah needs kernel patch inject cmdline Feb 19 17:30:30 But yes overall your goal is to add that cmdline Feb 19 17:30:40 Iirc you’re working on a Samsung so double check that Feb 19 17:31:06 Hmm I try without first. Need to grab that patch from the archive Feb 19 17:31:19 Mind my DP I don’t know how that happened Feb 19 17:31:38 Hmm bot with reference root fs it booted fine. I doubt its the kernel actually Feb 19 17:32:02 Is there any need to recompile systemimage when only kernel flags changed? Feb 19 17:32:25 @Flohack, Well iirc kernel modules go there Feb 19 17:32:36 So if you set something to =m you need to recompile Feb 19 17:32:54 maybe thats the point I tried to get wlan into module. BTW I think the module path is still wrong in halium boot. Feb 19 17:33:12 The module path can't be right in halium-boot Feb 19 17:33:16 Every distro is different Feb 19 17:33:35 So is the solution to set everything to =y ? Feb 19 17:33:45 No, put `modprobe` in the Android initscripts Feb 19 17:33:48 So Android does it instead Feb 19 17:34:13 That's mentioned in the docs, but not well expanded upon. I'm not sure if it's the best solution. Feb 19 17:34:26 I wonder if there’s any way to do something like Halium but for Windows Feb 19 17:34:33 What? Feb 19 17:35:28 Windows Feb 19 17:35:44 I heard that part, the rest of the statement didn't make sense though Feb 19 17:36:17 @vanyasem, It's called WSL Feb 19 17:36:24 *ducks* Feb 19 17:36:35 @bhushanshah, I don’t need Linux in Windows , I am talking about Windows on Android Feb 19 17:37:29 I know WSL - I prefer sharing a disk with a Hyper-V VM via SMB - that way it works faster due to some NTFS issues with WSL Feb 19 17:37:57 @vanyasem, Good luck and good night Feb 19 17:38:00 😛 Feb 19 17:41:35 @Flohack, I typically had to put that in the BoardConfig.mk when I had to do that Feb 19 17:41:53 @Flohack, [Edit] I typically had to put that in the BoardConfig.mk when I had to do that … Under the kernelconfig Feb 19 18:03:37 so here we go again, playing with the shield tablet and it still hates my guts Feb 19 18:08:22 remind me, is it Android 7 or Android 5.1 based and where are you stuck with this? Feb 19 18:11:26 I'm using LOS 14.1 sources for it. … It's armhf, too. … I'm mostly stuck on tests... I haven't been able to get the reference rootfs to even install with jbb's script for some reason and graphics/tests/etc don't work under plasma mobile. Feb 19 18:13:41 run jbbs script with `-v` and pastebin the whole output Feb 19 18:15:02 https://paste.ubuntu.com/p/cCNhgM5ms2/ Feb 19 18:15:33 for some reason I don't think it copies the image to the device Feb 19 18:15:41 update the script from git :) Feb 19 18:16:20 fyi https://github.com/JBBgameich/halium-install/issues/28 Feb 19 18:16:33 Oooh. Feb 19 18:16:37 That'd do it. Feb 19 18:18:03 Thanks for the headsup, heh. Feb 19 18:33:43 Cool, so I'm in the rootfs now. Generated udev rules and rebooted. Most tests still don't seem to work, though wifi at least does. Feb 19 18:36:27 maybe that's good enough for reference rootfs, move on to pm or ut Feb 19 18:37:00 alright, I'll try PM again Feb 19 18:48:30 Alright, so what tests are known to be working? Feb 19 18:48:49 test_hwcomposer at least blanks the screen but then it just segfaults Feb 19 18:52:59 https://paste.ubuntu.com/p/sW2jSW6vJ2/ I get some stuff from libEGL and hwcomposer in logcat Feb 19 18:53:51 https://paste.ubuntu.com/p/2Pgkng4Zxs/ and an strace output of test_hwcomposer Feb 19 18:54:36 @Lyokanthrope, dunno :( Feb 19 18:55:47 is it JBB's Debian-based PM? Feb 19 18:56:28 there is more than one PM? Feb 19 18:56:39 ...Yeah, I wasn't aware there was more than one. I used the rootfs linked in the halium docs. Feb 19 18:56:47 https://images.plasma-mobile.org/rootfs/ Feb 19 18:57:02 I believe it's Neon based. Feb 19 19:12:53 Om5sky was added by: Om5sky Feb 19 19:23:46 @NotKit, Is this more likely to work maybe? Feb 19 19:25:38 I doubt it, just asked to know which one and if it could have been built against CAF somehow Feb 19 19:25:45 Hm, fair enough. Feb 19 19:29:33 Ok break=bottom does not help at all, it immediately crashes but seems to mount data partition at least Feb 19 19:30:01 I will try putting the module bak in kernel now Feb 19 19:34:15 I'm really not sure where to go from here. Gah. Feb 19 19:35:47 did you try pm yet? how far does it get? Feb 19 19:36:23 Yeah, I'm using PM right now. No go on anything Feb 19 19:38:19 lxc container running? Feb 19 19:42:57 Yep! Feb 19 19:44:21 test_hwc? Feb 19 19:44:31 Fwd from Lyokanthrope: https://paste.ubuntu.com/p/sW2jSW6vJ2/ I get some stuff from libEGL and hwcomposer in logcat Feb 19 19:44:32 Fwd from Lyokanthrope: https://paste.ubuntu.com/p/2Pgkng4Zxs/ and an strace output of test_hwcomposer Feb 19 19:44:43 test_hwcomposer just segfaults but it does blank the screen Feb 19 19:44:53 was that on reference rootfs or on pm Feb 19 19:44:56 PM Feb 19 19:47:43 I feel like I'm largely uncharted territory trying to port to a Tegra device lol Feb 19 19:47:49 [Edit] I feel like I'm largely uncharted territory trying to port to a Tegra K1 device lol Feb 19 19:49:14 I want to port to a tegra 3 device but I can't get the code to compile in a vanilla state, so I'm basically just abandoning that and gonna run Ubuntu 12 on it instead Feb 19 19:55:46 [Edit] I feel like I'm largely in uncharted territory trying to port to a Tegra K1 device lol Feb 19 20:03:47 I'm really not sure where to go from here. Feb 19 20:04:57 try if this one renders Feb 19 20:04:58 (Document) https://irc.ubports.com/Nxfyoa03.null Feb 19 20:04:58 (Document) https://irc.ubports.com/65M2uEvU.null Feb 19 20:05:06 it is compiled against bionic, not libhybris Feb 19 20:08:28 Didn't seem to do much unless I did something wrong with it, I just scp'd it to /home/phablet and ran it as root Feb 19 20:09:25 https://paste.ubuntu.com/p/BjNDFx44jx/ This appears in logcat when I run it Feb 19 20:10:53 https://paste.ubuntu.com/p/RCN5dYgKBh/ and this is all I get in the prompt Feb 19 20:12:28 try this way then Feb 19 20:12:28 Fwd from NotKit: cp ./test_hwcomposer /var/lib/lxc/android/rootfs … lxc-attach -n android -e -- /test_hwcomposer Feb 19 20:12:59 ...Something flashed on the screen and then it quit immediately Feb 19 20:13:24 https://paste.ubuntu.com/p/7GN78VDyBK/ Feb 19 20:14:09 it could be that it didn't wait for vsync Feb 19 20:14:23 https://paste.ubuntu.com/p/VygWjft2KQ/ Feb 19 20:14:29 Interesting things in logcat Feb 19 20:17:37 is 1200x1920 correct resolution? Feb 19 20:18:31 Yep Feb 19 20:18:41 The built-in display has a native res of 1920x1200 Feb 19 20:19:19 ..Unless it's swapping height and width Feb 19 20:20:06 (Photo, 502x155) https://irc.ubports.com/MPBCsK11.png Feb 19 20:20:14 It tried real hard Feb 19 20:20:19 It tried so hard Feb 19 20:22:47 @Lyokanthrope, do you manage to see what is it? Feb 19 20:22:57 It looks like the hwcomposer test pattern Feb 19 20:23:02 [Edit] It looks like the test_hwcomposer test pattern Feb 19 20:23:07 the little spiral in a diamond Feb 19 20:23:44 ...does it render 3600 frames in a second though...? Feb 19 20:24:24 (Document) https://irc.ubports.com/RhlKzcH0.mp4 Feb 19 20:24:34 @NotKit, that's a good question.. Feb 19 20:26:04 but you have at least one frame for sure Feb 19 20:26:13 wonder why libhybris version crashes then Feb 19 20:27:09 try to gdb/valgrind normal test_hwcomposer in rootfs to see if there is anything obvious Feb 19 20:35:16 I uh, am not 100% sure how to use gdb properly :x Feb 19 20:36:22 EGL_PLATFORM=hwcomposer gdb test_hwcomposer Feb 19 20:36:23 bt Feb 19 20:36:31 Thanks! Feb 19 20:37:01 actually first "run", bt is after it crashes Feb 19 20:37:06 Err, do I need the debug symbols for hybris for this to work properly? Feb 19 20:37:52 https://paste.ubuntu.com/p/VtcPNkhPB2/ Feb 19 20:38:19 https://github.com/libhybris/libhybris/commit/ba01d6e9b5bcc74449797512650df3868587500d - you would likely need this commit Feb 19 20:39:08 I sure am glad I don't know how what anything on that page means. Feb 19 20:39:45 Oh look a casual PR to add Android 8 support Feb 19 20:40:58 that's basically Sailfish changes Feb 19 20:43:59 https://paste.ubuntu.com/p/kj9j8skZvp/ Well here's what I get from valgrind anyway Feb 19 20:47:05 crash inside unhooked pthread function, nice... Feb 19 20:48:34 https://github.com/libhybris/libhybris/blob/master/hybris/common/hooks.c#L744 Feb 19 20:49:06 is that the driver crashing over and over? Feb 19 20:49:48 I'm alive dies I'm alive dies Feb 19 20:50:12 @UniversalSuperBox, *snap* *snap* Feb 19 20:50:42 @NotKit, Not gonna lie I'm not sure what to do with this information ^^; Feb 19 20:51:04 if what I see is right, for some reason hybris hooks only pthread_mutex_lock_timeout_np, but not "normal" pthread_mutex_lock_timeout Feb 19 20:51:41 What would cause that? Feb 19 20:52:37 likely that it wasn't a problem in case of non-Tegra drivers Feb 19 20:53:26 Ah, that'd make sense. Feb 19 20:54:48 So where would I go through here? Feb 19 20:56:17 crash addresses are different in gdb and valgrind, so I would probably first try to build libhybris with the commit linked before to confirm it indeeded crashes in unhooked function Feb 19 20:58:13 I uh don't think I've had to build libhybris from source before Feb 19 20:59:44 but if you do, build it with ```--enable-debug --enable-trace``` Feb 19 21:00:13 also wait, that commit already seems to he in halium's libhybris tree … https://github.com/Halium/libhybris/commit/ba01d6e9b5bcc74449797512650df3868587500d Feb 19 21:00:37 hm, nice Feb 19 21:01:57 it does not enable trace by default though, which could be useful for HYBRIS_TRACE_UNHOOKED=1 Feb 19 21:23:06 Are there any instructions for building/installing hybris for this purpose? I can sort of figure out building but I'm lost on installation, heh Feb 19 22:11:57 Its a new phenomenon, I cant turn off SELinux despite all kernel parameters set?? Feb 19 23:02:19 Hi, I managed to compile with CONFIG_MODULES=y and CONFIG_BCMDHD=y and CONFIG_BCM4359=y in the kernel config, but why is it compiling just some br_net....ko module and not the bcm4358.ko or bcmdhd.ko ? What about this... Feb 19 23:02:57 bcm4359.ko* Feb 19 23:20:04 OKAY @NotKit … I think I managed to rebuild it with trace/debug enabled Feb 19 23:21:09 ..Though I'm not sure if it really changed anything Feb 19 23:22:47 https://paste.ubuntu.com/p/sN4vmvv8k4/ … gdb output seems very similar to before Feb 19 23:29:54 https://paste.ubuntu.com/p/vtpHnsmrpQ/ … And valgrind...seems less informatative than it did before maybe? I'm confused. Feb 19 23:32:24 @Flohack, You added selinux=0 too? Feb 19 23:33:07 no but its off in kernel config Feb 19 23:34:14 But idk... do messages from the audit daemon actually really point to selinux? Also AUDIT=n has been set. And I checked kernel cmdline, nothing added by the bootloader Feb 19 23:34:21 Now time to sleep, I continue tomorrow Feb 19 23:53:47 I'm gonna try debian-pm instead Feb 19 23:53:53 who knows Feb 19 23:57:48 @Flohack, Also goes for apparmor Feb 19 23:59:08 meh, nope, I'm back to square one Feb 20 00:13:34 This is so frustrating aaa Feb 20 00:17:10 @Flohack, I had it off in kernel config as well and I still had to put selinux=0 in my kernel command in BoardConfig.mk Feb 20 00:18:05 @Lyokanthrope, My note 4 refused to boot PM at all, would just crash when reference worked fine, could try UT Feb 20 00:18:34 I mean, not even tests are working though Feb 20 00:19:08 I guess I could try building halium-boot real quick Feb 20 00:21:38 Tests segfaulting in reference rootfs? Feb 20 00:22:48 @Tygerpro, Reference, PM, and debian-pm Feb 20 00:22:56 @Tygerpro, [Edit] Reference, neon pm, and debian-pm Feb 20 00:23:06 Tried to build bcm4359 module from nexmon but gives me errors while compiling Feb 20 00:23:06 What device? Feb 20 00:23:20 Nvidia Shield Tablet K1, Tegra K1 chipset, 32-bit arm Feb 20 00:23:48 LOS 14.1 trees Feb 20 00:24:42 I see, I don't have any experience with the shields sadly, you checked kernel config with mer-kernel-checker (I think that's the script for halium) Feb 20 00:24:53 Yup Feb 20 00:25:11 Hmm, does the container start? Feb 20 00:25:25 Yeah, lxc@android is started and I can do stuff with it (used lxc-attach earlier, logcat works) Feb 20 00:26:20 Hmm, I think your issue might be above my skill level, especially since I have no experience with a shield Feb 20 00:26:31 Yeah... I think this is just hybris not playing nice with Tegra Feb 20 00:26:41 That is possible Feb 20 00:27:19 I wonder if the Nvidia chipset in that shield is causing your issues? Feb 20 00:27:36 Quite possibly Feb 20 00:27:59 The only tegra device I have just doesn't want to compile halium Feb 20 00:28:02 At this point I wonder if my ph-1 might be an easier target Feb 20 00:28:18 What's the specs on the ph-1 Feb 20 00:29:50 SD835, 3GB of RAM, 1440p notched display, usb-c 3.1, etc. pretty standard. It supports DP altmode which is one of the major reasons I'd love to see it as a halium target Feb 20 00:30:36 Well the notch display might be an issue, but you could always try Feb 20 00:30:47 But I'd still much rather see the shield running UT first, heh Feb 20 00:31:02 since it has mini HDMI out natively and it'd honestly make a pretty baller UT tablet I think Feb 20 00:31:13 Lol yeah, I'd love to see my tegra device running halium as well Feb 20 00:31:32 *grumps* Feb 20 00:31:59 Maybe someone more knowledgeable than I can help ya get it working Feb 20 00:32:53 Yeah. NotKit was giving assistance earlier but I think it might be late for his timezone and all and I kinda feel bad with my knowledge gaps in all this, heh Feb 20 00:33:42 Well we start somewhere,bI knew piddly squat about porting when I joined Feb 20 00:34:05 Difference is he started before me Feb 20 00:34:07 :P Feb 20 00:34:16 Who did? Feb 20 00:34:26 I've attempted porting so many devices and I've never gotten very far in any :c Feb 20 00:34:31 I always choose the weird esoteric devices it seems Feb 20 00:35:22 I chose a note 4, that was no picnic to port, I also have a Amazon Kindle fire I'm eventually gonna try to port as well Feb 20 00:35:28 The wifi in mine simply won't work anyhow Feb 20 00:35:55 @el_jsl, Whats nmtui say? Feb 20 00:36:18 I even can load modules with insmod now but it won't compile the moduke to loa Feb 20 00:36:20 Load Feb 20 00:36:48 @Tygerpro, Not disponible, won't appear wlan0 or wifi as a option Feb 20 00:39:06 Just appear like p2p[something] that I think is for using the ssh Feb 20 00:39:21 Like local ethernet or something Feb 20 00:39:47 What device? Feb 20 00:47:27 My dev is s7 herolte Feb 20 00:47:51 The wifi module is problably the BCM4359 **** ENDING LOGGING AT Wed Feb 20 02:59:57 2019