**** BEGIN LOGGING AT Sat Jun 09 03:00:07 2018 Jun 09 03:31:20 krushndayshmookh was added by: krushndayshmookh Jun 09 08:03:03 (Photo, 957x1280) https://irc.ubports.com/ATdCbl0g.png Jun 09 08:45:32 Fwd from JBBgameich: Enable CONFIG_DEVPTS_MULTIPLE_INSTANCES in your defconfig Jun 09 10:08:14 (Photo, 1064x777) https://irc.ubports.com/ulnZaqkP.png so, this should be fine? or shoud I fix all yellows too? Jun 09 10:10:05 @minlexx, ideally you need to fix everything except for user namespaces Jun 09 10:10:23 mer kernel checker will assist you Jun 09 10:10:48 Not really, if all the namespaces are fine the container should start Jun 09 10:14:06 Does anyone happen to know what `S-ON` means and whether it's stopping me from booting TWRP? (asking in the case of HTC 10, not sure if it's specific to HTC 10 though) Jun 09 10:15:27 @reivilibre, no, it won't prevent you from booting TWRP Jun 09 10:15:30 read the docs plz Jun 09 10:15:48 I have read the docs but didn't see anything releavent :-( Jun 09 10:15:52 i feel offended Jun 09 10:15:57 because i wrote them Jun 09 10:15:58 I get `FAILED (remote: unlock device to use this command)` from fastboot when booting Jun 09 10:16:11 https://docs.halium.org/en/latest/supplementary/devices/pme.html#guides Jun 09 10:16:34 @reivilibre, well you have to unlock your bootloader first :P Jun 09 10:16:43 it says `*** UNLOCKED ***` Jun 09 10:16:58 oh, read the docs again Jun 09 10:16:59 and then `*** S-ON *** PRODUCTION`, hence the question Jun 09 10:17:14 @vanyasem, ``` … This device has 2 modes for fastboot: bootloader (white backgrond) and download (dark background). You have to use download mode in order to flash/wipe anything.``` Jun 09 10:17:25 i am 98% sure that you're in bootloader mode right now Jun 09 10:17:37 Ah, sorry ! Yes, I am Jun 09 10:17:41 please read the docs before doing stuff? Jun 09 10:19:44 You see, the dark background one didn't work, it just hangs on the `booting...` stage and the device shows `Flash images success (1/1)` `Start downloading` Jun 09 10:22:31 I applied the /proc/ something fix just out of curiosity and device now boots to rootfs, is known as GNU/Linux Device in dmesg and Sony Mobile Communications AB in lsusb Jun 09 10:22:35 can't ssh though Jun 09 10:22:51 [Edit] I applied the /proc/ something fix just out of curiosity and device now boots to rootfs, is known as GNU/Linux Device in dmesg and Sony Ericsson Mobile Communications AB in lsusb Jun 09 10:23:12 okay, now for the ssh issue. what rootfs do you use and what commands do you run to get an ssh connection? Jun 09 10:23:46 I'm using halium rootfs 20170630 Jun 09 10:24:01 Using both JBB's script and `ssh root@10.15.19.82` Jun 09 10:24:30 nevermind, I'm in Jun 09 10:24:39 had to wait simply Jun 09 10:24:49 here we go again lol Jun 09 10:24:54 patience my son ;) Jun 09 10:24:57 sorry for that one:) Jun 09 10:25:31 @vanyasem, I assume you didn't have this issue of it hanging when `fastboot boot twrp-3.2.1-4-pme.img` ? Jun 09 10:25:40 @reivilibre, boot doesn't work Jun 09 10:25:45 i guess i also documented that Jun 09 10:26:07 no, i haven't weird. i guess i should then Jun 09 10:26:12 flash it like a real man Jun 09 10:26:17 Ahhh, OK, so I have to overwrite the stock recovery :P Jun 09 10:27:01 https://pastebin.com/1suFsNhW Jun 09 10:27:05 missing things Jun 09 10:27:21 no rootfs folder in /var/lib/lxc/android Jun 09 10:27:29 is lxc running? Jun 09 10:27:51 output of `lxc-checkconfig`, `systemctl status lxc@android` Jun 09 10:27:52 according to systemctl, yes Jun 09 10:28:20 https://pastebin.com/JUbfxCWF Jun 09 10:28:26 [Edit] according to systemctl, yes (afaik) Jun 09 10:29:15 @VeryOriginalUsername, oh okay, it's fine Jun 09 10:29:18 enabling namespaces won't let me compile, since it's a 3.4 kernel Jun 09 10:29:27 you don't really need user namespaces Jun 09 10:29:34 but you can patch the kernel if you want Jun 09 10:29:52 can I just borrow udev rules from another device or do I have to solve that one Jun 09 10:30:18 well you do have to solve it. but sometimes udev rules from other devices work, you can experiment with that Jun 09 10:30:48 marius used some udev rules from some device on the htc 10 before my pr with proper udev rules got merged Jun 09 10:31:47 should I reboot the device and expect /var/lib/lxc/android/rootfs to be there Jun 09 10:33:56 wait im retarded Jun 09 10:34:07 I masked and disabled lxc before Jun 09 10:35:40 the question is, do I reboot it manually (take battery out) or rebooting via ssh is fine Jun 09 10:36:08 rebooting via ssh may not work (wait for a few minutes) Jun 09 10:36:12 force rebooting via holding the power button is ok Jun 09 10:36:17 `systemctl reboot -f` Jun 09 10:36:21 Works fine here Jun 09 10:36:36 @JBBgameich, i have some devices that just hang after that command Jun 09 10:36:41 it doesn't work in all cases Jun 09 10:36:44 @JBBgameich, meh, after that it doesn't boot at all now, here's output of /proc/last_kmsg (booted into TWRP recovery) … https://hastebin.com/goguwuyaje.md Jun 09 10:37:10 I think I maight have changed something else.. Jun 09 10:37:30 rupansh was added by: rupansh Jun 09 10:38:27 @rupansh, telnet into your device and check `diagnosis.log` Jun 09 10:38:41 Fwd from rupansh: Finally RNDIS appeared! Though i am getting “i hit a nail” in dmesg. What should I do now? Jun 09 10:39:13 @vanyasem, I tried but it says can’t open diagnosis.log no such file Jun 09 10:39:35 @rupansh, then give me a link to your device's fstab Jun 09 10:39:45 and check data path in `init` script Jun 09 10:39:54 One sec Jun 09 10:40:12 You mean the mmcblk one? Jun 09 10:40:25 Wait ... "I hit a nail" is probably ubports or halium-boot. Does it have a diagnosis.log? Jun 09 10:40:40 @JBBgameich, Ubports Jun 09 10:40:44 @JBBgameich, oh, i've just realized that i have never worked with it before lol Jun 09 10:41:01 For halium boot (probably ubports-boot as well) you can use `dmesg | grep initrd` Jun 09 10:41:02 @rupansh, does regular halium rootfs/plasma mobile boot for you? Jun 09 10:41:37 Also, I don't think ubports-boot should be used anymore. Halium-boot replaces it Jun 09 10:41:45 @JBBgameich, correct Jun 09 10:42:46 @vanyasem, I tried before and i was getting black screen. I thought its not GUI and didn’t know about telegram group so i moved on Jun 09 10:43:23 Should i try it again? Jun 09 10:43:53 well sorry i'm busy now, there's quite a lot to do in your case Jun 09 10:43:58 ping me @vanyasem some time later Jun 09 10:44:57 @vanyasem, All righty! Thanks for the help. I never get so much help in android building community appreciate it :’) Jun 09 10:48:48 @minlexx, Sorry, I currently have no idea what's wrong. Can you just check if the rootfs.img is still there and mountable? (because there was no sign of the init system, maybe it couldn't mount the rootfs at all) Jun 09 10:58:40 `root@localhost:/# EGL_PLATFORM=hwcomposer test_hwcomposer … cannot locate symbol "_ZN6SkDraw15ComputeRe" referenced by "/system/lib/libskia.so"... … test_hwcomposer: test_hwcomposer.cpp:179: int main(int, char**): Assertion `err == 0' failed. … Aborted` Jun 09 10:58:49 [Edit] root@localhost:/# EGL_PLATFORM=hwcomposer test_hwcomposer … cannot locate symbol "_ZN6SkDraw15ComputeRe" referenced by "/system/lib/libskia.so"... … test_hwcomposer: test_hwcomposer.cpp:179: int main(int, char**): Assertion `err == 0' failed. … Aborted Jun 09 10:58:50 @JBBgameich, Doing that gives me initrd:device is unkown Jun 09 10:59:39 Could that be the cause? Jun 09 11:01:36 That sounds like the system.img can't be mounted or isn't there Jun 09 11:02:36 @JBBgameich, Yeah i checked full dmesg log the cause is probably “unsupported optional feature” let me send the full llog Jun 09 11:03:08 Is the unsupported optional feature bug from ext3 or ext2? Jun 09 11:03:40 Both Jun 09 11:04:00 1 error from ext3 and another from ext2 Jun 09 11:04:50 That's normal. It tries all ext versions until it finally works with ext4 then Jun 09 11:04:56 Oh Jun 09 11:05:22 Let me send the full log maybe you will see something :p Jun 09 11:05:40 Hastebin.com/sinemerupe.vbs Jun 09 11:13:04 https://pastebin.com/FEctLAmw Jun 09 11:13:24 besides kernel doesn't liking charger it look like no firmware is properly loaded Jun 09 11:13:39 [Edit] besides kernel doesn't liking charger it looks like no firmware is properly loaded Jun 09 11:14:51 Does your device have a firmware partition maybe? Jun 09 11:15:39 (Document) https://irc.ubports.com/UiMsiVkb.txt Jun 09 11:15:47 as far as I know it's in /system/vendor Jun 09 11:15:53 which is mounted as /vendor in this very rootfs Jun 09 11:16:03 and contains all the firmwares and libs Jun 09 11:16:48 [Edit] and contains all (I HOPE SO) the firmwares and libs Jun 09 11:24:08 some of it is in /system/vendor/firmware and some in /system/etc/firmware Jun 09 11:24:26 I assume all of that should be in vendor? Jun 09 11:25:34 No, I don't think that's the problem... Jun 09 11:42:11 config_fw_loader is enabled Jun 09 11:42:22 no idea why docs say `CONFIG_FW_***LOADER` though Jun 09 11:53:25 sooo I used hwcomposer test with strace and it expects every lib to be in /vendor/lib whilst they are in /system/lib Jun 09 11:54:21 Are you sure it doesn't just search in different pathes? Since it tries to open it in different locations usually there are many "file not found" errors Jun 09 11:54:42 let me copy that to a file and check again Jun 09 11:55:43 Did you already check if your device uses caf firmware? In that case you need to install the caf libhyris packages in the reference rootfs then or just use a prebuilt plasma mobile caf rootfs. Jun 09 11:56:18 it checks in both directories, you were correct Jun 09 11:57:20 how do I check if it uses caf? 😅 Jun 09 12:00:20 "TARGET_RIL_VARIANT := caf" somewhere in device tree, assuming it is caf-based Jun 09 12:00:55 In my experience just trying if the caf rootfs works is the easiest way to find it out :) Jun 09 12:01:20 keep in mind my device's data partition is only 2gig Jun 09 12:02:52 alright, should I use plasma mobile rootfs or is there something slimmer Jun 09 12:25:50 @JBBgameich, something during boot deletes all content from rootfs (only lost+found dir left) Jun 09 12:27:24 😱 after halium-install I manually mount rootfs.img, all files are in place; then I reboot phone into system, get into reboot loop, reboot again into TWRP recovery, check rootfs.img contents - empty... Jun 09 12:33:10 @minlexx, Did you try to start the container manually? (Please don't do that) Jun 09 12:34:11 Oh I just read your last message... Seems to be something else. You could try to chroot and disable the container startup for debugging just in case. Jun 09 12:35:27 @minlexx, check your fixup-mountpoints Jun 09 12:35:42 or better send them here Jun 09 13:35:01 waited over 2h just to see error: no space left on the device Jun 09 13:35:06 (Sticker, 512x512) https://irc.ubports.com/szBrkIrN.webp Jun 09 13:49:59 Someone here who has ported halium to his own device, and have time and energy to port for some other devices too? 4 example for kagura (Xperia XZ)... … Im just asking, and nswers like port it itself. I understand but... Emh... I cant do that. 🤥 Jun 09 13:50:17 [Edit] Someone here who has ported halium to his own device, and have time and energy to port for some other devices too? 4 example for kagura (Xperia XZ)... … Im just asking, and answers like port it itself. I understand but... Emh... I cant do that. 🤥 Jun 09 13:50:27 [Edit] Someone here who has ported halium to his own device, and have time and energy to port for some other devices too? 4 example for kagura (Xperia XZ)... … Im just asking, and answers like port it yourself. I understand but... Emh... I cant do that. 🤥 Jun 09 13:52:20 [Edit] Someone here who has ported halium to his own device, and have time and energy to port for some other devices too? 4 example for kagura (Xperia XZ)... … Im just asking, and answers like "Port it yourself"... I understand but... Emh... I cant do that. 🤥 Jun 09 14:36:55 is there an other way of giving my phone internet? wifi doesn't wanna cooperate Jun 09 15:12:12 @rupansh, This is my phone’s dmesg log @vanyasem Jun 09 15:12:34 @rupansh, okay so in a nutshell Jun 09 15:12:38 is your device caf? Jun 09 15:12:45 Yess Jun 09 15:12:50 okay, then forget about ubports for now Jun 09 15:12:55 caf support is broken Jun 09 15:13:02 now focus on plasma mobile Jun 09 15:13:14 Allright Jun 09 15:13:17 (Sticker, 512x461) https://irc.ubports.com/LklMHWFI.webp Jun 09 15:13:20 install plasma mobile (hybris-boot) and report any issues Jun 09 15:13:52 but the fact that caf is broken is not related to the fact that you're getting initrd debug though Jun 09 15:14:26 probably you're using a wrong script to install or haven't used the ubuntu's config checker on your kernel Jun 09 15:15:41 Used ubuntu’s config checker but i did use @JBBgameich ‘s halium installer with ut option Jun 09 15:16:18 @rupansh, have you applied the context= fix to your fstab? Jun 09 15:16:22 @rupansh, [Edit] have you applied the `context=` fix to your fstab? Jun 09 15:16:52 is it even a thing nowadays? Jun 09 15:17:04 i haven't worked with UT for a long time, i focus on plasma Jun 09 15:17:13 I see Jun 09 15:17:17 (Photo, 1216x882) https://irc.ubports.com/5wPMB5nu.png I got it booting again with fixed kernel config... namespaces show green, but cgroups namespace red again >_< Jun 09 15:17:25 Since caf support is broken i will switch to plasma i guess Jun 09 15:17:46 @vanyasem, https://docs.ubports.com/en/latest/porting/building-ubports-boot.html#fix-mounts Jun 09 15:17:49 this one Jun 09 15:17:59 @rupansh, \о/ Jun 09 15:18:11 @vanyasem, dispatching @UniversalSuperBox . is this thing still necessary? Jun 09 15:18:19 Yes, with halium-boot Jun 09 15:18:22 and ubports-boot Jun 09 15:18:26 @vanyasem, Yes i did it Jun 09 15:18:31 okay Jun 09 15:19:12 you get initrd debug in 2 cases Jun 09 15:19:27 1) your rootfs.img doesn't exist / halium-boot can't find your /data Jun 09 15:19:50 2) some kernel flag required for halium-boot to work is missing Jun 09 15:20:03 So possibly wrong mncblk? Jun 09 15:20:43 Do we have the full `dmesg` log? Jun 09 15:20:49 @UniversalSuperBox, ye Jun 09 15:20:55 Fwd from rupansh: Hastebin.com/sinemerupe.vbs Jun 09 15:20:56 Fwd from VeryOriginalUsername: https://pastebin.com/FEctLAmw Jun 09 15:21:10 oh no Jun 09 15:21:12 it's not full Jun 09 15:21:15 dam Jun 09 15:21:20 @UniversalSuperBox, no Jun 09 15:21:29 I can switch to ubuntu to geddit Jun 09 15:21:34 Give me 5 mins Jun 09 15:21:40 okay Jun 09 15:21:41 From recovery Jun 09 15:21:45 no, from the init Jun 09 15:21:47 Sorry Jun 09 15:22:03 Through telnet right? Jun 09 15:22:08 Yep Jun 09 15:22:46 5 mins.. Jun 09 15:26:32 https://hastebin.com/iqevanejir.vbs Jun 09 15:26:58 there you go Jun 09 15:31:03 @UniversalSuperBox ? Jun 09 15:31:59 "device is unknown" Jun 09 15:32:08 Is this halium-boot? Jun 09 15:32:42 ubports Jun 09 15:32:48 on caf Jun 09 15:36:02 Should i give up on ubports for now as its broken for caf? Jun 09 15:36:29 Do you have halium port working? Jun 09 15:37:41 Nope I thought it wasn't GUI at first and didn't know about the telegram group Jun 09 15:38:14 @rupansh, Halium reference is not gui Jun 09 15:38:14 What are you talking about Jun 09 15:38:23 @vanyasem, eh Jun 09 15:38:27 so it was working? Jun 09 15:38:28 You have the hwcomposer test though Jun 09 15:38:34 @rupansh, You got ssh? Jun 09 15:38:45 Nope Jun 09 15:38:47 @rupansh, No. Jun 09 15:38:52 Fix that first Jun 09 15:38:54 probably because of encrypted data Jun 09 15:38:58 let me try to fix Jun 09 15:39:14 Okay, just like i said Jun 09 15:39:17 i'm doing usbnet ( http://docs.halium.org/en/latest/porting/debug-build/usbnet.html ) and looks like i dont understand something Jun 09 15:39:23 is this going to give me internet in rootfs or telnet only Jun 09 15:39:27 @vanyasem, It Can't access /data Jun 09 15:39:32 @VeryOriginalUsername, In rootfs only Jun 09 15:39:39 You don't need internet in telnet lol Jun 09 15:39:44 strange, i had it in telnet but not in rootfs lmao Jun 09 15:39:47 @vanyasem, That's a fallback debug shell Jun 09 15:39:55 @VeryOriginalUsername, You're doing it wrong Jun 09 15:40:01 Because the docs are wrong Jun 09 15:40:10 Let me forward one message Jun 09 15:40:17 `sudo route add default gw 10.15.19.100` Jun 09 15:40:23 That should be it Jun 09 15:40:36 @rupansh, Please boot halium reference first Jun 09 15:40:41 And make it work with Jun 09 15:40:50 @vanyasem, in telnet? Jun 09 15:40:51 [Edit] And make it work first Jun 09 15:41:13 @VeryOriginalUsername, You're kidding, right? Jun 09 15:41:26 at this point i have no idea what am i doing, straight copypasting everything Jun 09 15:41:48 @VeryOriginalUsername, Then take a break and think about it Jun 09 15:41:55 I told you that in PM Jun 09 15:49:12 @vanyasem, okay, considering i should enter that in ssh it tells me route not found Jun 09 15:49:33 @VeryOriginalUsername, give me `ip a` from both the device and your computer Jun 09 15:49:41 and give me the full list of commands that you ran Jun 09 15:49:44 on both your phone and pc Jun 09 15:50:01 on pc i ran the 4 that are in docs Jun 09 15:50:05 http://docs.halium.org/en/latest/porting/debug-build/usbnet.html#usb-network-tethering Jun 09 15:50:27 please give me the full list Jun 09 15:50:36 copy them from the terminal and paste them to paste.ubuntu.com Jun 09 15:50:45 nicki ip a: https://pastebin.com/UiqAsP1P Jun 09 15:51:08 vm ip a: https://pastebin.com/n2z0dZX7 Jun 09 15:51:25 now the commands Jun 09 15:51:31 @VeryOriginalUsername, this is correct Jun 09 15:52:16 `sudo sysctl net.ipv4.ip_forward=1` Jun 09 15:52:20 `sudo iptables -t nat -A POSTROUTING -o enp0s3 -j MASQUERADE` Jun 09 15:52:24 `sudo iptables -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT` Jun 09 15:52:28 `sudo iptables -A FORWARD -i enp0s11u1 -o enp0s3 -j ACCEPT` Jun 09 15:54:13 well that's correct Jun 09 15:54:20 everything you've sent is correct Jun 09 15:54:25 and added dns Jun 09 15:54:48 nameserver 8.8.8.8 in /etc/resolv.conf Jun 09 15:54:48 @vanyasem, this should work on your phone Jun 09 15:54:56 according to the data you've sent me Jun 09 15:55:01 route: command not found Jun 09 15:55:02 :p Jun 09 15:55:11 @VeryOriginalUsername, oh, so that's the issue Jun 09 15:55:24 damn perhaps i didn't word it correctly Jun 09 15:56:27 sudo ip route .... Jun 09 15:56:33 Not sudo route... Jun 09 15:56:35 :P Jun 09 15:56:42 @bhushanshah, i wonder who accepted that broken PR Jun 09 15:56:44 to the docs Jun 09 15:56:51 i will fix it now Jun 09 15:57:02 @bhushanshah, neither sudo Jun 09 15:57:09 @VeryOriginalUsername, just run it as root Jun 09 15:57:12 i mean i figured that one by myself Jun 09 15:57:23 i'm root right after logging in why'd i use sudo for that Jun 09 15:57:50 @vanyasem, *crickets chirping* Jun 09 15:58:14 `Error: either "to" is duplicate, or "gw" is a garbage. … ` Jun 09 15:58:17 [Edit] `Error: either "to" is duplicate, or "gw" is a garbage.` Jun 09 15:58:41 root@localhost:/# ip route … 10.0.0.0/8 dev usb0 proto kernel scope link src 10.15.19.82 … 10.0.3.0/24 dev lxcbr0 proto kernel scope link src 10.0.3.1 Jun 09 15:59:28 `root@localhost:/# ping 8.8.8.8 … ` … `connect: Network is unreachable … ` Jun 09 15:59:32 [Edit] `root@localhost:/# ping 8.8.8.8` … `connect: Network is unreachable` Jun 09 15:59:49 @vanyasem, https://github.com/Halium/docs/pull/94 Jun 09 16:01:04 @vanyasem, Travis disagreed Jun 09 16:01:28 and i know why Jun 09 16:02:41 travis disagreed again Jun 09 16:03:33 i miss markdown, at least i knew it's syntax Jun 09 16:04:33 @vanyasem ssh is working with halium as expected :) Jun 09 16:04:50 @bhushanshah, fixed Jun 09 16:05:44 @rupansh, please follow the docs in proper order. now run the tests, PR udev, PR mountpoints, PR docs supplementary, create a projectmanagement issue, etc, etc Jun 09 16:05:59 all righty Jun 09 16:07:35 eh Jun 09 16:07:47 cat: '/var/lib/lxc/android/rootfs/ueventd*.rc': No such file or directory Jun 09 16:08:05 ;_; Jun 09 16:08:38 Okay here we go again Jun 09 16:08:55 unmask and enable lxc Jun 09 16:09:17 Fwd from vanyasem: output of `lxc-checkconfig`, `systemctl status lxc@android` Jun 09 16:10:52 https://hastebin.com/ileqahigeq.coffeescript Jun 09 16:11:04 could it be that i missed something in kernel ;__; Jun 09 16:11:09 @rupansh, Yes it is Jun 09 16:11:10 You did Jun 09 16:11:20 Please run mer kernel checker Jun 09 16:11:38 @vanyasem, Probably cuz i didn't run this properly Jun 09 16:11:40 @rupansh, You have to fix everything from the first 2 groups except for user namespaces Jun 09 16:11:44 @rupansh, Please do? Jun 09 16:12:13 sorry ;_; I checked the script to edit config instead thus causing human errors Jun 09 16:12:19 give me 5 mins Jun 09 16:12:24 [Edit] give me 15 mins Jun 09 16:12:30 @VeryOriginalUsername, ideas? Jun 09 16:14:07 fixed Jun 09 16:14:12 ip route add default via 10.15.19.100 Jun 09 16:14:22 can i PR that to have satisfaction of using ddg Jun 09 16:15:42 [Edit] https://github.com/Halium/docs/pull/95 Jun 09 16:16:16 Okay so the docs were still broken Jun 09 16:17:34 Wait, I'll merge it once travis tests pass Jun 09 16:18:41 also found a typo in there https://github.com/Halium/docs/pull/96 Jun 09 16:24:04 both merged, thank you a lot Jun 09 16:25:45 I did dist-upgrade with caf things, should I reboot now> Jun 09 16:25:56 [Edit] I did dist-upgrade with caf things, should I reboot now? Jun 09 16:45:17 How do i know if I need an optional config? Jun 09 16:46:14 also what does required : "!" means? Jun 09 16:49:38 @VeryOriginalUsername, Hey, mind if I open a discussion on a different topic? Jun 09 16:50:02 oops...ignore the quote... Jun 09 16:50:47 i'm thinking of switching to halium-5.1 cause graphics here don't work and firmware won't load... :/ Jun 09 16:52:22 I have made some (but not much) progress on the SM-G901F port Jun 09 16:53:14 I disabled ninja and the mka hybris-boot built successfully Jun 09 16:57:51 @vanyasem is WARNING: CONFIG_UEVENT_HELPER_PATH necessary? How do i set it empty? Jun 09 16:57:59 [Edit] @vanyasem is CONFIG_UEVENT_HELPER_PATH necessary? How do i set it empty? Jun 09 16:58:35 But building systemimage fails: https://pastebin.com/3Z46bxtj Jun 09 17:05:03 @satcom886, try switching your host locales to en_us Jun 09 17:05:44 sorry, i will post back the english output in a while Jun 09 17:07:39 nono, i looked this error up online and it is probably caused by a locale config Jun 09 17:09:22 So I just switch the system that I am building on to English right? Jun 09 17:09:27 try that Jun 09 17:13:30 Now both ubports-boot and systemimage fail... Jun 09 17:15:15 make clean? Jun 09 17:19:45 Nope...still failing Jun 09 17:21:09 copy log Jun 09 17:21:18 Working on it Jun 09 17:23:20 https://pastebin.com/jLc5Vnx8 Jun 09 17:25:42 your kernel might be borken Jun 09 17:27:07 nice after recompiling hybris-boot with fixes from mer i am getting connection refused in ssh :C Jun 09 17:28:17 actually my bad i forgot to assign ip Jun 09 17:28:45 @satcom886, you should NOT use ubports-boot Jun 09 17:28:47 it's DEPRECATED Jun 09 17:28:57 use halium-boot instead please Jun 09 17:29:05 read the docs Jun 09 17:30:02 Quote from: https://docs.ubports.com/en/latest/porting/introduction.html Jun 09 17:30:12 Ubuntu Touch uses Upstart rather than Systemd for its init daemon. Because of this, it is not fully Halium-compatible and is not able to use the vanilla hybris-boot that Halium produces. For this reason, we need to build ubports-boot. Jun 09 17:30:26 dalton please update the docs @UniversalSuperBox Jun 09 17:30:28 they mislead people Jun 09 17:30:32 excuse me Jun 09 17:31:23 So I should use halium-boot Jun 09 17:31:29 @satcom886, yes you should Jun 09 17:31:46 dalton hasn't updated the docs for some readon Jun 09 17:31:51 [Edit] dalton hadn't updated the docs for some readon Jun 09 17:31:55 [Edit] dalton hadn't updated the docs for some reason Jun 09 17:32:52 https://github.com/ubports/docs.ubports.com/pull/107 Jun 09 17:36:32 @vanyasem I used mer config checker and fixed everything in defconf but I still get the same output with lxc-checkconfig - https://hastebin.com/otakurugaj.sql Jun 09 17:37:04 link to defconfig plz Jun 09 17:37:14 @vanyasem, ;_; Jun 09 17:37:14 lemme push Jun 09 17:42:50 holy shit Jun 09 17:42:50 i kek'd real bad Jun 09 17:43:11 i used lineage 15.1 kernel =_= RIP Jun 09 17:46:32 how have you managed to do so Jun 09 17:46:42 repo config sets the branch to 14.1 for you Jun 09 17:46:52 have you manually cloned it lol? Jun 09 17:52:51 if I get `GNU/Linux Device on rndis0 10.15.19.82` in USB iSerial, is it good? Jun 09 17:53:49 @minlexx, yep, you booted the rootfs Jun 09 17:53:58 (Sticker, 512x512) https://irc.ubports.com/eq97jYbM.webp Jun 09 17:54:02 @minlexx, [Edit] yep, it means that the rootfs booted Jun 09 17:54:06 only connecting via telnet left Jun 09 17:54:15 @MacTavishAO, what? Jun 09 17:54:26 @minlexx, if doesn't mean that the android container works though Jun 09 17:54:29 Telnet is behind you. Begone, telnet Jun 09 17:54:49 @vanyasem, if only means that the bootloader was able to mount rootfs.img from /data and chroot to it Jun 09 17:54:54 that's a pretty simple task actually Jun 09 17:55:06 the most painful part is figuriung out Android issues @minlexx Jun 09 17:55:29 @vanyasem, And I was almost glad Jun 09 17:55:37 @vanyasem, [Edit] And I was almost happy Jun 09 17:55:50 well you get a fully functional headless server at that point Jun 09 17:56:33 okay, so let me know how lxc is doing once you ssh in Jun 09 17:57:22 @minlexx, well that lxc config is related to the android part Jun 09 17:57:31 iirc you only need 1 or 2 kernel options for the bootloader to work Jun 09 17:58:08 so if you booted with the new config that doesn't result in lxc-checkconfig issue (and if it doesn't bootloop with lxc running), you're halfway there Jun 09 18:00:04 if you want to, you can PM me. I can explain everything in Russian exclusievly for you Jun 09 18:00:20 @vanyasem, I thnk I changed like 20-30 kernel config values that mer-kernel-check and lxc-checkconfig reported... I don't remember how many Jun 09 18:00:50 @minlexx, well yeah they are related to the LXC container Jun 09 18:01:26 @vanyasem, yea i did xD old habit since I have been building roms Jun 09 18:02:50 @minlexx, So, is lxc running now? Jun 09 18:03:22 I really want to assist you because I've seen you somewhere in the past and i remember that you're a cool dude :P Jun 09 18:04:58 i might add a workaround for the adreno firmware error to the docs but I have to test it Jun 09 18:05:38 basically mount mmc on host (while device is in telnet) and copy system/etc/firmware/* to (system)/vendor/firmware Jun 09 18:17:42 https://github.com/Halium/docs/pull/97 another typo Jun 09 18:23:01 @vanyasem still same here is the defconf- https://github.com/rupansh/android_kernel_xiaomi_msm8937-1/blob/cm-14.1/arch/arm64/configs/lineageos_land_defconfig Jun 09 18:26:04 also i am having constant connection drops Jun 09 18:26:29 @rupansh, Disable networkmanager on your host Jun 09 18:26:38 It tries to "help" Jun 09 18:26:59 xD Jun 09 18:27:18 all right but what should i do about lxc ;_; Jun 09 18:33:24 ayy actually something is different @vanyasem https://hastebin.com/rajofizewu.scala pretty sure its not good news though Jun 09 19:50:42 CONFIG_CGROUP_PERF=y is giving me sdcard fs errors compiling ubports-boot Jun 09 19:51:25 is that definition really necessary? Jun 09 19:52:56 should I ask on Ubports porting group? Lol Jun 09 19:53:08 If it's giving you errors, try going without it Jun 09 20:48:24 ok nvm I found the setting which was giving me errors Jun 09 20:48:33 CONFIG_USER_NS Jun 09 20:48:41 @Lyud Xaker, 3.4 kernel let me guess Jun 09 20:48:48 but I think that is needed? Jun 09 20:48:52 yeah i think Jun 09 20:48:53 you don't really need it, you have to fix anything except for user namespaces Jun 09 20:48:59 or you could patch it Jun 09 20:49:13 just use the search function of telegram, it was discussed a hundered times already Jun 09 20:49:59 if I don't patch it what could happen? Jun 09 20:50:05 no android container Jun 09 20:50:19 @vanyasem, nothing really. you may ignore it Jun 09 20:50:20 but focus on main functionalities of the device first Jun 09 20:51:34 @vanyasem, its 3.10.107, just checked it Jun 09 20:52:04 Fwd from JBBgameich: Just do not enable CONFIG_USER_NS on kernel 3.4 or 3.10 Jun 09 20:52:05 Fwd from bhushanshah: Disable config_user_ns Jun 09 20:52:05 Fwd from bhushanshah: It's not required and causes errors in 3.10+ kernels Jun 09 20:52:06 Fwd from NotKit: ignore it, CONFIG_USER_NS isn't strictly needed Jun 09 20:52:32 ok ok thanks Jun 09 22:34:26 (Photo, 1280x720) https://irc.ubports.com/twVvHxJa.png Hi, I try to port Ubuntu touch on Android phone but firstly I try yo build Halium on him but I'm stuck here Jun 09 22:34:38 Can someone can help me please ? Jun 09 22:55:19 there's no official cm for your phone Jun 09 22:55:39 nope Jun 09 22:55:52 so why are you trying to download it Jun 09 22:56:04 but there are unofficial on xda Jun 09 22:56:11 are there sources? Jun 09 22:56:20 or only flashable .zip downlaod Jun 09 22:56:41 yep there are device/vendor/kernel Jun 09 22:56:53 which is that device? Jun 09 22:57:08 Huawei P8 Lite (codename alice) Jun 09 22:57:41 are you using halium-5.1 or 7.1 Jun 09 22:58:06 yes actually I have android 7.1 version on it Jun 09 22:58:15 the last time i checked the p8lite roms, it had a lot of bugs Jun 09 22:58:27 @RavengamerSpace, halium version Jun 09 22:58:32 which one have you downloaded Jun 09 22:58:40 halium 7.1 Jun 09 22:59:16 btw, which version? 2017? 2018? Jun 09 22:59:36 https://github.com/OpenKirin/android_kernel_huawei_hi6210sft/tree/nougat … https://github.com/OpenKirin/android_vendor_huawei_alice/tree/7.x … https://github.com/OpenKirin/android_device_huawei_alice/tree/nougat Jun 09 23:00:00 For the phone? It's the first model, not the 2017 remix Jun 09 23:00:02 looks like that's all you'll need Jun 09 23:00:31 also try swapping DT for 7.x tree if nougat one doesn't work Jun 09 23:00:35 no idea why they are two Jun 09 23:01:00 i was using this … https://github.com/dotOS-Devices/android_device_huawei_alice … https://github.com/Huawei-Dev/android_kernel_huawei_alice … https://github.com/dotOS-Devices/android_vendor_huawei_alice Jun 09 23:01:07 thanks i will try Jun 09 23:04:07 idk I've probably never even touched a huawei device, try whatever comes first, just make sure your files are refering to lineage, not some dotos Jun 09 23:04:52 okay, but I was using DotOS because is kind of based on Lineage Jun 09 23:05:14 @RavengamerSpace, the kernel is mm Jun 09 23:06:44 @Lyud Xaker, yeah... mm ? Marshmallow ? Ah okay I better understand now Jun 09 23:25:37 My phone tries to booting but it cant and causes a bootloop Jun 09 23:25:49 i've just flashed the ubports boot image and the rootfs Jun 09 23:25:50 tips? Jun 09 23:26:41 (i fixed the data mount, commented the import lines and disabled any radio service) Jun 09 23:26:51 how did you install rootfs Jun 09 23:27:52 and why didn't you mention system.img Jun 09 23:27:55 it's also needed Jun 09 23:28:05 make -jN systemimage Jun 09 23:30:23 because i didn't flash the systemimage Jun 09 23:30:50 https://docs.ubports.com/en/latest/porting/installing-16-04.html#install-system-img-and-rootfs Jun 09 23:31:58 yeah ok but I mean I've made the ubports bootimg, flashed the bootimg, used UniversalSuperBox's script with system.img and the rootfs zip Jun 09 23:33:04 don't use ubports-boot Jun 09 23:33:05 use halium-boot Jun 09 23:33:50 um ok Jun 09 23:37:31 @VeryOriginalUsername, ok so i flashed halium-boot and booted the phone Jun 09 23:37:44 it shows "Failed to boot" Jun 09 23:37:53 and in telnet doesn't say anything Jun 09 23:38:26 @vanyasem can you make branches in ubports docs? Jun 09 23:38:51 @VeryOriginalUsername, Yep. But i won't Jun 09 23:39:03 i think that'd be a good idea to do a dirty merge of halium-boot PR on a second branch Jun 09 23:39:39 I am not the one responsible for docs, i won't mess with them Jun 09 23:39:46 Ping appropriate people Jun 09 23:40:28 Dalton? Jun 09 23:41:03 looks like he's asleep now, I won't interrupt his rest Jun 09 23:41:20 @VeryOriginalUsername, He was online 13 mins ago Jun 09 23:41:36 (Photo, 324x63) https://irc.ubports.com/PRpsRI9a.png Jun 09 23:41:39 stupid webapp Jun 09 23:42:04 @vanyasem, He is from the United States, he shouldn't be asleep at that time :P Jun 09 23:42:36 Oh really, I thought he's an Englishman Jun 09 23:44:24 I can't really sleep and it's too late for me to learn so I'm fixing typos in docs 😆 Jun 10 01:00:58 It is possible use strace on telnet to debug a process? Jun 10 01:03:14 @jasousa, why would you Jun 10 01:24:45 Because I have a process (kworker/u8) I must wait to end to get successful rootfs.. Don't know what this process do Jun 10 01:26:56 @UniversalSuperBox i want update system.img and boot.img in the server for device titan **** ENDING LOGGING AT Sun Jun 10 03:00:04 2018