Friday, 2023-01-06

T42<vulkanops> /notes02:38
T42<vulkanops> what version is the project currently on?02:53
*** amccarthy is now known as Guest40103:20
*** amccarthy_ is now known as amccarthy03:20
*** amccarthy is now known as Guest40203:29
*** amccarthy_ is now known as amccarthy03:29
T42<edp_17> @elros34 : Hi, I need a little help. When installing sfos*.zip in twrp, I get error 'cannot extract filesystem. Error 7'. Also tried install it in los' own recovery via adb sideload. Same issue. Also tried manually extract the *.tar.bz2 into /data/.stowaway/sailfishos/ but there is no busybox. I've seen you mentioned someone a solution for this pproblem but couldn't find what required. Could you please let me know?19:52
T42<edp_17> Using older twrp not an option as I tried with the oldest (3.3.1.0)19:53
piggzi once changed the kickstart scripts to archive in anoother supported format19:54
T42<edp_17> Do you have an example?19:56
piggzcant find anything atm, but its a case of swapping bzip2 command to gzip, and gunzup as needed20:11
piggzif you make a fastboot image, you dont need to do any of that20:11
T42<edp_17> How can I make a fastboot image?20:16
T42<adampigg> its difficult to explain, but you need to some patches like these to your config, look at this and the next few in https://github.com/sailfish-on-fxtecpro1/droid-config-t5/commit/ad3186422e8e49c549798af4070371eac1d0f79c20:22
T42<adampigg> then, you need to build the kernel differently20:22
T42<adampigg> search the logs for LVM build20:22
piggzgood evening spiiroin20:25
T42<edp_17> piggz : Thank you.20:38
T42<b100dian> @edp_17 for gzip I think I did just https://github.com/sailfishos-on-tucana/hybris-boot/commit/ab283965e5adcc9566c4e6e4450eb681b5d92752 and https://github.com/sailfishos-on-tucana/Readme/blob/main/scripts/create-image.sh#L66 (one line)20:46
T42<b100dian> But lvm build should be superior ;)20:47
malwhich compression formats are properly supported in twrp?20:48
malmaybe we should change the default in hybris builds20:48
T42<adampigg> @b100dian oh, you sent a gitlab request ... you should remind me :)20:48
T42<b100dian> No worries, no rush:)20:49
T42<adampigg> mal: yeah, bz2 hasnt been well supported for ages it seems20:49
T42<b100dian> It exists but it crashes when unpacking on my twrp20:49
T42<edp_17> @b100dian : Thanks. I am thinking about that lvm build. This will be the first one. (I have no idea what boot_a and boot_b are though.)20:49
malyeah, something odd why it nowadays crashes, is it running out of memory or what?20:50
T42<b100dian> I don't remember exactly, I'll see if I find some logs20:50
T42<edp_17> piggz : in here where from I should get vendor.img001 and fimage.img001 ? https://github.com/sailfish-on-fxtecpro1/droid-config-t5/commit/5919b79e1067dadcb1c91cc2d42b201911c463aa20:50
T42<b100dian> mal: most of the mentions of bunzip2 in this channel (I've used telegram search) are for missing it20:53
T42<b100dian> There is only one that says otherwise https://t.me/sailfishos_porters/108949 (Even I said I am missing it, but I need to boot into it to make sure;)20:53
malok, any ideas for good replacements?20:54
T42<b100dian> for my device gunzip was the fallback. I don't think it is better, though. There was just this limitation in twrp. Maybe they don't need bzip2 for anything and removed it. I don't find info on twrp.me about this20:58
malso no other formats are available?20:59
malis tar.xz possible?21:06
T42<b100dian> I will reboot to twrp to see if xz or bunzip2 are realy there. But it doesn't help that https://github.com/TeamWin/android_bootable_recovery/issues or twrp.me doesn't indicate a such small detail, so I don't know how helpful is that for other builds21:12
piggz@edp_17 those come from the image build from mic21:13
T42<b100dian> mal: so tar version is `toybox 0.7.6TOYBOX_VENDOR`, it doesn't find bunzip2/bzip2, and doesn't even parse -J (which would be xz, lzma etc)21:19
T42<b100dian> lvm everything :) ?21:19
T42<b100dian> or: mainline everything and call it a day ;)21:21
T42<elros34> or include busybox static and maybe "non busybox tar" someday with extenden attributes21:23
T42<elros34> support21:24
T42<edp_17> I'll try simply replacing bzip2 to gzip and gunzip in kickstart file, as it seems the quickest/easier way to workaround the bunzip error in twrp. If doesn't work will try to build fastboot img.21:25
T42<edp_17> @elros34 : how to include busybox static and non busybox tar?21:26
T42<b100dian> @elros34 so sfos could distribute busybox with the zip, is that what you're suggesting? And a compatible tar command21:27
T42<elros34> Yea, the non busybox tar is probably hard and just suggestion to get support for Capabilities. Own busybox tar requires changes in multiple places. I can find instructions if you really want to use it21:29
mal@b100dian ok, so tar.gz seems only option then, hopefully that would be more stable21:30
malI will discuss that internally at jolla next week21:31
T42<b100dian> Thanks mal - I think that will improve most of the porting (except file size, ofc)21:34
malyeah, not sure how much bigger the file will be with tar.gz21:35
webchansorry to interupt, but is hybris 13 or 14.1 still well supported?21:35
malthose should work21:36
T42<elros34> IIRC 13 wasn't used by many ports, 14 should be more popular21:42
webchanthank you. I've been trying to get 17.1 to work but it's been really rough on this older device. Mostly on the android build side.21:48
T42<edp_17> What device?21:49
webchanmoto g4 play21:52
webchanI am considering a mediatek acer tablet but I might just leave that be21:53
T42<edp_17> On that device I'd use los14.1 as base. What's kernel version?21:55
webchanlet me check real quick21:57
webchan3.10.4921:58
T42<edp_17> Hm, I think with los17.1 base, probably, waydroid could work. However, for that the 2GB ram version is preferred.22:03
webchanwaydroid? Would 14.1 be easier to port to though, considering it's stable and the last version official was 6.0? I was just sick of debugging android side build errors when I know lineage os 14.1 compiles just fine. I'd never compiled 17.1 anything before22:12
T42<b100dian> needed for waydroid: CONFIG_ANDROID_BINDER_DEVICES: Android Binder devices (https://cateee.net/lkddb/web-lkddb/ANDROID_BINDER_DEVICES.html) found in Linux kernels: 4.11–4.20, 5.0–5.17, 5.18-rc+HEAD22:43
webchanhaha just found the manifest I used. no wonder it had so many issues. I mixed cm14 and los 18 sources for hybris 17. whoops23:01
webchansed: -e expression #1, char 33: unknown option to `s', fixup-mountpoints error when building hybris-hal... I've checked the formatting, I don't see any extra apostrophes or slashes to cause this23:58
webchanhave you guys ran into this?23:58

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!