T42 | <adampigg> Mal, what is left for me to try and upstream, just mesa? | 08:22 |
---|---|---|
mal | @adampigg can't remember anything else | 08:48 |
asriel | Good afternoon. | 10:43 |
asriel | Right, so I got the Adreno quirks added, but images in gallery is still black, while the thumbnails works fine. | 10:44 |
asriel | And I found why bluebinder wasn't working | 10:44 |
asriel | The pre-start script (/usr/bin/droid/bluebinder_wait.sh) is looking for ro.bt.bdaddr_path and this value does not exist on my device | 10:45 |
asriel | I assume each device has it's different implementation on this | 10:46 |
T42 | <elros34> adreno quirks are for issues with browser, for black images you need https://github.com/mer-hybris/droid-config-sony-nile/blob/master/sparse/var/lib/environment/nemo/99-qtscenegraph.conf | 10:46 |
asriel | Though, I was able to get the BT address through hci_qcom_init, then fill it to /var/lib/bluetooth/board-address, restart bluebinder and bluetooth works fine | 10:47 |
mal | asriel: so check some other device for the usual bt script and adapt it | 10:47 |
mal | faq also links to it I think | 10:48 |
Danct12 | <asriel "Though, I was able to get the BT"> maybe make a oneshot service that runs hci_qcom_init to just to get the mac address and write it back to the board-address? | 11:05 |
Danct12 | that should work | 11:05 |
Danct12 | wtf | 11:34 |
Danct12 | i just accidentally disabled developer mode on sailfishos and it started to delete all everything | 11:34 |
Danct12 | totally did not expect to see that bug | 11:36 |
mal | delete what? | 11:37 |
Danct12 | all apps | 11:37 |
Danct12 | including components like the settings and stuffs | 11:37 |
T42 | Iamrahul2409 was added by: Iamrahul2409 | 11:38 |
mal | hmm, get logs if you somehow can | 11:38 |
mal | it should not do that | 11:38 |
Danct12 | i actually rebooted to see if it still boots and nope | 11:38 |
mal | Danct12: ah, it might be because we have developer mode in patterns | 11:38 |
mal | so it removed everything in the adaptation pattern because of that | 11:39 |
Danct12 | probably, well that should be removed on a production build :P | 11:39 |
mal | need to talk about that with others | 11:39 |
r0kk3rz | nice! | 11:40 |
mal | need to think what is the best way to handle that | 11:44 |
mal | maybe adding it to .ks file instead | 11:45 |
mal | Danct12: anyone can edit their patterns and remove the porter-tools import for "release" builds https://github.com/mlehtima/droid-config-fp2-sibon/blob/master/patterns/jolla-configuration-fp2-sibon.yaml#L11 | 11:47 |
Danct12 | i have some errors here | 13:12 |
Danct12 | [ 970.597086] qpnp_vadc_conv_seq_request: retry error exceeded | 13:12 |
Danct12 | [ 970.597133] Unable to read usbin rc=-22 | 13:12 |
asriel | Danct12: Those are probably fine anyway | 14:00 |
asriel | Alright, just got the camera working | 14:01 |
asriel | Anyway, the front camera is quite laggy, and also the back camera doesn't have flash even though it actually does | 14:02 |
asriel | mk-cam-conf even shows that the back camera does indeed have flash | 14:02 |
asriel | I'll provide logs if asking | 14:03 |
mal | asriel: do not use mk-cam-conf, it's obsolete | 14:03 |
mal | asriel: did you use droid-camres for the jolla-camera-hw.txt file? | 14:04 |
asriel | yes i did use droid-camres | 14:05 |
asriel | Also mk-cam-conf and droid-camres are shown in the HADK documentation | 14:05 |
asriel | Probably it was outdated | 14:06 |
mal | well mk-cam-conf is not needed | 14:06 |
mal | remove any files you created with it | 14:06 |
asriel | Alright, did that | 14:07 |
asriel | Just did that and bam, flash works! | 14:10 |
asriel | Does droidmedia supports Camera2 API? | 14:11 |
asriel | Would be nice to make use of it for manual focus | 14:11 |
mal | not right now I think | 14:12 |
abranson | last i heard there was a new gstreamer photo api planned that would be compatible with api2 | 14:19 |
asriel | Alright, sensors aren't working on Android oreo | 15:07 |
asriel | SailfishOS 15.1** | 15:08 |
asriel | Other than that, the baseband powered up very nicely, and camera are working too, both front and back :D | 15:08 |
mal | asriel: did you add the needed hw-settings file for sensors? | 15:09 |
asriel | I've tried the faq-hadk, but that doesn't seem to work | 15:09 |
asriel | i've checked, yes, but i could be missing something | 15:11 |
asriel | i found this anyway | 15:11 |
* asriel sent a long message: < https://matrix.org/_matrix/media/v1/download/matrix.org/UxUpNdQNYhEcwypDtGtLPNBd > | 15:11 | |
asriel | requested sensor id 'orientationsensor' not registered | 15:11 |
mal | show the hw-settings file you added | 15:12 |
mal | also do not try to guess the relevant part in logs | 15:12 |
asriel | https://pastebin.com/8TYjVT3S | 15:13 |
mal | full journalctl and logcat | 15:14 |
asriel | mal: here is journalctl https://paste.ubuntu.com/p/hhdkGXFbBz/ | 15:21 |
asriel | and here is logcat https://paste.ubuntu.com/p/jPxfwV9S8F/ | 15:21 |
mal | asriel: is that hybris-15.1 base? try building the binder backend for sensorfw | 15:29 |
mal | asriel: you can see the binder spec in the sensorfw source folder in hybris/mw and then just tell build_packages.sh to build using that spec | 15:30 |
asriel | Yeah, that's hybris-15.1 | 15:38 |
asriel | while this doesn't affect it's compiling process, this error popped up when build_packages tries to install sensorfw i built | 15:42 |
* asriel sent a long message: < https://matrix.org/_matrix/media/v1/download/matrix.org/VNNbAJaAmxYDHxarmaRQBfoq > | 15:42 | |
mal | asriel: yes, it doesn't like replacing packages | 15:44 |
asriel | Still doesn't work though | 15:46 |
mal | did the package install correctly and replace the hal package | 15:46 |
mal | new logs | 15:46 |
mal | I assume you restarted device and at least sensorfwd | 15:47 |
mal | *or | 15:47 |
asriel | the package installed correctly im sure | 15:48 |
* asriel sent a long message: < https://matrix.org/_matrix/media/v1/download/matrix.org/QgskfXMWgEpbFzGxdClXRfER > | 15:48 | |
asriel | there were no errors when i do rpm -i | 15:48 |
mal | asriel: you might want to try to build new sensorfw main package also | 15:52 |
mal | although not sure if that is a problem or not, depends on what you see in logs | 15:52 |
* asriel posted a file: journalctl.txt (270KB) < https://matrix.org/_matrix/media/v1/download/kde.org/aijhaexfxyRxXsmeiItAXAda > | 15:53 | |
* asriel posted a file: logcat (261KB) < https://matrix.org/_matrix/media/v1/download/kde.org/rxhgBDsFVWeHjUQZveMTpwKe > | 15:53 | |
asriel | still, those are logs | 15:53 |
mal | asriel: are those really new logs, it still mentions hw_get_module() which is only called in hal plugin | 15:56 |
mal | asriel: reboot and check logs for that, if it still appears then recheck you have it correctly installed | 15:57 |
asriel | journalctl https://paste.ubuntu.com/p/jTDpnWzCkh/ | 16:04 |
asriel | logcat: https://paste.ubuntu.com/p/QdhPmpKh8W/ | 16:06 |
mal | really only two messages from sensorfw in journal? | 16:06 |
asriel | well, what you see if what i get. | 16:07 |
asriel | s/if/is | 16:07 |
mal | enable debug printing in sensorfw | 16:08 |
asriel | right so i ran it as -l=debug | 16:17 |
* asriel sent a long message: < https://matrix.org/_matrix/media/v1/download/matrix.org/BToIduCinDyqvFvmuBlwxhQh > | 16:17 | |
mal | asriel: come on, read the output: "hw_get_module() failed No such file or directory" | 16:30 |
mal | something is wrong in your installation, run a clean rebuild of the sensorfw rpm | 16:31 |
mal | meaning probably better to remove the source folder and clone it again and then build | 16:31 |
asriel | seems to be the same thing it seems | 18:41 |
asriel | still the same hw_device_get running | 18:43 |
asriel | s/hw_device_get/hw_get_module | 18:44 |
electro575 | hi all | 18:52 |
electro575 | somebody to help me for debugging my device startup ? | 18:53 |
electro575 | mal, an idea with my last_dkms ? | 18:56 |
electro575 | that still seems to mention selinux, but you said droid-hal-init is disabled, also there is a mention of modem which should even be up if droid-hal-init is disabled | 19:08 |
mal | electro575: well everything depends on whether you really have droid-hal-init disabled | 19:09 |
asriel | mal: Got the sensors working! | 19:33 |
asriel | and here comes another problem, the proximity sensor is always on so battery will drain more faster | 19:34 |
electro575 | it already an update | 19:35 |
electro575 | good asriel | 19:35 |
electro575 | asriel, have you a bootloop at startup of your device ? | 19:38 |
asriel | electro575: well i dont have a bootloop, but i don't have an user interface. =P | 19:39 |
electro575 | GUI ? | 19:40 |
electro575 | yes :/ | 19:40 |
electro575 | vknecht, can you help me with the log /proc/last_kmsg ? | 19:47 |
electro575 | https://dpaste.de/tJ77 | 19:48 |
electro575 | my init.log | 19:50 |
electro575 | https://dpaste.de/TB7g | 19:50 |
electro575 | /init-debug: line 230: usleep: command not found | 19:54 |
electro575 | it's important to have this command ? | 19:55 |
electro575 | hummm : [TIMA trusted boot]: SEAndroid MAGIC failure (boot.img) | 19:59 |
electro575 | no good this | 19:59 |
electro575 | and this : Samsung S-Boot 4.0-2437454 for GT-N7105 (Jan 15 2014 - 19:32:42) | 19:59 |
electro575 | mal, it's possible to disable selinux by telnet ? | 20:02 |
T42 | <elros34> you still didn't disable it? use CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=0 or find CONFIG_CMDLINE and append selinux=0 to it | 20:15 |
mal | @elros34 for some reason that won't appear in kernel commandline, and device shouldn't reboot anyway usually if droid-hal-init is disabled | 20:20 |
mal | asriel: usually proximity sensor shouldn't drain battery unless there is some bug in it | 20:21 |
mal | asriel: you can change it to on-demand mode also if you have problems with it | 20:21 |
electro575 | i'm trying to be sure i can flash hybris-boot.img | 20:22 |
electro575 | with heimdall | 20:22 |
electro575 | i suppose selinux is enable | 20:22 |
electro575 | i don't can disable it with the cmdline | 20:22 |
electro575 | i don't know why | 20:22 |
electro575 | how can i force disable it with recovery and adb ? | 20:22 |
T42 | <elros34> mal: it strange device, according to electro after writing V to /dev/watchdog (like /sbin/preinit) some kind of battery icon appears at screen | 20:23 |
mal | hmm | 20:24 |
mal | you can always try to set selinux kernel config to =n, that used to be possible with older android bases like cm-11.0 | 20:24 |
electro575 | not possible in cm-14.1 ? | 20:25 |
electro575 | in /sys/fs/selinux | 20:25 |
electro575 | echo 0 > enforce | 20:25 |
mal | usually no, depends on device though, newer androids require often some kind of selinux to exist | 20:26 |
electro575 | sudo heimdall flash --BOOT hybris-boot.img | 20:27 |
electro575 | go | 20:27 |
electro575 | ok, it flash correctly the hybris-boot.img | 20:28 |
electro575 | noway, /proc/cmdline no selinux appear | 20:30 |
T42 | <elros34> have you tried config_cmdline? | 20:30 |
electro575 | humm, no | 20:32 |
electro575 | where is located ? | 20:32 |
T42 | <elros34> in defconfig like every CONFIG_ option | 20:33 |
electro575 | ok | 20:34 |
electro575 | thk elros | 20:34 |
electro575 | elros34 : CONFIG_SECURITY_SELINUX_BOOTPARAM=y | 20:36 |
electro575 | # CONFIG_SECURITY_SELINUX_DISABLE is not set | 20:37 |
electro575 | CONFIG_SECURITY_SELINUX_DISABLE -> elros34 -> so 'Y' | 20:38 |
electro575 | and then OK maybe | 20:38 |
T42 | <elros34> not this, I wrote "use CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=0 or find CONFIG_CMDLINE and append selinux=0 to it" | 20:38 |
enigma9o7 | @elros34 Were those logs at all useful in figuring out why my cellular doesn't work? | 20:39 |
electro575 | elros34 : https://dpaste.de/2gx9 | 20:40 |
electro575 | yes : CONFIG_CMDLINE="console=ttySAC2,115200 consoleblank=0 androidboot.hardware=smdk4x12" | 20:41 |
T42 | <elros34> enigma9o7: I didn't check them yet | 20:42 |
electro575 | sh-3.2# cat /proc/cmdline | 20:45 |
electro575 | console=ttySAC2,115200 selinux=0 consoleblank=0 | 20:45 |
electro575 | HEYYYY !! ^^ | 20:45 |
electro575 | mal, what can i do with selinux=0 ? | 20:47 |
enigma9o7 | If anyone has any ideas; I installed Sailfish 3.0.3 yesterday on Moto PQ, but I get no cellular. The phone is CDMA on Sprint network and worked find in LOS 14.1, and CM11 briefly before SailfishOS Install. | 20:50 |
enigma9o7 | Elros suggesed I collect logs which are here: https://forum.xda-developers.com/showpost.php?p=79949586&postcount=41 | 20:50 |
enigma9o7 | Unfortunately I am not at all familiar with this stuff, and although I think it'll be fun to play around with sailfish and don't mind if other things arent perfect, I do need calls to work at a minimum :) | 20:51 |
enigma9o7 | I do run linux on my home PCs so have some understanding of that... just not really roms/phones. | 20:52 |
electro575 | https://dpaste.de/NKgj | 20:53 |
mal | enigma9o7: looks like there is one message repeating from ofono | 20:54 |
mal | monich: is "Can't parse modem-handled proactive command" bad from ofono? | 20:54 |
T42 | <elros34> enigma9o7: not sure if that is important, do you have lock code (pin) in this sim? | 20:56 |
enigma9o7 | Not that I am aware of. Its default sprint phone, no sim-mod, only has internal sim for lte. | 20:56 |
electro575 | i don't know what to do anymore | 20:58 |
T42 | <elros34> ah right I forgot | 20:58 |
T42 | <elros34> electro575: no continue booting, does it still reboot straightaway? | 20:59 |
T42 | <elros34> now* | 21:00 |
monich | mal: it's sim toolkit, should be fairly harmless (something is coming out of sim card that ofono doesn't understand) | 21:00 |
mal | monich: does ofono in general like device without actual sim, that is a cdma device | 21:00 |
electro575 | yes elros34, with selinux=0 too | 21:00 |
electro575 | echo "continue" >/init-ctl/stdin | 21:01 |
electro575 | dmesg -> | 21:01 |
electro575 | echo "continue" >/init-ctl/stdin | 21:01 |
electro575 | sorry | 21:01 |
electro575 | [ 640.575670] c3 EXT4-fs (mmcblk0p16): re-mounted. Opts: (null) | 21:01 |
electro575 | what mean this -> re-mounted after continue | 21:02 |
monich | mal: ouch, I wouldn't expect ofono to work on a cdma device, definitely not via ril | 21:02 |
mal | monich: ok | 21:02 |
electro575 | it reboot | 21:02 |
mal | enigma9o7: ^ | 21:02 |
electro575 | elros34, when i continue | 21:03 |
T42 | <elros34> electro575: remount is irrelevant, provide last_kmsg from that reboot also zcat /proc/config.gz and full dmesg | 21:03 |
electro575 | ok elros34 | 21:04 |
T42 | <elros34> mal, monich there is at least one report that it worked partialy when previous porter provide some old 2.x version | 21:04 |
mal | ok | 21:05 |
enigma9o7 | Hmmm ok. I did see in version 2 listed issues that only calls worked. | 21:05 |
mal | enigma9o7: does the image still exist? | 21:05 |
enigma9o7 | But it wasn't listed as an issue for 3, so I assumed it was fixed. | 21:05 |
enigma9o7 | And besides, that was calls only, I don't even have calls... | 21:05 |
enigma9o7 | I did read thru that version 2 thread yesterday... | 21:06 |
electro575 | elros34 : https://dpaste.de/nFBp | 21:06 |
T42 | <elros34> I never use cdma and there are very few users | 21:06 |
mal | enigma9o7: maybe check the file /etc/ofono/ril_subscription.conf if you can find the old image | 21:06 |
monich | I didn't say cdma support is impossible, but it's not an easy task | 21:08 |
electro575 | elros34 : https://dpaste.de/6VTg | 21:08 |
enigma9o7 | It does identify itself as Sprint in the lockscreen, so it knows something. | 21:08 |
electro575 | elros34 : https://dpaste.de/0087 | 21:09 |
enigma9o7 | I had a sim-modded gsm version that broke, but when I replaced it I decided I wanted cdma anyway cuz LTE more imporant than it was back then... and no lte with sim-mod | 21:09 |
mal | enigma9o7: how do calls behave, you say it can see correct network | 21:10 |
mal | enigma9o7: do you have audioflingerglue build in that image? | 21:10 |
T42 | <elros34> mal: it's cm11 based | 21:11 |
enigma9o7 | If I try to make a call, after dialing it says 'no network coverage' | 21:11 |
enigma9o7 | a black bar across the top | 21:12 |
mal | ok | 21:12 |
mal | ok | 21:12 |
electro575 | elros34 : [ 1.845838] c0 mmc0: cmd 52 response timeout error | 21:12 |
enigma9o7 | In settings/cellular network, it searches forever. | 21:13 |
mal | enigma9o7: anyway check the old image if you can | 21:13 |
enigma9o7 | If I do it manually it times out. | 21:13 |
enigma9o7 | I will look now to see if it is available online. | 21:13 |
enigma9o7 | I expect elros has it too. | 21:13 |
enigma9o7 | Yeah if I do it manually it times out and says "Oops, no networks found." | 21:14 |
enigma9o7 | Yes I found old images here http://www.vladislavonline.com/sailfishos-for-photon-q/ and am downloading one now. | 21:17 |
electro575 | elros34 : ATAG_CMDLINE: 9b 54410009 'console=ram loglevel=4 androidboot.baseband=mdm sec_debug.level=0 sec_watchdog.sec_pet=5 | 21:17 |
enigma9o7 | That page mentions CDMA phone calls work but no data or sms. | 21:17 |
electro575 | ATAG_CMDLINE : must have selinux = 0 ? | 21:18 |
T42 | <elros34> mal: I just unpacked ril_subscription.conf from 2.0.1.11 image but everything inside is commented out | 21:18 |
electro575 | i must go to sleep | 21:19 |
T42 | <elros34> ATAG_CMDLINE is probably what bootloader adds to kernel | 21:19 |
electro575 | ok | 21:19 |
electro575 | can you analyze this log ? i will connect tomorrow | 21:20 |
electro575 | maybe try solutions | 21:20 |
T42 | <elros34> I would try to disable watchdog in kernel or coment it out in /sbin/preinit and/or disable CONFIG_CGROUP_MEM_RES_CTLR - I had issues with this on same kernel version | 21:22 |
electro575 | ok thk | 21:23 |
electro575 | elros34 | 21:24 |
electro575 | disable this ? | 21:24 |
electro575 | CONFIG_CGROUP_MEM_RES_CTLR_SWAP | 21:24 |
T42 | <elros34> if you disable CONFIG_CGROUP_MEM_RES_CTLR then any CONFIG_CGROUP_MEM_RES_CTLR_* will also be disabled | 21:25 |
electro575 | y | 21:25 |
enigma9o7 | so I'm out of luck for CDMA basically, right? | 21:36 |
mal | enigma9o7: if it worked on older version then it might be possible somehow | 21:37 |
T42 | <elros34> I checked ril_subscription.conf in 2.0.0 - 2.0.5. Everything is commentet out or default in later versions | 21:43 |
electro575 | elros34, it's not that | 21:46 |
enigma9o7 | Well I'd be happy to test something. I'm surprised I'm the only one using sailfish w/o hardware mod. | 22:01 |
enigma9o7 | I could even install an old sailfish to confirm it used to work... | 22:02 |
r0kk3rz | mal: sledges, we can probably drop the requirement for a registered nick in this channel, the spam attacks are gone | 23:01 |
enigma9o7 | @elros34 Also, if you can give me any hints on getting that orientation patch sorted, I'd be pleased... I posted my experience so far on xda... | 23:06 |
T42 | <elros34> have you enabled it in settings/patchmanager and restarted lipstick? That's all, nothing more should be needed, no matter pm2 or pm3 | 23:11 |
enigma9o7 | The only seting is to unapply all patches on upgrade. | 23:25 |
enigma9o7 | What is the expected result? is an app supposed to show up? How will I get to this web catalog that you said is included. | 23:28 |
T42 | <elros34> just use pulley menu/web catalog, install patch and enable it. It's really that simple I have no idea why you can't figure out it but maybe it's because pm3. | 23:31 |
enigma9o7 | @elros maybe you havent read my forum replies, Imanaged to get your version installed | 23:32 |
enigma9o7 | pully menu, web catalog, in what application? | 23:33 |
T42 | <elros34> settings/patchmanager | 23:33 |
enigma9o7 | doh! | 23:34 |
enigma9o7 | Thanks. | 23:36 |
T42 | <elros34> :) | 23:36 |
enigma9o7 | wowow looks so much nicer now with desktow rightways, northern lights look good | 23:38 |
enigma9o7 | but retroarch still turns it the other way damnit | 23:42 |
enigma9o7 | ok solved that. | 23:52 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!