T42_ | <Pachof> Will I restart it? How can you look at soong's output? | 00:01 |
---|---|---|
mal | restart it | 00:03 |
mal | even waiting 30 minutes if nothing seems to happens is too long | 00:03 |
T42_ | <Pachof> Won't it affect the compilation? | 00:04 |
mal | no | 00:04 |
T42_ | <Pachof> Ok | 00:04 |
mal | it known how to continue if something was done already | 00:04 |
mal | *knows | 00:04 |
T42_ | <Pachof> Just in case, I'm using Gentoo Linux | 00:05 |
T42_ | <Pachof> Ready, restart it, I'll let you know if the problem persists | 00:13 |
T42_ | <Pachof> Can you apply the hybris patches on an Android 11 base? | 00:51 |
T42_ | <elros34> not only you can but you must | 00:58 |
T42_ | <Pachof> But I have to do the libhybris git clone | 01:02 |
T42_ | <elros34> is this a question? then yes as in instructions | 01:04 |
T42_ | <Pachof> But he said that it works for hubris 16 and 17 | 01:04 |
T42_ | <elros34> I do not understand what you are asking for. Read 'common' and 'hybris-18' sections from https://sailfishos.wiki/books/hadk/page/hadk-hot#bkmrk-android-base-specifi and follow them | 01:08 |
T42_ | <Pachof> I mean, I thought that cloning the libhybris repository is for hybris 17 and 16 | 01:12 |
T42_ | <elros34> from hadk-hot: "Since hybris-16: clone libhybris" so you must do this if you want to build sailfish instead android | 01:17 |
T42_ | <elros34> on every >= lineage 16 base | 01:18 |
T42_ | <Pachof> I put it in and it takes 12 minutes and it still doesn't go beyond that. | 01:21 |
T42_ | <elros34> so you applied hybris patches now, did you clean out/? | 01:22 |
T42_ | <Pachof> Like, with rm -R out/ or make clean? | 01:24 |
T42_ | <elros34> if you have build previously without hybris patches then yeah both will do the job | 01:25 |
T42_ | <Pachof> Like, with rm -R out/ or make clean? | 02:33 |
T42_ | <Pachof> The problem still remains | 02:34 |
T42_ | <Pachof> What can you recommend to me? | 02:40 |
T42_ | <elros34> not sure, add more swap, use some low -jX | 02:45 |
T42_ | <Pachof> It is working at 2 jobs, with 1 there will not be much difference so I am going to place it at 4 jobs | 02:55 |
genericv2 | hi, now i'll build with encryption again | 12:51 |
genericv2 | there is only one problem before that, even if out droid-get-bt-address is executable in sparse it gets copied to sfos image as not executable | 12:52 |
mal | did you understand how to make lvm based build? | 12:52 |
genericv2 | i'll fix it with prestart section of service file | 12:52 |
genericv2 | mal: yup, i understand it now. | 12:53 |
genericv2 | not now* | 12:53 |
T42_ | <elros34> did you check whether this script is executable in droid-config*.rpm? | 13:09 |
T42_ | <TheVancedGamer> use zram, not swap (re @Pachof: It is working at 2 j...) | 14:45 |
T42_ | <rikolv> I've built SailfishOS, installed it, but I have black screen after boot or booting into recovery. There are no telnet or another way to connect to phone. What can be wrong? USERDATA and BOOT were fixed correctly. USERDATA filesystem is F2FS, LineageOS is working successfully. Video (8 seconds): http://temp.sh/LaQTc/j530.mp4 | 14:47 |
T42_ | <Mister_Magister> if lineage is working, is the data encrypted | 14:50 |
T42_ | <rikolv> No | 14:51 |
T42_ | <Pachof> How do I replace it with zram? (re @TheVancedGamer: use zram, not swap) | 14:58 |
T42_ | <TheVancedGamer> I use zramctl | 14:58 |
mal | @rikolv do you have all needed usb defconfig options? | 14:58 |
T42_ | <TheVancedGamer> 8GB is barely enough for android 10, 11 requires at least 10 or 12 | 14:58 |
T42_ | <Pachof> Any additional configuration? | 14:59 |
T42_ | <rikolv> mal: HABUILD_SDK [j5y17lte] gokkitoma@larale:~/hadk$ hybris/mer-kernel-check/mer_verify_kernel_config out/target/product/j5y17lte/obj/KERNEL_OBJ/.config | grep ERROR | 15:00 |
T42_ | <rikolv> HABUILD_SDK [j5y17lte] gokkitoma@larale:~/hadk$ | 15:00 |
T42_ | <rikolv> | 15:00 |
T42_ | <rikolv> No errors in kernel config. | 15:00 |
mal | check if you have these 3 https://github.com/mer-hybris/android_kernel_sony_msm/blob/hybris-sony-aosp/LA.UM.9.12.r1/arch/arm64/configs/aosp_lena_pdx213_defconfig#L932 | 15:00 |
T42_ | <rikolv> mal: those won't set. I will recompile zImage now | 15:03 |
T42_ | <elros34> check whether /data/.stowaways/sailfishos/init.log exists in android recovery | 15:07 |
T42_ | <rikolv> @elros34 yes, it exists | 15:08 |
T42_ | <elros34> rndis is up according to init.log? | 15:09 |
T42_ | <rikolv> +USB_FUNCTIONS=rndis | 15:09 |
T42_ | <elros34> search for ifconfig output | 15:10 |
T42_ | <rikolv> Errors in log: | 15:10 |
T42_ | <rikolv> /init-debug: line 230: usleep: not found | 15:10 |
T42_ | <rikolv> /init-debug: line 281-285: can't create /etc/udhcpd.conf: nonexistent directory | 15:10 |
T42_ | <rikolv> I have it | 15:10 |
T42_ | <elros34> irrelevant, search for ifconfig -a output | 15:11 |
T42_ | <rikolv> On PC or init.log? | 15:11 |
T42_ | <elros34> in init.log, this si what we are talking about now but you can do both really:) | 15:11 |
T42_ | <rikolv> telnet is starting on phone | 15:12 |
T42_ | <rikolv> What differencies with hybris-boot and hybris-recovery? | 15:12 |
T42_ | <elros34> recovery will stop booting, it's not usefull | 15:13 |
T42_ | <rikolv> PC don't see phone | 15:13 |
T42_ | <elros34> nothing in ifconfig -a? | 15:14 |
T42_ | <rikolv> no | 15:14 |
T42_ | <elros34> 'touch /data/.stowaways/sailfishos/init_enter_debug2' and try again | 15:15 |
T42_ | <rikolv> enp0s20u1 Link encap:Ethernet HWaddr 00:00:00:00:00:00 | 15:16 |
T42_ | <rikolv> BROADCAST MULTICAST MTU:1500 Metric:1 | 15:16 |
T42_ | <rikolv> RX packets:0 errors:0 dropped:0 overruns:0 frame:0 | 15:16 |
T42_ | <rikolv> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 | 15:17 |
T42_ | <rikolv> collisions:0 txqueuelen:1000 | 15:17 |
T42_ | <rikolv> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) | 15:17 |
T42_ | <rikolv> yes | 15:17 |
T42_ | <elros34> it's your device or ethernet? | 15:18 |
T42_ | <Mister_Magister> u1 | 15:18 |
T42_ | <rikolv> device | 15:18 |
T42_ | <Mister_Magister> thats a phone | 15:18 |
T42_ | <elros34> https://sailfishos.wiki/link/20#bkmrk-%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0%C2%A0-%2A-if-ifconfi | 15:18 |
T42_ | <rikolv> lsusb -v | grep iSerial now has output of my device | 15:19 |
T42_ | <Mister_Magister> try sudo ip addr add 192.168.2.20/24 broadcast 192.168.2.255 dev enp0s20u1 | 15:19 |
T42_ | <Mister_Magister> that should assign the ip | 15:19 |
T42_ | <Mister_Magister> dhcp doesn't like to work, didn't work on my device | 15:19 |
T42_ | <Mister_Magister> after that telnet 192.168.2.15 2323 | 15:19 |
T42_ | <rikolv> Trying 192.168.2.15 and nothing more | 15:20 |
T42_ | <elros34> check whether ifconfig changed now | 15:20 |
T42_ | <Pachof> And how do I use it or how do I create zram? (re @TheVancedGamer: I use zramctl) | 15:21 |
T42_ | <Mister_Magister> ip a (re @elros34: check whether ifconf...) | 15:21 |
T42_ | <Mister_Magister> ifconfig is deprecated | 15:21 |
T42_ | <rikolv> yes, IP was assigned (re @Mister_Magister: ip a) | 15:21 |
T42_ | <Mister_Magister> that's pain | 15:21 |
T42_ | <rikolv> But I can't connect to this IP | 15:21 |
T42_ | <Mister_Magister> try 23 instead of 2323? | 15:22 |
T42_ | <rikolv> Not helped | 15:22 |
T42_ | <elros34> show output | 15:22 |
T42_ | <rikolv> [gokkitoma@larale ~]$ telnet 192.168.2.20 24 | 15:22 |
T42_ | <rikolv> Trying 192.168.2.20... | 15:22 |
T42_ | <rikolv> telnet: connect to address 192.168.2.20: Connection refused | 15:22 |
T42_ | <rikolv> [gokkitoma@larale ~]$ telnet 192.168.2.20 23 | 15:22 |
T42_ | <rikolv> Trying 192.168.2.20... | 15:22 |
T42_ | <rikolv> telnet: connect to address 192.168.2.20: Connection refused | 15:22 |
T42_ | <rikolv> [gokkitoma@larale ~]$ telnet 192.168.2.15 23 | 15:22 |
T42_ | <rikolv> Trying 192.168.2.15... | 15:22 |
T42_ | <Mister_Magister> i said .15 | 15:22 |
T42_ | <elros34> its 2323 | 15:22 |
T42_ | <Mister_Magister> .15 and 2323 | 15:22 |
T42_ | <rikolv> last .15 | 15:22 |
T42_ | <Mister_Magister> 2323 (re @rikolv: last .15) | 15:23 |
T42_ | <rikolv> telnet 192.168.2.15 2323 | 15:23 |
T42_ | <rikolv> Trying 192.168.2.15... | 15:23 |
T42_ | <elros34> show full output with ifconfig/ip too | 15:25 |
T42_ | <rikolv> https://bsd.ac/e55zi9s | 15:25 |
T42_ | <Mister_Magister> i would say that's correct except for mac address being 0 | 15:26 |
T42_ | <rikolv> What I need to do to fix this? | 15:26 |
T42_ | <elros34> ip link set enp0s20u1 address 02:01:02:03:04:08 | 15:26 |
T42_ | <elros34> from linked instruction | 15:26 |
T42_ | <rikolv> Don't helped | 15:29 |
T42_ | <elros34> do you have some firewall enabled? | 15:30 |
T42_ | <rikolv> No | 15:30 |
T42_ | <elros34> reconnect device and follow that linked instruction instead Michał command, maybe this will help | 15:30 |
T42_ | <rikolv> Not helped :( | 15:35 |
T42_ | <rikolv> In my KDE Notifications: enp0s20u1: disconnected. No settings found | 15:35 |
T42_ | <elros34> are you really trying 'telnet 192.168.2.15 2323' second after ip commands? | 15:36 |
T42_ | <elros34> without any delay | 15:36 |
T42_ | <rikolv> Yes (re @elros34: are you really tryin...) | 15:36 |
T42_ | <rikolv> telnet: connect to address 192.168.2.15: Connection timed out | 15:36 |
T42_ | <rikolv> I've booted with new kernel with enabled USB options. MTP device exists now in system, but I can't connect too | 15:51 |
T42_ | <rikolv> http://temp.sh/uKMFP/init.log My init.log | 15:54 |
T42_ | <rikolv> Can it halt boot because udhcpc was not started? | 15:54 |
T42_ | <elros34> boot is halted because of file you created, these udhcpc errors are always there | 15:57 |
T42_ | <rikolv> Tried to remove file | 16:00 |
T42_ | <Pachof> I already configured zram, it is necessary to restart the computer? | 16:03 |
T42_ | <rikolv> Black screen too :( (re @rikolv: Tried to remove file) | 16:03 |
T42_ | <rikolv> I think, that SFOS is working, but there is no graphics | 16:08 |
T42_ | <Pachof> Do I restart the computer? (re @Pachof: I already configured...) | 16:12 |
T42_ | <elros34> @Riko like always but you need connection for debugging, try another pc if you can | 16:12 |
T42_ | <rikolv> @elros34 on my second laptop I have this error again | 16:21 |
T42_ | <Pachof> Pls help (re @Pachof: Do I restart the com...) | 16:21 |
T42_ | <rikolv> Network is not connecting | 16:26 |
T42_ | <rikolv> I tried to connect to Windows PC, and Windows don't see device too :( | 16:27 |
T42_ | <elros34> do you use putty? | 16:28 |
T42_ | <elros34> I hope you didnt remove init_enter_debug2 | 16:28 |
T42_ | <rikolv> Removed (re @elros34: I hope you didnt rem...) | 16:29 |
T42_ | <rikolv> On Windows yes (re @elros34: do you use putty?) | 16:29 |
T42_ | <Pachof> I compiled again and it doesn't work, it took 229 Mins 💀 (re @Pachof: It is normal that it...) | 20:32 |
T42_ | <Pachof> Is there someone who can help me compile, I don't have a suitable computer, or maybe look in gitlab | 20:36 |
mal | how does it fail now? still stuck? | 20:38 |
T42_ | <Pachof> Yes, and with zram and swap enabled at the same time | 20:39 |
mal | so it never actually starts to build? it's stuck at preparing the build system? | 20:41 |
T42_ | <Pachof> It seems that he stayed in that oart | 20:41 |
T42_ | <Pachof> It seems that he stayed in that part (edited) | 20:42 |
T42_ | <Pachof> Could the system be compiled in gitlab? | 20:43 |
T42_ | <elros34> no | 20:44 |
T42_ | <Pachof> Then what do I do? | 20:44 |
T42_ | <Pachof> What dou you recommend? | 20:49 |
T42_ | <b100dian> If ram is not soldered, add more..:( ? | 20:51 |
T42_ | <b100dian> You could rent an AWS instance but that costs way more | 20:51 |
T42_ | <b100dian> Find a friend with a desktop computer and ssh into it | 20:52 |
T42_ | <b100dian> Actually that is not a bad idea, why don't we set up a dev machine for the community ;P | 20:52 |
T42_ | <Pachof> I don't know if the problem comes from the RAM or the CPU. (re @b100dian: If ram is not solder...) | 20:59 |
T42_ | <Pachof> Yes, it wouldn't be a bad idea, in fact, with the simple fact of knowing how to create a Port but not having enough power to compile that option it would be very good (re @b100dian: Actually that is not...) | 21:01 |
T42_ | <b100dian> I'm actually thinking about this for myself.. the largest CPU hog is android building, and building that initially is a large barrier | 21:04 |
T42_ | <b100dian> of course, using a GSI image would make that unneeded | 21:04 |
T42_ | <b100dian> but if you do it the HADK way, this is the first hill climb. Then there's more or less file edits in sparse and OBS buid | 21:04 |
mal | @Pachof which device are you porting? what is the oldest android base available for it? | 21:07 |
T42_ | <Pachof> I don't know how to use OBS, is there a way to compile android Hal with github? | 21:07 |
T42_ | <Pachof> Redmi note 8, The oldest Android base is Android 9, which is compatible, and what I want to do is update the Port to an Android 11 base, which is officially supported, in addition to I am using a base lineage 18.1 (re @SailfishFreenodeIRCBridgeBot: <mal>@Pachof which d...) | 21:09 |
T42_ | <Pachof> And I do all this in order to know if a Waydroid Bug and camera compatibility can be resolved. | 21:13 |
mal | the newer the android base more resources are usually needed | 21:17 |
mal | so what are the bugs exactly? | 21:18 |
mal | which kernel version does it use? | 21:18 |
T42_ | <Pachof> I don't know how to see the kernel version, the one based on Android 9 I leave the kernel https://github.com/sailfish-on-ginkgo/kernel_xiaomi_ginkgo (re @SailfishFreenodeIRCBridgeBot: <mal>which kernel ve...) | 21:22 |
T42_ | <elros34> Its quite strange that you didnt managed to finish build with -j1 | 21:22 |
T42_ | <elros34> kernel version is in Makefile | 21:23 |
T42_ | <Pachof> 4.14.98 | 21:24 |
T42_ | <elros34> unless you didn't really trey with -j1 | 21:25 |
mal | @elros34 the initial soong preparation takes huge amount of resources, not sure if -j even helps with that, I think for android 13 build it took like 16 GB of ram to just get past that part | 21:27 |
T42_ | <Pachof> The one I'm saying that I've been accruing for 229 minutes is what I'm doing with -j 1 (re @Pachof: I compiled again and...) | 21:27 |
T42_ | <elros34> but you did clean first? | 21:27 |
mal | and waiting for hours if it seems to be doing nothing is not useful | 21:28 |
T42_ | <Pachof> Yes, I did a clean, but I think I'm going to try to compile it again but first I'm going to use make clean, it may be that it was cleaned correctly | 21:29 |
T42_ | <elros34> btw this kernel is not right one for 18 base, lineage uses 4.14.198 | 21:29 |
T42_ | <Pachof> This is from android 9 base (re @Pachof: 4.14.98) | 21:30 |
T42_ | <elros34> ok | 21:30 |
T42_ | <Pachof> 4.14.190, and that is a direct fork of the lineage os repositories | 21:32 |
T42_ | <elros34> try to build only same kernel first maybe | 21:33 |
T42_ | <elros34> but I guess it doesnt matter in your case | 21:34 |
T42_ | <elros34> use faster harddrive | 21:34 |
T42_ | <Pachof> I only have one HDD | 21:34 |
mal | but would be nice to know what exact bugs you are trying to fix and if new android base would even help with those | 21:36 |
T42_ | <Pachof> There is a bug in waydroid where one installs it, and once everything is configured it does not start, in addition to the fact that the kernel has the waydroid binders to work, another is the operation of the camera that It does not detect the cameras, and finally the infrared remote does not work as well as the flashlight | 21:39 |
T42_ | <elros34> btw are you sure your zram is in use? | 21:42 |
T42_ | <Pachof> I don't know how to look at that (re @elros34: btw are you sure you...) | 21:42 |
T42_ | <Pachof> In addition to the fact that the sound does not work well (re @Pachof: There is a bug in wa...) | 21:42 |
T42_ | <elros34> so how did you setup it? | 21:43 |
T42_ | <Pachof> I configured zram with zramctl (re @elros34: so how did you setup...) | 21:45 |
T42_ | <elros34> so what is the output of zramctl now | 21:52 |
T42_ | <b100dian> For ifrared, what are the permissions to lirc? | 21:55 |
T42_ | <b100dian> It does not detect the cameras = weird, any android cam service disabled? | 21:56 |
T42_ | <b100dian> Waydroid: depends on gbinder conf I guess and cached lxc configs | 21:58 |
T42_ | <b100dian> Flashlight is tied to the camera so.. | 21:59 |
T42_ | <Pachof> Ummm, Wait, I still don't have the system installed to implement solutions (re @b100dian: Waydroid: depends on...) | 22:00 |
T42_ | <Pachof> In data it says that it has 4 (re @elros34: so what is the outpu...) | 22:01 |
T42_ | <Pachof> In data it says that it has 4K (edited) (re @elros34: so what is the outpu...) | 22:01 |
T42_ | <elros34> check during compilation whether it increase | 22:01 |
T42_ | <Pachof> How do I look at that? (re @elros34: check during compila...) | 22:03 |
T42_ | <elros34> type zramctl | 22:04 |
T42_ | <elros34> AFAIU Data should increase, TOTAl too | 22:05 |
T42_ | <Pachof> I have already written it except that in data it is at 4k and in comprehension at 59B | 22:05 |
T42_ | <elros34> this is nothing, you should have several MB during compilation | 22:06 |
T42_ | <Pachof> So what do I do, how do I get it to detect the ram? | 22:06 |
T42_ | <elros34> like I said, start compilation ant type few times zramctl/'cat proc/swaps/' to see whether it's used, | 22:08 |
T42_ | <Pachof> Zram is not being used, swap is being used | 22:10 |
T42_ | <Pachof> What I do? | 22:16 |
T42_ | <elros34> how about you red about it, I just did it and us it for first time. what is the output of cat /proc/swaps | 22:19 |
T42_ | <Pachof> The output shows that the swap partition is being used while zram is not and zram has priority -3 and swap -2 (re @elros34: how about you red ab...) | 22:21 |
T42_ | <Pachof> How do I get both to be used? | 22:21 |
T42_ | <elros34> so disable swap, set zram to priority 100 with swapon and then enabled back swap | 22:22 |
T42_ | <Pachof> How do I change the priority? | 22:23 |
T42_ | <elros34> swapon --help | 22:23 |
T42_ | <Pachof> Oh ok | 22:23 |
T42_ | <Pachof> I am already compiling the systemIf it fails, I think I'd better improve the one based on Android 9. | 23:00 |
T42_ | <elros34> so zram is used now? | 23:02 |
T42_ | <Pachof> Yeah | 23:02 |
T42_ | <Pachof> Finally, he was able to continue, at last | 23:05 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!