Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android 8.1.0 display slow #1

Open
AhmedX6 opened this issue Mar 19, 2018 · 8 comments
Open

Android 8.1.0 display slow #1

AhmedX6 opened this issue Mar 19, 2018 · 8 comments

Comments

@AhmedX6
Copy link

AhmedX6 commented Mar 19, 2018

hello,

I flashed Android 8.1.0 on my Hikey960. The result is that I have a slow display.. probably, the hardware acceleration is not supported by the Kernel 4.4.

I would like to update the kernel. When I do it (with v4.9), the system is not booting anymore.

Do you have any solution on this ?

The kernel 4.9 is working well with Android P but I prefer Android 8.1.0 for my development.

@johnstultz-work
Copy link
Contributor

johnstultz-work commented Mar 19, 2018 via email

@AhmedX6
Copy link
Author

AhmedX6 commented Mar 19, 2018

Hello John,

Thank you for the reply.
In fact, the mater branch is working well. The master branch is pointing to an Android P version.
Android P is running on Kernel 4.9. There is no bug at all, problem is that we are not root on the image and it's difficult to develop on it because we cannot use adb.

I would like to follow this part of the Google Documentation to update the Kernel of Android 8.1.0 branch https://source.android.com/setup/devices
screenshot from 2018-03-19 15-43-47

But after doing it, it looks like the system is not booting anymore. Do you know what is wrong on this action?

Thanks for help.

@AhmedX6
Copy link
Author

AhmedX6 commented Mar 20, 2018

I finally resolved every problems with the master branch. Thank you for helping.

Do you know why when I try to build for aosp_car_arm64_userdebug I got errors for hikey ?

[  0% 62/16890] build out/target/product/generic_arm64/obj/ETC/sepolicy_tests_intermediates/sepolicy_tests
FAILED: out/target/product/generic_arm64/obj/ETC/sepolicy_tests_intermediates/sepolicy_tests 
/bin/bash -c "(out/host/linux-x86/bin/sepolicy_tests -l out/host/linux-x86/lib64/libsepolwrap.so 		 -f out/target/product/generic_arm64/obj/ETC/plat_file_contexts_intermediates/plat_file_contexts  -f out/target/product/generic_arm64/obj/ETC/vendor_file_contexts_intermediates/vendor_file_contexts  -p out/target/product/generic_arm64/obj/ETC/sepolicy_intermediates/sepolicy ) && (touch out/target/product/generic_arm64/obj/ETC/sepolicy_tests_intermediates/sepolicy_tests )"
The following types on /vendor/ must be associated with the "vendor_file_type" attribute: hal_vehicle_default_exec

[  0% 93/16890] //hardware/interfaces/radio/1.1:android.hardware.radio@1.1 clang++ android/hardware/radio/1.1/RadioAll.cpp
ninja: build stopped: subcommand failed.
16:34:30 ninja failed with: exit status 1

I am on Master branch
Hope I will get a solution.
Thank you for your help.

@AhmedX6
Copy link
Author

AhmedX6 commented Mar 20, 2018

I checked this repo https://github.com/HiKey960-Car/HiKey960-Car I would like to compile it. But there is no the envsetup on build folder. What are the steps to compile it properly and deploy it on my Hikey960 ?
I don't really know which is the best way to have a car HMI on my Hikey960.
Thanks for help

@johnstultz-work
Copy link
Contributor

johnstultz-work commented Mar 20, 2018 via email

@johnstultz-work
Copy link
Contributor

johnstultz-work commented Mar 20, 2018 via email

@AhmedX6
Copy link
Author

AhmedX6 commented Mar 20, 2018

Thank you for your answer.
Yes as I said to you, I tried with that repo but problem is that there is no the envsetup on build folder, like we can find on the google source code of Android on master branch. It's like it miss some scripts to get the lunch as it's expected and then run the build...
Could you please give a try on this repo ? At least just to prepare the build, to see if I'm missing something or not. I just cloned and did nothing else.

Thank you very much for your patience.

@1stpie
Copy link

1stpie commented May 8, 2018

i got this error too.
how can i resolve this FAIL?

[ 0% 62/16890] build out/target/product/generic_arm64/obj/ETC/sepolicy_tests_intermediates/sepolicy_tests
FAILED: out/target/product/generic_arm64/obj/ETC/sepolicy_tests_intermediates/sepolicy_tests
/bin/bash -c "(out/host/linux-x86/bin/sepolicy_tests -l out/host/linux-x86/lib64/libsepolwrap.so -f out/target/product/generic_arm64/obj/ETC/plat_file_contexts_intermediates/plat_file_contexts -f out/target/product/generic_arm64/obj/ETC/vendor_file_contexts_intermediates/vendor_file_contexts -p out/target/product/generic_arm64/obj/ETC/sepolicy_intermediates/sepolicy ) && (touch out/target/product/generic_arm64/obj/ETC/sepolicy_tests_intermediates/sepolicy_tests )"
The following types on /vendor/ must be associated with the "vendor_file_type" attribute: hal_vehicle_default_exec

[ 0% 93/16890] //hardware/interfaces/radio/1.1:android.hardware.radio@1.1 clang++ android/hardware/radio/1.1/RadioAll.cpp
ninja: build stopped: subcommand failed.
16:34:30 ninja failed with: exit status 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants