Wednesday, 2023-04-05

voidanix[m]has anyone already attempted a port against an exynos 7870 device?09:55
T42<k1gen> ¯\_(ツ)_/¯09:57
T42<k1gen> search for 7870 in irc archive09:57
voidanix[m]"Warning: Potential Security Risk Ahead"09:58
voidanix[m]i already searched on the archive though, no results09:58
T42<k1gen> then you will be first :D09:58
voidanix[m]who knows09:59
T42<k1gen> afaik I'm the first one here to try porting sailfish on pixel 4 - and got it pretty far with mal's and elros' help10:00
voidanix[m]yea but you have an "easy" platform to deal with tbh10:00
voidanix[m]samsung land is hell10:00
T42<k1gen> yeah, there's always a bigger fish a harder platform10:01
T42<TheVancedGamer> and then there's ximi land :D10:06
mal@adampigg your channel log archive page certificate has expired10:11
T42<adampigg> Ha, ok, ill sort later10:11
T42<adampigg> You know, jolla could totally host that😂10:12
mal@adampigg :)10:37
Mister_MagisterCan someone make 5z update for me ;-;14:59
Mister_Magistermoom i don't want to15:00
Mister_Magistergstreamer1.0-droid not in patterns16:07
Mister_MagisterIT LITERALLY IS16:08
Mister_Magisterwhy is my sdk high16:08
Mister_Magister~~~~~because it uses device not rpm_device lestgoooo~~~~~~16:15
Mister_Magisternot to self HABUILD_DEVICE16:45
Mister_Magistermal: since you're bored, see any unnecessary packages here? https://build.merproject.org/project/show/nemo:testing:hw:asus:5z I removed some last time you mentioned some unnecessary but that broke things so i added back sensorfw-qt5-hybris libgbinder audiosystem-passthrough, are they necessary or nah? so far dhv needed them16:53
malMister_Magister: which android base? at least libgbinder is not needed, unless you want some newer version of it16:55
Mister_Magisteruhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh16:55
Mister_Magistermal: when i didn't have libgbinder dhv was screaming at me16:56
malsame for audiosystem-passthrough16:56
Mister_Magisteri swear16:56
Mister_Magistersame for audiosystem passthrough16:56
malhmm, those are in the common repo16:56
Mister_Magistermal: 17.116:56
malhttps://build.sailfishos.org/project/show/nemo:testing:hw:common16:56
Mister_Magisterlet me try16:56
Mister_Magistermaybe i broke the common repo16:56
Mister_Magisterliterally had to go to xda to see what base i'm using xd16:57
maldo you really use the hybris sensorfw plugin and not the binder version?16:57
malis that nemo-qml-plugin-systemsettings some custom version?16:58
Mister_Magisteris there binder version?16:58
Mister_Magistermal: ye for sdcard16:58
Mister_Magisterdhv just screamed at me for not having hybris sensorfw16:58
Mister_Magisteri haven't been up to date in this whole porting game for soem time16:58
Mister_Magisterhard to find up to date port with aarch64 xd16:58
malyou might want to rebase that systemsettings package16:58
Mister_Magisterye ye16:59
malMister_Magister: https://build.merproject.org/project/show/nemo:devel:hw:fairphone:fp4 :)16:59
Mister_Magisterjesus16:59
Mister_Magisteri was looking at testing and it was empty16:59
Mister_Magisterit was on devel16:59
Mister_Magisteri'm dumb16:59
malI haven't yet released that port so it's not in testing16:59
malthose yamui* are special for that device17:00
malit needed newer versions17:00
Mister_Magistermal: yeah i figured17:00
Mister_Magisterbut you don't have sensorfw package17:00
mallet me check your patterns17:00
Mister_Magisteri'm checking them too xd17:00
Mister_Magistersame mind17:00
malI have also https://github.com/mlehtima/droid-config-fp4/blob/devel/patterns/patterns-sailfish-device-adaptation-fp4.inc#L2417:01
Mister_Magisterbut you don't use hybris…?17:02
Mister_Magisterye the patterns don't look that much differentr17:04
malMister_Magister: if you that same in patterns it picks one of those, either one, the binder version comes from official repos and hybris one needs to be built if needed, in that case different name is to be used17:05
Mister_Magistermal: what17:06
malI mean both hybris and binder versions provide the same name, they also have their own different name17:06
Mister_Magisterso i should remove sensorfw package?17:07
malyes, that should work unless there is something wrong somewhere17:07
malwhich then can be fixed17:07
Mister_Magisterhttps://build.merproject.org/project/monitor/nemo:testing:hw:asus:5z?arch_aarch64=1&defaults=0&repo_sailfishos_4_5_0_19=1&unresolvable=117:07
Mister_Magistersays unresolvable17:07
malhmm, wait a moment17:09
* Mister_Magister ~~~~~~waiting~~~~~~17:09
Mister_Magisterima rebase meanwhile17:09
malI pushed the package to testing common17:10
Mister_Magisterah so it was missing in testing?17:11
malyes17:12
malthere is a bug in community obs that it doesn't have access to all of the same packages that are in official repos17:12
malone repo is missing from there17:12
Mister_Magisterhuh17:12
malwhich is available on devices so it's a bit ugly to have the packages in common17:14
Mister_Magisterhmm17:17
Mister_Magisterlatest nemo-qml-plugin-systemsettings might've fixed the sdcard issue17:17
Mister_Magisterlets try17:17
Mister_Magisterwish my fp wasn't broken and my back glass wasn't coming off due to fatass battery xd17:20
Mister_Magisteruh oh… kernel is not booting17:55
Mister_Magisternow the guessing game why…18:00
Mister_Magisterye older kernel just boots so thats double weird18:03
malMister_Magister: did you use old sdk or new?18:08
Mister_Magistermal: i'm not sure18:08
Mister_Magisteri used same one as for g218:08
maldid that work?18:08
Mister_Magisteryep18:08
malhmm, does the kernel size look ok?18:08
Mister_Magistermaybe i need to update hybris-boot or smth18:08
Mister_Magisterholy moly where's my free space gone18:09
Mister_Magistermal: i have some issue with rpm… https://paste.opensuse.org/pastes/9c853216f5c518:10
Mister_Magisteri'm trying to update from 4.3 to 4.518:10
Mister_Magisterdid compression maybe change in 4.4 or smth18:11
Mister_Magistermal: lmao, i temporarily switched to 4.4.0.68 release, updated rpm only, and now it works xd18:13
Mister_Magister#hackerman18:13
Mister_Magistermal: about the kernel, there are differences at the beginning which i think might be about the android/vendor versions18:17
Mister_Magisteri modified it manually and will see after update if it works18:18
Mister_Magisterturns out that wasn't it :/18:26
Mister_Magisterhmm gui is not getting up18:28
Mister_Magisterah18:31
Mister_Magister /usr/sbin/dummy_compositor --hwc-restart --exit-on-enable, --hwc-restart is not an option… wait i had something too new… was it dcd?18:31
* Mister_Magister memory wheels slowly turning18:31
Mister_Magisterk i'm on 4.5 but still need to figure out the kernal stuff18:37
malyou updated submodule to too new version18:39
Mister_Magisteryee thats what i said18:39
Mister_Magisterxd18:39
Mister_Magisterhmm18:42
Mister_Magisteri reverted submodule but the issue persists18:42
Mister_Magisterweird18:42
Mister_Magisteroh i didn't update xd18:43
Mister_Magisteri'm dumb18:43
Mister_Magisterforgot to push18:43
Mister_Magistermal: mind giving me a hand? on 5z camera needs media.audio_policy, I added MINIMEDIA_AUDIOPOLICYSERVICE_ENABLE=1 to droidmedia and rebuilt droidmedia but that didn't seem to help18:49
Mister_Magisteroh, is it not in droidmedia by default?18:51
Mister_Magisterit seems that it is18:51
Mister_Magisteror… its not18:53
Mister_Magisteri'm confused18:53
Mister_Magisteroh it's not in hybris-17.118:54
Mister_Magisterthats why i'm confused18:54
Mister_Magistermal: how the hell do you enable audiopolicy on 17.1 base18:56
Mister_Magisteri'm very confused19:03
Mister_Magister#if ANDROID_MAJOR >= 5     FakeAudioPolicyService::instantiate()19:04
Mister_Magisterso audiopolicy is now enabled by default?19:04
Mister_Magisterthen why it fails to start19:04
malMister_Magister: new droidmedia has builtint audiopolicy19:05
Mister_Magistermal: then why it fails to start?19:05
malhmm19:05
malare the services starting?19:06
Mister_Magisterminimedia is running19:06
Mister_Magisterdoesn't look to be dying too19:07
malmaybe try checking binder-list to see if it's running, can't remember if it's in hwbinder or binder19:08
malfrom libgbinder-tools package19:08
Mister_Magisteri think it's binder from the logs19:08
Mister_Magistermal: it's not running19:10
Mister_Magisterhttps://paste.opensuse.org/pastes/3cbfb15cc20919:10
Mister_Magisterother services are running19:11
Mister_Magisternothing interesting in logcat either19:19
Mister_Magisteri… might have screwed up, lemme check something19:22
Mister_Magistermal: about kernel… cpio would be useful for building it :)19:43
Mister_Magisteri had old patches19:43
Mister_Magisteryee cpio was the key19:59
Mister_Magistermal: solution for audioplicy was… actually setting DEVICE env variable :)20:02
Mister_Magistermal: ever head about "Waiting on an available memory base timed out. Dropping a recording frame."20:05
Mister_Magisterabsolutely nothing in logs oh wow20:06
Mister_Magisterfeels like in the old days20:07
T42<k1gen> Mister_Magister: damn dude, you flooded this chat in monologue20:52
Mister_Magisterthat's me!20:53
Mister_Magisterget used to it :P20:53
T42<k1gen> mal:usually you are online at this time, so I want to ask: did you have time to think about my pulseaudio segfault? do you have any suggestions or questions?20:56
Mister_Magistertho i'm only here once a year when time to update comes :P20:57
malMister_Magister: ah, I thought you said you used old things so I didn't mention cpio because of that21:26
Mister_Magisteryee i probably used the env variable in past21:26
Mister_Magisterbut that was couple years ago21:26
Mister_Magisterso i forgot :P21:26
mal@k1gen no ideas right now21:26
T42<k1gen> I see. ping me if something comes up on your mind :)21:27
Mister_Magisterdang i was so close to video recording, yet so far away21:29
Mister_Magisterso far my only phone that can record vids is still g2 ;-;21:29
malvery odd21:29
Mister_Magisternever seen such issue?21:30
malwell on fp4 video recording fails but that is probably unrelated, it's the first andrdoi 13 based port so might have issues because of that21:32
Mister_Magistercamera never works for me ehhh21:36
malit needs to be debugged then21:44
Mister_Magisteryeah but21:45
Mister_Magisterit's not exactly easy21:45
Mister_Magisterand its time consuming21:45
malyes, we just need to find some time to do it21:52
Mister_Magisterthats difficult, gotta fix 3 off my apps, make 3 another…21:52
Mister_Magisterwhy did i decide to make 8 apps21:52
Mister_Magisteri'm craaaaazy21:52
malheh21:57
malyou should start doing mainline kernel porting, then you will run out of time :D21:57
Mister_Magisterbruh i tried, for x221:58
Mister_Magistercouldn't get lk2 to boot21:58
Mister_Magisternobody wanted to help me21:58
Mister_Magisterso i'm stuck at the beginning21:58
Mister_Magisteri'm already out of time21:58
Mister_Magisteri'm negative on time i should say21:58
maloh, which platform is that?21:59
Mister_Magister8974ac22:00
malshould be doable then, msm8974 and others have some devices there22:00
malI have added one msm8226 device there so I could probably help22:01
malto lk2nd I mean22:01
Mister_Magistermal: 8226?22:01
Mister_Magisterthat's g222:01
Mister_Magisteri'm gonna beat jolla in support duration this year of g222:01
malyes, I have been porting mainline to one msm8226 samsung tablet22:02
Mister_Magisterhow far u gotten?22:02
Mister_Magistercause mainline would be nice update for g222:02
malI have all kinds of things working: internal storage, sdcard, physical buttons, usb, wlan, bluetooth, modem (gps), accelerometer, framebuffer display, display backlight, touchscreen22:03
Mister_Magistermal: the issue with lk2 is magical, nothing sensible, fastboot just says it failed to boot :/22:03
Mister_Magistermal: interesting22:03
Mister_Magisteri might look into it then22:03
malthere are two possible kernel formats, my device needed one, some need the other, also the magic dts stuff needs to be correct22:04
malthat msm-id etc22:04
Mister_Magisteri think i set the msm-id correctly, i had more result when i appended the dts to kernel but still no boot. Tried adding screen driver but still no boot :/22:05
Mister_Magisteri can't explain it as i don't exactly have debug info22:05
malyou should show the changes you have made22:05
Mister_Magisteroh sure!22:05
malthat appended dts was one of the formats I mentioned22:06
malthe build can create those two automatically22:06
Mister_Magistermal: https://github.com/msm8916-mainline/lk2nd/compare/master...VerdandiTeam:lk2nd:master22:07
malthis is the dts for my device https://github.com/msm8916-mainline/lk2nd/blob/master/dts/msm8226/apq8026-samsung-r03.dts22:07
Mister_Magistermal: ye i tried the dts appended and that took bit longer before rebooting22:07
malso you have the same msm-id as those other devices?22:07
Mister_Magisterhm?22:08
Mister_Magisterwhat do you mean22:09
Mister_Magisterah 194 0x1000022:09
Mister_Magisteri think so22:09
malthat should be visible in your android kernel dts22:10
Mister_Magisterit's hard to know which dts is the one with id22:11
Mister_Magistercause like Motorola QC-MSM8974 Pro Victara is in common22:12
Mister_Magisterand multiple files with multiple ids import it22:12
Mister_Magisterand i have no clue which is right one22:12
Mister_Magisterhttps://paste.opensuse.org/pastes/9b759287ab6122:13
Mister_Magistercould be any of these22:13
Mister_Magistercould be not22:13
Mister_Magisterwho knows22:13
Mister_Magistermal: how do you check which id is your22:13
malhmm, wondering if it's possible to check from a system running android kernel22:16
malI think it should be22:16
Mister_Magisteri have no clue22:16
Mister_Magisterwhat if it has multiple ids?22:16
malyou can always list several of those22:17
Mister_Magister how22:17
malhttps://github.com/LineageOS/android_kernel_samsung_msm8226/blob/lineage-18.1/arch/arm/boot/dts/msm8226/msm8226-v2.dtsi#L2322:18
Mister_Magisteroke22:19
Mister_Magistermal: will this work? https://github.com/VerdandiTeam/lk2nd/commit/4e4cddf3782074364c246d1cce962fa6d68dcd1822:20
malshould be ok22:20
Mister_Magisteroki lets see22:21
Mister_Magisteri yeeted the display driver22:21
malif it has issues you can try to remove the msm-id and board-id from the top of the file22:21
Mister_Magisteryeye22:22
Mister_Magisterfirst in need to fix gcc22:22
Mister_Magistermal: but thanks now i got hope :)22:41
Mister_Magisteroh great i just realised i have no audio or vibration whatsoever on 5z xd23:04
Mister_Magisterthat's for tomorrow23:04
maldo you have correct pulse droid module, there are two variants now23:05
malalso did you update patterns for ngfd23:05
Mister_Magisterprobably not for ngfd23:06
Mister_Magisterbuti should have correct pulse module23:06
Mister_Magisteri have the hidl23:06
Mister_Magistermal: seems like i have the stuff for ngfd too23:12
malI mean pulseaudio-modules-droid vs pulseaudio-modules-droid-jb2q23:14
Mister_Magisteri have droid and droid-hidl23:15
malfirst is for android 11 and newer, the second is for android 10 and older23:15
Mister_Magisteri have both lol23:15
Mister_Magistermal: also hidl requires droid23:16
Mister_Magisteror you talking about jb2q23:16
maljb2q also provides droid23:16
Mister_Magisterso you say i need jb2q23:16
malyes23:16
Mister_Magisteronit23:17
Mister_Magisterayy23:24
Mister_Magisterwe got audio23:24
Mister_Magisterand we got vibrations23:24
Mister_Magistermagic23:24
Mister_Magisternow let the camerra magically fix itself23:24
Mister_Magisternah it's still fucked23:25
Mister_Magisteri asked for too much :P23:25
Mister_Magisterand bug with videos loading into infinity was fixed23:29
Mister_Magisterfinally i can watch memes in peace23:30
Mister_Magisterah no i was too fast to speak23:31
Mister_Magistermal: no dice about lk2nd23:51

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