Nebrassy[m] | I just did something out of desperation and I got camera, wifi and ril working | 00:00 |
---|---|---|
Nebrassy[m] | ln -s /vendor/firmware_mnt /firmware | 00:01 |
Nebrassy[m] | ln -s /vendor/bt_firmware /bt_firmware | 00: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 Oksana | 00:37 | |
T42 | <birdzhang> Nebrassy[m]: add them to your dcd | 01:01 |
deathmist | Nebrassy: 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-L21 | 06:28 |
deathmist | s/sparse/straggler/ | 06:29 |
T42 | <birdzhang> oh, i gave him the wrong way | 06:29 |
deathmist | it'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 reason | 06: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 afaik | 07:50 |
r0kk3rz | you shouldnt be trying to build 3.3 yet | 07: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 ohyash | 08:36 | |
T42 | <elros34> @deathmist: that should be fixed in 3.3.0 | 08: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 audio | 09: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 now | 09:20 |
Nebrassy[m] | yup, most likely that and dbmd4_va_fw.bin | 09: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, omg | 09:33 |
T42 | <birdzhang> put the bin file in your initramfs | 09: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 too | 09:35 |
T42 | <birdzhang> blame xiaomi. haha | 09:35 |
Nebrassy[m] | also dbmd4_va_fw.bin ? | 09:35 |
T42 | <birdzhang> for vince, only tas2557_uCDSP.bin is enough | 09:36 |
T42 | <elros34> check wheteher you have CONFIG_FW_LOADER_USER_HELPER_FALLBACK enabled in zcat /proc/config.gz | 09:38 |
Nebrassy[m] | sh-3.2# zcat /proc/config.gz | grep CONFIG_FW_LOADER_USER_HELPER_FALLBACK | 09:39 |
Nebrassy[m] | CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y | 09:39 |
T42 | <elros34> ok, droid-load-firmware.sh should try to load tas2557 firmware again but it doesn't for some reason | 09:41 |
Nebrassy[m] | oh it does try to load dbmd4_va_fw.bin again | 09:50 |
Nebrassy[m] | just not tas2557 | 09:50 |
Nebrassy[m] | unrelated but how do I get mtp to work, currently it works but cant see any files | 09:51 |
Nebrassy[m] | my /sdcard is a symlink to /storage/self/primary, which doesn't exist | 09:51 |
T42 | <birdzhang> you can ignore it, sfos don't use /sdcard path | 10:02 |
Nebrassy[m] | cool | 10: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_daemon | 10:08 |
T42 | <birdzhang> disable all of them | 10:18 |
Nebrassy[m] | @birdzhang nothing changed | 10:23 |
Nebrassy[m] | sh-3.2# ls /etc/firmware | 10:23 |
Nebrassy[m] | ls: cannot access /etc/firmware: No such file or directory | 10:23 |
Nebrassy[m] | it is definitely in the ramdisk though | 10:23 |
T42 | <birdzhang> then ln -s /vendor/firmware /etc/firmware | 10:24 |
T42 | <elros34> why in ramdisk? put in somewhere in sparse and add that path to droid-load-firmware.sh | 10:24 |
Nebrassy[m] | birdzhang: the problem is it tried to load it before vendor is mounted, otherwise it could just load it from vendor | 10: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 path | 10: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#L3 | 10:27 |
Nebrassy[m] | in ramdisk /lib/firmware worked, now we got audio | 10:33 |
Nebrassy[m] | I guess I'll add it there in sparse | 10:33 |
T42 | <birdzhang> add to dcd sparse is not working for me | 10:34 |
Nebrassy[m] | does sailfish support fingerprint? | 10:40 |
r0kk3rz | Nebrassy[m]: ish, i dont think ports do yet | 10:50 |
Nebrassy[m] | great so I only need bluetooth currently | 10:51 |
Nebrassy[m] | and camera quality | 10: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 camera | 10: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.sh | 11:20 |
Nebrassy[m] | I didn't need to do that, I just pushed the file to /lib/firmware | 11: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 there | 11:22 |
Nebrassy[m] | ok | 11:22 |
mal | so it's not possible to build that problematic driver as module in kernel? | 11:26 |
Nebrassy[m] | it's proprietary | 11: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 |
deathmist | Danct12: 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 me | 11:28 |
mal | Nebrassy[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 mounted | 11:30 |
mal | and there is no place in /sys where you could make it retry? | 11:30 |
Nebrassy[m] | no idea | 11:30 |
mal | look for anything related to the driver in there | 11:31 |
T42 | <birdzhang> mal: i mean droid-config-$DEVICE, not the upstream submodule | 11:32 |
mal | ok | 11: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_netd | 11:34 |
deathmist | birdzhang: 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 issue | 11:43 |
Nebrassy[m] | @danct12 does bluetooth work for you? | 12:30 |
Nebrassy[m] | on lavender | 12:30 |
T42 | <RealDanct12> add bluebinder and it'll work | 13: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 commit | 13:46 |
T42 | <RealDanct12> @Nebrassy [Is vhci needed too?], yes | 13:47 |
T42 | <Nebrassy> OK building | 13:48 |
T42 | <Nebrassy> What issues are there on lavender? | 13:48 |
T42 | <RealDanct12> dummy_netd is needed for mobile data | 13:48 |
T42 | <RealDanct12> and no gps | 13:49 |
T42 | <RealDanct12> ... i think that's it? | 13:49 |
T42 | <RealDanct12> oh and video recording doesn't seem to work | 13:49 |
T42 | <Nebrassy> On jasmeme it's just Bluetooth, and the web browser doesn't seem to render anything | 13:49 |
T42 | <Nebrassy> Haven't tried data | 13: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 help | 14:26 |
Nebrassy[m] | and bt still doesn't work | 14:30 |
Nebrassy[m] | Apr 05 17:29:17 MiA2 kernel: bt_clk_enable: error - node: fffffffab5ef1800, clk->is_enabled:1 | 14:30 |
Nebrassy[m] | Apr 05 17:29:17 MiA2 kernel: bluetooth_power: bt_power gpio config failed | 14:30 |
T42 | <Nebrassy> nvm stragglers | 14: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 you | 15: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?], yes | 15:16 |
T42 | <RealDanct12> works just fine here | 15:16 |
T42 | <RealDanct12> if you adapted the adreno patch that is | 15: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-L21 | 15:17 |
T42 | <RealDanct12> if your browser is just some broken graphics stuff and crashes | 15:18 |
T42 | <RealDanct12> and also this is always needed on adreno devices | 15: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 is | 15:20 |
T42 | <Nebrassy> I did | 15: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 included | 15:20 |
T42 | <elros34> @Nebrassy hadk-faq have short instruction what you need to do after you add that define | 15:21 |
T42 | <Nebrassy> Oh wait, seems like I forgot something, I'll rebuild later | 15:22 |
T42 | <Nebrassy> @elros34 [@Nebrassy hadk-faq have short instruction what …], I'll check | 15:22 |
Ipertatos | Hello everyone | 15:39 |
Ipertatos | https://pastebin.com/EuiZ1Gvr | 15:41 |
Ipertatos | i am porting sailfish on the j5lte and i have this error. | 15:41 |
Ipertatos | https://github.com/markakisgeo/droid-hal-j5lte this is the repo i am working on | 15:43 |
T42 | <elros34> Ipertatos: check this https://github.com/mer-hybris/droid-hal-device/pull/260 | 15: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 gcc8 | 15:48 |
T42 | <edp_17> I have done the following: | 15:48 |
Ipertatos | thanks 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 easy | 15:49 |
T42 | <elros34> I have done it before it was available | 15: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 upgrading | 15: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 -j1 | 16:02 |
T42 | <edp_17> Thanks, I'll try. | 16:02 |
T42 | <elros34> sorry, without -j1 | 16:02 |
T42 | <elros34> use v3.3.0 branch | 16: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=REPO | 18:24 |
T42 | <Nebrassy> Ah | 18:29 |
T42 | <Ori %lastname%> Hey guys | 19: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 xX | 20:03 |
T42 | <Ori %lastname%> XD | 20:03 |
T42 | <ankaos> Sailfish OS??? | 20:05 |
T42 | <ankaos> 😅Use translate | 20:05 |
walidh | mal: anbox check-features ---> You're running Anbox on a not yet supported architecture | 21:50 |
mal | walidh: ask someone else, I don't use or develop anbox anymore | 22:01 |
mal | walidh: birdzhang probably knows best those things now | 22: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/CiBVdjUx | 22: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.1 | 22: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 also | 22:57 |
T42 | <edp_17> Thanks. And for dhd should I use master branch? | 22:58 |
T42 | <elros34> yes, as usually | 23: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 thankful | 23:56 |
T42 | <MariaEbersbacher> 💵Invest $500 and earn $3,500 | 23:56 |
T42 | <MariaEbersbacher> 💵Invest $1,000 and Earn $7,000 | 23:56 |
T42 | <MariaEbersbacher> 💵Invest $5,000 and Earn $35,000 | 23:56 |
T42 | <MariaEbersbacher> 💵Invest $10,000 and Earn $70, 000 | 23:56 |
T42 | <MariaEbersbacher> 💵Invest $15,000 and Earn $10,5000 | 23:56 |
T42 | <MariaEbersbacher> 💵Invest $20,000 and Earn $140,000 E.T.C | 23:56 |
T42 | <MariaEbersbacher> https://t.me/joinchat/AAAAAEeKU6TogTiMbqGj8g | 23:56 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!