T42 | 岳兴焦 %lastname% was added by: 岳兴焦 %lastname% | 01:10 |
---|---|---|
T42 | Bradley %lastname% was added by: Bradley %lastname% | 07:32 |
masya_ | Hi. Trying to port for Xiaomi Mi A2 (jasmine_sprout) with LOS-16.0. After "make hybris-hal" get this error: FindEmulator: find: `tools/metalava/manual': No such file or directory. How to solve it? | 07:35 |
vknecht | guess either it's missing from the manifests so you could add it to your local manifest, or the reference to it should be removed (not sure what best option is, probably first one) | 07:41 |
deathmist | @masya_ please do "mka clean" in your HA_BUILD environment now as you probably messed things up, then follow steps in https://github.com/mer-hybris/hadk-faq#hybris-16-0 | 07:42 |
deathmist | (ignore config repo / build_packages thing for now, you'll get to it in HADK section 7.1) | 07:43 |
deathmist | masya_ also you need to run "hybris-patches/apply-patches.sh --mb", that really needs to be in the document already | 07:52 |
deathmist | @BusterBg_18 we made droid-hal build generate another set of udev rules using vendor udeventd.rc from device itself and extracted them from the built RPM to put in droid-configs, you could take a look at /vendor/ueventd.rc and check if permissions & ownerships match on some file(s) in /dev with "ls -l" | 08:03 |
deathmist | you can also try "make modules" from HA_BUILD env ofc and afterwards check output of "find out/ -name *uevent*rc" | 08:07 |
T42 | <岳兴焦 %lastname%> (Photo, 566x656) https://irc.thaodan.de/.imgstore/A0iKymuKCn.png 🗣contact 👥联系👤: @Tinpol | 08:17 |
masya_ | Found a Metalava repo in /hadk/.repo/manifests/default.xml. It is commented. Trying to un-comment and resync | 09:08 |
deathmist | masya_: please just follow what I said earlier | 09:08 |
deathmist | melatava should not be needed for anything hybris-hal related, it just means you didn't apply patches | 09:12 |
rinigus | pketo: please add XZ2c dual for store access. device is "Xperia XZ2 Compact (h8324 / h8324)" . ssu s returns the first imei as device id. | 09:29 |
masya_ | Ok. Now i get this error https://pastebin.com/sHPEhQU2 | 09:30 |
rinigus | there are some issues with that device still, but its unrelated to the store/ids (4g not working and a weird crash) I am waiting for logs from the user | 09:30 |
deathmist | masya_ please give full log after "mka clean" and "mka hybris-hal" | 09:33 |
deathmist | also show manifest | 09:34 |
rinigus | mal & vknecht: I recompiled systemimage/vendorimage with dbus selinux patch, pulled from these images /system/etc/selinux/plat_sepolicy.cil and /vendor/etc/selinux/precompiled_sepolicy. as a result, I have now selinux set to permissive and all seems to work | 09:36 |
rinigus | vknecht: I will adjust hadk docs accordingly in the systemimage/vendorimage section. just let me run a test commands first, before I make the change | 09:37 |
rinigus | sorry for mistake | 09:38 |
vknecht | rinigus, nice... getting some progress too with latest libhybris: no crash, but lipstick doesn't seem to kick in https://pastebin.com/kQB3A08B | 09:39 |
vknecht | wonder if I need "configs: Exit unlock ui before executing startup wizard" | 09:40 |
vknecht | there's even some hwcomposer info printed from invoker | 09:40 |
rinigus | not sure which configs are you talking about... do you mean that there is some patch which you miss? | 09:43 |
rinigus | vknecht: ^ | 09:43 |
vknecht | rather a configs submodule update | 09:43 |
vknecht | https://github.com/mer-hybris/droid-config-sony-ganges-pie/pull/47 | 09:45 |
vknecht | just a guess, will have to try | 09:45 |
rinigus | vknecht: I guess I will have to start tracking the changes in those repos as well | 09:47 |
pketo | rinigus: added | 10:12 |
Mister_Magister | hi pketo | 10:27 |
rinigus | pketo: thank you! | 10:33 |
pketo | hello Mister_Magister :) | 10:36 |
Mister_Magister | pketo: u doin great job keep it up! | 10:44 |
T42 | <elros34> just for the record: looks like EGL_PLATFORM=fbdev must be defined even for eglfs on sunxi otherwise lipstick crash on start | 12:51 |
T42 | <elros34> does that updated wireless-regdb works? I had to copy regulatory.db* to /lib/firmware/ to be even loaded but it fails anyway: cfg80211: loaded regulatory.db is malformed or signature is missing/invalid | 13:14 |
rinigus | vknecht: instructions are updated, should work now | 15:02 |
mal | has anyone had issues with video playback on hybris-14.1/android7 base? | 15:17 |
T42 | <adampigg> What kind of issues? | 15:40 |
mal | @adampigg it's not woeking at all, codec seems to work but then app just hangs after a few frames | 17:01 |
*** OhYash1 is now known as ohyash | 19:26 | |
deathmist | I assume setting installable_zip macro to 0 will disable building a zip / running the packer KS or? I use a custom installer implementation and a modified packer script and don't need any of the files/scripts from hybris-boot + those also end up on /boot on my device which seems completely unnecessary | 21:59 |
deathmist | the 3 files I'm talking about are hybris-updater-script, hybris-updater-unpack.sh & update-binary provided by droid-hal-$DEVICE-img-boot RPM and them ending up on my SFOS rootfs in /boot/ | 22:03 |
T42 | <edp_17> Good evening. | 22:35 |
T42 | <edp_17> @Elros, you were right about the partition mount parameters. I have removed the udev and re-run the mic. This time the led has light up and the device got a mac and ip address. I could telnet in to check the logs. | 22:36 |
T42 | <edp_17> Here they are: | 22:37 |
T42 | <edp_17> mount: https://pastebin.com/Rf9vxtsT | 22:37 |
T42 | <edp_17> systemctl list-units -t service --all: https://pastebin.com/sS8aCiFw | 22:37 |
T42 | <edp_17> systemctl list-unit-files: https://pastebin.com/g7uUimeL | 22:37 |
T42 | <edp_17> systemctl status -l dbus.service: https://pastebin.com/upNiE1zs | 22:37 |
T42 | <edp_17> However the dbus.service is active, the command 'systemctl --user restart lipstick' gives me 'Failed to get D-Bus connection: No such file or directory' | 22:38 |
T42 | <edp_17> Oh, and this time I have /system mounted. | 22:40 |
deathmist | @edp_17 what does your device fstab look like? I think you may still be missing a few (though I mostly have experience with LOS >=15.1) | 22:43 |
T42 | <edp_17> fstab: https://pastebin.com/3FSLuauN | 22:44 |
deathmist | no I mean like fstab.qcom in your device/ trees | 22:45 |
T42 | <edp_17> Oh, sorry. I go an check. | 22:45 |
T42 | <edp_17> In the $ANDROID_ROOT I have common, qcom and samsung. | 22:48 |
T42 | <edp_17> In $ANDROID_ROOT/qcom I have common and sepolicy | 22:48 |
T42 | <edp_17> In $ANDROID_ROOT/qcom/common I have a few folders and files but there is no fstab | 22:48 |
T42 | <edp_17> or fst.qcom | 22:48 |
deathmist | @edp_17 run "find $ANDROID_ROOT/{device,out}/ -name fstab.*" and if it doesn't find it try with *.fstab instead maybe | 22:52 |
T42 | <edp_17> the find ... fstab.*: https://pastebin.com/4JajTpmh | 22:55 |
T42 | <edp_17> The find ... *.fstab returned only one location in $ANDROID_ROOT/device/samsung/hero-common/ramdisk/recovery.fstab | 22:56 |
T42 | <edp_17> Which one should I check? | 22:56 |
deathmist | fstab.samsungexynos8890 is the one you should look at | 22:56 |
T42 | <edp_17> I have 3 of them in 'out/target/product/herolte/root/' | 22:57 |
T42 | <edp_17> 'out/target/product/herolte/obj/BOOT/' | 22:57 |
T42 | <edp_17> and 'out/target/product/herolte/obj/BOOT/fstab.samsungexynos8890_intermediates/' | 22:57 |
deathmist | they all should be copies of each other, everything in out/ is copied there or generated in some other way | 22:59 |
T42 | <edp_17> I see. Thank you. | 23:00 |
T42 | <edp_17> https://pastebin.com/X5pdiRK7 | 23:01 |
deathmist | looks like it generated everything properly :p can you give full journalctl -b after booting | 23:03 |
T42 | <edp_17> There is always --More--. How many screens of journalctl should I copy in? Thank you. | 23:07 |
deathmist | do "journalctl -b > journal.log" and grab the file instead ^^ | 23:07 |
deathmist | and on the device ofc NOT host @edp_17 | 23:08 |
T42 | <edp_17> Thanks. I have ran it on the device :), now I am trying to pull to pc be able to show you. | 23:09 |
T42 | <edp_17> Yeah, I probably need to boot into recovery. Give me a minute. | 23:10 |
deathmist | you could also enable USB networking as per HADK 9.3.3 and copy it via SSH if you don't want to fully reboot :p | 23:11 |
T42 | <edp_17> It is 2.9MB I am not sure I can put this into pastebin. | 23:11 |
deathmist | 2.9M right after boot? | 23:12 |
T42 | <edp_17> Thank you, I will try 9.3.3 | 23:12 |
T42 | <edp_17> Yes. | 23:12 |
T42 | <edp_17> Wait a second, I do a fresh boot and grab the file again to double check the size. | 23:13 |
T42 | <edp_17> Now, it is 3.1 MB | 23:14 |
T42 | <edp_17> Nooooooo, that was the speed of the copy!! Sory!! | 23:15 |
T42 | <edp_17> It was 325k: https://pastebin.com/wP1nWhKb | 23:18 |
T42 | <edp_17> Seemingly there is a problem with the droid-hal-init.service. And the RILD. | 23:19 |
deathmist | @edp_17 droid-hal-init: Failed to initialize property area <-- is your biggest issue currently, I got that fixed by just mounting /vendor but since you're on Nougat you may have straggler files in out/.../root/*property_contexts which you'll need to package in | 23:21 |
T42 | <elros34> I am pretty sure I mention it that you need detritus package and straggler files which you had defined earlier | 23:23 |
T42 | <elros34> It's need to get droid-hal-init working | 23:24 |
T42 | <edp_17> I remember that those straggler definitions were there before I refreshed the submodules from scratch. | 23:25 |
T42 | <edp_17> I go an find these in DRiim's repo because I lost them. | 23:25 |
T42 | <elros34> these should be detected durring droid-hal build but rpm checking for installed and unpackaged files is currently broken. Fix is known but who knows when it will be included, hope before sailfish 4 | 23:27 |
T42 | <edp_17> I have found the straggler file definitions and added into droid-hal-herolte.spec | 23:29 |
T42 | <edp_17> Now I guess should re-run the Mic bit. | 23:29 |
deathmist | build_packages -d & remember to add your droid-hal detritus package to patterns like in https://git.io/JeQl6 to get the RPM included in your images, for now you could also install it manually on the device with zypper instead of new mic image | 23:30 |
T42 | <edp_17> So, I do not need to re-build the stuff only install that detritus package? | 23:32 |
deathmist | yep, I mean that should be the only change you did locally on build tree since the last image you currently have installed on the device? if so just copy the detritus RPM to rootfs and install manually, then reboot and give new journal probably | 23:33 |
T42 | <edp_17> Ok, but I still need to re-run the process to create the packages, right? (I have checked and didn't find this detritus package in the droid-local-repo.) | 23:37 |
deathmist | duh you run build_packages -d to generate it now | 23:37 |
T42 | <edp_17> Yeah, I got that in this very moment. It is running. Sorry I am a bit dumb. 😜 | 23:38 |
T42 | <edp_17> detritus package built, installed on the device and rebooted. Still stuck on the Samsung logo but the light is on and I can telnet into it. Fresh journalctl is here: https://pastebin.com/eZqZMtFF | 23:50 |
deathmist | DHI second stage is reached now, one problem solved :) | 23:52 |
T42 | <edp_17> Cool. :) | 23:54 |
T42 | <edp_17> I cannot connect with ssh because I have no idea about the generated password. I guess the telnet is good for everything I need to alter on the device. | 23:55 |
T42 | <edp_17> I meant if I need to alter something... | 23:56 |
deathmist | use telnet until you get GUI, you can always "su - nemo" | 23:56 |
mal | @edp_17 which hybris branch did you use (i.e. which android base)? | 23:56 |
T42 | <edp_17> CM-14.1 | 23:56 |
mal | @edp_17 did you run the script mentioned here https://github.com/mer-hybris/hadk-faq#hybris-14-1 | 23:56 |
mal | based on your log you didn't run that | 23:57 |
T42 | <edp_17> Yes I did. | 23:57 |
T42 | <edp_17> I remember this and I ran that script. | 23:58 |
mal | really? it doesn't show those being used, check line 2744 which only shows one .rc file in that folder | 23:58 |
mal | (line 2744 in the log you showed) | 23:58 |
mal | (Parsing /usr/libexec/droid-hybris/system/etc/init/servicemanager.rc took 0.00s.) | 23:58 |
T42 | <edp_17> I ran that once, but not every time when I re-compiled the kernel. | 23:58 |
mal | what commands did you run after running that script? | 23:59 |
mal | did you run "build_packages -c"? | 23:59 |
mal | before building the image | 23:59 |
mal | *build_packages.sh -c | 23:59 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!