T42 | <Melissa> Make money every 48 hours @Amandachapmanfx | 04:20 |
---|---|---|
T42 | <Melissa> Here is her channel 🔗 | 04:20 |
T42 | <Melissa> https://t.me/joinchat/5MoVy3ii24Q2ZWY0 | 04:20 |
T42 | <TheVancedGamer> Oh no you don't (re @Melissa: Make money every 48 ...) | 04:23 |
T42 | <TheVancedGamer> https://irc.thaodan.de/.imgstore/feac9d2f/giphy.mp4 | 04:24 |
rinigus | Thaodan : I'm happy to get focus working and camera not crashing. Never checked hdr. Do we have support for it in sfos? | 06:18 |
rinigus | How would I check it? | 06:19 |
T42 | <Verevka86> Wow 😍 | 06:26 |
T42 | <Verevka86> https://github.com/mer-hybris/android/tree/hybris-18.1 | 06:26 |
T42 | <A_T_R> [ 25.807482] droid-hal-init: Command 'write /run/ofono/ril.ecclist1 ${ril.ecclist1}' action=ril.ecclist1=* (/usr/libexec/droid-hybris/system/etc/init/ecclist.rc:11) took 0ms and failed: cannot expand '${ril.ecclist1}' | 07:04 |
T42 | <A_T_R> How to fix mobile data ...can't enable it , which is greyed out : https://irc.thaodan.de/.imgstore/988efe06/file_2859.jpg | 07:17 |
Thaodan | rinigus: If the device reports support it there is a small button next to the flash icon to set the exposure filters | 10:56 |
mal | @A_T_R what do you see in logs when you try to enable mobile data? maybe you need dummy_netd | 11:44 |
T42 | <XAP2P> woooow, really waiting (re @Verevka86: Wow 😍 | 11:47 |
T42 | <XAP2P> https://github...) | 11:47 |
mal | PSA: DO NOT use hybris-18.1 branch, it is far from working | 12:14 |
T42 | <Verevka86> We understand, we are looking forward to 😊 | 12:47 |
T42 | <A_T_R> This ? | 14:01 |
T42 | <A_T_R> rpm/dhd/helpers/build_packages.sh --mw=https://github.com/mer-hybris/dummy_netd.git (re @SailfishFreenodeIRCBridgeBot: <mal>@A_T_R what do ...) | 14:01 |
Thaodan | yes exactly | 14:01 |
T42 | <ruspartisan> What does dummy_netd do? | 14:02 |
Thaodan | pretend there is a netd so the android services we need to have running are happy | 14:04 |
T42 | <ruspartisan> interesting... i have a qemu image, made from pinephone, that has access to the internet (i can ping and wget and zypper whatever i want via ssh) but browsers like webcat behave like there's no internet, can it be a dummy_netd issue? | 14:06 |
mal | if you see something like this in journal or logcat then you need dummy_netd: "Unexpected data call status 4100" | 14:09 |
rinigus | Thaodan: nope, no exposure filters on tama 4.2 | 14:25 |
T42 | <ruspartisan> no such messages in journal (re @SailfishFreenodeIRCBridgeBot: <mal>if you see some...) | 14:32 |
T42 | <elros34> pinephone is not android based port | 14:32 |
T42 | <ruspartisan> yes. it's probably the reason I managed to make it work in qemu (re @elros34: pinephone is not and...) | 14:33 |
T42 | <ruspartisan> yes. it's probably the reason I managed to make it work in qemu (android isn't friendly with qemu at all) (edited) (re @elros34: pinephone is not and...) | 14:34 |
T42 | <A_T_R> @mal - no logs related with dummy_netd in journal and logcat | 14:43 |
T42 | <A_T_R> https://github.com/SailfishOS-sagit/droid-config-sagit/commit/de4263bb2c90066bb0aa69cdd2c791d2474c7b14 | 15:10 |
T42 | <A_T_R> this is created by symlinking? | 15:10 |
kquote03[m] | <T42> "<elros34> full output from..." <- Alright. I *just* saw your message about commenting out default.prop, but before that I set every setting the hybris kernel config script and now the kernel won't build. https://pastebin.com/BnjyxnGQ Last time the kernel was building fine because I only enabled anything not labelled 'optional'. F2FS my guess seems to be the issue | 15:11 |
T42 | <elros34> @A_T_R no, symlink is installed together with package, did you install rpm? | 15:12 |
T42 | <A_T_R> which rpm? | 15:13 |
T42 | <elros34> dummy_netd | 15:13 |
T42 | <elros34> kquote03[m] yeah there is really not need to enable all network file systems, they are purely optional and not needed to get sfos working | 15:13 |
T42 | <A_T_R> it is already at /hybris/mw/dummy_netd so i guess it is installed by image | 15:14 |
T42 | <elros34> then it's not. Package is installed if something require it | 15:14 |
T42 | <A_T_R> https://github.com/SailfishOS-sdm660/droid-config-X00TD/blob/cfd86cbd7b1a490f9b0113f51bd7498280650862/patterns/patterns-sailfish-device-adaptation-x00td.inc#L24 | 15:15 |
T42 | <elros34> ok then. The fact that you have package in mw or droid-local repo doesn't mean it's installed in image | 15:16 |
T42 | <A_T_R> i didn't installed dummy_netd | 15:18 |
T42 | <A_T_R> rpm | 15:18 |
T42 | <elros34> Decide then, what systemctl status dummy_netd.service shows? | 15:20 |
T42 | <A_T_R> systemctl status dummy_netd.service | 15:21 |
T42 | <A_T_R> https://pastebin.com/8P4wBZtM | 15:21 |
T42 | <elros34> good so it is installed | 15:23 |
T42 | <A_T_R> https://irc.thaodan.de/.imgstore/15e4e228/file_2866.mp4 | 15:26 |
T42 | <elros34> do not show videos, show what logs say when you try to enable or on startup | 15:27 |
T42 | <A_T_R> sorry. | 15:30 |
T42 | <A_T_R> journalctl : https://pastebin.com/6p8SmXs5 | 15:33 |
T42 | <elros34> it's full of keymaster messages, you need to try to get rid off it and get gull log | 15:37 |
T42 | <A_T_R> https://pastebin.com/6p8SmXs5 | 15:39 |
T42 | <A_T_R> internet working- | 15:44 |
Thaodan | rinigus: for Xperia 10 II exposure filters work so maybe there is something wrong/not configured on tama/kumano | 16:33 |
mal | Thaodan: which ones do you mean? | 16:41 |
Thaodan | hdr and so on | 16:42 |
T42 | <A_T_R> what is 'TOH' in hw-settings.ini ? | 17:05 |
kquote03[m] | WORKED. | 17:05 |
kquote03[m] | mv: cannot stat 'RPMS.saved/*.rpm': No such file or directory | 17:05 |
kquote03[m] | <T42> "<elros34> kquote03 comment out..." <- THANK YOU. | 17:05 |
kquote03[m] | ^ so it can be indexed by search engines if someone had the same problem | 17:06 |
rinigus | Thaodan: could be that something is missing in configs. if we would know how it is reporting HDR in android we could check, hopefully. tbh, I don't have any idea regarding it. | 17:08 |
rinigus | what I have seen is that piggz camera effects don't work on tama | 17:09 |
rinigus | lightning adjustments work though | 17:11 |
mal | @A_T_R TOH is the "the other half" which was a feature of jolla 1 phone, not relevant for any other devices | 17:20 |
T42 | <A_T_R> ok thanks | 17:21 |
kquote03[m] | Welp, didnt get too far | 17:33 |
kquote03[m] | now I'm getting a `'pkgconfig(droidmedia)' not found in package names. Trying capabilities.` error (full log hadk/hybris/mw/gst-droid.log https://paste.opensuse.org/7991829) | 17:35 |
mal | too new droidmedia | 17:49 |
mal | check the versions here http://collabedit.com/kr9xx | 17:49 |
Thaodan | rinigus: no config for jolla camera is needed except camera labels for multi camera | 17:58 |
Thaodan | supported exposure filters are taken from Qt multimedia | 17:58 |
mal | just a note that many of the other camera features are broken on devices using android 8 or newer base | 18:00 |
Thaodan | because of different camera hal? | 18:01 |
mal | yes, old camera api seems broken at least on qcom devices, camera2 would work but is not supported in droidmedia | 18:03 |
Thaodan | Hm I wonder why Seine has working exposure filters while tama and kumano have not | 18:04 |
mal | exposure should work but white-balance is not working | 18:05 |
mal | anything in logcat? | 18:05 |
kquote03[m] | <mal> "check the versions here http://..." <- thank you | 18:08 |
Thaodan | mal: https://paste.opensuse.org/97290070 | 18:08 |
Thaodan | Camera2-Parameters: Error finding static metadata entry 'android.distortionCorrection.availableModes' (1b0001) | 18:09 |
Thaodan | maybe its that? | 18:09 |
mal | that seems normal, I remember seeing that on some other device(s) | 18:10 |
kquote03[m] | Trying to build rootfs, FINALLY | 18:15 |
kquote03[m] | `Warning[10/17 18:14:22] : repo problem: nothing provides libngf-qt5-qtfeedback needed by patterns-sailfish-device-adaptation-a5y17lte-1-202110171707.aarch64` | 18:15 |
kquote03[m] | halp | 18:15 |
kquote03[m] | oh nvm | 18:15 |
kquote03[m] | im blind | 18:15 |
kquote03[m] | or wait no, yeah, why doesn't it have that package>? | 18:16 |
Thaodan | mal: hm something else there that looks wrong? | 18:16 |
kquote03[m] | commented out the dependency in my pattern for now as it seems only for vibrator motor. | 18:22 |
Thaodan | You have to build it manually | 18:23 |
kquote03[m] | Ah I see, so it's device specific? Anyways seems to be low priority | 18:24 |
mal | Thaodan: nothing obvious in the log | 18:24 |
Thaodan | mal: To bad. Could it be Camera API 1 vs later? | 18:32 |
Thaodan | My device has Camera API 2.4. | 18:32 |
Thaodan | kquote03[m]:it's not device specific but not included right now, you can build it and use like in later versions | 18:33 |
kquote03[m] | Ah, thanks for the clarification. | 18:37 |
kquote03[m] | I'm now flashing via twrp, and it cant mount the data partition (it is in use), do i need a microsd to flash sailfish? | 18:37 |
Thaodan | never used twrp with sfos | 18:38 |
Thaodan | if you made your port like Sony devices you use fastboot to flash | 18:38 |
Thaodan | mal: Hm seine has far less spam when starting camera | 18:39 |
T42 | <elros34> kquote03[m] most likely /data is already mounted so you only see warning | 18:41 |
kquote03[m] | Ah | 18:42 |
kquote03[m] | well anyways i unmounted /data and used adb sideload | 18:42 |
kquote03[m] | the warning seems to go away | 18:42 |
kquote03[m] | nvm adb sideload fails when running installation step | 18:44 |
mal | Thaodan: could be different blobs | 18:57 |
mal | Thaodan: do not confuse hal version with camera api version | 18:57 |
Thaodan | mal: I guess since tama is sdm845 and kumano is sdm855/sdm8150 | 19:00 |
Thaodan | Yeah I confused camera api and hal version | 19:00 |
mal | the way we do camera doesn't really care about camera hal version | 19:01 |
Thaodan | what do you mean exactly? | 19:01 |
mal | I mean we use the higher level camera api (which has versions 1 and 2) and that internally uses camera hal but our code doesn't see the hal | 19:02 |
kquote03[m] | Generally, how can I see logs for a bootlooping system without UART? (loops every 10 seconds) | 19:13 |
T42 | <elros34> First by getting host dmesg. Did you follow all advices from notes you got? | 19:15 |
kquote03[m] | T42: Yes. dmesg shows nothing. | 19:16 |
kquote03[m] | I don't think it's booting the kernel | 19:17 |
T42 | <elros34> that suggest you do not do everything required like skip_initramfs changes or env befor making kernel | 19:17 |
kquote03[m] | T42: you mean reverting init/initramfs.c ? | 19:19 |
T42 | <elros34> yes | 19:20 |
kquote03[m] | I'll give that a try | 19:20 |
kquote03[m] | tho btw, hybris-recovery gives the same issue | 19:20 |
T42 | <elros34> sure it does, skip_initramfs prevents loading any intramfs | 19:21 |
T42 | <vsvoid> I need some help, I have an error while porting sailfish on perseus | 19:44 |
T42 | <vsvoid> define droid_target_aarch64 in your .spec | 19:44 |
kquote03[m] | <T42> "<elros34> sure it does, skip_ini..." <- I've reversed the patches by hand. Unfortunately the same behaviour | 19:45 |
T42 | <elros34> use abootimg -i hybris-boot.img or some other tool to confirm that your image contains initramfs | 19:47 |
kquote03[m] | T42: Sorry, this is my first time using this tool. does this output look right https://susepaste.org/68115604 ? | 19:50 |
kquote03[m] | nvm | 19:51 |
kquote03[m] | it literally says 0mb right there | 19:51 |
kquote03[m] | yeah i dont got initramfs | 19:51 |
T42 | <elros34> as you can see its not correct: ramdisk size = 20 bytes (0.00 MB). Read agan hadk-faq hybris-17 section | 19:51 |
kquote03[m] | Applying the environment variable? | 19:52 |
T42 | <elros34> yeah | 19:52 |
kquote03[m] | already did | 19:52 |
T42 | <elros34> do you have error about missing cpio in make output? | 19:52 |
kquote03[m] | Lemme check | 19:53 |
kquote03[m] | `cp: bad 'out/target/product/a5y17lte/boot.img.lok': No such file or directory` well I have this error but im not sure it's related | 19:54 |
kquote03[m] | `/bin/bash: cpio: command not found` | 19:55 |
kquote03[m] | fix is simple | 19:56 |
kquote03[m] | but i must admit | 19:56 |
kquote03[m] | i do feel dumb | 19:56 |
kquote03[m] | alright now ramdisk size in 0.96 mb | 19:57 |
kquote03[m] | alright, now it's stuck on the boot logo, but im very happy. ` rndis_host 1-1:1.0 eth0: register 'rndis_host' at usb-0000:00:14.0-1, RNDIS device, 00:00:00:00:00:00` | 20:00 |
kquote03[m] | tho btw, another set of thanks for baring with my ignorance. | 20:00 |
T42 | <elros34> it's not that easy to notice cpio error in make output, that ubuntu image is quite new also | 20:01 |
kquote03[m] | yea, i had to change the root user's password to use apt on the image i have | 20:03 |
Thaodan | I suggest the https://github.com/mer-hybris/hybris-initrd/ way of porting, using lvm and skipping android recovery all together | 20:21 |
kquote03[m] | <Thaodan> "I suggest the https://github.com..." <- Actually there is a guy working on a lk2nd port for the same phone. I'll try to contact him first to see how that went because I feel that this is ultimately the best solution | 20:34 |
kquote03[m] | Anyways, I finally used telnet for something other than that ascii starwars thing | 20:35 |
kquote03[m] | the phone is currently stuck on its bootlogo | 20:36 |
kquote03[m] | I want to try and run the GUI to see what happens, but I don't think that's available on the 'debug init system' | 20:36 |
kquote03[m] | here's /init.log https://susepaste.org/54366186 | 20:39 |
T42 | <elros34> looks like wrong fixup-mountpoints | 20:44 |
kquote03[m] | yea you did warn me about that earlier. i'll look into it tmw, ill hit the hay now. Thanks for your help, today I finally felt progress | 20:45 |
mint[m] | hey what's the fix for `sudo: account validation failure, is your account locked?`? | 22:46 |
mal | what are you trying to do and in which environment? | 22:48 |
mint[m] | i was trying to create the $ANDROID_ROOT directory from HABUILD_SDK | 22:51 |
T42 | <elros34> mal: it's new ubuntu. It has not working sudo and missing cpio | 22:51 |
mint[m] | but this happened: | 22:51 |
mint[m] | ``` | 22:51 |
mint[m] | wait sorry | 22:52 |
mint[m] | HABUILD_SDK [laurel_sprout] mint@ralsei:~$ sudo mkdir -p $ANDROID_ROOT | 22:52 |
mint[m] | sudo: unable to resolve host ralsei: Name or service not known | 22:52 |
mint[m] | sudo: account validation failure, is your account locked? | 22:52 |
mint[m] | there we go | 22:52 |
mint[m] | host distro is solus | 22:52 |
Thaodan | Don't do multiline pastes in IRC, use a paste service. | 22:56 |
mint[m] | aight, thank you for reminding me! | 22:59 |
mint[m] | fixed it! i'm gonna put up a message for everyone else who is looking for the solution the issue | 23:01 |
mint[m] | If you're trying to use sudo inside HABUILD_SDK and you're met with this error `sudo: account validation failure, is your account locked?`, append `[USERNAME]:*:18779:0:99999:7:::` to /etc/shadow from outside the SDK. For example, if you're using the default path for the SDK, edit /sdks/ubuntu/etc/shadow. | 23:04 |
Thaodan | that sounds pretty dangerous don't do that | 23:07 |
mint[m] | It was recommended by Shou, but I gave the more in-detail explanation | 23:08 |
Thaodan | I understand its just pasting something into /etc/shadow without context what it is is dangerous | 23:10 |
mint[m] | It worked for me at least. | 23:18 |
mint[m] | Like I could understand if you're pasting a long shell command but this is pretty transparent on what you're changing. A user can guess that it's giving you the necessary permissions. It's not like by appending one line to a file I'm enabling remote access to a computer and stealing sensitive information. | 23:21 |
mint[m] | I'm sharing what worked for me so if anyone else has the same issue they can fix it with my workaround. | 23:22 |
mint[m] | Besides, these changes are being done inside a chroot. Not the host system itself. | 23:24 |
T42 | <elros34> do not forget to install cpio, it's missing on new ubuntu image | 23:24 |
mint[m] | Thank you for the tip! | 23:25 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!