Sunday, 2024-03-10

T42_<rikolv> How to know what is wrong with graphics? There is no graphics but SFOS is working.10:18
genericv2mal: any idea?
genericv2encryption-test2 branch on droid-config-sagit and encryption-test branch on droid-hal-sagit10:33
genericv2i probably forget to do something10:33
genericv2removed droid-hal-sagit-kernel-modules from patterns but something still tries to install it, hm11:14
malsb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper in droid-local-repo/sagit/droid-hal-sagit-kernel-modules*.rpm -droid-hal-sagit-img-boot11:15
malyou might need to replace that droid-hal-sagit-kernel-modules*.rpm with the full filename if it doesn't work like that11:16
genericv2yup it's okay now.11:21
genericv2The only problem that might prevent boot is the non-executable script thing i talked about, i'll check if it's executable or not from rpm file before flashing it to the phone11:22
genericv2extracted droid-config-sagit-1-202403101117.aarch64.rpm11:32
genericv2Seems like it's okay: -rwxr-xr-x 1 kita kita 984 Mar 10 14:17 droid-get-bt-address.sh11:33
genericv2flashed it, i'll reboot now. wish me luck12:02
genericv2it's stuck 😎12:05
genericv2hm, but it turned off now12:06
genericv2mal: what to check now, any idea12:09
genericv2trying things but, no luck12:28
genericv2any way to make hybris dump logs to logfs etc.?12:29
genericv2i don't know how lvm based builds boot so can't make a guess12:29
T42_<elros34> Riko for sure sfos is not really working. You can enable persistent logging (hadk-faq) and then pull binary systemd logs from twrp and read them with jornalctl. Obviously this will be limited to only journal and very annoying type of debugging12:33
malgenericv2: maybe see if you can get to recovery12:33
malusing the hybris-recovery.img in the droid-hal recovery rpm12:33
genericv2@elros34 it's probably the bluetooth issue, it blocks boot on regular sfos too.12:35
genericv2mal: good idea, i'll flash hybris recovery now12:35
genericv2yup i am in telnet now, with hybris reco12:37
malsee you have init.log in the rootfs12:38
maland enabled persistent journal and then flash back the hybris-boot12:38
genericv2yup i have it, i'll send it now12:38
malmake sure you flash the correct one, the lvm one not the other one12:39
genericv2hmm, i am flashing the right hybris-boot but there is no lvm hybris-recovery. is it okay>12:39
genericv2(> = ?, i am new with english keyboard)12:39
genericv2PlatformSDK [kita@suse Sailfish_OS--twoxa-]$ ls12:41
genericv2hw-release  hybris-boot.img  md5.lst  os-release  sailfish.img00112:41
genericv2just these exist12:41
maldoesn't the build produce droid-hal-s19mps-img-recovery rpm12:42
malin droid-local-repo12:42
genericv2nope, nothing related to recovery in droid-local-repo12:43
malreplace the codename12:43
genericv2searching without codename of course*12:43
genericv2kita@suse:~/hadk/droid-local-repo> ls | grep recovery12:43
genericv2no output12:43
genericv2ah no12:43
genericv2these exist12:44
malit's the last one12:44
genericv2oh, sorry. found new hybris recovery now. you know i am still learning about hadk12:46
genericv2it's alive :) there is some text about telnet in screen, i'll connect to the phone now12:47
genericv2i am in, jolla recovery is cool12:53
genericv2what to do now12:54
T42_<elros34> somehow get into sfos rootfs12:57
genericv2i'll enable persistent logging, a min13:09
T42_<Pachof> Help, when I compiled the kernel the changes I put in my defconfig are not applied13:29
T42_<elros34> it depends on the changes and dependencies they have13:32
T42_<Pachof> How do I check which defconfig is being used?13:33
T42_<elros34> IIRC this is defined in device repository13:33
genericv2TARGET_KERNEL_CONFIG in tree13:34
T42_<Pachof> It says it is in vendor/ginkgo-perf_defconfig but I don't know if it is the one found in the kernel or somewhere else because my changes that I made do not appear13:35
T42_<elros34> again depends on the changes, you dont want to tell which one then it's hard to say. You may disable something critical and build should fail/change13:36
T42_<Pachof> But I don't understand, I didn't delete anything critical, I want to know where the defconfig is being used13:38
genericv2dumped logs13:43
T42_<Pachof> Where do I look at that?13:44
genericv2i am talking about something else rn13:45
genericv2which file you edited btw13:45
T42_<Pachof> Edit my device's Boardconfig and perf_defconfig (re @SailfishFreenodeIRCBridgeBot: <genericv2>which fil...)13:46
genericv2leave boardconfig as is. You must edit "/path/to/kernel/arch/arm64/configs/vendor/ginkgo-perf_defconfig"13:48
T42_<Pachof> I edited that file and it didn't work13:48
genericv2how did you confirm that it didin't work13:49
T42_<Pachof> Use the Mer kernel configuration checker in the file out/target/product/ginkgo/obj/KERNEL_OBJ/.config13:51
genericv2i had a similar issue, there was a flag which makes mer kernel check complain about it even if it's enabled. I simply disabled kernel check, it was okay on my phone but can't recommend doing the same thing to you, so depends on flag.13:54
T42_<elros34> simply: configs have dependencies and some kernel versions doesn't have all configs you would expect13:56
genericv2yup, probably that was the issue.13:56
genericv2Reading the comment of the failing flag may help13:57
T42_<Pachof> How do I find that comment? (re @SailfishFreenodeIRCBridgeBot: <genericv2>Reading t...)13:58
T42_<elros34> mer-kernel-check comment. why don't you simply tell what mysterious config you want to change13:59
T42_<Pachof> Is it in the github or in the command itself?13:59
T42_<elros34> in github, script inside and output of script14:00
T42_<Pachof> I'll look on github14:01
T42_<Pachof> Where in the script is that comment located? I don't know where it is. (re @elros34: in github, script in...)14:03
T42_<Pachof> So I have to ignore the kernel verification , knowing which flag I will depend on? (re @SailfishFreenodeIRCBridgeBot: <genericv2>i had a s...)14:10
T42_<Pachof> Sorry, I wasn't understanding you correctly. (re @elros34: mer-kernel-check com...)14:28
T42_<Pachof> Here is all the flags I need, or the output of the Mer Kernel config verifier (re @Pachof: )14:44
T42_<Pachof> Any solution?14:56
T42_<elros34> you need to become more verbose now you try really hard to provide minimal set of information which doesn't help. Show full output of one CONFIG change for example CONFIG_DUMMY, make hybris-hal and mer-kernel-check output. All without stripping commands and so on15:00
T42_<Pachof> But how do I make make be a verbose? (re @elros34: you need to become m...)15:01
T42_<elros34> for example your needfalgs file missing command you executed to generate it15:04
T42_<elros34> show  android device repo you use now15:06
T42_<Pachof> (re @elros34: show  android device...)15:08
T42_<elros34> and this is same on your pc? cd device/xiaomi/ginkgo && git remote -v && branch -a15:12
genericv2mal: got a quite big journal. I splitted it to 2 files. [ Part 1: ] [ Part 2: ] Adding audit=0 to mkbootimg args will make the journal smaller as i remember. I can do it and dump logs again if you want.15:13
T42_<Pachof> Yes it is the same (re @elros34: and this is same on ...)15:14
T42_<Pachof> I think I'm going to give up, it's very complicated and it's better to improve the Android 9 Port15:21
T42_<Pachof> Hello, how do I look at that? (re @b100dian: It does not detect t...)15:25
T42_<Pachof> And how do I look at that too? (re @b100dian: Waydroid: depends on...)15:25
T42_<elros34> what so complicated, I just told you to show me full make hybris-hal output together with mer-kernel-check output and one defconfig change15:28
T42_<Pachof> The problem is that I do not have the complete output, and I think that the Port that has the errors is not that complicated to solve (re @elros34: what so complicated,...)15:32
T42_<elros34> it's a matter of echo CONFIG_DUMMY=n > <defconfig>; make hybris-hal, mer-kernel-check */*/.config15:35
T42_<elros34> echo >>15:35
T42_<Pachof> I already did it and there is no change, not even change in kernel configuration check15:51
T42_<elros34> I want to see all the steps15:53
T42_<AntonlX> I am using droid-system for Android environment, but droid-system is not starting. Seems like it's could not found proper files, am I right?16:29
T42_<AntonlX> I am using droid-system for Android environment, but droid-hal-init is not starting. Seems like it's could not found proper files, am I right? (edited)16:29
T42_<AntonlX> strace droid-hal-init: (edited)16:30
T42_<elros34> Pancho you enabled some config which case kernel fail16:43
T42_<elros34> kernel build fail*16:43
T42_<Pachof> I have made the decision to change the kernel device and vendor repos to a suitable one (re @elros34: I want to see all th...)16:45
T42_<elros34> @Anton do you have proper vendor? Symlink or partition?16:45
T42_<Pachof> Is there a way to import commits from a kernel on github to another repository? (re @elros34: Pancho you enabled s...)17:25
T42_<Pachof> I'd better improve the existing Port17:34
T42_<Pachof> Can someone help me with a camera bug, it doesn't work or detect it17:49
T42_<b100dian> can you set a username in telegram so irc can ping?18:15
T42_<Pachof> How do I verify that? (re @b100dian: can you set a userna...)18:40
T42_<Pachof> How do I verify that IRC can ping?19:16
T42_<b100dian> Just set a username in telegram19:32
T42_<Pachof> As? I'm not going to use irc much19:33
T42_<pachof> Well I changed it19:34
T42_<b100dian> Ok, for some reason I cannot ping you and I thought you don't have an username. My mistake, must be new grop settings. I also dont' want to use replies in telegram20:02
T42_<pachof> I think it's better to use irc20:03
T42_<pachof> What is the irc server like to connect to?20:04
T42_<b100dian> Let's see @pochof - for camera - you asked how to see if there are errors on android services. Of course this means that you're able to run the Android 9 port (or what was the previous one)20:05
T42_<b100dian> So if that works you should be able to inspect logcat, by ssh/telnet, ideally at the beginning of boot - and paste the logs from your desktop to a paste service20:06
T42_<b100dian> and also see if you have /dev/video0 and the likes present20:06
T42_<pachof> Yes, I am able to run the Port, right now I do not have it installed but I am preparing to install it (re @b100dian: Let's see @pochof - ...)20:07
T42_<b100dian> For waydroid, there is are porters instruction
T42_<b100dian> *there are20:10
T42_<pachof> As for waydroid, The Port meets all the waydroid dependencies for the ports but for some reason it does not start the session (re @b100dian: For waydroid, there ...)20:10
T42_<b100dian> can you not use replies? There's a pined message with rules20:11
T42_<pachof> Sorry, I forgot, I better use go20:11
T42_<pachof> Sorry, I forgot, I better use irc (edited)20:11
T42_<b100dian> For waydroid shod /etc/gbinder.d/ file contents (there should be one file)20:13
T42_<b100dian> What is the current repo of the existing port?20:13
T42_<b100dian> repo/org20:13
T42_<pachof> Is this,, I want to help improve this Port20:14
T42_<b100dian> Does it have other issues such as high battery draining?20:15
T42_<b100dian> Not working: Audio Camera Fingerprint FM radio IR remote control - that is indeed some work 😉20:16
T42_<b100dian> ok, sound seems to have been fixed in a recent commit ig20:18
T42_<pachof> Well, in what I have tried I have had certain problems with the sound, I lack depth with the audio20:18
T42_<b100dian> The fix literally removes output_deep_buffer so yeah 😄20:20
T42_<pachof> I want to improve that Port because very soon I will replace Android with Sailfish OS20:23
T42_<b100dian> good. the porter has been active 2 month ago, did you contact him? Maybe he has some context20:26
T42_<b100dian> But it would be cool if you could just boot sailfish somehow on your current android install. Do you have encrypted /data? That would be a problem for quickly testing the port I guess20:27
T42_<pachof> Yes, I have contact with the Porter but he speaks in simplified Chinese and English. (re @b100dian: good. the porter has...)20:30
T42_<pachof> Speak more in Chinese as a priority20:32
T42_<pachof> I'm going to install the port (re @b100dian: But it would be cool...)20:32
T42_<pachof> If you want, I'll give you the contact (re @b100dian: good. the porter has...)20:41
T42_<b100dian> Ok, enable telnet and grab logs as soon as possible from logcat. Not necessarily on the first boot20:47
T42_<pachof> It features an inconsistency in battery percentage (re @b100dian: Does it have other i...)20:47
T42_<AntonlX> Yes, it was vendor issue. Now it shut down all the services and rebooting. droid-hal strace: (re @elros34: @Anton do you have p...)20:48
T42_<elros34> it's a pain to read thousands of strace lines especially on junk ubuntu paste. Why do you strace it? Deosn't it show errors when running normally now?21:04
T42_<elros34> if you really need strace then consider adding somthing like -s25621:05
T42_<pachof> I need the whole logcat, I mean the log of the start? (re @b100dian: Ok, enable telnet an...)21:12
T42_<b100dian> /usr/libexec/droid-hybris/system/bin/logcat as soon as possible to show starting (it should have a buffer it plays previous entries from, so not really "start" but early as you are in21:14
T42_<b100dian> pretty sure it should go longer than ~300 lines, a booting logcat. How do you copy it? You can configure your console to unlimited buffer and select almost everything from the screen.21:27
T42_<b100dian> And please use a paste service21:27
T42_<pachof> oh ok21:49
T42_<pachof> I'm installing a package and I get this error : "Error grave: Subprocess failed. Error: RPM fallido: error: unpacking of archive failed: cpio: Bad magic21:51
T42_<pachof> error: audiosystem-passthrough-1.3.0-1.4.5.jolla.aarch64: install failed21:51
T42_<pachof> error: audiosystem-passthrough-1.1.2-1.3.3.jolla.aarch64: erase skipped"21:51
T42_<pachof> How do I look at the Full Boot Logcat? (re @b100dian: pretty sure it shoul...)21:54
T42_<b100dian> I think 4.4 changed compression, how come you have a newer package than your system supports21:58
T42_<b100dian> @pachof so you run logcat as early as possible, ideally through telnet connection21:59
T42_<pachof> How do I make the Telnet connection?22:04
T42_<elros34> I guess you run logcat as user?22:05
T42_<b100dian> great question - usually the devel build has logcat enabled22:13
T42_<pachof> yes22:13
T42_<b100dian> I see references above to a no_telnet file that can be removed if you have a testing build22:13
T42_<b100dian> sorry, I meant telnet enabled22:13
T42_<elros34> then you must run it as root, one more reason to not remove important information like command you use from logs:
T42_<pachof> this a logcat log runned with root (re @pachof: )22:21
T42_<b100dian> You still haven't read the pinned message rules and keep using reply and posting attachments instead of using a paste service22:43
T42_<pachof> is that I have some problem with a package: "audiosystem-passthrough" apparently is a catualization and does not allow me to install anything else (re @b100dian: I think 4.4 changed ...)22:44
T42_<pachof> is that I have some problem with a package: "audiosystem-passthrough" apparently is a catualization and does not allow me to install anything else22:44
T42_<b100dian> Deletes and edits too:)22:45
T42_<b100dian> Ehats cataulization?22:45
T42_<b100dian> *Whats22:46
T42_<b100dian> Actualisation?22:46
T42_<pachof> It's that I'm sorry because I forget that I don't have to reply ,I wanted to say that I have some problem with a package : "audiosystem-passthrough" apparently is a catualization and won't let me install anything else22:51
T42_<b100dian> cameraservice seems to start23:03
T42_<b100dian> do you have /dev/video* ?23:03
T42_<b100dian> also, what does logcat show as soon as you start jolla-camera?23:04
T42_<b100dian> (start logcat, let it settle a bit, press some enter[s], start jolla camera app and copy logcat output)23:04
T42_<b100dian> I need to log out. use a paste service :)23:07
T42_<pachof> yes (re @b100dian: do you have /dev/vid...)23:21

Generated by 2.17.1 by Marius Gedminas - find it at!