EleventhLast | I filled in everything correctly, but it is not going to, I have no more ideas | 00:28 |
---|---|---|
*** hummer12007_ is now known as hummer12007 | 00:47 | |
nncv | Hey guys, does anyone have any experience with building sfos for the Xperia 1 or Xperia 1 II? | 07:49 |
Thaodan | nncv: + | 08:04 |
nncv | You do? For which one? | 08:05 |
Thaodan | Both | 08:05 |
Thaodan | the build process is the same for both | 08:05 |
nncv | Oh that's sick, I have an Xperia 1 II, and I was thinking of building SFOS for it | 08:05 |
Thaodan | You can find the build instructions on my project | 08:05 |
nncv | Any problems with functionality? | 08:05 |
nncv | Ah that is sick! Do you have a link? | 08:06 |
Thaodan | Xperia 1 II has issues with suspend right now since the modem's pcie doesn't suspend properly | 08:06 |
nncv | Meh that's not that big of a problem | 08:06 |
Thaodan | It's good to use the channel grep that is in the topic. | 08:07 |
nncv | Yeah, thanks a lot, I will definitely do so. | 08:07 |
Thaodan | But here is the link anyway: https://github.com/SailfishOS-SonyXperia/bugs | 08:07 |
nncv | Have you tested it on the XQ-AT52 variant? | 08:07 |
Thaodan | I have XQ-AT51 but the 52 is just the dual sim variant. | 08:08 |
Thaodan | https://github.com/SailfishOS-SonyXperia/bugs/issues/18 | 08:08 |
nncv | Yeah, I know, I was curious. | 08:08 |
Thaodan | I'm currently working on finnishing the rest of the release process if you want prebuilds. | 08:09 |
nncv | I'll build it in the following hours. | 08:09 |
nncv | Does Waydroid work? | 08:09 |
Thaodan | In theory you can just build your image against my adaptation repo: https://build.sailfishos.org/project/show/nemo:devel:hw:sony:kumano | 08:10 |
Thaodan | I didn't need to test waydroid. | 08:10 |
nncv | You didn't? | 08:11 |
nncv | Also I will do so. | 08:11 |
nncv | Kinda curious as to why you didn't need to test Waydroid. | 08:14 |
EleventhLAst | and yet , it is collected with ignoring files . but if you do it as in the instructions, then it is not going to | 08:36 |
EleventhLAst | maybe something is wrong with the files themselves, because the errors are exactly on% {nil} | 08:41 |
EleventhLAst | I also don't have this file. | 08:46 |
EleventhLAst | Then add - droid-hal-hammerhead-detritus to droid-configs/patterns/ jolla-hw-adaptation-hammerhead.yaml (substitute as appropriate for your device | 08:46 |
EleventhLAst | so, it's my fault for creating the wrong file, I thought that straggler_files \ was set for example | 09:43 |
EleventhLAst | rebuilt as needed, but now after a couple of seconds it throws it out of telnet, and the modem mode is turned off, there is also no picture | 10:31 |
EleventhLAst | https://pastebin.com/Fuh4fHWF | 10:33 |
EleventhLAst | dmesg | 10:34 |
EleventhLAst | I flashed a slightly different firmware version, and the problem remained only with the time daemon | 10:41 |
EleventhLast | who knows what to do with the demon of time, I did not find anything on the net about this | 11:02 |
T42 | <elros34> really? this channel is filled with this, hadk-hot too | 11:04 |
T42 | <elros34> Instead flashing different firmware, you should get logs from that | 11:06 |
ELeventhLast | I saw, you need to turn off the demon | 11:09 |
ELeventhLast | systemctl disable time Failed to disable unit: Unit file time.service does not exist. | 11:10 |
T42 | <elros34> time to learn how to use existing information. This is one of the most common issue in past so there are multiple instructions how to fix it | 11:14 |
ELeventhLast | give instructions | 11:15 |
ELeventhLast | no, i already found it | 11:19 |
ELeventhLast | if I understand correctly, this must be done during assembly, can I somehow disable this without reassembly? | 11:29 |
T42 | <elros34> droid-config*/sparse/ is / on your device. All init*.rc files are also on your device so you can make changes on device | 11:34 |
ELeventhLast | I would like to say that there is no necessary file from hadk-hot | 11:36 |
ELeventhLast | disabled_services.rc or in init*rc files if you use old hybris base | 11:37 |
ELeventhLast | Or does this file need to be created manually? | 11:38 |
T42 | <elros34> I do not remember excatly how it was for 15 base but for sure you will find this in channel logs | 11:39 |
ELeventhLast | /usr/bin/droid/droid-hcismd-up.sh | 11:40 |
ELeventhLast | I don’t know how to turn it off, there is no file about which they write, and links with inserts are broken | 11:48 |
ELeventhLast | The init * rc files seem to be in some other directory, will there be any other options besides usr/libexec/droid-hybris/system/etc/init/? | 12:08 |
T42 | <elros34> take a look ate file you have added previously: https://github.com/mer-hybris/droid-config-sony-nile/commits/master/sparse/usr/libexec/droid-hybris/system/etc/init. I see at least 2 clear examples for lkmd and wificond. Do similar thing for time_deamon. BTW this failing service is really not critical | 12:15 |
ELeventhLast | in fact i have created the required file but it doesn't seem to apply | 12:27 |
ELeventhLast | https://pastebin.com/cCY1VH9i | 12:28 |
ELeventhLast | does it need a specific chmod? | 12:29 |
T42 | <elros34> I think it can't have too much permissions otherwise you will see in logs some error. | 12:30 |
ELeventhLast | [ 13.399372] droid-hal-init: Parsing file /usr/libexec/droid-hybris/system/etc/init/vendor.time_daemon.rc... [ 13.399418] droid-hal-init: Skipping insecure file '/usr/libexec/droid-hybris/system/etc/init/vendor.time_daemon.rc' [ 13.399489] droid-hal-init: could not import file '/usr/libexec/droid-hybris/system/etc/init/vendor.time_daemon.rc' | 12:31 |
ELeventhLast | and indeed, there is a mistake | 12:32 |
ELeventhLast | what rights does he need | 12:32 |
ELeventhLast | 700? | 12:32 |
ELeventhLast | 644 | 12:40 |
ELeventhLast | [ 13.464145] droid-hal-init: /usr/libexec/droid-hybris/system/etc/init/time_daemon.rc: 1: ignored duplicate definition of service 'time_daemon' | 12:41 |
ELeventhLast | and why... | 12:41 |
T42 | <elros34> because something else defined it before | 12:42 |
ELeventhLast | but here's what... | 12:43 |
ELeventhLast | and there are a lot of duplicates in the logs | 12:44 |
T42 | <elros34> grep -r time_daemon in /*, /usr/libexec/droid-hybris and /system should reveal it | 12:46 |
ELeventhLast | you probably wrote something wrong, this command does not output absolutely nothing | 12:53 |
ELeventhLast | in all 3 directories | 12:54 |
T42 | <elros34> yeah commas are for you, grep will not understand them | 12:57 |
T42 | <elros34> comma and 'and' :) | 12:57 |
ELeventhLast | .... I'm not talking about that | 12:59 |
ELeventhLast | # grep -r time_daemon Connection closed by foreign host | 13:00 |
ELeventhLast | I don't have time to see what | 13:01 |
T42 | <elros34> 'grep -r time_daemon' is wrong because it can read form sysfs or /d which cause may issues on some kernels. 'grep time_daemon /*' and 'grep -r time_daemon /system' would be correct | 13:03 |
ELeventhLast | telnet no longer connects... | 13:06 |
ELeventhLast | no, it works | 13:07 |
nncv | Hey guys, I'm following the Sailfish X Android 11 build guide for the Xperia 10 III, although I am going to build it for the Xperia 1 II, and I don't know how to move on. I've finished chapter 4, and the guide is telling me to git clone from the mer-hybris repo, but it doesn't contain the Edo family, which my phone is a part of. What do I do? | 13:50 |
nncv | (I'm also going to use Android 12 as a base instead of Android 11) | 13:51 |
EleventhLast | #/init.target.rc:service time_daemon /vendor/bin/time_daemon /nonplat_file_contexts:/(vendor|system/vendor)/bin/time_daemon u:object_r:time_daemon_exec:s0 grep: /sdcard: No such file or directory | 13:52 |
nncv | Thaodan: any advice? | 13:53 |
EleventhLast | if I understand correctly, you need to clean init.target.rc | 13:54 |
T42 | <elros34> EleventhLast Are you sure this is only rc file with that service? You need to see if /init.target.rc is really parsed before yours. if yes then you must edit init.traget.rc directly | 13:54 |
EleventhLast | most likely he, I looked at the logs, and there was no time service anywhere except what I created | 13:55 |
nncv | If anyone else can, please give me a helping hand. Thanks. | 13:56 |
EleventhLast | service time_daemon /vendor/bin/time_daemon class main user root group root | 13:56 |
EleventhLast | Yes, this is it | 13:56 |
T42 | <elros34> @nncv do not know the details but for sure you must use github repo which Thaodan gives you. Maybe you will even find device specific instruction there | 13:58 |
nncv | I looked on the repo but the instructions leads to the main page, which references instructions, which references the main page, etc | 13:59 |
nncv | https://github.com/SailfishOS-SonyXperia/bugs/blob/master/INSTALL.org | 13:59 |
T42 | <elros34> ok but edo repos are there: https://github.com/SailfishOS-SonyXperia?q=edo&type=all&language=&sort= | 13:59 |
nncv | Ah, thank you so much, T42! | 14:00 |
Mister_Magister | it's not T42, T42 is a proxy/bridge | 14:00 |
Mister_Magister | you're talking to @elros34 | 14:00 |
nncv | Then thank you elros34 | 14:00 |
EleventhLast | unfortunately there is no image, but in the log there are a huge number of errors that I do not understand | 14:01 |
EleventhLast | I'm wondering if this could be a clue [ 15.520606] droid-hal-init: service 'console' couldn't open console '/dev/console': No such device | 14:02 |
EleventhLast | all services start without errors | 14:07 |
EleventhLast | https://pastebin.com/5mPGywtF | 14:15 |
EleventhLast | can someone say something? | 14:15 |
nncv | Hey. After I've cloned the droid-src-sony repo, I get an error. Failing repos: device/sony/common | 16:06 |
nncv | Anyone have any idea what it could mean? Should I ignore it? | 16:07 |
nncv | For reference: I'm trying to build SFOS for the Xperia 1 II | 16:08 |
nncv | I'll retry running with fail-fast | 16:09 |
nncv | "device-sony-common: | 16:12 |
nncv | fatal: bad object HEAD | 16:12 |
nncv | error: https://github.com/sonyxperiadev/device-sony-common did not send all necessary objects | 16:12 |
nncv | " | 16:12 |
nncv | there's also this: "Fetching: 56% (414/732) platform/external/speex | 16:36 |
nncv | error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400 | 16:36 |
nncv | fatal: error reading section header 'acknowledgments'"git co | 16:36 |
Thaodan | Hm which manifest did you use while cloning? | 16:55 |
Thaodan | the tagged-localbuild or the localbuild | 16:56 |
Thaodan | And yeah the install instructions don't mention that the device repos aren't at mer-hybris but at https://github.com/SailfishOS-SonyXperia | 16:57 |
nncv | I've not changed a thing as far as I am concerned, I've only followed the guide. At most, I only changed the hal source to the one you provided yesterday | 17:15 |
nncv | Should I clean the hadk folder and clone from the repo you've mentioned? | 17:15 |
nncv | I'm not gonna lie, I do not know whether I used the tagged-localbuild or the localbuild. | 17:16 |
nncv | I'm very new to this | 17:16 |
Thaodan | Did you run this command? repo init -u https://github.com/mer-hybris/android.git -b $HAVERSION -m tagged-localbuild.xml | 17:16 |
Thaodan | no problem everyone makes mistakes | 17:17 |
nncv | Yeah, I did, but with the tagged-localbuild, as is in the guide | 17:17 |
Thaodan | yeah that sounds good. I would try again, the issue could be on githubs side. | 17:18 |
nncv | After which everything is good when it syncs, but some repos fail, those being the ones listed above | 17:18 |
nncv | I tried reaching out for the bpf, seems to be unreachable | 17:18 |
nncv | I'll do another init and see if it fixes it | 17:18 |
Thaodan | I just clone the whole project a few days ago when building droid-system. | 17:18 |
nncv | Did it work? Should I attempt that? | 17:19 |
Thaodan | If this doesn't work you can get an image in a few days from me. | 17:19 |
nncv | I'd love that. | 17:19 |
Thaodan | You can try | 17:19 |
nncv | How should I do that? | 17:19 |
Thaodan | But you build for Xperia 1 II, didn't setup obs builds for that one so far. But most of the work for Xperia 1 is the same. | 17:20 |
nncv | Yeah, the step in the set-up that pertains to the specifics of the Xperia 1 II was earlier and it has been done with success | 17:20 |
nncv | It's failing now because it can't seem to fetch device-sony-common | 17:20 |
nncv | And the platform/system/bpf repo fails | 17:21 |
Thaodan | If you want it a little easier you can also try hadk_tools however if github has issues than this will be the same using hadk_tools | 17:21 |
nncv | Hmm, I think this might be github. How should I go about using hadk_tools though? | 17:22 |
Thaodan | Follow https://github.com/Thaodan/shpp/blob/master/INSTALL.org#building and then follow https://github.com/SailfishOS-SonyXperia/hadk_tools but make sure to pass SHPP=<location of shpp> when calling make for hadk_tools | 17:24 |
Thaodan | After doing so follow https://github.com/SailfishOS-SonyXperia/hadk_tools/blob/master/doc/hadk.tools.org#basic-setup | 17:25 |
Thaodan | When you did that you can just do hadk.source -f <unit for your device> and then hadk.build -f <unit for your device> and wait | 17:26 |
nncv | I see I see | 17:26 |
nncv | It seems I can't run "update_pkg_ressources" | 17:31 |
nncv | It can't open the makefile | 17:31 |
nncv | Seems like shpp works but | 17:35 |
nncv | ""/usr/local/bin/shpp: 124: local: hadk.base.env.in.sh: bad variable name"" | 17:35 |
nncv | Should I have installed shpp while inside the ubuntu chroot or on my main system? | 17:35 |
*** Daaanct12 is now known as Danct12 | 17:37 | |
nncv | Either way, there must be something wrong with the HEAD of the sony-devices-common repo | 17:44 |
nncv | Because that's one of the reasons it is failing | 17:44 |
nncv | Any clue on how to fix that? | 17:44 |
EleventhLast | https://pastebin.com/J8sBxAJV | 17:51 |
EleventhLast | I still don't understand what's wrong and why it doesn't work | 17:51 |
nncv | re-installing repo for this repo. will report back once done. this time I'll sync it with just one thread. | 17:58 |
T42 | <elros34> EleventhLast then grab some usefull logs then like longer than 30s dmesg/journal/logcat according to instructions | 18:05 |
EleventhLast | I can’t remove the logcat, or dmesg after 5-10 seconds, I’m thrown out of telnet and I can’t connect anymore, and adb doesn’t work at all | 18:07 |
EleventhLast | https://pastebin.com/fgns1vyf | 18:08 |
EleventhLast | this is all the logs i could get | 18:09 |
EleventhLast | journal | 18:11 |
EleventhLast | https://pastebin.com/Qb5AZH61 | 18:11 |
Thaodan | nncv: sorry I didn't follow for a sec | 18:11 |
Thaodan | You can skip the update_pkg_ressources part. | 18:12 |
Thaodan | You should install hadk_tools inside the main system, it's like pupet master around the platform sdk and the ubu chroot. | 18:12 |
T42 | <elros34> EleventhLast: then enable persisten logging. BTW did you revert back your mysterious firmware changes? | 18:13 |
EleventhLast | mysterious firmware change, what are you talking about? | 18:13 |
nncv | I see I see, but would it help with the problems listed? Right now I'm re-doing the sync-ing from scratch, reinitlaized repo | 18:14 |
Thaodan | after installing shpp, call make inside the hadk_tools folder with make SHPP=/usr/local/bin/shpp PREFIX=$HOME/.local. | 18:14 |
T42 | <elros34> EleventhLast you said previously that you change something with firmware but I have no idea what excatly | 18:14 |
Thaodan | I wouldn't necessarily but you would not need to follow the instructions. | 18:14 |
Thaodan | either way is fine. | 18:15 |
nncv | If it fails again I'll try doing what you've recommended me, but I'm wondering if it wouldn't just spit out the same error messages. | 18:15 |
nncv | Seems like the HEAD of sony-devices-common is at fault. | 18:15 |
EleventhLast | elros34: I set different versions by date, but it did not help | 18:15 |
Thaodan | I would if Github has issues but if it doesn't the will setup everything until you get the final image. | 18:15 |
nncv | That sounds very nice. Why isn't hadk_tools recommended anywhere if it's that easy? | 18:16 |
Thaodan | I don't know, it's not as perfect as sometimes there are some pitfalls that you can face when stuff changes and I didn't catch up with my instructions. It also builds everything that you tell it to until you remove a unit that is depended on making it not good for release builds. | 18:18 |
nncv | Ah I see. Well, I'll see if the problem's fixed after repo is done sync-ing again. Shouldn't be much more to do after it syncs, right? | 18:19 |
Thaodan | I guess the issue is also that is different from plain hadk as it separate each step into separate unit. | 18:19 |
EleventhLast | Yes, I did permanent logging, but how can I get all the logs? I can't get through it all the way | 18:20 |
Thaodan | No not that much. The download step isn't repeated in any case, just patching of android and then building. | 18:20 |
nncv | That's nice. The current version of Android that is installed on the phone doesn't matter whatsoever, correct? | 18:21 |
Thaodan | It shouldn't no, AOSP replaces the installed Android. | 18:21 |
Thaodan | just modem, bootloader and such are reused | 18:22 |
nncv | That is what I thought, although the guide is worded in such a way that it made me think it mattered for some reason. | 18:22 |
nncv | Will we get an Android 12 variant of this process as well, or does it not matter? | 18:22 |
T42 | <elros34> EventhLast like it's explained in instruction, using -b argument | 18:22 |
EleventhLast | this argument does not display the entire log, you still have to scroll | 18:24 |
Thaodan | Sure | 18:25 |
nncv | Actually, I | 18:25 |
Thaodan | if you not like journalctl's output read it's manpage. | 18:25 |
EleventhLast | I can't scroll to the end | 18:25 |
EleventhLast | lines 93-131 Killed / # Connection closed by foreign host. eleventh@eleventh-ThinkPad:~$ | 18:25 |
nncv | Actually, I've always wondered: What is Android even used for when building SFOS? Just the blobs for the firmware and stuff? | 18:25 |
Thaodan | nncv: the blobs want a basic android running. | 18:26 |
nncv | So is SFOS still just basically Android? | 18:26 |
T42 | <elros34> EleventhLast why don't you read instruction then? It's all there including disabling paging | 18:27 |
Thaodan | No Sailfish OS just reuses the Android hardware support through libhybris. | 18:27 |
nncv | Aaah, I see I see. Thanks for clearing that up, Thaodan. Will I be able to run Android apps under SFOS natively or will I need to use something like Waydroid? | 18:28 |
Thaodan | The issue is that an Android kernel provides basic drivers that to the lowerlevel work but above that the blobs their work. This requires us to run the lower level parts of Android. But we stop quite fast as we don't run Java. | 18:29 |
Thaodan | The benefit is that we don't need to have working kernel drivers for such things as the modem or bluetooth. | 18:29 |
nncv | Thank god we don't need to run Java, too. | 18:30 |
Thaodan | If you use mainline such as it is possible on SDM845 phones as the xperia XZ2/XZ3 (tama) the userspace such as ofono needs to understand all the qualcomm protocols to talk to the modem. | 18:31 |
Thaodan | Bluetooth already works natively as the desktop bluetooth driver can be used. | 18:31 |
Thaodan | For Android apps you would need Aliendalvik. | 18:31 |
nncv | Waydroid does it without Aliendalvik | 18:32 |
nncv | I'm using an Xperia 1 II, so there's that one little quirk about the modem, but that'll probably get fixed sooner or later. | 18:32 |
Thaodan | Well Waydroid isn't the same. | 18:32 |
nncv | No, of course not, but it's not far away. | 18:32 |
Thaodan | I don't think that is true. | 18:32 |
nncv | I've been reading about it, it looks like it isn't far away. | 18:33 |
nncv | Update-wise, will I receive them? Or will I have to rebuild SFOS every time? | 18:33 |
Thaodan | When I've setup otas you can get updates. Without you need to push your local repo somewhere and add it so updates work. | 18:33 |
Thaodan | Ad does much of the heavy lifting that apps work seamlessly something that isn't done in Waydroid. | 18:34 |
nncv | Is it easy to setup OTAs? | 18:34 |
Thaodan | For my test builds I push my local repo to my server and add it after doing so otas work. | 18:35 |
nncv | But doesn't that mean I'll have to rebuild SFOS for every update? | 18:35 |
Thaodan | No the lower level packages rarely change. | 18:35 |
nncv | Hmm, so what exactly would the update process consist of? | 18:36 |
Thaodan | I mean they do but only as far as you install the updates packages. | 18:36 |
Thaodan | You can use the stock ui or the command line does once you added your repo. | 18:36 |
nncv | How long would the update process take after I've set up OTAs? | 18:37 |
Thaodan | Same as stock. | 18:39 |
nncv | I see I see. I'll definitely need some help setting up OTAs, so I'll ask you for help when that time comes. Very new to this, still wrapping my head around the concepts, heh. | 18:39 |
Thaodan | np I can help, if you face a bug don't hesitate to open a bug. | 18:40 |
nncv | Yup. Thanks a lot, Thaodan. | 18:40 |
EleventhLast | elros34 full log https://pastebin.com/7eUgs38p | 18:47 |
EleventhLast | If I understand correctly, everything is in the loop because of the bluetooth? | 18:50 |
T42 | <elros34> no, I am still not sure that you did bother to read instruction, it's explicitly written: -b-1 (from previous boot) and yet you use -b | 18:51 |
EleventhLast | https://pastebin.com/gf1LmWyx | 18:53 |
T42 | <elros34> didn't you again mask some services? | 18:56 |
EleventhLast | I just don't understand why mask them, what does it give? And also what exactly to mask? | 18:57 |
T42 | <elros34> nothing, I ask whether you masked anything | 18:58 |
EleventhLast | no | 19:00 |
T42 | <elros34> so what is the ouptut for systemctl status user@100000 | 19:01 |
EleventhLast | # systemctl status user@100000 ● user@100000.service - User Manager for UID 100000 Loaded: loaded (/usr/lib/systemd/system/user@.service; static; vendor preset: enabled) Drop-In: /usr/lib/systemd/system/user@.service.d └─oneshot-user-privileged.conf Active: inactive (dead) | 19:04 |
T42 | <elros34> strange then, journal is quite empty | 19:06 |
T42 | <elros34> is dmesg/logcat also empty? | 19:07 |
EleventhLast | there is no cat log at all, I can’t connect to it in any way, but this user is not in dmesg, I have already looked at the logs several times from beginning to end | 19:08 |
T42 | <elros34> not cat log but logcat, and you need to run it after droid-hal-init starts | 19:09 |
EleventhLast | oh.. one moment | 19:10 |
T42 | <elros34> check also whether you have some /dev/null symlink here: ls -al /etc/systemd/system/ | 19:12 |
EleventhLast | Well I can't see him | 19:12 |
EleventhLast | there is no symbolic link to /dev/null | 19:14 |
EleventhLast | of all the errors, I see only the bluetooth start error | 19:22 |
T42 | <elros34> yeah forget about bluetooth, whole user@100000/lipstick should be there. What happend when you run dmesg/logcat just before you lose connection | 19:24 |
T42 | <elros34> it's 3.4 kernel so use somethink like that: 'while true; do dmesg -c; done' | 19:24 |
EleventhLast | well, I recorded logs without stopping until the connection was lost, and there were regular logs without user@100000/lipstick. | 19:25 |
EleventhLast | I don't fully understand how to do this | 19:26 |
EleventhLast | no, I understand | 19:27 |
EleventhLast | https://pastebin.com/GaWr2mau | 19:28 |
EleventhLast | absolutely the same logs as before, it loses connection spontaneously | 19:29 |
T42 | <elros34> maybe these are related: "systemd (1): undefined instruction: pc=b6603d66" but I have never see it. Again and again can you get logcat? | 19:33 |
EleventhLast | logcat receive via adb? | 19:34 |
EleventhLast | I just tried, but adb telfon did not see | 19:34 |
T42 | <elros34> no, just directly on device | 19:34 |
EleventhLast | and there is no such command on the device | 19:35 |
T42 | <elros34> ok I will ask 1 question did you bother to read hadk-hot? It has full path to logcat | 19:35 |
EleventhLast | okey | 19:36 |
T42 | <elros34> It's pointless if I have to explain everything while you have instruction | 19:36 |
EleventhLast | already found a way | 19:37 |
T42 | <elros34> I think there was 1 device which didn't had logs in journal but it was quiet a long time ago and IIRC there was no logs at all and I do not know the details. Your issue is little different, system logs are there but nothing more | 19:39 |
EleventhLast | https://pastebin.com/pqLmtjVn | 19:40 |
EleventhLast | huge log, same errors | 19:40 |
T42 | <elros34> at least it has some useful logs | 19:40 |
T42 | <elros34> As far as I can see your device is armv7h so you need to replace lib64/libselinux_stubs.so with lib/libselinux_stubs.so in *rc files | 19:41 |
EleventhLast | where to get these files from? | 19:43 |
EleventhLast | wow, air raid alert | 19:43 |
T42 | <elros34> ouh | 19:44 |
EleventhLast | where to get these files from, and what is the path to them? | 19:44 |
T42 | <elros34> these rc file which you copy previously in sparse/usr/libexec | 19:45 |
EleventhLast | I can say for sure, there are only configs. without libraries | 19:47 |
T42 | <elros34> this line https://github.com/mer-hybris/droid-config-sony-nile/blob/master/sparse/usr/libexec/droid-hybris/system/etc/init/hwservicemanager.rc#L4 in all similar files | 19:48 |
EleventhLast | I can say for sure, there are only configs. without libraries | 19:48 |
EleventhLast | damn, I cleared all these folders, because of this, libraries disappeared from there... | 19:49 |
EleventhLast | or not, the brain can’t digest everything over the past couple of days, I don’t even remember what day of the week it is, and generally stopped talking to anyone because | 19:50 |
EleventhLast | just remove this line? | 19:52 |
T42 | <elros34> not replace lib64 -> lib | 19:52 |
EleventhLast | the image is there, but in the log I still see the same error, I checked all the .pc files and replaced | 20:08 |
EleventhLast | judging by what I see on the screen, something is clearly wrong, the blue gradient is on top, and the background of the language selection is black, in addition it is shifted to the left | 20:09 |
EleventhLast | what else might be trying to access this library? | 20:11 |
T42 | <elros34> grep for lib64 in all rc files in /* and /usr/libexec/droid-hybris. I do not hing there can be anything else | 20:14 |
T42 | <elros34> think* | 20:14 |
EleventhLast | https://ibb.co/kJVSVK6 | 20:15 |
T42 | <elros34> touchscreen works? | 20:15 |
EleventhLast | no | 20:17 |
EleventhLast | dmesg should work | 20:21 |
EleventhLast | https://pastebin.com/41U7bRzw | 20:24 |
EleventhLast | something is wrong, does the settings screen look like this? | 20:27 |
T42 | <elros34> I do not remember how language selection looks like, fix touchscreen and then it will be clear | 20:27 |
EleventhLast | Should I put this here? https://github.com/mer-hybris/evcap | 20:32 |
T42 | <elros34> naah just remove :/dev/input/eventx you have added in droid-hal-device.conf and it qt will most likely detect correct node automatically | 20:33 |
EleventhLast | I don't think so, but I'll try | 20:34 |
EleventhLast | Can I remove it without rebuilding everything? | 20:36 |
T42 | <b100dian> Such a great effort from both of you, congrats! | 20:36 |
T42 | <elros34> sure everything in sparse/ is also on your device / | 20:37 |
EleventhLast | I don't see this directory on my device | 20:41 |
EleventhLast | I'll just redo everything | 20:42 |
T42 | <elros34> you don not see /var/lib/environment/compositor/? | 20:42 |
EleventhLast | so this is where it is, I still don’t understand the directory structure in this OS at all | 20:43 |
EleventhLast | deleted this line, but the sensor still does not work | 20:46 |
T42 | <elros34> not whole line, only this part I mentioned | 20:48 |
EleventhLast | nice | 20:55 |
EleventhLast | work sensor | 20:55 |
EleventhLast | but something needs to be done with scaling, the size of the input keyboard is critically small | 20:57 |
EleventhLast | wifi work | 20:58 |
T42 | <elros34> great display works!, pixel ratio is in droid-config spec | 21:01 |
EleventhLast | mobile network is also not working | 21:01 |
T42 | <elros34> yeah getting works everything is not always that easy | 21:03 |
EleventhLast | droid-config spec and on the device itself where is it? | 21:04 |
T42 | <elros34> changing pixel ration device is little more complicated and it requires changing some dconf value and installing some packages | 21:05 |
EleventhLast | when using the Russian language, when you enter the settings, the phone turns off, this was not the case with English | 21:06 |
EleventhLast | kernel bag.... | 21:08 |
EleventhLast | https://pastebin.com/6tJ2FPHx | 21:08 |
mal | that looks familiar, which kernel version? | 21:11 |
EleventhLast | 3.4 | 21:12 |
mal | based on the fact the log mentions msm8974 then it's quite likely to be kernel 3.4 | 21:12 |
mal | I had to fix similar bug on my msm8974 device | 21:12 |
mal | I'll try to find which patches needed to be backported | 21:12 |
EleventhLast | ok i will be very grateful | 21:13 |
mal | ElevemthLast: can't remember if those couple of sysfs patches here helped or not https://github.com/mlehtima/android_kernel_fairphone_fp2/commits/hybris-fp2-m-sibon | 21:35 |
mal | maybe apply those 4 to your kernel and see if it helps | 21:35 |
ElevemthLast | Thanks | 21:36 |
Thaodan | Kernel 3.4 could explain some issues and there will be more in the future as the kernel is to old for more. But I know there isn't much you can do. | 21:37 |
ElevemthLast | are you talking about Commits on Mar 4, 2021 , should they be applied? | 21:38 |
T42 | <elros34> you probably have these patches already | 21:39 |
ElevemthLast | unfortunately these patches already exist | 21:41 |
ElevemthLast | but there is no third patch | 21:43 |
ElevemthLast | I looked in more detail, all the patches are there, so I don't know what to do | 21:50 |
ElevemthLast | you can tell it's dumb | 21:51 |
ElevemthLast | unless, I included CONFIG_CMDLINE=tty1 in the config | 21:52 |
T42 | <elros34> maybe try this one but it's pure guess: https://github.com/aosp-mirror/kernel_common/commit/bb2b0051d7b0772ea9d0b4be900c2d965093f5d7 | 21:59 |
EleventhLast | maybe my file doesn't have that | 22:16 |
T42 | <elros34> it's from 3.10 kernel | 22:16 |
EleventhLast | don't care, I don't have any more options | 22:18 |
deathmist1 | EleventhLast: there is no need to act like this, you are getting assistance free of charge for easily searchable problems. how about you try to apply that patch to your kernel? | 22:35 |
EleventhLast | with that the kernel does not work at all | 22:43 |
EleventhLast | CTCPServ: what patch is this, I watched, all the patches have already been | 22:44 |
EleventhLast | those patches that mal gave were already in my core | 22:47 |
mal | ok | 22:50 |
EleventhLast | I am surprised that this error did not come out right away, I even looked at the system a little, but after changing the language and rebooting, this error appears 10 seconds after starting the graphics | 22:52 |
EleventhLast | I think it's a problem with wifi | 23:59 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!