11:06
ungeskriptet has quit [Remote host closed the connection]
11:07
ungeskriptet has joined #msm8937-mainline
11:12
ungeskriptet has quit [Remote host closed the connection]
11:12
ungeskriptet has joined #msm8937-mainline
14:44
x0-9-f[m] has joined #msm8937-mainline
14:44
<
x0-9-f[m] >
could you please explain how to use generic device package or link where I can read? thanks
14:45
<
barni2000[m] >
1. clone pmaports repo
14:45
<
barni2000[m] >
2. cherry-pick the commits from the MR
14:45
<
barni2000[m] >
3. pmbootstrap -p <pmaports> init
14:46
<
barni2000[m] >
when it wants to build the kernel cancel it and go into chroot with pmbooststrap chroot -r
14:46
<
barni2000[m] >
install mrtest and use the built package from the MR
14:46
<
barni2000[m] >
and start pmbootstrap install again
14:48
<
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
14:49
<
barni2000[m] >
ofc 0. step is install lk2nd
14:49
<
barni2000[m] >
pmbootstrap flasher flash_lk2nd but it depends from the device
14:49
<
barni2000[m] >
xiaomi land needs custom build
15:01
<
x0-9-f[m] >
it seems I should use another git repo?
15:02
Andr[m] has joined #msm8937-mainline
15:02
<
Andr[m] >
there is no need for flasher flash_kernel
15:03
<
x0-9-f[m] >
but I don't understand how to switch to 6.11
15:03
<
Andr[m] >
you can skip/ignore pmbootstrap.py flasher flash_lk2nd if you have lk2nd already flashed
15:04
<
Andr[m] >
x0-9-f: do you use pmbootstrap 3.0 already?
15:05
<
x0-9-f[m] >
pmbootstrap.py --version
15:06
<
x0-9-f[m] >
oh my phone is redmi 4x
15:06
<
x0-9-f[m] >
santoni
15:07
<
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)
15:08
<
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)
15:13
<
barni2000[m] >
lk2nd build from msm8916-mainline release is fine
15:15
<
barni2000[m] >
Andr[m]: yes i will do it
15:17
<
barni2000[m] >
also i will remove other device pacakges because they are useless now
15:28
<
x0-9-f[m] >
<barni2000[m]> "> <@x0-9-f:matrix.org> I did..." <- do you mean execute git pull --rebase after switching? I did
15:29
<
barni2000[m] >
* why are you still using santoni package?
15:33
<
barni2000[m] >
if you modify the deviceinfo you should rebuild the device-pacakge
15:33
<
barni2000[m] >
and regenerate the images with pmbootstrap install
15:34
<
x0-9-f[m] >
barni2000[m]: what I should do? I don't know (
15:34
<
barni2000[m] >
choose qcom msm89x7 instead of xiaomi santoni
15:35
<
x0-9-f[m] >
[18:35:02] Vendor [xiaomi]: qcom
15:35
<
x0-9-f[m] >
[18:35:05] Available codenames (2): msm8909, msm8916
15:35
<
x0-9-f[m] >
[18:35:05] Device codename:
15:36
<
x0-9-f[m] >
next I chose msm8916 ? right?
15:36
<
barni2000[m] >
are you using -p
15:37
<
barni2000[m] >
* are you using -p?
15:40
<
barni2000[m] >
`-p <path where you clone pmaports>`
15:40
<
barni2000[m] >
s/clone/cloned/
15:43
<
x0-9-f[m] >
~/data/pmaports]
15:43
<
x0-9-f[m] >
└─$ git pull --rebase
15:43
<
x0-9-f[m] >
Already up to date.
15:44
<
barni2000[m] >
did you using latest pmbootstrap? there were a bug before
15:44
<
barni2000[m] >
s/were/was/
15:44
<
barni2000[m] >
s/did/are/, s/were/was/
15:47
<
barni2000[m] >
you can check logs where it is searching for the device packages
15:52
<
barni2000[m] >
i have updated the package now
16:11
<
barni2000[m] >
oh yeah clone the main pmaports
16:11
<
barni2000[m] >
git fetch "git@gitlab.postmarketos.org:barni2000/pmaports.git" '89x7-mainline'
16:11
<
barni2000[m] >
git checkout -b 'pmaports-89x7-mainline' FETCH_HEAD