Custom rom derlerken repo init komutu çalışmıyor

Bu arada revision yazan kısımlarda lineage-22.1 yazıyordu onu VoltageOS derlediğim için 15-qpr1 ile değiştirdim. Bu konulara çok hakim olmadığım için doğru birşeymi yaptım bilmiyorum.

<?xml version="1.0" encoding="UTF-8"?>
<manifest>

    <project name="dmXq-development/android_device_samsung_sm8550-common" path="device/samsung/sm8550-common" remote="github" revision="15-qpr1" />
    <project name="dmXq-development/android_device_samsung_dm1q" path="device/samsung/dm1q" remote="github" revision="15-qpr1" />
    <project name="dmXq-development/android_device_samsung_dm2q" path="device/samsung/dm2q" remote="github" revision="15-qpr1" />
    <project name="dmXq-development/android_device_samsung_dm3q" path="device/samsung/dm3q" remote="github" revision="15-qpr1" />

    <project name="dmXq-development/proprietary_vendor_samsung_sm8550-common" path="vendor/samsung/sm8550-common" remote="github" revision="15-qpr1" clone-depth="1" />
    <project name="dmXq-development/proprietary_vendor_samsung_dm1q" path="vendor/samsung/dm1q" remote="github" revision="15-qpr1" clone-depth="1"/>
    <project name="dmXq-development/proprietary_vendor_samsung_dm2q" path="vendor/samsung/dm2q" remote="github" revision="15-qpr1" clone-depth="1"/>
    <project name="dmXq-development/proprietary_vendor_samsung_dm3q" path="vendor/samsung/dm3q" remote="github" revision="15-qpr1" clone-depth="1"/>

    <project name="dmXq-development/android_kernel_samsung_sm8550" path="kernel/samsung/sm8550" remote="github" revision="android15-stable" clone-depth="1"/>
    <project name="dmXq-development/android_kernel_samsung_sm8550-devicetrees" path="kernel/samsung/sm8550-devicetrees" remote="github" revision="android15-stable" clone-depth="1" />
    <project name="dmXq-development/android_kernel_samsung_sm8550-modules" path="kernel/samsung/sm8550-modules" remote="github" revision="android15-stable" clone-depth="1" />

    <project name="dmXq-development/android_hardware_samsung" path="hardware/samsung" remote="github" revision="15-qpr1"/>

</manifest>

remote=github kisimlarini silip sansimizi deneyelim, olmazsa github icin entry eklememiz gerekecek.

Bu aralar meşgul olacağım için custom rom derleme işine devam edemiyeceğim. Yardım ettiğiniz için hepinize teşekkür ederim.

Güncelleme: Şu an meşgul olmadığım için Miku UI derlemeye karar verdim. Herşey sorunsuz geçti, localmanifest dosyayını oluşturup tekrar repo sync yaptım fakat lunch miku_Vampire_v2-dm3q-user komutunu çalıştırdığımda ‘miku_Vampire_v2’ adında makefile olmadığını söylüyor. Rom adını neye göre yazacağım?

Romdan roma lunch komutu değişiyormuş sanırım. Manifest sayfasında lunch miku_[codename]-[release]-[build type] yazıyor fakat çözemedim.

Hata:

[pisipapi@archlinux nrom]$ lunch miku_Vampire_v2-dm3q-user
In file included from build/make/core/config.mk:394:
In file included from build/make/core/envsetup.mk:55:
build/make/core/version_util.mk:167: error: Argument missing.
17:07:49 dumpvars failed with: exit status 1
Device Vampire_v2 not found. Attempting to retrieve device repository from Diva-Room Github (http://github.com/Diva-Room).
Repository for Vampire_v2 not found in the Diva-Room Github repository list.
If this is in error, you may need to manually add it to your .repo/local_manifests/diva.xml
In file included from build/make/core/config.mk:394:
In file included from build/make/core/envsetup.mk:55:
build/make/core/version_util.mk:167: error: Argument missing.
17:07:50 dumpvars failed with: exit status 1
In file included from build/make/core/config.mk:394:
In file included from build/make/core/envsetup.mk:351:
build/make/core/product_config.mk:226: error: Cannot locate config makefile for product "miku_Vampire_v2".
17:07:51 dumpvars failed with: exit status 1

** Don't have a product spec for: 'miku_Vampire_v2'
** Do you have the right repo manifest?
2 Likes
lunch lineage_dm3q-ap3a-user

Şeklinde deneyin. Olmazsa çıktıyı atmanızı rica edeceğim, config’de küçük bir değişiklik yapmamız gerekbilir.

1 Like

Yine aynı hata. localmanifest dosyasındaki revision satırı ile ilgili olabilirmi acaba?

In file included from build/make/core/config.mk:394:
In file included from build/make/core/envsetup.mk:55:
build/make/core/version_util.mk:167: error: Argument missing.
20:27:20 dumpvars failed with: exit status 1
Device dm3q not found. Attempting to retrieve device repository from Diva-Room Github (http://github.com/Diva-Room).
Repository for dm3q not found in the Diva-Room Github repository list.
If this is in error, you may need to manually add it to your .repo/local_manifests/diva.xml
In file included from build/make/core/config.mk:394:
In file included from build/make/core/envsetup.mk:55:
build/make/core/version_util.mk:167: error: Argument missing.
20:27:21 dumpvars failed with: exit status 1
In file included from build/make/core/config.mk:394:
In file included from build/make/core/envsetup.mk:351:
build/make/core/product_config.mk:226: error: Cannot locate config makefile for product "lineage_dm3q".
20:27:22 dumpvars failed with: exit status 1

** Don't have a product spec for: 'lineage_dm3q'
** Do you have the right repo manifest?

ls device/samsung/dm3q

Yaptiginizda ne cikti aliyorsunuz?

1 Like

dm3q klasörü sadece vendor/samsung da var.

ls: cannot access 'device/samsung/dm3q': No such file or directory

Gerekli repo’lar indirilmemis, repo sync -j1 --fail-fast komutu ile deneyelim, manifest dosyasini duzenlememiz gerekecek gibi gorunuyor.

1 Like

bu hatayı veriyor. Miku_kernel_xiaomı_wayne yanlışlıkla lunch miku_wayne kullandığım için indiriyor sanırım.

fatal: early EOF
fatal: fetch-pack: invalid index-pack output
error: Cannot fetch Miku_kernel_xiaomi_wayne from https://github.com/Diva-Room/Miku_kernel_xiaomi_wayne
Fetching:   0% (1/371), done in 3m33.553s
error: Exited sync due to fetch errors.
Local checkouts *not* updated. Resolve network issues & retry.
`repo sync -l` will update some local checkouts.
================================================================================
Repo command failed due to the following `SyncFailFastError` errors:
GitCommandError: 'fetch --quiet --progress caf --prune --recurse-submodules=no --tags +refs/heads/*:refs/remotes/caf/* +refs/tags/LA.UM.10.3.r1-01700-sdm845.0:refs/tags/LA.UM.10.3.r1-01700-sdm845.0 +refs/tags/*:refs/tags/*' on platform/external/ant-wireless/ant_client failed
stdout: fatal: unable to access 'https://git.codelinaro.org/clo/la/platform/external/ant-wireless/ant_client/': The requested URL returned error: 502
GitCommandError: 'fetch --quiet --progress diva --prune --recurse-submodules=no --tags +refs/heads/*:refs/remotes/diva/* +refs/heads/Vampire_v2:refs/remotes/diva/Vampire_v2 +refs/tags/*:refs/tags/*' on Miku_kernel_xiaomi_wayne failed
stdout: remote: Enumerating objects: 7281793        
GitCommandError: 'fetch --quiet --progress diva --prune --recurse-submodules=no --tags +refs/heads/*:refs/remotes/diva/* +refs/heads/Vampire_v2:refs/remotes/diva/Vampire_v2 +refs/tags/*:refs/tags/*' on Miku_kernel_xiaomi_wayne failed
stdout: remote: Enumerating objects: 7281793  

Lunch komutunu girip brunch dm3q komutuna kadar gelmeyi başardım fakat aşağıdaki hatayı veriyor. Github sayfasında yapmamı söylediği make bacon komutunuda girdim fakat sonuç aynı. Yine gerekli repolar indirilmemiş olabilir sanırım.

19:17:17 ************************************************************
vendor/lineage/config/bootanimation.mk:18: warning: TARGET_BOOT_ANIMATION_RES is invalid or undefined, using generic bootanimation
==========================================================================
* ╭━━━╮╱╱╱╱╱╱╱╱╱╱╱╭╮╱╭━━━╮╱╱╭╮                                            
* ┃╭━╮┃╱╱╱╱╭╮╱╱╱╱╭╯╰╮┃╭━╮┃╱╱┃┃                                            
* ┃╰━╯┣━┳━━╋╋━━┳━┻╮╭╯┃╰━━┳━━┫┃╭┳╮╭┳━┳━━╮                                  
* ┃╭━━┫╭┫╭╮┣┫┃━┫╭━┫┃╱╰━━╮┃╭╮┃╰╯┫┃┃┃╭┫╭╮┃                                  
* ┃┃╱╱┃┃┃╰╯┃┃┃━┫╰━┫╰╮┃╰━╯┃╭╮┃╭╮┫╰╯┃┃┃╭╮┃                                  
* ╰╯╱╱╰╯╰━━┫┣━━┻━━┻━╯╰━━━┻╯╰┻╯╰┻━━┻╯╰╯╰╯                                  
* ╱╱╱╱╱╱╱╱╭╯┃                                                             
* ╱╱╱╱╱╱╱╱╰━╯                                                             
* WELCOME TO PROJECT SAKURA                                               
==========================================================================
SAKURA_VERSION=ProjectSakura-10.0-20250312-VANILLA-dm3q-UNOFFICIAL
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=15
TARGET_PRODUCT=lineage_dm3q
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv9-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
BUILD_ID=AP4A.250205.002
OUT_DIR=out
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.13.6-zen1-1-zen-x86_64-Arch-Linux
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
PRODUCT_SOONG_NAMESPACES=device/samsung/dm3q device/samsung/sm8550-common hardware/google/interfaces hardware/google/pixel hardware/qcom-caf/common/libqti-perfd-client hardware/samsung kernel/samsung/sm8550 kernel/samsung/sm8550-modules bootable/deprecated-ota vendor/qcom/opensource/usb/etc vendor/samsung/sm8550-common vendor/samsung/dm3q hardware/qcom-caf/sm8550 vendor/qcom/opensource/commonsys/display vendor/qcom/opensource/commonsys-intf/display hardware/qcom-caf/sm8550/data-ipa-cfg-mgr vendor/qcom/opensource/dataservices hardware/qcom-caf/wlan
=========================================================================

Environment variable TARGET_BUILD_VARIANT was modified (user => userdebug), regenerating...
vendor/lineage/config/bootanimation.mk:18: warning: TARGET_BOOT_ANIMATION_RES is invalid or undefined, using generic bootanimation

Adding CUSTOM_LOCALES [ast_ES gd_GB cy_GB fur_IT] to PRODUCT_LOCALES [en_US en_US af_ZA am_ET ar_EG ar_XB as_IN az_AZ be_BY bg_BG bn_BD bs_BA ca_ES cs_CZ da_DK de_DE el_GR en_AU en_CA en_GB en_IN en_XA es_ES es_US et_EE eu_ES fa_IR fi_FI fr_CA fr_FR gl_ES gu_IN hi_IN hr_HR hu_HU hy_AM in_ID is_IS it_IT iw_IL ja_JP ka_GE kk_KZ km_KH kn_IN ko_KR ky_KG lo_LA lt_LT lv_LV mk_MK ml_IN mn_MN mr_IN ms_MY my_MM nb_NO ne_NP nl_NL or_IN pa_IN pl_PL pt_BR pt_PT ro_RO ru_RU si_LK sk_SK sl_SI sq_AL sr_Latn_RS sr_RS sv_SE sw_TZ ta_IN te_IN th_TH tl_PH tr_TR uk_UA ur_PK uz_UZ vi_VN zh_CN zh_HK zh_TW zu_ZA en_XC]
[100% 1/1] initializing legacy Make module parser ...
vendor/lineage/config/bootanimation.mk:18: warning: TARGET_BOOT_ANIMATION_RES is invalid or undefined, using generic bootanimation
Adding CUSTOM_LOCALES [ast_ES gd_GB cy_GB fur_IT] to PRODUCT_LOCALES [en_US en_US af_ZA am_ET ar_EG ar_XB as_IN az_AZ be_BY bg_BG bn_BD bs_BA ca_ES cs_CZ da_DK de_DE el_GR en_AU en_CA en_GB en_IN en_XA es_ES es_US et_EE eu_ES fa_IR fi_FI fr_CA fr_FR gl_ES gu_IN hi_IN hr_HR hu_HU hy_AM in_ID is_IS it_IT iw_IL ja_JP ka_GE kk_KZ km_KH kn_IN ko_KR ky_KG lo_LA lt_LT lv_LV mk_MK ml_IN mn_MN mr_IN ms_MY my_MM nb_NO ne_NP nl_NL or_IN pa_IN pl_PL pt_BR pt_PT ro_RO ru_RU si_LK sk_SK sl_SI sq_AL sr_Latn_RS sr_RS sv_SE sw_TZ ta_IN te_IN th_TH tl_PH tr_TR uk_UA ur_PK uz_UZ vi_VN zh_CN zh_HK zh_TW zu_ZA en_XC]
[ 98% 83/84] finishing legacy Make module parsing ...
FAILED: 
build/make/core/main.mk:1101: warning:  device/samsung/dm3q/lineage_dm3q.mk includes non-existent modules in PRODUCT_PACKAGES
Offending entries:
GameSpace
build/make/core/main.mk:1101: error: Build failed.
19:19:32 ckati failed with: exit status 1

#### failed to build some targets (02:16 (mm:ss)) ####