Custom ROM frequently questions

From Bgzashtita Official wiki
Revision as of 04:57, 2 April 2023 by 37.29.178.247 (talk) (adding weebx clang and magisk module)
Jump to navigation Jump to search

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



How, where download latest version 1.Abril.2023 latest clang version 17:

1. If you want every time you run repo sync, then need create directory and there make local.yml

mkdir android/.repo/local_manifests
nano android/.repo/local_manifests/local.xml


<remote name="bgzashtita-clang"
                fetch="https://bgzashtita.es/git/android%22
                revision="17" />"
 <project path="prebuilts/clang/host/linux-x86/weebx-clang" name="android_prebuilts_clang_host_linux-x86_weebx_clang" remote="bgzashtita-clang" />


2. CD android/prebuilts/clang/host/linux-x86/

git clone https://bgzashtita.es/git/android/android_prebuilts_clang_host_linux-x86_weebx_clang.git

then follow " how to change clang version first question in this questions



magisk existing module

https://www.pling.com/p/1794976/