Thursday, 2020-04-30

T42<birdzhang> no00:03
T42<elros34> you are using old sdk (probably not that important) and are building 3.2.1.20 but for me looks like you are not using upgrade-3.2.1 dhd branch so even it boot you will have no gui00:03
T42<ankaos> it doesn't boot00:05
T42<ankaos> how can i upgrade?00:06
T42<elros34> you need to be more verbose, does it reboot, any sign of mer or usb in host dmesg?00:06
T42<elros34> about dhd branch, got to rpm/dhd and type: git checkout upgrade-3.2.1 then build_packages.sh —droid-hal00:07
T42<ankaos> There is no phone related information on the computer. does not reboot. my device is samsung j5. lsusb output is empty.00:08
T42<elros34> so nothing shows if you type dmesg -w, power on device and connect it to pc?00:08
T42<ankaos> rebuild now. ı install rebuild sailfish os.00:10
T42<elros34> rebuilding will not help if you don't have any sign of device in dmesg, how about you answer my latest question00:11
T42<ankaos> it is loaded. I will try.00:12
T42<ankaos> [292312.753393] usb 2-1.1: Manufacturer: SAMSUNG00:14
T42<ankaos> [292312.753396] usb 2-1.1: SerialNumber: c427c6a600:14
T42<ankaos> [298383.975402] usb 2-1.3: USB disconnect, device number 6100:14
T42<ankaos> [298384.355561] usb 2-1.3: new full-speed USB device number 79 using ehci-pci00:14
T42<ankaos> [298384.475075] usb 2-1.3: New USB device found, idVendor=09da, idProduct=010e00:14
T42<ankaos> [298384.475082] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=000:14
T42<ankaos> dmesg -w outpuy00:14
T42<elros34> which android base do you use?00:14
T42<ankaos> cm-14.100:15
T42<elros34> do you have kernel on github?00:16
T42<ankaos> @elros34 [do you have kernel on github?], https://github.com/Galaxy-MSM8916/android_kernel_samsung_msm8916/tree/cm-14.100:17
T42<elros34> with your changes?00:18
T42<ankaos> https://github.com/Galaxy-MSM8916/android_device_samsung_j5lte https://github.com/enesutku07/android_device_samsung_j5-common https://github.com/enesutku07/android_device_samsung_msm8916-common00:18
T42<ankaos> @elros34 [with your changes?], https://paste.ubuntu.com/p/Yd8XYqx52s/00:19
T42<ankaos> where are my mistakes?00:23
T42<elros34> I don't know whole repo with all your changes would be useful, for sure your defconfig changes are wrong but issue is somewhere else if you have android info in host dmesg00:25
T42<ankaos> https://paste.ubuntu.com/p/Brf6rYtJRh/00:26
T42<ankaos> other edit00:26
T42<edp_17> When I am getting: "error: in `sync --fetch-submodules`: revision cm-14.1 in edp17/android_kernel_samsung_n7000_smdk4412 not found" however branch cm-14.1 in that repo does exist: https://paste.ubuntu.com/p/b2QcBxgRN4/00:27
T42<ankaos> https://paste.ubuntu.com/p/SdcPDHNGvb/00:27
T42<elros34> @ankaos upload it to github, I will not try to guess which are your changes00:27
T42<ankaos> @edp_17 [I am getting: "error: in sync --fetch-submodul …], python3 $(which repo) sync —fetch-submodules00:27
T42<edp_17> Thanks. What is $(which repo)?00:29
T42<edp_17> I get: repo: error: Python 3 version is too old; Please use Python 3.6 or newer.00:30
T42<ankaos> this is your error solved00:33
T42<ankaos> open github.00:34
T42<ankaos> and commit.00:34
T42<ankaos> https://github.com/enesutku07/android_kernel_samsung_msm8916/tree/sailfishos00:34
T42<ankaos> https://github.com/enesutku07/android_device_samsung_msm8916-common/tree/sailfishos00:34
T42<edp_17> It didn't solve my issue: Using 'python3 $(which repo) sync —fetch-submodules' I get: "Python 3 version is too old; Please use Python 3.6 or newer."00:36
T42<edp_17> When I try to install newer python3, it says, my one is up to date.00:37
T42<elros34> @ankaos what is the reason for these changes? https://github.com/enesutku07/android_device_samsung_msm8916-common/commit/40f9e8c5b5f348041b353735f047f707e101e23e00:37
T42<ankaos> selinux disable00:37
T42<elros34> but why did you comment out BOARD_KERNEL_CMDLINE00:38
T42<elros34> btw, you disabled selinux in defconfig (CONFIG_AUDIT=n)00:39
T42<ankaos> @elros34 [@ankaos what is the reason for these changes? …], shall I get this back?00:40
T42<elros34> I see no reason to remove default kernel cmdline00:41
T42<elros34> have you tried to flash hybris-boot.img manually? I wonder why you have android messages in dmesg instead mer. Are you sure it doesn't reboot?00:58
T42<elros34> there is bit timestamp difference in your dmesg. Did you paste actual dmesg after you booted sfos or some old dmesg when you were playing with device?01:03
T42<ankaos> @elros34 [have you tried to flash hybris-boot.img manual …], now manuel install hybris-boot01:17
T42<ankaos> @elros34 [there is bit timestamp difference in your dmes …], sailfish os f2fs or ext4 used?01:20
T42<elros34> you must use ext4 for data partition but this is not important right now, your kernel is booting android according to your unclear log.01:22
T42<ankaos> https://paste.ubuntu.com/p/JXjMZB3Mk4/01:23
T42<ankaos> this config is open halium01:23
T42<elros34> so have you tried to get useful host dmesg once again after flashing hybris-boot.img?01:30
T42<ankaos> @elros34 [so have you tried to get useful host dmesg onc …], Yes install hybris-boot but ı dont der dmesg -w for sailfish os etc.01:47
T42<elros34> I don't understand. Do you still have android messages in log or no, paste your dmesg01:50
T42leewp14 was added by: leewp1403:39
T42smthebrain_gp was added by: smthebrain_gp09:19
piggz_mal: usbnet fixed10:44
T42<ankaos> @elros34 [I don't understand. Do you still have android …], kernel config has an error.11:15
malpiggz_: how?11:36
piggz_mal: some kernel configs .... im about to test with it narrowed down to 2...,11:39
piggz_CONFIG_USB_MUSB_HOST=n11:39
piggz_CONFIG_USB_MUSB_DUAL_ROLE=y11:39
malhmm, interesting11:46
deathmistpiggz_: makes sense, dual role allows it to use the peripheral USB mode as well instead of always defaulting to host mode like a desktop computer12:07
piggz_deathmist: yup12:08
piggz_hmmm, it was _just_ those options as its not working now12:13
deathmisthoping to get my mainline kernel stuff sorted out too and sent to LKML but I'd still prefer to have at least USB working on top of most basic stuff xD currently having issues with the power delivery, which should be handled by TCPM (type-C port manager) drivers there12:13
piggz_mal: deathmist: the kernel changes that finally solved it:13:45
piggz_CONFIG_USB_MUSB_HOST=n13:45
piggz_CONFIG_USB_MUSB_DUAL_ROLE=y13:46
piggz_CONFIG_USB_GADGET=y13:46
piggz_CONFIG_USB_CONFIGFS=y13:46
deathmistnice ^^14:09
deathmistdid `nemo` use to be always added to the `system` group before 3.3?14:18
T42<adampigg> yes i think so ... 3.3 added the new *system group14:21
deathmistguess I'll settle with adding nemo back to it on dhd post_install or whatever, doesn't look like `User=system` (or nemo for that matter) with `Group=system` in https://github.com/sailfishos-oneplus5/gesture-daemon/blob/master/config/gestured.service helped one bit in making the daemon work again lol (it can't write to /proc/touchpanel/*_enable that is owned by system:system)14:30
piggz_mal: the firewall issue we have on the Pro1 also exists on the pinephone.....15:05
piggz_i have to use15:05
piggz_iptables -I INPUT -j ACCEPT15:05
piggz_to be able to get a dhcp address, or to ssh in15:05
piggz_mal: i have a fix for the firewall/dhcp/usb issue on pro1/pinephone, but not sure how to fix propery18:23
piggz_so. i seek guidance :D18:24
malpiggz_: what kind of fix18:24
piggz_edit /etc/connman/main.con and remove usb from NetworkInterfaceBlacklist and18:24
piggz_edit /etc/usb-moded/dyn-modes/developer_mode-android.ini adn change rndis0 to usb018:24
piggz_thats it18:24
piggz_ /etc/usb-moded/dyn-modes/developer_mode-android.ini  comes from a jolla package and doesnt want to be removed without removing developer mode18:25
piggz_and the connan config is a system pacakge too18:26
piggz_and i cant see a way to override the values18:26
piggz_mal: thoughts? easy to see why it fixes it, current config assumes rndis0, not usb019:04
malI need to look at sources a bit19:04
piggz_k19:06
T42archi_dagac was added by: ankaos20:34
UmeaboyHi! Can someone please add the repo for the yoshino platform?22:34
UmeaboyOnly ganges exist for now.22:35
UmeaboyI'm following this guide which seems a little bit easier: https://sailfishos.org/wiki/Sailfish_X_Xperia_Android_9_Build_and_Flash22:36
UmeaboyYes, I do know that it's for Xperia 10, but it should be easily adaptable.22:36
UmeaboyAll I need is the yoshino platform at mer-hybris git.22:37
T42EnesSastim was added by: ankaos23:03
r0kk3rzUmeaboy: why do you need it at mer-hybris git?23:29
Umeaboyr0kk3rz: Well, how am I supposed to adapt it?23:34
r0kk3rzfork it to your github23:35
UmeaboyOK. Is that all it takes? What files do I need to change afterwards?23:35
r0kk3rzno idea23:35
r0kk3rzmaybe none of them23:35
r0kk3rzthat you will need to figure out23:36
UmeaboyOK.23:37
UmeaboyI'm on it.23:37
UmeaboyBtw..... the flash.sh script for i4113 does not let me passed the md5sum check no matter how I download the zip.23:38
UmeaboyAny way to disable that part?23:38
r0kk3rzi wouldnt23:38
UmeaboyWell, you have a working solution?23:38
UmeaboyIt says wrng md5sum and that I should download the file again. I did that at least 5 times.23:39
UmeaboyStill same result.23:39
r0kk3rzfigure out why, its not difficult23:39
UmeaboyI did check the md5sum for every file.23:40
r0kk3rzmd5 sum the file you get, download it again, md5 it again23:40
r0kk3rzif its the same both times, then its probably ok23:40
r0kk3rzbut thats an official port right?23:40
r0kk3rzthat you paid for23:40
UmeaboyYeah.23:40
UmeaboyAnd no.23:40
UmeaboySailfishX Free.23:41
r0kk3rzanyway, talk to jolla23:41
r0kk3rzits their image23:41
T42<birdzhang> seems latest targets on obs are 3.3.0.16 now23:49
r0kk3rzwoo23:49

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