r0kk3rz | @eugenio_g7 any troubles? | 02:09 |
---|---|---|
xreactx[m]__ | mal: hey, deathmist is helping me make leaps and strides... Can you look at my recovery log https://pastebin.com/b7n46gBt | 03:24 |
xreactx[m]__ | Installer doesn't recognize cache (should be fixed with his hybris installer) and data. Also, do you know of any special instructions for treble devices? | 03:25 |
xreactx[m]__ | Also, if you have time my repo's are up to date on GitHub.com/xreactx | 03:26 |
xreactx[m]__ | "/system/etc/ld.config.txt": Too many symbolic links encountered | 03:31 |
T42 | Shaka1409 was added by: Shaka1409 | 04:03 |
T42 | <Shaka1409> anybody port sailfish on xiaomi mi5? | 04:04 |
T42 | <birdzhang> zhxt | 04:08 |
rinigus | Thaodan: that should make it easier for you when you get to boot xperia 1 - https://github.com/sonyxperiadev/device-sony-common/pull/655 | 06:59 |
rinigus | piggz: thanks for your help ^ | 07:00 |
rinigus | I would like to make a separate sub-project at OBS which will contain system and vendor image packages for sony tama (starting with xz2) | 07:03 |
rinigus | That sub-repo will have repository (maybe later repositories) corresponding to android releases used as a base: android-9.0.0_r46 for now. It will be shared by devel and testing (so better locate it at testing). Packages will be added as RPMs, as we do now with HAL | 07:03 |
rinigus | As vendor and system images are built from AOSP, I presume that it should be OK license wise. We have docs describing how its done and link to source. | 07:03 |
rinigus | Such arrangement will allow me to have the full build at OBS (see https://build.merproject.org/project/monitor/nemo:devel:hw:sony:h8216 for current issues). | 07:03 |
rinigus | is this OK? | 07:03 |
rinigus | mal , lbt : ^ | 07:04 |
T42 | <birdzhang> @adampigg how did you fix sfos 3.2 reboot to recovery on mido? just set CONFIG_SECURITY_SELINUX_DEVELOP=n ? | 07:15 |
T42 | <adampigg> No, just added selinux=0 to cmdline | 07:16 |
T42 | <adampigg> Rinigus, my pleasure | 07:16 |
T42 | <birdzhang> okay, i have selinux=0 , but still reboot to recovery, maybe i need rollback something, thanks | 07:18 |
T42 | <adampigg> My clues were in pstore..from recovery, use adb shell to look at logs | 07:19 |
T42 | <birdzhang> init.log https://pastebin.com/mqcyfRFR | 07:22 |
T42 | <adampigg> Kernel log | 07:23 |
T42 | <adampigg> Are the new github actions equivalent to gitlab ci? | 07:25 |
T42 | <adampigg> Atleast, i think its a new feature | 07:25 |
r0kk3rz | ish | 07:25 |
r0kk3rz | not as powerful i dont think | 07:26 |
T42 | <eugenio_g7> r0kk3rz: no... @adampigg did everything :D | 07:26 |
r0kk3rz | ah, the tried and true 'wait for piggz to fix it' method of development | 07:27 |
T42 | <adampigg> lol, i that the repotation im getting? | 07:28 |
T42 | <adampigg> @eugenio_g7 what is special about your new mesa? | 07:28 |
T42 | <adampigg> rinigus, great that youve upstreamed the bootctl fix, should it go higher, as affects multiple devices, tho, i ack that is probably difficult | 07:31 |
T42 | <eugenio_g7> r0kk3rz: :D | 07:35 |
T42 | <eugenio_g7> @adampigg: that it doesn't work currently! :D | 07:35 |
T42 | <adampigg> huh? | 07:35 |
T42 | <adampigg> u mean your new one isnt working i guess | 07:36 |
T42 | <adampigg> u r fixing tearing? | 07:36 |
T42 | <eugenio_g7> Yea my new one doesn't work...trying to fix the browser actually | 07:39 |
Mister_Magister | @adampigg good for you~~ | 07:39 |
rinigus | adampigg: in general, this part of gpt-parted is a big guesswork and is not universal. right now it assumes that partition differs from its disk by having numbers in the end of the name. so, no, I don't plan to upstream it further... | 07:39 |
r0kk3rz | does the nfc stuff require binderfu? | 07:40 |
T42 | <adampigg> @eugenio_g7 neat | 07:41 |
T42 | <adampigg> r0kk3rz, nfc on pro1 works with binder, not sure of another way | 07:41 |
r0kk3rz | ah ok | 07:41 |
T42 | <adampigg> i used it to write my email address to a tag | 07:42 |
Thaodan | r0kk3rz: if we had the userspace part of the nxp stuff without binder I think not but I think that comes second | 07:46 |
Thaodan | rinigus: thanks for the pr. I also found some issues in my boot image creation, some parameters aren't really visible in the build system. | 07:49 |
Thaodan | rinigus: which guesswork, where? | 07:53 |
rinigus | Thaodan: when you assume that sda123 belongs to sda. not sure how universal is that | 07:54 |
Thaodan | why shouldn't it? I thought this was how device letters work. | 07:55 |
deathmist | @nitin_3 yes, I fixed audio on 16.0 already. needed arm_droid_card_custom.pa like https://git.io/JeuTU and media/codec/mixer/policy configs in etc/ https://git.io/Jer2d (some prob unneeded). then final step (for me at least) was https://git.io/Jegox to fix failing hw module audio.primary | 07:56 |
rinigus | Thaodan: example: /dev/mmcblk1p1 -> /dev/mmcblk . so, not always. its not the same type of storage, but still illustrates that its not as universal as one may think | 08:02 |
rinigus | sorry /dev/mmcblk1p1 -> /dev/mmcblk1 | 08:02 |
rinigus | at least, I don't know what are the limitations and assumptions in device lettering to claim that its universal approach | 08:03 |
T42 | <adampigg> there is bound to be a way using /sys to find the parent device | 08:04 |
rinigus | adampigg: that I believe. but then, we all prefer to cut the corners and get to the working device as soon as we can. don't we? | 08:05 |
rinigus | if there is someone wishing to do that properly and thinking that its a good investment of time, please do so | 08:06 |
mal | deathmist: can you check where your device has those xml files are in android side, probably under vendor/etc somewhere | 08:09 |
mal | deathmist: for that audio symlink, maybe try this https://github.com/krnlyng/libhybris/commit/19829c0e2fcc60220ef5111cd4cda12a74c9f4d5 patch to libhybris | 08:11 |
T42 | <adampigg> rinigus, true, esp as you improved upon my version! | 08:17 |
deathmist | mal: about your first message, they are symlinks, not sure exactly what you mean. there are probably many useless ones that get picked up from /vendor/etc/ anyway. about that libhybris commit, looks interesting. will definitely try when I get back home and see if it works without my "hacky" symlink :) | 08:22 |
deathmist | also, any clue about the dhd submodule update breaking my mic build I talked about yesterday? http://www.merproject.org/logs/%23sailfishos-porters/%23sailfishos-porters.2019-11-13.log.html#t2019-11-13T21:59:57 | 08:28 |
mal | deathmist: I mean check if the original androi xml files for codecs and stuff are in /system/etc or in /vendor/etc or /vendor/etc/audio | 08:37 |
T42 | <nitin_3> deathmist,mal | 08:38 |
T42 | <nitin_3> Audio works for me | 08:38 |
T42 | <nitin_3> if I flash sfos with xiaomi rom | 08:38 |
T42 | <nitin_3> instead of lineage | 08:38 |
T42 | <nitin_3> w/o changing anything on sfos side | 08:38 |
mal | deathmist: I need to check the mic build, my own build machine is now down so I need to setup some environment to test local mic builds | 08:38 |
mal | deathmist: usually android should load all those media xmls from /vendor | 08:39 |
mal | deathmist: check if you have /vendor/etc/audio folder on the device | 08:40 |
mal | deathmist: where do you have audio_policy_configuration.xml on your device | 08:41 |
deathmist | mal: nope, no separate audio/ folder in etc/ of /vendor or /system. that file is on /vendor/etc/audio_policy_configuration.xml for me | 08:42 |
deathmist | and I've looked into it before, it has includes with paths to /vendor/etc/... audio configs | 08:43 |
mal | ok | 08:50 |
mal | deathmist: there should not be need to link those to /etc | 08:50 |
mal | if everything is in /vendor/etc | 08:50 |
sledges | PSA: SFOS community collab meeting at #mer-meeting starting right about now:) | 09:02 |
Thaodan | rinigus: Yes thats because the naming scheme is different for mmc and nvme devices. | 09:05 |
Thaodan | its <device type><num> -> <device type><num>p<partnum> | 09:07 |
T42 | <adampigg> Mal, 1 accepted pr on dhv not merged | 09:32 |
mal | @adampigg, you mean that native thing? | 09:33 |
T42 | <adampigg> Yes | 09:33 |
mal | I should check that again | 09:33 |
T42 | <布琪番 %lastname%> (Photo, 1219x693) https://irc.thaodan.de/.imgstore/kvP37N1pFH.png "精准币圈菠菜棋牌粉" "非小号/mytoken惊爆价"1、币圈电报群/微信群炸群推广 2、twitter、facebook关注 3.国内外KYC身份材料出售 4、电报群/微信群/potato拉币圈活人 5、国内外交易所APP实名注册认证 6、电报群客服活聊天 7、批量注册国内外交易所实名账户,,出twitter、facebook、微信带粉 | 10:44 |
Mister_Magister | iiis that a spam? | 10:45 |
T42 | <birdzhang> yup | 10:47 |
T42 | <dontatmepls> yeah thats a classic telegram spam account | 10:49 |
T42 | <dontatmepls> https://del.dog/milofubovo can someone take a look and tell me how i can fix this fscrypt | 10:50 |
deathmist | @dontatmepls didn't you already have your kernel compile? are you trying another kernel? if so, it's broken and you'll have to fix the sources manually yourself, and even so it may still not boot if you use LineageOS sources etc | 13:50 |
T42 | <dontatmepls> I didnt change the kernel, but now i swapped it with another one and it seems to work fine | 13:50 |
deathmist | mal: found the offending dhd submodule part https://git.io/Jer6u seems you can't use "{$ONETHING,$ANOTHERTHING}" in grep like that, pattern_lookup is set correctly before too | 14:21 |
deathmist | and the issue is indeed it trying to build a loop image instead of an fs one like it used to always before, seeing if I can come up with a solution | 14:23 |
mal | deathmist: hmm, need to look into that | 14:23 |
deathmist | mal: well that was quick, guess 'egrep "^- droid-hal-($DEVICE|$HABUILD_DEVICE)" $pattern_lookup' works :D | 14:26 |
deathmist | yep and build works too | 14:27 |
*** birdzhang1 is now known as birdzhang | 14:27 | |
mal | deicide-: try that it works the other way also | 14:28 |
mal | oops | 14:28 |
deicide- | ? | 14:28 |
mal | sorry | 14:28 |
mal | autofill mistake | 14:29 |
deathmist | mal: works too, sorry got disconnected cuz web client is bad :p should I make a PR or let someone else handle it? | 14:31 |
mal | deathmist: make PR | 14:54 |
rinigus_ | lbt: reminder - please patternise nemo:devel:hw:sony:h8216 | 15:20 |
deathmist | mal: done https://git.io/JerPU :) feel free to tell me if I did something wrong | 15:27 |
mal | rinigus_: should we have renamed that? | 15:35 |
mal | deathmist: thanks, that was already merged :) | 15:42 |
lbt | rinigus_: done | 15:44 |
rinigus_ | mal: yes, we should. but I wanted to get the first complete build and then see how to partition packages to support more variants. that would result in appropriate name as well | 15:52 |
rinigus_ | lbt: thank you very much! | 15:52 |
rinigus_ | lbt: shouldn't there be _pattern now at https://build.merproject.org/project/show/nemo:devel:hw:sony:h8216 ? missing it... | 15:54 |
rinigus_ | (have to run now) | 15:54 |
mal | rinigus_: did you trigger some rebuild like config package? | 15:54 |
rinigus_ | mal: no, I didn't. sorry | 15:54 |
lbt | +1 | 15:54 |
rinigus_ | thanks, will do | 15:55 |
T42 | <adampigg> Rinigus, patterns are so 2018 | 15:55 |
* lbt sees mal had that "hmm that's too quick for him to have triggered a build and it to have failed" thought too :D | 15:55 | |
T42 | <dontatmepls> so now ive made a sailfishos zip but when i install it the fricking LineageOS base image boots, w h a t | 16:29 |
deathmist | @dontatmepls then proper hybris modified kernel isn't booting | 16:38 |
deathmist | flash hybris-boot manually if nothing else helps, you're booting the base LineageOS boot image for some reason | 16:39 |
T42 | <dontatmepls> i dont know anymore | 16:43 |
T42 | <dontatmepls> it still boots to LOS, and i dont know why, what do i do now | 16:43 |
T42 | <elros34> check in LOS (not in twrp) whether you have in boot params (cat /proc/cmdline or in dmesg) skip_initramfs added. | 16:46 |
rodrigosolari | hello | 16:51 |
rodrigosolari | i have a question | 16:51 |
rodrigosolari | im building in platformsdk in arm arch, is ok | 16:51 |
rodrigosolari | but in x86 +same errors | 16:52 |
rodrigosolari | relocations in generic ELF (EM: 40) this error | 16:53 |
rodrigosolari | in any library for building x86 | 16:53 |
T42 | <dontatmepls> @elros34 there is skipinitramfs inside dmesg boot params, now what | 16:53 |
T42 | <elros34> you need to revert commit which adds support for it in kernel. Show your kernel repo if you can't find it | 16:54 |
T42 | <dontatmepls> https://github.com/PixelExperience-Devices/kernel_xiaomi_raphael/commits/pie didnt find it | 16:55 |
T42 | <elros34> here: https://github.com/PixelExperience-Devices/kernel_xiaomi_raphael/commit/6a45470bc36a2e59c8f131ffc90bf38f392525ed#diff-02da53981755aab07523e5252ce7dc11 and maybe next one after that in same file if it fails | 16:57 |
*** OhYash1 is now known as ohyash | 17:00 | |
rinigus_ | lbt & mal: yep, the _pattern is there - thanks! | 17:02 |
T42 | <dontatmepls> it cant be reverted because of conflicts | 17:02 |
T42 | <elros34> @dontatmepls maybe revert this one also https://github.com/PixelExperience-Devices/kernel_xiaomi_raphael/commit/cc43e740474ae7c5ea9ab286eb4c4323411dbc07#diff-02da53981755aab07523e5252ce7dc11 | 17:02 |
T42 | <dontatmepls> it also can't be reverted @elros34 | 17:04 |
T42 | <elros34> I don't believe :P | 17:04 |
T42 | <dontatmepls> ill dm a screenshot so you do xD | 17:05 |
T42 | <elros34> it's latest 4 lines change in that file... | 17:05 |
T42 | <elros34> latest commit* | 17:06 |
rinigus_ | as my morning plan on images did not raise any objections, I'll proceed with it. let me know if it needs to be deleted | 17:09 |
T42 | <dontatmepls> @elros34 i managed to do it nvm | 17:11 |
deathmist | mal: about that libhybris commit from earlier today, audio works after applying it and removing the symlink to libaudioroute.so :) | 17:13 |
mal | deathmist: nice | 17:13 |
mal | krnlyng: ^ | 17:13 |
vknecht | rinigus_, these few lines should be reassuring ;-) http://merproject.org/logs/%23sailfishos-porters/%23sailfishos-porters.2019-02-18.log.html#t2019-02-18T15:56:02 | 17:16 |
T42 | <elros34> @dontatmepls you will also need this %define makefstab_skip_entries / in droid-hal-$DEVICE.spec | 17:17 |
rinigus_ | vknecht: so, packages as in system and vendor should be fine then. /odm is this binary package that we are expected to download from sony site, right? | 17:18 |
vknecht | yes | 17:19 |
rinigus_ | vknecht: thanks! I will take care to minimize storage space as much as I can with them. | 17:20 |
rinigus_ | on obs | 17:20 |
deathmist | still no luck with cellular data on 16.0 having audit enabled too :/ not sure if something else is still broken. for sure RTC & proximity sensor too (works for 3s after unlock & 8s after blanking, then state goes to UNDEF as reported by mce) | 17:22 |
T42 | <elros34> I think this is normal if you use on_demand mode for proximity, still messwerk should report it correctly | 17:31 |
T42 | <dontatmepls> still booting to los after this | 17:39 |
T42 | <dontatmepls> ill try more tomorrow, pls send suggestions on how i could fix it | 17:39 |
deathmist | @elros34 you're right! proximity seems to be ok then, that's great ^^ I just use the mce status from journal in my very bad attempt at a gesture handling "daemon" https://git.io/JerMg I honestly need to rewrite it in C / C++ or something but I still don't understand how MCE works with gestures like used here https://git.io/JerMr | 17:39 |
T42 | <Lukapanio> just flash hybris-boot | 17:39 |
T42 | <Lukapanio> and it wount boot to los | 17:39 |
T42 | <elros34> @dontatmepls are you sure you use hybris-boot.img not boot.img? | 17:40 |
T42 | <dontatmepls> @elros34 [@dontatmepls are you sure you use hybris-boot. …], yees | 17:41 |
T42 | <elros34> so no way it boots los unless you forgot to make hybris-hal after reverting commits | 17:42 |
T42 | <dontatmepls> @elros34 [so no way it boots los unless you forgot to ma …], i did make it | 17:42 |
T42 | <dontatmepls> i can do a clean build tho | 17:42 |
T42 | <elros34> hold recovery button so bootloader will not add skip_initramfs to kernel params | 17:43 |
T42 | <dontatmepls> ahhhhh i did something idk what | 17:43 |
T42 | <dontatmepls> i made progress i think | 17:43 |
T42 | <dontatmepls> blackscreen and pc recognized some device | 17:44 |
T42 | <dontatmepls> ill try ssh and stuff now | 17:44 |
T42 | <elros34> it should show something about mer boat loader and available tlenet port | 17:44 |
T42 | <elros34> telnet* | 17:44 |
rodrigosolari | helpme? | 17:46 |
T42 | <dontatmepls> 3 Mer Debug telnet on port 23 on usb0 192.168.2.15 - also running udhcpd | 17:47 |
T42 | <dontatmepls> yeeees | 17:47 |
T42 | <dontatmepls> okay im connected via telnet now | 17:51 |
T42 | <elros34> if it's 23 port then something is wrong. I guess fixup-mountpoints | 17:53 |
T42 | <dontatmepls> i was able to connect | 17:54 |
T42 | <dontatmepls> no worrys | 17:54 |
T42 | <dontatmepls> im in it now | 17:54 |
T42 | <dontatmepls> ig ill send logs like dmesg? | 17:54 |
T42 | <elros34> check /init.log (not sure if it's available in initramfs) | 17:54 |
T42 | <dontatmepls> i got the log | 17:55 |
T42 | <dontatmepls> ill upload it and sedn | 17:55 |
T42 | <dontatmepls> https://del.dog/mupukogolo thats the output | 17:56 |
T42 | <elros34> ok so it's 2323 not 23, so now dmesg and journalctl logs are important | 17:58 |
T42 | <dontatmepls> https://del.dog/jipuxaqulu.md heres dmesg | 17:59 |
T42 | <elros34> standard: you forgot about selinux_bootparam in defconfig | 18:00 |
T42 | <dontatmepls> uhhh im 99% sure its there | 18:00 |
T42 | <dontatmepls> one sec | 18:00 |
T42 | <dontatmepls> okay i really forgot | 18:01 |
T42 | <dontatmepls> ill rebuild hybris boot with it, aight? | 18:01 |
T42 | <elros34> if you are changing kernel then you only need to rebuild kernel (hybris-boot) | 18:03 |
T42 | <dontatmepls> i know, doing it rn :) | 18:03 |
T42 | <dontatmepls> https://del.dog/exarobogad.md | 18:10 |
T42 | <dontatmepls> is it disabled now, for real? | 18:10 |
T42 | <dontatmepls> i added it to defconfig | 18:11 |
T42 | <elros34> nope: "SELinux: Starting in permissive mode". Did you checked generated .config somwhere in out/ | 18:12 |
T42 | <adampigg> @eugenio_g7 i rebuild d-c-l ... it was building the wrong branch | 18:14 |
T42 | <dontatmepls> @elros34 [nope: "SELinux: Starting in permissive mode". …], i added these to the defconfig but they arent in the .config | 18:18 |
T42 | <dontatmepls> im lost | 18:18 |
T42 | <elros34> some config options have dependecies, show diff of your defconfig changes | 18:19 |
T42 | <dontatmepls> https://del.dog/ocedemupuc is this what ya wanted? | 18:24 |
T42 | <elros34> sure, -# CONFIG_SECURITY_SELINUX_BOOTPARAM is not set | 18:29 |
T42 | <elros34> +SELINUX_BOOTPARAM=y | 18:29 |
deathmist | @dontatmepls every kernel config option starts with "CONFIG_", remove your incorrect "SELINUX_BOOTPARAM=y" line entirely and do "CONFIG_SECURITY_SELINUX_BOOTPARAM=y" instead | 18:32 |
deathmist | then make sure it is also "=y" in your .config => find out/ -name .config | 18:34 |
deathmist | after "mka hybris-boot" ofc | 18:34 |
T42 | <dontatmepls> [ 0.002223] SELinux: Disabled at boot. | 18:41 |
T42 | <dontatmepls> ayyo | 18:41 |
T42 | <dontatmepls> ok, whats next? | 18:41 |
deathmist | journal please :) | 18:43 |
T42 | <dontatmepls> aight | 18:43 |
T42 | <dontatmepls> it literally says no entrys, what am i doing wrong now | 18:44 |
deathmist | that's in telnet 2323? | 18:44 |
T42 | <dontatmepls> i need ssh, right | 18:45 |
T42 | <dontatmepls> gotta enable that | 18:45 |
T42 | <dontatmepls> i cant ssh after setting passwd | 18:46 |
T42 | <elros34> what are you doing? you don't need ssh, you have telnet | 18:46 |
T42 | <dontatmepls> "No journal files were found." | 18:48 |
deathmist | some parts of systemd are not running then, journald should be up. it can be manually started with "/lib/systemd/systemd-journald", but you probably have something still wrong in your defconfig | 18:51 |
T42 | <Lukapanio> set persist logging | 18:52 |
T42 | <elros34> wait for a while and grab full dmesg, you should have at least preinit message there according to your latest /init.log | 18:52 |
T42 | <dontatmepls> deathmist running your command outputs this: "Failed to get machine id: Input/output error" | 18:53 |
deathmist | do what elros34 said, your systemd prob just hangs and we can't do much with it now | 18:53 |
T42 | <dontatmepls> ill wait 2 mins | 18:55 |
T42 | <dontatmepls> https://del.dog/zehiyudejo.md heres a dmesg after waiting some time | 18:58 |
T42 | <dontatmepls> anyways ill continue tomorrow, id appreciate some suggestions as always :) | 19:06 |
T42 | <elros34> there is no preinit msgs but if sda31 is your data partition then at least it's /sbin/preinit is executed | 19:07 |
T42 | <elros34> you can add few echo_g at the beginning of main() part in /sbin/preinit | 19:09 |
T42 | <Lukapanio> hmmmm for treble device must i insatall generated vendor.img | 19:22 |
T42 | <Lukapanio> ? | 19:22 |
*** electro is now known as Guest8594 | 19:43 | |
T42 | <Lukapanio> @hacker12455 | 19:49 |
T42 | <hacker12455> No idea | 19:50 |
rinigus_ | as xz2 port has lvm, I do wonder whether storage is best split by ~2.4GB for / and 44GB for /home. I am considering increasing / to 4, as its only 1gb free after fresh install in current config | 20:00 |
rinigus_ | what's experience with official devices? is such "small" / sufficient? | 20:01 |
rinigus_ | like 2.5gb | 20:01 |
vknecht | surely it would do no harm (or even prevent harm) to pump it up | 20:19 |
vknecht | especially with that much room for home | 20:19 |
vknecht | https://together.jolla.com/question/172603/how-to-free-up-space-on-xperia-x/ | 20:19 |
vknecht | seeing the same 2.5Gb for /, the rest for home on unofficial X lvm build so it's just (tight) default I guess | 20:26 |
rinigus_ | vknecht: also /home can be somewhat "helped out" by sdcard as well. | 20:31 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!