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