**** BEGIN LOGGING AT Mon Jun 17 02:59:58 2019 Jun 17 04:06:19 kumarayush2104 was added by: kumarayush2104 Jun 17 04:06:31 Hey guys Jun 17 04:07:10 Fwd from kumarayush2104: **************************************************************** … **************************************************************** … ERROR: ms013g does not have mountpoint fixup data - see … Sailfish OS HADK for details on how to fix this. … ******* Jun 17 04:07:10 Fwd from kumarayush2104: How to fix this Jun 17 04:07:11 Fwd from kumarayush2104: Helium os Jun 17 04:07:11 Fwd from kumarayush2104: Building bootinage Jun 17 04:07:30 Add the fixup mountpoint data Jun 17 04:07:32 It's in the guide Jun 17 04:07:41 Wait lemme check brother Jun 17 04:08:08 I'm not sure if it's in the Sailfish guide but I know it's in the halium porting guide Jun 17 04:10:47 How to do that Jun 17 04:10:55 I didn't understand what's written Jun 17 04:11:10 (Photo, 540x960) https://irc.ubports.com/HnPp3QvR.png Jun 17 04:11:14 I got my fstab Jun 17 04:11:23 Enabled adb root access Jun 17 04:11:25 And now ? Jun 17 05:18:33 Is there any chance of Halium supporting devices supported by regular mainline Linux like the Raspberry Pi or x86 desktops? Jun 17 05:27:19 (Document) https://irc.ubports.com/u7a2gmFU.mp4 Jun 17 05:27:32 Pinephone Jun 17 05:27:43 Pinetab Jun 17 05:27:43 Again... Same gif Jun 17 05:27:49 Again same gif Jun 17 05:27:52 Any raspberry pi tablets that exist Jun 17 05:28:14 It would be nice to run OSes like ubuntu touch on those devices Jun 17 05:28:18 If mainline is supported you don't need Halium Jun 17 05:28:35 Ubuntu touch can run natively without Halium/Android/libhybris crap Jun 17 05:28:45 How would I go about doing that? Jun 17 05:29:05 I know about installing Unity 8 on 18.04 but that isn't true Ubuntu Touch Jun 17 05:29:26 Well, ask in UBports group? Jun 17 05:29:31 On high-level Jun 17 05:29:49 UBports can run fine using mesa graphics and native Linux drivers Jun 17 05:30:00 You don't need Halium on pinephone Jun 17 05:30:09 That's whole point of that pinephone Jun 17 05:30:18 Alright I'll have a look Jun 17 07:39:37 @TuxThePenguin which device do you have in mind? Jun 17 07:40:44 I was curious about potentially running Ubuntu Touch on SBCs like the Raspberry Pi as well as the Pinetab (although I'm betting the Pinetab will have an official port pretty quickly since it's so open) Jun 17 07:43:52 Partly because it's difficult to justify the cost of a device that will work with Ubuntu Touch and devices like that are usually under $100 which is much more affordable Jun 17 07:44:07 [Edit] Partly because it's difficult to justify the cost of a device that will work with Ubuntu Touch and mainline supported devices like that are usually under $100 which is much more affordable Jun 17 07:45:19 Also because my axon 7 port is kind of stuck with this weird problem with the LXC containers :P Jun 17 07:48:16 @TuxThePenguin [Also because my axon 7 port is kind of stuck with this weird problem with the LX …], what problem? Jun 17 07:54:26 The LXC container isn't starting, I have spent a while trying to figure it out and got nowhere Jun 17 07:56:54 do you have pmOS port for the device? Jun 17 07:57:18 pmOS? Jun 17 08:01:24 PostmarketOS ? Jun 17 08:04:17 Oh, I haven't even gotten the reference halium rootfs to work yet Jun 17 08:08:41 @TuxThePenguin [The LXC container isn't starting, I have spent a while trying to figure it out a …], have you tried to start it manually? and what error does it print? Jun 17 08:09:04 and btw which version of lxc? Jun 17 08:09:20 I did try manually starting it and the errors were the same as when it was automatically starting Jun 17 08:09:38 I don't think the logs are here since they were on ubuntu pastebin Jun 17 08:10:20 maybe you remember your kernel version then? Jun 17 08:10:30 Oh the kernel is 3.18 Jun 17 08:11:28 And since the device is from a chinese company the base hardware is relatively close to the qualcomm reference design so there is almost no reason that this should be happening Jun 17 08:12:09 lxc itself does not start or android inside of it? Jun 17 08:12:19 Florian was having a problem that was spitting out similar errors related to LXC trying to use kernel disabled cores that were faulty on his Nexus 6p Jun 17 08:12:25 LXC doesn't start Jun 17 08:12:54 iirc it spat out a ton of errors saying something about an "invalid argument" Jun 17 08:22:55 TuxThePenguin: Any logs you could post would be great Jun 17 08:23:50 and I suggest to try LXC in some recent enough rootfs, like Debian PM or postmarketOS Jun 17 08:23:56 reference is too outdated Jun 17 08:24:48 I also tried the ubuntu touch rootfs and the same thing happened, this was probably a month ago now so to get logs I will have to get my dev environment setup and run tests again Jun 17 08:26:26 The Ubuntu Touch rootfs is not much more up to date then the reference rootfs in terms of e.g. the LXC version. Jun 17 08:26:36 [Edit] The Ubuntu Touch rootfs is not much more up to date than the reference rootfs in terms of e.g. the LXC version. Jun 17 08:27:52 Alright I'll try that once I am done with other work I need to finish in a few weeks Jun 17 10:16:57 @TuxThePenguin [Florian was having a problem that was spitting out similar errors related to LXC …], There is an upstream patch now, I am working on a backport to 2.0.11 already Jun 17 10:17:56 Alright I'll test after that since I'm not sure if that will help my device because unlike the 5X and 6P it doesn't have any hardware defects Jun 17 11:13:30 @TuxThePenguin [Alright I'll test after that since I'm not sure if that will help my device beca …], What is the error message? Did you try lxc-start -n android? Jun 17 11:14:15 I don't remember specifically what the error was Jun 17 11:15:27 Oh ubutu pastebin still has it https://paste.ubuntu.com/p/cXrykk4Y8P/ Jun 17 11:16:00 It is exactly the same error Jun 17 11:16:18 One or more of your cpus is offline or disabled Jun 17 11:16:26 Huh weird Jun 17 11:47:03 Whats your kernel cmdline Jun 17 11:53:29 I'll have a look through some of the logs to see if I included that anywhere Jun 17 11:55:09 I don't think I sent it Jun 17 11:55:51 I'll have to figure that out later since I don't have a huge aount of free time at the moment and currently my Linux install is broken Jun 17 11:55:56 [Edit] I'll have to figure that out later since I don't have a huge amount of free time at the moment and currently my Linux install is broken Jun 17 12:02:14 Hey! Decided to get back to porting for cheeseburger on 7.1 and I get `vendor/nxp-nfc/opensource/frameworks/Android.mk:23: build/core/java_library.mk: No such file or directory` during `mka halium-boot` Jun 17 12:02:30 iirc I fixed it before by creating an empty file in it's place, is that a good idea? Jun 17 12:03:01 For the axon 7 I completely removed all the nxp nfc sources but that's probably not the best way to do it Jun 17 12:03:31 are those sources used for NFC drivers within e.g. Ubuntu Touch? Jun 17 12:03:40 I assume so Jun 17 12:03:51 Although I'm not sure what Ubuntu Touch's NFC support is like Jun 17 12:04:19 I don't use it myself pretty much at all so not a big deal for me, thought I'd just ask :p Jun 17 12:04:30 Yeah same for me lol Jun 17 12:05:52 just found a `static_java_library.mk` in the directory, I definitely just symlinked it before and it built xD Jun 17 12:19:14 alright `hybris-boot` built successfully, but as a sanity check I verified the generated `.config` and still has 30 errors compared to 0 in the defconfig I edited Jun 17 12:33:05 tbh they look non-crucial, guessing the halium reference rootfs doesn't work with halium-boot so I'll move on to UT specific guides after making systemimage Jun 17 12:36:07 Ok. There should be a way to query with grep /proc/cpuinfo, maybe you can pastebin that Jun 17 12:39:37 @Deathmist1337 [Hey! Decided to get back to porting for cheeseburger on 7.1 and I get vendor/nxp …], In Android.mk … Remove the java part Jun 17 12:40:26 well it built already fine, will do once the systemimage is done :) Jun 17 12:43:35 If you manage to have ssh/telnet on cheeseburger, ping me … I'm trying to port UT on cheeseburger but for now I'm stuck Jun 17 12:49:33 for sure! I got a bunch of experience and defconfig ideas from trying out Sailfish, btw which one https://pastebin.com/fpjQ8Tcn Jun 17 13:45:03 how would one debug halium-boot? nothing is showing up on host dmesg and device doesn't even seem to restart automatically Jun 17 13:48:23 when I get to fastboot it says secure boot is on, could that be an issue? Jun 17 14:01:38 starting to think it cannot mount /data, maybe flashing no-verity will help Jun 17 14:08:56 Do you have logs if you use halium-chroot in twrp? Jun 17 15:12:25 sorry I'm having a lots of issues right now with JB's halium-install script and I don't think it even installed properly last time, does this happen to other devices too? https://pastebin.com/06XyuFmq Jun 17 15:15:09 this is on latest 7.1 firmware, official TWRP 3.1.1-1 Jun 17 15:23:30 also tried `mount -o remount,rw /data` in adb shell but didn't change anything Jun 17 15:32:43 out of free space on `/data` ? Jun 17 15:36:55 just tried splitting the file, when copying the 3rd part of 1 GB splits (rootfs.img) my file manager just shows copied 0 bytes for around a minute and afterwards errors Jun 17 15:38:20 just restarted the phone, seems it can transfer again... super weird Jun 17 16:08:22 more likely out of RAM, I'll test with a swapfile Jun 17 16:22:15 well this is interesting, while doing `dd if=/dev/zero of=/data/swapfile bs=1M count=16384` it also stops at around 2 GB and `/data` becomes read-only? Jun 17 16:24:42 @Flohack [Whats your kernel cmdline], Btw how do we find this one ? Jun 17 16:25:20 @aurnytoraink [Btw how do we find this one ?], Should be in your defconfig Jun 17 16:25:34 `cat /proc/cmdline` from a running device Jun 17 16:25:49 Otherwise it's partially set in your `BoardConfig.mk`, `TARGET_BOARD_CMDLINE` I think Jun 17 16:26:13 Otherwise there's also a partial listing in the boot.img. You can use `abootimg -i` to find that. Jun 17 16:26:36 Since the bootloader adds arguments, though, getting it from a running system is best. Jun 17 16:26:47 @Deathmist1337 [well this is interesting, while doing dd if=/dev/zero of=/data/swapfile bs=1M co …], `dmesg` should have hints for you Jun 17 16:28:35 Ok so if my device needs selinux to boot I need to disable audit and after add command line in this file ? Jun 17 16:29:02 It's unlikely that it needs selinux to boot. It might warn you, but that's not the cause of it not booting. Jun 17 16:30:26 TARGET_KERNEL_CMDLINE actually Jun 17 16:30:26 Ok so if it's doing a bootloop then he doesn't come from that. I think that my actual problem is a kernel panic Jun 17 16:30:27 I think that's it Jun 17 16:30:40 Ok Jun 17 16:33:52 https://pastebin.com/4hXLziGN 🤔 Jun 17 16:34:32 should I try another TWRP? Jun 17 16:34:48 you should probably run e2fsck on that partition... Jun 17 16:38:18 https://pastebin.com/6aBbvB0P should be safe, right? Jun 17 16:45:38 who knows, maybe you'll have to reflash everything :) Jun 17 16:58:43 finally `halium-install` completed successfully! to be sure, I just now boot `halium-boot` and nothing else needs to be done? Jun 17 16:59:32 (by nothing else I mean e.g. flashing a `cm-14.1` ROM as a base etc) Jun 17 17:35:54 + Jun 17 17:39:23 No base ROM flashing needed. Jun 17 17:41:25 alright, still nothing tho after rebooting, I'll try to check some logs via `halium-chroot` I guess Jun 17 17:54:03 @NotKit [reference is too outdated], Can we add that note to the documentation? Jun 17 18:21:47 @aurnytoraink [Btw how do we find this one ?], yeah please do the cat /proc/cmdline from live system, it does not help probably to see the one from the tree, as it might get heavily modified by the bootloader. You may want to remove serial numbers and MAC addies from it Jun 17 18:39:07 I checked each of the breakpoint levels on `halium-boot`s readme and on all of them my device reboots after ~65 seconds, which logs would I be interested in reading from `halium-chroot`? Jun 17 18:39:11 [Edit] I checked each of the breakpoint levels on `halium-boot`s readme and on all of them my device reboots after ~65 seconds, which logs would I be interested in reading from `halium-chroot``? Jun 17 18:39:31 [Edit] I checked each of the breakpoint levels on ``halium-boot`s readme and on all of them my device reboots after ~65 seconds, which logs would I be interested in reading from `halium-chroot``? Jun 17 18:47:27 @Deathmist1337 [I checked each of the breakpoint levels on `halium-boot`s readme and on all of t …], Did you boot into recovery after each of those tries and tried to gather the last_kmsg log? Jun 17 18:49:16 nope, will do now (I'm kinda new with this still) Jun 17 18:57:06 @Deathmist1337 [/proc/last_kmsg right? well that file isn't there. the break level stuff is unde …], try /sys/fs/pstore/console...smth Jun 17 18:57:36 well then your kernel is strange Jun 17 18:57:49 It seems to reboot immediately without doing anything useful Jun 17 18:59:17 I've got to telnet on Sailfish with `hybris-boot` so maybe I'm missing something with `halium-boot`, am I missing a fixup-mountpoints for that or does it "just work" by itself without manual mountpoint definitions? Jun 17 19:00:49 does the init system know where to look for fstab, mine should be placed in `/root/fstab.qcom` Jun 17 19:00:55 no, it should take mountpoints from halium Jun 17 19:01:32 Even with no root fs found, you should get dmesg into last_kmsg or console_ramops file Jun 17 19:01:43 its not clear why there is no crash log Jun 17 19:05:15 strange... so the mountpoints wouldn't be defined in an editable file on my source tree then? Jun 17 19:14:07 I've also been using regular los source from scratch, there seems to be an upstream version of my kernel and device configs, I should probably verify my findings with those sources instead as well Jun 17 19:25:40 @Deathmist1337 [strange... so the mountpoints wouldn't be defined in an editable file on my sour …], If you read the Halium document, you will see how the fixup_mountpoint script needs to be populated. But you say it works with hybris-boot, it should also work with halium-boot. Did you apply the UT kernel checker and set all kernel parame Jun 17 19:25:40 ters? They are a lot different from Halium, KDE etc Jun 17 19:32:29 `halium-boot` doesn't use hybris-boot's fixup_mountpoints tho does it? it works with hybris-boot on Sailfish and I've got telnet and ssh there but I should also probably try the reference rootfs here w/ hybris-boot. haven't heard of the UT kernel checker as I've only used the one for halium, where would I find those tools? Jun 17 19:41:12 I may actually switch over to trying out plasma mobile if I manage to get the reference rootfs working with hybris-boot 👍 Jun 17 19:51:32 So let me help you: if reference rootfs does not boot with hybris-boot, dont start iwth Ubuntu Touch ;) Jun 17 19:51:52 And yes, you need to follow the porting guide for UT, it mentions the other kernel config checker Jun 17 19:52:16 Please read all docs before you come and ask, its really documented nicely Jun 17 19:55:54 my mistake, sorry! this is why I got stuck before too. Jun 17 20:32:16 k stroescu was added by: k stroescu Jun 17 20:32:17 (Document) https://irc.ubports.com/s9xmhiMD.apk Jun 17 20:33:28 W Jun 17 20:33:28 T Jun 17 20:33:29 F Jun 17 20:34:42 @k stroescu [], Spam & dangerous Jun 17 20:35:15 My mom says don't install .apk from stranger Jun 17 20:36:11 Haha Browser Update Jun 17 20:36:52 Send SMS permission and phone permission Jun 17 20:42:28 1000% TRUSTY Jun 17 20:43:03 There's a lot less spam noise if you don't reply to it. ;) Jun 17 20:44:04 Or we can create a bot that automaticaly ban them Jun 17 20:44:20 Sure, go for it Jun 17 20:44:48 Well actually I'm trying to develop a Snapchat alternative for UT Jun 17 20:45:05 So I can't spend the time on code this bot Jun 17 20:45:32 Well, I guess deleting the spam 1-20 minutes after it's posted will have to do then. Jun 17 20:48:43 Or maybe more condition, like a dictionary. Like that we can make something looks like … ``` … if (text == "cryptocurrency" and timer < 20): … ban() Jun 17 20:48:50 [Edit] Or maybe more condition, like a dictionary. Like that we can make something looks like … if (text == "cryptocurrency" and timer < 20): … ban() Jun 17 20:50:10 People have been trying to get rid of spam on the internet for 41 years. We're not going to fix it in this group of Android hackers. Jun 17 20:50:16 else: … print("You're welcome") Jun 17 21:17:33 It seems to be possible with @MissRose_bot … `/addblacklist binance` … `/blacklistmode ban` Jun 17 21:18:18 The bot has to be added to the channel and be made administrator Jun 17 21:28:00 oh and after that use … `/goodbye off` … so the bot itself isn't verbose about banning the spammer Jun 17 21:30:12 [Edit] The bot has to be added to the group and be made administrator Jun 17 21:42:19 got reference rootfs installed & hybris-boot setup and booting `hybris-recovery` yields this in /data/init-stderrout: `hybris-boot: Booting /sbin/init in real rootfs` Jun 17 21:49:40 @degen [oh and after that use … /goodbye off … so the bot itself isn't verbose about banni …], sounds great Jun 17 21:50:47 update: `/var/log/syslog` has content! Jun 17 21:50:56 @degen [The bot has to be added to the group and be made administrator], @UniversalSuperBox @Flohack Jun 17 21:51:20 Sorry, no time for that ATM **** ENDING LOGGING AT Tue Jun 18 02:59:57 2019