ssten | does anyone here know how to get access to the OBS? (what are the requirements) | 05:58 |
---|---|---|
T42 | <adampigg> ping lbt | 06:14 |
ssten | aparently he doesn't hang on irc, I guess :) | 06:35 |
*** amccarthy is now known as Guest3696 | 07:02 | |
*** amccarthy_ is now known as amccarthy | 07:02 | |
T42 | <smatkovi> [sebastian@alienware13r3 ~]$ ubu-chroot -r $PLATFORM_SDK_ROOT/sdks/ubuntu | 19:07 |
T42 | <smatkovi> mount: /: not mount point or bad option. | 19:07 |
T42 | <smatkovi> dmesg(1) may have more information after failed mount system call. | 19:07 |
T42 | <smatkovi> mount_bind /var/run/dbus: None of these exists on your host - please report this bug | 19:07 |
T42 | <smatkovi> has anyone an idea why that could happen? | 19:07 |
mal | are you sure you have the environment variable correctly set? | 19:08 |
mal | that PLATFORM_SDK_ROOT | 19:08 |
mal | try "echo $PLATFORM_SDK_ROOT" | 19:09 |
T42 | <smatkovi> [sebastian@alienware13r3 ~]$ echo $PLATFORM_SDK_ROOT | 19:09 |
T42 | <smatkovi> /srv/sailfishos | 19:09 |
T42 | <smatkovi> i guess | 19:09 |
mal | so seems ok | 19:09 |
T42 | <smatkovi> i'm on fedora, maybe that's different^^ | 19:09 |
mal | should not matter | 19:09 |
mal | do you have things in multiple disks perhaps? | 19:10 |
T42 | <smatkovi> i have multiple partitions if you mean that | 19:10 |
T42 | <smatkovi> [sebastian@alienware13r3 ~]$ sfossdk | 19:14 |
T42 | <smatkovi> [sudo] password for sebastian: | 19:14 |
T42 | <smatkovi> Mounting system directories... | 19:14 |
T42 | <smatkovi> Mounting /srv/sailfishos/targets as /srv/mer/targets | 19:14 |
T42 | <smatkovi> Mounting /srv/sailfishos/toolings as /srv/mer/toolings | 19:14 |
T42 | <smatkovi> Mounting / as /parentroot | 19:15 |
T42 | <smatkovi> Mounting home directory: /home/sebastian | 19:15 |
T42 | <smatkovi> User hook mount_sdk | 19:15 |
T42 | <smatkovi> Entering chroot as sebastian | 19:15 |
T42 | <smatkovi> Last login: Wed Jun 21 19:03:29 UTC 2023 on pts/1 | 19:15 |
T42 | <smatkovi> ,--- | 19:15 |
T42 | <smatkovi> | Sailfish OS 4.5.0.18 (Struven ketju) | 19:15 |
T42 | <smatkovi> '--- | 19:15 |
T42 | <smatkovi> -bash: /home/sebastian/.hadk.env: No such file or directory | 19:15 |
T42 | <smatkovi> Env setup for | 19:15 |
T42 | <smatkovi> the missing .hadk.env could be the problem | 19:15 |
mal | yeah, add that | 19:15 |
mal | please use pastebin or similar service when pasting more than 3 lines | 19:15 |
T42 | <smatkovi> oh okay sry | 19:17 |
T42 | <smatkovi> do you know how to add .hadk.env by any chance? | 19:18 |
mal | hadk pdf says what it should contain | 19:18 |
mal | in chapter 4.1 | 19:19 |
T42 | <smatkovi> thanks :) | 19:20 |
T42 | <smatkovi> now it is workinig | 19:33 |
T42 | <smatkovi> does anyone know what i have to write in $DEVICE.xml on the line revision="stable/cm11.0" if i want to use lineageos 17.1? | 19:35 |
T42 | <smatkovi> i think i got it | 19:39 |
mal | @smatkovi you can find what it should contain by checking lineage.dependecies file in your device repo | 20:10 |
mal | and looking for same file in the repos mentioned in it | 20:10 |
T42 | <smatkovi> can this be a device repo: https://github.com/Galaxy-MSM8916/android_kernel_samsung_msm8916 ? | 20:13 |
mal | that is the kernel repo | 20:13 |
mal | which device are you porting? | 20:13 |
T42 | <smatkovi> samsung galaxy j5 2016 version or more specificly j510fn | 20:14 |
mal | you probably need couple of repos to the xml | 20:23 |
mal | need to first find which repo is the main one | 20:23 |
mal | @smatkovi check this https://github.com/Galaxy-MSM8916/local_manifests/blob/master/lineage-17.1.xml you need at least kernel, correct device repos (you can find 2016 j5 there in comments) and probably vendor repo also, the audio repo change is probably also relevant | 20:27 |
mal | you could of course just grab the whole file and just comment out the not needed device repos from it | 20:28 |
T42 | <smatkovi> oh cool, thank you very much :) | 20:28 |
T42 | <smatkovi> i have these two lines now: <project path="kernel/samsung/msm8916" name="Galaxy-MSM8916/android_kernel_samsung_msm8916" revision="lineage-17.1"/> | 21:07 |
T42 | <smatkovi> <project path="device/samsung/j5xnlte" name="Galaxy-MSM8916/android_device_samsung_j5xnlte" revision="lineage-17.1"/> but it says error: in `sync --fetch-submodules`: revision refs/tags/android-10.0.0_r41 in platform/cts not found | 21:07 |
T42 | <smatkovi> i also tried with stable/lineage-17.1 | 21:07 |
mal | try without --fetch-submodules | 21:10 |
T42 | <smatkovi> lol chatgpt suggest running the command without —fetch-submodules first and then with this flag | 21:10 |
T42 | <smatkovi> oh | 21:11 |
T42 | <smatkovi> it really works | 21:11 |
T42 | <smatkovi> thanks :) | 21:26 |
T42 | <smatkovi> it would be nice if it could compile from here on its own, but the guide doesn't suggest that unfortunately | 21:28 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!