yashsingh1/xdaforums huggingface dataset:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] dlastov:
Hi, my build finishes with an error "build/core/java.mk:258: *** libcore: Target java module does not define any source or resource files. Stop."

Am I missing some dependencies? Java (1.7.0_55) is installed on my computer. Bellow is the full output of "brunch urushi", sorry for its formatting, its copied from some strange terminal... I had some problems (full disk) during "repo sync" but I expect that after freeing the disk space another "repo sync" correctly continued where it was finished?

brunch urushi

including vendor/cm/vendorsetup.sh Trying dependencies-only mode on a non-existing device tree? ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=4.4.2 CM_VERSION=11-20140516-UNOFFICIAL-LegacyXperia-urushi TARGET_PRODUCT=cm_urushi TARGET_BUILD_VARIANT=userdebug TARGET_BUILD_TYPE=release TARGET_BUILD_APPS= TARGET_ARCH=arm TARGET_ARCH_VARIANT=armv7-a-neon TARGET_CPU_VARIANT=scorpion HOST_ARCH=x86 HOST_OS=linux HOST_OS_EXTRA=Linux-3.11.0-22-generic-x86_64-with-Ubuntu-13.10-saucy HOST_BUILD_TYPE=release BUILD_ID=KVT49L OUT_DIR=/home/david/android/system/out ============================================ ============================================ PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=4.4.2 CM_VERSION=11-20140516-UNOFFICIAL-LegacyXperia-urushi TARGET_PRODUCT=cm_urushi TARGET_BUILD_VARIANT=userdebugTARGET_BUILD_TYPE=releaseTARGET_BUILD_APPS=TARGET_ARCH=armTARGET_ARCH_VARIANT=armv7-a-neonTARGET_CPU_VARIANT=scorpionHOST_ARCH=x86HOST_OS=linuxHOST_OS_EXTRA=Linux-3.11.0-22-generic-x86_64-with-Ubuntu-13.10-saucyHOST_BUILD_TYPE=releaseBUILD_ID=KVT49LOUT_DIR=/home/david/android/system/out============================================/home/david/android/system/out/target/product/urushi/obj/APPS/SignatureTest_intermediatesfind: ‘json/src/main/java’: No such file or directoryfind: ‘libdvm/src/main/java/dalvik’: No such file or directoryfind: ‘libdvm/src/main/java/java’: No such file or directoryfind: ‘luni/src/main/java/java’: No such file or directoryfind: ‘luni/src/main/java/javax’: No such file or directoryfind: ‘luni/src/main/java/org/xml/sax’: No such file or directoryfind: ‘luni/src/main/java/org/w3c’: No such file or directoryfind: ‘xml/src/main/java/org/xmlpull/v1’: No such file or directoryfind: ‘src’: No such file or directorybuild/core/copy_headers.mk:15: warning: overriding commands for target `/home/david/android/system/out/target/product/urushi/obj/include/qcom/display/copybit.h'build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/david/android/system/out/target/product/urushi/obj/include/qcom/display/copybit.h'build/core/copy_headers.mk:15: warning: overriding commands for target `/home/david/android/system/out/target/product/urushi/obj/include/qcom/display/copybit_priv.h'build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/david/android/system/out/target/product/urushi/obj/include/qcom/display/copybit_priv.h'build/core/java.mk:258: *** libcore: Target java module does not define any source or resource files. Stop.0;[arm-cm_urushi-userdebug]
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Langes:
Open JDK or Oracle?

Although some ROMs do build with open JDK, Oracle is the most sure of succeeding. Same with 1.7 vs 1.6

To be 100% you java version is not the issue, install Oracle Java 1.6 and make sure it is the version in use (best is to completely remove all traces of Java and then install 1.6) - lots of guides out there on how this can be done
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] dlastov:
I have the Oracle JDK. It seems that my downloaded repository was broken because of the full disk during download, but hopefully I managed to correct it. The build is running now, but during the ./updates.sh I got the error bellow. Can I ignore it?

Applying change number 62903 ...

--> Subject: "Revert "New Theme Engine [3/6]""

--> Project path: external/skia

--> Change number: 62903 (Patch Set 1)

--> Author: Andrei Sângeorzan <andrei1015@gmail.com> 2014-04-22 20:14:13

--> Committer: Andrei Sângeorzan <andrei1015@gmail.com> 2014-04-22 20:14:13

From git://github.com/CyanogenMod/android_external_skia

* branch refs/changes/03/62903/1 -> FETCH_HEAD

error: 'cherry-pick' is not possible because you have unmerged files.

hint: Fix them up in the work tree,

hint: and then use 'git add/rm <file>' as

hint: appropriate to mark resolution and make a commit,

hint: or use 'git commit -a'.

fatal: cherry-pick failed

Command that failed:

cd external/skia && git cherry-pick FETCH_HEAD

---------- Post added at 09:40 PM ---------- Previous post was at 09:19 PM ----------

So eventually my build failed in this external/skia ... where I had the error during the updates.sh already... Eh... I don't want to delete everything and start donwloading from scratch but I would say that my repository was synchronized correctly already - I believe so based on the output of "repo status"... Or Is there some way to make sure that I don't have any undesired local changes? I am completely new to this git/repo...

target thumb C++: libskia <= external/skia/src/core/SkInstCnt.cpp

In file included from external/skia/src/core/SkGlyphCache.cpp:758:0:

external/skia/src/core/SkTypefaceCache.h:84:1: error: expected unqualified-id before '<<' token

external/skia/src/core/SkTypefaceCache.h:87:1: error: expected unqualified-id before '==' token

external/skia/src/core/SkTypefaceCache.h:90:1: error: expected unqualified-id before '>>' token

external/skia/src/core/SkTypefaceCache.h:97:15: error: 'Rec' was not declared in this scope

external/skia/src/core/SkTypefaceCache.h:97:18: error: template argument 1 is invalid

make: *** [/home/david/android/system/out/target/product/urushi/obj/SHARED_LIBRARIES/libskia_intermediates/src/core/SkGlyphCache.o] Error 1

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

target thumb C++: libskia <= external/skia/src/core/SkImageFilter.cpp
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Langes:
Delete the external/skia folder

Sync it from sources again with repo sync external/skia (will sync only that repo instead of the whole source tree)

pull a fresh updates.sh

run it

start your build
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] dlastov:
Great, the build finished, thanks a lot.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] andogeek10:
frameworks/base/core/jni/android/graphics/Typeface.cpp:54:5: error: 'ClearCache' is not a member of 'SkTypeface'
make: *** [/home/anmol/android/cm/out/target/product/mango/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/android/graphics/Typeface.o] Error 1
make: *** Waiting for unfinished jobs....
target thumb C: libext2_blkid <= external/e2fsprogs/lib/blkid/getsize.c
#
# configuration written to .config
#
make[1]: Leaving directory `/home/anmol/android/cm/kernel/semc/msm7x30'

This is the error I got today, when I tried to compile a new build after syncing the sources today. Any help?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kriko:
project external/skia/
First, rewinding head to replay your work on top of it...
Applying: Revert "New Theme Engine [3/6]"
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
Auto-merging src/ports/SkFontConfigInterface_android.cpp
CONFLICT (content): Merge conflict in src/ports/SkFontConfigInterface_android.cpp
Auto-merging src/core/SkTypefaceCache.h
CONFLICT (content): Merge conflict in src/core/SkTypefaceCache.h
Auto-merging src/core/SkTypefaceCache.cpp
CONFLICT (content): Merge conflict in src/core/SkTypefaceCache.cpp
Failed to merge in the changes.
Patch failed at 0001 Revert "New Theme Engine [3/6]"

When you have resolved this problem run "git rebase --continue".
If you would prefer to skip this patch, instead run "git rebase --skip".
To check out the original branch and stop rebasing run "git rebase --abort".

Anyone getting this while doing repo sync?

I've tried 'repo forall -vc "git reset --hard HEAD"'.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Langes:
Delete the external/skia folder

During your previous run of updates.sh, you did the "Revert theme engine" commit, this commit is still there, but conflicts with the actual "fix"

Because it is a cherry-pick done with updates.sh, git reset will not remove it, either run the latest copy of updates.sh (it abandons all previous cherry-pick done with updates.sh before doing the new cherry-picks) or remove the folder and sync again
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kriko:
Great, works now.

I see adreno blobs were updated, are those meant to be stable? I didn't have any display weirdness so far...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Langes:
It's pretty stable on my ray ...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Langes:
First three warnings are normal, you can ignore them
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] QuickS_NL:
Hi guys currently i'm building CM11 for the Xperia Z2. I'm running into this error every time. I dont have any idea how to fix this. Do you guys know how to fix this?

using device-specific extensions in device/sony/shinano-common
using custom bootimage makefile device/sony/shinano-common/custombootimg.mk...
using prebuilt boot.img...
using custom bootimage makefile device/sony/shinano-common/custombootimg.mk...
using prebuilt recovery.img...
running: imgdiff -b /tmp/targetfiles-9t0vAB/SYSTEM/etc/recovery-resource.dat /tmp/tmpZwd7Gp /tmp/tmpQcmSqN /tmp/tmpjENpDi
Traceback (most recent call last):
File "./build/tools/releasetools/ota_from_target_files", line 971, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/ota_from_target_files", line 939, in main
WriteFullOTAPackage(input_zip, output_zip)
File "./build/tools/releasetools/ota_from_target_files", line 491, in WriteFullOTAPackage
MakeRecoveryPatch(OPTIONS.input_tmp, output_zip, recovery_img, boot_img)
File "./build/tools/releasetools/ota_from_target_files", line 404, in MakeRecoveryPatch
recovery_type, recovery_device = common.GetTypeAndDevice("/recovery", OPTIONS.info_dict)
File "/home/jaap/Android/CM11/build/tools/releasetools/common.py", line 985, in GetTypeAndDevice
return PARTITION_TYPES[fstab[mount_point].fs_type], fstab[mount_point].device
KeyError: '/recovery'
make: *** [/home/jaap/Android/CM11/out/target/product/sirius/cm_sirius-ota-df84df7ef8.zip] Error 1
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Vynikal:
What if I cherry-pick those two commits - 64246 and 62863?

Will it make 720p working? I just want to test it.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Abhinav1997:
Yeah check some recent commits on build repo. They made some changes for recovery installation or something but since our xperias doesn't support it, you can add this flag to your boardconfig somewhere to solve the error-

TARGET_NO_SEPARATE_RECOVERY := true

Cheers,

AJ
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mikeioannina:
No, these commits are needed to make camera work and we already use them.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Vynikal:
Oh yes, I see now. So what exactly is needed to get 720p? I've thought about media_profiles. I know there aren't stable results yet, but some testing might be useful. And, eventually, raise PMEM_ADSP even more.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] zxcvbnnm:
Hey [MENTION=3839575]mikeioannina[/MENTION] today i was made clean build with today changes but the kernel doesnt boot in my coconut. After flash kernel and turn on i getting vibrate after hold power but its all black screen and doesnt see kernel logo. I try make build 2x times.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kriko:
How long have you waited?

New kernel blanks the image after init, before booting - so it avoids bootlogo flickering on some apps.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] zxcvbnnm:
+-10min and nothing ;/ no kernel logo, no led
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kriko:
Clean build?

I'm using a build from 28.5 and it works. After that, there have been quite some changes to the kernel on many branches - don't know exactly what is going on, but it might explain your current problems.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] zxcvbnnm:
Yes i try 2x make with clean and the same again. I dont know what can be wrong, but i see that Mike writed in dev thread that new nightly its comming then ill wait for build from Mike maybe it will work normal :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kriko:
Weird... maybe - if the problem is not on your end - is mike using some other branch for kernel source?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mikeioannina:
It works fine here...

cm-11.0 is the main branch, anything else is only for testing so you should know what you are doing if you use any other branch
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] zxcvbnnm:
Yeah i didnt change branch but it also doesnt work with your yesterday build [MENTION=3839575]mikeioannina[/MENTION]. Its not only mine problem because in Q&A peoples write that have the same.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kriko:
I see more people are reporting the same problem.

Question: is a kernel from 1.6 compatible with rom built on 28.5?

I'm going to try to compile just the kernel for my haida (I see people reporting to be stuck on black screen)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] zxcvbnnm:
It should be compatible.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] QuickS_NL:
Hi guys. After my build users are experiencing that their touchscreens get frozen after some time. I asked people to send me a log and i got one.

Here you guys could find my log: http://pastebin.com/fXWSAkNn

Does someone know how to fix this problem?

Thanks in advance,

QuickS_NL
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mas-aa:
Is there any difference compiling using openJDK and sunJDK?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] kriko:
I was compiling before with openJDK 1.7 and now I've switched to oracle JDK 1.6.

Didn't notice anything.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mas-aa:
OK. Thanks.

If I want to compile another rom beside LX (PAC for example), should I sync it in sparate directory or I can sync it in LX directory?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Langes:
If you have the space, keep them separate. You will need to juggle many things if you try to build PAC and LX from one folder. I haven't tried it myself.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Vynikal:
https://github.com/Christopher83/samsung-kernel-msm7x30/commits/cm-11.0_ion_pmem_adsp

There are some commits about kgsl. Can they be somehow useful?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Zerathul:
aapt: warning: **** string 'voicemail_default' has no default or required localization for 'hdpi' in packages/apps/Dialer/../InCallUI/res

aapt: warning: **** string 'voicemail_default' has no default or required localization for 'pl_PL' in packages/apps/Dialer/../InCallUI/res

and much more about dialer

what does it mean?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mikeioannina:
We already have them
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Vynikal:
Just one more question, why don't we already have kernel on .92 upstream? Any particular reason?

How about using these old patches by arco - https://github.com/nobodyAtall/msm7x30-3.4.x-nAa/commit/f5a4d31fa39fa827c23c0b7050b1a481c111717b
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mikeioannina:
I made the decision to follow what CAF does. Merging upstream is difficult and is a nightmare of merge conflicts everytime we rebase the kernel.

Also, 99% of the upstream changes don't affect our devices and if there is something useful, we can pick it.

Numerous times we had issues with upstream changes and had to revert commits to make the kernel stable again
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Langes:
Because we are on a caf based kernel now, the nAa kernel was abandoned in LegacyXperia
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Vynikal:
Thank you for explanation. I have tried to merge upstream, but as you said, too much conflicts.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Vynikal:
Just for experiment, I've been trying to compile with gcc 4.8, but failed. Sorry, didn't save a log, but problem was in mach_msm/semc_usb_charger.c, line 94:

[B]sizeof[/B](ext->supplied_to[i])

Any suggestion?

EDIT: http://pastebin.com/8HT2h8EE

EDIT2: nvm fixed http://xdaforums.com/showthread.php?t=2285731&page=5 :D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] monster-inc:
Hi, in my latest build (2014-06-17) video recording not working at all.

here is the log: pastebin dot com slash Xpqx0t73

Any advice?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] xeraphael:
I'd like to try to compile with gcc 4.8 as well.

Under Ubuntu 14.04 64-bit, the "gcc --version" command produces the output "gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2", but looking in the ~/android/system/prebuilts/gcc/linux-x86/arm folder, what I see are the following 4 folder names:

arm-eabi-4.6

arm-eabi-4.7

arm-linux-androideabi-4.6

arm-linux-androideabi-4.7

I am presuming that I need to take further steps to be able to compile with gcc 4.8, can anyone help me out?

Thanks.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Vynikal:
I've already compiled it. You have to add this to your local_manifest.

<!-- GOOGLE GCC TOOLCHAIN -->
<project name="platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8" path="prebuilts/gcc/linux-x86/arm/arm-eabi-4.8" remote="aosp" revision="master" />
<project name="platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8" path="prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8" remote="aosp" revision="master" />

Then do repo sync. After that, got to ~/build/core/combo/Target_linux-arm.mk and change

-TARGET_GCC_VERSION := 4.7
to
-TARGET_GCC_VERSION := 4.8

4.8 somehow doesn't like long arguments at sizeof, so it treats this warning like error. So if you will get same error like me, go to ~/kernel/semc/msm7x30/Makefile and add -w to CFLAGS_KERNEL. It is a bit hacky, but I haven't found any other fix yet.

EDIT: A bit less hacky, but untested - instead of "-w", add "-Wsizeof-pointer-memaccess"

EDIT:Nope :p
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] xeraphael:
Thanks heaps [MENTION=4872819]Vynikal[/MENTION]. If I want to cherry-pick JustArchi's optimization commits after turning on gcc 4.8, are these the correct commands for it?

cd ~/android/system/.repo/repo

git remote add justarchi https://github.com/JustArchi/android_build.git

git fetch justarchi

git cherry-pick (whatever the commit hash is)

git commit -a

If not, how should I be doing it? Thanks in advance.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Vynikal:
go to

cd ~/android/system/build (because those commits are from android_build)

Other commands are good. Use his new v3.1 optimizations, so you won't have to resolve conflicts. Read the description of the commit, there are some fixes needed to get ART working (Archi is just updating them so wait a moment). Maybe I will make a guide how to compile it.

I am trying luck with Linaro today, we'll see...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Zerathul:
Applying change number 63422 ...
--> Subject: "Add support for Xperia Play touchpads"
--> Project path: frameworks/base
--> Change number: 63422 (Patch Set 2)
--> Author: Michael Bestas <mikeioannina@gmail.com> 2013-07-22 23:06:13
--> Committer: Michael Bestas <mikeioannina@gmail.com> 2014-05-05 20:36:01
From git://github.com/CyanogenMod/android_frameworks_base
* branch refs/changes/22/63422/2 -> FETCH_HEAD
error: insufficient permission for adding an object to repository database .git/objects
error: Error building trees

Command that failed:
cd frameworks/base && git cherry-pick FETCH_HEAD

Any idea how to fix that?

Edit:nvm, managed to fix it
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] xeraphael:
I've finally gotten around to trying gcc 4.8 - these are the results, I keep getting.

cc1plus: all warnings being treated as errors
make: *** [/home/johnsmith/android/system/out/target/product/urushi/obj/STATIC_LIBRARIES/libminivold_intermediates/DirectVolume.o] Error 1
system/vold/Volume.cpp:174:5: error: unused parameter 'evt' [-Werror=unused-parameter]
int Volume::handleBlockEvent(NetlinkEvent *evt) {
^
cc1plus: all warnings being treated as errors
make: *** [/home/johnsmith/android/system/out/target/product/urushi/obj/STATIC_LIBRARIES/libminivold_intermediates/Volume.o] Error 1

Anything you can suggest that I try? I've already tried clearing the out folder, but that doesn't seem to be what's causing the problem.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Kong2000:
You can use this tool from windows to increase ext partition I guess:

http://www.partitionwizard.com/free-partition-manager.html

Not sure, maybe 2 steps are needed:

1. shrink windows partition with partition wizard to get some unallocated space on drive

2. increase linux partition with a linux tool.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Telemuddi:
Sync repo with "sync repo -j10" this will boost the downloadspeed. The size is about 15gb. You need about 100gb to build for 1 device with cc cache. I think your partition is to small.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] zweif:
1. My repo folder is 12.4 gb and whole cm11 folder after build 50.5 gb (mini pro, today, without ccache)

2. I had a similar problem because i set up ubuntu without intention to build android. I think I used an ubuntu live stick with gparted to resize partitions. On next windows boot it ran checkdisk or something like that, but there must be a native windows 7 tool where you can resize your windows partition. Maybe that is a safer way (I think messing around with partitions is a little bit risky everytime).

3. Repo continues your download. But I don't think that "repo sync -j 10" helps if the physical connection is limited by 1 mbit/s.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] bejunk:
i didnt found a way to merge the new ext4 to the existing(with linux on it) & after formatting the new one to ext4 the grub loader failed allways x) had to reinstall the xubuntu just to get acess to win back :) anyway thx for help :good:

thank you very much, this time i will make a partition which is atleast 120GB big (select + ~25gb on install bcuz this space is used by OS) thanks for the tip with that flag, but you know what "-j10" is? im just curius & google dindt say anything usefull about.. (& yes your right my partition was much to small) -thanks! (out of 8 :()

yes it was, as mentioned above the grub data gets lost so i couldnt boot anywhere (just live cd). as from now theres NO need to do anything with your HDD if you wish to install ubunto/its distros as dual boot. on install screen it will automaticly set up the ext4 partition for the OS & a partiton for SWAP. i just needd it to reallocate the old linuxOS spaces back to main win drives(which you can do very good with the default windows drive manager), so i could install xubuntu from new.

at least now i know how to install it exactly & whats important. i will get the job done tomorrow. today im done with it:silly: also i think about writing a new tutorial how to install linux OS to build LX/other ROM's. because its easier than thought :)

btw i used "builduntu" from here which is especially made to build roms :) http://xdaforums.com/showthread.php?t=2671897

thank you all for help (sry im out of thx...)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] BRAiNCHiLD95:
-j10

the -j tag is used to specify no. of simultaneous jobs...

By default, it is 4 jobs, but, if you have a really fast internet connection, something like better than 2/5/10mbps,etc., you can use the -j flag to download more files simultaneously...and you'll notice a big difference is the amount of time taken to download the source! :):good:

Hope this helped! :)