Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,779,915 Members 37,397 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
sim_tcr
Old
#1  
sim_tcr's Avatar
Senior Member - OP
Thanks Meter 57
Posts: 214
Join Date: May 2013
Location: Bangalore
Default Trying To Build Cm11 For P3100 First Time. Help Needed.

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
 
ketut.kumajaya
Old
#2  
Recognized Developer
Thanks Meter 9,077
Posts: 3,392
Join Date: Apr 2011
Location: Bekasi

 
DONATE TO ME
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
 
A proud owner
P31xx kernel | P51xx kernel | T31x kernel
for stock/stock based ROM
for CM/CM based ROM
for DUAL BOOT
If you like my work, please consider donating
 
Android-Andi
Old
#3  
Recognized Contributor
Thanks Meter 8,482
Posts: 4,626
Join Date: Mar 2013
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>
Devices:
P3110
I8190


My 50 Cent

Omni Rom (official/unofficial) for P31XX and P51XX
and SM-T31X (unofficial)

SlimRom-Team Member
SlimKat for P31XX and P51XX and SM-T31X (unofficial)


TWRP 2.7.1.1 & CWM 6.0.5.0 & PhilZ Touch P31XX and P51XX

GT-I8190
PhilZ Touch
TWRP

All my files and ROMs on www.androidfilehost.com
The Following User Says Thank You to Android-Andi For This Useful Post: [ Click to Expand ]
 
sim_tcr
Old
#4  
sim_tcr's Avatar
Senior Member - OP
Thanks Meter 57
Posts: 214
Join Date: May 2013
Location: Bangalore
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.
 
Android-Andi
Old
#5  
Recognized Contributor
Thanks Meter 8,482
Posts: 4,626
Join Date: Mar 2013
delete the folder and try it again on a new created folder
Devices:
P3110
I8190


My 50 Cent

Omni Rom (official/unofficial) for P31XX and P51XX
and SM-T31X (unofficial)

SlimRom-Team Member
SlimKat for P31XX and P51XX and SM-T31X (unofficial)


TWRP 2.7.1.1 & CWM 6.0.5.0 & PhilZ Touch P31XX and P51XX

GT-I8190
PhilZ Touch
TWRP

All my files and ROMs on www.androidfilehost.com
 
sim_tcr
Old
#6  
sim_tcr's Avatar
Senior Member - OP
Thanks Meter 57
Posts: 214
Join Date: May 2013
Location: Bangalore
Quote:
Originally Posted by Android-Andi View Post
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
 
Android-Andi
Old
#7  
Recognized Contributor
Thanks Meter 8,482
Posts: 4,626
Join Date: Mar 2013
if nothing else worked, yes.
Devices:
P3110
I8190


My 50 Cent

Omni Rom (official/unofficial) for P31XX and P51XX
and SM-T31X (unofficial)

SlimRom-Team Member
SlimKat for P31XX and P51XX and SM-T31X (unofficial)


TWRP 2.7.1.1 & CWM 6.0.5.0 & PhilZ Touch P31XX and P51XX

GT-I8190
PhilZ Touch
TWRP

All my files and ROMs on www.androidfilehost.com

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Quick Control Panel Updated, Adds Notification Support

As some of you may remember, earlier this year we spoke about Quick Control Panel by … more

Narrate Makes Note Taking Efficient and Beautiful

Technology has put life on the fast track. Whether its travelling to multiple places or … more

Android App Review: How to Speed Up Your Android Phone – XDA Developer TV

Is your Android device running slow? Is your Android device … more

Make a Pre-Rooted Stock Sony ROMs in Just Few Clicks

Many usersdon’t see any particular reason to change out the stock firmware … more