Open zfdx123 opened 1 year ago
you are wellcome @zfdx123 , i need more contributors, currently status is not boot yet because need something todo:
-- device tree still containing some warning i am not solved yet about graph & range
Techpack some Audio newer gki techpack contain not compiled code, need find correct one
still moree need more discussion like telegram
I used to have a ROM unpacking tool for reference https://github.com/zfdx123/k40-build-rom/ I have not been familiar with the vendor boot partition, but the vendor can be extracted from super, and simg2img can convert this img. Extract the vendor partition and then mount it or open the file in 7zip. In the project, it is also mentioned to understand the package and packaging methods, which can be referred to for reference
Dear developer, I wish you all the best
thanks for the tools, in aosp source we can build vendor.img from scratch but currently vendor source available is for lineageos something like that, not miui tree
so can that tool repacked again edited files vendor (after extract because read only) back to vendor.img or super.img thanks @zfdx123
for vendor_boot we can using tool by @cfig Android_boot_image_editor
based on google doc we need generated modules dep file, found a way in here for other machine instead host https://unix.stackexchange.com/questions/401138/kernel-compilation-generate-modules-dep-and-map-files
thanks for the tools, in aosp source we can build vendor.img from scratch but currently vendor source available is for lineageos something like that, not miui tree
so can that tool repacked again edited files vendor (after extract because read only) back to vendor.img or super.img thanks @zfdx123
for vendor_boot we can using tool by @cfig Android_boot_image_editor
I haven't tested it, but you can test it according to the relevant code, and I think it's OK.
based on google doc we need generated modules dep file, found a way in here for other machine instead host https://unix.stackexchange.com/questions/401138/kernel-compilation-generate-modules-dep-and-map-files
A tedious process.
ops i am using wrong kernel config fragment, i am using compliant version instead qgki or consolidate , someone in china forum give more detail about quallcomm gki & qgki for lahaina ..
This forum is very poor, a lot of content may be false.
no problem, the more resources the more we found proper way to implement that , can you help me for download this Gki pdf file like that apps need cn app social to download
I will send it to your email
here brother : rsoft3d@gmail.com
thanks
In order to avoid unnecessary trouble, it has been sent to your mailbox. Please check it carefully. The title is FORM zfdx123.
thanks @zfdx123 , the page still contain many cn language, but it still give me more clue what remaining needed,thanks
Perhaps you can learn Chinese, brother
Come on, hold onto contact here
thats good idea brother :)
wohoo the doc can be translated to EN. so it right module placement in vendor-boot.img
Does this mean that the system also needs to be refactored
i need to to more digging about that, how kernel + gki modules loaded into system instead built in like 4.19, hope it not needed refactoring
kernel is build and succes integrate all required module to vendor_boot next step to do replace module in vendor/lib/modules (based on xda gki load in two partition https://www.xda-developers.com/google-generic-kernel-image/)
next like ly we cannot use our bootloader CMD line because it designed to boot old kernel,we need force use kernel cmd line boot with full command
I suggest adding an armoops partition for easy access to the KP log
thank brother, still working on bring it
I've been waiting for your good news, brother.
i made update here brother, and working on 5.15 gki kernel for alioth https://t.me/aospdevqualcomm
and made a porting guide alioth kona 4.19 to 5.15 kernel in yt https://youtu.be/Guy_mShLUbs
First of all, thank you for porting the kernel. May I know the current status of the kernel and whether it is possible to start the device (alioth)
Thank you for your work, respected developer