EleventhLast | hell, I didn’t notice and every time I sewed a recovery hybrid .............................................. ................................................. ................... | 00:01 |
---|---|---|
EleventhLast | need sleep | 00:01 |
EleventhLast | still the problem is that i can't connect via telnet | 00:39 |
ElevemthLast | when installing a zip image, errors appear in twrp , warning: No file_contex copying filesystem archive copying installation script ,runing installation skript , and failed to extract filesystem. process update ERROR 7 | 07:43 |
ElevemthLast | and having applied almost all the patches, and having assembled the kernel, I was able to enter telnet, and there is an initlog | 07:49 |
ElevemthLast | understandable .... about cyporivation error "out of memory" | 08:08 |
ElevemthLast | tar out of memory.... | 08:09 |
ElevemthLast | what should I do with out of memory? | 08:51 |
T42 | <TheVancedGamer> get more :P | 08:51 |
T42 | <elros34> actually not a bad idea, I wonder whether anybody with this issue tried to enable swap:) | 08:52 |
T42 | <elros34> like few more GB | 08:52 |
ElevemthLast | so it's not about the internal memory, it's 18 gigabytes there, I don't understand why the archiver swears, does it lack RAM | 08:52 |
T42 | <TheVancedGamer> can you try to use verbose flag? | 08:53 |
ElevemthLast | ok, I'll create a swap) | 08:53 |
T42 | <TheVancedGamer> wait, 18GB of RAM? | 08:53 |
T42 | <TheVancedGamer> that number seems a bit.......odd | 08:53 |
T42 | <elros34> just try older version of twrp, IIRC somewhere around 3.0 | 08:54 |
ElevemthLast | no, i'm talking about internal storage | 08:54 |
T42 | <TheVancedGamer> ah | 08:54 |
T42 | <TheVancedGamer> how much RAM does the device have? | 08:54 |
EleventhLast | I have 3 gigabytes of ram | 08:59 |
EleventhLast | added a 2 gig swap, but it didn't help, it stops in the same place as without the swap file | 09:29 |
T42 | <TheVancedGamer> try to manually untar it | 09:30 |
T42 | <TheVancedGamer> or unzip it on your host and use adb push | 09:30 |
T42 | <TheVancedGamer> with the recursive flag | 09:30 |
T42 | <elros34> manual unpacking will not help, on this not so new device downgrading twrp may be easier than any trick | 09:32 |
T42 | <TheVancedGamer> isn't the rootfs pushed to /data/.stowaways? | 09:33 |
T42 | <TheVancedGamer> you could unzip/untar the rootfs and manually push it | 09:33 |
EleventhLast | I'd better lower the version of the recovery, but about manual repacking, file permissions and their rights can fly off | 09:34 |
T42 | <elros34> sure ther many ways: using hybris-boot/recovery to unpack, pushing static busybox and using that tar but if you can find working twrp then go ahead | 09:35 |
EleventhLast | on the off site twrp there is any version for my device | 09:40 |
EleventhLast | swap does not solve the problem, for this purpose it is almost never used, so I don’t know how to solve this problem | 09:56 |
EleventhLast | I'll try to unpack myself, and then through adb push | 09:57 |
T42 | <elros34> bad idea, better boot to hybris-boot with formated data partition then you will get telnet at 23 port and you can unpack image | 10:02 |
T42 | <elros34> I can also give you some commits witch you would need to apply to use busybox from out/ automatical during installation but it requires few changes. There is aslo hybris-installer or something like that which IIRC also do similar thing | 10:04 |
EleventhLast | and the data section must be formatted? maybe just cleaning? | 10:05 |
T42 | <elros34> it should be, unless you know that you have no any encryption enabled which will cause issues later | 10:07 |
EleventhLast | and so, in the end, do I need to unpack the image through the hybrid boot? | 10:08 |
EleventhLast | Can I share the archives into a couple of archives and unpack them one by one? | 10:37 |
T42 | <elros34> you can do everything but I do not understand why you want to complicate it so much if you have easier methods | 10:47 |
EleventhLast | ok, let's make it simpler, but I don't understand how? | 11:04 |
T42 | <elros34> which method do you choose and which part do you not understand? | 11:04 |
EleventhLast | I don't understand how to do it through hybrid boot | 11:05 |
EleventhLast | it seems that nothing is mounted in it, and there is no date directory, do you need to manually mount it? | 11:06 |
T42 | <elros34> use 'mount' command, it will tell you that userdata is mounted | 11:07 |
T42 | <elros34> do you see it? | 11:07 |
EleventhLast | I also wanted to say that in order for telnet to work, it was necessary to make an IP link up | 11:08 |
EleventhLast | yes, I see, the data partition is mounted | 11:14 |
EleventhLast | dev/mmcblk0p26 on /data type ext4 (rw,relatime,data=ordered) /dev/mmcblk0p26 on /target/data type ext4 (rw,relatime,data=ordered) | 11:14 |
T42 | <elros34> so mkdir /data/.stowaways/sailfishos/; busybox tar --numeric-owner -xvjf /data/<yousfos tar.bz> -C /data/.stowways/sailfishos/ | 11:16 |
T42 | <elros34> obviously typo: .stowaways | 11:17 |
EleventhLast | it worked for me without busybox | 11:17 |
T42 | <elros34> ok added it just in case symlinks is missing | 11:17 |
EleventhLast | everything is unpacked more slowly, which means that it is written one by one without keeping it in memory | 11:18 |
EleventhLast | Why didn't I go down this path... | 11:19 |
EleventhLast | copying completed | 11:19 |
EleventhLast | reboot? | 11:19 |
T42 | <elros34> quiet fast, sync and reboot -f | 11:20 |
EleventhLast | strange, I can no longer connect to it via telnet, and the port has also changed to 2323 | 11:26 |
EleventhLast | dhclient -v eth0 can’t ping, everything seems to be a bootloop, the system pops up some kind of notification every minute, and disappears, sort of like connected to the device | 11:32 |
EleventhLast | yeah. I managed to see, every minute the network is disconnected | 11:33 |
*** amccarthy_ is now known as amccarthy | 11:34 | |
*** amccarthy is now known as Guest6460 | 11:35 | |
*** Guest6460 is now known as amccarthy_ | 11:36 | |
*** amccarthy_ is now known as amccarthy | 11:37 | |
EleventhLast | and so, I can no longer connect to telnet, but the phone just shows the bootloader logo | 12:09 |
EleventhLast | I did everything as you said, and the firmware of the same version as the base for the assembly was also flashed into the systems section | 12:10 |
EleventhLast | Should I give him access to the network? | 12:11 |
EleventhLast | [ 1891.966683] dhcpcd[783]: segfault at 28 ip 0000556b5f155ccf sp 00007ffd19e05340 error 4 in dhcpcd[556b5f13f000+33000] | 12:19 |
EleventhLast | I'm completely confused and don't understand what's going on... | 12:20 |
EleventhLast | i have init log | 12:20 |
EleventhLast | https://pastebin.com/9dQ5MDgR | 12:22 |
EleventhLast | Everything looks like it should work, but it doesn't. | 12:23 |
EleventhLast | i think i missed something | 12:23 |
T42 | <elros34> not really, you need to debug further: read hadk-hot/faq, it has section with instruction what to do if you can't telnet/no gui and so on | 12:26 |
T42 | <elros34> at this point you are debugging sailfish itself, previously it was only twrp/kernel/initramfs issues | 12:27 |
EleventhLast | today, unfortunately, I also didn’t get enough sleep, but I’ll go read, it seems that if it continues like this, then I’ll completely ruin myself :) | 12:27 |
T42 | <elros34> then don't, there more important things than getting sfos running on device | 12:31 |
EleventhLast | I don't have CONFIG_SECURITY_SELINUX but I remember that I added it | 12:32 |
EleventhLast | what value should it be set to? | 12:33 |
EleventhLast | 0? | 12:33 |
EleventhLast | of no? | 12:34 |
T42 | <elros34> check in 'zcat /proc/config.gz'. Very unlikely it's disabled unless you did CONFIG_AUDIT=n too | 12:34 |
EleventhLast | I do not quite understand where I have this path | 12:35 |
EleventhLast | more precisely not so, this directory is empty | 12:35 |
T42 | <elros34> on device | 12:36 |
EleventhLast | at the device root, or /data/.stowaways/sailfishos? | 12:38 |
T42 | <elros34> device ony with sfos kernel, it's virtual file | 12:40 |
EleventhLast | # CONFIG_TASKSTATS is not set CONFIG_AUDIT=y CONFIG_AUDITSYSCALL=y CONFIG_AUDIT_WATCH=y CONFIG_AUDIT_TREE=y | 12:45 |
EleventhLast | everything seems to be fine | 12:46 |
EleventhLast | and so, I was able to enter the device, judging by the mount paths, /system is not mounted | 13:14 |
EleventhLast | what is the password for devel-su? | 13:30 |
T42 | <elros34> there is no default password you set it in gui, in telnet you are already root | 13:47 |
EleventhLast | I don't know, connection restarts every minute, there is no jornual log, I don't know what to do.... | 13:59 |
T42 | <elros34> did you create init_enter_debug2 file according to instruction? Then get dmesg -w in 1 window, journalctl -f --no-tail in another and continue booting according to instruction you will see on terminal | 14:04 |
EleventhLast | Apparently I looked at the wrong manual. | 14:05 |
EleventhLast | but no, telnet works, but the system does not boot | 14:06 |
EleventhLast | system partition is not mounted, only rootfs | 14:07 |
T42 | <elros34> with that file in place system will not but until you will execute special command | 14:07 |
EleventhLast | I'm confused, I don't understand what to do and what I'm doing, and I don't understand what's going on at all | 14:12 |
EleventhLast | let's start all over | 14:12 |
EleventhLast | telnet works, lets me into rootfs, but then I don’t understand what to do | 14:13 |
T42 | <elros34> did you have to create mentioned file or no? | 14:14 |
EleventhLast | given that telnet works, I think it's not necessary, it was just necessary to set the IP route addresses | 14:15 |
EleventhLast | now I have access to telnet along with rootfs | 14:15 |
T42 | <elros34> so reboot now and then as soon as possible telnet again and execute dmesg/journal commands I was talking about | 14:20 |
EleventhLast | should i send the logs? | 14:21 |
T42 | <elros34> crazy idea: read it and search for errors then yeah you can upload them to some paste service | 14:24 |
EleventhLast | https://pastebin.com/zTjQucfM | 14:26 |
EleventhLast | clear, this is for a long time | 14:27 |
T42 | <elros34> old kernel, looks like some defconfig changes are missing or some patches | 14:30 |
EleventhLast | I think this is important, but yesterday I removed all the changes in init/initramfs.c, that is, it is native from android | 14:30 |
T42 | <elros34> irrelevant | 14:31 |
EleventhLast | https://pastebin.com/3zfrupRy | 14:34 |
EleventhLast | defconfig mer_verify_kernel_config | 14:34 |
T42 | <elros34> looks good, search here for any similar or even same kernel you use https://github.com/edp17, he may have some patches to kernel which you need | 14:37 |
EleventhLast | there is nothing for my device | 14:39 |
T42 | <elros34> yeah then other kernel, search for stat or statfs.c related patches or ping the user here | 14:39 |
EleventhLast | I don't understand what to look for and why... | 14:55 |
T42 | <elros34> statfs.c in github search, then commits. Why: because you have error in logs: /sys Bad file descriptor | 14:58 |
EleventhLast | Should I get this file from any github? Or you need to find a comment with a fix for this error? | 15:02 |
T42 | <elros34> search for commits which change that file in edp17 repo, if not search in this chanel logs or ask him directly, maybe he remember fix | 15:14 |
EleventhLast | https://github.com/maruos/android_kernel_hammerhead/commit/0c88c857d53fc6adf53b1f4b66a6f61a698ae7ef | 15:28 |
EleventhLast | I didn't find anything else | 15:29 |
EleventhLast | there are no more errors with mounting, but the behavior is the same | 16:11 |
EleventhLast | https://pastebin.com/0tmggeAq | 16:25 |
EleventhLast | there are only errors | 16:25 |
EleventhLast | lffff | 16:45 |
EleventhLast | lfffffffff | 16:45 |
EleventhLast | hooray, I found a fix in a newer version of the kernel | 16:46 |
EleventhLast | the LED on the phone started to glow, as well as an omnipresent mount list appeared | 16:46 |
EleventhLast | but no interface | 16:47 |
T42 | <elros34> would be nice to share fix for others | 17:03 |
EleventhLast | dmesg shows that the touchscreen is working, but there is no picture, it still hangs on the holotype of the bootloader | 17:04 |
EleventhLast | https://github.com/LineageOS/android_kernel_samsung_msm8974/blob/24ac7a943f1c77db26fe9aca96285ca2fb97b637/fs/stat.c#L61 | 17:04 |
EleventhLast | this line should be replaced | 17:05 |
EleventhLast | and now I want to solve the problem of missing graphics | 17:06 |
EleventhLast | I don't have a picture and I don't know what's going on. | 17:11 |
EleventhLast | Do I still have to collect a zip image of the android itself? | 17:28 |
EleventhLast | https://pastebin.com/dHr6727T | 17:39 |
T42 | <elros34> these undefined instruction errors could be important but anyway follow no gui manual tips to figure out what is wrong | 17:43 |
EleventhLast | I turned to a friend who has been collecting firmware for my device for a long time, maybe they will say something | 17:46 |
T42 | <elros34> getting from journal is not that hard also reading common mistakes gui | 17:47 |
EleventhLast | and in the log there are some problems with the encoding | 17:49 |
EleventhLast | https://pastebin.com/i0qLfRJg | 17:49 |
EleventhLast | can turn it on? | 18:00 |
EleventhLast | https://pastebin.com/NxjtFiJ9 | 18:00 |
EleventhLast | there are no errors in the log on the display, everything should work, but it does not work, give a full log? | 18:05 |
EleventhLast | https://pastebin.com/eHgtLJyK | 18:06 |
EleventhLast | This is the reason ? | 18:34 |
EleventhLast | https://pastebin.com/CUpgJbtu | 18:34 |
T42 | <elros34> you need to check in logs whether droid-hal-init works. Did you copy needed files mentioned faq? | 18:34 |
EleventhLast | droid-hal-init.service Loaded: masked (/dev/null; masked) Active: inactive (dead) | 18:37 |
EleventhLast | please specify which files | 18:38 |
T42 | <elros34> masked? Did you mask it? About files: hadk-faq hybris15 section | 18:38 |
EleventhLast | and the truth is, I did not copy files from there | 18:40 |
EleventhLast | I just cloned the repository from the point above, I need to copy the files, and then what? | 18:41 |
EleventhLast | yeah, got it all, my fault | 18:43 |
T42 | <elros34> then you will sse what fails but first answer my qusetion, did you masked any service? Do you see droid-hal-init in dmesg? | 18:43 |
EleventhLast | as far as I remember, I entered systemctl mask droid-hal-init systemctl mask user@100000 | 18:46 |
T42 | <elros34> and you expect to get gui with that:) | 18:47 |
EleventhLast | bro, I'm 16 hours a day at a laptop, and 5 hours of sleep every day, and it's been like this for 5 days, I don't understand what I'm doing at all, just completely | 18:48 |
EleventhLast | I am very grateful for your help, but better tell me how to fix it | 18:49 |
T42 | <elros34> you should take a breake then, you will fix issue faster. systemctl unmask <service name> | 18:51 |
EleventhLast | ul 08 09:20:47 localhost sh[4082]: /bin/sh: can't open '/usr/bin/droid/droid-hal-early-init.sh': No such file or directory | 18:55 |
T42 | <elros34> do you have /system/system/? and files there | 18:57 |
T42 | <elros34> ah my bad, this error is irrelevant | 18:58 |
EleventhLast | there are no files or directory | 18:58 |
EleventhLast | Jul 08 09:20:47 localhost systemd[1]: Failed to start droid-hal-init. | 18:59 |
EleventhLast | has the meaning | 18:59 |
EleventhLast | well, so what should I do? | 19:04 |
EleventhLast | directory /system/system/ does not exist | 19:05 |
T42 | <elros34> still same, copy rc files and get fresh logs | 19:07 |
EleventhLast | https://github.com/mer-hybris/droid-config-sony-nile/tree/91c15efb576c29a9d41cc4cd1d40c62ddcce9824/sparse/usr/libexec/droid-hybris/system/etc/init | 19:11 |
EleventhLast | here? | 19:11 |
Thaodan | If /usr/bin/droid/droid-hal-early-init.sh is missing there's something wrong in droid-config. | 20:44 |
Thaodan | If he doesn't have system as root then system is mount directly as /system. | 20:45 |
Thaodan | If you use https://github.com/mer-hybris/droid-system-device you can skip mounting /system | 20:46 |
EleventhLast | and so, I added those files to the specified path, and rebuilt everything, but the graphics still do not start | 20:47 |
mal | Thaodan: early init is optional | 20:47 |
mal | Thaodan: https://github.com/mer-hybris/droid-hal-configs/blob/master/sparse/usr/lib/systemd/system/droid-hal-init.service#L18 note the - at the beginning meaning failure is not fatal | 20:48 |
EleventhLast | ok, that's not the reason | 20:49 |
EleventhLast | but the problem is that i get nothing but startup error | 20:59 |
EleventhLast | https://github.com/mer-hybris/droid-system-device/tree/master/helpers what should I do with the wait? | 21:04 |
EleventhLast | and no I don't use it | 21:07 |
EleventhLast | did I have to use it? | 21:09 |
T42 | <elros34> have you check dmesg/journal? it must contains droid-hal-init logs | 21:13 |
EleventhLast | there are only start errors, without the reason log itself | 21:14 |
EleventhLast | Jul 08 07:24:08 localhost systemd[1]: droid-hal-init.service: Main process exited, code=exited, status=1/FAILURE Jul 08 07:24:08 localhost systemd[1]: droid-hal-init.service: Failed with result 'exit-code'. Jul 08 07:24:08 localhost systemd[1]: Failed to start droid-hal-init. | 21:15 |
T42 | <elros34> what you have in dmesg? | 21:15 |
EleventhLast | [ 13.649226] droid-hal-init: init first stage started! [ 13.649277] droid-hal-init: Skipped setting INIT_AVB_VERSION (not in recovery mode) [ 13.650590] droid-hal-init: init second stage started! [ 13.654337] droid-hal-init: Failed to initialize property area | 21:18 |
T42 | <elros34> is that all or you just picked some lines? | 21:18 |
EleventhLast | that's all the logs | 21:19 |
T42 | <elros34> do you have something in /vendor/? | 21:20 |
EleventhLast | no such directory | 21:20 |
T42 | <elros34> what about /system/vendor? | 21:20 |
EleventhLast | # ls /system/vendor/ bin cameradata etc lib build.prop compatibility_matrix.xml firmware manifest.xml | 21:21 |
T42 | <elros34> create /vendor symlink and reboot. If that will not help hetting more logs then you will need to strace /sbin/droid-hal-init | 21:22 |
EleventhLast | exactly the same log | 21:26 |
EleventhLast | starece https://pastebin.com/Yz1Ma1LB | 21:27 |
T42 | <elros34> did you flash lineage15 image before installing sailfish? Did you had some errors about unpackaged files when building droid-hal? | 21:35 |
EleventhLast | the lineage15.1 image is flashed, and the files were not packed | 21:36 |
EleventhLast | https://github.com/yakey4/droid-hal-hlte/blob/master/droid-hal-hlte.spec | 21:37 |
T42 | <elros34> why? | 21:37 |
EleventhLast | what "Why"? | 21:38 |
T42 | <elros34> you have even instruction in hadk pdf about unpackaged files and this not how you handle it | 21:38 |
T42 | <elros34> why you exclude them | 21:38 |
EleventhLast | ok, I'll do it as in the instructions, I probably did it because it was not going to be different | 21:39 |
T42 | <elros34> as you can see it makes a huge difference | 21:39 |
EleventhLast | I am redoing everything, you yourself could view these files before | 21:40 |
EleventhLast | did everything right and got this | 21:52 |
EleventhLast | https://pastebin.com/dJ5H2Nj4 | 21:52 |
deathmist1 | EleventhLast: please just start grepping logs for your issues, there is a very high chance someone already had a problem related to "ofono-configs-binder" https://piggz.co.uk/sailfishos-porters-archive/index.php | 22:00 |
deathmist1 | including even yourself from 2 days ago https://piggz.co.uk/sailfishos-porters-archive/index.php?log=2022-07-28.txt#line90 | 22:01 |
EleventhLast | stop. there was a search in the archive ... I did not know | 22:01 |
T42 | <elros34> so you did not read hadk-hot... | 22:02 |
Thaodan | read the hadk-faq and not hadk-hot | 22:25 |
EleventhLast | I made the correct spec file but the error is still | 22:27 |
EleventhLast | https://pastebin.com/Lc8U0Bz5 | 22:27 |
Thaodan | There something wrong with your spec still | 22:30 |
EleventhLast | https://pastebin.com/VPCSQHXn | 22:31 |
EleventhLast | because everything is fine, but it does not want to gather | 22:35 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!