**** BEGIN LOGGING AT Sun Sep 16 03:00:00 2018 Sep 16 07:17:36 MWGuy was added by: MWGuy Sep 16 09:46:50 kaibsora was added by: kaibsora Sep 16 09:52:34 Alright. I successfully built a halium-boot.img and system.img, moved them over to my sm-t850, and flashed the boot img in twrp. Rebooted to recovery and continued the roots install provided by ubports. The device boots to a backlit screen with a telnet session(early initrd) I can't get any logs from boot(they don't exist) and whe Sep 16 09:52:34 n I try to do a kernel panic the device reboots, with no logs generated in pstore(dir doesn't exist anywhere) Sep 16 10:06:48 Tygerpro Tygerpro are you sure you are using the right kernel source? Sep 16 10:14:11 [Edit] Tygerpro Tygerpro are you sure you are using the right kernel source? I would look at forks of the source that you are using to make sure there haven't been any changes that have been made to fix some kind of build issue Sep 16 11:10:51 Mark was added by: Mark Sep 16 13:46:02 @kaibsora, well my device isnt officially supported by LOS as far as I know, but I can look into that but I only know of 2 LOS ports for my device Sep 16 18:52:35 Vijaypraj was added by: Vijaypraj Sep 16 18:52:40 hello Sep 16 18:53:13 what is the path of target kernel config Sep 16 18:53:16 ? Sep 16 19:04:02 @Vijaypraj, kernel/[vendor]/[soc]/arch/[arch]/defconfigs Sep 16 19:04:26 ok Sep 16 20:11:20 @Tygerpro Tygerpro, Sorry. K sleep during days as k work nights Sep 16 20:11:57 @Tygerpro Tygerpro, [Edit] Sorry. I sleep during days as k work nights. Give me a little bit and I'll look at your issue again fully Sep 16 20:12:16 Also, I still need help debugging my device Sep 16 21:16:29 @kaibsora, no worries, whats the issue with yours? I might be able to help Sep 16 21:17:44 It won't let me pull any logs. When I try to force prostate Sep 16 21:17:50 Logs that is Sep 16 21:18:30 ok, you using ubports-boot, halium-boot, or hybris-boot? Sep 16 21:27:16 There is a ubports boot? Sep 16 21:27:30 Yes, don't use it Sep 16 21:27:30 I was using halium-boot Sep 16 21:27:33 Good :) Sep 16 21:28:07 *omw to work. Will reply while I'm there Sep 16 21:28:11 In that case, telnet should come up if you add `debug=bottom` to the kernel cmdline Sep 16 21:28:25 Telnet is up tho Sep 16 21:28:32 But I can't force logs Sep 16 21:28:44 @kaibsora, See this lol Sep 16 21:28:45 The only log you'd be able to get is `dmesg` Sep 16 21:28:49 Ah Sep 16 21:29:02 Because the system hasn't booted yet Sep 16 21:29:02 Alright. Let me try that when I get to work Sep 16 21:29:04 Right. Sep 16 21:29:13 It should have lines telling you what went wrong Sep 16 21:29:21 Search for `PANIC:` in the log Sep 16 21:38:31 I havent had any success getting a compile from enabling CONFIG_MEMCG=y, i posted log above Sep 16 21:39:17 Ivan was helping me but I havent heard from him since he started school Sep 16 21:50:10 @Tygerpro Tygerpro, oh no Sep 16 21:50:12 wait Sep 16 22:43:46 @UniversalSuperBox paste.ubuntu.com/p/VzQqXBMQSp/ Sep 16 22:44:21 `run-init: opening console: No such device` Sep 16 22:44:36 Line? Sep 16 22:45:37 You can do `ls /dev` to find available consoles in this initramfs. You'll need to change the `console=` cmdline parameter to match one of these or remove it altogether Sep 16 22:46:00 My defconfig doesn't have that though Sep 16 22:46:05 :/ Sep 16 22:46:13 `cat /proc/cmdline` Sep 16 22:54:31 Hmmmm first thing is console=ram Sep 16 22:57:45 Where would I make that change in my tree? Sep 16 23:32:01 ¯\_(ツ)_/¯ Sep 16 23:32:08 `grep -r` is always my friend in times like these Sep 16 23:34:13 do that on the device or from my tree? XD Sep 16 23:36:20 In the tree Sep 16 23:41:40 hmm. ok so the command is "grep -r console=" Sep 16 23:41:59 I'm not sure it'll like the equals sign too much Sep 16 23:42:31 and just to confirm. In the device tree of my source right?? Sep 16 23:44:03 Yes Sep 16 23:44:17 its not found at all Sep 16 23:44:19 lel Sep 16 23:44:40 kai@ubuntu:~/Desktop/halium/device/samsung/gtaxlwifi$ grep -r console … ramdisk/init.samsungexynos7870.rc:# on userdebug and eng builds, enable kgdb on the serial console Sep 16 23:45:29 In that case, try appending `console=null` to `BOARD_KERNEL_CMDLINE` (I think). Maybe that'll override the damn bootloader Sep 16 23:45:50 in my defconfig, yes? Sep 16 23:46:03 No, that'd probably be in BoardConfig.mk Sep 16 23:46:03 [Edit] No, that'd probably be in `BoardConfig.mk` Sep 16 23:51:42 soooo boardconfig.mk doesn't have that line. i should be ok just to add it somewhere right? Sep 17 00:52:18 @kaibsora, yes, I tend to add it to the begining of the Kernel_CMdline Sep 17 00:52:39 i have a samsung device myself, I can double check if youd like Sep 17 01:03:22 That would be awesome Tygerpro Tygerpro Sep 17 01:18:25 bear in mind that my device tree is slightly different, but in my device tree this is my kernel_cmd_line in BoardConfigCommon.mk … "BOARD_KERNEL_CMDLINE := console=null androidboot.hardware=qcom user_debug=23 msm_rtb.filter=0x3b7 dwc3_msm.cpu_to_affin=1 zcache.enabled=1 zcache.compressor=lz4" Sep 17 01:19:02 you have to modify the console= for your device naturally Sep 17 01:19:32 so my dmesg is looking for console=ram, thats what i would put right? in my boardconfig.mk? Sep 17 01:20:14 my device has a trltespr folder as well as a trlte-common folder, this file is in my common folder, and if thats what you were told then yea Sep 17 01:22:47 my layout for the boardconfig.mk: Sep 17 01:23:26 [Edit] my layout for the boardconfig.mk: … /device/samsung/gtaxlwifi/boardconfig.mk Sep 17 01:24:46 then yea, in that file is where yull find that line i pasted Sep 17 01:25:01 which i didnt have that line so i just added it Sep 17 01:25:23 with only the console=null Sep 17 01:25:26 ram* Sep 17 01:25:57 hmm, ok, without getting the full device repo I cant be fully helpful\ Sep 17 01:26:44 but that is worth a shot, worse case youll get an error that might be helpful Sep 17 01:27:45 im waiting for my device to boot into halium reference rootfs atm, wish it didnt take 15 to 20 minutes to boot Sep 17 01:29:25 mine takes seconds.... Sep 17 01:29:40 prolly because the actual switch from boot to system fails Sep 17 01:30:04 yea, if you get as far as telnet, it boots very quickly Sep 17 01:31:06 hybris-boot for me takes 15 to 20 minutes, i got halium-boot to boot up in seconds as well, but I couldnt get the container to work so I gotta get hybris-boot to work Sep 17 01:32:08 and just to make my life more difficult, my system is spamming errors for ATA10 when there is nothing what so ever connected to it Sep 17 01:37:33 XD Sep 17 01:37:38 gotta love linux Sep 17 01:38:18 yea, its a pain and a blessing at times, ill take it over the "Driver updated, reboot now" then wait 45 minutes for updates Sep 17 01:38:50 my laptop runs windows but thats cause i use my laptop for other projects that require windows Sep 17 01:39:13 vmware doesnt play nice on linux :( Sep 17 01:39:23 so i have to use windows for my shared vm Sep 17 01:39:43 fun fun, i have my windows laptop connected to my linux box via vnc Sep 17 01:39:53 and ssh when needed Sep 17 01:40:21 never start a build while sshd tho Sep 17 01:41:04 lol, thats how ive been doing it, but i also use screen with bash so i can just do a screen -r if the connection drops or i log out Sep 17 01:41:23 ive also started it a couple times through vnc as well Sep 17 01:43:10 ive also used screen to play on a MUD a few times Sep 17 01:46:33 hmm, should popup in my dmesg any second now ... Sep 17 02:37:15 ok so i tried to run "test_egl" and the device crashed, the terminal said "libgui.so failed to load and RTLD_NOLOAD prevented it", ill have the devices dmesg in a sec gotta paste it into pastebin Sep 17 02:37:55 https://paste.ubuntu.com/p/GwRdfPXQmG/ Sep 17 02:38:13 anyone know how to resolve? Sep 17 02:38:48 @Tygerpro Tygerpro, That's a red herring... It might make more sense to get an actual rootfs booted up and running if hwcomposer works Sep 17 02:39:07 this was with the reference rootfs Sep 17 02:39:15 Right Sep 17 02:39:32 im open to suggestion on a working rootfs Sep 17 02:39:47 UBports edge is pretty successful Sep 17 02:40:02 Haven't heard any Plasma Mobile stories lately... Sep 17 02:40:17 does ubports edge work with hybris-boot? Sep 17 02:40:29 and CAF devices Sep 17 02:41:08 Yes Sep 17 02:41:30 I think the FAQ is pinned in @ubports_porting Sep 17 02:41:34 hmm ok, ill try ubports edge Sep 17 02:42:35 the porting FAQ is in fact pinned, ill try that, when i flash it with JBBs i use ut right? Sep 17 02:42:46 Yes, -v I think it is now Sep 17 02:42:50 For the switxh Sep 17 02:43:22 on JBBs script? i think i might need to update it then Sep 17 02:44:13 Probably Sep 17 02:48:56 think it might be worth re-flashing my rootfs and system image with the updated script? Sep 17 02:49:21 Maybe? Sep 17 02:50:17 do you know if there is a way to make hybris-boot not take 30 minutes to re-connect Sep 17 02:51:07 ? Sep 17 02:52:23 my device takes 20 to 30 minutes to re-connect after i issue adb reboot Sep 17 02:52:54 That's weird Sep 17 02:53:06 Is there a huge gap in dmesg? Sep 17 02:53:50 not sure, everytime i try and pull it it spams the battery level message and it doesnt pull starting at the begining from what i can tell Sep 17 02:55:05 i posted the last dmesg i got from my device if you wanna check Sep 17 02:55:43 Yeah, you're outta RAM space for dnesg Sep 17 02:56:05 i figured that would happen with it spamming like that Sep 17 02:57:44 but do you think there is anything i can do about the excessive boot time? Sep 17 02:58:11 I'm sure there is, but I don't know what it is Sep 17 02:58:25 Why are those Samsung devices so terrible. World may never know Sep 17 02:58:33 ok, where should i start then? Sep 17 02:59:05 i like my note 4, hate android on it though Sep 17 02:59:21 You could try to cause a kernel panic after, say, 30 seconds. See if it reboots **** ENDING LOGGING AT Mon Sep 17 02:59:59 2018