Sunday, 2020-04-05

Nebrassy[m]I just did something out of desperation and I got camera, wifi and ril working00:00
Nebrassy[m]ln -s /vendor/firmware_mnt /firmware00:01
Nebrassy[m]ln -s /vendor/bt_firmware /bt_firmware00:01
Nebrassy[m]how'd I include this in source?00:01
Nebrassy[m]or should I just bind mount in fstab?00:04
*** Oksana_ is now known as Oksana00:37
T42<birdzhang> Nebrassy[m]: add them to your dcd01:01
deathmistNebrassy: those should be in your dhd sparse files like so: https://github.com/sailfishos-oneplus5/droid-hal-cheeseburger/blob/master/droid-hal-cheeseburger.spec#L16-L2106:28
deathmists/sparse/straggler/06:29
T42<birdzhang> oh, i gave him the wrong way06:29
deathmistit's fine :p adding them in dhd is just the right way since it should have complained about the straggler symlinks in out/.../root/ anyway during even first dhd build but the process for that is still broken for some reason06:39
T42<edp_17> @elros34 : I have tried to build the 3.3.0.14 version but got this error: "Error <creator>[04/04 20:17:06] : URLGrabber error: http://repo.merproject.org/obs/home:/elros34:/glibc/sailfishos_3.3.0.14/repodata/repomd.xml - e.errno: 14"07:33
T42<edp_17> Is it something the you need to create/add or I can force to use the previous 3.2.1.20?07:34
T42<edp_17> Of course I can amend this line : "http://repo.merproject.org/obs/home:/elros34:/glibc/sailfishos_%(release)/" in glibc.ini but am not sure this is the correct way.07:41
T42<birdzhang> there is not 3.3.0.14 target on obs afaik07:50
r0kk3rzyou shouldnt be trying to build 3.3 yet07:52
T42<edp_17> I just did one image for hammerhead. I am installing it onto the device.07:59
T42<edp_17> Two days ago I got a message on my XA2 about the new release available and I installed it.08:03
T42<edp_17> Then I thought I could build this and tried for both the S2 and Nexus5. The S2 has failed with that error. The image for the hammerhead has generated.08:04
T42<edp_17> If 3.3 was not available, the build for hammerhead would have failed too. No?08:05
T42<edp_17> Yes, you are right. The image is booted up but after the security code the initial setup stuck. 😃 Oh well, I thought the new version was available and hoped could build it.08:13
*** OhYash1 is now known as ohyash08:36
T42<elros34> @deathmist: that should be fixed in 3.3.008:46
T42<elros34> @edp_17 you would need to update your target, tooling and sdk then build glibc in your sdk, install it and build busybox. I already created branch for it in git.merproject.org/elros34/glibc and tried it on my device.08:49
T42<edp_17> Thanks @elros34, I'll try that.08:50
Nebrassy[m]now next thing is audio09:08
Nebrassy[m]https://paste.ubuntu.com/p/sK3gsTxzX7/09:08
Nebrassy[m]https://paste.ubuntu.com/p/JZm4932GKQ/09:08
Nebrassy[m]that tas2557_uCDSP problem could be relevant now09:20
Nebrassy[m]yup, most likely that and dbmd4_va_fw.bin09:25
Nebrassy[m]is it possible to make the load firmware script wait or stuff to be mounted?09:25
Nebrassy[m]also how can I switch between back and front camera?09:30
T42<birdzhang> tas2557_uCDSP, omg09:33
T42<birdzhang> put the bin file in your initramfs09:33
Nebrassy[m]haha, you had that too?09:34
T42<birdzhang> hybris/hybris-boot/initramfs/etc/firmware/09:34
T42<birdzhang> yeah, vince has that issue too09:35
T42<birdzhang> blame xiaomi. haha09:35
Nebrassy[m]also dbmd4_va_fw.bin ?09:35
T42<birdzhang> for vince, only tas2557_uCDSP.bin is enough09:36
T42<elros34> check wheteher you have CONFIG_FW_LOADER_USER_HELPER_FALLBACK enabled in zcat /proc/config.gz09:38
Nebrassy[m]sh-3.2# zcat /proc/config.gz | grep CONFIG_FW_LOADER_USER_HELPER_FALLBACK09:39
Nebrassy[m]CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y09:39
T42<elros34> ok, droid-load-firmware.sh should try to load tas2557 firmware again but it doesn't for some reason09:41
Nebrassy[m]oh it does try to load dbmd4_va_fw.bin again09:50
Nebrassy[m]just not tas255709:50
Nebrassy[m]unrelated but how do I get mtp to work, currently it works but cant see any files09:51
Nebrassy[m]my /sdcard is a symlink to /storage/self/primary, which doesn't exist09:51
T42<birdzhang> you can ignore it, sfos don't use /sdcard path10:02
Nebrassy[m]cool10:07
* Nebrassy[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/XokfOigwSSXBkJeveTSWReDo >10:07
T42<elros34> for sure disable vendor.time_daemon10:08
T42<birdzhang> disable all of them10:18
Nebrassy[m]@birdzhang nothing changed10:23
Nebrassy[m]sh-3.2# ls /etc/firmware10:23
Nebrassy[m]ls: cannot access /etc/firmware: No such file or directory10:23
Nebrassy[m]it is definitely in the ramdisk though10:23
T42<birdzhang> then ln -s /vendor/firmware /etc/firmware10:24
T42<elros34> why in ramdisk? put in somewhere in sparse and add that path to droid-load-firmware.sh10:24
Nebrassy[m]birdzhang: the problem is it tried to load it before vendor is mounted, otherwise it could just load it from vendor10:25
Nebrassy[m]@elros34 can you suggest a path to test on device?10:26
T42<birdzhang> try change to hybris-boot/initramfs//lib/firmware/10:26
T42<birdzhang> ubports on vince need this path10:27
T42<elros34> @Nebrassy any which is not already used (mounted or symlinked on your device) https://github.com/mer-hybris/droid-hal-configs/blob/master/sparse/usr/bin/droid/droid-load-firmware.sh#L310:27
Nebrassy[m]in ramdisk /lib/firmware worked, now we got audio10:33
Nebrassy[m]I guess I'll add it there in sparse10:33
T42<birdzhang> add to dcd sparse is not working for me10:34
Nebrassy[m]does sailfish support fingerprint?10:40
r0kk3rzNebrassy[m]: ish, i dont think ports do yet10:50
Nebrassy[m]great so I only need bluetooth currently10:51
Nebrassy[m]and camera quality10:51
Nebrassy[m]how do I switch between back and front camera?, back camera worked, I clicked the selfie tile, front worked, but I don't see how to switch back to back camera10:51
Nebrassy[m]to be sure, I should put it in sparse/usr/libexec/droid-hybris//lib/firmware ?11:18
T42<elros34> If you add such a path to droid-load-firmware.sh11:20
Nebrassy[m]I didn't need to do that, I just pushed the file to /lib/firmware11:20
Nebrassy[m]or put it in sparse/lib/firmware ?11:21
T42<elros34> so if it loads fine from /lib/firmware then add it there11:22
Nebrassy[m]ok11:22
malso it's not possible to build that problematic driver as module in kernel?11:26
Nebrassy[m]it's proprietary11:27
mal@birdzhang what did you mean by dcd sparse? I hope not the submodule sparse (dcd usually means the config repo submodule)11:28
deathmistDanct12: sorry for the late reply about ofono 4100 error causing no cellular data, but nope I've not even tried to fix it; I've been working on other projects since february and my working base is 15.1. that error among other new isuses came up with 16.0 for me11:28
malNebrassy[m]: so was it trying to load the firmware with correct name at any point during the boot?11:28
Nebrassy[m]mal: it only tries to load it before vendor is mounted11:30
maland there is no place in /sys where you could make it retry?11:30
Nebrassy[m]no idea11:30
mallook for anything related to the driver in there11:31
T42<birdzhang> mal: i mean droid-config-$DEVICE, not the upstream submodule11:32
malok11:32
T42<birdzhang> deathmist: on hybris 16.0, just install dummy_netd, all is fine ;)11:33
T42<birdzhang> https://github.com/mer-hybris/dummy_netd11:34
deathmistbirdzhang: meh, I may look into rebasing again later (hopefully 17.0 when that's ready). I tried a patched vendor netd binary earlier, it ran and some socket got creaated, but I still had the same issue11:43
Nebrassy[m]@danct12 does bluetooth work for you?12:30
Nebrassy[m]on lavender12:30
T42<RealDanct12> add bluebinder and it'll work13:45
T42<Nebrassy> @RealDanct12 [add bluebinder and it'll work], Is vhci needed too?13:46
T42<Nebrassy> @RealDanct12 [add bluebinder and it'll work], I picked your commit13:46
T42<RealDanct12> @Nebrassy [Is vhci needed too?], yes13:47
T42<Nebrassy> OK building13:48
T42<Nebrassy> What issues are there on lavender?13:48
T42<RealDanct12> dummy_netd is needed for mobile data13:48
T42<RealDanct12> and no gps13:49
T42<RealDanct12> ... i think that's it?13:49
T42<RealDanct12> oh and video recording doesn't seem to work13:49
T42<Nebrassy> On jasmeme it's just Bluetooth, and the web browser doesn't seem to render anything13:49
T42<Nebrassy> Haven't tried data13:50
T42<Nebrassy> What does the included bootctl do? Can I use it to change the slot?14:02
Nebrassy[m]adding stragglers didn't help14:26
Nebrassy[m]and bt still doesn't work14:30
Nebrassy[m]Apr 05 17:29:17 MiA2 kernel: bt_clk_enable: error - node: fffffffab5ef1800, clk->is_enabled:114:30
Nebrassy[m]Apr 05 17:29:17 MiA2 kernel: bluetooth_power: bt_power gpio config failed14:30
T42<Nebrassy> nvm stragglers14:34
T42<Nebrassy> @RealDanct12 [dummy_netd is needed for mobile data], And yup mobile data doesn't work, keep up the good work I shall be kanging you15:10
T42<RealDanct12> @Nebrassy [And yup mobile data doesn't work, keep up the …], we kang everyone's :)15:11
T42<Nebrassy> @RealDanct12 [we kang everyone's :)], Browser works for you?15:16
T42<RealDanct12> @Nebrassy [Browser works for you?], yes15:16
T42<RealDanct12> works just fine here15:16
T42<RealDanct12> if you adapted the adreno patch that is15:16
T42<Nebrassy> Which is that?15:17
T42<RealDanct12> @Nebrassy [Which is that?], https://github.com/sailfish-lavender/droid-hal-lavender/blob/master/droid-hal-lavender.spec#L19-L2115:17
T42<RealDanct12> if your browser is just some broken graphics stuff and crashes15:18
T42<RealDanct12> and also this is always needed on adreno devices15:18
T42<Nebrassy> I picked that commit, should I uncomment that line?15:18
T42<RealDanct12> don't uncomment anything, just put it exactly where it is15:20
T42<Nebrassy> I did15:20
T42<RealDanct12> also any define or whatever must be put before `%include rpm/dhd/droid-hal-device.inc`15:20
T42<RealDanct12> otherwise it wont be included15:20
T42<elros34> @Nebrassy hadk-faq have short instruction what you need to do after you add that define15:21
T42<Nebrassy> Oh wait, seems like I forgot something, I'll rebuild later15:22
T42<Nebrassy> @elros34 [@Nebrassy hadk-faq have short instruction what …], I'll check15:22
IpertatosHello everyone15:39
Ipertatoshttps://pastebin.com/EuiZ1Gvr15:41
Ipertatosi am porting sailfish on the j5lte and i have this error.15:41
Ipertatoshttps://github.com/markakisgeo/droid-hal-j5lte this is the repo i am working on15:43
T42<elros34> Ipertatos: check this https://github.com/mer-hybris/droid-hal-device/pull/26015:44
T42<edp_17> @elros34 : I have updated the tooling and now I am updating the sdk. How can I update the target? Will the 'sdk-assistant update $VENDOR-$DEVICE-$PORT_ARCH' update that? How can I check whether that is updated?15:45
T42<elros34> maybe, I never used this. I follow sdk wiki instruction ssu re. Make sure tooling is updated, check whether gcc -v in sb2 returns gcc815:48
T42<edp_17> I have done the following:15:48
Ipertatosthanks elros34!15:49
T42<edp_17> 1. in Platform, in $ANDROID_ROOT : 'sdk-assistant create SailfishOS-3.3.0.14 http://releases.sailfishos.org/sdk/targets/Sailfish_OS-3.3.0.14-Sailfish_SDK_Tooling-i486.tar.7z'15:49
T42<edp_17> 2. then 'sudo ssu re 3.3.0.14'15:49
T42<edp_17> 3. then 'sudo ssu re 3.3.0.14'15:49
T42<elros34> ah there is alread 3.3.0 target so that is easy15:49
T42<elros34> I have done it before it was available15:50
T42<edp_17> 3. then 'sudo zypper ref'15:51
T42<edp_17> 4. then 'sudo zypper dup'15:51
T42<edp_17> Now I need to update the target but I am not sure how.15:51
T42<elros34> if you created 3.3.0 target and tolling then there is no point to update it, right?15:51
T42<edp_17> Well, I have created 3.3.0 tooling but the target is still 'samsung-i9100-armv7hl'15:52
T42<edp_17> I should upgrade this too but I am not sure how.15:53
T42<elros34> I always remove target and tolling and create new because it's fastere than upgrading15:53
T42<edp_17> I have had tooling 3.2.1.20 and now created a new 3.3.0.14, this is not a problem. So you recommend to remove the target and create a new. Okay, thanks.15:54
T42<edp_17> The 'gcc -v' gives me: "gcc version 8.3.0 20190222 (Sailfish OS gcc 8.3.0-3) (Linaro GCC 8.2-2018.08~dev)"15:58
T42<edp_17> @elros34 : now all three (target, tooling, sdk) is updated. How can I build glibc in the sdk?15:59
T42<elros34> clone my repo with git --recurse; then build it: mb2 -s glibc.spec  -t $VENDOR-$DEVICE-armv7hl build --doprep -j116:02
T42<edp_17> Thanks, I'll try.16:02
T42<elros34> sorry, without -j116:02
T42<elros34> use v3.3.0 branch16:03
T42<edp_17> Okay. Thanks. I am building a new 3.3.0 image for the hammerhead first. Then I'll continue the S2. 😄16:05
T42<Nebrassy> @RealDanct12 [dummy_netd is needed for mobile data], How do I include that?18:11
vknecht@Nebrassy: generally, with rpm/dhd/helpers/build_packages.sh --mw=REPO18:24
T42<Nebrassy> Ah18:29
T42<Ori %lastname%> Hey guys19:40
T42<Ori %lastname%> I’m planning to buy Xperia x for sailfish os on aliexpress is aliexpress legit?19:40
T42<ankaos> Fwd from ankaos: Is there any interest for samsung s7 edge?19:49
T42<Ori %lastname%> @ankaos [Is there any interest for samsung s7 edge?], I want this phone xX20:03
T42<Ori %lastname%> XD20:03
T42<ankaos> Sailfish OS???20:05
T42<ankaos> 😅Use translate20:05
walidhmal: anbox check-features ---> You're running Anbox on a not yet supported architecture21:50
malwalidh: ask someone else, I don't use or develop anbox anymore22:01
malwalidh: birdzhang probably knows best those things now22:03
T42<hacker12455> is anbox for sailfish still being worked on?22:04
T42<edp_17> @elros34 : I have updated toolings, target and sdk for my hammerhead and ran the 'build_packages.sh' but I got: https://pastebin.com/CiBVdjUx22:35
T42<edp_17> What did I do wrong or missed?22:36
T42<edp_17> Do I need to update the sub modules?22:48
T42<elros34> you should if you still use upgrade-3.2.122:56
T42<edp_17> Yes, I still use that.22:56
T42<edp_17> All of them or is dhd enough?22:56
T42<elros34> droid-config also22:57
T42<edp_17> Thanks. And for dhd should I use master branch?22:58
T42<elros34> yes, as usually23:00
T42<edp_17> Thanks.23:41
T42<MariaEbersbacher> Never thought I could be earning from Bitcoin mining and forex trading, things has been awesome since I started investing with Mr  Amos Bauer I started with an initial capital of $1000 and I have made more than $10,000 in just 5 days, it can't get any better than this, I'm thankful23:56
T42<MariaEbersbacher> 💵Invest $500 and earn $3,50023:56
T42<MariaEbersbacher> 💵Invest $1,000 and Earn $7,00023:56
T42<MariaEbersbacher> 💵Invest $5,000 and Earn $35,00023:56
T42<MariaEbersbacher> 💵Invest $10,000 and Earn $70, 00023:56
T42<MariaEbersbacher> 💵Invest $15,000 and Earn $10,500023:56
T42<MariaEbersbacher> 💵Invest $20,000 and Earn $140,000 E.T.C23:56
T42<MariaEbersbacher> https://t.me/joinchat/AAAAAEeKU6TogTiMbqGj8g23:56

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