xreactx[m]__ | is this a problem? "Skipping repository 'adaptation0' because of the above error." | 01:58 |
---|---|---|
xreactx[m]__ | https://pastebin.com/23MFvuur | 02:00 |
T42 | <birdzhang> it's normal, ignore it | 02:03 |
xreactx[m]__ | I thought that was the root of another problem... | 02:06 |
xreactx[m]__ | https://pastebin.com/mehzQYd6 | 02:06 |
xreactx[m]__ | is that a "straggler file"? | 02:10 |
T42 | <birdzhang> cd hybris/mw/nfcd-binder-plugin && git reset --hard 1.0.4 | 02:26 |
xreactx[m]__ | do I need to execute git pull after that? | 02:28 |
T42 | <birdzhang> nope | 02:32 |
xreactx[m]__ | https://pastebin.com/0xmCAuXM problem still there | 03:00 |
T42 | <birdzhang> oh, git Fast-forward | 03:09 |
T42 | <birdzhang> you can manual build it after git reset --hard 1.0.4, and comment nfcd-binder-plugin in rpm/dhd/helpers/build_packages.sh | 03:11 |
T42 | <birdzhang> rpm/dhd/helpers/build_packages.sh -b hybris/mw/nfcd-binder-plugin | 03:12 |
T42 | <birdzhang> for example: https://wiki.merproject.org/wiki/Adaptations/faq-hadk#HADK_Fixes | 03:12 |
xreactx[m]__ | Thanks, I'll have to look into it tomorrow. | 03:39 |
xreactx[m]__ | birdzhang: thanks | 03:39 |
T42 | <adampigg> mal: looking at res bug, easyish to debug, added the imageCapture resolution to the label | 06:25 |
T42 | <adampigg> only happens on back camera! | 06:25 |
T42 | <adampigg> a good reason for my last idea for the ui to present the actrual state and not the setting value? | 06:25 |
Mister_Magister | doot doot | 08:03 |
deathmist | morning, mal: so after the "something to test" stuff was ran I built a new zip listed and now systemd hangs on "starting" state for quite a while but in the end DHI still fails & *servicemanager services seem to get ended by a SIGKILL, another journal update https://pastebin.com/7GwxbDnq | 08:13 |
mal | hmm, something went wrong then | 08:15 |
mal | check what the first few lines of command git log in system/core shows | 08:16 |
deathmist | mal: https://pastebin.com/fshYw6L0 is what the first 4 shown commits say | 08:19 |
mal | deathmist: are you sure you correctly disabled selinux on the device? via defconfig + kernel commandline? | 08:22 |
mal | ok, based on the log that should be ok | 08:23 |
deathmist | mal: I should've, this is how it also booted perfectly fine on hybris-15.1 w/ cmdline https://git.io/Je4jy defconfig https://git.io/Je4j9 | 08:25 |
mal | verify selinux_stubs is in the servicemanager rc files in /usr/libexec/droid-hybris/system/etc/init/ | 08:28 |
deathmist | mal: the files look ok to me https://pastebin.com/EwKeZSmD and /usr/libexec/droid-hybris/system/lib64/libselinux_stubs.so definitely exists on the device | 08:42 |
deathmist | I still have a feeling my disabled_services.rc https://git.io/Je4KY disables too much stuff and I'm going to experiment around a bit with that | 08:58 |
mal | but if servicemanagers fail then the issue is something else | 09:00 |
mal | wait, you have qti disabled? that looks so wrong | 09:00 |
deathmist | yeah it used to just fail and get restarted on 15.1 constantly so caused battery drain, it booted fine without it tho but I'll enable it again | 09:01 |
deathmist | mal: nope, still not booting even with only https://git.io/JeBvs disabled (and ofc I import init.qcom.rc manually on top becuause I disabled it in main init.rc) | 09:28 |
deathmist | is it bad to have this in journal "selinux: SELinux: Loaded file_contexts" ? is comes up after "droid-hal-init: init second stage started!" after which I also see a few lines like "droid-hal-init: Forked subcontext for 'u:r:vendor_init:s0' with pid 3368" | 09:34 |
T42 | <birdzhang> deathmist: how do you get telnet work? i have same issue with you. "/etc/udhcpd.conf: No such file or directory" | 09:40 |
T42 | <birdzhang> init.log: https://pastebin.com/uMkvjxNz | 09:40 |
deathmist | @birdzhang it is very finicky for me still even if I manage to get it, seems to work 100% of the time on first boot, other boots are basically a roll of the dice. not sure if it's an issue is the cable, device or my host. about those udhcpd.conf init messages I still get them even when telnet works fine | 09:42 |
T42 | <birdzhang> okay | 09:44 |
deathmist | https://git.io/JeBvS are my current defconfig options with which I can get telnet on the OnePlus 5 (cheeseburger) | 09:44 |
T42 | <birdzhang> thank you | 09:45 |
deathmist | oh I also made a "blind build" for OnePlus 5T (dumpling) on hybris-15.1 from mostly the same sources, now someone tested it on XDA and apparently it "worked perfectly" :D (I don't own the 5T) so could be worth looking into Jolla Store etc after verifying MAC addresses & IMEI's stick with reboots etc | 09:56 |
deathmist | mal: have you found anything yet that could cause servicemanager to fail? I could strace it too in a bit if that helps | 13:22 |
mal | deathmist: sorry, I haven't even looked at that yet | 13:23 |
mal | still at work | 13:23 |
deathmist | oh ok, no problem | 13:23 |
nitin03 | hello | 13:40 |
nitin03 | I need some help porting sailfishOS to my device...I was able to build sailfish os package. | 13:43 |
nitin03 | and flashed it after lineage os...But was unable to boot into sailfish os ...I tried to debug but.not able to as I can't telnet into my device | 13:44 |
nitin03 | as in guide it says..If you connect your device and run dmesg on host it should say mer bootloader but in my case it says google device | 13:45 |
mal | some basic information needed first, which device? which android base? does the device reboot after some time? | 13:45 |
nitin03 | xiaomi poco f1 | 13:45 |
nitin03 | lineage 16 base...Yeah it boots up gets stuck on manufacturer logo...and stays like that and then reboots again and gets stuck on same logo...this goes on and on | 13:47 |
mal | how long does it take for it to reboot? | 13:47 |
nitin03 | I cant say exactly but about 3 to 5minutes | 13:48 |
nitin03 | Is there any other way to know what is failing | 13:55 |
mal | do you see anything in host dmesg about usb during that time? | 13:58 |
nitin03 | yeah i checked It should show mer bootloader..but it shows as google device...also i checked iserial..it shows nothing, | 13:59 |
nitin03 | It shows things that I should See if I am booting android | 14:01 |
mal | but is only one message or does it show any changes during that time | 14:04 |
nitin03 | on host dmesg..it shows things like vendor etc... | 14:07 |
mal | I'm interesting if something changes there during the time the device is on and also when the reboot happens | 14:08 |
nitin03 | i did pull dmesg from my device...it shows avc denied errors...but i disabled it in boardconfig.mk by putting selinux=0 in kernel cmdline | 14:09 |
nitin03 | ohh..i will pay attention to it next time | 14:10 |
mal | dmesg from device? how? | 14:10 |
nitin03 | booted into twrp..and it has an option to store dmesg and recovery to sdcard ..then i pulled it from there using adb pull | 14:12 |
mal | but isn't that the dmesg from recovery, not from sfos | 14:12 |
nitin03 | Oh | 14:12 |
mal | nitin03: you might want to check the sfos rootfs in /data/.stowaways/sailfishos in recovery and check if that had init.log | 14:13 |
T42 | <BusterBg_18> nitin03: Let me see your sailfish defconfig | 14:13 |
nitin03 | ok thank you | 14:13 |
nitin03 | wait a minute | 14:13 |
mal | that rootfs would tell if it even got to sfos | 14:13 |
mal | also better show the changes you did to fixup-mountpoints file | 14:14 |
nitin03 | https://github.com/nit-in/hybris-boot/commit/a69d8823c16f82d0c0f53647984eb039885d25be | 14:16 |
T42 | <y_so_seriouss> @deathmist [oh I also made a "blind build" for OnePlus 5T …], I would like to test on my OnePlus 5T, please share the download link of files | 14:19 |
mal | deathmist: didn't the other servicemanager work before the changes I asked you to make? which makes very little sense though | 14:22 |
nitin03 | sorry i got disconncted | 14:31 |
deathmist | @y_so_seriouss check https://git.io/JeG9k follow flashing guide etc carefully | 14:32 |
nitin03 | did you check the mountpoints? | 14:35 |
T42 | <y_so_seriouss> @deathmist [@y_so_seriouss check https://git.io/JeG9k foll …], Thanks a lot for bringing Sailfish OS for OnePlus 5T :) | 14:37 |
T42 | <adampigg> mal: looks like ive fixed the resolution bug | 15:01 |
T42 | <adampigg> via code removal | 15:01 |
mal | @adampigg nice | 15:01 |
T42 | <adampigg> mal: i will PR later and we can be sure | 15:02 |
T42 | <adampigg> Vknecht: | 15:04 |
T42 | <adampigg> (Photo, 1080x1920) https://irc.thaodan.de/.imgstore/up2NsZXhHA.png | 15:04 |
T42 | <adampigg> Comment 2 | 15:04 |
T42 | <adampigg> 1 has a pr, 3 is likely super difficult! | 15:05 |
vknecht | ah ! there are always interesting ways to make things fail :-) | 15:05 |
vknecht | will check, on the videoprobe atm | 15:07 |
T42 | <adampigg> sucks that the propery way of frame grabbing doesnt work, and the PR looks dead | 15:08 |
vknecht | the videofilter ? well, in fact the probe seems more appropriate since no need to edit the frame | 15:09 |
vknecht | btw if I understood correctly, seems the frame would no be editable due to missing support in gstnemotexture or something | 15:10 |
vknecht | *editable anyway | 15:11 |
vknecht | not that we need it right now I guess, but still good to know | 15:11 |
T42 | <adampigg> yeah, it seems none of that is properly implemented | 15:11 |
T42 | <adampigg> on a demo appi have, i draw on the frame using qpainter | 15:12 |
T42 | <adampigg> on a desktop tho, not mobile | 15:12 |
T42 | <adampigg> mal, vknecht, in portrait, how about having the res/timer above the shutter? reason not to have it at the top, is that area auto fills with the menu buttons, so different devices have different areas | 15:15 |
T42 | <adampigg> above shutter would be consistent | 15:16 |
mal | @adampigg that will be a pain because of how the rotation is currently done | 15:17 |
vknecht | considered keeping at the same place, but written vertically ? | 15:18 |
mal | I think that would be terrible to read | 15:18 |
mal | vknecht: especially in video mode when it has also the time | 15:18 |
vknecht | maybe, but it's not so critical information ; but yes, with time it's worse | 15:19 |
vknecht | btw shouldn't time be reset as soon as recording stops ? | 15:19 |
mal | we need to rethink the UI at some point | 15:19 |
mal | @adampigg do you think it's ok to replace the "Checking supported:" with "Found support for" to minimize debug spam | 15:31 |
T42 | <adampigg> Sure | 15:32 |
mal | I'm doing some code cleanup | 15:32 |
mal | @adampigg also found a new improvement, hiding the menu icons if there are no such modes, iso modes are often missing on new android versions | 15:45 |
deathmist | mal: I don't remember and I don't have the old build anymore :/ should I revert the changes and how? I'll definitely keep this current build too if we need it again | 15:49 |
mal | deathmist: I think the previous code was wrong, not sure what the issue is now | 15:50 |
mal | Thaodan: ping | 16:08 |
Simdol | Hey, has there been an attempt at porting SOS to oneplus 6? | 16:31 |
Simdol | In particular, with the new A/B partition scheme and project treble, is porting possible? | 16:31 |
Thaodan | mal: yes? | 16:33 |
Thaodan | Simdol: just ignore ab layout or use it to extend the system partition. | 16:34 |
Simdol | Thaodan: Okay, that sounds feasible. For the 'base' of Android, any AOSP based rom is supported right? | 16:37 |
Simdol | i.e Android Pie works with HADK? | 16:37 |
mal | Thaodan: about the droid-hal-device PR, not sure I understand what issue you have with -b | 16:45 |
mal | Simdol: lineage os or aosp are fine, up to android 9 | 16:46 |
mal | android 9/ lineage 16.0 needs an additional command before build but otherwise the same | 16:46 |
Simdol | mal: is that command documented somewhere? | 16:54 |
mal | no | 17:05 |
mal | well it is in channel logs | 17:05 |
Simdol | mal: well, what command is it? | 17:06 |
Simdol | i don't think i know where to look for that | 17:06 |
mal | "hybris-patches/apply-patches.sh --mb" | 17:06 |
mal | before doing make hybris-hal | 17:06 |
Simdol | mal: ah, so just gotta apply that patch? | 17:07 |
mal | it will apply many patches | 17:07 |
Simdol | cool. | 17:08 |
Simdol | also for some odd reason, i can't do 'sudo zypper ref' in a chroot of platform_sdk | 17:08 |
Simdol | it hangs, one of the core is at 100% | 17:08 |
Simdol | can't terminate it either :/ | 17:08 |
mal | does it output anything? | 17:10 |
Simdol | mal: nope | 17:11 |
Simdol | maybe i should run with -v to see if it helps? | 17:11 |
Simdol | sudo zypper -v ref | 17:12 |
Simdol | Verbosity: 1 | 17:12 |
Simdol | Initializing Target | 17:12 |
Simdol | warning: rpmdb: Freeing read locks for locker 0x7: 3821/4137200000 | 17:12 |
Simdol | and it hangs there | 17:12 |
mal | what step in build process are you doing? | 17:12 |
Simdol | mal: just trynig to setup the build environment | 17:13 |
mal | did you try exiting the sdk and going back | 17:16 |
Simdol | mal: actually done that multiple times | 17:17 |
Simdol | i think double chrooting might be the cause of this | 17:17 |
mal | you are in two chroots? | 17:22 |
Simdol | mal: yes. | 17:22 |
mal | why? | 17:22 |
Simdol | mal: i needed a clean build environment, it's ran in lxc container | 17:23 |
Simdol | well, i will try one more time outside the container to see if that works | 17:23 |
mal | sfos build happens in chroot already so the host doesn't matter really | 17:24 |
Simdol | mal: i figured, i just like having them separated so that i can nuke and remake easily if i have to | 17:26 |
Simdol | also allows for really easy cloning | 17:26 |
deathmist | Simdol: if you want a clean environment I recommend just making a new user on your actual host specifically for building stuff w/ bash as the shell | 17:26 |
deathmist | then you can just e.g. "su - builder" and off you go | 17:27 |
Simdol | deathmist: yeah, that's what i just did | 17:27 |
Simdol | hmmm Repository 'adaptation0' is invalid. | 17:27 |
Simdol | - Store credentials not received. Not connected to D-Bus server | 17:27 |
deathmist | you can ignore most "errors" unless builds fail :p | 17:28 |
Simdol | deathmist: i figured :P | 17:28 |
Simdol | okay, which repo do i need for my device? i see hybris-16.0 (which i assume is los based), but if i want to use an aosp rom, do i clone that instead? | 17:34 |
Simdol | can't i just git clone https://github.com/omnirom/android_device_oneplus_oneplus6/tree/android-9.0? | 17:36 |
mal | Simdol: aosp porting is not as straightforward as lineage porting, mainly because there is no ready manifest for it, is there something wrong with the lineage os for that device? | 17:39 |
T42 | <Akatsu %lastname%> How make works under HADK? Do hybris-hal execute hybris-boot aswell? | 17:39 |
mal | hybris-hal build also hybris-boot and other things | 17:40 |
Simdol | mal: the support for los for my device is not prefect | 17:40 |
Simdol | mal: omnirom on the otherhand, has much better supprot | 17:40 |
mal | Simdol: well if you can find the android manifest used for omnirom then it might be possible | 17:40 |
T42 | <Akatsu %lastname%> Guide for SFOS isn;t very idiot friendly, halium have it done much better | 17:40 |
mal | improvement ideas are welcome | 17:41 |
mal | I haven't looked at halium porting instructions | 17:41 |
mal | where are those | 17:41 |
T42 | <Akatsu %lastname%> http://docs.halium.org/en/latest/ | 17:42 |
T42 | <Akatsu %lastname%> there is no need for sdk,chroot etc | 17:42 |
Simdol | mal: is this it? https://github.com/omnirom/android | 17:42 |
T42 | <Akatsu %lastname%> pray for me to not fail on building | 17:44 |
T42 | <Akatsu %lastname%> Are tooling SDK meant for app development? I remember seeing in HADK to not install them | 17:45 |
T42 | <BusterBg_18> I find the HADK fine as it is, besides halium only builds images or I am missing something? | 17:47 |
T42 | <Akatsu %lastname%> yes | 17:47 |
*** OhYash1 is now known as ohyash | 17:47 | |
T42 | <Akatsu %lastname%> its only for building images. systemimage and hybris-boot/hallium-boot | 17:48 |
T42 | <Akatsu %lastname%> sadly its stuck on 7.1 so before android got some unified stuff | 17:48 |
T42 | <Akatsu %lastname%> will it ever be possible to build Treble SailfishOS and just have to manualy build custom kernel image? | 17:50 |
mal | Simdol: looks like it | 17:52 |
mal | sailfish already uses treble in many places but devices aren't that simple, a lot of configuration changes etc | 17:53 |
mal | @adampigg starting to think of running automatic code formatting to qml code is a good idea, we have too many things that do not match Qt style guide | 17:54 |
mal | *if | 17:54 |
T42 | <adampigg> mal: you tell me off when i do that!!! | 17:55 |
Simdol | mal: can you help me decipher what .local_manifests/$DEVICE.xml values are? | 17:57 |
mal | @adampigg so what should we do, makes git blame more difficult but would make code more consistent, I already fixed c++ files | 17:57 |
mal | Simdol: you find those in omni.dependencies files in your device, you should also check the projects linked there for additional dependencies files | 17:58 |
Simdol | mal: where is the omni.dependencies located? | 17:59 |
mal | Simdol: https://github.com/omnirom/android_device_oneplus_oneplus6/tree/android-9.0 | 18:00 |
Simdol | mal: ah of course. *fale palm* thank you so much | 18:00 |
Simdol | mal: wait, that's not an xml file. so do i just simply repo sync? | 18:01 |
vknecht | that qml formatting, maybe it's doable from a commit hook ? | 18:09 |
mal | Simdol: no, you create the xml file based on the information in dependencies file | 18:19 |
mal | Simdol: hadk pdf should have an example which you should be able to use to determine what goes where | 18:19 |
Simdol | mal: so repository = name; revision = revision and the rest i can ignore? | 18:24 |
Simdol | path = remote? | 18:25 |
mal | path = target_path obviously | 18:28 |
T42 | <Akatsu %lastname%> not really sure but is treble about these binder interfaces? | 18:30 |
mal | yes | 18:30 |
T42 | <Akatsu %lastname%> so in short vendors are pushed to make universal binaries which will like expose devices in specific format to be accessible by standarized api? | 18:31 |
mal | @adampigg are the CameraImageProcessing.ColorFilterEmboss and related additions already in qtmultimedia? | 18:31 |
rinigus | as I have to make (or at least it looks like it) vbmeta image, I am stumbling into error while making vbmetaimage in hadk (https://paste.opensuse.org/60690122) | 18:32 |
mal | @adampigg looks like 3.1.0 has those, do we want to support older sfos version in cam app? | 18:33 |
rinigus | same will happen if I try to make systemimage vendorimage | 18:33 |
rinigus | looks like hybris patches don't allow it... | 18:33 |
T42 | <Akatsu %lastname%> im idiot, can anyone tell me how im supposed to get flashable zips? from make hybris-hal i got hybris-boot.img and folders with system and root, what im supposed to do later? | 18:36 |
mal | rinigus: was that android 9 base? did you apply patches? | 18:36 |
mal | continue reading the hadk pdf, make hybris-hal is just the first step in the build | 18:37 |
T42 | <Akatsu %lastname%> oh scratchbox sorry | 18:37 |
rinigus | mal: sorry for skipping specs. yes, its aosp9 with applied hybris patches. | 18:38 |
piggz | mal: yes, 3.1 only, im happy to support 3.1+ | 18:39 |
piggz | alothough, harbour doenst let me choose that as an option | 18:39 |
Simdol | mal: having a hard time setting up that .xml file "fatal: remote error: Git repository not found" | 18:41 |
Simdol | it tries to clone from googlesource.com when i need it to clone from github repo | 18:41 |
Simdol | http://dpaste.com/009DFB9 | 18:42 |
mal | Simdol: so you didn't set proper remote for those | 18:54 |
mal | add remote="omnirom" | 18:55 |
Simdol | mal: got it! i also had quite a few errors, someone should consider adding https://gerrit.googlesource.com/git-repo/+/master/docs/manifest-format.md as documentation | 19:00 |
Simdol | *to the documentation pdf | 19:00 |
mal | vknecht: the automatic formatter does some a bit strange formatting when ternary operators are used | 19:07 |
deathmist | mal: seems my dumpling (OnePlus 5T) builds work fine, sources are like 95% identical to my cheeseburger (OnePlus 5 non-T) ones. what would be the best way of doing OTA with the 2 almost same models? the only packaging differences are ofc the dcd, dhd and dvd packaging | 19:14 |
Simdol | deathmist: huh, that's pretty cool | 19:22 |
Simdol | you managed to port sos 3 to 5/5t? | 19:23 |
deathmist | yep | 19:23 |
Simdol | deathmist: apart from hwdk's instructions, did you have to do anything special to get stuff to work? loaded question ik, just curious | 19:24 |
piggz | mal: argh, what is going on! | 19:27 |
deathmist | Simdol: I looked at other device (droid-config-*) repos and picked up stuff that I needed e.g. media and audio configs etc, some you'll have to get working manually with device/SOC specific symlinks. either way here's a scuffed screenshot of OP5T running SFOS :) https://i.imgur.com/fgzkAEI.jpg | 19:30 |
deathmist | branek would be proud lol | 19:31 |
Simdol | deathmist: ah, cool. i'm trying to sos to op6, so this should be interesting... | 19:33 |
mal | deathmist: are dumpling builds also 16.0? | 19:34 |
mal | piggz: ? | 19:34 |
piggz | mal: onCameraStatusChanged .... | 19:35 |
piggz | applies settings only when in ActiveStatus | 19:35 |
piggz | except, it doesnt | 19:35 |
piggz | it calls the function in the StartingStatus, and it def shouldnt | 19:35 |
deathmist | mal: basically when I get them to work on cheeseburger too lol, for now it's working perfectly fine on 15.1 as is cheeseburger. the kernel sources etc are the exact same! and I can just sync and adapt droid-config and such sources from 5 non-T | 19:35 |
piggz | mal: no, im wrong... | 19:37 |
mal | deathmist: you said the dumpling build works but you don't have working cheeseburger build | 19:37 |
piggz | its just lost in all the debug | 19:37 |
piggz | ! | 19:37 |
deathmist | no I do, both work fine on 15.1 but 16.0 is equally broken on both (haven't bothered to test dumpling on 16.0 as I don't own the device) | 19:37 |
mal | deathmist: I got confused which build was based on which version | 19:39 |
deathmist | the sources are in sync basically, once I get hybris-16.0 working on cheeseburger it will also work on dumpling which is kinda awesome :) | 19:40 |
T42 | <BusterBg_18> hey mal: guess what? I now have telnet on xiaomi_sirius (hybris-16 base) | 19:55 |
T42 | <BusterBg_18> And as expected I dont have GUI | 19:56 |
deathmist | BusterBg_18: DHI ( droid-hal-init) most likely fails for you too as it does for me currently on 16.0 (check systemctl status) | 19:56 |
deathmist | tho I think you'll also need mount units for /system and /vendor if they are not mounted (see mount command or cd in there and ls to check) | 19:57 |
mal | maybe I should actually try using hybris-16.0 myself :) | 19:57 |
mal | deathmist: can you recheck the mounts are ok | 19:58 |
mal | deathmist: in case you rebuilt the image and didn't add those to config repo yet | 19:58 |
mal | looks like you have those on github | 20:00 |
T42 | <BusterBg_18> I just checked init.log seems like my fixups are missing | 20:05 |
T42 | <BusterBg_18> Now that I remember I did a repo sync before saving them | 20:05 |
deathmist | mal: yeah I do https://git.io/JeBnQ and they work fine on current 16.0 build https://pastebin.com/CZZxtL1p | 20:06 |
mal | @adampigg which android base does fxtec use? | 20:07 |
mal | deathmist: try adding this file to your device https://github.com/mer-hybris/droid-config-sony-ganges-pie/blob/324aa271f8e1a895c7aac1000af86576f9148cb7/sparse/usr/bin/droid/droid-hal-early-init.sh | 20:09 |
mal | and this https://github.com/mer-hybris/droid-config-sony-ganges-pie/blob/5d98fc2cd583860313648eeac9b7a7264a471ef3/sparse/usr/libexec/droid-hybris/system/etc/ld.config.28.txt | 20:11 |
mal | although that might have some issue as that is from aosp | 20:11 |
mal | deathmist: instead of that last link copy the file from /system/etc/ld.config.28.txt and add the libexec parts the same as in the link I gave | 20:12 |
T42 | <Akatsu %lastname%> How long does "Building rpm/libhybris.spec" takes? | 20:14 |
T42 | <Akatsu %lastname%> i said y to build libhybris after build_packages.sh | 20:14 |
T42 | <BusterBg_18> It takes a little bit longer than the other middleware packages in my experience | 20:15 |
T42 | <Akatsu %lastname%> so should i use all on prompt? | 20:16 |
T42 | <BusterBg_18> No | 20:16 |
T42 | <Akatsu %lastname%> i only accepted libhybris and now i get libglibutil | 20:16 |
T42 | <adampigg> mal: pie | 20:17 |
T42 | <BusterBg_18> Check out my messages asking about the middleware that fails/needs git reset on the channel logs | 20:17 |
vknecht | piggz, sent a fix for gallery delete, hope it's fine with you ; there's an imperfection in that when deletion happens when previewing another media, the preview switches to another media, but that's a different (unseen previously) problem (gallery index reordering I guess) | 20:26 |
vknecht | on another subject, wondering if QVideoProbe is also faulty, I get signal ( https://www.youtube.com/watch?v=8fvTxv46ano ) but can't get QVideoFrame to QImage saving for now | 20:36 |
vknecht | ugly, non rebased patch for videoprobe attempt : https://pastebin.com/GWZBZBT5 | 20:42 |
vknecht | void FrameGrabber::emitVideoFrameProbed() being the critical part | 20:43 |
vknecht | hope you all enjoyed this historical meme video XD | 20:45 |
vknecht | another one, an hommage to all developers, with love from MS XD : https://www.youtube.com/watch?v=rRm0NDo1CiY | 20:49 |
deathmist | mal: help, it's doesn't make any sense xD dcd commit https://git.io/JeBC3 result on system https://pastebin.com/JS8eXtMi | 20:49 |
deathmist | and just to be clear, DHI shows "Process: 5200 ExecStartPre=/bin/sh /usr/bin/droid/droid-hal-early-init.sh (code=exited, status=0/SUCCESS)" | 20:51 |
deathmist | so the mount apparently "works" but it doesn't do anything :/ | 20:52 |
deathmist | and the shown ld.config.28.txt was originally in my /system/etc/ dir, I just added the 2 libexec lines to it like on ganges-pie repo | 21:01 |
mal | deathmist: can you check if the mount worked | 21:06 |
mal | deathmist: no difference in logs? | 21:07 |
deathmist | :o droid-hal-init is up \o/ | 21:09 |
deathmist | nvm it failed now .-. | 21:10 |
mal | deathmist: same error? | 21:12 |
deathmist | mal: guess so, servicemanager services still die. doesn't look like the mount works from droid-hal-early-init.sh (even after letting it sit for minutes after powering on) but if I run it manually after it works fine, why could this be? I can give new journal | 21:14 |
T42 | <BusterBg_18> After adding once more my changes to fixup-mounpoints, do I need to rebuild everything or only hybris-hal? | 21:14 |
mal | @BusterBg_18 depends on what you mean by everything, hybris-hal and build_packages.sh -d are needed | 21:16 |
T42 | <BusterBg_18> I was refering to packaging it once again | 21:17 |
mal | deathmist: maybe try the ugly way, backup the original file from /system, mount /system with write permissions and copy the modified file | 21:17 |
deathmist | mal: that definitely did something good, *servicemanager services don't die now it seems and DHI is actually alive, now only I still get no graphics, systemd is left in a degraded state (dev-cpuctl.mount dev-stune.mount sys-fs-bpf.mount & systemd-tmpfiles-setup.service fail) | 21:22 |
deathmist | following journal I see some RTC errors spammed and vendor.dataqti seems to die and get restarted constantly | 21:25 |
deathmist | oh yeah date shows "Fri Jul 26 06:38:48 EEST 2019" oof | 21:25 |
mal | those failures are ok | 21:26 |
mal | I mean the earlier ones | 21:27 |
mal | not sure about vendor.dataqti | 21:27 |
mal | deathmist: check if logcat works | 21:27 |
deathmist | seems to work fine | 21:28 |
mal | anything about graphics in there | 21:28 |
mal | hwcomposer or stuff, also check journalctl | 21:28 |
T42 | <BusterBg_18> mal: how can I check if I pointed fixup to correct userdata partition? | 21:57 |
deathmist | BusterBg_18: pretty sure if you get a "/data/.stowaways/sailfishos/init.log" then that is taken care of | 21:59 |
mal | one way is to check the ramdisk init somewhere under out/ | 22:00 |
T42 | <BusterBg_18> I get: | 22:00 |
T42 | <BusterBg_18> mount: mounting /dev/block/bootdevice/by-name/userdata on /data failed: No such file or directory | 22:00 |
T42 | <BusterBg_18> And a pretty ominous Debug session : Failed to boot init in real rootfs | 22:00 |
mal | something like out/target/product/$DEVICE/obj/ROOT/hybris-boot_intermediates/initramfs/init | 22:01 |
mal | @BusterBg_18 why not show your fixup-mountpoints changes and also give link to the fstab of your device repo | 22:02 |
mal | @BusterBg_18 where do you see that error? | 22:02 |
T42 | <BusterBg_18> Dont worry about the missing "@" symbol I already have that https://github.com/BusterGR18/hybris-boot/commit/8ca6227a9cd7c512cec8f7c5b9534a3483121b21 | 22:03 |
T42 | <BusterBg_18> On init.log in telnet | 22:03 |
T42 | <BusterBg_18> https://github.com/BusterGR18/android_device_xiaomi_sirius/blob/lineage-16.0/rootdir/etc/fstab.qcom | 22:03 |
mal | you should already see an error in the fixup | 22:04 |
mal | look at the the second line in that diff and then look at the end of what you added | 22:05 |
deathmist | could it be failing because userdata is F2FS by default in that fstab? I've only used ext4 on SFOS | 22:08 |
deathmist | and so is cache too | 22:08 |
T42 | <BusterBg_18> The "$@"? | 22:08 |
mal | @BusterBg_18 yes, make sure the end of your additions looks exactly the same as the previous one | 22:09 |
T42 | <BusterBg_18> I already have that, just not commited :p | 22:09 |
mal | @BusterBg_18 come on, why would you show me obsolete code | 22:09 |
mal | do you expect me to find what is wrong that way | 22:09 |
T42 | <BusterBg_18> Sorry | 22:11 |
T42 | <BusterBg_18> It slipped off my mind | 22:11 |
mal | did you check that out/target/product/$DEVICE/obj/ROOT/hybris-boot_intermediates/initramfs/init | 22:12 |
mal | it should have the actual device node near the top | 22:12 |
mal | deathmist: sfos installer script used in recovery has hardcoded ext4 https://github.com/mer-hybris/hybris-boot/blob/master/updater-script#L18 | 22:14 |
mal | deathmist: so we assume everyone formats data to ext4 | 22:15 |
deathmist | ah, out of curiosity would it work with F2FS if I got rid of the check? | 22:15 |
T42 | <BusterBg_18> Past the Running mer Boat Loader I have DATA_PARTITION=/dev/block/bootdevice/by-name/userdata | 22:16 |
mal | deathmist: maybe | 22:18 |
mal | @BusterBg_18 so fixup doesn't work then | 22:18 |
T42 | <BusterBg_18> So I suppose it should say /dev/block/mmcblk0p81? | 22:19 |
mal | try running make hybris-hal again and see if thereis any difference, does the build report what it found from fstab, it tells it quite near the beginning | 22:19 |
T42 | <BusterBg_18> It says out/target/product/sirius/obj/ROOT/hybris boot_intermediates/init Fixing mount-points for device sirius | 22:23 |
deathmist | mal: could line 2777 in journal https://pastebin.com/T0imvddU be an issue for gfx? here's also logcat https://pastebin.com/KNKb0f5p | 22:23 |
mal | @BusterBg_18 it should saud something about found data at somewhere | 22:28 |
mal | similar for boot | 22:28 |
mal | actually "/data appears to live on" | 22:29 |
T42 | <BusterBg_18> https://pastebin.com/mqL5gThA | 22:29 |
T42 | <BusterBg_18> And after that its just kernel stuff | 22:30 |
T42 | <BusterBg_18> Should I make clean and see if it changes anything? | 22:30 |
mal | you still have the wrong one in that init file? | 22:32 |
T42 | <BusterBg_18> Yep | 22:32 |
T42 | <BusterBg_18> I just found something, theres another sirius on fixup-mountpoints | 22:33 |
T42 | <BusterBg_18> Can that be the problem? | 22:33 |
mal | yes | 22:34 |
mal | it uses the first one it finds | 22:34 |
mal | that other one is for sony's sirius device | 22:35 |
mal | no idea why xiaomi decided to use a codename that is already being used | 22:35 |
mal | deathmist: can you should output of "ls -l /" from device | 22:36 |
mal | deathmist: also output of "mount" | 22:36 |
T42 | <BusterBg_18> Ok, I just deleted it currently rebuilding hybris-hal | 22:38 |
T42 | <BusterBg_18> Success!!! | 22:39 |
T42 | <BusterBg_18> It now shows DATA_PARTITION=/dev/mmcblk0p81 | 22:39 |
mal | good | 22:39 |
deathmist | mal: https://pastebin.com/02grjUBg | 22:44 |
mal | deathmist: verify that /mnt/vendor/persist has some reasonable content | 23:02 |
deathmist | mal: https://pastebin.com/T8aETB6k look... reasonable to me? | 23:03 |
mal | looks ok | 23:04 |
T42 | <BusterBg_18> So now my device led lit up | 23:04 |
T42 | <BusterBg_18> It no longer complains about not finding /data | 23:04 |
deathmist | @BusterBg_18 that's good... now can you get in with "telnet 192.168.2.15 2323" ? | 23:06 |
T42 | <BusterBg_18> Indeed | 23:06 |
T42 | <BusterBg_18> With only 23 It refuses connection | 23:06 |
deathmist | 23 is only used during very early stage debugging (i.e. not in SFOS rootfs) | 23:07 |
T42 | <BusterBg_18> Ahh, I didnt remember that | 23:07 |
mal | deathmist: try EGL_PLATFORM=hwcomposer test_hwcomposer | 23:08 |
deathmist | as nemo or? | 23:08 |
mal | preferrably | 23:08 |
deathmist | ah, "library "libsdm-disp-vndapis.so" not found" and segfault | 23:08 |
mal | does the device that that anywhere | 23:09 |
deathmist | in /vendor/lib64/libsdm-disp-vndapis.so only, isn't this bad? :( | 23:10 |
mal | not sure | 23:10 |
mal | in logcat " SDM : HWCColorManager::CreateColorManager: Successfully loaded libsdm-disp-vndapis.so" | 23:10 |
deathmist | mal: https://pastebin.com/3SFhjxw7 here's strace too for test_hwcomposer | 23:15 |
T42 | <BusterBg_18> Here is the latest init.log https://pastebin.com/SeB0DtRH | 23:17 |
mal | @BusterBg_18 if you are in telnet 2323 then init.log is useless, you should be looking at dmesg, journalctl and sometime /usr/libexec/droid-hybris/system/bin/logcat | 23:18 |
T42 | <BusterBg_18> As I tought, well here is dmesg https://pastebin.com/gDVnwiki | 23:28 |
mal | deathmist: let's try a very ugly way, copy this file (click view raw to download it) https://github.com/TheMuppets/proprietary_vendor_oneplus/blob/de2f9ac1f7169c48c0dee24babc17f85def36454/msm8998-common/proprietary/vendor/lib/libsdm-disp-vndapis.so to /usr/libexec/droid-hybris/system/lib/libsdm-disp-vndapis.so | 23:29 |
mal | @BusterBg_18 was that also hybris-16.0 base? if so you might need to do similar things that deathmist did | 23:30 |
T42 | <BusterBg_18> Yep its also 16.0 | 23:30 |
mal | most likely some issues with mounting and other things | 23:30 |
mal | but it's quite late now so maybe tomorrow | 23:30 |
T42 | <BusterBg_18> No prob, my ass is starting to get sore from sitting so its also a good idea for me to take a break, thanks for your help as always mal c: | 23:33 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!