Hello there
Thanks for checking out my post.
This is the first time I'm doing any android/linux porting.
I figured I could try to port Ubuntu Touch to my HTC J Butterfly 3.
Also know as HTC HTV31 or HTC b3uhl.
I was lucky enough that someone had sources for LineageOS 16.0.
However after following the porting guide I got stuck at making mkbootimg.
The error I get is as follows:
build/make/core/droiddoc.mk:188: error: FindEmulator: find: `tools/metalava/manual': No such file or directory
22:28:23 ckati failed with: exit status 1
#### failed to build some targets (02:26 (mm:ss)) ####
I haven't noticed much wrong with my setup.
The only thing that seemed weird was when I ran
source build/envsetup.sh
As it gave me the following ouput:
including vendor/lineage/vendorsetup.sh
I expected a bit more lines and also some lines mentioning HTC or my specific model.
Another thing I tried was resyncing the repo and trying to apply those hybris patches as well.
However applying the pathes also didn't work and gave me another error...
Applying: (hybris) Fix __get_tls and related functions (>=Android 8)
error: libc/bionic/ndk_cruft.cpp: does not match index
error: libc/libc.arm.map: does not match index
error: libc/libc.arm64.map: does not match index
error: libc/libc.x86.map: does not match index
error: libc/private/__get_tls.h: does not match index
Patch failed at 0001 (hybris) Fix __get_tls and related functions (>=Android 8)
The copy of the patch that failed is found in: .git/rebase-apply/patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Don't worry, I aborted the operation so I should be on the original branch again.
But I don't know how to go from this.
I tried to look in that droiddoc.mk
file.
Apart from seeing something about metalava I couldn't make much from it.
Hopefully someone here can point me in the right direction again
Thanks again for reading this