<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.bgzashtita.es/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=37.29.173.149</id>
	<title>Bgzashtita Official wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.bgzashtita.es/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=37.29.173.149"/>
	<link rel="alternate" type="text/html" href="https://wiki.bgzashtita.es/index.php?title=Special:Contributions/37.29.173.149"/>
	<updated>2026-11-20T11:10:29Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.bgzashtita.es/index.php?title=Custom_ROM_frequently_questions&amp;diff=17</id>
		<title>Custom ROM frequently questions</title>
		<link rel="alternate" type="text/html" href="https://wiki.bgzashtita.es/index.php?title=Custom_ROM_frequently_questions&amp;diff=17"/>
		<updated>2023-04-22T14:10:24Z</updated>

		<summary type="html">&lt;p&gt;37.29.173.149: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi I need donations to pay and help my mother gain money:&lt;br /&gt;
Much people&#039;s are asking how to solve this, and it take times to respond donate on Paypal: petur@bgzashtita.es&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
How to clone clang versión. For this first can try proton clang:&lt;br /&gt;
&lt;br /&gt;
cd android/prebuilts/clang/hosts/linux-x86/&lt;br /&gt;
&lt;br /&gt;
And then git clone --depth=1 https://github.com/kdrag0n/proton-clang&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When it is cloned. You need go to your android directory&lt;br /&gt;
&lt;br /&gt;
cd android/device/yourvendor/model/&lt;br /&gt;
And there edit Boardconfig.mk&lt;br /&gt;
&lt;br /&gt;
 # kernel&lt;br /&gt;
 TARGET_KERNEL_CLANG_PATH := $(shell pwd)/prebuilts/clang/host/linux-x86/proton-clang&lt;br /&gt;
&lt;br /&gt;
Save board config.mk and then try compile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
error: device/generic/opengl-transport/host/libs/virglrenderer/Android.bp:156:1: &amp;quot;libvirglrenderer_cuttlefish&amp;quot; depends on undefined module &amp;quot;cuttlefish_host_only&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
add this in local manifests file&lt;br /&gt;
 &amp;lt;remove-project name=&amp;quot;device/generic/opengl-transport&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Source: telegram custom ROM build&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
How, where download latest version 1.Abril.2023 latest clang version 17:&lt;br /&gt;
&lt;br /&gt;
1. If you want every time you run repo sync, then need create directory and there make local.yml&lt;br /&gt;
&lt;br /&gt;
 mkdir android/.repo/local_manifests&lt;br /&gt;
&lt;br /&gt;
 nano android/.repo/local_manifests/local.xml&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;remote name=&amp;amp;quot;bgzashtita-clang&amp;amp;quot;&lt;br /&gt;
                 fetch=&amp;amp;quot;https://bgzashtita.es/git/android&amp;amp;quot;&lt;br /&gt;
                 revision=&amp;amp;quot;17&amp;amp;quot; /&amp;amp;gt;&amp;amp;quot;&lt;br /&gt;
  &amp;amp;lt;project path=&amp;amp;quot;prebuilts/clang/host/linux-x86/weebx-clang&amp;amp;quot; name=&amp;amp;quot;android_prebuilts_clang_host_linux-x86_weebx_clang&amp;amp;quot; remote=&amp;amp;quot;bgzashtita-clang&amp;amp;quot; /&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. CD android/prebuilts/clang/host/linux-x86/&lt;br /&gt;
 git clone https://bgzashtita.es/git/android/android_prebuilts_clang_host_linux-x86_weebx_clang.git&lt;br /&gt;
&lt;br /&gt;
then follow &amp;quot; how to change clang version first question in this questions &lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
magisk existing module&lt;br /&gt;
&lt;br /&gt;
 https://www.pling.com/p/1794976/&lt;br /&gt;
&lt;br /&gt;
-------------------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hello,&lt;br /&gt;
&lt;br /&gt;
Is is possible to use dd command available under busybox when in recovery mode&lt;br /&gt;
to backup partitions?&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
Backup data partition:&lt;br /&gt;
 dd if=/dev/block/mmcblk0p26 of=/sdcard/data.img&lt;br /&gt;
&lt;br /&gt;
Restore data partition:&lt;br /&gt;
 dd if=/sdcard/data.img of=/dev/block/mmcblk0p26&lt;br /&gt;
&lt;br /&gt;
If yes, then what the needed mount commands to make the above work.&lt;br /&gt;
&lt;br /&gt;
The reason is that I have a problem with nandroid restore:&lt;br /&gt;
http://forum.xda-developers.com/showpost.php?p=14714800&amp;amp;postcount=319&lt;br /&gt;
&lt;br /&gt;
Note: similar command apparently works for flashing recovery&lt;br /&gt;
image (which is partition /dev/block/mmcblk0p21).&lt;br /&gt;
 &lt;br /&gt;
-------------------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
core: Makefile: shut the fuck up&lt;br /&gt;
&lt;br /&gt;
* silence wedge, I just wanna copy a prebuilt apk&lt;br /&gt;
&lt;br /&gt;
Silences annoying shit like&lt;br /&gt;
build/make/core/Makefile:49: warning: Prebuilt apk found in PRODUCT_COPY_FILES: vendor/xperia/proprietary/system/priv-app/Contacts/Contacts.apk:system/priv-app/Contacts/Contacts.apk, use BUILD_PREBUILT instead!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
core/Makefile&lt;br /&gt;
@@ -14,9 +14,6 @@ LOCAL_PATH := $(BUILD_SYSTEM)&lt;br /&gt;
#$(1): the src:dest pair&lt;br /&gt;
#$(2): the dest&lt;br /&gt;
define check-product-copy-files&lt;br /&gt;
 DELETE $(if $(filter-out $(TARGET_COPY_OUT_SYSTEM_OTHER)/%,$(2)), \&lt;br /&gt;
 DELETE  $(if $(filter %.apk, $(2)),$(warning \&lt;br /&gt;
 DELETE     Prebuilt apk found in PRODUCT_COPY_FILES: $(1), use BUILD_PREBUILT instead!))) \&lt;br /&gt;
$(if $(filter true,$(BUILD_BROKEN_VINTF_PRODUCT_COPY_FILES)),, \&lt;br /&gt;
  $(if $(filter $(TARGET_COPY_OUT_SYSTEM)/etc/vintf/% \&lt;br /&gt;
                $(TARGET_COPY_OUT_SYSTEM)/manifest.xml \&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-------------------------------------------------------------------------------------------------------------------------------------------------&lt;/div&gt;</summary>
		<author><name>37.29.173.149</name></author>
	</entry>
	<entry>
		<id>https://wiki.bgzashtita.es/index.php?title=Custom_ROM_frequently_questions&amp;diff=16</id>
		<title>Custom ROM frequently questions</title>
		<link rel="alternate" type="text/html" href="https://wiki.bgzashtita.es/index.php?title=Custom_ROM_frequently_questions&amp;diff=16"/>
		<updated>2023-04-22T14:09:20Z</updated>

		<summary type="html">&lt;p&gt;37.29.173.149: how to build with prebuilt&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi I need donations to pay and help my mother gain money:&lt;br /&gt;
Much people&#039;s are asking how to solve this, and it take times to respond donate on Paypal: petur@bgzashtita.es&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
How to clone clang versión. For this first can try proton clang:&lt;br /&gt;
&lt;br /&gt;
cd android/prebuilts/clang/hosts/linux-x86/&lt;br /&gt;
&lt;br /&gt;
And then git clone --depth=1 https://github.com/kdrag0n/proton-clang&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When it is cloned. You need go to your android directory&lt;br /&gt;
&lt;br /&gt;
cd android/device/yourvendor/model/&lt;br /&gt;
And there edit Boardconfig.mk&lt;br /&gt;
&lt;br /&gt;
 # kernel&lt;br /&gt;
 TARGET_KERNEL_CLANG_PATH := $(shell pwd)/prebuilts/clang/host/linux-x86/proton-clang&lt;br /&gt;
&lt;br /&gt;
Save board config.mk and then try compile&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
error: device/generic/opengl-transport/host/libs/virglrenderer/Android.bp:156:1: &amp;quot;libvirglrenderer_cuttlefish&amp;quot; depends on undefined module &amp;quot;cuttlefish_host_only&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
add this in local manifests file&lt;br /&gt;
 &amp;lt;remove-project name=&amp;quot;device/generic/opengl-transport&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Source: telegram custom ROM build&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
How, where download latest version 1.Abril.2023 latest clang version 17:&lt;br /&gt;
&lt;br /&gt;
1. If you want every time you run repo sync, then need create directory and there make local.yml&lt;br /&gt;
&lt;br /&gt;
 mkdir android/.repo/local_manifests&lt;br /&gt;
&lt;br /&gt;
 nano android/.repo/local_manifests/local.xml&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;remote name=&amp;amp;quot;bgzashtita-clang&amp;amp;quot;&lt;br /&gt;
                 fetch=&amp;amp;quot;https://bgzashtita.es/git/android&amp;amp;quot;&lt;br /&gt;
                 revision=&amp;amp;quot;17&amp;amp;quot; /&amp;amp;gt;&amp;amp;quot;&lt;br /&gt;
  &amp;amp;lt;project path=&amp;amp;quot;prebuilts/clang/host/linux-x86/weebx-clang&amp;amp;quot; name=&amp;amp;quot;android_prebuilts_clang_host_linux-x86_weebx_clang&amp;amp;quot; remote=&amp;amp;quot;bgzashtita-clang&amp;amp;quot; /&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. CD android/prebuilts/clang/host/linux-x86/&lt;br /&gt;
 git clone https://bgzashtita.es/git/android/android_prebuilts_clang_host_linux-x86_weebx_clang.git&lt;br /&gt;
&lt;br /&gt;
then follow &amp;quot; how to change clang version first question in this questions &lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
magisk existing module&lt;br /&gt;
&lt;br /&gt;
 https://www.pling.com/p/1794976/&lt;br /&gt;
&lt;br /&gt;
-------------------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hello,&lt;br /&gt;
&lt;br /&gt;
Is is possible to use dd command available under busybox when in recovery mode&lt;br /&gt;
to backup partitions?&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
Backup data partition:&lt;br /&gt;
 dd if=/dev/block/mmcblk0p26 of=/sdcard/data.img&lt;br /&gt;
&lt;br /&gt;
Restore data partition:&lt;br /&gt;
 dd if=/sdcard/data.img of=/dev/block/mmcblk0p26&lt;br /&gt;
&lt;br /&gt;
If yes, then what the needed mount commands to make the above work.&lt;br /&gt;
&lt;br /&gt;
The reason is that I have a problem with nandroid restore:&lt;br /&gt;
http://forum.xda-developers.com/showpost.php?p=14714800&amp;amp;postcount=319&lt;br /&gt;
&lt;br /&gt;
Note: similar command apparently works for flashing recovery&lt;br /&gt;
image (which is partition /dev/block/mmcblk0p21).&lt;br /&gt;
 &lt;br /&gt;
-------------------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
core: Makefile: shut the fuck up&lt;br /&gt;
&lt;br /&gt;
* silence wedge, I just wanna copy a prebuilt apk&lt;br /&gt;
&lt;br /&gt;
Silences annoying shit like&lt;br /&gt;
build/make/core/Makefile:49: warning: Prebuilt apk found in PRODUCT_COPY_FILES: vendor/xperia/proprietary/system/priv-app/Contacts/Contacts.apk:system/priv-app/Contacts/Contacts.apk, use BUILD_PREBUILT instead!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
core/Makefile&lt;br /&gt;
@@ -14,9 +14,6 @@ LOCAL_PATH := $(BUILD_SYSTEM)&lt;br /&gt;
#$(1): the src:dest pair&lt;br /&gt;
#$(2): the dest&lt;br /&gt;
define check-product-copy-files&lt;br /&gt;
DELETE $(if $(filter-out $(TARGET_COPY_OUT_SYSTEM_OTHER)/%,$(2)), \&lt;br /&gt;
DELETE  $(if $(filter %.apk, $(2)),$(warning \&lt;br /&gt;
DELETE     Prebuilt apk found in PRODUCT_COPY_FILES: $(1), use BUILD_PREBUILT instead!))) \&lt;br /&gt;
$(if $(filter true,$(BUILD_BROKEN_VINTF_PRODUCT_COPY_FILES)),, \&lt;br /&gt;
  $(if $(filter $(TARGET_COPY_OUT_SYSTEM)/etc/vintf/% \&lt;br /&gt;
                $(TARGET_COPY_OUT_SYSTEM)/manifest.xml \&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-------------------------------------------------------------------------------------------------------------------------------------------------&lt;/div&gt;</summary>
		<author><name>37.29.173.149</name></author>
	</entry>
</feed>