yashsingh1/xdaforums huggingface dataset:
[Sony Xperia P, U, Sola, Go] lvcargnini:
Hello,

First thanks for the tutorial, really neat !

Well I had a problem, after the last step, the brunch, I didn't had a cyanogenmod/out/target/product/name_of_device/cm-10-XXXXXXXXX-UNOFFICIAL-name_of_device.zip

I had the following error:

external/zlib/x86/adler32.c:747: error: ‘asm’ operand has impossible constraints

make: *** [/Users/lvcargnini/android/cyanogenmod/out/host/darwin-x86/obj/STATIC_LIBRARIES/libz_intermediates/adler32.o] Error 1

make: *** Waiting for unfinished jobs....

ld: warning: directory '/Users/lvcargnini/android/cyanogenmod/out/host/darwin-x86/obj/lib' following -L not found

true

CHK include/linux/version.h

UPD include/linux/version.h

HOSTCC scripts/unifdef

INSTALL include/trace (1 file)

INSTALL include/rdma (6 files)

INSTALL include/mtd (5 files)

INSTALL include/drm (13 files)

INSTALL include/sound (8 files)

INSTALL include/asm-generic (34 files)

INSTALL include/scsi/fc (4 files)

INSTALL include/linux/byteorder (2 files)

INSTALL include/linux/caif (2 files)

INSTALL include/video (4 files)

INSTALL include/scsi (3 files)

INSTALL include/linux/can (4 files)

INSTALL include/linux/dvb (8 files)

INSTALL include/linux/hdlc (1 file)

INSTALL include/linux/hsi (1 file)

INSTALL include/linux/isdn (1 file)

INSTALL include/xen (2 files)

INSTALL include (0 file)

make[5]: *** No rule to make target `/Users/lvcargnini/android/cyanogenmod/kernel/sony/u8500/include/linux/netfilter/xt_CONNMARK.h', needed by `/Users/lvcargnini/android/cyanogenmod/out/target/product/kumquat/obj/KERNEL_OBJ/usr/include/linux/netfilter/.install'. Stop.

make[5]: *** Waiting for unfinished jobs....

INSTALL include/linux/mfd (1 file)

INSTALL include/linux/mmc (1 file)

INSTALL include/linux/netfilter/ipset (4 files)

INSTALL include/linux/netfilter_arp (2 files)

make[5]: *** No rule to make target `/Users/lvcargnini/android/cyanogenmod/kernel/sony/u8500/include/linux/netfilter_ipv4/ipt_ECN.h', needed by `/Users/lvcargnini/android/cyanogenmod/out/target/product/kumquat/obj/KERNEL_OBJ/usr/include/linux/netfilter_ipv4/.install'. Stop.

make[4]: *** [netfilter_ipv4] Error 2

make[4]: *** Waiting for unfinished jobs....

INSTALL include/linux/netfilter_bridge (18 files)

make[5]: *** No rule to make target `/Users/lvcargnini/android/cyanogenmod/kernel/sony/u8500/include/linux/netfilter_ipv6/ip6t_HL.h', needed by `/Users/lvcargnini/android/cyanogenmod/out/target/product/kumquat/obj/KERNEL_OBJ/usr/include/linux/netfilter_ipv6/.install'. Stop.

make[4]: *** [netfilter_ipv6] Error 2

make[4]: *** [netfilter] Error 2

make[3]: *** [linux] Error 2

make[3]: *** Waiting for unfinished jobs....

make[2]: *** [headers_install] Error 2

make[1]: *** [sub-make] Error 2

make: *** [/Users/lvcargnini/android/cyanogenmod/out/target/product/kumquat/obj/KERNEL_OBJ/usr] Error 2

-MacBook-Pro:cyanogenmod lvcargnini ☢

Any idea on what I forgot ? What should I fix ?
[Sony Xperia P, U, Sola, Go] elia222:
On which computer are you building? which os?
[Sony Xperia P, U, Sola, Go] elia222:
I've searched a bit and it seems that it can't find in the toolchain the needed file to build, it's an issue related to building on mac os x.

Search on google "no rule to make /include/linux/netfilter/xt_CONNMARK.h", maybe you'll find a solution.
[Sony Xperia P, U, Sola, Go] DigitalDreamer:
A question. It says to use the 13.04, but I am always sticking to the LTS versions. Will this guide apply for 12.04 lts too?
[Sony Xperia P, U, Sola, Go] elia222:
The guide is almost the same, but some packages may be different. I recommend to search on xda a guide for 12.04 for setting up the build environment.
[Sony Xperia P, U, Sola, Go] percy_g2:
the file mentioned are not present or renamed to filename[1].bla bal (this issues happens when you download the source as a zip).

Just remove [1] from file name and build again
[Sony Xperia P, U, Sola, Go] DroidModderXtreme:
What will happen if i install it on 32bit?
[Sony Xperia P, U, Sola, Go] elia222:
You will get errors while building. You can only build android versions older than gingerbread on 32 bit.
[Sony Xperia P, U, Sola, Go] Ben36:
Someone build cm7! :D
[Sony Xperia P, U, Sola, Go] elia222:
Someone already tried in the past, but they didn't manage to get it booting.
[Sony Xperia P, U, Sola, Go] lvcargnini:
Could you please, tell to which file are you referring ?
[Sony Xperia P, U, Sola, Go] percy_g2:
type [1] in search and remove [1] from every file you see this .
[Sony Xperia P, U, Sola, Go] werty100:
Will work with cm10.1???

enviado desde spica( mononucleo 600mhz gingenbrad 5años)
[Sony Xperia P, U, Sola, Go] elia222:
You need to change some things. I'll add the guide for cm10.1 next week.
[Sony Xperia P, U, Sola, Go] elia222:
Added guide for cm10.1 in third post: http://xdaforums.com/showpost.php?p=42355141&postcount=3

Regards ;)

Elia
[Sony Xperia P, U, Sola, Go] Me‎:
awesome thanks

but in the "Initialize the repo:" part for cm 10.1 you made a mistake

it should be like this:

repo init -u git://github.com/TeamCanjica/android.git -b cm-10.1

thanks :)
[Sony Xperia P, U, Sola, Go] percy_g2:
no cm10.1 branch is for samsung devices in Teamcanjica and cm10.1-sony is for sony devices
[Sony Xperia P, U, Sola, Go] Me‎:
cm10.1 gives me an error =\

EDIT: oh got you thanks

EDIT 2:

still wrong though it's

repo init -u git://github.com/TeamCanjica/android.git -b cm-10.1-sony
[Sony Xperia P, U, Sola, Go] elia222:
Thanks, updated repo init in 3rd post ;)
[Sony Xperia P, U, Sola, Go] Me‎:
see post above yours
[Sony Xperia P, U, Sola, Go] percy_g2:
Its STEricsson-Android
[Sony Xperia P, U, Sola, Go] elia222:
Are you sure? Their github changed name, STEricsson-Android doesn't exist anymore.
[Sony Xperia P, U, Sola, Go] percy_g2:
yes ,i'am sure (try using a test folder )
[Sony Xperia P, U, Sola, Go] elia222:
Thanks ;)

I can't test because I'm not at home, I'm writing from phone.
[Sony Xperia P, U, Sola, Go] dams161:
he does not want to compile cm10.1

repo sync gives me an error on the meta
[Sony Xperia P, U, Sola, Go] percy_g2:
better dual boot instead of using virtual box ,its a mess while compiling on virtual box .
[Sony Xperia P, U, Sola, Go] dams161:
I know virtual box is not terrible but ubuntu does not accept my raid 0

I test tutorial on google but without success
[Sony Xperia P, U, Sola, Go] Me‎:
try to start over in a new folder
[Sony Xperia P, U, Sola, Go] dams161:
the build or install ubuntu?
[Sony Xperia P, U, Sola, Go] Me‎:
the build
[Sony Xperia P, U, Sola, Go] dams161:
ok i try to night
[Sony Xperia P, U, Sola, Go] tadeas482:
EDIT: Found it, please delete.
[Sony Xperia P, U, Sola, Go] dams161:
my dualboot works yes yes

i test the build
[Sony Xperia P, U, Sola, Go] samuelrf:
is anyone or can anyone build cm10.1 for XU using linaro? now I can't cause my PC doesn't boot :(
[Sony Xperia P, U, Sola, Go] GEKTHEBOSS:
Look above post;)
[Sony Xperia P, U, Sola, Go] samuelrf:
yeah but I don't know what phone he owns haha I suppose xperia u no?
[Sony Xperia P, U, Sola, Go] GEKTHEBOSS:
Yeah xperia u!
[Sony Xperia P, U, Sola, Go] Me‎:
i'm at the last stages of compiling :)

will test, if boot will share if you want
[Sony Xperia P, U, Sola, Go] samuelrf:
ok thanks bro! :)
[Sony Xperia P, U, Sola, Go] Me‎:
upload is taking for ever :(
[Sony Xperia P, U, Sola, Go] samuelrf:
don't worry man, but I boots? works everything like in official cm10.1? and I suppose that's smoother than the normal one :)
[Sony Xperia P, U, Sola, Go] Me‎:
Ya it boots

seems faster but not sure I went back to a backup..
[Sony Xperia P, U, Sola, Go] elia222:
Little update:

I've updated the dowload link of linaro toolchain in 2nd post with latest 4.7 release ;)
[Sony Xperia P, U, Sola, Go] GEKTHEBOSS:
Cm10.1.1 guide?

Ive used the official for mako and its perfect..you may enjoy also on xpu/sola p etc.

Inviato dal mio Nexus 4 con Tapatalk 2
[Sony Xperia P, U, Sola, Go] Me‎:
post 3..
[Sony Xperia P, U, Sola, Go] GEKTHEBOSS:
I mean thenew cm ..the 10.1.1!!

Im using it is oerfect for now just for nexus,/sammy:D

Inviato dal mio Nexus 4 con Tapatalk 2
[Sony Xperia P, U, Sola, Go] Me‎:
oh soz, didn't see the last .1
[Sony Xperia P, U, Sola, Go] percy_g2:
guide for cm10.1.1 is same as cm10.1
[Sony Xperia P, U, Sola, Go] tadeas482:
Why can't we use LINARO 4.8?
[Sony Xperia P, U, Sola, Go] aca89:
What happened with "new" sources for xu? Are they really new or useful in any way?
[Sony Xperia P, U, Sola, Go] elia222:
4.7 seems to be the best for performance and stability for me. You can use also 4.8 of you want, I need to test it some more before switching to it.
[Sony Xperia P, U, Sola, Go] giangi96a:
Can you also make a guide for windows?
[Sony Xperia P, U, Sola, Go] Weekend Offender:
Correction

Maybe it's not such a big issue,but you have a part where you need to get prebuilt's.In first post it says to issue this command:

But it's wrong command.

You need to issue this:

Again i say that it's not such a big mistake,but some users might get confused because it doesn't work. :p
[Sony Xperia P, U, Sola, Go] Me‎:
it does the same thing
[Sony Xperia P, U, Sola, Go] Weekend Offender:
Well Im sorry then,it didn't work on my pc tho. :p
[Sony Xperia P, U, Sola, Go] sharonliu:
http://www.linaro.org/downloads/

Which one should i use?

version 4.7-2013.07 release 13.07?
[Sony Xperia P, U, Sola, Go] Toni5830:
I am having an errror similar to the one you had (on mac os 10.8) but i did not understand what I should do.. could you please help me :o

Sorry Ivcargnini, I understood the problem, which was much different:o

Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
INSTALL include/linux/dvb (8 files)
INSTALL include/linux/hdlc (1 file)
INSTALL include/linux/hsi (1 file)
INSTALL include/linux/isdn (1 file)
INSTALL include/linux/mfd (1 file)
INSTALL include/linux/mmc (1 file)
make[5]: *** No rule to make target `/Volumes/Android/cm/kernel/samsung/u8500/include/linux/netfilter/xt_CONNMARK.h', needed by `/Volumes/Android/cm/out/target/product/janice/obj/KERNEL_OBJ/usr/include/linux/netfilter/.install'. Stop.
make[5]: *** Waiting for unfinished jobs....
INSTALL include/linux/netfilter/ipset (4 files)
host C++: clang-tblgen
[Sony Xperia P, U, Sola, Go] AGONTUK:
[MENTION=4499881]elia222[/MENTION], bro I'm totally new to builing android from source. I have been following your tutorial and just started repo syncing.

We have severe electricity problems in our country. So if electricity is gone, what will happen next time I run repo sync ?

Also I'm syncing from repo init -u git://github.com/TeamCanjica/android.git -b cm-10.1-sony. So only sony related files are going to be downloaded, right?

Thnx for the tutorial :)
[Sony Xperia P, U, Sola, Go] Xperia_Modder:
1. It will start from the latest file downloaded

2. You're right, but that branch is outdated

Inviato dal mio Xperia U usando Tapatalk 4
[Sony Xperia P, U, Sola, Go] AGONTUK:
No problem. I just want to learn basic things first like folder structure, building etc :)
[Sony Xperia P, U, Sola, Go] AGONTUK:
[MENTION=4499881]elia222[/MENTION], bro my repo syncing just exited with an error "exited sync due to fetch errors". Also I saw multiple "fatal error: repository not found" previously.

What could have gone wrong ? :(
[Sony Xperia P, U, Sola, Go] Xperia_Modder:
this is because the branch is outdated: there are some repo in the manifest that was deleted from github, so you'll get these error

use this instead: link and add sony's repo
[Sony Xperia P, U, Sola, Go] AGONTUK:
I thought outdated means there's no more fixes and commits. Guess I was wrong, thnx :)

Now if I use repo init --reference=~/myfolder -u URL -b BRANCH, does it gonna skip the files that are already downloaded in myfolder ?

Also what do you mean by sony's repo? I can't find any branch with sony. Can you give me the full repo init command ?
[Sony Xperia P, U, Sola, Go] Xperia_Modder:
1. if the files aren't equal they will be deleted

2. i mean these:

<project path="kernel/sony/u8500" name="XperiaPAC/android_kernel_sony_u8500" remote="github" revision="cm10.1" />
<project path="device/sony/kumquat" name="XperiaPAC/android_device_sony_kumquat" remote="github" revision="cm10.1" />
<project path="device/sony/montblanc-common" name="XperiaPAC/android_device_sony_montblanc-common" remote="github" revision="cm10.1" />

just add them to the manifest
[Sony Xperia P, U, Sola, Go] AGONTUK:
My sync still hasn't ended. How much time does it require ? :(

Currently it's syncing a huge file (1.54GB and running ).

I'm syncing from percy's repo like you said, but faced some error during the syncing

Fetching project XperiaPAC/android_hardware_libhardware
fatal: Couldn't find remote ref refs/tags/cm-10.1.3-RC2
fatal: Couldn't find remote ref refs/tags/cm-10.1.3-RC2
Fetching projects: 63% (227/359) Fetching project XperiaPAC/android_hardware_libhardware_legacy
fatal: Couldn't find remote ref refs/tags/cm-10.1.3-RC2
fatal: Couldn't find remote ref refs/tags/cm-10.1.3-RC2
fatal: Couldn't find remote ref refs/tags/cm-10.1.3-RC2
fatal: Couldn't find remote ref refs/tags/cm-10.1.3-RC2
fatal: Couldn't find remote ref refs/tags/cm-10.1.3-RC2
fatal: Couldn't find remote ref refs/tags/cm-10.1.3-RC2
error: Cannot fetch XperiaPAC/android_hardware_libhardware_legacy
warn: --force-broken, continuing to sync

Fetching projects: 64% (230/359) Fetching project CyanogenMod/android_hardware_qcom_audio-caf
error: Cannot fetch XperiaPAC/android_frameworks_av
warn: --force-broken, continuing to sync

Fetching projects: 65% (234/359) Fetching project CyanogenMod/android_hardware_qcom_display-caf
error: Cannot fetch XperiaPAC/android_hardware_libhardware
warn: --force-broken, continuing to sync

Fetching project CyanogenMod/android_hardware_qcom_wlan
error: Cannot fetch XperiaPAC/android_frameworks_native
warn: --force-broken, continuing to sync

Fetching projects: 71% (255/359) Fetching project CyanogenMod/android_packages_apps_BasicSmsReceiver
warning: no common commits

I'm syncing with repo sync -f option cause without it sync always exits with fetch error. Any suggestion ?

Also I added this line to my local_manifests.xml

<remove-project name="platform/prebuilts/clang/darwin-x86/3.1" />
<remove-project name="platform/prebuilts/clang/darwin-x86/3.2" />
<remove-project name="platform/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6" />
<remove-project name="platform/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6" />
<remove-project name="platform/prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.6" />
<remove-project name="platform/prebuilts/gcc/darwin-x86/x86/i686-linux-android-4.6" />
<project path="kernel/sony/u8500" name="XperiaPAC/android_kernel_sony_u8500" remote="github" revision="cm10.1" />
<project path="device/sony/kumquat" name="XperiaPAC/android_device_sony_kumquat" remote="github" revision="cm10.1" />
<project path="device/sony/montblanc-common" name="XperiaPAC/android_device_sony_montblanc-common" remote="github" revision="cm10.1" />
<project path="vendor/sony" name="XperiaPAC/android_vendor_sony" remote="github" revision="cm10.1" />
<project path="hardware/semc/dash" name="CyanogenMod/android_hardware_sony_DASH" remote="github" revision="jellybean" /

Hope it's ok.
[Sony Xperia P, U, Sola, Go] Xperia_Modder:
To fix those error add revision=cm10.1 to all xperiapac repo

Inviato dal mio Xperia U usando Tapatalk 4
[Sony Xperia P, U, Sola, Go] AGONTUK:
revision=cm10.1 didn't work. So I went to the XperiaPAC repo and copied the latest tag refs/tags/cm-10.1.0-RC5. It worked and my sync has now finished successfully :)

EDIT: I've downloaded the latest linaro toolchain 4.7. But when I was gonna paste it to /prebuilts/gcc/....., I saw that there is no gcc folder!! So I checked the .repo/projects/prebuilts folder and gcc folder was there and inside it linux-x86 and other folders. But in my working tree linux-x86 was in the /prebuilts folder not in /prebuilts/gcc

How did this happen ?? :confused:
[Sony Xperia P, U, Sola, Go] Xperia_Modder:
Don't know what you messed up, are you sure repo sync finished?

And latest toolchain is 4.8

Inviato dal mio Xperia U usando Tapatalk 4
[Sony Xperia P, U, Sola, Go] AGONTUK:
I mean the latest 4.7, I heard 4.8 is not stable so didn't download it.

And yes, repo sync is finished. I tried syncing again and it synced perfectly without any errors. FYI, I removed darwin toolchain in local_manifest.xml. Hope that's no problem.
[Sony Xperia P, U, Sola, Go] Xperia_Modder:
For me 4.8 is stable enough (recently i've built my rom with it)

Darwin is needed for osx, so no problem

Inviato dal mio Xperia U usando Tapatalk 4
[Sony Xperia P, U, Sola, Go] AGONTUK:
Damn it, my mistake. I was looking in prebuilt folder!!!

prebuilts folder has gcc. Sorry for the confusion :o
[Sony Xperia P, U, Sola, Go] aca89:
error

Hi guys. I repo synced without problems and started to build but I'm getting this error:

collect2: ld returned 1 exit status
make: *** [/home/sazzul/cyanogenmod/out/host/linux-x86/obj/lib/libbcc.so] Error 1
make: *** Waiting for unfinished jobs....

I used

repo init -u git://github.com/CyanogenMod/android.git -b jellybean

if that's any help.

And also, how big partition do I need for successful build? I almost (I think) ran out of space on 35GB, maybe that's the problem?

EDIT: Problem solved, it was the lack of space. I might be back with some other questions.
[Sony Xperia P, U, Sola, Go] samoht87:
The url to google's repo tool is no longer working. You can find it now here

EDIT: and they also forgot to add a needed pubkey to the repo tool, you can find a fixed one here.
[Sony Xperia P, U, Sola, Go] elia222:
Sorry for the late answer, I haven't been at home for some days:

you should check this thread from post 1029 and next pages: http://xdaforums.com/showthread.php?t=1942338&page=103 there's a similar error.
[Sony Xperia P, U, Sola, Go] DroidModderXtreme:
No problem buddy [MENTION=4499881]elia222[/MENTION] :)

I'm waiting my friend [MENTION=5092285]Andrewasth[/MENTION] to upload me his out folder ...

The biggest problem is in out folder .. i redeleted and tried again but nothing...if not working with Andre's out folder i'll kill me:laugh:
[Sony Xperia P, U, Sola, Go] victorcqueirozg:
It doesn't work for GB? :/
[Sony Xperia P, U, Sola, Go] yaaraa:
Bandwidth help

Great tutorial.. so many thanks...:good:

I have downloaded the android source (ics) from the android.com by following xdauniversity tutorial

Now two things :

1. Is there any way so that I could build it for xperia u because I am unable to find prebuild for kumquat. Please point me if I can...

2. I want to make branch for cm by following your tutorial but don't want to download again 10Gigs (Limited bandwidth) I have tried 2 methods,

>> Tried repo init --reference

>> cp ../android/.repo/projects .repo/

Both doesn't seem to work in my case. So please help me ...::confused:
[Sony Ericsson Xperia Neo, Pro] t-shock:
Help

I want install a custom rom

I had already unlock the bootloader

I installed the kernel

I copy the rom to external sdcard

But when i going to select the zip in cwm file , it says: Cant mount /sdcard/

I tried a lot of kernels

(android 4, android 2.3)
[Sony Ericsson Xperia Neo, Pro] Ghostfreak NB:
Tried on a different sd card?

maybe your sd is corrupt
[Sony Ericsson Xperia Neo, Pro] t-shock:
I fixed the bootloader had problem
[Sony Ericsson Xperia Neo, Pro] Attitude.SSJ:
Maybe you can tell what the problem was and how you fixed... May be useful for others in future...
[Sony Ericsson Xperia Neo, Pro] t-shock:
Before install the custom kernel i had flash the original se 2.3.4 firmware and it asked me to install the new version the 2.3.6. But my phone couldn't start after installation so i use the fota unbrick and fixed. I installed another kernel but it couldn't mount the sdcard . I tried a lots of kernels and fixed.:rolleyes:
[MDA II, XDA II, 2060 Accessories] chris_khho:
Is anybody using backpack and WM2003SE with problems?

I can use VGA to do the presentation but not S-video...

Also, anybody success in using a CF wifi card with wm2003se????

I really want to use that.

Somebody please...............

Thanks....
[MDA II, XDA II, 2060 Accessories] kshfahmy:
I am also using the backpack. I faced the same problem as well as a problem regarding the WiFi CF card.

I changed the OS from 2.06WWE to 2.20CHS and now every thing is working perfectly.

Even the custmer support of SanDisk can not explain how the WiFi Card is working.

Unfortunally this version is not complete but .........
[MDA II, XDA II, 2060 Accessories] simon_darley:
i have the XDAII running 2003SE and a Backpack, with CF netgear CF card, and the sandisk 1gig storage seperately, and they all work fine. I am usings Sins version.
[Samsung Galaxy SL i9003] sgsI9003:
I share same account on phone & tablet & both my devices are listed on google play as supported but on both the devices I have noticed that apps are not found they get uninstalled randomly, it could be any of the app, today MX player was removed from tablet & whatsapp missing from my phone.

When I reinstall these apps all the data & setting remain intact so I cant figure out if the apps indeed are being uninstalled or they stop showing in app drawer, shortcuts don't work either nor they show under installed apps in play store.

Both tablet & phone are rooted & using stock roms on both if that matters. Also some apps are moved to SD card on both devices to save space on internal sd partition (no SD card swaped)

Found this another thread reporting the same issue but in that case its about paid apps but in my case its all about free apps doing the same disappearing act.

http://xdaforums.com/showthread.php?t=1565070
[Samsung Galaxy SL i9003] acuicultor:
I faced the same issue using a concrete launcher, solved the problem restarting the launcher, those apps are not uninstalled only hiden,i dont know why. May be this is your answer or maybe not, just sharing my experience. Hope it helps.
[Samsung Galaxy SL i9003] sgsI9003:
In my case 2 devices are using different launchers both launchers cant be doing the same goof up, could they? As per suggestion I restarted AWD launcher on tablet but the shortcut to apps don't work giving error the app is not installed, neither the app is visible in app drawer.

Goof up seems to be related to google play store in my opinion but not sure.