yashsingh1/xdaforums huggingface dataset:
[Galaxy S Plus I9001 Android Development] hadidjapri:
xistance may i ask?

i compile 2-4 kernel with O2-O3 optimization. all of them boot nicely in the first time but then i figured out all of them stuck on bootanimation aftrr several reset. is this because my change, the new 4.7.3 gcc, or the optimization?

2 days building kernel with the optimization and all of them have the same behaviour :confused:

Sent from my GT-I8150
[Galaxy S Plus I9001 Android Development] Xistance:
There shouldn't be such a thing with the optimization but have you tried your kernel without it? Also, the 4.7 toolchain isn't that stable yet. That could also be a possibility.
[Galaxy S Plus I9001 Android Development] hadidjapri:
i 've made 2 kernel one with O optimization and one without it and simply the one without optimization boots well. but i just can figured out which one make me cant boot either the optimization , tweak or the gcc

can some user of s+ confirm stability of doom's kernel? i saw him using O3 and sama linaro toolchain with me

Sent from my GT-I8150
[Galaxy S Plus I9001 Android Development] Daniel.96:
Sorry if it's a bit off-topic, but i think this thread is fitting at most.

I'm trying now for 4-5 days to build a kernel with big/hugemem configuration. I have absolutely to succes. I asked around a bit and i think i got a bit closer. this is where i stay:

This is the Commit:

https://github.com/stratosk/samsung-kernel-aries/commit/9b2a2eb3179872accae30cba92a0ea927b295198

there have 3 files been modified :

arch/arm/mach-s5pv210/Makefile <- has been modified to: obj-$(CONFIG_MACH_ARIES) += mach-aries.o aries-rfkill.o bigmem.o

arch/arm/mach-s5pv210/bigmem.c <- has been completely new added

[*]arch/arm/mach-s5pv210/mach-aries.c <- Doomsday told me this is only important for kernel 3.0 so I ignored it.

What I have done to the cloned Git (Arco ics-2.6.35):

I've copy and pasted:

arch/arm/mach-s5pv210/bigmem.c --> /samsung-kernel-msm7x30/arch/arm/mach-msm/bigmem.c

I also tryed to change something in the /samsung-kernel-msm7x30/arch/arm/mach-msm/Makefile to make the Bigmem module build. I did the folloing, I changed this lines:

ifdef CONFIG_MACH_ARIESVE

obj-$(CONFIG_ARCH_MSM7X30) += board-ariesve.o devices-msm7x30.o memory_topology.o

endif

to:

ifdef CONFIG_MACH_ARIESVE

obj-$(CONFIG_ARCH_MSM7X30) += board-ariesve.o devices-msm7x30.o bigmem.o

endif

Also I added this to the kconfig (like the Kconfig from stratosk- not in the commit!)

config MSM_BIGMEM

bool "select Bigmem memory config"

default n

help

Enable 353MB memory config. Breaks 720p recording

config MSM_HUGEMEM

bool "select Hugemem memory config"

default n

help

Enable 387MB memory config. Works on Slim or patched ROM's

Now I have the option to check and uncheck huge and big mem in menuconfig. And it doesn't matter if i check or uncheck it the bigmem.o is getting build, but the compilation can not be finished.. this is now where I stay:

~/android/kernel/test2.6bigmem/samsung-kernel-msm7x30$ make -j50

scripts/kconfig/conf -s arch/arm/Kconfig

CHK include/linux/version.h

CHK include/generated/utsrelease.h

make[1]: »include/generated/mach-types.h« ist bereits aktualisiert.

CALL scripts/checksyscalls.sh

CHK include/generated/compile.h

GZIP kernel/config_data.gz

IKCFG kernel/config_data.h

CC kernel/configs.o

LD kernel/built-in.o

LD vmlinux.o

MODPOST vmlinux.o

ERROR: modpost: Found 5 section mismatch(es).

To see full details build your kernel with:

'make CONFIG_DEBUG_SECTION_MISMATCH=y'

GEN .version

CHK include/generated/compile.h

UPD include/generated/compile.h

CC init/version.o

LD init/built-in.o

LD .tmp_vmlinux1

arch/arm/mach-msm/built-in.o: In function `enable_store':

gpio.c:(.text+0x59148): undefined reference to `bigmem'

arch/arm/mach-msm/built-in.o: In function `enable_show':

gpio.c:(.text+0x59160): undefined reference to `bigmem'

make: *** [.tmp_vmlinux1] Fehler 1

Maybe someone see a mistake or can help ? Would be nice, really spend a lot of time, don't want to throw it away..
[Galaxy S Plus I9001 Android Development] hadidjapri:
i use forfivo's way of acquiring bigmem

edit these lines in your boardariesve

#define MSM_PMEM_ADSP_SIZE	0x2A05000

#define MSM_FLUID_PMEM_ADSP_SIZE	0x2800000

#define MSM_PMEM_SF_SIZE	0x1800000

still got no idea how to use stratosk's bigmem as his boardconfig i think have "lot of differences"
[Galaxy S Plus I9001 Android Development] hadidjapri:
well, i think i figured out why O3 optimization gave me buggy kernel. i tried changing the flags and now i have 50% stable kernel :D

Sent from my GT-I8150

edit: it stills happen in random frequency and it always make me HAVE TO end up restoring my backup. anyone got idea about this?
[Galaxy S Plus I9001 Android Development] Daniel.96:
Ok, did so, but I only got 5MB more, now there are 357 available for user.. Is this the maximum you can get through this way ?
[Galaxy S Plus I9001 Android Development] hadidjapri:
i got 423MB at max. it sacrifes whole camera, from taking picture til taking video. try this one it should give huge boost to ram

#define MSM_PMEM_ADSP_SIZE 0x0000010
#define MSM_FLUID_PMEM_ADSP_SIZE 0x0000010
#define MSM_PMEM_SF_SIZE 0x0x0000010
[Galaxy S Plus I9001 Android Development] Daniel.96:
But what does these lines actually mean ?

e.g the first :

#define MSM_PMEM_ADSP_SIZE 0x1800000

does that mean that the PMEM ADSP from MSM will have the size 0x1800000 (as decimal ~25*10^5 bytes = 25 MB ? )

And the smaller these size gets the more RAM is there for the user ?

But which line is responsible for what ? (sorry hadidjapri, my message to you was a bit too fast, ignore it ;) )
[Galaxy S Plus I9001 Android Development] hadidjapri:
i'm pretty sure those lines controls HD recording HD playback and camera features

smaller size means you allocated smaller memory to that region so you got more available ram to use :)

Sent from my GT-I8150
[Galaxy S Plus I9001 Android Development] jormapaappa1235:
I've updated my system to Ubuntu 12.10. I tried to install required packages (12.04), but for some reason ncurses didn't install correctly. :(

I got mine working: "sudo apt-get install ncurses" I hope that i remember the code right...
[Galaxy S Plus I9001 Android Development] krislibaeer:
i have a question and hope it´s not wrong to post here

how can i add undervolting to a kernel ?
[Galaxy S Plus I9001 Android Development] Daniel.96:
In /samsung-kernel-msm7x30/arch/arm/mach-msm/acpuclock7x30.c (not sure about the patch, don't remember exactyl but should be similar) you can find the clockspeeds and the voltages. Simply add what you want and build kernel, but be patient which chabges you make, can brick you phone.
[Galaxy S Plus I9001 Android Development] jormapaappa1235:
Could it be "/arch/arm/mach-msm/acpuclock-7x30.c" at least in 3.0 kernel?
[Galaxy S Plus I9001 Android Development] Daniel.96:
For the 2.6.35 kernel this path is correct, may be for the 3.0 also.
[Galaxy S Plus I9001 Android Development] jormapaappa1235:
There is no folder called "mach-sm" in 3.0. :) So, I think it may has changed, or i have failed somewhere :D
[Galaxy S Plus I9001 Android Development] jaggyjags:
It's "mach-msm" in both 2.6 and 3.0
[Galaxy S Plus I9001 Android Development] jormapaappa1235:
Oops, i read diablo's message a little too fast, so yes, it's mach-msm. :D
[Galaxy S Plus I9001 Android Development] smeroni68:
Hi guys, I would like to ask what is the meaning of enhance free ram vs killing the camera functionality?

I'm testing a CastagnaIT kernel that has enhanced free ram to 386Mb, but sincerely the loosing of video recording is something that I do not like.

And anyway more ram means at the end that the system will use it following the lmk settings. So I do not see a real improvement of system performance.

Witch is the goal?

Inviato dal mio ASUS Transformer Pad TF300TG con Tapatalk 2
[Galaxy S Plus I9001 Android Development] Xistance:
The real goal here isn't more performance but the achievement of having the option to choose it. If you don't like it and need camera you can use the normal kernel, if not bigmem. Anyway, there are many apps that use lots of ram. So that garbage collection doesn't occur so much more often, in a way having such free ram actually saves a few CPU cycles. This is all up to the users preference though.
[Galaxy S Plus I9001 Android Development] davidteri91:
check arco's github https://github.com/arco?tab=activity FIX CAMERA COMPILE
[Galaxy S Plus I9001 Android Development] Daniel.96:
Sure, but cam is still not working like his commit says Camera HAL still not workibg, anyways nice news ;)
[Galaxy S Plus I9001 Android Development] DreamerTKM:
What is the huge changes in the 3x kernel until we unable to modify the hardware abstraction layer from 2x kernel to make it works in 3x kernel but need to build a new one?
[Galaxy S Plus I9001 Android Development] Daniel.96:
Seems like Arco's newest commit is causing problems while compiling for ariesve :

drivers/built-in.o: In function `msm_ioctl_control':

gp2a_light.c:(.text+0x13d4c8): undefined reference to `ce147_sensor_ext_config'

gp2a_light.c:(.text+0x13d4d4): undefined reference to `s5ka3dfx_sensor_ext_config'

gp2a_light.c:(.text+0x13d4e0): undefined reference to `ce147_get_fw_data'

make: *** [.tmp_vmlinux1] Fehler 1

at this point compilation stops, 2.6.35 is fine, only get the problem since today for 3.0 Kernel, am i the only one ?
[Galaxy S Plus I9001 Android Development] Xistance:
Haven't synced to his repo but it is possible as his changes say ancora. I will try to check later.
[Galaxy S Plus I9001 Android Development] Daniel.96:
ok solved the problem, searched for the entries and set them in /* */ worked.
[Galaxy S Plus I9001 Android Development] Xistance:
You could also just go to the defconfig and make sure those sensors aren't set. Not sure if it will fix it but I'll test later.

Edit: Oh whoops. I mean to make sure they are set to 'y'
[Galaxy S Plus I9001 Android Development] jjaacckk94:
Why my fuc*ing terminal does that??

I began to hate it :@

jack@Home-Ubuntu:~/android/samsung-kernel-msm7x30$ make -j3
make: /home/jack/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-gcc: comando non trovato
CHK include/linux/version.h
CC scripts/mod/empty.o
/bin/sh: 1: /home/jack/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-gcc: not found
make[2]: *** [scripts/mod/empty.o] Errore 127
make[1]: *** [scripts/mod] Errore 2
make[1]: *** Attesa per i processi non terminati....
make: *** [scripts] Errore 2
make: *** Attesa per i processi non terminati....
[Galaxy S Plus I9001 Android Development] Daniel.96:
Did you set up the right parameters like Arch= and crosscompile = ?
[Galaxy S Plus I9001 Android Development] jjaacckk94:
I think so...im not sure...but i followed the tutorial..

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] Daniel.96:
Can you maybe write down which commands you've entered and (if so) which errors you got ?
[Galaxy S Plus I9001 Android Development] Daniel.96:
Is it possibe to build a JB or ICS Kernel on a 32 bit machine ?
[Galaxy S Plus I9001 Android Development] Xistance:
I am not sure but probably no. Though if I think about it a GB kernel can be built with a 32bit OS and all there is to change to make it ICS or JB is to modify the ramdisk. I have no idea if it will work though.

Also, sorry for not replying to your PM. I am not going to go on my PC for a while. I will be away for a few weeks but I will check from time to time. I saw that brood helped you so great :)
[Galaxy S Plus I9001 Android Development] Daniel.96:
No probelm, thanks for answer :)
[Galaxy S Plus I9001 Android Development] hadidjapri:
possible. im using x86

Sent from my GT-I8150
[Galaxy S Plus I9001 Android Development] Daniel.96:
Do you have a x64 or a x86 CPU ? Do you have Ubuntu (?) 32/64 bit ?
[Galaxy S Plus I9001 Android Development] hadidjapri:
x86 cpu with 32bit ubuntu
[Galaxy S Plus I9001 Android Development] Daniel.96:
Tanks for answer, this is great :) Die you follow this guide to Set up your developing-enviroment, or dir you used different steps ? I red a Lot about kompiling on 32bit Systems and the mayority told it is not possible, because the Compiler (+binaries) are Set up for 64bit cpus.. But maybe this was just concerning Bildung whole Roms..
[Galaxy S Plus I9001 Android Development] hadidjapri:
i use xistance's guide and everything's working fine. hmm except i think my xubuntu already got some obsolete packet and some already exists on my xubuntu. but i build my kernel with no problem by following this guide
[Galaxy S Plus I9001 Android Development] Daniel.96:
ok thanks for answers and informaton, mate :)
[Galaxy S Plus I9001 Android Development] Xistance:
Well this is great to hear :D. I was certain building any version over GB required 64-bit to build a ROM but wasn't sure about the kernel.
[Galaxy S Plus I9001 Android Development] Christopher83:
There is an easy way to debug the kernel builds?

Is it possible to do this directly using Eclipse and a gdb debug configuration?
[Galaxy S Plus I9001 Android Development] hadidjapri:
i think you need x64 because it can provide better building speed. hmm who knows :)

Sent from my GT-I8150
[Galaxy S Plus I9001 Android Development] Xistance:
Did you make sure to do the export commands before building?
[Galaxy S Plus I9001 Android Development] yowanvista:
Yes, but it gives the same output.
[Galaxy S Plus I9001 Android Development] hadidjapri:
you forget to put your username after /home
[Galaxy S Plus I9001 Android Development] krislibaeer:
yowanvista@yowanvista-Rampage-Formula:~/android/samsung-kernel-msm7x30$ make -j5 ARCH=arm CROSS_COMPILE=/home/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-

first you must use export

copy and paste this (like in the first post)

export ARCH=arm

export CROSS_COMPILE=~/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-

next:

make ariesve_defconfig

make -j5

now it should work

this is the main cause of the problem:

CROSS_COMPILE=

/home

/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-

there must be a ~ instead of the

/home
[Galaxy S Plus I9001 Android Development] yowanvista:
Doing so gave me "No such file or directory" upon using "make -j5" (See below)

Still the same.

yowanvista@yowanvista-Rampage-Formula:~/android/samsung-kernel-msm7x30$ export ARCH=arm
yowanvista@yowanvista-Rampage-Formula:~/android/samsung-kernel-msm7x30$ export CROSS_COMPILE=~/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-
yowanvista@yowanvista-Rampage-Formula:~/android/samsung-kernel-msm7x30$ make ariesve_defconfig
#
# configuration written to .config
#
yowanvista@yowanvista-Rampage-Formula:~/android/samsung-kernel-msm7x30$ make -j5
make: /home/yowanvista/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-gcc: Command not found
scripts/kconfig/conf --silentoldconfig Kconfig
make: /home/yowanvista/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-gcc: Command not found
CHK include/linux/version.h
CC scripts/mod/empty.o
/bin/sh: 1: /home/yowanvista/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-gcc: not found
make[2]: *** [scripts/mod/empty.o] Error 127
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....
/home/yowanvista/android/samsung-kernel-msm7x30/scripts/gcc-version.sh: line 25: /home/yowanvista/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-gcc: No such file or directory
/home/yowanvista/android/samsung-kernel-msm7x30/scripts/gcc-version.sh: line 26: /home/yowanvista/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-gcc: No such file or directory
/home/yowanvista/android/samsung-kernel-msm7x30/scripts/gcc-version.sh: line 25: /home/yowanvista/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-gcc: No such file or directory
/home/yowanvista/android/samsung-kernel-msm7x30/scripts/gcc-version.sh: line 26: /home/yowanvista/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-gcc: No such file or directory
[Galaxy S Plus I9001 Android Development] krislibaeer:
is it possible that you have your toolchains folder in ~/android/ not in ~/android/kernel

please do the following in terminal

cd ~/android

ls

and post the printed here
[Galaxy S Plus I9001 Android Development] hadidjapri:
what if you try with

export CROSS_COMPILE=/home/yowanvista/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-
[Galaxy S Plus I9001 Android Development] yowanvista:
Double checked, toolchains are in the correct folder. Here's the output:

kernel samsung-kernel-msm7x30

Edit: Fixed it.
[Galaxy S Plus I9001 Android Development] Doomsday94:
hey xistance,i hope you won't mind me posting my final release for the galaxy s plus,in your thread!

i was trying to figure out how to get 720p video recording working on 3.0.x kernel yesterday and i figured it out. there are 2 versions. one for ics and one for jb. they are both compiled with linaro 4.7 toolchain and using arco's latest sources, i.e 3.0.57.

jb: http://www.mediafire.com/?94hp06v6i4qg6s9

ics: http://www.mediafire.com/?r5gf5ro0i2130ls

my cousin tested the jb version and has reported that 720p video recording is working on jb,but i could not test on ics. so,if anyone is using ics,i would appreciate feedback.

all the things except taking pictures should be working now. for taking pics,resort to 3rd party apps like silent camera.

for changelog of the new kernel,please check arco's git commits.

to my fellow developers:

you can get 720p video recording working by changing to this line in the board ariesve

#define MSM_PMEM_ADSP_SIZE	0x2D00000

wishing everyone a healthy and prosperous 2013.

credits:

arco68

ivendor

blackmambazzz and hahnjo for the ramdisk and usb mount solution for jb
[Galaxy S Plus I9001 Android Development] kouros17:
It works with cm10 by ivendor! Record video with native camera and 720p, take pictures normally with silent camera, but usb doesn't work for me. Thanks Doom!!!
[Galaxy S Plus I9001 Android Development] hahnjo:
For USB, you have to install my solution for that. Look in the 3.0 kernel thread, blackmanbazzz released a test build...
[Galaxy S Plus I9001 Android Development] Ezekiel1998:
what means “final release??”

:mad::(:banghead:
[Galaxy S Plus I9001 Android Development] davidteri91:
For me UBS mass storage working on kernel 2 based ROM with kernel 3 by doomsday :D

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] blackmambazzz:
You have installed Java 1.7.0 but to build you need 1.6

You should remove any java stuff from your ubuntu (like icetea or how it is called) in the software center and download java like in the OP :)
[Galaxy S Plus I9001 Android Development] vitucc:
Great kernel, very fast but both native camera and silent camera don't recognize internal sd and I can't shoot photos. USB mass storage doesn't work, can you give me precise info?
[Galaxy S Plus I9001 Android Development] XeLLaR*:
Thx doom, but ill wait for a kernel with more features like shedulers and so on.
[Galaxy S Plus I9001 Android Development] 7amada100:
hello i have a problem :confused: can someone please help me :o

every time i try this sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so

i get this error

failed to create symbolic link `/usr/lib/i386-linux-gnu/libGL.so': No such file or directory

and the packages before it

sudo apt-get install git-core gnupg flex bison gperf build-essential \

zip curl libc6-dev libncurses5-dev:i386 lib32ncurses5-dev x11proto-core-dev \

libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \

libgl1-mesa-dev g++-multilib mingw32 openjdk-6-jdk tofrodos \

python-markdown libxml2-utils xsltproc zlib1g-dev:i386

give this error

git-core is already the newest version.
gnupg is already the newest version.
libc6-dev is already the newest version.
zip is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
lib32ncurses5-dev : Depends: libncurses5-dev (= 5.9-10ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

can you tell me why my PC does this?
[Galaxy S Plus I9001 Android Development] yowanvista:
Had the same issue, the missing packages can be installed via the Ubuntu software center.
[Galaxy S Plus I9001 Android Development] umb3rts:
For the first problem make this command and post output here:

ls -al /usr/lib/i386-linux-gnu/

And for the second you see that you have newest packages which doesn't require upgrades, and then he meets a package which he couldn't resolv via a dependency, and it's strange because apt should be able to find it. Nvm, try make

apt-get install libncurses5-dev OR if it doesn't work

apt-get install 5.9-10ubuntu1
[Galaxy S Plus I9001 Android Development] 7amada100:
for the first problem i got this

ahmad@ubuntu:~$ make ls -al /usr/lib/i386-linux-gnu/
make: invalid option -- 'a'
Usage: make [options] [target] ...
Options:
-b, -m Ignored for compatibility.
-B, --always-make Unconditionally make all targets.
-C DIRECTORY, --directory=DIRECTORY
Change to DIRECTORY before doing anything.
-d Print lots of debugging information.
--debug[=FLAGS] Print various types of debugging information.
-e, --environment-overrides
Environment variables override makefiles.
-f FILE, --file=FILE, --makefile=FILE

Read FILE as a makefile.

-h, --help Print this message and exit.
-i, --ignore-errors Ignore errors from commands.
-I DIRECTORY, --include-dir=DIRECTORY
Search DIRECTORY for included makefiles.
-j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg.
-k, --keep-going Keep going when some targets can't be made.
-l [N], --load-average[=N], --max-load[=N]
Don't start multiple jobs unless load is below N.
-L, --check-symlink-times Use the latest mtime between symlinks and target.
-n, --just-print, --dry-run, --recon
Don't actually run any commands; just print them.
-o FILE, --old-file=FILE, --assume-old=FILE
Consider FILE to be very old and don't remake it.
-p, --print-data-base Print make's internal database.
-q, --question Run no commands; exit status says if up to date.
-r, --no-builtin-rules Disable the built-in implicit rules.
-R, --no-builtin-variables Disable the built-in variable settings.
-s, --silent, --quiet Don't echo commands.
-S, --no-keep-going, --stop
Turns off -k.
-t, --touch Touch targets instead of remaking them.
-v, --version Print the version number of make and exit.
-w, --print-directory Print the current directory.
--no-print-directory Turn off -w, even if it was turned on implicitly.
-W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
Consider FILE to be infinitely new.
--warn-undefined-variables Warn when an undefined variable is referenced.

This program built for x86_64-pc-linux-gnu
Report bugs to <bug-make@gnu.org>

secound one works :D
[Galaxy S Plus I9001 Android Development] umb3rts:
You don't have to make a 'make' command, just a list, 'ls' command (:

just this, copy and paste in terminal

ls -al /usr/lib/i386-linux-gnu/
[Galaxy S Plus I9001 Android Development] 7amada100:
ok, this is the result

ls: cannot access /usr/lib/i386-linux-gnu/: No such file or directory
[Galaxy S Plus I9001 Android Development] umb3rts:
Ok, there's no directory. If you do

nautilus /usr/lib/

can you see the directory i386-linux-gnu ?
[Galaxy S Plus I9001 Android Development] 7amada100:
no but i have this x86_64-linux-gnu instead
[Galaxy S Plus I9001 Android Development] umb3rts:
Have you installed all the packages? Run again the big apt-get install command, and see of it installs something else :p
[Galaxy S Plus I9001 Android Development] 7amada100:
shouldn't i change the packages to 64 first?
[Galaxy S Plus I9001 Android Development] umb3rts:
Just run the command in the guide, it shall work