Get Your XDA 2015 Custom Avatar and Signature Images Here

As stated in our motto, XDA Developer is for developers, by developers. The … more

Pin Your Photos on Android Lollipop with Photo Pinner

In the last few weeks,we have been talking quite a bit about Android 5.0 Lollipop. This … more

Samsung Galaxy Note Edge Hands On – XDA TV

Perhaps one of the more peculiar announcements this year was the curved edge-screened … more

Nova Launcher Update Brings Lollipop Functionality and Feel

One of the most popular third party launcher on Android, Nova Launcher, has just … more
Post Reply

Trying To Build Cm11 For P3100 First Time. Help Needed.

OP sim_tcr

1st March 2014, 08:17 AM   |  #1  
sim_tcr's Avatar
OP Senior Member
Flag Bangalore
Thanks Meter: 73
 
234 posts
Join Date:Joined: May 2013
More
ello,

I am trying to build cm11 using https://github.com/CyanogenMod/andro...0/tree/cm-11.0

I am running ubuntu 13.10 64 bit server edition and created the folders as below,

abita@ubuntu:~$ tree
.
|-- android
| `-- system
`-- bin
`-- repo

I cd to ~/android/system and I am trying to initiate repo using below command,
Code:
repo init -u git://github.com/CyanogenMod/android_device_samsung_p3100.git -b cm-11.0
getting below error,
Code:
abita@ubuntu:~/android/system$ repo init -u git://github.com/CyanogenMod/android_device_samsung_p3100.git -b cm-11.0
fatal: manifest 'default.xml' not available
fatal: manifest default.xml not found
abita@ubuntu:~/android/system$
Can anyone assist?

Thanks,
Simon Mandy
1st March 2014, 01:28 PM   |  #2  
Recognized Developer
Flag Bekasi
Thanks Meter: 9,384
 
3,541 posts
Join Date:Joined: Apr 2011
Donate to Me
More
Wrong repo init command. For your references:
1. Outdated but still useful how to build CyanogenMod for P3100: http://wiki.cyanogenmod.org/w/Build_for_p3100
2. @gr8nole 's personal notes how to build CyanogenMod for Tab 3 8.0: http://forum.xda-developers.com/show...&postcount=578
1st March 2014, 10:07 PM   |  #3  
Recognized Contributor
Thanks Meter: 10,055
 
5,174 posts
Join Date:Joined: Mar 2013
More
Use the wiki @ketut.kumajaya linked, i used it when i started compileing

for CM 11 you need to run
Code:
repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
(wiki needs an update )

After you have synced CM's repo (this will take some time ) you need to create "local_manifest.xml" inside the ".repo" folder (hidden folder, find it "~/android/system/.repo") to sync the vendor-blobs too.

You need this inside:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="cm-11.0" />
</manifest>
if you run "breakfast p3100" this should download all needed repos to build CM.
If not you can use this in your local_manifest.xml

Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="CyanogenMod/android_device_samsung_p3110" path="device/samsung/p3110" remote="github" revision="cm-11.0" />
  <project name="CyanogenMod/android_device_samsung_p3100" path="device/samsung/p3100" remote="github" revision="cm-11.0" />
  <project name="CyanogenMod/android_device_samsung_p5110" path="device/samsung/p5110" remote="github" revision="cm-11.0" />
  <project name="CyanogenMod/android_device_samsung_p5100" path="device/samsung/p5100" remote="github" revision="cm-11.0" />
  <project name="CyanogenMod/android_kernel_samsung_espresso10" path="kernel/samsung/espresso10" remote="github" revision="cm-11.0" />
  <project name="CyanogenMod/android_device_samsung_omap4-common" path="device/samsung/omap4-common" remote="github" revision="cm-11.0" />
  <project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="cm-11.0" />
  <project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" revision="cm-11.0" />
  <project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" revision="cm-11.0" />
</manifest>
The Following User Says Thank You to Android-Andi For This Useful Post: [ View ]
2nd March 2014, 09:28 AM   |  #4  
sim_tcr's Avatar
OP Senior Member
Flag Bangalore
Thanks Meter: 73
 
234 posts
Join Date:Joined: May 2013
More
Thank you all for helping me out. Now I initated the repo from cm11 folder using below command,
Code:
repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
But my repo sync get errored as below, (Only the last parts included here. It always end at the same place. I ran so many time)
Code:
Fetching projects:  46% (205/444)  Fetching project CyanogenMod/android_external_libnfc-nxp
Fetching project platform/external/marisa-trie
Fetching project platform/prebuilts/gcc/darwin-x86/x86/x86_64-linux-android-4.7
Fetching project CyanogenMod/android_system_vold
Fetching project CyanogenMod/android_external_jmdns
Fetching projects:  47% (209/444)  Fetching project device/generic/mini-emulator-armv7-a-neon
Fetching project platform/frameworks/uiautomator
Fetching project platform/external/smack
Fetching project CyanogenMod/android_device_generic_mips
Fetching project CyanogenMod/android_vendor_cm
Fetching projects:  48% (214/444)  Fetching project CyanogenMod/android_external_apache-http
Fetching project CyanogenMod/android_packages_providers_ApplicationsProvider
Fetching project CyanogenMod/android_hardware_qcom_audio
Fetching project CyanogenMod/android_hardware_broadcom_wlan
error: Cannot fetch CyanogenMod/android_hardware_qcom_camera
Fetching project CyanogenMod/android_external_zxing
Fetching projects:  49% (218/444)
error: Exited sync due to fetch errors
simon@ubuntu:~/cm11$
Please help me on how to proceed.
3rd March 2014, 12:43 PM   |  #5  
Recognized Contributor
Thanks Meter: 10,055
 
5,174 posts
Join Date:Joined: Mar 2013
More
delete the folder and try it again on a new created folder
3rd March 2014, 12:45 PM   |  #6  
sim_tcr's Avatar
OP Senior Member
Flag Bangalore
Thanks Meter: 73
 
234 posts
Join Date:Joined: May 2013
More
Quote:
Originally Posted by Android-Andi

delete the folder and try it again on a new created folder

Did you mean delete cm11 folder (where it had already downloaded some 6 GB data) and create another cm11 and do repo init and do repo sync again?

Thanks,
Simon Mandy
3rd March 2014, 12:51 PM   |  #7  
Recognized Contributor
Thanks Meter: 10,055
 
5,174 posts
Join Date:Joined: Mar 2013
More
if nothing else worked, yes.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes