ChanServ changed the topic of #msm8937-mainline to: Boot Linux on your MSM8917/37/40 and QM215 mobile! | GitHub: https://github.com/msm89x7-mainline | Logs: https://oftc.irclog.whitequark.org/msm8937-mainline | Bridged to #msm8937-mainline:kde.org on Matrix
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #msm8937-mainline
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #msm8937-mainline
x0-9-f[m] has joined #msm8937-mainline
<x0-9-f[m]> could you please explain how to use generic device package or link where I can read? thanks
<barni2000[m]> 1. clone pmaports repo
<barni2000[m]> 2. cherry-pick the commits from the MR
<barni2000[m]> 3. pmbootstrap -p <pmaports> init
<barni2000[m]> when it wants to build the kernel cancel it and go into chroot with pmbooststrap chroot -r
<barni2000[m]> install mrtest and use the built package from the MR
<barni2000[m]> and start pmbootstrap install again
<barni2000[m]> 1 thing is missing for phosh, GSK_RENDER=gl without this it is going to crash and ig partition type also should be set to mbr
<barni2000[m]> ofc 0. step is install lk2nd
<barni2000[m]> pmbootstrap flasher flash_lk2nd but it depends from the device
<barni2000[m]> xiaomi land needs custom build
<x0-9-f[m]> it seems I should use another git repo?
Andr[m] has joined #msm8937-mainline
<Andr[m]> there is no need for flasher flash_kernel
<x0-9-f[m]> but I don't understand how to switch to 6.11
<Andr[m]> you can skip/ignore pmbootstrap.py flasher flash_lk2nd if you have lk2nd already flashed
<Andr[m]> x0-9-f: do you use pmbootstrap 3.0 already?
<x0-9-f[m]> pmbootstrap.py --version
<x0-9-f[m]> 3.0.0
<x0-9-f[m]> oh my phone is redmi 4x
<x0-9-f[m]> santoni
<Andr[m]> than you have to set partition_type to msdos in the deviceinfo file for your device (or the generic device) if it is not already done, to use mbr (as barni2000 mentioned)
<Andr[m]> * then you have to set partition_type to msdos in the deviceinfo file for your device (or the generic device) if it is not already done, to use mbr (as barni2000 mentioned)
<barni2000[m]> <x0-9-f[m]> "pmbootstrap.py flasher flash_lk2..." <- > <@x0-9-f:matrix.org> pmbootstrap.py flasher flash_lk2nd... (full message at <https://matrix.org/oftc/media/v1/media/download/AcsdmlClgxw4id6JImr0dmwfGp_8XcGncBpKBvidsh8hqFp9TUcUC7DoA74FIl8p4csCuEGxkfXWu6xL3ndXMTRCeTnIezPQAG1hdHJpeC5vcmcveXBvaFBGVmpWRWJiSkhOaWRETEZBSVZS>)
<barni2000[m]> lk2nd build from msm8916-mainline release is fine
<Andr[m]> barni2000: when you have time, could you rebase https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5693 and add the `partition_type`
<barni2000[m]> Andr[m]: yes i will do it
<barni2000[m]> also i will remove other device pacakges because they are useless now
<x0-9-f[m]> <barni2000[m]> "> <@x0-9-f:matrix.org> I did..." <- do you mean execute git pull --rebase after switching? I did
<barni2000[m]> * why are you still using santoni package?
<barni2000[m]> if you modify the deviceinfo you should rebuild the device-pacakge
<barni2000[m]> and regenerate the images with pmbootstrap install
<x0-9-f[m]> barni2000[m]: what I should do? I don't know (
<barni2000[m]> choose qcom msm89x7 instead of xiaomi santoni
<x0-9-f[m]> [18:35:02] Vendor [xiaomi]: qcom
<x0-9-f[m]> [18:35:05] Available codenames (2): msm8909, msm8916
<x0-9-f[m]> [18:35:05] Device codename:
<x0-9-f[m]> next I chose msm8916 ? right?
<barni2000[m]> no
<barni2000[m]> are you using -p
<barni2000[m]> * are you using -p?
<barni2000[m]> `-p <path where you clone pmaports>`
<barni2000[m]> s/clone/cloned/
<x0-9-f[m]> ~/data/pmaports]
<x0-9-f[m]> └─$ git pull --rebase
<x0-9-f[m]> Already up to date.
<barni2000[m]> did you using latest pmbootstrap? there were a bug before
<barni2000[m]> s/were/was/
<barni2000[m]> s/did/are/, s/were/was/
<barni2000[m]> you can check logs where it is searching for the device packages
<x0-9-f[m]> barni2000[m]: (139457) [18:49:41] % cd /home/ds/data/pmaports; git rev-parse --abbrev-ref HEAD... (full message at <https://matrix.org/oftc/media/v1/media/download/AX7vPt6fjAICPQAknfzHnDF4fO8wuohdBs4gje1_RySJ0azoiOD6DfyboVQt0sqfXTMp5a6pii4QDV_vyWvnAitCeTnKqKHQAG1hdHJpeC5vcmcvR1hxQURDeWdnSm1ic1BCT3R1aU11VFl2>)
<barni2000[m]> i have updated the package now
<barni2000[m]> oh yeah clone the main pmaports
<barni2000[m]> git fetch "git@gitlab.postmarketos.org:barni2000/pmaports.git" '89x7-mainline'
<barni2000[m]> git checkout -b 'pmaports-89x7-mainline' FETCH_HEAD
<barni2000[m]> mrtest add 5693
<barni2000[m]> you will need to go in 'chroot -r`
<barni2000[m]> s/'/`/
<x0-9-f[m]> <barni2000[m]> "you will need to go in 'chroot..." <- done, mrtest installed two packages, then I exit chrooot and run install again, error still there... (full message at <https://matrix.org/oftc/media/v1/media/download/ASUoTGjicG4KReRUAoYCBZ9pJKtdbCwb0QDrCBsRUqa3fcG_X7U8X_c5_PoXFtVjQx5KwTRoSwHQ3It2hFtA4x5CeTnWdWhgAG1hdHJpeC5vcmcvZGdLUnZQc3B0ZFR0YkdOS0ptdmpHSHdQ>)
<barni2000[m]> try 'apk fix' in chroot
<x0-9-f[m]> is it ok ?
<x0-9-f[m]> / # apk fix
<x0-9-f[m]> WARNING: opening /mnt/pmbootstrap/packages/edge: No such file or directory
<barni2000[m]> it is just a warning
<barni2000[m]> if you build a package with `pmbootstrap build <package_name>` that will create that dir
<barni2000[m]> but you don't need to build any packaga=e
<barni2000[m]> s/packaga=e/package/
<x0-9-f[m]> why it is try to build ERROR: Couldn't build aarch64/linux-postmarketos-qcom-msm89x7-6.10-r0.apk it is mustbe 6.11 isn't it?
<barni2000[m]> ERROR: You tried to add a non-repository package to system, but it would be lost on next reboot. Enable package caching (apk cache --help) or use --force-non-repository if you know what you are doing
<barni2000[m]> i have this when i am using mrtest
<barni2000[m]> `unzip download`
<barni2000[m]> no it is not right it is still want to build kernel
<x0-9-f[m]> barni2000[m]: > <@barni2000:matrix.org> `wget https://gitlab.postmarketos.org/barni2000/pmaports/-/jobs/1290055/artifacts/download`
<x0-9-f[m]> chrooted?
<x0-9-f[m]> > `unzip download`
<barni2000[m]> yes but it will not help because signing will be untrusted
<barni2000[m]> and install always want to reinstall the package
<barni2000[m]> so you need to build the kernel
<x0-9-f[m]> hmm but why still 6.10 ))
<barni2000[m]> do a pmbootstrap zap i think something left in your environment and that is why kernel package is failing to build
<x0-9-f[m]> there is the answer ))