mt8163 / android_device_amazon_karnak_old

Android device tree for the Amazon Fire HD8 2018
GNU General Public License v2.0
9 stars 0 forks source link

Ubuntu touch #21

Closed halium-on-cedric closed 4 years ago

halium-on-cedric commented 4 years ago

So i built ut for this tablet here is manifest


<manifest>
<remote name="mt8163" fetch="https://github.com/mt8163" revision="cm-14.1"/>
<project path="device/amazon/karnak" name="android_device_amazon_karnak" remote="mt8163"/>
<project path="kernel/amazon/karnak" name="android_kernel_amazon_karnak" remote="mt8163"/>
<project path="vendor/amazon/karnak" name="android_vendor_amazon_karnak" remote="mt8163"/>
<project path="device/amazon/mt8163-common" name="android_device_amazon_mt8163_common" remote="mt8163" revision="master"/>
</manifest>

but getting error 
that libhwbinder.so is not found
halium-on-cedric commented 4 years ago

Like this CANNOT LINK EXECUTABLE "/vendor/bin/hw/android.hardware.sensors@1.0-service-mediatek": library "libhwbinder.so" not found

488315 commented 4 years ago

Is ubports based on Linux?

488315 commented 4 years ago

And hmm you can try to delete that library during the build

halium-on-cedric commented 4 years ago

Yes ubports runs on linux kernel.

halium-on-cedric commented 4 years ago

And runs android in lxc for using hw like hwcomposer, audio etc

halium-on-cedric commented 4 years ago

But cant finde that lib in los 14

halium-on-cedric commented 4 years ago

butw what is android.hardware.sensors@1.0-service-mediatek?

488315 commented 4 years ago

Those are for lineage 16 interface libraries. I have pushed changes to the manifest and you can switch to cm 14.1 branch. https://github.com/mt8163/local_manifests/blob/cm-14.1/manifest.xml

halium-on-cedric commented 4 years ago

error: Cannot checkout android_device_amazon_mt8163_common: ManifestInvalidRevisionError: revision cm-14.1 in android_device_amazon_mt8163_common not found

halium-on-cedric commented 4 years ago

https://github.com/mt8163/android_device_amazon_mt8163_common there is no cm-14.1 branch

488315 commented 4 years ago

Just created it and make sure to remove vendor/Amazon /mt8163

halium-on-cedric commented 4 years ago

https://github.com/mt8163/android_device_amazon_mt8163_common/blob/master/mt8163-common.mk#L25 add \ at the end ig

halium-on-cedric commented 4 years ago
hello@Strangers-In-My-Network:~/h7a$ ls vendor/amazon
karnak

no vendor/amazon/mt8163

488315 commented 4 years ago

Ok cool

488315 commented 4 years ago

If you need me to test let me know

halium-on-cedric commented 4 years ago

https://github.com/mt8163/android_device_amazon_mt8163_common/blob/master/mt8163-common.mk#L25 error

halium-on-cedric commented 4 years ago

need to add \

halium-on-cedric commented 4 years ago

yep now all is better

halium-on-cedric commented 4 years ago

still no hwcomposer

2-26 17:47:42.605    46   276 E NetlinkListener: recvmsg failed (I/O error)
12-26 17:47:42.623     6    15 E NetlinkListener: recvmsg failed (I/O error)
12-26 17:47:43.672    31    31 I wmt_launcher: fw log ctrl flag has been set
12-26 17:47:43.672    31    31 I wmt_launcher: fw dynamic ctrl flag has been set
12-26 17:47:45.674    31    31 I wmt_launcher: fw log ctrl flag has been set
12-26 17:47:45.674    31    31 I wmt_launcher: fw dynamic ctrl flag has been set
12-26 17:47:47.676    31    31 I wmt_launcher: fw log ctrl flag has been set
12-26 17:47:47.677    31    31 I wmt_launcher: fw dynamic ctrl flag has been set
12-26 17:47:49.679    31    31 I wmt_launcher: fw log ctrl flag has been set
12-26 17:47:49.679    31    31 I wmt_launcher: fw dynamic ctrl flag has been set
12-26 17:47:51.681    31    31 I wmt_launcher: fw log ctrl flag has been set
12-26 17:47:51.681    31    31 I wmt_launcher: fw dynamic ctrl flag has been set
12-26 17:47:52.603    46   276 E NetlinkListener: recvmsg failed (I/O error)
12-26 17:47:52.621     6    15 E NetlinkListener: recvmsg failed (I/O error)
12-26 17:47:53.681    31    31 I wmt_launcher: fw log ctrl flag has been set
12-26 17:47:53.681    31    31 I wmt_launcher: fw dynamic ctrl flag has been set
12-26 17:47:55.683    31    31 I wmt_launcher: fw log ctrl flag has been set
12-26 17:47:55.683    31    31 I wmt_launcher: fw dynamic ctrl flag has been set
12-26 17:47:57.686    31    31 I wmt_launcher: fw log ctrl flag has been set
12-26 17:47:57.686    31    31 I wmt_launcher: fw dynamic ctrl flag has been set
12-26 17:47:59.688    31    31 I wmt_launcher: fw log ctrl flag has been set
12-26 17:47:59.688    31    31 I wmt_launcher: fw dynamic ctrl flag has been set
12-26 17:48:01.688    31    31 I wmt_launcher: fw log ctrl flag has been set
12-26 17:48:01.689    31    31 I wmt_launcher: fw dynamic ctrl flag has been set
12-26 17:48:02.605    46   276 E NetlinkListener: recvmsg failed (I/O error)
12-26 17:48:02.623     6    15 E NetlinkListener: recvmsg failed (I/O error)

in logcat

halium-on-cedric commented 4 years ago

may be NetlinkListener: recvmsg failed (I/O error) is main problem

halium-on-cedric commented 4 years ago

ouch no

halium-on-cedric commented 4 years ago
clock_gettime(CLOCK_MONOTONIC_COARSE, {499, 331160413}) = 0
clock_gettime(CLOCK_MONOTONIC_COARSE, {499, 331160413}) = 0
access("/odm/lib/hw/hwcomposer.mt8163.so", R_OK) = -1 ENOENT (No such file or directory)
access("/vendor/lib/hw/hwcomposer.mt8163.so", R_OK) = -1 ELOOP (Too many levels of symbolic links)
access("/system/lib/hw/hwcomposer.mt8163.so", R_OK) = -1 ENOENT (No such file or directory)
clock_gettime(CLOCK_MONOTONIC_COARSE, {499, 331160413}) = 0
access("/odm/lib/hw/hwcomposer.karnak.so", R_OK) = -1 ENOENT (No such file or directory)
access("/vendor/lib/hw/hwcomposer.karnak.so", R_OK) = -1 ELOOP (Too many levels of symbolic links)
access("/system/lib/hw/hwcomposer.karnak.so", R_OK) = -1 ENOENT (No such file or directory)
clock_gettime(CLOCK_MONOTONIC_COARSE, {499, 331160413}) = 0
access("/odm/lib/hw/hwcomposer.mt8163.so", R_OK) = -1 ENOENT (No such file or directory)
access("/vendor/lib/hw/hwcomposer.mt8163.so", R_OK) = -1 ELOOP (Too many levels of symbolic links)
access("/system/lib/hw/hwcomposer.mt8163.so", R_OK) = -1 ENOENT (No such file or directory)
clock_gettime(CLOCK_MONOTONIC_COARSE, {499, 331160413}) = 0
access("/odm/lib/hw/hwcomposer.default.so", R_OK) = -1 ENOENT (No such file or directory)
access("/vendor/lib/hw/hwcomposer.default.so", R_OK) = -1 ELOOP (Too many levels of symbolic links)
488315 commented 4 years ago

Do you have /vendor/lib/hw/hwcomposer.mt8163.so

halium-on-cedric commented 4 years ago

yay got hwcomposer

488315 commented 4 years ago

Ok cool do you have telegram?

halium-on-cedric commented 4 years ago

yes i do @lukapanio