**** BEGIN LOGGING AT Wed Jun 24 02:59:57 2020 Jun 24 03:45:48 PostPat was added by: PostPat Jun 24 04:11:38 hdy_telegram was added by: hdy_telegram Jun 24 05:20:53 I forcast a lot of new people asking there and there is my device works with GSI. Do we have a list of H9GSI port somewhere ? Jun 24 05:25:47 @ankaos [enes@enes:~/halium$ ssh phablet@10.15.19.82 … ssh: connect to host 10.15.19.82 por …], https://raw.githubusercontent.com/ubports/hybris-usb-packaging/xenial_-_edge_-_android8/usb-tethering Jun 24 05:26:28 @Ern_st [I forcast a lot of new people asking there and there is my device works with GSI …], Ubports Forum should have further information... Jun 24 06:18:02 @lonerider_one [It should give you access to the logs. Typically dmesg will give you some indica …], OK. Unfortunately, I had disconnected my device yesterday. I have tried connecting/putting it in fastboot/download mode, but fastboot does not recognize it any more. If I try to boot it, adb does not recognize it (which I guess is normal). I Jun 24 06:18:02 t is not possible to connect it first and then try to boot it. When the USB cable is inserted, the screen wakes up showing a battery icon with a spinner that immediately freezes. If I run the commands you posted I then get this: Jun 24 06:18:09 ~/halium$ while : ; do lsusb -v 2>/dev/null | grep -Ee 'iSerial +[0-9]+ +[^ ]' ; done | uniq … iSerial 3 Halium initrd Debug telnet on port 23 on rndis0 192.168.2.15 - also running udhcpd Jun 24 06:18:36 Is this what I was aiming for...? Jun 24 08:54:45 ok. I followed the steps outlined here: http://docs.halium.org/en/latest/porting/debug-build/early-init.html Jun 24 08:55:11 When I get to $ ip address show dev USBNETWORK Jun 24 08:55:17 the response is Jun 24 08:55:42 Device "USBNETWORK" does not exist. Jun 24 09:23:04 @NotKit https://support.planetcom.co.uk/index.php/Linux_for_Cosmo it seems Cosmo Do not Support SailFishOS? Jun 24 09:51:13 Naveen Kumar was added by: Naveen Kumar Jun 24 09:51:36 @Coltor Chen [@NotKit https://support.planetcom.co.uk/index.php/Linux_for_Cosmo it seems Cosmo …], needs port Jun 24 10:04:39 @aviwad [could I potentially also run postmarketOS through this?], you mean Halium 9? maybe, I've not tested that at all because I've been mainlining the device instead (tested 5.8-rc1 as working a few days ago) Jun 24 10:05:05 @aviwad [could I potentially also run postmarketOS through this?], [Edit] you mean Halium 9? maybe, I've not tested that at all because I've been mainlining the device instead (tested Linux 5.8-rc1 as working a few days ago) Jun 24 10:20:51 @gabmus you need to copy over the built `wlan.ko` module and `insmod` it to get WLAN, making it get built-in didn't work at all last time I checked, a lot of other hacks / steps are needed to get the other stuff working Jun 24 10:22:09 I'll have to re-test on latest GSI maybe later today and put the hacks I use in the OP5/5T documentation Jun 24 10:24:18 @NotKit [needs port], https://github.com/gemian/initramfs-tools-halium this repo didn't find init-script for cosmo,just like (https://github.com/sailfish-lavender/hybris-boot/blob/lavender/init-script), i just want to know,the Cosmo How to switch_root in the init-ramdisk-rootfs. any idea about this ? thanks Jun 24 10:35:04 @Coltor Chen [https://github.com/gemian/initramfs-tools-halium this repo didn't find init-scri …], I'm confused of what are you trying to do Jun 24 10:36:45 initramfs-tools-halium are hooks for Debian's initramfs-tools Jun 24 10:36:50 so init script comes from there Jun 24 11:09:43 @aribk [~/halium$ while : ; do lsusb -v 2>/dev/null | grep -Ee 'iSerial +[0-9]+ +[^ ]' ; …], Your phone is running the telnet service already. … Telnet 192.168.2.15 … Should connect you Jun 24 11:11:02 Indeed! :) Jun 24 11:15:06 Here is what I can see. But I don't know how to proceed now. Can't see that the guide helps much in this situation. Jun 24 11:15:10 $ telnet 192.168.2.15 … Trying 192.168.2.15... … Connected to 192.168.2.15. … Escape character is '^]'. … BusyBox v1.22.1 (Debian 1:1.22.0-19+b3) built-in shell (ash) … Enter 'help' for a list of built-in commands. … / # ls … android-rootfs dev lib scripts var … android-system etc proc Jun 24 11:15:10 sys … bin halium-system root tmp … conf init run tmpmnt … config init-ctl sbin usr Jun 24 11:15:57 Dmesg ? Jun 24 11:19:45 Will try. Meeting at work now... Jun 24 11:20:27 @Deathmist1337 [I'll have to re-test on latest GSI maybe later today and put the hacks I use in …], please do tell once that's done. I need wlan for my work so I'll try running ubports once you've updated the documentation. thank you so much Jun 24 11:21:18 @Deathmist1337 [you mean Halium 9? maybe, I've not tested that at all because I've been mainlini …], if only ubports ends up running I'll be happy 😂 Jun 24 11:21:19 btw RIL is quite broken so mobile data doesn't work & the device crashes 100% of the time if you shut down with a SIM inserted (sometimes on boot randomly too), I haven't bothered to even test SMS / calls Jun 24 11:21:40 @Deathmist1337 [btw RIL is quite broken so mobile data doesn't work & the device crashes 100% of …], what's RIL? Jun 24 11:21:55 https://en.wikipedia.org/wiki/Radio_Interface_Layer Jun 24 11:22:18 I see … is this something that can be easily fixed? Jun 24 11:22:25 or is OnePlus 5(t) doomed xD Jun 24 11:22:32 not sure, I'd have to spend some time on it Jun 24 11:22:47 it's strange because Sailfish OS doesn't have this issue and my base is also on 9.0 Pie there Jun 24 11:24:52 Kushal was added by: Kushal Jun 24 11:31:12 @Deathmist1337 did you retest after fake_netd fix? Jun 24 11:31:28 mobile data works on Pro1, so it should be on 5(T) as well Jun 24 11:31:35 obviously, I'll retest though again (and obviously I also re-enabled IPA3 which broke WLAN) Jun 24 11:56:03 (Photo, 621x919) https://irc.ubports.com/bn2E71ob.png 🦆 Jun 24 12:19:31 @lonerider_one [Dmesg ?], dmesg gives loads of output. How can I get this over to my PC so I can pastebin it? Jun 24 12:20:22 The device is glowing hot, too. 😟 Jun 24 12:20:35 how to fix device offline with adb shell to install apk? Jun 24 12:26:06 what do you even mean? Jun 24 12:26:24 use USB tethering Jun 24 12:33:42 Just search through the output for 'error' or 'failed' Jun 24 12:36:04 how can use it? Jun 24 12:36:04 Fwd from erfanoabdi: file transfer is disabled on halium9 in favor of ssh (usb rdnis) for debugging Jun 24 12:37:30 Are you tryimg to transfer a file to your phone? Jun 24 12:37:47 @lonerider_one [Are you tryimg to transfer a file to your phone?], adb installing apk Jun 24 12:39:40 There's more with 'failed'. A bit too long to include here. I'll pastebin. Jun 24 12:40:59 https://pastebin.ubuntu.com/p/XttfP3gJtB/ Jun 24 12:43:43 So it looks like something isint mounting. Have a look around the 3.50 mark. Jun 24 12:46:28 @tkbeats [adb installing apk], You can use sftp to upload the apk Jun 24 12:53:19 @NotKit [I'm confused of what are you trying to do], i just want to get init-script file for Cosmo. Jun 24 12:54:49 or the boot-image repo for Cosmo Jun 24 12:58:13 @Deathmist1337 [@gabmus you need to copy over the built wlan.ko module and insmod it to get WLAN …], thanks for the tips! I'd love to have them in the doc tho Jun 24 12:58:31 and I reflashed android as this is my only phone, so I kinda need something that works Jun 24 12:59:52 you can dual-boot android and ubports btw (assuming the /vendor you've got works with ubports) Jun 24 13:00:16 it's a matter of swapping the boot image between a backup of the android one & halium-boot Jun 24 13:01:33 thing is, it seems booting ubports breaks SELinux labels on some files in /persist as well so hmu if anything is broken, I've got the fix for that as I saw this during Sailfish OS porting too starting with Pie base Jun 24 13:01:54 [Edit] thing is, it seems booting ubports breaks SELinux labels on some files in /persist as well so hmu if anything (namely WLAN / hotspot sharing in Android side) is broken, I've got the fix for that as I saw this during Sailfish OS porting too starting with Pie base Jun 24 13:03:43 should I care about selinux? Jun 24 13:08:19 @gabmus [and I reflashed android as this is my only phone, so I kinda need something that …], same Jun 24 13:08:59 @Deathmist1337 [you can dual-boot android and ubports btw (assuming the /vendor you've got works …], aw crap no android 10 then Jun 24 13:12:55 nothing including Halium or Hybris driver / HAL compat layers will work on Android 10 firmware Jun 24 13:13:22 Guys anyone can help me to build halium boot ? Jun 24 13:13:54 only mainline boots because that doesn't care what firmware you run at all lol, you could run Android 7 firmware with the Linux 5.8 kernel along any arm Linux distro of your choice @aviwad Jun 24 13:14:32 (or even Android if I'd look into the common kernel more, though that's kind of a pain without serial console which I'd have to rip my screen off from the device to get) Jun 24 13:15:00 @Kreezaa what's the problem? Jun 24 13:15:23 @Deathmist1337 [@Kreezaa what's the problem?], Can I pm u ? Jun 24 13:15:27 why? Jun 24 13:15:42 and no Jun 24 13:16:05 Maybe take along time of my questions Jun 24 13:16:31 @Deathmist1337 [and no], Ok thanks Jun 24 13:16:32 there are guides to follow, explain your issue Jun 24 13:17:14 @Deathmist1337 [there are guides to follow, explain your issue], I can't understanding how to patch kernel Jun 24 13:18:22 I'm not a developer just I need to run ubport Jun 24 13:18:31 @Kreezaa [I can't understanding how to patch kernel], be more specific :) Jun 24 13:19:03 you should learn the basics of `git` then, namely cherry-picking commits and amending patch files (you can download them from any commit link on GitHub by adding `.patch` at the end of the URL) Jun 24 13:20:19 Ok Jun 24 13:29:51 @lonerider_one [So it looks like something isint mounting. Have a look around the 3.50 mark.], Yes, a lot of interesting stuff there, although I am at a loss when it comes to fixing... Please have a look and advise, if you have the time to spare. https://pastebin.ubuntu.com/p/YQNMBbZFhZ/ Jun 24 13:35:33 @aribk [Yes, a lot of interesting stuff there, although I am at a loss when it comes to …], what is the output of 'mount' Jun 24 13:36:44 @lonerider_one [what is the output of 'mount'], https://pastebin.ubuntu.com/p/pVMghP5Hj5/ Jun 24 13:50:18 BTW, if it comes to that, is there any way of flashing another halium-boot.img and system.img + rootfs combination when the device is in this state? I can get it into download mode, but fastboot does not recognize it. Jun 24 13:50:22 I have previously flashed twrp recovery, but could not start that from the device itself with the specified button combination. Only way to start it was from fastboot mode to issue fastboot boot Jun 24 13:50:49 what device? Jun 24 13:51:06 LG G4 Jun 24 13:52:23 so vol+ and vol- while booting doesn't work? Jun 24 13:52:50 Never did, even with the original Android firmware. Jun 24 13:54:22 There are youtube videos that show how people have done this by holding the volume button down and plugging in usb cable. THAT worked. Jun 24 13:54:30 Okay. I actually have one of those with a smashed screen. Let me charge it up. … Which model number? Jun 24 13:54:42 H815 Jun 24 13:56:30 halium ramdisk zip and the other tools in lolinet gsi erfan Jun 24 13:56:36 so vol- and plugging in USB gets you to recovery or bootloader? Jun 24 13:57:35 what is it? Jun 24 13:58:17 Sir @NotKit does Ubuntu Touch in Volla Phone support usb-type c HDMI video output like the one in samsung dex? Jun 24 13:59:00 @lonerider_one [so vol- and plugging in USB gets you to recovery or bootloader?], No, that just boots the system - which doesn't actually boot properly, as you have seen. Jun 24 13:59:29 Vol up + cable gives fastboot mode Jun 24 14:00:15 But doesn't get recognized from pc with 'fastboot devices' Jun 24 14:01:55 can you run dmesg -w on your host machine and reboot the phone to fastboot Jun 24 14:02:07 Sure... Jun 24 14:03:22 adb connect over tcp/ip not work device offline when i try to type adb tcpip on the ubuntu touch xiaomi terminal, that give me no device is connected, there is a method to give the adb tcpip on my xiaomi without this error ? Jun 24 14:03:56 I'm getting this while making hybris-boot: `/usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x50): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here` Jun 24 14:04:06 * I'm getting this while making hybris-boot: `/usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x50): multiple definition of 'yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here` Jun 24 14:04:21 @lonerider_one [can you run dmesg -w on your host machine and reboot the phone to fastboot], https://pastebin.ubuntu.com/p/6JxjXjVtcB/ Jun 24 14:12:49 Is this the same computer you've been using the whole time? Jun 24 14:13:21 Yes Jun 24 14:14:44 that's strange. Have you tried a new cable? Jun 24 14:14:45 I also tried at one point to connect it to another computer, but that was after I had flashed halium-boot.img etc. and could no longer get either fastboot or adb to recognize it. Jun 24 14:14:57 Will try other cable... Jun 24 14:16:21 Same result Jun 24 14:17:12 The on screen message looks normal: Firmware Update, do not unplug... etc Jun 24 14:20:40 I dont think you are in the bootloader Jun 24 14:27:50 selfish os is better than ubport ? Jun 24 14:30:17 @tkbeats [selfish os is better than ubport ?], try both and decide Jun 24 14:32:50 But some governments and companies are interested in the SailfishOS, so it is more likely to become popular and usable. Ubports is supported only by the community. Jun 24 14:32:53 @lonerider_one [I dont think you are in the bootloader], No, I'm not. I'm in so-called 'download mode' (also called fastboot mode somewhere). The bootloader is unreachable after flashing as far as I can see. Jun 24 14:34:20 try this: … https://www.androidexplained.com/lg-g4-recovery-mode/ Jun 24 14:34:38 it should get you to twrp Jun 24 14:35:32 @Tooniis try applying https://github.com/engstk/op5/commit/554ee62c761ecf54a772b5a10e1cda966912cc83 Jun 24 14:43:29 @lonerider_one [try this: … https://www.androidexplained.com/lg-g4-recovery-mode/], This is exactly what I have been doing. Before flashing what I built, i.e. with stock rom installed, I could get to the yes/no screen shown, so maybe it was actually working the way it should. But the message above the yes/no boxes was that you were about to Jun 24 14:43:29 do a factory reset. I did not do this. Now, the same steps don't produce this result any more. Jun 24 14:44:04 The way I previously entered the bootloader was from adb, with 'adb reboot bootloader' Jun 24 14:46:06 At this point I think your best bet is to reflash the phone to stock and start over. Without access to recovery you can't update anything. Jun 24 14:47:51 I'd be glad to, but how is that possible when neither fastboot, nor adb recognize the device irrespective of state? Jun 24 14:49:15 https://forum.xda-developers.com/g4/general/guide-lg-g4-stock-firmware-to-stock-kdz-t3107848 Jun 24 14:50:08 as long as download mode is working you are good Jun 24 14:50:28 Thx. Will read & try! And thank you for your time! :) Jun 24 14:51:14 Sure. Good luck. Jun 24 14:54:08 :) Jun 24 14:56:17 Hmmm. This is based on Windows. I have 3 linux laptops I can work from, but maybe I'll have to ask someone for help by lending me a windows pc... Jun 24 14:58:16 Oh right. Jun 24 15:06:16 mesofranico was added by: mesofranico Jun 24 15:07:19 @aribk [But doesn't get recognized from pc with 'fastboot devices'], do ```sudo fastboot``` instead Jun 24 15:07:47 @tkbeats [selfish os is better than ubport ?], ubports is completely open source, while sailfish is proprietary. Jun 24 15:09:10 @aviwad [ubports is completely open source, while sailfish is proprietary.], lipstick component + apps by jolla are proprietary in sailfishos Jun 24 15:09:29 @ItsMeShouko [lipstick component + apps by jolla are proprietary in sailfishos], ah Jun 24 15:09:50 Without Sailfish halium wouldn't exist, hybris exists thanks to Jolla IIRC Jun 24 15:10:53 @K31j0 [Without Sailfish halium wouldn't exist, hybris exists thanks to Jolla IIRC], The dev who made libhybris was hired later by jolla and now jolla probably maintains it Jun 24 15:13:17 BTW @lonerider_one , assuming I manage to reflash stock so I can restart, did you see anything in the dmesg and mount outputs that might indicate what was wrong with my build? Jun 24 15:14:05 Not really, but I've had similar issues that just required a reflash of system.img Jun 24 15:14:56 > @Tooniis try applying https://github.com/engstk/op5/commit/554ee62c761ecf54a772b5a10e1cda966912cc83 Jun 24 15:14:56 that fixed it. Jun 24 15:15:16 @K31j0 [Without Sailfish halium wouldn't exist, hybris exists thanks to Jolla IIRC], oh. i didn't know that. that's very cool Jun 24 15:15:50 hold on … now suppose the device I'm building a halium-boot image for already has a sailfish os port. … could I install that part, and then install the ubports gsi? Jun 24 15:16:03 [Edit] hold on … now suppose the device I'm building a halium-boot image for already has a sailfish os port. … could I install that port, and then install the ubports gsi? Jun 24 15:16:29 @lonerider_one [Not really, but I've had similar issues that just required a reflash of system.i …], 👍 Jun 24 15:19:15 Is it possible to run anbox on ubports GSI? Jun 24 15:52:00 Alternate operating systems: *exist* … App devs: *don't exist* … Everyone: where my anbox at?????? Jun 24 15:52:44 @NickNickerYT [Is it possible to run anbox on ubports GSI?], you have Nokia ES2? Jun 24 15:53:52 Yeah, but I don't use it. Currently I'm using Moto G7 (river) Jun 24 15:55:50 Ok, good... seems ES2 is very special phone with MT6750N Jun 24 16:02:46 Yeah. It isn't very good, it's probably impossible to unlock bootloader or even root this phone, it's completely locked. Jun 24 16:03:49 1) most of the lolinet images/kernels have anbox driver in kernel … 2) installation guide: gist.github.com/Vince1171/69cdcb2e90f2c70e3ee24de93da8caac Jun 24 16:04:08 [Edit] 1) most of the lolinet halium images/kernels have anbox driver … 2) installation guide: gist.github.com/Vince1171/69cdcb2e90f2c70e3ee24de93da8caac Jun 24 16:05:01 Erfan,on GSI the rootfs is armhf is tht correct ? Jun 24 16:05:03 Thanks, I'll try it Jun 24 16:05:34 [Edit] 1) most of the lolinet halium images/kernels have anbox driver … 2) installation guide: gist.github.com/Vince1171/69cdcb2e90f2c70e3ee24de93da8caac … 3) to make anbox work fine make sure data partition is on ext4 and not f2fs Jun 24 16:05:57 @NickNickerYT [Thanks, I'll try it], Format data to ext4 on river … It's f2fs by default Jun 24 16:06:02 @Ern_st [Erfan,on GSI the rootfs is armhf is tht correct ?], Yeah Jun 24 16:11:31 @NickNickerYT [Yeah. It isn't very good, it's probably impossible to unlock bootloader or even …], hmmm... I know ES2 can unlock bootloader but need pay... let me know if you needed, thanks! Jun 24 16:12:49 I heard about these paid 'unlock codes', but I don't need it, this phone isn'r good for any mods etc Jun 24 16:14:10 pertabejo was added by: pertabejo Jun 24 16:14:12 If you need to bring up UBports for Nokia 3.1... I can help you with that... Jun 24 16:15:34 No, definitely not Jun 24 16:15:47 I don't need it Jun 24 16:17:06 Ok, thanks! Jun 24 16:23:58 does halium wipe `/data`? Jun 24 16:36:19 @Tooniis no, there are only be 2 new .img files that get placed under /data (along with a new boot image flash) Jun 24 16:39:58 keep in mind if the userdata partition is encrypted or not formatted as ext4 you could run into various issues Jun 24 16:42:07 @erfanoabdi [Format data to ext4 on river … It's f2fs by default], Is it needed? Or optional, just to make anbox work better? … Because with binder and ashmem available on /dev, anbox installed and enabled (anbox-tool status shows that it's enabled, but not running) and start anbox-container and start anbox-session succesfully execut Jun 24 16:42:07 ed, I can't get it to work. … Trying 'anbox session-manager' gives this output: … Failed to connect to socket /run/anbox-container.socket: No such file or directory … and trying 'anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity' throws this: … [2020-06-24 18:40:44.339018] < - ERROR - > MirConnectionAPI: Caught e Jun 24 16:42:07 xception at client library boundary (in mir_connection_release): /build/mir-1.8.0+0~20200514014640.8~1.gbp07eef4/src/client/rpc/stream_socket_transport.cpp(168): Throw in function virtual void mir::client::rpc::StreamSocketTransport::send_message(const std::vector&, const std::vector&) … Dynamic exception type: boost::except Jun 24 16:42:07 ion_detail::clone_impl > … std::exception::what: Failed to send message to server: Broken pipe … 32, "Broken pipe" … [ 2020-06-24 16:40:44] [daemon.cpp:61@Run] Failed to initialize SDL: Failed to connect to the mir server: Failed to connect: not accepted by server … I foll Jun 24 16:42:07 owed instructions, but anbox-data directory didn't exist, so I'v created it Jun 24 16:44:26 @NickNickerYT you need `/dev/anbox-binder`, Ubuntu Touch uses a separate driver from the normal Android binder, see anbox patches under https://github.com/ubports/porting-notes/wiki/Generic-system-image-(GSI)#common-kernel-patches Jun 24 16:45:21 @Deathmist1337 [@NickNickerYT you need /dev/anbox-binder, Ubuntu Touch uses a separate driver fr …], Yeah, but /dev/anbox-binder is available Jun 24 16:45:22 @aviwad [hold on … now suppose the device I'm building a halium-boot image for already has …], are ubports and sailfish os compatible with the same halium boot partition? Jun 24 16:46:15 @aviwad what are you talking about? your phone only has a single boot partition, you can only have one boot image flashed at a time Jun 24 16:46:38 you can swap them yousrself by flashing manually afterwards but that's a separate thing Jun 24 16:47:10 @Deathmist1337 [you can swap them yousrself by flashing manually afterwards but that's a separat …], no, I meant would the boot partition created from installing sailfish os work with ubports? or do I have to generate the halium-boot image? Jun 24 16:47:30 @NickNickerYT have you ran your device's running defconfig against `lxc-checkconfig`? Jun 24 16:48:22 I don't understand you, the device has a SINGLE boot partition, nothing changes partitioning wise on the device when you flash a boot image. an Android boot image just contains the kernel image and a ramdisk, that's it. Jun 24 16:48:28 [Edit] @aviwad I don't understand you, the device has a SINGLE boot partition, nothing changes partitioning wise on the device when you flash a boot image. an Android boot image just contains the kernel image and a ramdisk, that's it. Jun 24 16:48:55 oh if you mean hybris-boot no that doesn't work Jun 24 16:49:46 lxc-checkconfig? Hm, it shows 'Cgroup v1 systemd controller' is missing Jun 24 16:56:27 Well, @lonerider_one , flashing stock rom starts, but aborts at 9% every time. I expected this meant my device was history, but then I performed the button sequence and managed to bring up twrp recovery at least. :) Jun 24 16:56:46 @Deathmist1337 [oh if you mean hybris-boot no that doesn't work], yepp that was it Jun 24 16:57:41 I'd ask erfan to get boot images for 5/5T uploaded but since modem is essentially useless and crashes the device on boot/shutdown is you have a SIM inserted it's not really usable even if mostly everything else works Jun 24 16:58:04 [Edit] I'd ask erfan to get boot images for 5/5T uploaded but since modem is essentially useless and crashes the device on boot/shutdown if you have a SIM inserted it's not really usable even if mostly everything else works Jun 24 16:58:27 @Deathmist1337 [I'd ask erfan to get boot images for 5/5T uploaded but since modem is essentiall …], :( ah well one can hope RIL gets fixed soon Jun 24 16:58:55 @Deathmist1337 [I'd ask erfan to get boot images for 5/5T uploaded but since modem is essentiall …], just out of curiosity, what's the blocker to get the modem to work? Jun 24 16:59:25 halium-install is throwing this `adb: error: failed to copy 'halium-rootfs-20170630-151006.tar.gz' to '/recovery/': couldn't create file: Is a directory` Jun 24 16:59:52 also what does it have to do with `/recovery`? Jun 24 17:00:01 does it install anything there? Jun 24 17:01:51 @gabmus [just out of curiosity, what's the blocker to get the modem to work?], I have no idea, it works on SFOS and crashes the device on boot/shutdown with a SIM in Halium (+ I need to disable IPA3 to get WLAN working or re-enable it to even have a chance at making cellular data stuff work), I'll have to investigate this at some po Jun 24 17:01:51 int Jun 24 17:02:07 getting logs is kind of impossible due to the kernel panics Jun 24 17:02:12 @Deathmist1337 [I have no idea, it works on SFOS and crashes the device on boot/shutdown with a …], aside from the modem it runs good? Jun 24 17:02:32 @Deathmist1337 [I have no idea, it works on SFOS and crashes the device on boot/shutdown with a …], same kernel? Jun 24 17:02:39 I suppose yes, it would be even better with an arm64 rootfs ;) Jun 24 17:02:53 @Deathmist1337 [I suppose yes, it would be even better with an arm64 rootfs ;)], wait … it doesn't? Jun 24 17:02:58 it runs as 32 bit? Jun 24 17:03:43 armhf yes because there are some stuff that need work still before they compile / work properly on arm64 Jun 24 17:04:10 @gabmus [same kernel?], it isn't, UBports wouldn't boot with SFOS kernel because it needs apparmor among other stuff the halium-boot kernel checker enables Jun 24 17:04:47 would another distro, say pmos, boot on that same kernel tho? Jun 24 17:06:24 I've not tried pmOS with Halium at all, currently I'm actually working on getting a driver for the Samsung panel on the OP5 going on Linux 5.8 mainline kernel (we only have framebuffer for now) Jun 24 17:06:34 [Edit] I've not tried pmOS with Halium at all, currently I'm actually working on getting a driver for the Samsung panel on the OP5 going on Linux 5.8 mainline kernel (we've only had framebuffer for now) Jun 24 17:07:18 and you need Halium to get the Android specific driver blobs to utilize modem etc on an Android downstream kernel fork Jun 24 17:07:49 uh, interesting Jun 24 17:09:04 i'm asking all of this because I really like halium and every part of the linux on phones effort, but I don't really like ubtouch experience for a variety of reasons. it's better than android, but in the long run I'd prefer to use another DE/experience completely Jun 24 17:09:26 halium supported plasma mobile (or the other way around) last time I checked, is it still the case? Jun 24 17:09:58 yep, but not with Halium 9 (Pie) Jun 24 17:10:05 why is that? Jun 24 17:10:12 good luck getting the bokren 7.1 Nougat mess working lol Jun 24 17:10:31 Plasma Mobile simply don't support Halium 9 yet Jun 24 17:10:53 I'm not sure what the progress is either Jun 24 17:11:03 what about say plain old debian? Jun 24 17:11:06 [Edit] good luck getting the broken 7.1 Nougat mess working lol Jun 24 17:11:13 @gabmus [what about say plain old debian?], that would be horrible on mobile Jun 24 17:13:00 for that you'd have to hack something together yourself unless they somehow support a very recent version of Halium/Hybris (spoiler: they most likely don't) Jun 24 17:16:44 because running a Linux distro an old Android kernel without any usable/needed drivers for the hardware isn't exactly an achievement, is it? :p Jun 24 17:17:55 [Edit] because running a Linux distro with an old Android kernel without any usable/needed drivers for the hardware isn't exactly usable for much, is it? :p Jun 24 17:29:56 Marcoooo was added by: Marcoooo Jun 24 17:34:46 Can halium-boot.img be flashed to the device in any other way besides 'fastboot flash boot halium-boot.img' ? The reason for the question is that I cannot make fastboot recognize my device in download mode. I can, however, access it in recovery mode using adb. Jun 24 17:35:02 @aribk [Can halium-boot.img be flashed to the device in any other way besides 'fastboot …], install it using adb or twrp Jun 24 17:35:22 I can use twrp? Jun 24 17:35:38 @aribk [I can use twrp?], I did … and I mean ubports hung on a black screen … but I'm guessing it could work Jun 24 17:36:06 Did you use the sideload option? Jun 24 17:36:14 @aribk [Did you use the sideload option?], sideload? Jun 24 17:36:40 I haven't used it. Never mind. Exactly how did you do it? Jun 24 17:37:07 @aribk [I haven't used it. Never mind. Exactly how did you do it?], well you open twrp … and then you connect your pc … then you use adb push to send the boot img … then you install it using twrp and choose the "boot partition" Jun 24 17:37:31 Thanks! will try! Jun 24 17:37:34 No problem! Jun 24 17:44:09 @aviwad [well you open twrp … and then you connect your pc … then you use adb push to send th …], I can't make this work. TWRP looks for a zip file. Do I need to compress it first? Jun 24 17:44:33 @aribk [I can't make this work. TWRP looks for a zip file. Do I need to compress it firs …], there must be a button on the bottom right corner that lets you switch to installing image instead of zip file Jun 24 17:44:59 correct! :) Jun 24 17:49:49 That worked. Pushing system and rootfs now. Jun 24 17:54:24 I got `CONFIG_AUTOFS4_FS=y not found in /proc/config.gz` in `diagnosis.log`. Does this mean I need to add that to the defconfig and rebuild the kernel? Jun 24 18:01:24 @aribk [That worked. Pushing system and rootfs now.], nicee Jun 24 18:02:20 Foni was added by: Foni Jun 24 18:17:29 @aviwad what firmware does your device have, unreleased Android 10? Jun 24 18:17:43 @Deathmist1337 [@aviwad what firmware does your device have, unreleased Android 10?], released android 10 Jun 24 18:17:52 OnePlus 5t got an android 10 update 3 weeks ago Jun 24 18:18:11 @Deathmist1337 [@aviwad what firmware does your device have, unreleased Android 10?], however, for ubports I had installed android 9 firmware (yet still a black screen) Jun 24 18:18:43 why's none of that in https://www.oneplus.com/support/softwareupgrade then? smh oneplus is slacking for one last time before they drop support for this phone Jun 24 18:18:58 @Deathmist1337 [why's none of that in https://www.oneplus.com/support/softwareupgrade then? smh …], exactly I found that so odd Jun 24 18:19:34 what underlying Android ROM do you have flashed? is it LineageOS 16? Jun 24 18:20:04 that's the only one I've tried (for /vendor) and it at least boots on OP5 Jun 24 18:20:25 @Deathmist1337 [what underlying Android ROM do you have flashed? is it LineageOS 16?], oxygen os android 9 😳 Jun 24 18:20:49 @aviwad [oxygen os android 9 😳], and then to be safe I also flashed the firmware for android 9 Jun 24 18:20:50 could be an issue, backup your system and vendor partitions, then flash LineageOS 16.0 and reflash halium-boot image Jun 24 18:21:46 @Deathmist1337 [could be an issue, backup your system and vendor partitions, then flash LineageO …], hmm will try later once modem issues are fixed Jun 24 18:22:07 @Deathmist1337 [what underlying Android ROM do you have flashed? is it LineageOS 16?], https://www.xda-developers.com/oneplus-5-5t-stable-android-10-oxygenos-10-update/ here's a straight link to android 10 for both models if needed Jun 24 18:22:08 you already got this far and attempted things, why not go till you at least get to GUI? :p Jun 24 18:22:20 @Deathmist1337 [you already got this far and attempted things, why not go till you at least get …], cuz I have a lot of essay work due tonight 😫 Jun 24 18:22:49 fair, well good luck on those 👍 Jun 24 18:25:03 I think I actually tried OOS 9 vendor before with the GSI though and got no graphics as you've observed, however I did get an RNDIS interface that I could use to SSH in to the device and look at the very broken state as seen in system logs lol Jun 24 18:25:49 i'll be reworking lunecrash on the official xiaomi kernel Jun 24 18:25:58 (for mi a3) Jun 24 18:26:16 it should also be capable of running on laurus (mi cc9e) Jun 24 18:26:38 but i don't have that device to test so i'll probably get somebody in the community to test it for me Jun 24 18:27:26 @Deathmist1337 [I think I actually tried OOS 9 vendor before with the GSI though and got no grap …], ah so I'll use lineage os next time Jun 24 18:27:30 @Deathmist1337 [fair, well good luck on those 👍], thanks! Jun 24 18:37:12 do i need to flash the boot image after rebuilding the kernel or is it enough to just install the rootfs and system images? Jun 24 19:10:32 * Tooniis[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/JILIGzOUmCToMiGirKbJBvkK > Jun 24 19:14:04 Guys anyone using any banking app through anbox ? Jun 24 19:14:26 Probably not Jun 24 19:15:22 @dohbee [Probably not], Hmm ok thanks for reply Jun 24 19:16:33 @Tooniis the reference rootfs tests haven't been updated in a long while and aren't exactly reliable to test much of anything, you can probably move onto porting an OS using Halium instead of messing in the reference rootfs as you seem to have gotten a stable SSH/telnet connection to the device :) Jun 24 19:17:41 alright Jun 24 19:23:04 actually it worked after an `apt-get update && apt-get dist-upgrade` Jun 24 19:24:52 @Deathmist1337 [why's none of that in https://www.oneplus.com/support/softwareupgrade then? smh …], OOS 10 isnt official but rather are test builds Jun 24 19:26:06 @Deathmist1337 [you already got this far and attempted things, why not go till you at least get …], Can u point me to the files and process? I can give that a try. Will switch my Sim into another phone meanwhile Jun 24 19:26:29 Hi Jun 24 19:26:40 Rom treble for a5 2017? Jun 24 19:26:54 [Edit] Rom treble for a5 2017? My codename is a5y17lte Jun 24 19:26:57 @S [Can u point me to the files and process? I can give that a try. Will switch my …], https://github.com/ubports-oneplus5/documentation should be it Jun 24 19:27:26 I can also send a pre-built halium-boot image if you don't want to download a lot of crap Jun 24 19:27:42 @wwrom [Rom treble for a5 2017? My codename is a5y17lte], For halium kernel and ubport Jun 24 19:27:50 @Deathmist1337 [I can also send a pre-built halium-boot image if you don't want to download a lo …], That helps. Im on 5t though Jun 24 19:28:16 I've made a boot image for that as well :) Jun 24 19:29:06 I should probably start experimenting with UT again right now, haven't booted up the GSI in a while Jun 24 19:29:38 @Deathmist1337 [I've made a boot image for that as well :)], I think I did notice somewhere in the group Jun 24 19:30:42 @Deathmist1337 [I should probably start experimenting with UT again right now, haven't booted up …], Also, r u the 5t sfos Dev? Jun 24 19:31:28 yep Jun 24 19:33:12 and I'm also mainlining the OnePlus 5/5T devices so it's possible to use the very latest Linux 5.8 kernel (not for Android really yet) but yeah, I've got a lot of projects going on 😅 Jun 24 19:34:58 @Deathmist1337 [and I'm also mainlining the OnePlus 5/5T devices so it's possible to use the ver …], Sounds good. Jun 24 19:46:17 @Deathmist1337 [yep], You giving me files? Jun 24 19:48:05 @Deathmist1337 [], And gsi is from the git page? Jun 24 19:48:16 (Document) https://irc.ubports.com/oc0y8nEq.null Jun 24 19:48:45 ye, you can get the latest one from erfan's GSI updates tg channel Jun 24 19:49:17 @Realsteel412 [Guys anyone using any banking app through anbox ?], depends on app Jun 24 19:50:34 @Deathmist1337 [ye, you can get the latest one from erfan's GSI updates tg channel], On stock OOS 9 or Los 16? Jun 24 19:50:55 LOS 16 vendor, that's the only one I've tested as working myself Jun 24 19:51:00 @NotKit [depends on app], i suppose to be fair, apps for traditional banking institutions might mostly work, but payment apps and "internet bank" type bank apps probably will be more demanding of certain android features Jun 24 19:51:22 Tinkoff seems to work Jun 24 19:51:53 @Deathmist1337 [LOS 16 vendor, that's the only one I've tested as working myself], OK, will let u know once I flash Los and ready to flash these files Jun 24 19:55:47 @NotKit [depends on app], Does Ubuntu Touch not have Safetynet's problem like android ? Jun 24 19:56:14 if apps depend on SafetyNet, they won't work Jun 24 19:56:18 we don't have SafetyNet Jun 24 19:56:24 @Realsteel412 [Does Ubuntu Touch not have Safetynet's problem like android ?], Safetynet is gapps specific stuff Jun 24 19:56:25 [Edit] we don't have SafetyNet nor GMS Jun 24 20:28:01 Failed boot on newly flashed LG G4, Help needed Jun 24 20:28:06 On host, output of: … dmesg -w … https://pastebin.ubuntu.com/p/Py22yWD58F/ … On the device, output of: … dmesg | grep error … dmesg | grep failed … mount … can be seen here: … https://pastebin.ubuntu.com/p/JzmGvHjsXm/ Jun 24 20:37:54 You built the images yourself? Jun 24 20:39:00 what is the output of … dmesg | grep Kernel Jun 24 20:44:33 @NickNickerYT [Is it needed? Or optional, just to make anbox work better? … Because with binder a …], its needed Jun 24 20:46:48 @Deathmist1337 [ye, you can get the latest one from erfan's GSI updates tg channel], https://mirrors.lolinet.com/firmware/gsi/ … Which one here? Ab or a Jun 24 20:47:31 @S [https://mirrors.lolinet.com/firmware/gsi/ … Which one here? Ab or a], https://build.lolinet.com/file/halium/GSI/ Jun 24 20:48:53 @erfanoabdi [https://build.lolinet.com/file/halium/GSI/], Thanks Jun 24 21:05:09 @Deathmist1337 [LOS 16 vendor, that's the only one I've tested as working myself], got into ut. need to insmod now. what's the default passphrase? Jun 24 21:06:03 @S [got into ut. need to insmod now. what's the default passphrase?], ubports? It's 'phablet', as the username Jun 24 21:06:55 @NickNickerYT [ubports? It's 'phablet', as the username], worked. thanks Jun 24 21:08:06 @NickNickerYT [ubports? It's 'phablet', as the username], ubuntu touch is the os. ubports is the community, not the os. Jun 24 21:08:59 Yeah yeah, I know, I meant UT Jun 24 21:18:33 @Deathmist1337 [], wlan working Jun 24 21:18:46 @lonerider_one [You built the images yourself?], Yes, I built it myself. I followed the guides in detail (just like when I built for Samsung S7 recently). The output of 'dmesg | grep kernel' is here: https://pastebin.ubuntu.com/p/BnZhkxhpsR/ Jun 24 21:18:56 @Deathmist1337 [], try inserting sim? or that's going to be a disaster? Jun 24 21:19:24 it should "work", mobile data just doesn't work and I haven't bothered testing SMS or calls either in any way Jun 24 21:20:11 @Deathmist1337 [it should "work", mobile data just doesn't work and I haven't bothered testing S …], I think I read having sim inserted creates kernel panic and infinite bootloop? Jun 24 21:20:38 nah, it just fails to boot sometimes and crashes 100% of the time when you have a SIM inserted and try shutting it down Jun 24 21:22:39 @aribk [Yes, I built it myself. I followed the guides in detail (just like when I built …], Did you try a different rootfs? Jun 24 21:23:14 @Deathmist1337 [nah, it just fails to boot sometimes and crashes 100% of the time when you have …], crashed right after inserting sim Jun 24 21:23:29 rip, well it should boot some time so you can test things :p Jun 24 21:23:42 tried rebooting. crashed again after ubuntu screen loads Jun 24 21:25:46 The only times I've had this problem was when 1) my kernel and system.img were out of sync 2) the kernel command line was looking for system in the wrong place, or 3) the rootfs was bad. Jun 24 21:29:08 @lonerider_one [Did you try a different rootfs?], No, but that's just because I didn't manage to make that work on the S7. Do you mean the arm64 rootfs? Jun 24 21:29:44 @S [tried rebooting. crashed again after ubuntu screen loads], keep trying, it should boot after a few tries, there is definitely some race condition that the phone doesn't like and just decides to die instead of just making the process wait Jun 24 21:29:57 @ankaos [enes@enes:~/halium$ ssh phablet@10.15.19.82 … ssh: connect to host 10.15.19.82 por …], Don't use SIM1 on OP5/5T Jun 24 21:30:02 Oops Jun 24 21:30:06 Didn't see that Jun 24 21:33:10 @erfanoabdi [its needed], thanks! it worked Jun 24 21:34:06 @Deathmist1337 [keep trying, it should boot after a few tries, there is definitely some race con …], switched to slot 2 and it crashed. worked after rebooting. was able to make and receive a call. just when entering the ap settings, crashed again Jun 24 21:34:34 oh nice, was call audio working? Jun 24 21:35:03 @Deathmist1337 [oh nice, was call audio working?], yep Jun 24 21:35:15 apn setting wouldn't stay checked. Jun 24 21:35:16 @lonerider_one [The only times I've had this problem was when 1) my kernel and system.img were o …], I was actually wondering whether there could be a problem with the fstab.qcom file. It differs a bit from others I have seen and apparently gives multiple lines (or two, actually) for more than one partition, as far as I can see. I found tha Jun 24 21:35:16 t a bit odd, but don't know if it's significant. Jun 24 21:35:39 @S [yep], awesome :D I thought this port was in a much more dire state, I may start investing more time into this just to get it done Jun 24 21:35:42 @Deathmist1337 [oh nice, was call audio working?], also, it seems I need to insmod everytime after reboot Jun 24 21:36:00 yep, you can make an upstart service file that does it on boot though Jun 24 21:36:48 @Deathmist1337 [yep, you can make an upstart service file that does it on boot though], dont' have a clue of upstart. I guess no systemd yet on 16.04? Jun 24 21:36:51 (Document) https://irc.ubports.com/Zy90SQaM.txt Jun 24 21:37:35 I did the whole fixup mountpoints thing, though. Jun 24 21:40:02 @Deathmist1337 [], where goes the conf file? Jun 24 21:40:04 @aribk [I was actually wondering whether there could be a problem with the fstab.qcom fi …], It's odd for sure. I'd clean it up but I'm not sure it is your problem. Everything seems to be mounting okay. … I was thinking a different build date of rootfs. Because it's built on edge there are times it just doesn't work. Jun 24 21:41:02 @S [where goes the conf file?], did you try opening it and reading what's inside? ;) also we should continue in the UBports Porting channel as the discussion is starting to get Ubuntu Touch specific Jun 24 21:42:34 @lonerider_one [It's odd for sure. I'd clean it up but I'm not sure it is your problem. Everythi …], Ok. I'll try that tomorrow. If the issue is one of the two others you mentioned, how does one check and fix those? Jun 24 21:45:11 so the out of sync thing was me not paying attention. Flashing a new kernel without flashing the new system.img can break stuff depending on what you've changed. And your kernel command line seems okay to me. Jun 24 21:46:19 Sounds good. Made sure I built both at the same time. Jun 24 21:46:39 That seems to be best Jun 24 21:48:09 I'm not around tomorrow but I think you've reached the end of my knowledge anyway. Jun 24 21:52:31 Thanks a lot for your help! :) Jun 24 21:53:53 Anytime Jun 24 22:10:06 ✋ … How do I grab logs from Halium GSI? it's stuck on the boot splash and it connects an MTP device to my computer called "Failed to boot" Jun 24 22:53:09 ninja: error: '/home/enes/hadk/out/target/product/tissot/obj/STATIC_LIBRARIES/librecovery_updater_msm8953_intermediates/export_includes', needed by '/home/enes/hadk/out/target/product/tissot/obj/EXECUTABLES/updater_intermediates/import_includes', missing and no known rule to make it Jun 24 22:53:20 how fix this problem? Jun 25 01:54:11 Achaturvedi was added by: Achaturvedi Jun 25 02:38:53 PratyushOfficial was added by: PratyushOfficial **** ENDING LOGGING AT Thu Jun 25 02:59:57 2020