Saturday, 2024-03-09

T42_<Pachof> Will I restart it? How can you look at soong's output?00:01
malrestart it00:03
maleven waiting 30 minutes if nothing seems to happens is too long00:03
T42_<Pachof> Won't it affect the compilation?00:04
malno00:04
T42_<Pachof> Ok00:04
malit known how to continue if something was done already00:04
mal*knows00:04
T42_<Pachof> Just in case, I'm using Gentoo Linux00:05
T42_<Pachof> Ready, restart it, I'll let you know if the problem persists00:13
T42_<Pachof> Can you apply the hybris patches on an Android 11 base?00:51
T42_<elros34> not only you can but  you must00:58
T42_<Pachof> But I have to do the libhybris git clone01:02
T42_<elros34> is this a question? then yes as in instructions01:04
T42_<Pachof> But he said that it works for hubris 16 and 1701: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 them01:08
T42_<Pachof> I mean, I thought that cloning the libhybris repository is for hybris 17 and 1601:12
T42_<elros34> from hadk-hot: "Since hybris-16: clone libhybris" so you must do this if you want to build sailfish instead android01:17
T42_<elros34> on every  >= lineage 16  base01: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 job01:25
T42_<Pachof> Like, with rm -R out/ or make clean?02:33
T42_<Pachof> The problem still remains02:34
T42_<Pachof> What can you recommend to me?02:40
T42_<elros34> not sure, add more swap, use some low -jX02: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 jobs02:55
genericv2hi, now i'll build with encryption again12:51
genericv2there 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 executable12:52
maldid you understand how to make lvm based build?12:52
genericv2i'll fix it with prestart section of service file12:52
genericv2mal: yup, i understand it now.12:53
genericv2not 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.mp414:47
T42_<Mister_Magister> if lineage is working, is the data encrypted14:50
T42_<rikolv> No14:51
T42_<Pachof> How do I replace it with zram? (re @TheVancedGamer: use zram, not swap)14:58
T42_<TheVancedGamer> I use zramctl14: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 1214: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 ERROR15:00
T42_<rikolv> HABUILD_SDK [j5y17lte] gokkitoma@larale:~/hadk$15:00
T42_<rikolv> 15:00
T42_<rikolv> No errors in kernel config.15:00
malcheck 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#L93215:00
T42_<rikolv> mal: those won't set. I will recompile zImage now15:03
T42_<elros34> check whether /data/.stowaways/sailfishos/init.log exists in android recovery15:07
T42_<rikolv> @elros34 yes, it exists15:08
T42_<elros34> rndis is up according to init.log?15:09
T42_<rikolv> +USB_FUNCTIONS=rndis15:09
T42_<elros34> search for ifconfig output15:10
T42_<rikolv> Errors in log:15:10
T42_<rikolv> /init-debug: line 230: usleep: not found15:10
T42_<rikolv> /init-debug: line 281-285: can't create /etc/udhcpd.conf: nonexistent directory15:10
T42_<rikolv> I have it15:10
T42_<elros34> irrelevant, search for ifconfig -a output15: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 phone15:12
T42_<rikolv> What differencies with hybris-boot and hybris-recovery?15:12
T42_<elros34> recovery will stop booting, it's not usefull15:13
T42_<rikolv> PC don't see phone15:13
T42_<elros34> nothing in ifconfig -a?15:14
T42_<rikolv> no15:14
T42_<elros34> 'touch /data/.stowaways/sailfishos/init_enter_debug2' and try again15:15
T42_<rikolv> enp0s20u1 Link encap:Ethernet  HWaddr 00:00:00:00:00:0015:16
T42_<rikolv>           BROADCAST MULTICAST  MTU:1500  Metric:115:16
T42_<rikolv>           RX packets:0 errors:0 dropped:0 overruns:0 frame:015:16
T42_<rikolv>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:015:17
T42_<rikolv>           collisions:0 txqueuelen:100015:17
T42_<rikolv>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)15:17
T42_<rikolv> yes15:17
T42_<elros34> it's your device or ethernet?15:18
T42_<Mister_Magister> u115:18
T42_<rikolv> device15:18
T42_<Mister_Magister> thats a phone15: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-ifconfi15:18
T42_<rikolv> lsusb -v | grep iSerial now has output of my device15:19
T42_<Mister_Magister> try sudo ip addr add 192.168.2.20/24 broadcast 192.168.2.255 dev enp0s20u115:19
T42_<Mister_Magister> that should assign the ip15:19
T42_<Mister_Magister> dhcp doesn't like to work, didn't work on my device15:19
T42_<Mister_Magister> after that telnet 192.168.2.15 232315:19
T42_<rikolv> Trying 192.168.2.15 and nothing more15:20
T42_<elros34> check whether ifconfig changed now15: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 deprecated15:21
T42_<rikolv> yes, IP was assigned (re @Mister_Magister: ip a)15:21
T42_<Mister_Magister> that's pain15:21
T42_<rikolv> But I can't connect to this IP15:21
T42_<Mister_Magister> try 23 instead of 2323?15:22
T42_<rikolv> Not helped15:22
T42_<elros34> show output15:22
T42_<rikolv> [gokkitoma@larale ~]$ telnet 192.168.2.20 2415:22
T42_<rikolv> Trying 192.168.2.20...15:22
T42_<rikolv> telnet: connect to address 192.168.2.20: Connection refused15:22
T42_<rikolv> [gokkitoma@larale ~]$ telnet 192.168.2.20 2315:22
T42_<rikolv> Trying 192.168.2.20...15:22
T42_<rikolv> telnet: connect to address 192.168.2.20: Connection refused15:22
T42_<rikolv> [gokkitoma@larale ~]$ telnet 192.168.2.15 2315:22
T42_<rikolv> Trying 192.168.2.15...15:22
T42_<Mister_Magister> i said .1515:22
T42_<elros34> its 232315:22
T42_<Mister_Magister> .15 and 232315:22
T42_<rikolv> last .1515:22
T42_<Mister_Magister> 2323 (re @rikolv: last .15)15:23
T42_<rikolv> telnet 192.168.2.15 232315:23
T42_<rikolv> Trying 192.168.2.15...15:23
T42_<elros34> show full output with ifconfig/ip too15:25
T42_<rikolv> https://bsd.ac/e55zi9s15:25
T42_<Mister_Magister> i would say that's correct except for mac address being 015: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:0815:26
T42_<elros34> from linked instruction15:26
T42_<rikolv> Don't helped15:29
T42_<elros34> do you have some firewall enabled?15:30
T42_<rikolv> No15:30
T42_<elros34> reconnect device and follow that linked instruction instead Michał command, maybe this will help15:30
T42_<rikolv> Not helped :(15:35
T42_<rikolv> In my KDE Notifications: enp0s20u1: disconnected. No settings found15:35
T42_<elros34> are you really trying 'telnet 192.168.2.15 2323' second after ip commands?15:36
T42_<elros34> without any delay15:36
T42_<rikolv> Yes (re @elros34: are you really tryin...)15:36
T42_<rikolv> telnet: connect to address 192.168.2.15: Connection timed out15:36
T42_<rikolv> I've booted with new kernel with enabled USB options. MTP device exists now in system, but I can't connect too15:51
T42_<rikolv> http://temp.sh/uKMFP/init.log My init.log15: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 there15:57
T42_<rikolv> Tried to remove file16: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 graphics16: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 can16:12
T42_<rikolv> @elros34 on my second laptop I have this error again16:21
T42_<Pachof> Pls help (re @Pachof: Do I restart the com...)16:21
T42_<rikolv> Network is not connecting16: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_debug216: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 gitlab20:36
malhow does it fail now? still stuck?20:38
T42_<Pachof> Yes, and with zram and swap enabled at the same time20:39
malso 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 oart20: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> no20: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 more20:51
T42_<b100dian> Find a friend with a desktop computer and ssh into it20:52
T42_<b100dian> Actually that is not a bad idea, why don't we set up a dev machine for the community ;P20: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 barrier21:04
T42_<b100dian> of course, using a GSI image would make that unneeded21: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 buid21: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
malthe newer the android base more resources are usually needed21:17
malso what are the bugs exactly?21:18
malwhich 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 -j121:22
T42_<elros34> kernel version is in Makefile21:23
T42_<Pachof> 4.14.9821:24
T42_<elros34> unless you didn't really trey with -j121: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 part21: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
maland waiting for hours if it seems to be doing nothing is not useful21: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 correctly21:29
T42_<elros34> btw this kernel is not right one for 18 base, lineage uses 4.14.19821:29
T42_<Pachof> This is from android 9 base (re @Pachof: 4.14.98)21:30
T42_<elros34> ok21:30
T42_<Pachof> 4.14.190, and that is a direct fork of the lineage os repositories21:32
T42_<elros34> try to build only same kernel first maybe21:33
T42_<elros34> but I guess it doesnt matter in your case21:34
T42_<elros34> use faster harddrive21:34
T42_<Pachof> I only have one HDD21:34
malbut would be nice to know what exact bugs you are trying to fix and if new android base would even help with those21: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 flashlight21: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 now21: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 configs21: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 increase22:01
T42_<Pachof> How do I look at that? (re @elros34: check during compila...)22:03
T42_<elros34> type zramctl22:04
T42_<elros34> AFAIU Data should increase, TOTAl too22:05
T42_<Pachof> I have already written it except that in data it is at 4k and in comprehension at 59B22:05
T42_<elros34> this is nothing, you should have several MB during compilation22: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 used22: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/swaps22: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 swap22:22
T42_<Pachof> How do I change the priority?22:23
T42_<elros34> swapon --help22:23
T42_<Pachof> Oh ok22: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> Yeah23:02
T42_<Pachof> Finally, he was able to continue, at last23:05

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!