Friday, 2023-05-12

T42<elros34> previous sfos porting attempts were based on older android but you still may find something useful for you:,
CarbontatedCaffeineThey've made a lot of changes and fixes that i'll never catch00:01
CarbontatedCaffeineI don't know how people catch such tiny things00:03
T42<b100dian> One at a time. You probably need juat initial mer kwrnwl check changes, don't try other stuff before you know you need it00:07
CarbontatedCaffeineAlright, it's finished00:17
CarbontatedCaffeinecompiling hybris-boot00:17
CarbontatedCaffeinesuccess, awesome00:19
CarbontatedCaffeinewelp now to create a new branch on github00:20
CarbontatedCaffeineit would be a shame to lose my progress00:24
CarbontatedCaffeinecool beans00:35
CarbontatedCaffeineOkay, I've changed the local manifest file, it should be safe for me to use " repo sync --fetch-submodules" now?00:41
CarbontatedCaffeineLineageOS/android_development: sleeping 4.0 seconds before retrying fatal: 'sync/LineageOS/android_development' does not appear to be a git repository fatal: Could not read from remote repository.  Please make sure you have the correct access rights and the repository exists.00:58
CarbontatedCaffeineIt won't sync anymore00:58
rdrthe github you are trying to reach does not exist *waves hands*01:01
rdrmaybe you mistyped the command?01:01
rdrotherwise I'd bet it's just a configuration thing01:01
CarbontatedCaffeinerepo sync --force-sync01:02
CarbontatedCaffeinethis is so annoying01:02
rdryeah git can be tedious until you master it01:02
CarbontatedCaffeineI just added a ssh key to github01:03
CarbontatedCaffeinecould that have done it?01:03
CarbontatedCaffeineCause before it was working fine01:04
rdrif it's a public repository the ssh key wont matter01:04
rdranyone has read access01:04
rdrunless this is a pull request or something01:04
CarbontatedCaffeinethen I have no idea why it's doing tis.01:05
rdrit sounds like you just want a public repo though01:05
CarbontatedCaffeine?xml version="1.0" encoding="UTF-8"?> <manifest> <project path="device/google/marlin" name="LineageOS/android_device_google_marlin" revision="lineage-18.1" /> <project path="kernel/google/marlin" name="carbonatedcaffeine/android_kernel_google_marlin" revision="hybris-18.1" /> </manifest>01:05
rdroh is this some program that downloads it for you nicely?01:06
CarbontatedCaffeineI'm using repo01:06
CarbontatedCaffeinepart of the docs01:06
rdroh okay, i dunno sorry01:07
rdri know git pretty good but not sure about what that xml is for01:07
CarbontatedCaffeineI swear, I'm this close to giving up. It's all these little things pushing me back01:07
rdryeah, you might need to try other things01:07
rdri remember the first time I tried to compile a program01:07
rdrtook YEARS to develop a strategy where I successfully did it01:08
rdrjust keep trying to develop your skills, maybe this project isn't in the cards right now, but I encourage you to keep trying at it01:09
CarbontatedCaffeinethis is all sshs fault01:10
rdroh, so it DOES use your credentials01:12
rdrssh shouldn't be required unless you are pushing to the repo I think01:12
rdrunless git uses ssh in the background for the connection?  idk01:12
CarbontatedCaffeineI can't delete them either01:15
CarbontatedCaffeineI hate this01:15
rdroh the nice thing about unix is you can delete anything01:15
CarbontatedCaffeineI'm gonna reset my computer01:16
CarbontatedCaffeineI can't be bothered figuring this all out01:16
CarbontatedCaffeineOh no01:18
CarbontatedCaffeinethe problem is I won't know how to get back to where I was01:19
CarbontatedCaffeinebut my setup for developing this port is so scuffed rn01:19
CarbontatedCaffeineidk what to do now01:21
CarbontatedCaffeineI think I'm going to give up now, I'm clearly not experienced enough01:23
rdraww poor guy01:33
rdrhopefully he comes back01:33
*** Danct12 is now known as Guest118904:36
CarbontatedCaffeineHello, I have moved OS and I had my local kernel manifest under my own repo, but it didn't clone it in kernel/google/marin.05:37
CarbontatedCaffeineit cloned the lineageOS repo instead05:37
CarbontatedCaffeinefatal: duplicate path kernel/google/marlin in /home/camden/hadk/.repo/manifest.xml05:57
CarbontatedCaffeineSorry, figured it out05:59
*** Danct12 is now known as Guest120809:02
T42<elros34> why do you even touch repo after cloning sources. you can use just plain git09:25
T42<elros34> if you still want to use 'repo' then  AFAIK you should not use fetch-submodules, see hadk-hot hybris-18 section09:28
CarbontatedCaffeineI fixed that stuff now anyway11:05
CarbontatedCaffeineI'm up to "7.1 Creating Repositories for a New Device"11:05
CarbontatedCaffeineand I'm currently getting "Fatal: 'google-marlin-armv7hl' is not a known build target"11:06
CarbontatedCaffeineI'm not sure why, I've made all of the repos and uploaded them11:06
CarbontatedCaffeineI think I had to edit stuff too right?11:06
malis your device really 32-bit?11:08
CarbontatedCaffeineThat's the thing I'm confused about11:08
CarbontatedCaffeinewhy is it reporting 32 bit?11:08
maldid you set PORT_ARCH to correct value?11:08
CarbontatedCaffeineJust to be clear, I haven't edited any files11:08
malin the .env file11:08
CarbontatedCaffeineI thought it was, but it's not picking up the env file11:09
CarbontatedCaffeineIt does when I use the ubuntu chroot11:09
CarbontatedCaffeinebut not using the platform sdk for some strange reason.11:09
maltry running command "hadk"11:10
CarbontatedCaffeinenot found11:10
CarbontatedCaffeineI use sfoss alias to get into it11:11
malthat should have been done in chapter 4.211:12
maltry exiting platform sdk and enter it again11:13
CarbontatedCaffeineokay, cool I think I got it, I'll give it another go.11:14
CarbontatedCaffeine"Fatal: 'google-marlin-aarch64' is not a known build target"11:15
CarbontatedCaffeineThat's better11:15
malso follow the instructions to create the target, note the instructions about naming mentioned in pdf, the wiki has different naming11:17
CarbontatedCaffeineI don't think this file name is correct11:18
CarbontatedCaffeine"so follow the instructions to create the target, note the instructions about naming mentioned in pdf, the wiki has different naming" Sorry, I'm not sure I completely understand11:19
malI meant creating the target in chapter 611:21
malnote the warning box in that chapter11:21
CarbontatedCaffeineOh, I already did this when I started11:22
maland you named the target correctly?11:22
CarbontatedCaffeinecamden@fedora hadk]$ sdk-assistant list SailfishOS-latest └─SailfishOS-latest-aarch64 [camden@fedora hadk]$11:22
malso you didn't read the warning box11:22
CarbontatedCaffeineThey should change the colour *laughs*11:23
CarbontatedCaffeineI'm not very observant am I?11:23
malI'm one of the people maintaining that pdf :)11:23
CarbontatedCaffeineOh, I think I've seen your name pop up then11:24
CarbontatedCaffeineAlrighty! Back on track, hopefully..11:26
CarbontatedCaffeineSomething always goes wrong though! :P11:26
CarbontatedCaffeineDoes it want me to change the kernel config again?11:30
malcheck the log file for errors11:39
malthose warnings from kernel checker are not critical, but it's likely there are some errors mentions in the log file11:41
malyou can then fix those in kernel defconfig and rebuild kernel in habuild_sdk, remember to run the commands before make hybris-boot11:41
CarbontatedCaffeineThe commands before11:46
CarbontatedCaffeine"source build/ export USE_CCACHE=1 breakfast $DEVICE"11:46
CarbontatedCaffeine"error: Bad exit status from /var/tmp/rpm-tmp.wY4vQk (%build)"11:49
CarbontatedCaffeineI can't find any errors before this11:49
malit says where the full log file is11:50
malthat droid-hal-marlin.log11:50
CarbontatedCaffeineI know11:50
CarbontatedCaffeineI'm reading it11:50
malshow the file then11:50
CarbontatedCaffeineI can't find the error in it11:50
malline 29611:52
CarbontatedCaffeineIt says "y" though..11:54
malmaybe just remove the check for that from the kernel checker11:55
CarbontatedCaffeineWhere is this?11:56
CarbontatedCaffeinein __data__11:58
CarbontatedCaffeineCool, now that works12:00
CarbontatedCaffeine"cp: cannot stat './out/target/product/marlin/hybris-updater-script': No such file or directory"12:00
CarbontatedCaffeineUhh let me search this up12:00
CarbontatedCaffeineI don't think it's included for some reason12:07
malare you missing boot partition from fstab12:20
malif it's missing that script is not installed12:20
maladd it there12:20
CarbontatedCaffeineI haven't the slightest clue12:20
malcheck the fstab in device repo12:21
CarbontatedCaffeineHuh, give me a second12:22
CarbontatedCaffeineit was told not to build I think?12:22
CarbontatedCaffeinecause it couldn't find it originally12:22
CarbontatedCaffeineI need to go through chat logs just to make sure what I'm saying is right12:22
maladd something like /dev/block/platform/soc/624000.ufshc/by-name/boot       /boot               emmc    defaults                    defaults12:23
malto fstab.common, then make hybris-hal again, then try again12:23
malbut before check the fstab somewhere in out/ that it looks ok12:24
CarbontatedCaffeineGive me a sec to process these instructions12:24
CarbontatedCaffeineso was this in fixup-mountpoints?12:25
CarbontatedCaffeineNo I get it now12:26
T42<elros34> just to be sure because missing hybris-updater-script is so common issue: do you search channel logs/read hadk-hot?12:26
CarbontatedCaffeineI have no idea what that is12:26
CarbontatedCaffeineOne thing at  a time12:28
CarbontatedCaffeinemal I added that to fs-tab12:28
CarbontatedCaffeineAlright lets read12:29
CarbontatedCaffeineIf they are not there and you are using old android base then 'make modules' (on hybris-18 use 'allmod') can help figuring out name of modules you need and build it like: 'make fstab.qcom ueventd.rc'. If there are no such modules or files are still not copied to out/ directory then do it manually. Read $ANDROID_ROOT/droid-hal-$DEVICE.log to confirm that mount units for /system and other partitions are created. If android's fstab d12:30
CarbontatedCaffeineThis one right here12:30
CarbontatedCaffeineI had issues with ueventd.qcom12:30
CarbontatedCaffeinethe other day12:30
CarbontatedCaffeineand I just removed it12:30
CarbontatedCaffeineI'm guessing I need fstab.common enabled in, correct?12:31
T42<elros34> don't guess, check what you have build in out12:32
CarbontatedCaffeine"FAILED: ninja: 'fstab.common', needed by 'hybris-hal', missing and no known rule to make it"12:34
maldid you check the files are in out or not?12:34
maldon't do anything before that12:34
T42<elros34> what are building? go to out/target/product/$device/root or something like that and check whether you have fstab and ueventd files there12:40
CarbontatedCaffeinefstab.marlin is in target/product/marlin/vendor/etc12:41
CarbontatedCaffeineueventd.rc is in target/product/marlin/vendor12:42
T42<elros34> looks sane? Are they found by droid-hal (check droid-hal-device.log)?12:42
CarbontatedCaffeinecp: cannot stat './out/target/product/marlin/apex/': No such file or directory cp: cannot stat './out/target/product/marlin/apex/': No such file or directory cp: cannot stat './out/target/product/marlin/apex/': No such file or directory cp: cannot stat './out/target/product/marlin/apex/
malCarbontatedCaffeine: wait, are you sure you have this line droid-hal spec
malthat "%define droid_target_aarch64 1"12:49
CarbontatedCaffeineEnabled now12:50
CarbontatedCaffeineStill the same thing12:52
malwhere did you add it to the file?12:53
CarbontatedCaffeinesimilar to that file12:54
malI said droid-hal spec, that looks like droid-hal-version spec12:55
maldroid-hal spec is in $ANDROID_ROOT/rpm/12:55
CarbontatedCaffeineSorry, I really never learn12:55
CarbontatedCaffeineStill the same thing12:57
malshow the spec file12:58
CarbontatedCaffeineIs there something I need to do generate these files>13:08
malseems ok, but still " -d" fails?13:08
malcan you check for those files it complains about in out?13:08
CarbontatedCaffeineYes, but not in the folder it's looking in..13:10
malwhere are those?13:10
malonly there?13:11
CarbontatedCaffeinewait, that's the right place13:11
CarbontatedCaffeinenah theres more13:11
CarbontatedCaffeinethey all seem to be right?13:12
CarbontatedCaffeineso far13:12
malnot really, that is in symbols folder13:12
malshow all where that file is13:12
CarbontatedCaffeinethat's gonna take me ages13:12
maljust use "find out/ -name"13:13
malthat should list all places that file is in out/13:13
T42<elros34> btw do you have android_version_major defined like in instruction?13:15
CarbontatedCaffeineI don't know13:15
CarbontatedCaffeineI have no idea13:15
CarbontatedCaffeineabout anything im doing13:15
T42<elros34> then no13:15
CarbontatedCaffeinewhere is this defined13:16
mallooks like your files are under system folder, add after this similar new entry as lines 653-656 but change the apex_path to be system/apex/
T42<elros34> learn to use instructions: hadk-hot: hybris-18 section13:17
T42<elros34> "Do not forget about android_version_major:"13:17
CarbontatedCaffeineToo much to read13:19
CarbontatedCaffeineit's overwhelming13:19
mal@elros34 we are not yet in droid-config build but good point anyway13:19
T42<elros34> yeah its not easy and straightforward, instructions are all over the places and outdated13:19
CarbontatedCaffeineit looks fine to me13:20
CarbontatedCaffeine"yeah its not easy and straightforward, instructions are all over the places and outdated" There's just so much stuff to miss if you get what I mean, you can't blink.13:20
T42<elros34> yes but you really need to start using channel search, it is all there really. So far there is really nothig new in your port13:22
CarbontatedCaffeine*shrug* I'm a beginner, I don't know that13:24
CarbontatedCaffeineOn my part, I probably should've asked about that much sooner13:25
malCarbontatedCaffeine: hmm, looks like the script needs some more changes13:26
malit removes the files you need13:26
CarbontatedCaffeineRAHHHH I just ditched the changes I made to my kernel13:26
CarbontatedCaffeineit was in a detached head13:26
CarbontatedCaffeineand I was going to push changes13:27
CarbontatedCaffeinebut now they're gone13:27
CarbontatedCaffeineThis really is hopeless13:27
maldid you have those committed?13:27
malmaybe git reflog can still show those13:27
CarbontatedCaffeineoh, there it is13:27
CarbontatedCaffeinehow do I get back to it13:30
malit should show the commit hash, use git cherry-pick with that13:31
CarbontatedCaffeineTruthfully, if I can't do this stuff on my own. Do you think I shouldn't be working on a port like this?13:33
CarbontatedCaffeine"it removes the files you need" Where is this?13:36
malcan you check if those out/target/product/marlin/system/apex/ are actual files and not symlinks13:41
CarbontatedCaffeineI can confirm it's not a symlink13:42
maldid you do that change yet like I asked13:45
CarbontatedCaffeineuhh, which :P13:46
malin the droid-hal-device.inc13:47
CarbontatedCaffeineI'm still figuring it out13:47
CarbontatedCaffeinedo I have both13:48
CarbontatedCaffeinelike I add that thing under it13:48
malyes, under it13:48
CarbontatedCaffeineabsolute symlink: /etc/udev/rules.d/60-persistent-v4l.rules -> /dev/null     absolute symlink: /usr/libexec/droid-hybris/system/bin/linker -> /apex/     absolute symlink: /usr/libexec/droid-hybris/system/bin/linker64 -> /apex/     absolute symlink: /usr/libexec/droid-hybris/system/bin/linker_asan -> /apex/     absolute symlink: /usr/libexec13:50
CarbontatedCaffeineI think that worked, but I don't know why13:50
CarbontatedCaffeineOh, we're adding system to the apex_path13:51
CarbontatedCaffeinemakes sense to me13:51
CarbontatedCaffeineOh I saw this13:52
CarbontatedCaffeineI think I can fix this myself13:52
CarbontatedCaffeine%define straggler_files \ /bugreports\ /cache\ /d\ /product\ /product_services\ /sdcard\ %{nil}13:52
CarbontatedCaffeinemore errors13:54
T42<CristianSW_JV> Hi all, just want to know is there any port for p3a xl? Don't find anything on the web. Thanks for answers and sorry for stupid question. Is planned any porting activity for Google devices ?13:56
CarbontatedCaffeineI'm porting Pixel XL currently13:56
T42<elros34> what is codename?13:57
T42<CristianSW_JV> Sargo and bonito, their hardware are identical , apart from screen14:00
T42<elros34> I think there were some attempts, sargo and bonito rings some bells14:00
CarbontatedCaffeineOh crap, I forgot to set android version14:01
T42<elros34> @CristianSW_JV search also here for codename: to figure out maintainer and ask him about status14:03
T42<CristianSW_JV> Thanks (re @elros34: @CristianSW_JV https...)14:06
CarbontatedCaffeineI can't find anything about my issue on the faq or hot14:09
malCarbontatedCaffeine: you added non-existent file to straggler_files list14:11
malthat /product_services14:11
malonly add files listed in the error here
CarbontatedCaffeineIt's done14:14
CarbontatedCaffeineit did it14:14
CarbontatedCaffeineconfig finished14:16
CarbontatedCaffeineIt's building libhybris currently14:18
CarbontatedCaffeineIs there any more tips you can give me while I wait14:18
Mister_MagisterCarbontatedCaffeine: your nickname sounds like what you need to port sfos14:20
CarbontatedCaffeineI drink coffee all the time, but as a 17 yo I really don't think I should14:20
CarbontatedCaffeineI drink only one a day14:21
Mister_Magistercoffee is a scam14:21
CarbontatedCaffeine*shrugs* it gets me through a little bit of the day14:22
CarbontatedCaffeinehere we are at 2am NZT14:22
CarbontatedCaffeineit's looking for something I've already built14:28
T42<elros34> hadk-hot: File /etc/ofono/binder.conf" or countless entires in channel logs14:31
CarbontatedCaffeinewhat does that mean lol14:35
CarbontatedCaffeineProvides: ofono-configs Obsoletes: ofono-configs-mer14:35
CarbontatedCaffeineI don't see the file I need to put this n14:35
CarbontatedCaffeineI need to sleep, I'll check logs in the morning14:39
CarbontatedCaffeineI'm exhausted14:39
*** amccarthy is now known as Guest124417:49
*** amccarthy_ is now known as amccarthy17:49
CarbontatedCaffeineHi, I'm looking for file droid-config-common.inc22:31
CarbontatedCaffeineI have a "" but not that one22:32
CarbontatedCaffeineI was able to do it by myself23:01
CarbontatedCaffeineI am now able to move onto the rootfs23:01
CarbontatedCaffeineall repos (I think) now up23:24
T42<bouic> I checked the commit but I don't understand how to do do the udev thing we mentioned for bootctl @adampigg.23:31
malCarbontatedCaffeine: why do you look for that file?23:32
CarbontatedCaffeineIt's fine, I figured it out23:32
CarbontatedCaffeineI actually forgot now, but it was to do with file conflicts23:32
CarbontatedCaffeineand I took more than one glance at hadk-hot this time23:33
CarbontatedCaffeineI fixed the issue with ofono and bluez23:33
malbtw, you should not push installroot and documentation.list to git, those are files/folders generated during build, I suggest adding this when removing those23:34
CarbontatedCaffeineI think I had to add those two lines about ofono, and then removed the versions of ofono and bluez that had the conflicting files and installed my ones23:34
CarbontatedCaffeine> you should not push installroot and documentation.list to git23:34
CarbontatedCaffeineI thought I told it not to push those, whoops23:34
malyou can check my fp4 repos for good .gitignore files23:35
malthis might also be good in droid-config spec
CarbontatedCaffeineSorry, which repo was this?23:36
CarbontatedCaffeineI can't seem to find the files23:36
CarbontatedCaffeineI don't think I pushed those files?23:37
CarbontatedCaffeineOh I did23:37
malyou seem to have pushed those with the ofono fix23:37
CarbontatedCaffeineCheers for catching that23:38
malyou forgot to remove those when adding the .gitignore23:38
CarbontatedCaffeineI was just removing them as you said that23:42
CarbontatedCaffeineThe coffee has very much helped this morning with my focus23:45
CarbontatedCaffeineAlso, what's with section 8.2? I didn't think that you'd be able to include that "content" anyway?23:46
malit's just there to make sure people understand what is ok to be in the images23:47
CarbontatedCaffeineAll good23:48
CarbontatedCaffeineI'm going to run " --mic"23:53
CarbontatedCaffeinewish me luck23:53

Generated by 2.17.1 by Marius Gedminas - find it at!