*** attah_ is now known as attah | 09:05 | |
*** Daanct12 is now known as Danct12 | 15:53 | |
T42_ | <smells_like_owl> Hello everyone! | 19:32 |
---|---|---|
T42_ | <smells_like_owl> Im trying to build hybris-16.0 based port for Dreamlte (Galaxy s8) | 19:32 |
T42_ | <smells_like_owl> Successfully followed all step, yet device is in bootlooping each minute without even playing bootanimation or so. | 19:32 |
T42_ | <smells_like_owl> i checked whether /data/.stowaways/sailfishos/init.log exists (it doesnt) | 19:32 |
T42_ | <smells_like_owl> So, i ran abootimg -i hybris-boot.img as suggested by hadk-hot, output is here: https://pastebin.com/LRDC1jFH | 19:32 |
T42_ | <smells_like_owl> Apparently, it does not contain valid initramfs | 19:32 |
T42_ | <smells_like_owl> So, could anyone please advise what to do next? | 19:32 |
T42_ | <elros34> did you check dmesg on host? | 19:44 |
T42_ | <elros34> initrootfs looks fine (0.96 MB) | 19:45 |
T42_ | <Pachof> Hello, I want to make a request to make a Sailfish Port updated for Redmi Note 8, please. | 19:49 |
T42_ | <Pachof> The truth is that I've been looking for an updated Port for about 4 months and I couldn't even complicate it, I gave up on compiling it but suddenly someone who knows how to port it can explain to me how to do it Port it So I can compile it, or directly give me an updated Sailfish OS for my cell phone | 19:55 |
T42_ | <Mister_Magister> make it yourself lol | 19:57 |
T42_ | <elros34> try to understand that nobody will give you updated port. This is NOT peace of cake 1 day job. Sometimes it takes few releases to fix some critical bugs | 19:59 |
T42_ | <Pachof> okay | 19:59 |
T42_ | <Mister_Magister> and you need to have device in the first place | 19:59 |
T42_ | <Mister_Magister> and not everyone on the planet does have that specific device | 20:00 |
voidanix[m] | btw @elros34, i still have that no touch at decryption screen issue | 20:12 |
voidanix[m] | was able to get proper logs: https://paste.opensuse.org/pastes/ef28733cd228 | 20:12 |
voidanix[m] | notice that the panel *does* register touches, but the UI is totally not reacting | 20:13 |
T42_ | <Pachof> One question, then how could I make some packages in obs from another owner, so that I can know the source code and create an updated version of the obs packages? With that It would make it easier for me to make a CI and modify it until it is useful | 20:13 |
mal | you mean branching an existing package? | 20:15 |
mal | or what do you mean? | 20:15 |
T42_ | <Pachof> It would be making a branch but I don't know how to handle obs, I know how to handle github well | 20:16 |
T42_ | <Pachof> It is so that when you can update a package from obs to the latest version to do a Port through ci | 20:17 |
T42_ | <elros34> I guess you want to update old sfos port from 4.3 or something to latest 4.5? Then you don't need OBS. When you will have working port then you can worry about OBS | 20:18 |
T42_ | <Pachof> Well, the old Port works but it could be updated to 4.4 or 4.5 and for that I could think first about obs and then correct problems that I encountered when creating the ci | 20:23 |
T42_ | <Pachof> Or is there a way to update a Port without updating packages like droid Hal ginkgo? | 20:25 |
mal | depends on how old the droid-hal packages are | 20:26 |
T42_ | <smells_like_owl> Those are only strings before disconnects from TWRP | 20:26 |
T42_ | <smells_like_owl> [32341.733979] PDLOG 2023/12/06 20:24:31.991 P0 SRC | 20:26 |
T42_ | <smells_like_owl> [32356.742119] usb usb2-port1: config error | 20:26 |
T42_ | <smells_like_owl> [32403.173278] PDLOG 2023/12/06 20:25:07.152 P0 SNK (not charging) Charger ??? 5000mV max 5000mV / 500mA | 20:26 |
T42_ | <smells_like_owl> [32403.173704] PDLOG 2023/12/06 20:25:07.165 P0 SNK (not charging) Charger ??? 5000mV max 5000mV / 1500mA | 20:26 |
T42_ | <smells_like_owl> [32403.174133] PDLOG 2023/12/06 20:25:07.313 P0 SNK (not charging) DRP ??? 5000mV max 5000mV / 1500mA | 20:26 |
T42_ | <smells_like_owl> [32403.174565] PDLOG 2023/12/06 20:25:07.411 P0 SNK (not charging) DRP ??? 5000mV max 5000mV / 500mA | 20:26 |
T42_ | <smells_like_owl> [32403.176276] PDLOG 2023/12/06 20:25:07.413 P0 Disconnected | 20:26 |
T42_ | <smells_like_owl> [32403.176700] PDLOG 2023/12/06 20:25:40.699 P0 SRC (re @elros34: did you check dmesg ...) | 20:26 |
T42_ | <smells_like_owl> After** (re @smells_like_owl: Those are only strin...) | 20:27 |
T42_ | <elros34> OBS is just place where you can build packages and put them in repository. Everything you do on OBS you can do also in your pc/sdk so personally I wouldn't worry about OBS | 20:27 |
T42_ | <elros34> so really something is wrong in hybris-boot.img. Can you show your kernel changes? | 20:28 |
T42_ | <Pachof> The problem is that my computer disk is damaged. | 20:29 |
mal | doesn't 1 minute boot loop suggest usb setup fails in init? | 20:29 |
T42_ | <elros34> yes | 20:30 |
T42_ | <elros34> definitely could be | 20:30 |
T42_ | <Pachof> The bootloop is 30 seconds | 20:30 |
T42_ | <elros34> that was to owsl^ | 20:31 |
T42_ | <Pachof> Or would it be better to update the packages as a step, that is, from 4.3 to 4.4 and then to 4.5? In case there is something, I leave you the obs repository that I would like to update | 20:33 |
T42_ | <Pachof> https://build.sailfishos.org/project/show/home:birdzhang:nemo:devel:hw:xiaomi:ginkgo | 20:33 |
T42_ | <smells_like_owl> Elros: https://pastebin.com/cjKLXkx4 | 20:34 |
T42_ | <smells_like_owl> Changes are the latest lines in file (re @elros34: so really something ...) | 20:34 |
T42_ | <elros34> @voidanix[m] did you update mce? | 20:36 |
voidanix[m] | yes, it's to avoid having the dozen scripts for restarting hwcomposer | 20:36 |
voidanix[m] | that mce works just fine on another device | 20:37 |
T42_ | <elros34> this is only the only issue I can see, some privateGetSetupActions missing. I don't see lipstick-startup-wizard or dummy compositor only sailfish-unlock-ui which is I guess what's interesting for you | 20:39 |
T42_ | <elros34> I think that would be sailfish-minui based app | 20:44 |
voidanix[m] | is lipstick-startup-wizard or dummy_compositor supposed to be enabled for the unlock screen? | 20:46 |
T42_ | <elros34> I don't know but I suppose no. First might be minui to avoid all lipstick dependencies. People who worked with open source version of encryption might know something about it | 20:48 |
T42_ | <elros34> verbose logging in minui might be disabled on purpose | 20:49 |
T42_ | <elros34> I can't find much about it but here sailfish-unlock-ui is running together with lipstick but I am not sure. You would have to compare with working device maybe https://forum.sailfishos.org/t/xperia-x-dual-sim-boot-loop-after-update-to-4-3/9284/3 | 20:52 |
voidanix[m] | yeah, idk why my kumano works with almost the same repos (just separate spec files for names) | 20:55 |
T42_ | <elros34> @owls!: make sure you have all of these set in .config file: https://github.com/mer-hybris/hybris-boot/blob/master/init-script#L326C11-L326C216 then recreate and flash hybris-boot.img | 20:55 |
T42_ | <elros34> voidanix[m] so that would be probably debuggable alternative: https://github.com/sailfishos-open/sailfish-device-encryption-community-wizard | 21:16 |
voidanix[m] | doesn't look like i have much of an alternative | 21:18 |
voidanix[m] | FWIW community encryption also has some issues with that panel https://github.com/sailfishos-sony-tama/main/issues/202 | 21:18 |
voidanix[m] | or whatever it is at this point | 21:19 |
T42_ | <elros34> you could strace that sailfish-unlock-ui if you could manage to enable telnet/ssh or wait maybe jolla will release sources for it. minui was actually released for a short period of time | 21:20 |
T42_ | <elros34> sailfish-device-encryption too but no idea if that contains sailfish-unlock-ui | 21:24 |
voidanix[m] | about strace-ing: putting `/usr/bin/strace` before the executable in its service file would suffice right? | 21:26 |
T42_ | <elros34> looks like this is the package which somebody might even have cloned (no not me) https://translate.sailfishos.org/en_US/sailfish-device-encryption/translate/sailfish-unlock-ui.ts | 21:27 |
T42_ | <elros34> about starce then I am not sure if you can do this with service, it may timout | 21:28 |
mal | it's possible to increase service timeout | 21:37 |
T42_ | <elros34> mal: any chance sailfish-device-encryption and others will be released again? | 21:39 |
mal | @elros34 there is a question about that in tomorrow's community meeting | 21:41 |
T42_ | <elros34> ok let's wait | 21:42 |
voidanix[m] | fwiw strace-ing is proving unhelpful | 21:46 |
voidanix[m] | there's a bunch of `Resource temporarily unavailable` but have no idea if it's related to event4 (touch) or something else | 21:47 |
mal | and you are sure the hwc restarting works? | 21:49 |
mal | i.e. the service name in the config is correct etc | 21:50 |
voidanix[m] | yes it works | 21:52 |
mal | ok, that is just sometimes the reason why nothing is shown on screen | 21:55 |
voidanix[m] | i know this might sound extremely silly but: are android recoveries somehow related to unlock-ui? | 22:25 |
voidanix[m] | there's minui in both of them :D | 22:25 |
T42_ | <smells_like_owl> @Elros that did help (init.log is created now), but it still reboots after 60 seconds. Here are the few last lines of init.log: | 22:26 |
T42_ | <smells_like_owl> [ 1.548499] dhd_module_init out | 22:26 |
T42_ | <smells_like_owl> [ 1.549471] Freeing unused kernel memory: 6172K | 22:26 |
T42_ | <smells_like_owl> [ 1.549476] before of rkp deferred init | 22:26 |
T42_ | <smells_like_owl> [ 1.549480] after of rkp deferred init | 22:26 |
T42_ | <smells_like_owl> [ 1.724156] [SX9320]: sx9320_set_mode - change the mode : 1 | 22:26 |
T42_ | <smells_like_owl> [ 3.531334] EXT4-fs (sda24): couldn't mount as ext3 due to feature incompatibilities | 22:26 |
T42_ | <smells_like_owl> [ 3.533482] Setting journal tag on volname[USERDATA] | 22:26 |
T42_ | <smells_like_owl> [ 3.536312] EXT4-fs (sda24): warning: maximal mount count reached, running e2fsck is recommended | 22:26 |
T42_ | <smells_like_owl> [ 3.537295] EXT4-fs (sda24): recovery complete | 22:26 |
T42_ | <smells_like_owl> [ 3.537791] EXT4-fs (sda24): mounted filesystem with ordered data mode. Opts: (null) | 22:26 |
T42_ | <smells_like_owl> [ 3.683023] using random self ethernet address | 22:26 |
T42_ | <smells_like_owl> [ 3.683037] using random host ethernet address | 22:26 |
T42_ | <smells_like_owl> [ 3.694953] gadget_dev_desc_UDC_store: +++ | 22:26 |
T42_ | <smells_like_owl> [ 3.694975] Config c/1 of g1 needs at least one function. | 22:26 |
T42_ | <smells_like_owl> [ 3.694989] configfs-gadget 10c00000.dwc3: failed to start g1: -22 | 22:26 |
T42_ | <smells_like_owl> [ 3.960105] max77865_chgin_init_work | 22:26 |
T42_ | <smells_like_owl> + sleep 60 | 22:26 |
T42_ | <smells_like_owl> + reboot -f | 22:26 |
T42_ | <smells_like_owl> | 22:26 |
T42_ | <smells_like_owl> | 22:26 |
T42_ | <smells_like_owl> and here is full init.log: https://pastebin.com/Tv6DrKRt | 22:26 |
T42_ | <smells_like_owl> | 22:26 |
T42_ | <smells_like_owl> In dmessg it still says "usb usb2-port1: config error" (re @elros34: @owls!: make sure yo...) | 22:26 |
mal | voidanix[m]: sailfish minui is based on android minui, you can see it in the copyright headers | 22:27 |
voidanix[m] | hmm okay... because out of coincidence, touch also does not work under LOS recovery | 22:27 |
mal | voidanix[m]: so is your issue touch or also the ui showing? | 22:28 |
mal | *ui not showing | 22:28 |
voidanix[m] | touch only, UI displays just fine | 22:28 |
mal | ah, I misunderstood your issue then | 22:28 |
mal | I thought you had issue that unlock ui was not showing | 22:28 |
voidanix[m] | nope: it displays everything it should, but i can't tap anything | 22:29 |
T42_ | <elros34> @owls! so you can see usb can't be initialized: "10c00000.dwc3 sh: write error: Invalid argument." | 22:29 |
mal | voidanix[m]: you could test adding some debug printing to minui event code | 22:30 |
T42_ | <elros34> @owls! what was the device repo? | 22:31 |
voidanix[m] | @mal in https://github.com/sailfishos/minui i suppose? | 22:31 |
T42_ | <smells_like_owl> @Elros what do you mean the device repo, the droid-hal-dreamlte.spec or the original android repos? | 22:31 |
mal | voidanix[m]: yes | 22:31 |
T42_ | <elros34> @owls android one | 22:32 |
voidanix[m] | hopefully got enough time to do that tomorrow, it's getting kinda late | 22:33 |
voidanix[m] | thanks for the tips tho | 22:33 |
T42_ | <elros34> mal: but how he can use it? I can see only libminui.a in rpm | 22:35 |
T42_ | <smells_like_owl> @Elros basically these: | 22:35 |
T42_ | <smells_like_owl> https://github.com/exynos8895/android_device_samsung_universal8895-common | 22:35 |
T42_ | <smells_like_owl> https://github.com/exynos8895/android_kernel_samsung_universal8895 | 22:35 |
T42_ | <smells_like_owl> https://github.com/exynos8895/android_vendor_samsung_universal8895-common | 22:35 |
T42_ | <smells_like_owl> https://github.com/exynos8895/android_vendor_samsung_dreamlte | 22:35 |
T42_ | <smells_like_owl> https://github.com/exynos8895/android_device_samsung_dreamlte | 22:35 |
mal | @elros34 hmm, maybe it's not as simple then | 22:35 |
T42_ | <elros34> @owls!: try this changes in /init-debug script: https://gist.github.com/HengYeDev/3beb4c607c4bf8ca8fc71c0b3d580adc#file-init-debug-L194-L227 | 22:41 |
mal | @elros34 yeah, seems both minui and sailfish-minui are static build | 22:45 |
mal | *builds | 22:45 |
T42_ | <Pachof> One question, if I use the repo sync command, and there are errors, should I reset the command? | 22:58 |
T42_ | <smells_like_owl> @Elros can | 23:04 |
T42_ | <smells_like_owl> @Elros can't locate the script, i only have the following: | 23:04 |
T42_ | <smells_like_owl> PlatformSDK [fox@galaxy hadk]$ find | grep init-debug | 23:04 |
T42_ | <smells_like_owl> ./system/core/rootdir/init-debug.rc (re @elros34: @owls!: try this cha...) | 23:04 |
T42_ | <elros34> on device in recovery next to init.log | 23:05 |
T42_ | <elros34> be aware that abd push might change permissions so better edit file in place with vi/nano | 23:06 |
T42_ | <smells_like_owl> Ohhhh | 23:06 |
T42_ | <smells_like_owl> I see | 23:07 |
T42_ | <smells_like_owl> @Elros34 Made serious progress, yet device now is unresponsive. Will see in a few weeks once I will return to it. Thank you! | 23:43 |
T42_ | <elros34> great, init_enter_debug2 should make it debuggable. Anyway search for HengYeDev porting efforts in logs, you may find some similar issues | 23:46 |
T42_ | <smells_like_owl> Thank you, I really appreciate it | 23:46 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!