-
How to port a new phone; Now I have the complete image package and official code of the phone. Can I repackage boot.img through ramdisk and then swipe in halium gsi img and rootfs to boot the machine to UT
-
-
-
-
@Lakotaubp Hi,I changed my account, Now I want to transplant a new mobile phone. May I ask how can I succeed as soon as possible if I have the source code and image package of this mobile phone? I read the documentation that Standalone kernel method can be used to implement the simplest solution. However, the introduction of the scheme is not detailed enough, my mobile phone is android12 (system) +android 10(vendor) combination, this is because Qualcomm proposed to understand the coupling. My idea is that at present, we can re-unpack our boot.img, and then package halium's ramdisk+halium GSI system img and UT's rootfs to complete this solution. Is my idea correct ?
-
Hi @Lakotaubp :
I have similar request, Now I have a android 10 device with its whole official code(kernel, vendor, system....etc).
After study the porting guide of UBports and Halium, it seems i can use kernel stand alone method to port ubuntu touch os right?
I have just merged the Halium kernel patch to my kernel source code, then rebuild the boot image.
However, i don't know what i should do next, as the porting guide steps, I should download the halium ramdisk, halium gsi, and UBPorts rootfs with the scripts from https://mirrors.lolinet.com/firmware/halium/GSI/ubports_GSI_installer_v10.zip.
But when i try to download them after download the patched boot image, i got fail resultThanks!
-
@holy Sorry I am of no use in these matters, I have not even thought about attempting it. You could try asking for help here though https://t.me/ubports_porting
-
@holy that halium-gsi image is super old and should not be used anymore.
You should take a look at the android 10 repos under https://gitlab.com/ubports/porting/community-ports
.You could clone a repo, which matches your device best. The adjust it to match your device configuration.
You need to apply kernel patches to your kernel, to make UT boot. You could also sneak into other kernel repos for that.And also follow:
https://docs.ubports.com/en/latest/porting/build_and_boot/H9_gitlab_build.html