Tuesday, 2025-03-18

Mister_Magistermodified the script and got them to be inside zip sadly @b100dian i don't know what you changed to make mic build .gz, i don't see anything about it in your repos nor do you even modify kickstart00:08
T42<b100dian> Sorry it was named create-image : https://github.com/sailfishos-on-sake/Release/blob/main/scripts/create-image.sh#L6800:10
T42<b100dian> Going to log out now00:11
Mister_Magisterah no sorry file manager got cached00:11
Mister_Magisternow i have bz2 AND gzip inside zip00:11
Mister_Magisterand i got better solution than using external .sh xd00:12
Mister_Magisterhttps://github.com/VerdandiTeam/droid-config-pipa/blob/master/kickstart/pack_package-droid-updater00:13
T42<TheVancedGamer> hi michal08:07
T42<TheVancedGamer> heads up for messages in SFOS fan chat08:07
T42<TheVancedGamer> bye michal08:07
T42<Mister_Magister> ??? (re @TheVancedGamer: heads up for message...)08:45
Mister_Magistermal: gooooooooooooood morning i'm here to torment you again! The xiaomi-keyboard service is in /vendor/etc/init/hw and I tried to disable it like all the other services https://github.com/VerdandiTeam/droid-config-pipa/blob/master/sparse/usr/libexec/droid-hybris/system/etc/init/disabled_services.rc#L43 but that didn't work, i tried to override it with my executable from droid-exec but that also didn't work and beside mount --09:19
Mister_Magisterbind i'm out of ideas09:19
*** rdr_ is now known as rdr09:43
T42<parmjotsinghrobot> @Mister_Magister why did you ban me from the fan group 😔10:07
T42<parmjotsinghrobot> I didn't do anything harmful10:07
T42<parmjotsinghrobot> If anything it was very light humor10:07
Mister_Magisterthis is not a place to discuss such things.10:07
T42<parmjotsinghrobot> Where should I do so then?10:08
T42<parmjotsinghrobot> Your DMs?10:08
malMister_Magister: show the xiaomi-keyboard rc file10:17
Mister_Magisterhttps://paste.opensuse.org/pastes/bae35331bc0510:19
Mister_MagisterI'm really tempted to just mount --bind the binary xd10:32
Mister_Magisterbtw guys is there any instruction about adding encryption?10:36
malcheck log to see which service it finds10:45
Mister_Magisterhmm okay10:46
Mister_Magisterby log you mean logcat or droid-hal-init.log10:47
Mister_Magisterwait i don't think there's hal-init log10:50
maljournal maybe10:51
Mister_Magisterdroid-hal-init doesn't seem to be logging to journal :/10:51
Mister_Magisteri think its because the service is from vendor and not from system but its just my dumb guess10:52
malyou could try adding override keyword10:53
Mister_Magisteras in below like the disabled?10:53
malyes10:54
Mister_Magisterdidn't help sadly11:03
Mister_Magisterthe only issues left are the xiaomi-keyboard and problem with wifi mac address, on first boot it takes a hot second for wifi to initalize and ssu generates id before that11:13
Mister_Magisterand i think Keto will be very grumpy if device randomly loses wifi mac address and changes id11:13
Mister_Magisteri might need to add like sleep 10 in post11:14
Mister_Magister@b100dian did you do encryption stuff?11:41
T42<b100dian> Yes. What type of image are you building?11:48
Mister_Magisterthere are different types?11:48
Mister_MagisterI was thinking of either building userdata image instead of extracting zip or full blown encryption with partitions and stuff11:48
Mister_Magisterbut i don't understand how mic works11:48
T42<b100dian> I mean lvm vs .stowaways11:48
Mister_Magistercurrently its .stowaways11:50
Mister_Magisterand instead of extracting to .stowaways i was thinking of making userdata image11:50
Mister_Magisteror if i'm at that point already, lvm11:50
T42<b100dian> For the lvm image I think official encryption works too. Community works on both11:51
Mister_Magisterwhat do you mean on both?11:51
T42<b100dian> Btw, do you have fingerprint?11:51
Mister_Magister.stowaways can be encrypted?11:51
Mister_Magisterno11:51
T42<b100dian> I mean untar to .stowaways is also supported by community encryption.11:52
T42<b100dian> You can look into sake11:52
Mister_Magisterhuh11:52
Mister_Magisterbut… is it doable to generate userdata image instead of untaring in recovery?11:52
Mister_Magistershould be possible no?11:52
Mister_Magisterheck i could just hack it and in kickstart attachment just create the image myself but mic shuold be able to create the image11:53
Mister_MagisterI want to create image because recovery cannot format data in a way that sfos can mount it afterwards11:53
T42<b100dian> Is it userdata image or system one too?11:54
Mister_Magisterand if you have to format userdata from fastboot might as well just flash userdata11:54
Mister_Magisterjust userdata11:54
Mister_Magisterbasically i wanna make image with extracted .stowaways11:54
Mister_Magisterlike the same thing the installation script does just do it in advance11:54
T42<b100dian> Let me know if you find a way, I am interested in that too11:54
Mister_Magisteroh so you also don't know… oke11:54
Mister_Magisteri could hack it but ugh11:55
T42<b100dian> No, I don't know how, but I had the same need when I was trying to directly flash over stock on nagara, and the recovery did not offer root, so it was fastboot only "access"12:06
Mister_Magistermic's documentation is borderline non-existent13:39
Mister_Magisteri cannot comprehend how does it work13:39
malwhat are you trying to do?13:44
Mister_Magistercreate userdata image that contains .stowaways/sailfishos and sfos in there13:44
Mister_Magisterbasically what the recovery script does as a ready image13:45
malok, I just did the lvm way13:45
malhttps://github.com/mlehtima/droid-config-fp5/blob/master/kickstart/pack/fp5/hybris13:45
Mister_Magisteryeah im not sure i wanna go full lvm13:45
Mister_Magisterbut13:45
Mister_Magisteri think i have to hack it just like you're doing in there13:45
Mister_Magisterbasically don't pack the rootfs into .tar.bz2 and in that file, create image and put stuff in there13:46
Mister_Magistercause i don't understand how can i force mic to build image for me13:46
Mister_Magisteri doesn't want to build image13:46
Mister_Magisterexcept you get the root.img and i DONT UNDERSTAND HOW13:47
Mister_Magisterits frustrating13:47
Mister_Magisternothing in the .ks file suggests building root.img13:49
Mister_Magisterthe only mention of it is when its done13:50
malI wonder if those come from https://github.com/mlehtima/droid-config-fp5/blob/master/kickstart/part/fp513:56
Mister_Magisternope13:56
Mister_Magisteri have part / --size 500 --fstype=f2fs --label=root13:56
Mister_Magisterno image is happening13:57
Mister_Magisterit just copies to rootfs13:57
Mister_Magisteri wonder if it depends on fstab13:59
Mister_Magisterjesus its in the mic command14:11
Mister_Magistersudo mic create fs vs sudo mic create loop14:11
Mister_Magisteri'm so dumb14:11
Mister_MagisterKeto: how unhappy will you be if at first boot ID is different than on subsequent boots14:14
Mister_Magisterayyyy got root.img14:28
Mister_Magisterproblem is that its not in subdirectory14:29
Mister_MagisterI think short of creating image myself there isn't way to do that, i could use mic to create empty image for me but thats about it14:38
Mister_Magisteryeah i'm quite convinced, i'll use mic to generate rootfs for me and i'll create image myself14:47
Mister_Magisternow i'm struggling with how to format image as ext4 since mersdk doesn't seem to have mkfs.ext4 but mic seems to be able to do it anyway15:42
Mister_Magistermkfs doesn't exist mkfs.ext4 doesn't exist idk what to do15:48
Mister_Magisterand I cannot mount f2fs15:48
T42<fredldotme> mke2fs?15:48
Mister_Magisteri can try next altho in mic i noticed /sbin/mkfs. path, maybe its just not in standard path15:50
Mister_Magisteryeah that was it15:58
Mister_Magistermal: do you know if there's some sysfs with wifi mac address so that i can make service that waits for it?18:06
Mister_Magistermal: i mount --bind my xiaomi-keyboard over the vendor one and now i have mouse coursor on my screen lol18:08
Mister_Magisterapparently chinese version of keyboard has mousepad and the kernel must be just emulating keyboard and mouse so it just works18:09
KetoMister_Magister: the device ID changing is not good thing...18:35
Mister_MagisterKeto: I'm in process of implementing script that will wait for wifi so that you're not angry at me xd18:35
Ketosomething in the hal that sets the mac, but takes it's time or what's the problem?18:38
Mister_Magisteryeah18:38
Mister_Magisterwifi intialization takes a looong time on first boot18:39
Ketook, I probably can't help with that :)18:40
Mister_Magisteryeah no worries just wanted to know how much in trouble am i18:40
Ketowell, not in big trouble. but would be better if the reported ID is stable18:44
Mister_Magisteryeah i thats what i thought18:45
Mister_Magisterafter first boot its stable but people tend to log in on first boot so18:45
Ketoas it may lead to unexpected behavior if it changes18:45
T42<DerRenard> Hello all.19:35
T42<DerRenard> I'd like to know if someone built or saw a ROM of SailfishOS for Xiaomi Redmi 7a(pine).19:35
T42<DerRenard> If nobody saw it, I'm going to build it for myself, but I'm not sure will it work or not.19:35
Mister_Magisterthere's not a single mention of Xiaomi Redmi 7a in logs but i would try googling if I were you19:37
T42<DerRenard> I did. Found nothing about it. Also i saw a postmarketos for this phone but i can't load in it. It stuck after loading screen with green logo.19:44
T42<DerRenard> 19:44
T42<DerRenard> I've tried a lot of thing to make it load, but nothing helped. Have you any idea why i couldn't load in it after this loading screen? The friend of mine told me, that it could be a kernel error, maybe it had beed built with an error or something else, but I'm not sure. I know it isn't the right place to ask about PMOS, but if you can help it would be awesome (re @SailfishFreenodeIRCBridgeBot: <Mister_Magister>the...)19:44
Mister_MagisterYou're correct this isn't right place to ask about PMOS20:01
T42<DerRenard> But if you can help it would be really awesome (re @SailfishFreenodeIRCBridgeBot: <Mister_Magister>You...)20:19
Mister_MagisterI can't20:19
Mister_MagisterI cannot figure out how does sfos get wifi mac address21:14
Mister_MagisterKeto: i've corrected the issue so i'll be a good boy :D23:26
Mister_Magisterbitly blocked faq-hadk link and in general it would be nicer if we didn't use bitly in title links23:42

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