[Q] local_manifest in Slimbeans sync - Android Q&A, Help & Troubleshooting

Hello,
I am trying to build Slim bean for Xperia 2011 devices which are not supported by Slim bean.
I have my device tree (based on cm10.2 with it's source) which is a semc.xml file that I copy in "Local_manifest" folder to sync with source.
It works in CM10.2 repo but with Slim bean, I get these errors:
Code:
[email protected]:~/android/mix$ repo sync
fatal: remote error: Git repository not found
fatal: remote error: Git repository not found
fatal: remote error: Git repository not found
fatal: remote error: Git repository not found
fatal: remote error: Git repository not found
fatal: remote error: Git repository not found
fatal: remote error: Git repository not found
fatal: remote error: Git repository not found
And here is content of my semc.xml file:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="LegacyXperia/android_device_semc_msm7x30-common" path="device/semc/msm7x30-common" />
<project name="LegacyXperia/android_device_semc_mogami-common" path="device/semc/mogami-common" />
<project name="LegacyXperia/android_device_semc_anzu" path="device/semc/anzu" />
<project name="LegacyXperia/msm7x30-3.4.x-nAa" path="kernel/semc/msm7x30" />
<project name="CyanogenMod/android_hardware_sony_DASH" path="hardware/sony/DASH" />
<project name="LegacyXperia/proprietary_vendor_semc" path="vendor/semc" />
<project name="LegacyXperia/android_hardware_qcom_display-legacy" path="hardware/qcom/display-legacy" />
<project name="LegacyXperia/android_hardware_qcom_media-legacy" path="hardware/qcom/media-legacy" />
</manifest>
Any Idea?
Thanks in advance

Related

AOSPA 3+ Building from source

Hey there!
I'm trying to build AOSPA for the Neo V from source because our devices have no support and halo is just awesome!
I'm following the guide here: http://forum.xda-developers.com/showthread.php?t=1863547, but I cannot find the device tree for the Neo V. Can anyone help me?
-> Now, Lets add the device specific trees:
Add your own device tree, kernel tree, hardware source tree, & vendor proprietaries tree in the local manifest.
For this, create a new file .repo/local_manifest.xml, & use something in similar terms:
For example, I'm using all corresponding trees for Samsung Galaxy S3 i9300 - International
Following is just an example, not what you should copy/paste. SEARCH & USE YOUR OWN DEVICE SPECIFIC TREES.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="ParanoidAndroid/android_device_samsung_i9300" path="device/samsung/i9300" remote="github" revision="cm-10.1" />
<project name="CyanogenMod/android_kernel_samsung_smdk4412" path="kernel/samsung/smdk4412" remote="github" revision="cm-10.1" />
<project name="ParanoidAndroid/android_device_samsung_smdk4412-common" path="device/samsung/smdk4412-common" remote="github" revision="cm-10.1" />
<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="cm-10.1" />
<project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" revision="cm-10.1" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" revision="cm-10.1" />
</manifest>
CAUTION: Your device tree, kernel source, vendor props etc WILL be different. Search & find out where your device specific sources are located.
Click to expand...
Click to collapse
Use LegacyXperia sources add remote="github" revision="cm-10.2 or cm-10.1" to local_manifest... but i get error when compiling
Sent from my Xperia Neo using xda premium
I have same problem, who is can help me? pls.

[Q] Problem on CM 10.2 building

I wanted to build a CM rom with HALO, so I fetched the additional things of roomservice.xml from https://github.com/cristianomatos/manifests/blob/mako/roomservice.xml . Of course, I did not even tried to download mako's device tree, so my roomservice.xml goes like this;
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_htc_enrc2b" path="device/htc/enrc2b" remote="github" />
<project name="CyanogenMod/android_device_htc_tegra3-common" path="device/htc/tegra3-common" remote="github" />
<project name="CyanogenMod/android_kernel_htc_enrc2b" path="kernel/htc/enrc2b" remote="github" />
<project name="HoxPlusCMOfficial/proprietary_vendor_htc.git" path="vendor/htc" remote="github" revision="cm10-2" />
<remove-project name="CyanogenMod/android_vendor_cm" />
<project name="cristianomatos/android_vendor_cm" path="vendor/cm" remote="github" revision="cr-main-10.2" />
<remove-project name="CyanogenMod/android_packages_apps_Calculator" />
<project name="cristianomatos/android_packages_apps_Calculator" path="packages/apps/Calculator" remote="github" revision="cr-main-10.2" />
<remove-project name="CyanogenMod/android_packages_apps_Contacts" />
<project name="cristianomatos/android_packages_apps_Contacts" path="packages/apps/Contacts" remote="github" revision="cr-main-10.2" />
<remove-project name="CyanogenMod/android_packages_apps_ContactsCommon" />
<project name="cristianomatos/android_packages_apps_ContactsCommon" path="packages/apps/ContactsCommon" remote="github" revision="cr-main-10.2" />
<remove-project name="CyanogenMod/android_packages_apps_Dialer" />
<project name="cristianomatos/android_packages_apps_Dialer" path="packages/apps/Dialer" remote="github" revision="cr-main-10.2" />
<remove-project name="CyanogenMod/android_packages_apps_Email" />
<project name="cristianomatos/android_packages_apps_Email" path="packages/apps/Email" remote="github" revision="cr-main-10.2" />
<remove-project name="CyanogenMod/android_packages_apps_Gallery2" />
<project name="cristianomatos/android_packages_apps_Gallery2" path="packages/apps/Gallery2" remote="github" revision="cr-main-10.2" />
<remove-project name="CyanogenMod/android_packages_inputmethods_LatinIME" />
<project name="cristianomatos/android_packages_inputmethods_LatinIME" path="packages/inputmethods/LatinIME" remote="github" revision="cr-main-10.2" />
<remove-project name="CyanogenMod/android_packages_apps_Mms" />
<project name="cristianomatos/android_packages_apps_Mms" path="packages/apps/Mms" remote="github" revision="cr-main-10.2" />
<remove-project name="CyanogenMod/android_packages_apps_Nfc" />
<project name="cristianomatos/android_packages_apps_Nfc" path="packages/apps/Nfc" remote="github" revision="cr-main-10.2" />
<remove-project name="CyanogenMod/android_packages_apps_Phone" />
<project name="cristianomatos/android_packages_apps_Phone" path="packages/apps/Phone" remote="github" revision="cr-main-10.2" />
<remove-project name="CyanogenMod/android_packages_providers_MediaProvider" />
<project name="cristianomatos/android_packages_providers_MediaProvider" path="packages/providers/MediaProvider" remote="github" revision="cr-main-10.2" />
<remove-project name="CyanogenMod/android_frameworks_native" />
<project name="cristianomatos/android_frameworks_native" path="frameworks/native" remote="github" revision="cr-main-10.2" />
<remove-project name="CyanogenMod/android_frameworks_base" />
<project name="cristianomatos/android_frameworks_base" path="frameworks/base" remote="github" revision="cr-main-10.2" />
<remove-project name="CyanogenMod/android_packages_apps_Settings" />
<project name="cristianomatos/android_packages_apps_Settings" path="packages/apps/Settings" remote="github" revision="cr-main-10.2" />
</manifest>
However, when building CM 10.2 with HALO was going in a smooth progress, it was stuck for a few times after such error was shown;
Code:
target Java: Phone (out/target/common/obj/APPS/Phone_intermediates/classes)
packages/apps/Phone/src/com/android/phone/PhoneInterfaceManager.java:60: com.android.phone.PhoneInterfaceManager is not abstract and does not override abstract method toggle2G(boolean) in com.android.internal.telephony.ITelephony
public class PhoneInterfaceManager extends ITelephony.Stub {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
make: *** [out/target/common/obj/APPS/Phone_intermediates/classes-full-debug.jar] Error 41
So, I just modified the problematic line to the line which starts with; 'abstract class blahblahblah.'
However, Even if there are a complete set of vendor files and device tree, it shows another error;
Code:
-bash: build/tools/roomservice.py: No such file or directory
** Don't have a product spec for: 'cm_enrc2b'
** Do you have the right repo manifest?
I tried breakfast command but it only shows me 1. full-eng not enrc2b. Of course, even if I choose the number 1, it shows me the same message.
I am deleting whole folder and trying to build another rom because of this.
I don't see any erroneous things as far as I know, and it should have been built already, right?
So, I need helps from gurus of build. Is there anything that I did wrong? Could there any suggestions for me?
i assume you've run
repo sync
and then done
. build/envsetup.sh
which all you will have to do after is :
brunch enrc2b
Lloir said:
i assume you've run
repo sync
and then done
. build/envsetup.sh
which all you will have to do after is :
brunch enrc2b
Click to expand...
Click to collapse
Thanks for your comment, I'll try once again. I was still suffering from that damn "cannot find right spec" thungy.
Sent from my One X+ using Tapatalk
Lloir said:
i assume you've run
repo sync
and then done
. build/envsetup.sh
which all you will have to do after is :
brunch enrc2b
Click to expand...
Click to collapse
OK, I am sorry, but I gotta ask you about the procedure from the scratch.
I decided to build the pure CM 10.2 before I use roomservice.xml, so I did the following steps;
0. I am on someone else's server, and everything including JDK were already set up.
1. I made a directory by using mkdir, and I ran 'repo init -u git://github.com/CyanogenMod/android.git -b cm-10.2.' Of course, I did not forget to run './get-prebuilts.'
2. After it was done, I ran repo sync and I saw every files were got in.
3. I ran 'source envsetup.sh' and 'breakfast enrc2b.'
4. After it asked for me to put vendor files into the vendor folder, I ran 'git clone git://github.com/TheMuppets/proprietary_vendor_htc htc' and I found out enrc2b folder is inside of /vendor/htc/ folder.
5. However, when I tried to run brunch enrc2b, the error was shown, and everything got stuck.
Code:
[email protected]:~/cm/build$ cd ../
[email protected]:~/cm$ cd vendor
[email protected]:~/cm/vendor$ ls
cm qcom tmobile
[email protected]:~/cm/vendor$ git clone git://github.com/TheMuppets/proprietary_vendor_htc htc
Cloning into 'htc'...
remote: Counting objects: 5613, done.
remote: Compressing objects: 100% (2454/2454), done.
remote: Total 5613 (delta 3167), reused 5282 (delta 2934)
Receiving objects: 100% (5613/5613), 284.98 MiB | 3.53 MiB/s, done.
Resolving deltas: 100% (3167/3167), done.
Checking out files: 100% (755/755), done.
[email protected]:~/cm/vendor$ cd htc
[email protected]:~/cm/vendor/htc$ ls
endeavoru evita jewel m7-common m7tmo s4-common
enrc2b fireball m7att m7spr m7ul ville
[email protected]:~/cm/vendor/htc$ brunch enrc2b
-bash: build/tools/roomservice.py: No such file or directory
** Don't have a product spec for: 'cm_enrc2b'
** Do you have the right repo manifest?
No such item in brunch menu. Try 'breakfast'
[email protected]:~/cm/vendor/htc$ breakfast enrc2b
-bash: build/tools/roomservice.py: No such file or directory
** Don't have a product spec for: 'cm_enrc2b'
** Do you have the right repo manifest?
Do you think there is anything wrong with my procedure?
Sent from my One X+ using Tapatalk
run .build/envsetup.sh
not source/envsetup
do ls device/htc
do you see enrc2b?
also just easier if you add it all into a local_manifest.xml then you can repo sync them down with the main source

Error Syncing Cm 10.2 sources

Fetching projects: 99% (407/411) Fetching project platform/developers/docs
error: Cannot fetch androidarmv6/android_kernel_goldfish
warn: --force-broken, continuing to sync
Fetching projects: 100% (411/411), done.
Syncing work tree: 69% (284/411) error: revision cm-10.1_2.6.29 in androidarmv6/android_kernel_goldfish not found
A week ago, i had my sources downloaded(for my device galaxy mini) and compiled a build. Today i tried updating my sources and did "repo sync". Everything seems to work until the above, syncing source stops there. I looked in androidarmv6 github, it doesn't have "android_kernel_goldfish" repsitory. How can i skip that repository conflicting with syncing work tree.
My roomservice.xml is:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="androidarmv6/android_kernel_goldfish" path="kernel/goldfish" remote="github" revision="cm-10.1_2.6.29" />
<project name="androidarmv6/android_device_samsung_tass" path="device/samsung/tass" remote="github" />
<project name="androidarmv6/android_kernel_samsung_msm" path="kernel/samsung/msm" remote="github" revision="jb_chocolate-samsung" />
<project name="androidarmv6/android_kernel_samsung_msm7x27" path="kernel/samsung/msm7x27" remote="github" />
<project name="androidarmv6/android_device_qcom_msm7x27" path="device/qcom/msm7x27" remote="github" />
<project name="androidarmv6/android_device_samsung_msm7x27-common" path="device/samsung/msm7x27-common" remote="github" />
<project name="androidarmv6/android_vendor_samsung" path="vendor/samsung" remote="github" />
<project name="androidarmv6/android_vendor_qcom_msm7x27" path="vendor/qcom/msm7x27" remote="github" />
<project name="androidarmv6/android_hardware_atheros_ath6kl-compat" path="hardware/atheros/ath6kl-compat" remote="github" />
<project name="androidarmv6/android_hardware_atheros_wifi_libs" path="hardware/atheros/wifi/libs" remote="github" />
<project name="androidarmv6/android_hardware_broadcom_fmradio" path="hardware/broadcom/fmradio" remote="github" />
</manifest>
I deleted that goldfish kernel line, it again producing errors below
Syncing work tree: 99% (406/410) Traceback (most recent call last):
File "/home/venkatesh/armv6/.repo/repo/main.py", line 418, in <module>
_Main(sys.argv[1:])
File "/home/venkatesh/armv6/.repo/repo/main.py", line 394, in _Main
result = repo._Run(argv) or 0
File "/home/venkatesh/armv6/.repo/repo/main.py", line 142, in _Run
result = cmd.Execute(copts, cargs)
File "/home/venkatesh/armv6/.repo/repo/subcmds/sync.py", line 657, in Execute
project.Sync_LocalHalf(syncbuf)
File "/home/venkatesh/armv6/.repo/repo/project.py", line 1106, in Sync_LocalHalf
lost = self._revlist(not_rev(revid), HEAD)
File "/home/venkatesh/armv6/.repo/repo/project.py", line 2074, in _revlist
return self.work_git.rev_list(*a, **kw)
File "/home/venkatesh/armv6/.repo/repo/project.py", line 2227, in rev_list
p.stderr))
error.GitError: CyanogenMod/android_vendor_qcom_opensource_v8 rev-list ('^ed6baff3b8971fe968a30c0c7dc631be1f31fd5c', 'HEAD', '--'): fatal: bad object HEAD
Please help me to solve the issue...

[Q] How do i compile LiquidSmooth?

I compiled CM12 successfully, but i keep getting fetch errors while trying to download the lolipop tree.
When i do repo sync, i get stuck at
Code:
Fetching project platform/external/google-tv-pairing-protocol
for ~5 mins, then i get
Code:
error: Cannot fetch platform/external/freetype
error: Cannot fetch CyanogenMod/android_device_common
error: Cannot fetch CyanogenMod/android_external_tcpdump
error: Cannot fetch platform/prebuilts/tools
error: Exited sync due to fetch errors
I'm using a Ubuntu 14.04 VM.
My local_manifest.xml is as follows -
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_oneplus_bacon" path="device/oneplus/bacon" remote="github" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="CyanogenMod/android_device_oppo_msm8974-common" path="device/oppo/msm8974-common" remote="github" />
<project name="CyanogenMod/android_device_oppo_common" path="device/oppo/common" remote="github" revision="cm-12.0" />
<project name="CyanogenMod/android_kernel_oneplus_msm8974" path="kernel/oneplus/msm8974" remote="github" />
<project name="TheMuppets/proprietary_vendor_oppo" path="vendor/oppo" remote="github" />
<project name="TheMuppets/proprietary_vendor_oneplus" path="vendor/oneplus" remote="github" />
<project name="CyanogenMod/android_frameworks_opt_connectivity" path="frameworks/opt/connectivity" remote="github" revision="cm-11.0" />
</manifest>

fatal: Couldn't find remote ref refs/heads/cm14.1

Hello,
I'm trying to compile a rom for the LeEco Le Max 2, but I'm stuck and I can't get it to work due to some problems when syncing the repository:
Fatal: Couldn't find remote ref refs/heads/cm14.1
fatal: Couldn't find remote ref refs/heads/cm14.1
error: Cannot fetch x2-devel/proprietary_vendor_leeco
error: Exited sync due to fetch errors
Click to expand...
Click to collapse
My local_manifest file looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<!-- .repo/local_manifests/leeco_x2.xml -->
<manifest>
<!-- Device specific repositories -->
<project path="device/leeco/x2" name="x2-devel/android_device_leeco_x2" remote="github" revision="rr-n" />
<!-- MSM8996 kernel -->
<project path="kernel/leeco/msm8996" name="x2-devel/android_kernel_leeco_msm8996" remote="github" revision="android-7.1-over" />
<!-- Proprietary blobs -->
<project path="vendor/leeco" name="x2-devel/proprietary_vendor_leeco" remote="github" revision="cm14.1" />
</manifest>
Click to expand...
Click to collapse
How do I resolve this issue?

Categories

Resources