svuorela | So. I think I bricked my device updating to sauna (from 4.5.latest). I then tried getting the recovery image from jollashop (4.6). and flashing that seems to take me into reboot loop. Any advice ? | 19:00 |
---|---|---|
TomGodden[m] | svuorela: I needed the 4.5 recovery image. | 19:01 |
svuorela | how does one get a 4.5 recovery? | 19:01 |
svuorela | I only seem to be able to get the 4.6 image from jollashop | 19:02 |
TomGodden[m] | svuorela: Keto put the image on https://releases.sailfishos.org/images/tmp/ a while back, but it seems to be offline again. | 19:04 |
TomGodden[m] | What device do you have? | 19:05 |
svuorela | there seems to be something here https://releases.sailfishos.org/images/4.5.0.25/ - but that seems slightly older than the EULA version ? | 19:05 |
TomGodden[m] | I used 4.5.0.25 | 19:06 |
svuorela | my device is Sony Xperia 10 II, dual SIM (xqau52) | 19:06 |
svuorela | I'll try that one then | 19:06 |
TomGodden[m] | (for reference, my device is Sony Xperia 10 dual SIM) | 19:07 |
svuorela | now I have recovery mode according to the phone | 19:09 |
TomGodden[m] | I had these exact issues: https://forum.sailfishos.org/t/release-notes-sauna-4-6-0-11/17815/158 | 19:10 |
svuorela | I have seen that | 19:12 |
svuorela | and it looks very familiar | 19:13 |
TomGodden[m] | If you have the same issues, you'll need zypper and dependencies for it. | 19:14 |
svuorela | but I'm a bit unsure how to get from recovery shell back to working phone. is there a writeup anywhere ? | 19:14 |
TomGodden[m] | I can try to summarise what I did, but I might forget some steps. And haven't been able to get my android support working yet. | 19:15 |
TomGodden[m] | It's basically a synopsis from mjtorn's posts in that thread. | 19:15 |
svuorela | that forum site is a bit of a disaster with more than 30 messages in a post. figuring out where mjtorn's struggles starts is a bit interesting :/ | 19:18 |
svuorela | # error: %preun(harbour-callrecorder-0.7.4-3.aarch64) scriptlet failed, exit status 1 | 19:21 |
svuorela | # error: harbour-callrecorder-0.7.4-3.aarch64: erase failed | 19:22 |
svuorela | that definitely the same as mjtorn start | 19:22 |
TomGodden[m] | **This is how I did it. As always, use your own brain as well :)**... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/uQqdXdehGCSEtGZoMcYAJfvq>) | 19:24 |
svuorela | TomGodden[m]: should I flash it with boot-from-4.6 once done or with boot-from-4.5 ? | 19:27 |
TomGodden[m] | Wdym with once done? These steps repaired my device for me, so I didn't need to flash anymore. | 19:27 |
svuorela | oh. | 19:29 |
svuorela | TomGodden[m]: ah. it's a difference between 10 and 10II/10III when leaving recovery one needs to flash a boot image. | 19:30 |
TomGodden[m] | Ah right... I don't know that. Guess you can try both? | 19:30 |
TomGodden[m] | entil: what did you do? | 19:31 |
attah | I thought one would "fastboot boot" and not "fastboot flash" any recovery image... | 19:32 |
svuorela | attah: the guidance says flash it to both partitions | 19:34 |
TomGodden[m] | attah: depends on the device | 19:34 |
svuorela | any good ideas where to get zypper from ? | 19:37 |
attah | that would account for the difference i guess | 19:37 |
attah | svuorela: no second device? | 19:40 |
svuorela | attah: something old somewhere in a drawer | 19:42 |
attah | presumably not same arch then | 19:42 |
attah | I could put it somewhere... but need to figure out somewhere | 19:42 |
svuorela | likely 32bit, the ones in the drawer (but I have most of the collection...) | 19:43 |
svuorela | attah: you can just throw it at sune@vuorela.dk ? | 19:43 |
attah | good point | 19:44 |
svuorela | packagekit is also a bit unfriendly here. It seems to want logind running ... | 19:44 |
TomGodden[m] | svuorela: indeed, it's why you need zypper I believe | 19:44 |
attah | You have mail | 19:45 |
attah | As obtained with: pkcon download /tmp zypper on 4.6 | 19:45 |
svuorela | attah: I might need a few more.. libreadline8 and libaugeas0 at least... | 19:47 |
TomGodden[m] | svuorela: Yes those are the two that i needed as well, so I think you're on the same track :) | 19:48 |
TomGodden[m] | * **This is how I did it. As always, use your own brain as well :)**... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/HpuWdftXiYnutJUXlQgROysm>) | 19:48 |
svuorela | luckily I'm not completely lost in a linux system :) | 19:49 |
attah | More mail | 19:50 |
svuorela | attah: if I end up succeeding, I might owe you a poppler review or something. | 19:50 |
attah | Setting you up for that deliberately | 19:51 |
attah | https://github.com/sailfishos/poppler/pull/4/commits/6c0a7de506926f2d2dabd0eb81a227bf8377041e | 19:51 |
svuorela | oh. I was talking about upstream :) - but I guess that's also mostly reverting things I did there... | 19:52 |
attah | Still surprisingly high degree of compatibility with our ancient Qt | 19:52 |
attah | But that one i could not figure out, and it has your name on it | 19:53 |
svuorela | attah: can I also have libfa1 ? | 19:55 |
svuorela | attah: the invokeMethod stuff ? | 19:55 |
attah | Hmm, now my previous fuzzy-search is not as successful | 19:56 |
attah | i can do libfaad2? xD | 19:57 |
TomGodden[m] | * **This is how I did it. As always, use your own brain as well :)** Probably back up at least your home directory...... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/GcxXeoKZpWXXuAVbiAEILrSO>) | 19:57 |
svuorela | attah: ah. augeas is utilities, not the library | 19:58 |
svuorela | attah: so I probably don't (yet) need libfa1, but I do need some other part of augeas | 19:58 |
attah | ah, there is a libs package indeed | 19:59 |
attah | Yes, the invokeMethod stuff... geriatric Qt doesn't seem to do lambdas there | 20:00 |
svuorela | attah: is poppler in sailfish built with nss for signature support ? | 20:00 |
attah | I honestly don't know... if that's default and picked up by cmake? | 20:01 |
svuorela | BuildRequires: pkgconfig(nss) | 20:02 |
svuorela | looks like it is | 20:02 |
attah | let me guess i added it without thinking | 20:02 |
svuorela | attah: poppler is just used by the documents app, or by other things ? | 20:03 |
attah | phew... blame says pvuorela | 20:03 |
attah | I use it in SeaPrint sneaklily | 20:03 |
attah | and maybe like one openrepos app | 20:04 |
svuorela | attah: a quickfix would be to just rever my async api. I don't have a sufficient old Qt around to get the invokeMethod correct | 20:04 |
attah | Setting up sfdk is really quite easy | 20:05 |
svuorela | crap. zypper dup pooped itself half way | 20:06 |
attah | what happened? | 20:09 |
svuorela | oh. zypper also popped on rpm. | 20:10 |
svuorela | # rpm | 20:10 |
svuorela | rpm: error while loading shared libraries: liblua-5.4.so: cannot open shared object file: No such file or directory | 20:10 |
svuorela | I guess that's why zypper got angry | 20:10 |
svuorela | zypper dup seems to have downgraded my liblua without doing other stuff | 20:11 |
svuorela | and the older one does not make my rpm happy | 20:13 |
svuorela | can I has a liblua from 4.6 ? :) | 20:14 |
attah | coming up | 20:15 |
mal | do you have the rpms in cache on device still? | 20:18 |
svuorela | I don't :/ | 20:20 |
svuorela | it really looks like my zypper dup was doing a downgrade to 4.5 rather than finishing a upgrade to 4.6 | 20:21 |
svuorela | # zypper dup | 20:21 |
svuorela | zypper: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by zypper) | 20:21 |
attah | what does ssu think you should be heading towards? | 20:21 |
mal | do you happen to have platform sdk on your computer? | 20:21 |
mal | it's possible to download the rpms using that and then copy to the device | 20:22 |
svuorela | I don't have a platform sdk no, I guess I could get one ... | 20:23 |
svuorela | I use my jollaphone as a phone, not as a development target. | 20:23 |
mal | wondering which rpms you need | 20:24 |
svuorela | attah: re poppler. http://paste.debian.net/1321866/ might be good enough for you. Until I have detailed read more Qt code, I can't say if it is not racy or not. but it might actually be good enough also for poppler upstream. | 20:26 |
attah | I went for the revert | 20:27 |
attah | But that was indeed much nicer code-wise | 20:28 |
svuorela | attah: yeah. it is also only the gpgsm backend of poppler that actually takes advantage of the async 'is this certificate valid' api. | 20:28 |
svuorela | yeah. finally got enough bits over. | 21:12 |
svuorela | zypper wants to downgrade me to 4.5 | 21:12 |
svuorela | should I let it do that or ? | 21:14 |
mal | svuorela: do you have zypper etc from 4.6 or 4.5? | 21:44 |
svuorela | mal: I ended up updating to 4.6 | 21:59 |
svuorela | mal: and now it boots | 21:59 |
svuorela | and I can ssh in | 22:00 |
svuorela | unfortunately I have forgotten my devel-su password :/ | 22:00 |
svuorela | but it has a black screen | 22:00 |
svuorela | I guess I need to figure out how to switch the devel-su password from recovery mode? | 22:01 |
svuorela | I guess it is just the normal password for the defaultuser account ? | 22:11 |
svuorela | SUCCESS! | 22:24 |
svuorela | I guess I_should report somewhere that 'please refuse install if harbour callrecorder is installed' would be a good fix | 22:24 |
mal | yeah, not nice if some app causes that kind of issues | 22:53 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!