Mister_Magister | modified 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 kickstart | 00:08 |
---|---|---|
T42 | <b100dian> Sorry it was named create-image : https://github.com/sailfishos-on-sake/Release/blob/main/scripts/create-image.sh#L68 | 00:10 |
T42 | <b100dian> Going to log out now | 00:11 |
Mister_Magister | ah no sorry file manager got cached | 00:11 |
Mister_Magister | now i have bz2 AND gzip inside zip | 00:11 |
Mister_Magister | and i got better solution than using external .sh xd | 00:12 |
Mister_Magister | https://github.com/VerdandiTeam/droid-config-pipa/blob/master/kickstart/pack_package-droid-updater | 00:13 |
T42 | <TheVancedGamer> hi michal | 08:07 |
T42 | <TheVancedGamer> heads up for messages in SFOS fan chat | 08:07 |
T42 | <TheVancedGamer> bye michal | 08:07 |
T42 | <Mister_Magister> ??? (re @TheVancedGamer: heads up for message...) | 08:45 |
Mister_Magister | mal: 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_Magister | bind i'm out of ideas | 09:19 |
*** rdr_ is now known as rdr | 09:43 | |
T42 | <parmjotsinghrobot> @Mister_Magister why did you ban me from the fan group 😔 | 10:07 |
T42 | <parmjotsinghrobot> I didn't do anything harmful | 10:07 |
T42 | <parmjotsinghrobot> If anything it was very light humor | 10:07 |
Mister_Magister | this 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 |
mal | Mister_Magister: show the xiaomi-keyboard rc file | 10:17 |
Mister_Magister | https://paste.opensuse.org/pastes/bae35331bc05 | 10:19 |
Mister_Magister | I'm really tempted to just mount --bind the binary xd | 10:32 |
Mister_Magister | btw guys is there any instruction about adding encryption? | 10:36 |
mal | check log to see which service it finds | 10:45 |
Mister_Magister | hmm okay | 10:46 |
Mister_Magister | by log you mean logcat or droid-hal-init.log | 10:47 |
Mister_Magister | wait i don't think there's hal-init log | 10:50 |
mal | journal maybe | 10:51 |
Mister_Magister | droid-hal-init doesn't seem to be logging to journal :/ | 10:51 |
Mister_Magister | i think its because the service is from vendor and not from system but its just my dumb guess | 10:52 |
mal | you could try adding override keyword | 10:53 |
Mister_Magister | as in below like the disabled? | 10:53 |
mal | yes | 10:54 |
Mister_Magister | didn't help sadly | 11:03 |
Mister_Magister | the 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 that | 11:13 |
Mister_Magister | and i think Keto will be very grumpy if device randomly loses wifi mac address and changes id | 11:13 |
Mister_Magister | i might need to add like sleep 10 in post | 11:14 |
Mister_Magister | @b100dian did you do encryption stuff? | 11:41 |
T42 | <b100dian> Yes. What type of image are you building? | 11:48 |
Mister_Magister | there are different types? | 11:48 |
Mister_Magister | I was thinking of either building userdata image instead of extracting zip or full blown encryption with partitions and stuff | 11:48 |
Mister_Magister | but i don't understand how mic works | 11:48 |
T42 | <b100dian> I mean lvm vs .stowaways | 11:48 |
Mister_Magister | currently its .stowaways | 11:50 |
Mister_Magister | and instead of extracting to .stowaways i was thinking of making userdata image | 11:50 |
Mister_Magister | or if i'm at that point already, lvm | 11:50 |
T42 | <b100dian> For the lvm image I think official encryption works too. Community works on both | 11:51 |
Mister_Magister | what 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_Magister | no | 11:51 |
T42 | <b100dian> I mean untar to .stowaways is also supported by community encryption. | 11:52 |
T42 | <b100dian> You can look into sake | 11:52 |
Mister_Magister | huh | 11:52 |
Mister_Magister | but… is it doable to generate userdata image instead of untaring in recovery? | 11:52 |
Mister_Magister | should be possible no? | 11:52 |
Mister_Magister | heck i could just hack it and in kickstart attachment just create the image myself but mic shuold be able to create the image | 11:53 |
Mister_Magister | I want to create image because recovery cannot format data in a way that sfos can mount it afterwards | 11:53 |
T42 | <b100dian> Is it userdata image or system one too? | 11:54 |
Mister_Magister | and if you have to format userdata from fastboot might as well just flash userdata | 11:54 |
Mister_Magister | just userdata | 11:54 |
Mister_Magister | basically i wanna make image with extracted .stowaways | 11:54 |
Mister_Magister | like the same thing the installation script does just do it in advance | 11:54 |
T42 | <b100dian> Let me know if you find a way, I am interested in that too | 11:54 |
Mister_Magister | oh so you also don't know… oke | 11:54 |
Mister_Magister | i could hack it but ugh | 11: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_Magister | mic's documentation is borderline non-existent | 13:39 |
Mister_Magister | i cannot comprehend how does it work | 13:39 |
mal | what are you trying to do? | 13:44 |
Mister_Magister | create userdata image that contains .stowaways/sailfishos and sfos in there | 13:44 |
Mister_Magister | basically what the recovery script does as a ready image | 13:45 |
mal | ok, I just did the lvm way | 13:45 |
mal | https://github.com/mlehtima/droid-config-fp5/blob/master/kickstart/pack/fp5/hybris | 13:45 |
Mister_Magister | yeah im not sure i wanna go full lvm | 13:45 |
Mister_Magister | but | 13:45 |
Mister_Magister | i think i have to hack it just like you're doing in there | 13:45 |
Mister_Magister | basically don't pack the rootfs into .tar.bz2 and in that file, create image and put stuff in there | 13:46 |
Mister_Magister | cause i don't understand how can i force mic to build image for me | 13:46 |
Mister_Magister | i doesn't want to build image | 13:46 |
Mister_Magister | except you get the root.img and i DONT UNDERSTAND HOW | 13:47 |
Mister_Magister | its frustrating | 13:47 |
Mister_Magister | nothing in the .ks file suggests building root.img | 13:49 |
Mister_Magister | the only mention of it is when its done | 13:50 |
mal | I wonder if those come from https://github.com/mlehtima/droid-config-fp5/blob/master/kickstart/part/fp5 | 13:56 |
Mister_Magister | nope | 13:56 |
Mister_Magister | i have part / --size 500 --fstype=f2fs --label=root | 13:56 |
Mister_Magister | no image is happening | 13:57 |
Mister_Magister | it just copies to rootfs | 13:57 |
Mister_Magister | i wonder if it depends on fstab | 13:59 |
Mister_Magister | jesus its in the mic command | 14:11 |
Mister_Magister | sudo mic create fs vs sudo mic create loop | 14:11 |
Mister_Magister | i'm so dumb | 14:11 |
Mister_Magister | Keto: how unhappy will you be if at first boot ID is different than on subsequent boots | 14:14 |
Mister_Magister | ayyyy got root.img | 14:28 |
Mister_Magister | problem is that its not in subdirectory | 14:29 |
Mister_Magister | I 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 it | 14:38 |
Mister_Magister | yeah i'm quite convinced, i'll use mic to generate rootfs for me and i'll create image myself | 14:47 |
Mister_Magister | now 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 anyway | 15:42 |
Mister_Magister | mkfs doesn't exist mkfs.ext4 doesn't exist idk what to do | 15:48 |
Mister_Magister | and I cannot mount f2fs | 15:48 |
T42 | <fredldotme> mke2fs? | 15:48 |
Mister_Magister | i can try next altho in mic i noticed /sbin/mkfs. path, maybe its just not in standard path | 15:50 |
Mister_Magister | yeah that was it | 15:58 |
Mister_Magister | mal: 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_Magister | mal: i mount --bind my xiaomi-keyboard over the vendor one and now i have mouse coursor on my screen lol | 18:08 |
Mister_Magister | apparently chinese version of keyboard has mousepad and the kernel must be just emulating keyboard and mouse so it just works | 18:09 |
Keto | Mister_Magister: the device ID changing is not good thing... | 18:35 |
Mister_Magister | Keto: I'm in process of implementing script that will wait for wifi so that you're not angry at me xd | 18:35 |
Keto | something in the hal that sets the mac, but takes it's time or what's the problem? | 18:38 |
Mister_Magister | yeah | 18:38 |
Mister_Magister | wifi intialization takes a looong time on first boot | 18:39 |
Keto | ok, I probably can't help with that :) | 18:40 |
Mister_Magister | yeah no worries just wanted to know how much in trouble am i | 18:40 |
Keto | well, not in big trouble. but would be better if the reported ID is stable | 18:44 |
Mister_Magister | yeah i thats what i thought | 18:45 |
Mister_Magister | after first boot its stable but people tend to log in on first boot so | 18:45 |
Keto | as it may lead to unexpected behavior if it changes | 18: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_Magister | there's not a single mention of Xiaomi Redmi 7a in logs but i would try googling if I were you | 19: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_Magister | You're correct this isn't right place to ask about PMOS | 20:01 |
T42 | <DerRenard> But if you can help it would be really awesome (re @SailfishFreenodeIRCBridgeBot: <Mister_Magister>You...) | 20:19 |
Mister_Magister | I can't | 20:19 |
Mister_Magister | I cannot figure out how does sfos get wifi mac address | 21:14 |
Mister_Magister | Keto: i've corrected the issue so i'll be a good boy :D | 23:26 |
Mister_Magister | bitly blocked faq-hadk link and in general it would be nicer if we didn't use bitly in title links | 23:42 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!