**** BEGIN LOGGING AT Thu Oct 04 03:00:03 2018 Oct 04 06:16:43 @abhishek_0, I have them but I also want to know how can I obtain them on a newer phone Oct 04 16:23:37 Igor was added by: Igor Oct 04 18:03:04 Joshua was added by: Joshua Oct 04 18:43:15 Is any possibility to run UT on snapdragon 600 series? I also looking for some software stack scheme for this project. How this project merges with existent Android code (boot and system images). Thanks Oct 04 18:46:35 By 600 you mean 8064T or 6xx cpus? Oct 04 18:47:08 If the latter, then for sure... Fr3dl has got it running on xperia x (sd650) Oct 04 18:48:06 msm8953 Oct 04 18:50:40 There's a xiaomi mido port Oct 04 18:50:46 It's using same cpu Oct 04 18:51:19 have it also Moto Z Play (but need to tidy up and publish repos) Oct 04 18:51:22 [Edit] have it also for Moto Z Play (but need to tidy up and publish repos) Oct 04 18:52:14 Great, I have to dig this ports at first Oct 04 20:29:56 jcekstrom was added by: jcekstrom Oct 04 20:41:44 So, anyone around who can help me diagnose a KP on a Tegra device? Oct 04 20:52:04 Device is an nvidia shield tablet K1 (yep, trying this again) … Device trees are verbatim from lineage atm, haven't forked yet … https://github.com/LineageOS/android_device_nvidia_shieldtablet/tree/cm-14.1 … It reboots consistently after boot, telnet does come up though and I can poke around for 20 seconds before it KPs (it doe Oct 04 20:52:04 sn't mount data for some reason but I can figure that out later) … console-ramoops: … https://paste.ubuntu.com/p/BDzjkRvbzm/ … I've tried disabling watchdogs in the kernel cmdline but it hasn't done much for me Oct 04 21:04:28 @Lyokanthrope try to boot Android with the kernel you built Oct 04 21:04:39 (maybe reenable SELinux back for it though) Oct 04 21:09:25 as in, build an android kernel with the same defconfig or...? Oct 04 21:12:02 @Lyokanthrope, You must have disabled the CONFIG_AUDIT ? Oct 04 21:12:15 Try with enabling it Oct 04 21:12:42 CONFIG_AUDIT=y Oct 04 21:12:50 [Edit] CONFIG_AUDIT is already y Oct 04 21:15:40 https://paste.ubuntu.com/p/s3SrY3MxmV/ Here's my current defconfig Oct 04 22:06:50 Okay, so outright using the lineage kernel built from source works, but it fails to boot with my defconfig (with selinux enabled), just reboots into recovery immediately :V Oct 04 22:07:00 Well Oct 04 22:07:06 switches one-by-one Oct 04 22:08:24 Yep.. Oct 04 22:10:28 @abhishek_0, Hey sorry I didn't see you are using halium-boot, in that case 'selinux' is what notkit meant Oct 04 22:10:56 @abhishek_0, [Edit] Hey sorry I didn't see you are using halium-boot, in that case "selinux" is what notkit meant Oct 04 22:11:10 Else the correct is "apparmor", which UT uses Oct 04 22:17:02 I'm gonna go back to hybris-boot, I was just trying halium-boot to see if somehow it'd magically work :V … I'm gonna use mer check config and enable the non-optional switches one-by-one and see if Android still boots with that kernel until I figure out what's breaking it Oct 04 22:22:30 ...so far so good Oct 04 22:22:52 @Lyokanthrope, There's debug flags if you want Oct 04 22:22:58 For halium-boot Oct 04 22:26:35 uhh nope still kp's after 30 seconds even with super minimal defconfig changes that work fine when booting android Oct 04 22:26:49 [Edit] uhh nope still kp's after 30 seconds under hybris-boot even with super minimal defconfig changes that work fine when booting android Oct 04 22:28:18 https://paste.ubuntu.com/p/6vHb378HtJ/ Oct 04 22:28:30 The fact that it's exactly 30 seconds everytime bugs me Oct 04 22:30:35 Something android does/is doing is sating something that makes the kernel happy that hybris isn't Oct 04 22:35:55 Sigh Oct 04 22:46:21 I suppose Android has to run some service that tells kernel/bootloader that it boots fine with 30 seconds Oct 04 22:46:33 [Edit] I suppose Android has to run some service that tells kernel/bootloader that it boots fine within 30 seconds Oct 04 22:46:43 The only thing I can think of is an init script that isn't getting called Oct 04 22:46:53 which one? Oct 04 22:47:12 Well, I'm not sure if it is getting called or not Oct 04 22:47:27 Halium probably is not fast enough to start LXC container within 30 seconds Oct 04 22:47:29 [Edit] The only thing I can think of is an init script that might not be getting called Oct 04 22:47:34 https://github.com/LineageOS/android_device_nvidia_shieldtablet/tree/lineage-15.1/initfiles Oct 04 22:48:32 https://github.com/LineageOS/android_device_nvidia_shieldtablet/blob/lineage-15.1/initfiles/init.tn8.rc Oct 04 22:48:38 Try to poke some of these? Oct 04 22:50:09 https://github.com/LineageOS/android_device_nvidia_shield-common/tree/cm-14.1/initfiles ton more in common too Oct 04 22:50:25 # Thie yields each tegra wdt expiration to be at 30 secs and fourth expiration for reboot at 120 secs. … service watchdogd /sbin/watchdogd 10 110 … class core … seclabel u:r:watchdogd:s0 Oct 04 22:50:25 actually check if recovery is anything special Oct 04 22:50:26 oh Oct 04 22:50:27 oh Oct 04 22:50:50 this might be what I'm looking for actually Oct 04 22:52:27 https://github.com/LineageOS/android_device_nvidia_shield-common/blob/cm-14.1/initfiles/init.t124.rc Oct 04 22:52:44 Yahoo Oct 04 22:53:02 ...now how do I poke it before lxc starts Oct 04 22:53:51 Any unit file Oct 04 22:58:35 try "echo V > /dev/watchdog" Oct 04 22:58:51 [Edit] try "echo V > /dev/watchdog" from telnet you have to see if it prevents reboot Oct 04 23:25:41 @NotKit, That seemed to work! Oct 04 23:30:42 But I have to keep running it every 20 seconds or so Oct 04 23:30:48 which I mean, makes sense Oct 04 23:37:54 [ 184.418502] watchdog watchdog0: nowayout prevents watchdog being stopped! … [ 184.418512] watchdog watchdog0: watchdog did not stop! Oct 04 23:37:57 Ah, that makes sense Oct 04 23:38:22 Is that a kernel cmdline option? Oct 04 23:38:36 defconfig Oct 04 23:38:36 CONFIG_WATCHDOG_NOWAYOUT=n Oct 04 23:38:41 oh lol Oct 04 23:38:41 [Edit] CONFIG_WATCHDOG_NOWAYOUT=y Oct 04 23:38:42 Gonna unset it Oct 04 23:38:44 and rebuild Oct 04 23:38:48 so I can at least work Oct 04 23:50:57 Yaaay that worked Oct 04 23:51:08 Still gotta disable the watchdog on boot but this is good Oct 05 00:07:02 Aaand suddenly telnet nor ssh are coming up Oct 05 00:08:45 But it's also not rebooting...Hm. Oct 05 00:27:50 eyyy LXC starts now Oct 05 00:54:35 well, none of the graphics tests work Oct 05 00:56:26 no obvious errors in logcat Oct 05 01:00:01 is `/vendor` mounted Oct 05 01:11:18 Yep, and it's populated Oct 05 01:12:11 neat Oct 05 01:12:19 What are the tests doing? Oct 05 01:20:39 https://paste.ubuntu.com/p/6w8XNQJGMB/ Oct 05 01:22:37 well, test_sensors works at least? :V Oct 05 01:37:11 https://paste.ubuntu.com/p/cFBxzkj5sD/ here's an strace Oct 05 01:44:46 [Edit] https://paste.ubuntu.com/p/cFBxzkj5sD/ here's an strace after updating hybris, I was gonna send another paste and then my PC hard-froze for..some reason... Oct 05 01:52:00 https://paste.ubuntu.com/p/bspPGSSqJP/ here's another run + logcat after updating hybris, still nothing on screen of course. Hmm. Oct 05 01:55:49 I blame nvidia Oct 05 01:56:06 Always a good choice Oct 05 01:56:12 Sorry I'm not much help, flying around right now Oct 05 01:56:43 it's all good Oct 05 01:56:57 just screaming out into the void in hopes of something hitting me Oct 05 02:50:26 moved on to trying out halium-boot...For some reason it has severe issues autodetecting data, but if I feed it the data partition manually in the cmd line it works so that's nice at least. the backlight dims but no spinner sadly :V Oct 05 02:54:06 I'm apparently missing /android/firmware and /android/persist, not sure what's up with that Oct 05 02:54:18 [ 12.768024] EXT4-fs (mmcblk0p18): Unrecognized mount option "context=u:object_r:factory_file:s0" or missing value … maybe this, though that doesn't exist in my fstab so that's a mystery Oct 05 02:56:47 [Edit] [ 12.768024] EXT4-fs (mmcblk0p18): Unrecognized mount option "context=u:object_r:factory_file:s0" or missing value … maybe this, though that doesn't exist in my fstab so that's a mystery Oct 05 02:57:46 https://paste.ubuntu.com/p/zzPHt7kPnh/ dmesg **** ENDING LOGGING AT Fri Oct 05 03:00:01 2018