I'm trying to port Ubuntu Touch for Xiaomi Redmi 5 (Rosy) using Halium-9.0 - Standalone kernel method
Kernel source: https://github.com/Subash-Baskaran/android_kernel_xiaomi_rosy.git Branch: lineage-17.1
Compilation Scrpit: (This Script) https://github.com/Subash-Baskaran/kernel_compilation_script_rosy
- I'm following the documentation https://docs.ubports.com/en/latest/porting/introduction/index.html
- Initializing the build process ./build.sh -b workdir
- Greeted with below error: https://github.com/Subash-Baskaran/kernel_compilation_script_rosy/blob/master/error1 This was sorted out by adding -no-integrated-as to the make command in ./build/build-kernel.sh
- Running the script again ./build.sh -b workdir throws new set of errors as below
- https://github.com/Subash-Baskaran/kernel_compilation_script_rosy/blob/master/error2
- This was sorted out by adding +$(objtree)/scripts/asn1_compiler: $(objtree)/scripts/asn1_compiler.c as specified in here https://patchwork.kernel.org/project/linux-kbuild/patch/1440666497-1420-1-git-send-email-p.fedin@samsung.com/
- Running the script again ./build.sh -b workdir surprises with below error.
- https://github.com/Subash-Baskaran/kernel_compilation_script_rosy/blob/master/error3
- For this error google decided not to help me out
I tried two build environment Ubuntu 18.04 and 20.04 installed in Virtualbox
Can anyone point me in right direction? that would great to me. Thank in advance!
Complete build log can be found here https://github.com/Subash-Baskaran/kernel_compilation_script_rosy/blob/master/complete_log.txt?raw=true