Custom ROM frequently questions: Difference between revisions

From Bgzashtita Official wiki
Jump to navigation Jump to search
improvement
adding more Android issue
Line 22: Line 22:




----------------------------------------------------------------------------------------------------
error: device/generic/opengl-transport/host/libs/virglrenderer/Android.bp:156:1: "libvirglrenderer_cuttlefish" depends on undefined module "cuttlefish_host_only"
Solution:
add this in local manifests file
<remove-project name="device/generic/opengl-transport" />
Source: telegram custom ROM build


----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------

Revision as of 17:00, 1 April 2023

Hi I need donations to pay and help my mother gain money: Much people's are asking how to solve this, and it take times to respond donate on Paypal: petur@bgzashtita.es


How to clone clang versión. For this first can try proton clang:

cd android/prebuilts/clang/hosts/linux-x86/

And then git clone --depth=1 https://github.com/kdrag0n/proton-clang


When it is cloned. You need go to your android directory

cd android/device/yourvendor/model/ And there edit Boardconfig.mk

# kernel
TARGET_KERNEL_CLANG_PATH := $(shell pwd)/prebuilts/clang/host/linux-x86/proton-clang

Save board config.mk and then try compile





error: device/generic/opengl-transport/host/libs/virglrenderer/Android.bp:156:1: "libvirglrenderer_cuttlefish" depends on undefined module "cuttlefish_host_only"

Solution: add this in local manifests file

<remove-project name="device/generic/opengl-transport" />

Source: telegram custom ROM build