MDTech-us_MAN | Hey all | 02:01 |
---|---|---|
MDTech-us_MAN | for some reason every time I try to do build_packages, it upgrades droid-hal-nash-devel | 02:01 |
MDTech-us_MAN | then it always ends with: | 02:02 |
MDTech-us_MAN | There are some running programs that might use files deleted by recent upgrade. You may wish to check and restart some of them. Run 'zypper ps -s' to list these programs. | 02:02 |
MDTech-us_MAN | * Check /home/maxwell/hadk/external/libhybris.log for full log. | 02:02 |
MDTech-us_MAN | !! can't install the package | 02:02 |
merbot | MDTech-us_MAN: Error: "!" is not a valid command. | 02:02 |
Mister_Magister | MDTech-us_MAN: for most of europe it's bast midnight | 02:17 |
Mister_Magister | u need to wait untill everybody wakes up | 02:17 |
Mister_Magister | "for some reason every time I try to do build_packages, it upgrades droid-hal-nash-devel" as it's supposed to | 02:17 |
Mister_Magister | MDTech-us_MAN: that's not error ignore it but look into libhybris log cause building libhybris fails | 02:18 |
MDTech-us_MAN | I decided to try doing a fresh build and when I got to the build_packages part, after following the instructions in the faq regarding ssu-kickstart I get the following failed dependencies: | 06:04 |
MDTech-us_MAN | error: Failed build dependencies: | 06:04 |
MDTech-us_MAN | pkgconfig(android-headers) is needed by droid-config-nash-1-1.armv7hl | 06:04 |
MDTech-us_MAN | repomd-pattern-builder is needed by droid-config-nash-1-1.armv7hl | 06:04 |
MDTech-us_MAN | ssu-kickstart-configuration-jolla is needed by droid-config-nash-1-1.armv7hl | 06:04 |
deathmist | morning! I'd like to make my life a little easier and add a few files to the installer zip file to fix tar on TWRP for example, how would one accomplish that? I already found the script at hybris/hybris-boot/updater-script and tried "tar -xf sfos.tar.bz2 ./bin/tar" but it seems to take forever to extract the single file | 08:01 |
vknecht | deathmist, see how hybris/droid-configs/droid-configs-device/kickstart/pack_package-droid-updater and iiuc and am not mistaken, you can tweak it by copying it to hybris/droid-configs/kickstart/pack_package-droid-updater | 08:07 |
mal | MDTech-us_MAN: check faq for 3.0.3.9 related notes | 08:43 |
T42 | <DSstill01> how to revert a deleted file in an obs package? | 08:48 |
mal | what do you mean? | 08:49 |
T42 | <DSstill01> i deleted a file in droid-hal in obs and i want to restore it | 08:50 |
T42 | <DSstill01> anyone which has access to common repo can rebuild libgrilio? because i need 1.35 for latest ofono | 09:03 |
monich | https://build.merproject.org/package/show/home:slava:test/libgrilio | 09:08 |
T42 | <DSstill01> i didn't want to make a package in my repo/adding that repo. it would be better to update it on common | 09:10 |
mal | @DSstill01 why do you want to use latest ofono | 09:16 |
T42 | <DSstill01> Because i cherry-picked latest commits, including the one which changes libgrilio version :p | 09:17 |
T42 | <DSstill01> I can add a revision but meh | 09:17 |
vknecht | I think there's no choice, had to build libgrilio locally too, to satisfy dependencies | 09:17 |
monich | @DSstill01 yeah, don't pull anything from that repo automatically, it's a testing place, it's often broken. I gave you the link in case if you want to just download the rpm | 09:18 |
vknecht | if I'm correct, ofono required this new libgrilio was tagged, so it ends up in common, but libgrilio is too old | 09:20 |
T42 | <DSstill01> Hmm, at this point i add a revision to ofono _service and i will remove once libgrilio is updated in common repo | 09:20 |
vknecht | *requiring | 09:20 |
T42 | <DSstill01> It's tagged but they didn't rebuild it | 09:20 |
monich | another approach is to downgrade ofono to mer/1.21+git51 | 09:23 |
monich | it's mer/1.21+git52 which introduced dependency on libgrilio 1.0.35 | 09:25 |
T42 | <DSstill01> For now i added a revision so that it gets everything before libgrilio 1.0.35 commit. I think that's the best approach | 09:26 |
vknecht | is there a constraint on OBS, so that we have to add new packages from web interface rather than locally with osc ? | 09:35 |
mal | @DSstill01 you didn't answer why you needed those changes | 09:36 |
T42 | <DSstill01> i don't need them | 09:37 |
mal | then why did you build newer ofono? | 09:37 |
mal | usually ofono should be kept at the version released with the sfos version you use, unless for a good reason | 09:38 |
T42 | <DSstill01> i didn't | 09:38 |
vknecht | https://pastebin.com/jTai6qi3 | 09:38 |
T42 | <DSstill01> i'm building it with old libgrilio | 09:38 |
mal | @DSstill01 then I don't understand what your problem is | 09:38 |
mal | why are you building ofono | 09:38 |
T42 | <DSstill01> because i have 2 professional commits needed for my device | 09:39 |
vknecht | @DSstill01: iiuc it's the reverse, you have to build specific grilio, not ofono | 09:39 |
mal | so then patch those on top the ofono version 3.0.3.9 had | 09:39 |
mal | then all dependencies are right | 09:40 |
T42 | <DSstill01> mal: no because they are only for samsung devices while ofono in common repo is unified | 09:41 |
vknecht | oh well, ignore me :-) | 09:41 |
mal | there is no ofono in common repo | 09:41 |
mal | @DSstill01 you are missing the point | 09:41 |
mal | also you should talk to monich whether those patches could be included to ofono | 09:41 |
T42 | <DSstill01> aww, did you remove it? i remember i had to increase my ofono version not to conflict with the sf one | 09:42 |
T42 | <DSstill01> they're this https://github.com/DeadSquirrel01/ofono/commit/75180373c5f9da7a515a9db4808eb8b7f1322005 and this: https://github.com/DeadSquirrel01/ofono/commit/41ff2e566315ce3f7b827c3b744cc31b3888cd1b | 09:43 |
mal | @DSstill01 you can still increase the version number even if you use ofono version from 3.0.3 as base for your patches | 09:44 |
mal | @DSstill01 those packages should not even have been in devel common | 09:45 |
mal | some webhook again added those there | 09:45 |
T42 | <DSstill01> i remember there was an ofono somewhere and I had to increase the version number to avoid installing the sf one | 09:46 |
T42 | <DSstill01> probably they removed it | 09:46 |
mal | come on, you are completely missing my point | 09:47 |
T42 | <DSstill01> you said that those packages (ofono) shouldn't be in common | 09:48 |
mal | yes, but that was not the point, which was that you applied your patches on top of some newer ofono version instead of 1.21+git44 which is in 3.0.3.9 and therefore you have dependency issues | 09:50 |
T42 | <DSstill01> no, i don't have dependency errors, because i put a revision param in _services that excludes newer libgrilio commits | 09:51 |
T42 | <DSstill01> and my 2 commits were before those changes | 09:52 |
mal | what the hell are you talking about | 09:52 |
mal | what has libgrilio have to with any of this | 09:52 |
T42 | <DSstill01> check https://github.com/DeadSquirrel01/ofono and https://build.merproject.org/package/view_file/nemo:devel:hw:samsung:a5ultexx/ofono/_service?expand=1 | 09:53 |
mal | I really don't understand what the problem is | 09:53 |
T42 | <DSstill01> none now | 09:53 |
mal | I have no idea what it ever was | 09:54 |
T42 | <DSstill01> i fixed it, i was just asking to update libgrilio in common repo, but since you said no, i excluded the commits that uses grilio 1.35 by putting a revision | 09:55 |
T42 | <DSstill01> that's all lol | 09:55 |
mal | like I said, you should have just taken 1.21+git44 of ofono and applied your two patches on top of that, bumped the tag version and build | 09:56 |
mal | that is the proper way | 09:56 |
T42 | <DSstill01> that would require to delete the branch/repo every time that ofono gets updated, so, i cherry-pick newest commits on top of older ones | 09:57 |
mal | that is why I said to talk to monich | 09:57 |
mal | no need to delete the branch, just create a new branch for new release and then build that on OBS | 09:58 |
T42 | <DSstill01> i would talk to him but he wouldn't accept that because it needs a flag not to include those for normal devices | 09:59 |
mal | hmm, there are other quirks in ofono already, if that is enabled only if some quirk is enabled I wouldn't be a problem | 10:00 |
mal | *it wouldn't | 10:00 |
T42 | <DSstill01> hmm | 10:01 |
mal | if you look here for quirks https://git.merproject.org/mer-core/ofono/blob/master/ofono/drivers/ril/ril_subscription.conf | 10:01 |
T42 | <DSstill01> ah yes | 10:02 |
vknecht | @DSstill01: upstream, upstream, upstream ! Not only is it professional, but you'd be famous too :-) | 10:02 |
T42 | <DSstill01> awwwwwwwww yeeeeah | 10:02 |
T42 | <DSstill01> i think i'm already famous, tho | 10:02 |
mal | @DSstill01 you were thinking about including that to mer-core the wrong way, it would be specifically enabled when needed not enabled by default | 10:03 |
mal | and the config file is easy for doing that | 10:04 |
T42 | <DSstill01> no, i was thinking about makefiles flags | 10:04 |
mal | yes, that is not the proper way | 10:04 |
mal | in this case | 10:04 |
T42 | <DSstill01> allright | 10:04 |
mal | maybe have a look at how those other quirks are used and adapt your patches use the config file | 10:05 |
T42 | <DSstill01> yes, i will try to improve my patch (the newest one) a bit first | 10:06 |
mal | I also used to patch ofono for one old device | 10:06 |
mal | I just updated the branch for every release | 10:07 |
mal | that change was so ugly it couldn't be included in ofono | 10:07 |
T42 | <DSstill01> but would that be a problem for my users? I mean, 1.64 to 1.21...would they miss sf ofono updates until ofono reaches v1.64? | 10:08 |
T42 | <DSstill01> mine is ugly as well, but it works | 10:08 |
mal | well you shouldn't have bumped the version so much | 10:08 |
T42 | <DSstill01> LOL | 10:09 |
mal | usually packages can be downgraded also during update | 10:09 |
T42 | <DSstill01> i wanted to be sure.. | 10:09 |
mal | you can test that | 10:09 |
T42 | <DSstill01> not all users will manually downgrade it | 10:09 |
T42 | <DSstill01> it needs to be an automated process that is done when running zypper dup | 10:10 |
mal | I meant that you change the version and then do normal update and see if the new version is installed | 10:10 |
mal | you just have to test it | 10:11 |
T42 | <DSstill01> you mean the tag of the fork ? | 10:11 |
mal | yes | 10:11 |
T42 | <DSstill01> ok will try | 10:12 |
T42 | <DSstill01> i have a problem with obs that adds 1.64 even if i deleted all tags except 1.20 | 10:24 |
T42 | <DSstill01> ok, i fixed it, it's building 1.20 | 10:28 |
mal | you should not go that low, then it will install the one from jolla repos | 10:37 |
T42 | <DSstill01> which is what i want hehe | 10:37 |
mal | ok | 10:38 |
liux | it still in bootloops for packages built on obs. i'm comparing rpms beteen obs's and local built's. until now, I found obs droid-config-aries.rpm contains extra adaptation-community.ini compared to local one. have no idea why obs built rpm has this file but local does not have | 10:39 |
T42 | <elros34> how about debugging why it bootloop? If it's cm11 then the first thing to check is libhybris | 10:53 |
mal | liux: yes, OBS builds have one repo more (which is the OBS project for your device) | 10:54 |
mal | liux: it comes from https://github.com/mer-hybris/community-adaptation/tree/master/rpm | 10:55 |
mal | liux: are droid-hal rpms the same version? | 10:55 |
liux | elros34, i'm trying to debug it now. but it reboot after seconds the diconnect of telnet, and before usb net work. i cannot get error of reboot point | 10:55 |
liux | mal, yes, all same | 10:56 |
T42 | <elros34> liux: which telnet 23 or 2323? | 10:56 |
liux | elros34: telnet 2323. it can be connected then disconneced after seconds. | 10:58 |
mal | liux: do you have time to run dmesg -w in there | 10:59 |
liux | elros34: only two time i'm lucky to see the language selection appeared. maybe next time i can get journal log | 11:00 |
liux | mal, let me try | 11:01 |
mal | journalctl -f is also a good option | 11:01 |
T42 | <elros34> touch /data/.stowaways/sailfishos/init_enter_debug2 so you can easily grab logs | 11:02 |
liux | mal, elros34, i've got some log from dmesg and journal: https://paste.ubuntu.com/p/xC7rZ8ZKQ4/ https://paste.ubuntu.com/p/WqbBxm7nng/ | 11:08 |
T42 | <DSstill01> monich: if i added a config for this: https://bpaste.net/show/A06h would you merge it to upstream? | 11:10 |
T42 | <elros34> liux: faq line 57 iirc is solution to QPA-HWC: err in present returned -22 also https://pastebin.com/MWjKB2S5 for udev spam. What libhybris version do you have in local repo? | 11:19 |
liux | elros34, it's tag: 0.0.5.31 | 11:21 |
liux | with commit 5a0019d067f010e341ef22f80b472e4c6fe5d972 | 11:21 |
mal | try journalctl -b -f to get earlier journal log parts | 11:22 |
mal | liux: verify the libhybris revision by going to libhybris source folder and run git status and git show HEAD | 11:23 |
T42 | <elros34> reboot when lipstick starts looks like well know problem with libhybris on cm11 but if you claim 0.5.31 worked for you earlier then maybe it's fixed now. | 11:26 |
liux | mal, it's commit 5a0019d067f010e341ef22f80b472e4c6fe5d972 (HEAD -> master, tag: 0.0.5.31, origin/master, origin/HEAD) | 11:26 |
piggz | gm | 11:31 |
liux | mal, the libhybris contains submodule with same name... perhaps my obs configuration does not make obs fetch same code as local repo | 11:31 |
mal | liux: the reason why I asked was that sometimes local source can have wrong submodule version | 11:32 |
liux | elros34, could you help show me the patch for the problem? i'll check if obs fetch different source code which does not contain the patch | 11:34 |
liux | mal, the HEAD of submodule is "commit fae0a52632893cbf3bb7ce0762147b7067db176b (HEAD)" | 11:35 |
mal | ok, so that is not the problem then | 11:35 |
mal | @elros34 I doubt that is the issue since his local builds work | 11:36 |
T42 | <elros34> yeah, I thought the same | 11:37 |
mal | liux: recheck your local config repo with git status for any uncommitted changes | 11:39 |
liux | mal, ok | 11:40 |
T42 | <elros34> liux: does /proc/last_kmsg after it reboots? if no try to get whole dmesg. dmesg -w might not work so use: while true; do dmesg -c; done | 11:40 |
vknecht | please patternize https://build.merproject.org/project/show/home:vknecht:hw:qualcomm:f5121 ? | 11:41 |
liux | is the patternize necessary for building? I 've never applied for patternize. does it matter? | 11:43 |
mal | vknecht: why home build and not take into use the actual f5121 project | 11:44 |
vknecht | well, still experimental, and not using the same base, so probably not ready to replace current project I guess | 11:46 |
mal | vknecht: which base are you using | 11:46 |
vknecht | aosp8 | 11:46 |
vknecht | took time to make a big description ;-) | 11:46 |
mal | is everything working in that? | 11:47 |
vknecht | well, probably not yet ; put it in OBS to check if it fixed my local build problems, aka. droid-config-f5121 rpm not getting used by mic | 11:48 |
vknecht | so almost all sparse files missing | 11:48 |
vknecht | thus no gui | 11:48 |
liux | elros34, it's hard to connect with telnet or usb net because it always disconnect in a short time. let me try | 11:49 |
vknecht | didn't try to build image from it yet, have to shower and eat ;-) | 11:49 |
mal | liux: did you get full journal log yet with journalctl -b -f | 11:50 |
T42 | <elros34> liux: did you touch that file I said? | 11:51 |
liux | mal, elros34, not yet. i'm still trying to connect it with telnet or usbnet during bootloops | 11:54 |
T42 | <elros34> you can create it in twrp | 11:56 |
mal | I would also try to disable droid-hal-init for test purposes | 12:00 |
liux | elros34, just touch it but still hard to connect device | 12:02 |
T42 | <elros34> it should stop booting, does it reboot now? | 12:05 |
T42 | <dashinfantry> who test sailfish os on xperia 10? | 12:06 |
liux | elros34, does not reboot now but no way to connect in it. sorry didn't notice your msg on irc just now | 12:26 |
liux | elros34, does not reboot now but no way to connect in it. sorry didn't notice your msg on irc just now | 12:26 |
T42 | <elros34> liux: try this http://docs.halium.org/en/latest/porting/debug-build/early-init.html#debugging-via-telnet | 12:29 |
piggz | mal: any more thoughts in my audio library loading problem? | 12:33 |
mal | not really, did you give full logs | 12:37 |
piggz | mal: its fixed! | 12:39 |
piggz | TheKit had the fix all along | 12:39 |
piggz | ln -s /system/lib/vndk-28/libaudioroute.so /usr/libexec/droid-hybris/system/lib | 12:39 |
mal | hmm | 12:39 |
mal | piggz: are there different libaudioroute.so files? | 12:40 |
piggz | how that was worked out i dont know ... didnt see any complaints in logs | 12:40 |
piggz | mal: searching fs | 12:40 |
piggz | mal: no, just these | 12:42 |
piggz | /system_root/system/lib/vndk-28/libaudioroute.so | 12:42 |
piggz | /system_root/system/lib64/vndk-28/libaudioroute.so | 12:42 |
piggz | nothing else in /system or /vendor | 12:42 |
mal | hmm, wondering why it doesn't find those by default | 12:44 |
piggz | same | 12:44 |
piggz | but, next i think ill do the keyboard ... but after ive been out on MTB! | 12:46 |
piggz | see if i can find those keycode in a DTS file somewhere | 12:46 |
KALUbE | mal: If you can spare a minute. I've made some progress with the sprdwl.ko module. There's a binary on android called macloader which calls insmod on the sprdwl module (That's why it wasn't loaded by default on sailfish). However it then tries to access a wlan0 socket which it can't find. strace: https://pastebin.com/G1R3Lr1u | 12:54 |
KALUbE | Also relevant logcat output: https://pastebin.com/JgEXvx64 | 12:56 |
mal | KALUbE: that tries to insmod but the module is not present | 12:56 |
mal | where is the module on the device | 12:56 |
KALUbE | Oh, sorry that's an older log. I fixed that by symlinking it to the right place | 12:56 |
mal | both logs have the same error | 12:57 |
KALUbE | Symlinking /lib/modules/3.10.blah/sprdwl.ko back to /system/lib/modules/sprdwl.ko creates this: https://pastebin.com/A5QTzUNc | 13:06 |
KALUbE | Checking output of lsmod before and after shows that the module DOES get loaded | 13:06 |
KALUbE | But logcat has https://pastebin.com/Dn2BcV08 | 13:07 |
KALUbE | And the file does exist https://pastebin.com/UW1jdC4n | 13:09 |
mal | KALUbE: so what happens now if you modprobe the module again? | 13:10 |
mal | or is the module loaded already after that | 13:11 |
KALUbE | modprobing returns nothing and exits with status 1. I assume that means module already loaded? | 13:12 |
mal | so no wlan inferface or device? | 13:14 |
KALUbE | Huh, I had two levels of symbolic links. That seems like the cause | 13:15 |
mal | what? | 13:16 |
KALUbE | mali.ko wasn't getting loaded either, dmesg showed droid-hal-init complaining about too many levels of symbolic links | 13:17 |
KALUbE | Ok, fixed that weird issue... This is output I saw yesterday https://pastebin.com/0RWDCWyF | 13:20 |
mal | why are you showing old logs | 13:21 |
KALUbE | I mean, it's the same output I got yesterday. I forgot to log it. Sorry | 13:22 |
mal | that log still complains about missing module | 13:28 |
KALUbE | That's what I don't get, it opens the module, calls insmod succesfully (lsmod shows that it gets loaded) and then it complains that it failed | 13:30 |
mal | KALUbE: show latest output | 13:36 |
mal | with correct module | 13:36 |
KALUbE | strace: https://pastebin.com/vpduGFJp logcat: https://pastebin.com/ lsmod: https://pastebin.com/di2LcciF | 13:39 |
KALUbE | mal: correct logcat https://pastebin.com/RdXXfCV5 | 13:40 |
mal | why are you not giving dmesg | 13:42 |
mal | the strace still says "return of insmod : ret = 0, No s" which is hiding some part but I think it might be "No such file" | 13:43 |
KALUbE | mal: https://pastebin.com/QftLrAJt | 13:43 |
KALUbE | Yeah, you can see the output in logcat | 13:43 |
mal | I thought you fixed that | 13:43 |
mal | you said you added the file | 13:44 |
mal | show ls -l /system/lib/modules/sprdwl.ko | 13:44 |
mal | maybe it doesn't like symlinks | 13:44 |
KALUbE | I copied the file just in case, strace shows it opens /system/lib/modules/sprdwl.ko succesfully, and calls read and init_module which both execute fine | 13:45 |
KALUbE | So I don't understand why it would say no such file or directory, it opens the file... | 13:46 |
mal | show the strace of that situation | 13:47 |
KALUbE | that's the one I linked above | 13:47 |
KALUbE | https://pastebin.com/vpduGFJp | 13:47 |
mal | but you said it opens it it successfully | 13:47 |
KALUbE | line 460 and 472? | 13:48 |
KALUbE | it opens as fd 4 I think, and then calls read on it. Although I might be misunderstanding system calls | 13:48 |
mal | not sure if you really need that binary | 13:48 |
KALUbE | Maybe not, it does seem to expect the socket to exist already. So it's the module that's having issues | 13:49 |
mal | it would be nice to know what android does | 13:52 |
mal | which module it loads etc | 13:52 |
vknecht | mal, do you have patternizing powers ? :-) | 13:54 |
KALUbE | mal: I'll grab some android logs | 13:58 |
mal | vknecht: nope | 13:58 |
mal | vknecht: you can add patterns manually for testing | 13:59 |
deathmist | "No update candidate for 'pulseaudio-modules-droid-glue-12.2.4-1.armv7hl'. The highest available version is already installed." https://pastebin.com/7kBmbkyL any clues? | 14:00 |
mal | is that a problem? | 14:00 |
deathmist | yeah, it stop mic build | 14:01 |
mal | how about you show mic output | 14:01 |
vknecht | gunzip droid-local-repo/$DEVICE/repodata/whatever-patterns.xml.gz, split each patten in its own file and put those in a disabled _pattern package ? | 14:05 |
mal | some people have done it | 14:11 |
MDTech-us_MAN | mal: I get that error when I run the mentioned commans | 14:13 |
vknecht | ok thanks, reading on it | 14:13 |
MDTech-us_MAN | the ones under "Building droid-config package for Sailfish OS 3.0.3.9" | 14:14 |
MDTech-us_MAN | error: Failed build dependencies: | 14:14 |
MDTech-us_MAN | pkgconfig(android-headers) is needed by droid-config-nash-1-1.armv7hl | 14:14 |
MDTech-us_MAN | repomd-pattern-builder is needed by droid-config-nash-1-1.armv7hl | 14:14 |
MDTech-us_MAN | ssu-kickstart-configuration-jolla is needed by droid-config-nash-1-1.armv7hl | 14:14 |
MDTech-us_MAN | Building target platforms: armv7hl-meego-linux | 14:14 |
MDTech-us_MAN | Building for target armv7hl-meego-linux | 14:14 |
MDTech-us_MAN | * Check /home/sailfish-build/hadk/hybris/droid-configs.log for full log. | 14:14 |
MDTech-us_MAN | I get those errors when I run "rpm/dhd/helpers/build_packages.sh -c" | 14:14 |
MDTech-us_MAN | after doing that git reset command | 14:15 |
mal | and you have properly built droid-hal rpms? | 14:15 |
MDTech-us_MAN | you mean the "make hybris-hal"? | 14:16 |
MDTech-us_MAN | or do you mean running "rpm/dhd/helpers/build_packages.sh" without the -c | 14:16 |
mal | latter one | 14:17 |
MDTech-us_MAN | the problem there is that I get the following error: | 14:18 |
MDTech-us_MAN | IMPORTANT: some devices in your Android tree are 64bit targets. If your device is aarch64, | 14:18 |
MDTech-us_MAN | please define droid_target_aarch64 in your .spec, otherwise define droid_target_armv7hl | 14:18 |
MDTech-us_MAN | NOTE: Currently there is no Sailfish OS ARM 64bit target, so leave PORT_ARCH as armv7hl | 14:18 |
MDTech-us_MAN | Mixed builds of 64bit Android+Linux Kernel and 32bit Sailfish OS work just fine. | 14:19 |
MDTech-us_MAN | I added "%define droid_target_aarch64 1" to rpm/droid-hal-nash.spec but it doesn't seem to be taking affect | 14:19 |
MDTech-us_MAN | ahh, nevermind. it seems I added it after the include instead of before it | 14:21 |
MDTech-us_MAN | thats why it didn't find it | 14:21 |
mal | ok | 14:23 |
MDTech-us_MAN | thanks for the help | 14:23 |
mal | also please don't paste many lines here, usually if you have more than 3 lines pastebin or similar service is better | 14:24 |
KALUbE | mal: I have dmesg and logcat from android: https://pastebin.com/SmY9zSV1 and https://pastebin.com/x6XCN64r. Interestingly that macloader binary has the same output but wifi works so you were right about it not being important | 14:26 |
KALUbE | The driver is calls SC2331 in dmesg I think | 14:26 |
vknecht | hmm, how to get OBS to select the binder spec variant for geoclue, name the package geoclue-providers-hybris-binder instead of just geoclue-providers-hybris ? | 14:30 |
vknecht | or something in meta or project config tabs ? | 14:31 |
deathmist | mal: does mic create a full log somewhere I'm not aware of? that's all I get on the terminal when I try to build the rootfs | 14:31 |
mal | deathmist: rebuild pulseaudio-modules-droid | 14:37 |
mal | deathmist: I removed pulseaudio wrong devel common and you happened to build before that | 14:37 |
mal | and now it won't find it | 14:37 |
mal | *from | 14:38 |
vknecht | ok, selection seems to be from package name | 14:38 |
MDTech-us_MAN | mal: so, here's the next error... its when running build_packages: https://pastebin.com/raw/uiWTdmTq | 15:03 |
vknecht | MDTech-us_MAN, try rpm/dhd/helpers/build_packages.sh --mw=https://git.sailfishos.org/mer-core/libgrilio | 15:05 |
MDTech-us_MAN | trying it... | 15:06 |
vknecht | then build_packages.sh --mw (and you can skip those already build) | 15:07 |
MDTech-us_MAN | "error: RPC failed; result=22, HTTP code = 404" | 15:07 |
MDTech-us_MAN | when its cloning | 15:07 |
MDTech-us_MAN | tryign with .git on the end | 15:08 |
MDTech-us_MAN | all good now | 15:09 |
MDTech-us_MAN | ofono-ril-binder-plugin built successfully now | 15:12 |
MDTech-us_MAN | thanks | 15:12 |
vknecht | crap, with OBS I still get the mic error about droid-config-f5121-bluez5 not installable (and probably with the -sailfish too after disabling the -bluez5 one): | 15:29 |
vknecht | repo problem: pattern:jolla-configuration-f5121-1-1.noarch requires droid-config-f5121-bluez5, but this requirement cannot be provided, not installable providers: droid-config-f5121-bluez5-1+master.20190707092513.786300a-1.1.3.jolla.armv7hl[adaptation-community-f5121-3.0.3.9] | 15:29 |
vknecht | with those excluded from pattern, the image builds fine | 15:30 |
* vknecht goes for a walk | 15:30 | |
mal | vknecht: do you have some conflict in spec | 15:35 |
vknecht | mal, in a spec file from droid-configs you mean ? | 15:37 |
mal | vknecht: did you try the usual debug method mentioned in hadk pdf | 15:41 |
MDTech-us_MAN | So I've been letting it build for a while and it seem stuck on "rpm/ngfd-plugin-native-vibrator.spec". If I look in hybris/mw/ngfd-plugin-droid-vibrator.log, the last line I see is "-- Checking for module 'glib-2.0'" and its been like that for a while now. is this normal? | 15:41 |
mal | it tells what to do if it gets stuck | 15:41 |
mal | read the warning it prints | 15:41 |
vknecht | well, it's different from the classical "uninstallable provider" ; the droid-config-f5121-bluez5/sailfish rpm are there | 15:42 |
vknecht | iirc I did the debug nevertheless, which endend up with mic installed just the ...-bluez5 rpm | 15:43 |
vknecht | so it's something different | 15:43 |
mal | vknecht: show your .ks | 15:43 |
mal | vknecht: just use it | 15:43 |
mal | and see what happens | 15:43 |
mal | vknecht: but you have the normal not installable provider | 15:44 |
MDTech-us_MAN | mal: where does it print this warning? | 15:45 |
MDTech-us_MAN | don't see anythign like that in the log or build_packages output | 15:45 |
vknecht | extracted from http://repo.merproject.org/obs/home:/vknecht:/hw:/qualcomm:/f5121/sailfish_latest_armv7hl/armv7hl/droid-config-f5121-ssu-kickstarts-1+master.20190707092513.786300a-1.1.3.jolla.armv7hl.rpm and corrected to use home OBS: | 15:45 |
vknecht | https://pastebin.com/5nwVqPzW | 15:45 |
vknecht | uninstallable != not installable, from what I've understood | 15:46 |
vknecht | but ok I'll do it after walking and taking the sun a bit :-) | 15:47 |
vknecht | btw I added you as maintainer for this OBS home project, in case you need/want to tweak it | 15:49 |
mal | MDTech-us_MAN: either in the build log or to where you build it | 15:51 |
mal | https://github.com/mer-hybris/droid-hal-device/blob/master/helpers/util.sh#L192 | 15:52 |
liux | mal, elros34, I've uploaded my local libhybris*.rpm and disable libhybris build on obs. then I make image with home repo. The image works fine just like my local built | 15:52 |
mal | liux: so verify again the local libhybris packages | 15:52 |
mal | I mean the local repo | 15:52 |
mal | vknecht: can't you just try it anyway | 15:53 |
T42 | <DSstill01> how to update patterns in obs? | 15:54 |
MDTech-us_MAN | didn't see that anywhere: https://pastebin.com/raw/1irUyqeM https://pastebin.com/raw/Cqg68TMK | 15:54 |
mal | liux: pastebin output of git remote -v, git status, git rev-parse HEAD in libhybris folder and same in libhybris/libhybris submodule | 15:55 |
mal | MDTech-us_MAN: I gave you the warning message already | 15:55 |
MDTech-us_MAN | thanks | 15:55 |
MDTech-us_MAN | just letting you know it didn't show up anywhere | 15:55 |
liux | mal, i'm sure i have not changed source in libhybris manually. some file was created by build_package.sh maybe. i'll paste git diff on pastebin | 15:57 |
mal | yes, git diff of both is also wanted | 15:57 |
mal | liux: well there are not many possibilities what could be wrong | 15:57 |
MDTech-us_MAN | and stopping it and trying again did work, the build is continuing on. thanks. | 15:58 |
liux | mal, https://paste.ubuntu.com/p/DJVPh7YJzd/ | 16:02 |
liux | i have no idea who made these changes and how they affect build result | 16:04 |
mal | liux: which android base was that, cm-11.0? | 16:17 |
mal | liux: try in OBS to use revision 20bcd5be11fcd82aa9e2e995c4bb37af9c94cbad | 16:19 |
liux | mal, yes, cm-11.0 | 16:20 |
liux | ok, I'll try it on obs | 16:21 |
liux | the building is on goning. may i know the reason of this issue? i've searched on local scripts but still nothing got until now | 16:26 |
MDTech-us_MAN | and again, I built the image, wiped everything, installed lineageos 15.1, then the built ZIP file (modded to use a working busybox) then I reboot to system and I see the lineage OS logo. is this to be expected? or am I supposed to be seeing a silfish logo? | 16:33 |
MDTech-us_MAN | *sailfish | 16:34 |
MDTech-us_MAN | dmesg on the host only shows "USB disconnect" from when I rebooted to system | 16:34 |
MDTech-us_MAN | nothing after | 16:35 |
MDTech-us_MAN | wiped everything again did the same and now it doesn't show any loading screen and goes straight to the bootloader | 16:43 |
MDTech-us_MAN | third time I got the lineage os loading screen | 16:52 |
mal | liux: there is bug in libhybris, I thought it was only for hybris-12.1 but seems it's also for 11.0 | 16:57 |
mal | MDTech-us_MAN: there is no sailfish boot logo usually | 16:58 |
mal | MDTech-us_MAN: what exactly do you mean by lineage loading screen | 16:58 |
MDTech-us_MAN | the boot screed | 16:58 |
MDTech-us_MAN | *screen | 16:58 |
MDTech-us_MAN | am i supposed to be seeing somethign in the host's dmesg? | 16:59 |
mal | yes, check for usb related messages | 16:59 |
MDTech-us_MAN | or only at a later point in the boot process | 16:59 |
mal | very early in boot | 16:59 |
MDTech-us_MAN | so far nothign | 16:59 |
mal | nothing usb related? | 16:59 |
MDTech-us_MAN | last I see is USB disconnect, | 16:59 |
MDTech-us_MAN | from when I rebooted the deviece | 17:00 |
mal | but before that, show what you get | 17:00 |
MDTech-us_MAN | https://pastebin.com/raw/b0cJG1Ph | 17:00 |
MDTech-us_MAN | those are the last few | 17:01 |
mal | so nothing related to Mer | 17:01 |
MDTech-us_MAN | yeah.... | 17:01 |
mal | wondering if the correct kernel gets flashed or maybe bootloader somehow reverts the kernel | 17:02 |
mal | I think there have been devices that don't like unsigned kernel images | 17:02 |
MDTech-us_MAN | I've installed other unofficial roms here before and had no issues | 17:03 |
MDTech-us_MAN | would I be able to verify the kernel from recovery? | 17:04 |
MDTech-us_MAN | are there any boot logs that might be visible somewhere? | 17:05 |
T42 | Rajpratik71 was added by: Rajpratik71 | 17:09 |
*** justgerd9 is now known as Gerd | 17:22 | |
*** Gerd is now known as JustGerd | 17:22 | |
MDTech-us_MAN | hmmm | 17:25 |
MDTech-us_MAN | this is actually pretty interesting | 17:25 |
MDTech-us_MAN | mal: now that I look at the other ROMs that I flashed, in the META-INF folder I see CERT.RSA, CERT.SF, MANIFEST.MF | 17:26 |
MDTech-us_MAN | I suspect that means those were actually signed | 17:27 |
MDTech-us_MAN | is there a way to sign the sf zip? | 17:32 |
MDTech-us_MAN | or work around this? | 17:32 |
mccreary | elros34: I replaced my idiosyncratic recovery with twrp-3.0.2-0-asanti_c.img from twrp.me, and did a full installation from scratch. I had no trouble with the touchscreen on a HW A Photon Q | 18:07 |
mccreary | So let's chalk this all up to using a 'bad' recovery build. My only remaining feedback would be to emphasize installing the latest recovery from twrp.me in your already very good instructions | 18:08 |
mccreary | Thanks again for working on SailfishOS for moto_msm8960_jbbl :-) | 18:09 |
mal | MDTech-us_MAN: you only need to sign the kernel, there is a way to do that, probably a web search will tell how | 18:14 |
mal | liux: any luck with the older libhybris | 18:15 |
T42 | <elros34> mccreary: great, I will add recommended twrp to instruction. Just curious, have you find out which property was wrong? | 18:27 |
T42 | <elros34> MDTech-us_MAN: flash hybris-boot to clear any boot failure flags and then boot device with recovery button pressed. | 18:30 |
vknecht | so here's two mic runs with 2 KS : 1st with @Jolla Configuration f5121 with the error we spoke about previously, 2nd with KS referencing only offending droid-config-f5121-bluez5 : https://pastebin.com/jSDuqX5K | 18:37 |
mccreary | I did not find the underlying bug, but I believe it only affected the cm-11 installation. | 18:38 |
mccreary | In the instructions for updating to 3.0.3, there is a reference to 3.0.0.8. I assume this is a typo, and 3.0.2.8 was intended? | 18:39 |
mal | mccreary: what instructions are you talking about | 18:45 |
T42 | <elros34> mccreary: use upgrade.sh, it's more up to date | 18:46 |
mccreary | OK :-) | 18:47 |
mccreary | mal, I was referring to elros34's instructions from https://forum.xda-developers.com/photon-q-4g-lte/general/sailfishos-3-photon-q-t3870979 | 18:47 |
T42 | <elros34> don't forget about patched glibc repo otherwise device will not boot. I couldn't add it to device common because of dependecies issues. | 18:48 |
mccreary | elros34, thanks for the reminder. BTW, nadlabak worked on a 3.4 kernel for the Photon Q: https://github.com/nadlabak/android_kernel_motorola_msm8960dt-common | 19:01 |
mccreary | It has some stability bugs, so was never used for production builds | 19:01 |
T42 | <elros34> I know, shame it was never finished like 2GB ram mod | 19:04 |
piggz | i think im managing to work out how this keyboard slide code works! | 19:21 |
vknecht | preparing a topic for next meeting (thursday July 11th/22 Messidor) about this aosp8 rebase for X/X Compact I've been working on... anyone willing to be a « substitute » ? | 19:24 |
vknecht | more info: https://build.merproject.org/project/show/home:vknecht:hw:qualcomm:f5121 | 19:26 |
vknecht | will add a bit more in this overview shortly, like the fact LVM is disabled atm (tho it works, but makes it difficult to debug since no telnet past switchroot), and not using droid-system rpm tho I made repo for it | 19:29 |
MDTech-us_MAN | elros34: same thing. I see the lineage os boot screen and nothing in dmesg | 19:46 |
MDTech-us_MAN | mal: I can't find any info on signing kernels specifically. only zip files. | 19:47 |
mal | MDTech-us_MAN: really, first search I made gave a lot of links, "android sign boot.img" | 19:52 |
T42 | <elros34> not sure what you mean by os boot screen. You should see only bootloader logo not lineage animation. Does your device use skip_initramfs? | 19:52 |
mal | that is one option for the issue | 19:53 |
mal | but still it should remain at bootloader logo | 19:53 |
MDTech-us_MAN | for me it goes past the bootloader logo | 19:53 |
MDTech-us_MAN | and is stuck on the lineage OS loading screen | 19:53 |
mal | which would suggest that it didn't like you kernel | 19:54 |
MDTech-us_MAN | yeah, I was searchign for signing kernel, not signing boot img, thats why I didn't find anything. attempting to do it now. | 19:56 |
MDTech-us_MAN | okay...... | 20:15 |
MDTech-us_MAN | things just got weirder | 20:15 |
MDTech-us_MAN | it actually booted into lineage os | 20:16 |
MDTech-us_MAN | to the lineage os setup wizard | 20:16 |
MDTech-us_MAN | but with a bunch of error messages popping up | 20:16 |
T42 | <elros34> so if you are in android now: cat /proc/cmdline | grep skip_initramfs | 20:17 |
MDTech-us_MAN | then it rebooted into recovery on its own | 20:17 |
MDTech-us_MAN | I can't bet out of the setup wizard | 20:18 |
MDTech-us_MAN | *get | 20:18 |
MDTech-us_MAN | the error messages are covering it | 20:18 |
MDTech-us_MAN | and within 60 seconds it just goes to recovery | 20:19 |
MDTech-us_MAN | and then recovery restarts and it tries to boot system again | 20:19 |
MDTech-us_MAN | and the loop continues | 20:20 |
vknecht | anyone with enough TJC karma to add this https://pastebin.com/3Ey5NYBj at https://together.jolla.com/question/54157/sailfishos-open-source-collaboration-meeting-planning/ ? | 20:21 |
vknecht | vknecht (karma: 1, badges: ● 1 ● 1) lol | 20:22 |
T42 | <elros34> MDTech-us_MAN: you can flash lineage kernel, boot and check that command or just revert commit which add skip_initramfs in your kernel: init/initramfs.c | 20:22 |
MDTech-us_MAN | I'll just revert the commit | 20:24 |
MDTech-us_MAN | I just need to rebuild hybris-boot and then do build_packages.sh -d, right? | 20:26 |
T42 | <elros34> just flash hybris-boot you dont need to build whole new image | 20:27 |
MDTech-us_MAN | ok | 20:28 |
MDTech-us_MAN | okay... I flashed the new out/target/product/nash/hybris-boot.signed.img to both boot_a and boot_b and now it gets stuck at the bootloader screen and doesn't get to the loading screen | 20:35 |
MDTech-us_MAN | in around 60 seconds it the device resets and the same happens again | 20:36 |
MDTech-us_MAN | nothing in the host dmesg related to Mer | 20:37 |
T42 | <elros34> progress :) | 20:39 |
MDTech-us_MAN | define progress :) | 20:39 |
MDTech-us_MAN | any debug info I can extract in this state? | 20:39 |
T42 | <elros34> here you go: https://github.com/mer-hybris/hybris-boot/blob/master/init-script#L276 | 20:39 |
T42 | <elros34> show your device repo | 20:40 |
MDTech-us_MAN | https://github.com/MDTech-us-MAN?tab=repositories | 20:40 |
MDTech-us_MAN | I didn't commit the fixed "fixup-mountpoints yet though | 20:41 |
T42 | <elros34> what about android device repo | 20:42 |
MDTech-us_MAN | which folder would it be cloned to? | 20:42 |
T42 | <elros34> device/"vendor"/"device" | 20:43 |
MDTech-us_MAN | /github.com/LineageOS/android_device_motorola_nash | 20:45 |
MDTech-us_MAN | that's the repo currently used | 20:46 |
MDTech-us_MAN | whoa. after the device reset one of these times, I got the following error: AP Fastboot Flash Mode (Secure) | 20:49 |
MDTech-us_MAN | No bootable A/B slot | 20:49 |
MDTech-us_MAN | Failed to boot Linux, falling back to fastboot | 20:49 |
MDTech-us_MAN | Fastboot Reason: Fall-through from normal boot mode | 20:50 |
T42 | <elros34> yeah it might fail to boot too many times, you need to flash kernel again | 20:51 |
MDTech-us_MAN | that's somethign like what I suspected. | 20:51 |
MDTech-us_MAN | just need to fix the actual problem first | 20:52 |
T42 | <elros34> try to replace every "rndis_bam.rndis" with "gsi.rndis" in hybris/hybris-boot/init-script. Then make hybris-boot and flash it | 20:52 |
MDTech-us_MAN | almost the same | 21:01 |
MDTech-us_MAN | now it vibrates after aroudn 5 seconds | 21:01 |
MDTech-us_MAN | then around 60 seconds it resets | 21:01 |
T42 | <elros34> nothing in dmesg now? | 21:03 |
MDTech-us_MAN | nothing | 21:03 |
MDTech-us_MAN | does it save logs anywhere? | 21:07 |
MDTech-us_MAN | here is the part that I changed in the init-script: https://pastebin.com/raw/Ef2TrPLy | 21:09 |
MDTech-us_MAN | and the diff: https://pastebin.com/KkHZTDGf | 21:10 |
MDTech-us_MAN | maybe I messed somethign up there? | 21:10 |
T42 | <elros34> It's still in initramfs so no logs unless you manually mount for example sd card and put some info there | 21:10 |
MDTech-us_MAN | I do have an sd card in the phoen | 21:11 |
T42 | <elros34> you could also try to enable CONFIGFS_RNDIS/QCRNDIS or RMNET_BAM in defconfig. I am pretty sure there was somebody with simillar issue not so long time ago | 21:12 |
piggz | mal: im now getting events like this | 21:12 |
piggz | sh-3.2# evdev_trace -t /dev/input/event2 | 21:12 |
piggz | /dev/input/event2: 1562533888.433 - 0x05/EV_SW - 0x00a/SW_KEYPAD_SLIDE - 1 | 21:12 |
piggz | /dev/input/event2: 1562533888.433 - 0x00/EV_SYN - 0x000/SYN_REPORT - 0 | 21:12 |
piggz | /dev/input/event2: 1562533891.393 - 0x05/EV_SW - 0x00a/SW_KEYPAD_SLIDE - 0 | 21:12 |
piggz | but, on-screen kaybord not showing up | 21:12 |
Mister_Magister | piggz: gj | 21:14 |
MDTech-us_MAN | elros34: should I keep those changes in the init-script? | 21:14 |
T42 | <elros34> you can append gsi instead replacing rndis_bam | 21:16 |
MDTech-us_MAN | elros32: is it bad to enable all 3? | 21:18 |
MDTech-us_MAN | rndis isn't building | 21:23 |
MDTech-us_MAN | ../../../../../../kernel/motorola/msm8998/drivers/usb/gadget/function/rndis.c:46:1: error: use of undeclared identifier 'KBUILD_MODNAME' | 21:23 |
MDTech-us_MAN | and a few more | 21:23 |
MDTech-us_MAN | elros32 | 21:24 |
T42 | <elros34> iirc somebody with motorola had similar error but don't know whether he fixed it or not | 21:26 |
MDTech-us_MAN | I had an error when I was buildign the kernel before somewhere in bluetooth related stuff and I solved it by copyign a portion of the code from the main linux code repo | 21:28 |
MDTech-us_MAN | should I try disablign CONFIGFS_RNDIS/QCRNDIS and enabling RMNET_BAM for now? | 21:28 |
T42 | <elros34> dunno you need to try, you could also boot android and figure aout correct usb setup: https://github.com/LineageOS/android_device_motorola_nash/blob/lineage-15.1/rootdir/etc/init.mmi.usb.rc#L199 | 21:33 |
T42 | <elros34> there is also chance that you have /sys/class/android_usb/android0 directory and hybris-boot use android_usb instead configfs at all: https://github.com/mer-hybris/hybris-boot/blob/master/init-script#L243 | 21:41 |
piggz | mal: so, i added some debug lof to mce, and it looks ok ... even the screen powers on/off when sliding keyboard, https://paste.gnome.org/p3zf1svbq | 21:45 |
piggz | but, no OSK is shown | 21:45 |
piggz | could it be becuase the device the generates the slide, is different to the keyboard, so, it thinks the keyboard is seperate and always on | 21:45 |
piggz | mal: yes, it must be...in event_input.c | 21:52 |
piggz | /** Check if another device node is supposed to provide slide status */ | 21:53 |
T42 | <elros34> that shoudn't be a problem I have SW_LID in event0 and hwkbd in event 1. There is /run/stat/namespaces/maemo_InternalKeyboard/Open maybe this is used to show/hide vkb | 21:53 |
piggz | @elros34 what device is that? | 21:55 |
T42 | <elros34> Photon Q | 21:56 |
piggz | other thing that works without config is the keyboard backlight | 22:00 |
piggz | just need to figure out the damn on-screen kdb! | 22:01 |
mal | piggz: ah, check xperia 2011 repos, that tell how to config it if slide is from different device | 22:02 |
mal | piggz: https://github.com/mlehtima/droid-config-2011xperia/blob/master/sparse/etc/mce/90evdev.ini#L48 | 22:04 |
mal | piggz: so just check the names from evdev_trace -i to see which ones to use | 22:07 |
MDTech-us_MAN | elros34: I managed to get it to build, but now it just gets stuck at the bootloader screen. and nothing in the host dmesg | 23:18 |
MDTech-us_MAN | flashed lineage and trying to look at how it works | 23:20 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!